Payment Plugins for Stripe WooCommerce - Version 3.3.27

Version Description

  • 9/21/22 =
  • Fixed - Cast float to payment balance fee and net values
  • Fixed - If refund is created in stripe.com dashboard, always take the latest refund from the list of refunds.
  • Updated - WC tested up to 6.9
  • Updated - WeChat Pay logo
  • Updated - Alipay logo
  • Updated - GPay WooCommerce Blocks integration performance improvements
  • Added - Installments for Brazil Stripe accounts
  • Added - Stripe Link support for EU countries
  • Added - Stripe ACH Connections integration which replaces Plaid. Plaid can still be used but has been deprecated in favor of the new ACH integration.
Download this release

Release Info

Developer mr.clayton
Plugin Icon wp plugin Payment Plugins for Stripe WooCommerce
Version 3.3.27
Comparing to
See all releases

Code changes from version 3.3.26 to 3.3.27

Files changed (67) hide show
  1. assets/build/link-checkout.asset.php +1 -1
  2. assets/build/link-checkout.js.map +1 -1
  3. assets/css/admin/admin-rtl.css +360 -360
  4. assets/css/admin/admin.css +360 -360
  5. assets/css/admin/feedback.scss +11 -11
  6. assets/css/admin/main.css +414 -414
  7. assets/css/stripe-rtl.css +1124 -1119
  8. assets/css/stripe.css +1124 -1119
  9. assets/css/stripe.min-rtl.css +1 -1
  10. assets/css/stripe.min.css +1 -1
  11. assets/img/ach.svg +5 -5
  12. assets/img/alipay.svg +95 -1
  13. assets/img/applepay.svg +76 -76
  14. assets/img/bancontact.svg +80 -80
  15. assets/img/boleto.svg +8 -8
  16. assets/img/card_brand.svg +8 -8
  17. assets/img/card_brand2.svg +7 -7
  18. assets/img/cards/amex.svg +6 -6
  19. assets/img/cards/china_union_pay.svg +12 -12
  20. assets/img/cards/diners.svg +10 -10
  21. assets/img/cards/discover.svg +9 -9
  22. assets/img/cards/jcb.svg +26 -26
  23. assets/img/cards/laser.svg +38 -38
  24. assets/img/cards/maestro.svg +14 -14
  25. assets/img/cards/mastercard.svg +12 -12
  26. assets/img/cards/visa.svg +8 -8
  27. assets/img/chrome.svg +105 -105
  28. assets/img/edge.svg +1 -1
  29. assets/img/eps.svg +86 -86
  30. assets/img/fpx.svg +39 -39
  31. assets/img/googlepay_outline.svg +26 -26
  32. assets/img/googlepay_round_outline.svg +32 -32
  33. assets/img/googlepay_standard.svg +11 -11
  34. assets/img/grabpay.svg +14 -14
  35. assets/img/klarna.svg +25 -25
  36. assets/img/klarna_pink.svg +14 -14
  37. assets/img/logo.svg +122 -122
  38. assets/img/multibanco.svg +90 -90
  39. assets/img/oxxo.svg +10 -10
  40. assets/img/p24.svg +63 -63
  41. assets/img/paymentplugins.svg +122 -122
  42. assets/img/sepa.svg +39 -39
  43. assets/img/stripe_logo.svg +121 -121
  44. assets/img/wechat.svg +12 -1
  45. assets/js/admin/admin-settings.js +250 -250
  46. assets/js/admin/feedback.js +94 -94
  47. assets/js/admin/googlepay.js +36 -36
  48. assets/js/admin/help-widget.js +68 -68
  49. assets/js/admin/main.js +66 -66
  50. assets/js/admin/meta-boxes-order.js +193 -193
  51. assets/js/admin/meta-boxes-product-data.js +135 -135
  52. assets/js/admin/modals.js +136 -136
  53. assets/js/frontend/afterpay.js +127 -127
  54. assets/js/frontend/applepay-cart.js +56 -56
  55. assets/js/frontend/applepay-checkout.js +81 -81
  56. assets/js/frontend/applepay-product.js +89 -89
  57. assets/js/frontend/cc-forms.js +70 -70
  58. assets/js/frontend/credit-card.js +666 -666
  59. assets/js/frontend/form-handler.js +164 -164
  60. assets/js/frontend/googlepay-cart.js +59 -59
  61. assets/js/frontend/googlepay-checkout.js +87 -87
  62. assets/js/frontend/googlepay-product.js +75 -75
  63. assets/js/frontend/link-checkout.js +45 -45
  64. assets/js/frontend/local-payment.js +601 -601
  65. assets/js/frontend/mini-cart.js +181 -181
  66. assets/js/frontend/payment-request.js +279 -279
  67. assets/js/frontend/wc-stripe.js +860 -2188
assets/build/link-checkout.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'ba080fe231b1f5fcfe9853ab16c413e0');
1
+ <?php return array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'ce1e2063448524440a24c9aedc76c07f');
assets/build/link-checkout.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"link-checkout.js","mappings":"qBAeAA,EAAOC,QAfP,SAAyBC,EAAKC,EAAKC,GAYjC,OAXID,KAAOD,EACTG,OAAOC,eAAeJ,EAAKC,EAAK,CAC9BC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZP,EAAIC,GAAOC,EAGNF,I,QCNTF,EAAOC,QANP,SAAgCC,GAC9B,OAAOA,GAAOA,EAAIQ,WAAaR,EAAM,CACnC,QAAWA,K,qBCFfF,EAAOC,QAAUU,OAAe,SCC5BC,EAA2B,GAG/B,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAad,QAGrB,IAAID,EAASY,EAAyBE,GAAY,CAGjDb,QAAS,IAOV,OAHAgB,EAAoBH,GAAUd,EAAQA,EAAOC,QAASY,GAG/Cb,EAAOC,Q,+BCrBf,Y,4kBAEA,cAAE,WACE,GAA2B,cAAvBiB,mBACA,OAAO,EAEX,IACI,IAAMC,EAAaC,UAAUC,YAEvBC,EADSH,EAAWI,OACNC,kBAAkBL,EAAWM,WAEjD,aAAEC,SAASC,MAAMC,GAAG,QAAS,0BAA0B,SAACC,GACpDP,EAAKQ,OAAO,CAACC,MAAOF,EAAEG,cAAc5B,WAGpCc,mBAAmBe,YACnBX,EAAKQ,OAAO,CAACC,OAAO,aAAE,0BAA0BG,QAGpDZ,EAAKM,GAAG,YAAY,SAACO,GAAU,MACsBA,EAAM/B,MAD5B,IACpBgC,gBAAAA,OADoB,MACF,KADE,EACIC,EADJ,EACIA,eAE/B,GAAID,EAAiB,CACjB,IAAME,EAAU,EAAH,CAAIC,KAAMH,EAAgBG,MAASH,EAAgBE,SAChEnB,EAAWqB,yBAAyBF,GAExC,GAAID,EAAgB,CAChB,IAAMC,EAAU,EAAH,CAAIC,KAAMF,EAAeE,MAASF,EAAeC,SAC9DnB,EAAWsB,wBAAwBH,GAEvCnB,EAAWuB,OAAOC,eAClBxB,EAAWyB,mBAAmBzB,EAAW0B,YACzC1B,EAAW2B,0BACX3B,EAAW4B,iBACPX,GACAjB,EAAW6B,+BAEf,aAAE,kBAAkBC,KAAK,WAAW,GAC/B9B,EAAWuB,OAAOQ,SAAS,kBAAqB/B,EAAWuB,OAAOS,QAAQ,kBAC3EhC,EAAWiC,WAAWC,QAAQ,aAGxC,MAAOC,GACLC,QAAQC,IAAIF,Q","sources":["webpack://woo-stripe-payment/./node_modules/@babel/runtime/helpers/defineProperty.js","webpack://woo-stripe-payment/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://woo-stripe-payment/external window \"jQuery\"","webpack://woo-stripe-payment/webpack/bootstrap","webpack://woo-stripe-payment/./assets/js/frontend/link-checkout.js"],"sourcesContent":["function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;","module.exports = window[\"jQuery\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","import $ from 'jquery';\r\n\r\n$(() => {\r\n if (wcStripeLinkParams === 'undefined') {\r\n return false;\r\n }\r\n try {\r\n const creditCard = wc_stripe.credit_card;\r\n const stripe = creditCard.stripe;\r\n const link = stripe.linkAutofillModal(creditCard.elements);\r\n\r\n $(document.body).on('keyup', '[name=\"billing_email\"]', (e) => {\r\n link.launch({email: e.currentTarget.value});\r\n });\r\n\r\n if (wcStripeLinkParams.launchLink) {\r\n link.launch({email: $('[name=\"billing_email\"]').val()});\r\n }\r\n\r\n link.on('autofill', (event) => {\r\n const {shippingAddress = null, billingAddress} = event.value;\r\n // populate the address fields\r\n if (shippingAddress) {\r\n const address = {name: shippingAddress.name, ...shippingAddress.address};\r\n creditCard.populate_shipping_fields(address);\r\n }\r\n if (billingAddress) {\r\n const address = {name: billingAddress.name, ...billingAddress.address};\r\n creditCard.populate_billing_fields(address);\r\n }\r\n creditCard.fields.toFormFields();\r\n creditCard.set_payment_method(creditCard.gateway_id);\r\n creditCard.show_new_payment_method();\r\n creditCard.hide_save_card();\r\n if (shippingAddress) {\r\n creditCard.maybe_set_ship_to_different();\r\n }\r\n $('[name=\"terms\"]').prop('checked', true);\r\n if (!creditCard.fields.required('billing_phone') || !creditCard.fields.isEmpty('billing_phone')) {\r\n creditCard.get_form().trigger('submit');\r\n }\r\n });\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n});"],"names":["module","exports","obj","key","value","Object","defineProperty","enumerable","configurable","writable","__esModule","window","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","wcStripeLinkParams","creditCard","wc_stripe","credit_card","link","stripe","linkAutofillModal","elements","document","body","on","e","launch","email","currentTarget","launchLink","val","event","shippingAddress","billingAddress","address","name","populate_shipping_fields","populate_billing_fields","fields","toFormFields","set_payment_method","gateway_id","show_new_payment_method","hide_save_card","maybe_set_ship_to_different","prop","required","isEmpty","get_form","trigger","error","console","log"],"sourceRoot":""}
1
+ {"version":3,"file":"link-checkout.js","mappings":"qBAeAA,EAAOC,QAfP,SAAyBC,EAAKC,EAAKC,GAYjC,OAXID,KAAOD,EACTG,OAAOC,eAAeJ,EAAKC,EAAK,CAC9BC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZP,EAAIC,GAAOC,EAGNF,I,QCNTF,EAAOC,QANP,SAAgCC,GAC9B,OAAOA,GAAOA,EAAIQ,WAAaR,EAAM,CACnC,QAAWA,K,qBCFfF,EAAOC,QAAUU,OAAe,SCC5BC,EAA2B,GAG/B,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAad,QAGrB,IAAID,EAASY,EAAyBE,GAAY,CAGjDb,QAAS,IAOV,OAHAgB,EAAoBH,GAAUd,EAAQA,EAAOC,QAASY,GAG/Cb,EAAOC,Q,+BCrBf,Y,4kBAEA,cAAE,WACE,GAA2B,cAAvBiB,mBACA,OAAO,EAEX,IACI,IAAMC,EAAaC,UAAUC,YAEvBC,EADSH,EAAWI,OACNC,kBAAkBL,EAAWM,WAEjD,aAAEC,SAASC,MAAMC,GAAG,QAAS,0BAA0B,SAACC,GACpDP,EAAKQ,OAAO,CAACC,MAAOF,EAAEG,cAAc5B,WAGpCc,mBAAmBe,YACnBX,EAAKQ,OAAO,CAACC,OAAO,aAAE,0BAA0BG,QAGpDZ,EAAKM,GAAG,YAAY,SAACO,GAAU,MACsBA,EAAM/B,MAD5B,IACpBgC,gBAAAA,OADoB,MACF,KADE,EACIC,EADJ,EACIA,eAE/B,GAAID,EAAiB,CACjB,IAAME,EAAU,EAAH,CAAIC,KAAMH,EAAgBG,MAASH,EAAgBE,SAChEnB,EAAWqB,yBAAyBF,GAExC,GAAID,EAAgB,CAChB,IAAMC,EAAU,EAAH,CAAIC,KAAMF,EAAeE,MAASF,EAAeC,SAC9DnB,EAAWsB,wBAAwBH,GAEvCnB,EAAWuB,OAAOC,eAClBxB,EAAWyB,mBAAmBzB,EAAW0B,YACzC1B,EAAW2B,0BACX3B,EAAW4B,iBACPX,GACAjB,EAAW6B,+BAEf,aAAE,kBAAkBC,KAAK,WAAW,GAC/B9B,EAAWuB,OAAOQ,SAAS,kBAAqB/B,EAAWuB,OAAOS,QAAQ,kBAC3EhC,EAAWiC,WAAWC,QAAQ,aAGxC,MAAOC,GACLC,QAAQC,IAAIF,Q","sources":["webpack://woo-stripe-payment/./node_modules/@babel/runtime/helpers/defineProperty.js","webpack://woo-stripe-payment/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://woo-stripe-payment/external window \"jQuery\"","webpack://woo-stripe-payment/webpack/bootstrap","webpack://woo-stripe-payment/./assets/js/frontend/link-checkout.js"],"sourcesContent":["function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;","module.exports = window[\"jQuery\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","import $ from 'jquery';\n\n$(() => {\n if (wcStripeLinkParams === 'undefined') {\n return false;\n }\n try {\n const creditCard = wc_stripe.credit_card;\n const stripe = creditCard.stripe;\n const link = stripe.linkAutofillModal(creditCard.elements);\n\n $(document.body).on('keyup', '[name=\"billing_email\"]', (e) => {\n link.launch({email: e.currentTarget.value});\n });\n\n if (wcStripeLinkParams.launchLink) {\n link.launch({email: $('[name=\"billing_email\"]').val()});\n }\n\n link.on('autofill', (event) => {\n const {shippingAddress = null, billingAddress} = event.value;\n // populate the address fields\n if (shippingAddress) {\n const address = {name: shippingAddress.name, ...shippingAddress.address};\n creditCard.populate_shipping_fields(address);\n }\n if (billingAddress) {\n const address = {name: billingAddress.name, ...billingAddress.address};\n creditCard.populate_billing_fields(address);\n }\n creditCard.fields.toFormFields();\n creditCard.set_payment_method(creditCard.gateway_id);\n creditCard.show_new_payment_method();\n creditCard.hide_save_card();\n if (shippingAddress) {\n creditCard.maybe_set_ship_to_different();\n }\n $('[name=\"terms\"]').prop('checked', true);\n if (!creditCard.fields.required('billing_phone') || !creditCard.fields.isEmpty('billing_phone')) {\n creditCard.get_form().trigger('submit');\n }\n });\n } catch (error) {\n console.log(error);\n }\n});"],"names":["module","exports","obj","key","value","Object","defineProperty","enumerable","configurable","writable","__esModule","window","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","wcStripeLinkParams","creditCard","wc_stripe","credit_card","link","stripe","linkAutofillModal","elements","document","body","on","e","launch","email","currentTarget","launchLink","val","event","shippingAddress","billingAddress","address","name","populate_shipping_fields","populate_billing_fields","fields","toFormFields","set_payment_method","gateway_id","show_new_payment_method","hide_save_card","maybe_set_ship_to_different","prop","required","isEmpty","get_form","trigger","error","console","log"],"sourceRoot":""}
assets/css/admin/admin-rtl.css CHANGED
@@ -1,361 +1,361 @@
1
- .wc-stripe-settings-container {
2
- padding: 0 0.5em;
3
- }
4
-
5
- .wc-stripe-cc-desc {
6
- margin: 0;
7
- }
8
-
9
- .wc-stripe-settings-logo {
10
- margin: 1.5em 0 0.5em 1em;
11
- display: flex;
12
- align-items: center;
13
- }
14
-
15
- .wc-stripe-settings-logo img {
16
- margin-right: 0.5em;
17
- width: 80px;
18
- }
19
-
20
- .wc-stripe-settings-logo span {
21
- margin: 0 5px;
22
- }
23
-
24
- .wc-stripe-settings-logo img.paymentplugins-logo {
25
- width: 120px;
26
- max-width: 120px;
27
- }
28
-
29
- .wc-stripe-advanced-settings-nav {
30
- margin-top: 1em;
31
- }
32
-
33
- .nav-tab-wrapper.woo-nav-tab-wrapper {
34
- min-height: 35px;
35
- }
36
-
37
- @media (max-width: 690px) {
38
- .nav-tab-wrapper.woo-nav-tab-wrapper {
39
- min-height: 70px;
40
- }
41
- }
42
-
43
- .wc-stripe-advanced-settings-nav .nav-link:nth-child(n+2) {
44
- margin-right: 0.5em;
45
- }
46
-
47
- .wc-stripe-advanced-settings-nav .nav-link-active {
48
- color: #555;
49
- font-weight: 500;
50
- }
51
-
52
- .stripe_cc .wc-stripe-card-icon {
53
- width: 36px;
54
- vertical-align: middle;
55
- }
56
-
57
- #order_data .order_data_column .transaction-data {
58
-
59
- }
60
-
61
- #order_data .order_data_column .transaction-data h3 {
62
- margin-bottom: 5px;
63
- }
64
-
65
- #order_data .order_data_column .transaction-data a {
66
- text-decoration: none;
67
- border: 2px solid transparent;
68
- border-radius: 4px;
69
- font-size: 18px;
70
- }
71
-
72
- #order_data .order_data_column .transaction-data a:before {
73
- font-family: WooCommerce;
74
- content: "\e010";
75
- }
76
-
77
- #order_data .order_data_column .transaction-data .do-transaction-view:hover {
78
- border: 2px solid #00a0d2;
79
- }
80
-
81
- .wc-transaction-data .data-container {
82
- display: flex;
83
- flex-wrap: wrap;
84
- }
85
-
86
- .wc-transaction-data h2 {
87
- margin: 0 0 1em 0;
88
- }
89
-
90
- .wc-transaction-data .charge-actions {
91
- margin-bottom: 0.5em;
92
- }
93
-
94
- .wc-transaction-data .data-container .column-6 {
95
- width: 50%;
96
- margin-bottom: 0.5em;
97
- }
98
-
99
- .wc-transaction-data .data-container .column-6 label {
100
- display: inline-block;
101
- font-weight: 600;
102
- vertical-align: bottom;
103
- }
104
-
105
- .wc-transaction-data .data-container .metadata {
106
- margin-bottom: 0.5em;
107
- }
108
-
109
- #wc-stripe-card-container #card-element {
110
- margin: 1em 0;
111
- border: 1px solid #e8e8e8;
112
- }
113
-
114
- #wc-stripe-card-container #card-element {
115
- background-color: #fff;
116
- padding: 12px 6px;
117
- }
118
-
119
- .wc-stripe-save-card label {
120
- display: block;
121
- margin-bottom: 8px;
122
- }
123
-
124
- #pay-order {
125
- min-width: 75px;
126
- }
127
-
128
- #wc-stripe-pay-order-form .modal-wide {
129
- width: 100%;
130
- margin-bottom: 1.5em;
131
- }
132
-
133
- #wc-stripe-pay-order-form .modal-wide label {
134
- font-weight: 500;
135
- }
136
-
137
- #wc-stripe-pay-order-form .modal-wide.option label {
138
- display: block;
139
- margin-bottom: 0.5em;
140
- }
141
-
142
- #wc-stripe-pay-order-form .token-container {
143
- margin: 1em 0em;
144
- }
145
-
146
- #wc-stripe-pay-order-form .woocommerce-error {
147
- background: #b22222;
148
- color: #fff;
149
- padding: 1em;
150
- margin-bottom: 1em;
151
- }
152
-
153
- .wc-stripe-docs {
154
- padding: 0 6px;
155
- margin-top: 1em;
156
- }
157
-
158
- .wc-stripe-advanced-settings-nav.local-gateways {
159
- margin-right: 0.5em;
160
- }
161
-
162
- .wc-stripe-webhook {
163
- font-weight: 500;
164
- margin-bottom: 0.75em;
165
- }
166
-
167
- .profile-php .wc-stripe-payment-methods th,
168
- .user-edit-php .wc-stripe-payment-methods th {
169
- padding: 10px 0;
170
- }
171
-
172
- .profile-php .wc-stripe-payment-methods th,
173
- .profile-php .wc-stripe-payment-methods td,
174
- .user-edit-php .wc-stripe-payment-methods th,
175
- .user-edit-php .wc-stripe-payment-methods td {
176
- text-align: right;
177
- }
178
-
179
- .profile-php .wc-stripe-payment-methods th:nth-child(n+2),
180
- .user-edit-php .wc-stripe-payment-methods th:nth-child(n+2) {
181
- padding: 5px 10px;
182
- }
183
-
184
- .profile-php .wc-stripe-payment-methods td:nth-child(n+2),
185
- .user-edit-php .wc-stripe-payment-methods td:nth-child(n+2) {
186
- padding: 5px 10px;
187
- }
188
-
189
- .wc-stripe-user-info {
190
- padding: 10px 0;
191
- }
192
-
193
- .woocommerce table.form-table [id="woocommerce_stripe_ach_fee[type]"] + .select2-container {
194
- width: 125px !important;
195
- min-width: 125px !important;
196
- }
197
-
198
- [id="woocommerce_stripe_ach_fee[type]"] {
199
- width: 150px !important;
200
- }
201
-
202
- .wc-stripe-fee-container {
203
- display: flex;
204
- flex-direction: row;
205
- flex-flow: wrap;
206
- }
207
-
208
- .wc-stripe-fee-col {
209
- display: flex;
210
- flex-direction: column;
211
- }
212
-
213
- .wc-stripe-fee-col {
214
- margin-left: 15px;
215
- }
216
-
217
- .wc-stripe-fee-container input {
218
- display: block;
219
- margin-top: 1px;
220
- }
221
-
222
- .notice .stripe-connect {
223
- margin: 7px 3px;
224
- }
225
-
226
- .stripe-connect.light-blue {
227
- background: #b5c3d8;
228
- background-image: -webkit-linear-gradient(#b5c3d8, #9cabc2);
229
- background-image: -moz-linear-gradient(#b5c3d8, #9cabc2);
230
- background-image: -ms-linear-gradient(#b5c3d8, #9cabc2);
231
- background-image: linear-gradient(#b5c3d8, #9cabc2);
232
- -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
233
- -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
234
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
235
- }
236
-
237
- .stripe-connect {
238
- display: inline-block;
239
- margin-bottom: 1px;
240
- background-image: -webkit-linear-gradient(#28A0E5, #015E94);
241
- background-image: -moz-linear-gradient(#28A0E5, #015E94);
242
- background-image: -ms-linear-gradient(#28A0E5, #015E94);
243
- background-image: linear-gradient(#28A0E5, #015E94);
244
- -webkit-font-smoothing: antialiased;
245
- border: 0;
246
- padding: 1px;
247
- height: 30px;
248
- text-decoration: none;
249
- -moz-border-radius: 4px;
250
- -webkit-border-radius: 4px;
251
- border-radius: 4px;
252
- -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
253
- -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
254
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
255
- cursor: pointer;
256
- -moz-user-select: none;
257
- -webkit-user-select: none;
258
- -ms-user-select: none;
259
- user-select: none;
260
- }
261
-
262
- .stripe-connect.light-blue span {
263
- color: #556F88;
264
- text-shadow: 0 1px rgba(255, 255, 255, 0.8);
265
- background: #f0f5fa;
266
- background-image: -webkit-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
267
- background-image: -moz-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
268
- background-image: -ms-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
269
- background-image: linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
270
- -moz-box-shadow: inset 0 1px 0 #fff;
271
- -webkit-box-shadow: inset 0 1px 0 #fff;
272
- box-shadow: inset 0 1px 0 #fff;
273
- }
274
-
275
- .stripe-connect span {
276
- display: block;
277
- position: relative;
278
- padding: 0 44px 0 12px;
279
- height: 30px;
280
- background: #1275FF;
281
- background-image: -webkit-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
282
- background-image: -moz-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
283
- background-image: -ms-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
284
- background-image: linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
285
- font-size: 14px;
286
- line-height: 30px;
287
- color: white;
288
- font-weight: bold;
289
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
290
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
291
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
292
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
293
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
294
- -moz-border-radius: 3px;
295
- -webkit-border-radius: 3px;
296
- border-radius: 3px;
297
- }
298
-
299
- .stripe-connect span:before {
300
- content: '';
301
- display: block;
302
- position: absolute;
303
- right: 11px;
304
- top: 50%;
305
- width: 23px;
306
- height: 24px;
307
- margin-top: -12px;
308
- background-repeat: no-repeat;
309
- background-size: 23px 24px;
310
- }
311
-
312
- .stripe-connect.light-blue span:before {
313
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAYAAABuZUjcAAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8gT8fJRvoKyfJc0WoPwGZXo2n5MLAIYi0yV8bjrK1ihTxNGRbJTnAkCgpH3FKV+xhF+A5gkAO0e0RCxIS5cwjbkmTBtnZxYzgJ+fxZdILMI53EyOmMdk52SLOMIlAHz6ZlkUUJLVlokW2dHG2dHRwtYSLf/n9Y+bn73+GWS9/eTxMuLPnkGMni/al9gvWk4tAKwptDZbvmgpOwFoWw+A6t0vmv4+AOQLAWjt++p7GLJ5SZdIRC5WVvn5+ZYCPtdSVtDP6386fPb8e/jqPEvZeZ9rx/Thp3KkWRKmrKjcnKwcqZiZK+Jw+UyL/x7ifx34VVpf5WEeyU/li/lC9KgYdMoEwjS03UKeQCLIETIFwr/r8L8M+yoHGX6aaxRodR8BPckSKPTRAfJrD8DQyABJ3IPuQJ/7FkKMAbKbF6s99mnuUUb3/7T/YeAy9BXOFaQxZTI7MprJlYrzZIzeCZnBAhKQB3SgBrSAHjAGFsAWOAFX4Al8QRAIA9EgHiwCXJAOsoEY5IPlYA0oAiVgC9gOqsFeUAcaQBM4BtrASXAOXARXwTVwE9wDQ2AUPAOT4DWYgSAID1EhGqQGaUMGkBlkC7Egd8gXCoEioXgoGUqDhJAUWg6tg0qgcqga2g81QN9DJ6Bz0GWoH7oDDUPj0O/QOxiBKTAd1oQNYSuYBXvBwXA0vBBOgxfDS+FCeDNcBdfCR+BW+Bx8Fb4JD8HP4CkEIGSEgeggFggLYSNhSAKSioiRlUgxUonUIk1IB9KNXEeGkAnkLQaHoWGYGAuMKyYAMx/DxSzGrMSUYqoxhzCtmC7MdcwwZhLzEUvFamDNsC7YQGwcNg2bjy3CVmLrsS3YC9ib2FHsaxwOx8AZ4ZxwAbh4XAZuGa4UtxvXjDuL68eN4KbweLwa3gzvhg/Dc/ASfBF+J/4I/gx+AD+Kf0MgE7QJtgQ/QgJBSFhLqCQcJpwmDBDGCDNEBaIB0YUYRuQRlxDLiHXEDmIfcZQ4Q1IkGZHcSNGkDNIaUhWpiXSBdJ/0kkwm65KdyRFkAXk1uYp8lHyJPEx+S1GimFLYlESKlLKZcpBylnKH8pJKpRpSPakJVAl1M7WBep76kPpGjiZnKRcox5NbJVcj1yo3IPdcnihvIO8lv0h+qXyl/HH5PvkJBaKCoQJbgaOwUqFG4YTCoMKUIk3RRjFMMVuxVPGw4mXFJ0p4JUMlXyWeUqHSAaXzSiM0hKZHY9O4tHW0OtoF2igdRzeiB9Iz6CX07+i99EllJWV75RjlAuUa5VPKQwyEYcgIZGQxyhjHGLcY71Q0VbxU+CqbVJpUBlSmVeeoeqryVYtVm1Vvqr5TY6r5qmWqbVVrU3ugjlE3VY9Qz1ffo35BfWIOfY7rHO6c4jnH5tzVgDVMNSI1lmkc0OjRmNLU0vTXFGnu1DyvOaHF0PLUytCq0DqtNa5N03bXFmhXaJ/RfspUZnoxs5hVzC7mpI6GToCOVGe/Tq/OjK6R7nzdtbrNug/0SHosvVS9Cr1OvUl9bf1Q/eX6jfp3DYgGLIN0gx0G3QbThkaGsYYbDNsMnxipGgUaLTVqNLpvTDX2MF5sXGt8wwRnwjLJNNltcs0UNnUwTTetMe0zg80czQRmu836zbHmzuZC81rzQQuKhZdFnkWjxbAlwzLEcq1lm+VzK32rBKutVt1WH60drLOs66zv2SjZBNmstemw+d3W1JZrW2N7w45q52e3yq7d7oW9mT3ffo/9bQeaQ6jDBodOhw+OTo5ixybHcSd9p2SnXU6DLDornFXKuuSMdfZ2XuV80vmti6OLxOWYy2+uFq6Zroddn8w1msufWzd3xE3XjeO2323Ineme7L7PfchDx4PjUevxyFPPk+dZ7znmZeKV4XXE67m3tbfYu8V7mu3CXsE+64P4+PsU+/T6KvnO9632fein65fm1+g36e/gv8z/bAA2IDhga8BgoGYgN7AhcDLIKWhFUFcwJTgquDr4UYhpiDikIxQODQrdFnp/nsE84by2MBAWGLYt7EG4Ufji8B8jcBHhETURjyNtIpdHdkfRopKiDke9jvaOLou+N994vnR+Z4x8TGJMQ8x0rE9seexQnFXcirir8erxgvj2BHxCTEJ9wtQC3wXbF4wmOiQWJd5aaLSwYOHlReqLshadSpJP4iQdT8YmxyYfTn7PCePUcqZSAlN2pUxy2dwd3Gc8T14Fb5zvxi/nj6W6pZanPklzS9uWNp7ukV6ZPiFgC6oFLzICMvZmTGeGZR7MnM2KzWrOJmQnZ58QKgkzhV05WjkFOf0iM1GRaGixy+LtiyfFweL6XCh3YW67hI7+TPVIjaXrpcN57nk1eW/yY/KPFygWCAt6lpgu2bRkbKnf0m+XYZZxl3Uu11m+ZvnwCq8V+1dCK1NWdq7SW1W4anS1/+pDa0hrMtf8tNZ6bfnaV+ti13UUahauLhxZ77++sUiuSFw0uMF1w96NmI2Cjb2b7Dbt3PSxmFd8pcS6pLLkfSm39Mo3Nt9UfTO7OXVzb5lj2Z4tuC3CLbe2emw9VK5YvrR8ZFvottYKZkVxxavtSdsvV9pX7t1B2iHdMVQVUtW+U3/nlp3vq9Orb9Z41zTv0ti1adf0bt7ugT2ee5r2au4t2ftun2Df7f3++1trDWsrD+AO5B14XBdT1/0t69uGevX6kvoPB4UHhw5FHupqcGpoOKxxuKwRbpQ2jh9JPHLtO5/v2pssmvY3M5pLjoKj0qNPv0/+/tax4GOdx1nHm34w+GFXC62luBVqXdI62ZbeNtQe395/IuhEZ4drR8uPlj8ePKlzsuaU8qmy06TThadnzyw9M3VWdHbiXNq5kc6kznvn487f6Iro6r0QfOHSRb+L57u9us9ccrt08rLL5RNXWFfarjpebe1x6Gn5yeGnll7H3tY+p772a87XOvrn9p8e8Bg4d93n+sUbgTeu3px3s//W/Fu3BxMHh27zbj+5k3Xnxd28uzP3Vt/H3i9+oPCg8qHGw9qfTX5uHnIcOjXsM9zzKOrRvRHuyLNfcn95P1r4mPq4ckx7rOGJ7ZOT437j154ueDr6TPRsZqLoV8Vfdz03fv7Db56/9UzGTY6+EL+Y/b30pdrLg6/sX3VOhU89fJ39ema6+I3am0NvWW+738W+G5vJf49/X/XB5EPHx+CP92ezZ2f/AAOY8/wRDtFgAAAHH0lEQVRoBdVZ628UVRS/857dme3strvblpaXCiI+WkCkpFAoECAgr0oqxASjiAZMiF9MiI80/AfqB+WD3/xABOMrKCgRJCBSLCACQUEIEai8ywJ97GNm/J3ZbizM7C7trpG9m7N39t5z7/2dM+eec+5dzrZtVoqFL0XQhLlkgYulpnGOYxxhLjngW7Zsdayk5IB3RyJSSWrcMP1aSQJPJfnwoIA3LFhTy3hrAdx+IzbIOMbsGkQAR3pM1Icdcxv1ZZtxf+D5OGPm3vbJo4/YbW0WLVSswglCLc3F5QtAzyx6ZbbA7Hc5jp8hCAIj4nmecTy2NyRwCqShOEZzWZbFTMtkpmky27Ku2Da36cC2j9vSjIV/b93RsZpmybo5n2htlct6yz6SReFlWZaZIitMURRGz6IkMoEXHPAOFAewnQacSrFkMsUSiTgoEU0kk4vBUzTgHM87GvcE3traKgTjxleyT5mvaTrTdY2pqo9JBNjReBp0v0sFLtI4tA2ClqFtIpPF43EIEdcd4Yr0hSWy23hnIvi2T/PPDwaDLBAIMFVRmSACbMY0XCDSImTCsOOvYDr0hqxUQnGxF9AA4/T2Ks2LXwsD9Iby8nIWNIJMVmTGZwWcAwFW4AWIYmfEycE7mC6OZfHjqviCYZT5gobhaIw24VALjRz6aO9Vsdm9I6eu6XN1mIcC8+ALAO0sS28qvY43iiG0csxydOHanJqm1ZFNk8vLp67hVeHjLfMbvx9ZHY7Fbvco17pi2vlL1youXemKXLh8Y8SV610jelPJIcDLP8QFXJHlELm77BsxPaltW6xx4vgDo2uiN6klZOh9RGNG1VzHz1Ogn6j99LkLcaqLXVzA4acRnIS82k6lTLbjx/aqhgmPvglQMZAMItcXAkVAw4nGjKq9hbroxQVcVeVenuN9//po7zUpQp44ffbZOSvWb48nEhv3fr5pBzhJu6TxP0E/g6iUpavifrt8VUXIuEC27eyrHDVFTtoLiqo2SKK4vem5tQebWl5dwW3ceO+c/4nG712EwUaPIhDmRU5RtMwoY5FwhIXg83VNmyxJ6uamY5ePNbWsXVFc/bpncwFfMnvqN4oi3iRTyfXh+zVO0bUyGmXRykpWXkEC6ONlWdo8c/m6L+atWpXJHt0rF9jiAq7rvpPzGuu/hqlYjjskr5mFKDiRB/Ijtw8FQywaibJKCEBvwOf3L032lf0wbcnqQIEYPYe7gIPrRPPU+kONk8Z/jVAPb38fH0gpiiLA+lgwaDgCRMJhJGf6FFXV3vNcucBGL+Am5ty2dM6UjkWzp3ziU+Vb+TZqpp9yGhLADwFCoXKYTgVD3vPSrBXr6wrE6RruBZyYzoK+nT7psdMb1rS8P+Hxh3bKstiT19X0S4CcGSmDzAzkO9gDHHL5510rF9jg8uMD5juC55jfry5aubBpb+xOz8Fd+3+rO3bqr6ndvX0VA/i8HyEEHT4CeoAl4/GFYHrLm3Fordk0npmNNP8haJeh+7uWzW04+M665R9MmzT+S0kU+jImkq2mJE1RFab6fA9nJixWnUvjmTUoS6K84xfQU0i+piya9fRhjrftfR2/L3M8TobToxYFEScnqehu0QW8ufX1eoGXJPNy6Mju3W2pAVgSeO4AHQLV+SR5pIVES+CQ1+QolPeoqlr0RMsFXJTkpXDbbVxVV/eclW+04wjTDod4HGe907aQuiImOV7RfbXVVdWNeqCMCUpu4ORM4Zl6csg2pC4X8GHRsNbdl6BrBs1MpWbh4DuLrhvoEGzZODVJHA7GPOuLJ5iG0ELAchUcn5mh63/n4hlKnwt4bW11uCvW65x+cLXAkgkQDgMpXDtQRkhAydXRKQnJVTqq5liZTv/V0dDJHCyD6rIZT5mU+15Fgk36/X7n/oQ0beGawQTgtMZxT4UP2a1zt4I6n8bxPlLNU+u+GxS6HMwch43lBZzu+tHpXPaIPDRKWi2gPDKi6sDo2sqjBUxx91CbOWdBN6r+hCqfJu+ezfuXEfCdX7lw+k70nvDmGHwr7KSbRrmA9+POa7v5lgwHA2debJn5KSIvxQBnsXxj7qcfwe4a8bmAD4tWnLp6s7uzN2lWw33kdhkeK/lUpat+3Kg9C2ZMPIzuC6A9HmxDbsJeozndwNesXLCf2mO376gnz3TW4Jph2I3Y7cidnr7ynt54MJky/ZZli8jFTZHnE7Ikdmt+9Ua0wjg/bvSwM0+OHXER0ZV2PqULn4EGBjH8LKzgJH+OZnBpHG3kczuNgF7dUD/2DJ6JBlO6wLwP9OtgBt0vr22a3hrHBHQnQkSXlTWgahBlg+WgIMgHIoEpb6cdTvZ7A3QRRFruBDm+FnXRiyhZ3jY+YCXKLwgI0QNTYkKPt1d5YBBmAaJdver48bx/pWQZ/781wx06nq7kgGc0lu8ElOF74OqSBf4P9hj31KSAw4AAAAAASUVORK5CYII=")
314
- }
315
-
316
- .stripe-connect-active,
317
- .stripe-webhook-created {
318
- font-size: 30px;
319
- color: green;
320
- width: 25px;
321
- height: 30px;
322
- margin-top: -5px;
323
- margin-right: -8px;
324
- }
325
-
326
- .woocommerce_stripe_panel table {
327
- width: 100%;
328
- }
329
-
330
- .wc-stripe-product-table th {
331
- text-align: right;
332
- }
333
-
334
- .wc-stripe-product-gateway-enabled {
335
- padding-top: 1px;
336
- display: block;
337
- outline: 0;
338
- box-shadow: none;
339
- }
340
-
341
- .wc-stripe-save-product-data.disabled {
342
- opactity: 0.6;
343
- }
344
-
345
- #stripe_product_data .wc-stripe-save-product-data + span.spinner {
346
- float: none;
347
- margin: 0 10px 0 0;
348
- }
349
-
350
- #woocommerce-product-data ul.wc-tabs li.stripe_options a:before {
351
- font-family: WooCommerce;
352
- content: '\e01e';
353
- }
354
-
355
- #_stripe_button_position {
356
- max-width: 200px;
357
- }
358
-
359
- tr[data-gateway_id="stripe_afterpay"] td.capture-type {
360
- display: none !important;
361
  }
1
+ .wc-stripe-settings-container {
2
+ padding: 0 0.5em;
3
+ }
4
+
5
+ .wc-stripe-cc-desc {
6
+ margin: 0;
7
+ }
8
+
9
+ .wc-stripe-settings-logo {
10
+ margin: 1.5em 0 0.5em 1em;
11
+ display: flex;
12
+ align-items: center;
13
+ }
14
+
15
+ .wc-stripe-settings-logo img {
16
+ margin-right: 0.5em;
17
+ width: 80px;
18
+ }
19
+
20
+ .wc-stripe-settings-logo span {
21
+ margin: 0 5px;
22
+ }
23
+
24
+ .wc-stripe-settings-logo img.paymentplugins-logo {
25
+ width: 120px;
26
+ max-width: 120px;
27
+ }
28
+
29
+ .wc-stripe-advanced-settings-nav {
30
+ margin-top: 1em;
31
+ }
32
+
33
+ .nav-tab-wrapper.woo-nav-tab-wrapper {
34
+ min-height: 35px;
35
+ }
36
+
37
+ @media (max-width: 690px) {
38
+ .nav-tab-wrapper.woo-nav-tab-wrapper {
39
+ min-height: 70px;
40
+ }
41
+ }
42
+
43
+ .wc-stripe-advanced-settings-nav .nav-link:nth-child(n+2) {
44
+ margin-right: 0.5em;
45
+ }
46
+
47
+ .wc-stripe-advanced-settings-nav .nav-link-active {
48
+ color: #555;
49
+ font-weight: 500;
50
+ }
51
+
52
+ .stripe_cc .wc-stripe-card-icon {
53
+ width: 36px;
54
+ vertical-align: middle;
55
+ }
56
+
57
+ #order_data .order_data_column .transaction-data {
58
+
59
+ }
60
+
61
+ #order_data .order_data_column .transaction-data h3 {
62
+ margin-bottom: 5px;
63
+ }
64
+
65
+ #order_data .order_data_column .transaction-data a {
66
+ text-decoration: none;
67
+ border: 2px solid transparent;
68
+ border-radius: 4px;
69
+ font-size: 18px;
70
+ }
71
+
72
+ #order_data .order_data_column .transaction-data a:before {
73
+ font-family: WooCommerce;
74
+ content: "\e010";
75
+ }
76
+
77
+ #order_data .order_data_column .transaction-data .do-transaction-view:hover {
78
+ border: 2px solid #00a0d2;
79
+ }
80
+
81
+ .wc-transaction-data .data-container {
82
+ display: flex;
83
+ flex-wrap: wrap;
84
+ }
85
+
86
+ .wc-transaction-data h2 {
87
+ margin: 0 0 1em 0;
88
+ }
89
+
90
+ .wc-transaction-data .charge-actions {
91
+ margin-bottom: 0.5em;
92
+ }
93
+
94
+ .wc-transaction-data .data-container .column-6 {
95
+ width: 50%;
96
+ margin-bottom: 0.5em;
97
+ }
98
+
99
+ .wc-transaction-data .data-container .column-6 label {
100
+ display: inline-block;
101
+ font-weight: 600;
102
+ vertical-align: bottom;
103
+ }
104
+
105
+ .wc-transaction-data .data-container .metadata {
106
+ margin-bottom: 0.5em;
107
+ }
108
+
109
+ #wc-stripe-card-container #card-element {
110
+ margin: 1em 0;
111
+ border: 1px solid #e8e8e8;
112
+ }
113
+
114
+ #wc-stripe-card-container #card-element {
115
+ background-color: #fff;
116
+ padding: 12px 6px;
117
+ }
118
+
119
+ .wc-stripe-save-card label {
120
+ display: block;
121
+ margin-bottom: 8px;
122
+ }
123
+
124
+ #pay-order {
125
+ min-width: 75px;
126
+ }
127
+
128
+ #wc-stripe-pay-order-form .modal-wide {
129
+ width: 100%;
130
+ margin-bottom: 1.5em;
131
+ }
132
+
133
+ #wc-stripe-pay-order-form .modal-wide label {
134
+ font-weight: 500;
135
+ }
136
+
137
+ #wc-stripe-pay-order-form .modal-wide.option label {
138
+ display: block;
139
+ margin-bottom: 0.5em;
140
+ }
141
+
142
+ #wc-stripe-pay-order-form .token-container {
143
+ margin: 1em 0em;
144
+ }
145
+
146
+ #wc-stripe-pay-order-form .woocommerce-error {
147
+ background: #b22222;
148
+ color: #fff;
149
+ padding: 1em;
150
+ margin-bottom: 1em;
151
+ }
152
+
153
+ .wc-stripe-docs {
154
+ padding: 0 6px;
155
+ margin-top: 1em;
156
+ }
157
+
158
+ .wc-stripe-advanced-settings-nav.local-gateways {
159
+ margin-right: 0.5em;
160
+ }
161
+
162
+ .wc-stripe-webhook {
163
+ font-weight: 500;
164
+ margin-bottom: 0.75em;
165
+ }
166
+
167
+ .profile-php .wc-stripe-payment-methods th,
168
+ .user-edit-php .wc-stripe-payment-methods th {
169
+ padding: 10px 0;
170
+ }
171
+
172
+ .profile-php .wc-stripe-payment-methods th,
173
+ .profile-php .wc-stripe-payment-methods td,
174
+ .user-edit-php .wc-stripe-payment-methods th,
175
+ .user-edit-php .wc-stripe-payment-methods td {
176
+ text-align: right;
177
+ }
178
+
179
+ .profile-php .wc-stripe-payment-methods th:nth-child(n+2),
180
+ .user-edit-php .wc-stripe-payment-methods th:nth-child(n+2) {
181
+ padding: 5px 10px;
182
+ }
183
+
184
+ .profile-php .wc-stripe-payment-methods td:nth-child(n+2),
185
+ .user-edit-php .wc-stripe-payment-methods td:nth-child(n+2) {
186
+ padding: 5px 10px;
187
+ }
188
+
189
+ .wc-stripe-user-info {
190
+ padding: 10px 0;
191
+ }
192
+
193
+ .woocommerce table.form-table [id="woocommerce_stripe_ach_fee[type]"] + .select2-container {
194
+ width: 125px !important;
195
+ min-width: 125px !important;
196
+ }
197
+
198
+ [id="woocommerce_stripe_ach_fee[type]"] {
199
+ width: 150px !important;
200
+ }
201
+
202
+ .wc-stripe-fee-container {
203
+ display: flex;
204
+ flex-direction: row;
205
+ flex-flow: wrap;
206
+ }
207
+
208
+ .wc-stripe-fee-col {
209
+ display: flex;
210
+ flex-direction: column;
211
+ }
212
+
213
+ .wc-stripe-fee-col {
214
+ margin-left: 15px;
215
+ }
216
+
217
+ .wc-stripe-fee-container input {
218
+ display: block;
219
+ margin-top: 1px;
220
+ }
221
+
222
+ .notice .stripe-connect {
223
+ margin: 7px 3px;
224
+ }
225
+
226
+ .stripe-connect.light-blue {
227
+ background: #b5c3d8;
228
+ background-image: -webkit-linear-gradient(#b5c3d8, #9cabc2);
229
+ background-image: -moz-linear-gradient(#b5c3d8, #9cabc2);
230
+ background-image: -ms-linear-gradient(#b5c3d8, #9cabc2);
231
+ background-image: linear-gradient(#b5c3d8, #9cabc2);
232
+ -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
233
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
234
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
235
+ }
236
+
237
+ .stripe-connect {
238
+ display: inline-block;
239
+ margin-bottom: 1px;
240
+ background-image: -webkit-linear-gradient(#28A0E5, #015E94);
241
+ background-image: -moz-linear-gradient(#28A0E5, #015E94);
242
+ background-image: -ms-linear-gradient(#28A0E5, #015E94);
243
+ background-image: linear-gradient(#28A0E5, #015E94);
244
+ -webkit-font-smoothing: antialiased;
245
+ border: 0;
246
+ padding: 1px;
247
+ height: 30px;
248
+ text-decoration: none;
249
+ -moz-border-radius: 4px;
250
+ -webkit-border-radius: 4px;
251
+ border-radius: 4px;
252
+ -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
253
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
254
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
255
+ cursor: pointer;
256
+ -moz-user-select: none;
257
+ -webkit-user-select: none;
258
+ -ms-user-select: none;
259
+ user-select: none;
260
+ }
261
+
262
+ .stripe-connect.light-blue span {
263
+ color: #556F88;
264
+ text-shadow: 0 1px rgba(255, 255, 255, 0.8);
265
+ background: #f0f5fa;
266
+ background-image: -webkit-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
267
+ background-image: -moz-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
268
+ background-image: -ms-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
269
+ background-image: linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
270
+ -moz-box-shadow: inset 0 1px 0 #fff;
271
+ -webkit-box-shadow: inset 0 1px 0 #fff;
272
+ box-shadow: inset 0 1px 0 #fff;
273
+ }
274
+
275
+ .stripe-connect span {
276
+ display: block;
277
+ position: relative;
278
+ padding: 0 44px 0 12px;
279
+ height: 30px;
280
+ background: #1275FF;
281
+ background-image: -webkit-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
282
+ background-image: -moz-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
283
+ background-image: -ms-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
284
+ background-image: linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
285
+ font-size: 14px;
286
+ line-height: 30px;
287
+ color: white;
288
+ font-weight: bold;
289
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
290
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
291
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
292
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
293
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
294
+ -moz-border-radius: 3px;
295
+ -webkit-border-radius: 3px;
296
+ border-radius: 3px;
297
+ }
298
+
299
+ .stripe-connect span:before {
300
+ content: '';
301
+ display: block;
302
+ position: absolute;
303
+ right: 11px;
304
+ top: 50%;
305
+ width: 23px;
306
+ height: 24px;
307
+ margin-top: -12px;
308
+ background-repeat: no-repeat;
309
+ background-size: 23px 24px;
310
+ }
311
+
312
+ .stripe-connect.light-blue span:before {
313
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAYAAABuZUjcAAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8gT8fJRvoKyfJc0WoPwGZXo2n5MLAIYi0yV8bjrK1ihTxNGRbJTnAkCgpH3FKV+xhF+A5gkAO0e0RCxIS5cwjbkmTBtnZxYzgJ+fxZdILMI53EyOmMdk52SLOMIlAHz6ZlkUUJLVlokW2dHG2dHRwtYSLf/n9Y+bn73+GWS9/eTxMuLPnkGMni/al9gvWk4tAKwptDZbvmgpOwFoWw+A6t0vmv4+AOQLAWjt++p7GLJ5SZdIRC5WVvn5+ZYCPtdSVtDP6386fPb8e/jqPEvZeZ9rx/Thp3KkWRKmrKjcnKwcqZiZK+Jw+UyL/x7ifx34VVpf5WEeyU/li/lC9KgYdMoEwjS03UKeQCLIETIFwr/r8L8M+yoHGX6aaxRodR8BPckSKPTRAfJrD8DQyABJ3IPuQJ/7FkKMAbKbF6s99mnuUUb3/7T/YeAy9BXOFaQxZTI7MprJlYrzZIzeCZnBAhKQB3SgBrSAHjAGFsAWOAFX4Al8QRAIA9EgHiwCXJAOsoEY5IPlYA0oAiVgC9gOqsFeUAcaQBM4BtrASXAOXARXwTVwE9wDQ2AUPAOT4DWYgSAID1EhGqQGaUMGkBlkC7Egd8gXCoEioXgoGUqDhJAUWg6tg0qgcqga2g81QN9DJ6Bz0GWoH7oDDUPj0O/QOxiBKTAd1oQNYSuYBXvBwXA0vBBOgxfDS+FCeDNcBdfCR+BW+Bx8Fb4JD8HP4CkEIGSEgeggFggLYSNhSAKSioiRlUgxUonUIk1IB9KNXEeGkAnkLQaHoWGYGAuMKyYAMx/DxSzGrMSUYqoxhzCtmC7MdcwwZhLzEUvFamDNsC7YQGwcNg2bjy3CVmLrsS3YC9ib2FHsaxwOx8AZ4ZxwAbh4XAZuGa4UtxvXjDuL68eN4KbweLwa3gzvhg/Dc/ASfBF+J/4I/gx+AD+Kf0MgE7QJtgQ/QgJBSFhLqCQcJpwmDBDGCDNEBaIB0YUYRuQRlxDLiHXEDmIfcZQ4Q1IkGZHcSNGkDNIaUhWpiXSBdJ/0kkwm65KdyRFkAXk1uYp8lHyJPEx+S1GimFLYlESKlLKZcpBylnKH8pJKpRpSPakJVAl1M7WBep76kPpGjiZnKRcox5NbJVcj1yo3IPdcnihvIO8lv0h+qXyl/HH5PvkJBaKCoQJbgaOwUqFG4YTCoMKUIk3RRjFMMVuxVPGw4mXFJ0p4JUMlXyWeUqHSAaXzSiM0hKZHY9O4tHW0OtoF2igdRzeiB9Iz6CX07+i99EllJWV75RjlAuUa5VPKQwyEYcgIZGQxyhjHGLcY71Q0VbxU+CqbVJpUBlSmVeeoeqryVYtVm1Vvqr5TY6r5qmWqbVVrU3ugjlE3VY9Qz1ffo35BfWIOfY7rHO6c4jnH5tzVgDVMNSI1lmkc0OjRmNLU0vTXFGnu1DyvOaHF0PLUytCq0DqtNa5N03bXFmhXaJ/RfspUZnoxs5hVzC7mpI6GToCOVGe/Tq/OjK6R7nzdtbrNug/0SHosvVS9Cr1OvUl9bf1Q/eX6jfp3DYgGLIN0gx0G3QbThkaGsYYbDNsMnxipGgUaLTVqNLpvTDX2MF5sXGt8wwRnwjLJNNltcs0UNnUwTTetMe0zg80czQRmu836zbHmzuZC81rzQQuKhZdFnkWjxbAlwzLEcq1lm+VzK32rBKutVt1WH60drLOs66zv2SjZBNmstemw+d3W1JZrW2N7w45q52e3yq7d7oW9mT3ffo/9bQeaQ6jDBodOhw+OTo5ixybHcSd9p2SnXU6DLDornFXKuuSMdfZ2XuV80vmti6OLxOWYy2+uFq6Zroddn8w1msufWzd3xE3XjeO2323Ineme7L7PfchDx4PjUevxyFPPk+dZ7znmZeKV4XXE67m3tbfYu8V7mu3CXsE+64P4+PsU+/T6KvnO9632fein65fm1+g36e/gv8z/bAA2IDhga8BgoGYgN7AhcDLIKWhFUFcwJTgquDr4UYhpiDikIxQODQrdFnp/nsE84by2MBAWGLYt7EG4Ufji8B8jcBHhETURjyNtIpdHdkfRopKiDke9jvaOLou+N994vnR+Z4x8TGJMQ8x0rE9seexQnFXcirir8erxgvj2BHxCTEJ9wtQC3wXbF4wmOiQWJd5aaLSwYOHlReqLshadSpJP4iQdT8YmxyYfTn7PCePUcqZSAlN2pUxy2dwd3Gc8T14Fb5zvxi/nj6W6pZanPklzS9uWNp7ukV6ZPiFgC6oFLzICMvZmTGeGZR7MnM2KzWrOJmQnZ58QKgkzhV05WjkFOf0iM1GRaGixy+LtiyfFweL6XCh3YW67hI7+TPVIjaXrpcN57nk1eW/yY/KPFygWCAt6lpgu2bRkbKnf0m+XYZZxl3Uu11m+ZvnwCq8V+1dCK1NWdq7SW1W4anS1/+pDa0hrMtf8tNZ6bfnaV+ti13UUahauLhxZ77++sUiuSFw0uMF1w96NmI2Cjb2b7Dbt3PSxmFd8pcS6pLLkfSm39Mo3Nt9UfTO7OXVzb5lj2Z4tuC3CLbe2emw9VK5YvrR8ZFvottYKZkVxxavtSdsvV9pX7t1B2iHdMVQVUtW+U3/nlp3vq9Orb9Z41zTv0ti1adf0bt7ugT2ee5r2au4t2ftun2Df7f3++1trDWsrD+AO5B14XBdT1/0t69uGevX6kvoPB4UHhw5FHupqcGpoOKxxuKwRbpQ2jh9JPHLtO5/v2pssmvY3M5pLjoKj0qNPv0/+/tax4GOdx1nHm34w+GFXC62luBVqXdI62ZbeNtQe395/IuhEZ4drR8uPlj8ePKlzsuaU8qmy06TThadnzyw9M3VWdHbiXNq5kc6kznvn487f6Iro6r0QfOHSRb+L57u9us9ccrt08rLL5RNXWFfarjpebe1x6Gn5yeGnll7H3tY+p772a87XOvrn9p8e8Bg4d93n+sUbgTeu3px3s//W/Fu3BxMHh27zbj+5k3Xnxd28uzP3Vt/H3i9+oPCg8qHGw9qfTX5uHnIcOjXsM9zzKOrRvRHuyLNfcn95P1r4mPq4ckx7rOGJ7ZOT437j154ueDr6TPRsZqLoV8Vfdz03fv7Db56/9UzGTY6+EL+Y/b30pdrLg6/sX3VOhU89fJ39ema6+I3am0NvWW+738W+G5vJf49/X/XB5EPHx+CP92ezZ2f/AAOY8/wRDtFgAAAHH0lEQVRoBdVZ628UVRS/857dme3strvblpaXCiI+WkCkpFAoECAgr0oqxASjiAZMiF9MiI80/AfqB+WD3/xABOMrKCgRJCBSLCACQUEIEai8ywJ97GNm/J3ZbizM7C7trpG9m7N39t5z7/2dM+eec+5dzrZtVoqFL0XQhLlkgYulpnGOYxxhLjngW7Zsdayk5IB3RyJSSWrcMP1aSQJPJfnwoIA3LFhTy3hrAdx+IzbIOMbsGkQAR3pM1Icdcxv1ZZtxf+D5OGPm3vbJo4/YbW0WLVSswglCLc3F5QtAzyx6ZbbA7Hc5jp8hCAIj4nmecTy2NyRwCqShOEZzWZbFTMtkpmky27Ku2Da36cC2j9vSjIV/b93RsZpmybo5n2htlct6yz6SReFlWZaZIitMURRGz6IkMoEXHPAOFAewnQacSrFkMsUSiTgoEU0kk4vBUzTgHM87GvcE3traKgTjxleyT5mvaTrTdY2pqo9JBNjReBp0v0sFLtI4tA2ClqFtIpPF43EIEdcd4Yr0hSWy23hnIvi2T/PPDwaDLBAIMFVRmSACbMY0XCDSImTCsOOvYDr0hqxUQnGxF9AA4/T2Ks2LXwsD9Iby8nIWNIJMVmTGZwWcAwFW4AWIYmfEycE7mC6OZfHjqviCYZT5gobhaIw24VALjRz6aO9Vsdm9I6eu6XN1mIcC8+ALAO0sS28qvY43iiG0csxydOHanJqm1ZFNk8vLp67hVeHjLfMbvx9ZHY7Fbvco17pi2vlL1youXemKXLh8Y8SV610jelPJIcDLP8QFXJHlELm77BsxPaltW6xx4vgDo2uiN6klZOh9RGNG1VzHz1Ogn6j99LkLcaqLXVzA4acRnIS82k6lTLbjx/aqhgmPvglQMZAMItcXAkVAw4nGjKq9hbroxQVcVeVenuN9//po7zUpQp44ffbZOSvWb48nEhv3fr5pBzhJu6TxP0E/g6iUpavifrt8VUXIuEC27eyrHDVFTtoLiqo2SKK4vem5tQebWl5dwW3ceO+c/4nG712EwUaPIhDmRU5RtMwoY5FwhIXg83VNmyxJ6uamY5ePNbWsXVFc/bpncwFfMnvqN4oi3iRTyfXh+zVO0bUyGmXRykpWXkEC6ONlWdo8c/m6L+atWpXJHt0rF9jiAq7rvpPzGuu/hqlYjjskr5mFKDiRB/Ijtw8FQywaibJKCEBvwOf3L032lf0wbcnqQIEYPYe7gIPrRPPU+kONk8Z/jVAPb38fH0gpiiLA+lgwaDgCRMJhJGf6FFXV3vNcucBGL+Am5ty2dM6UjkWzp3ziU+Vb+TZqpp9yGhLADwFCoXKYTgVD3vPSrBXr6wrE6RruBZyYzoK+nT7psdMb1rS8P+Hxh3bKstiT19X0S4CcGSmDzAzkO9gDHHL5510rF9jg8uMD5juC55jfry5aubBpb+xOz8Fd+3+rO3bqr6ndvX0VA/i8HyEEHT4CeoAl4/GFYHrLm3Fordk0npmNNP8haJeh+7uWzW04+M665R9MmzT+S0kU+jImkq2mJE1RFab6fA9nJixWnUvjmTUoS6K84xfQU0i+piya9fRhjrftfR2/L3M8TobToxYFEScnqehu0QW8ufX1eoGXJPNy6Mju3W2pAVgSeO4AHQLV+SR5pIVES+CQ1+QolPeoqlr0RMsFXJTkpXDbbVxVV/eclW+04wjTDod4HGe907aQuiImOV7RfbXVVdWNeqCMCUpu4ORM4Zl6csg2pC4X8GHRsNbdl6BrBs1MpWbh4DuLrhvoEGzZODVJHA7GPOuLJ5iG0ELAchUcn5mh63/n4hlKnwt4bW11uCvW65x+cLXAkgkQDgMpXDtQRkhAydXRKQnJVTqq5liZTv/V0dDJHCyD6rIZT5mU+15Fgk36/X7n/oQ0beGawQTgtMZxT4UP2a1zt4I6n8bxPlLNU+u+GxS6HMwch43lBZzu+tHpXPaIPDRKWi2gPDKi6sDo2sqjBUxx91CbOWdBN6r+hCqfJu+ezfuXEfCdX7lw+k70nvDmGHwr7KSbRrmA9+POa7v5lgwHA2debJn5KSIvxQBnsXxj7qcfwe4a8bmAD4tWnLp6s7uzN2lWw33kdhkeK/lUpat+3Kg9C2ZMPIzuC6A9HmxDbsJeozndwNesXLCf2mO376gnz3TW4Jph2I3Y7cidnr7ynt54MJky/ZZli8jFTZHnE7Ikdmt+9Ua0wjg/bvSwM0+OHXER0ZV2PqULn4EGBjH8LKzgJH+OZnBpHG3kczuNgF7dUD/2DJ6JBlO6wLwP9OtgBt0vr22a3hrHBHQnQkSXlTWgahBlg+WgIMgHIoEpb6cdTvZ7A3QRRFruBDm+FnXRiyhZ3jY+YCXKLwgI0QNTYkKPt1d5YBBmAaJdver48bx/pWQZ/781wx06nq7kgGc0lu8ElOF74OqSBf4P9hj31KSAw4AAAAAASUVORK5CYII=")
314
+ }
315
+
316
+ .stripe-connect-active,
317
+ .stripe-webhook-created {
318
+ font-size: 30px;
319
+ color: green;
320
+ width: 25px;
321
+ height: 30px;
322
+ margin-top: -5px;
323
+ margin-right: -8px;
324
+ }
325
+
326
+ .woocommerce_stripe_panel table {
327
+ width: 100%;
328
+ }
329
+
330
+ .wc-stripe-product-table th {
331
+ text-align: right;
332
+ }
333
+
334
+ .wc-stripe-product-gateway-enabled {
335
+ padding-top: 1px;
336
+ display: block;
337
+ outline: 0;
338
+ box-shadow: none;
339
+ }
340
+
341
+ .wc-stripe-save-product-data.disabled {
342
+ opactity: 0.6;
343
+ }
344
+
345
+ #stripe_product_data .wc-stripe-save-product-data + span.spinner {
346
+ float: none;
347
+ margin: 0 10px 0 0;
348
+ }
349
+
350
+ #woocommerce-product-data ul.wc-tabs li.stripe_options a:before {
351
+ font-family: WooCommerce;
352
+ content: '\e01e';
353
+ }
354
+
355
+ #_stripe_button_position {
356
+ max-width: 200px;
357
+ }
358
+
359
+ tr[data-gateway_id="stripe_afterpay"] td.capture-type {
360
+ display: none !important;
361
  }
assets/css/admin/admin.css CHANGED
@@ -1,361 +1,361 @@
1
- .wc-stripe-settings-container {
2
- padding: 0 0.5em;
3
- }
4
-
5
- .wc-stripe-cc-desc {
6
- margin: 0;
7
- }
8
-
9
- .wc-stripe-settings-logo {
10
- margin: 1.5em 1em 0.5em 0;
11
- display: flex;
12
- align-items: center;
13
- }
14
-
15
- .wc-stripe-settings-logo img {
16
- margin-left: 0.5em;
17
- width: 80px;
18
- }
19
-
20
- .wc-stripe-settings-logo span {
21
- margin: 0 5px;
22
- }
23
-
24
- .wc-stripe-settings-logo img.paymentplugins-logo {
25
- width: 120px;
26
- max-width: 120px;
27
- }
28
-
29
- .wc-stripe-advanced-settings-nav {
30
- margin-top: 1em;
31
- }
32
-
33
- .nav-tab-wrapper.woo-nav-tab-wrapper {
34
- min-height: 35px;
35
- }
36
-
37
- @media (max-width: 690px) {
38
- .nav-tab-wrapper.woo-nav-tab-wrapper {
39
- min-height: 70px;
40
- }
41
- }
42
-
43
- .wc-stripe-advanced-settings-nav .nav-link:nth-child(n+2) {
44
- margin-left: 0.5em;
45
- }
46
-
47
- .wc-stripe-advanced-settings-nav .nav-link-active {
48
- color: #555;
49
- font-weight: 500;
50
- }
51
-
52
- .stripe_cc .wc-stripe-card-icon {
53
- width: 36px;
54
- vertical-align: middle;
55
- }
56
-
57
- #order_data .order_data_column .transaction-data {
58
-
59
- }
60
-
61
- #order_data .order_data_column .transaction-data h3 {
62
- margin-bottom: 5px;
63
- }
64
-
65
- #order_data .order_data_column .transaction-data a {
66
- text-decoration: none;
67
- border: 2px solid transparent;
68
- border-radius: 4px;
69
- font-size: 18px;
70
- }
71
-
72
- #order_data .order_data_column .transaction-data a:before {
73
- font-family: WooCommerce;
74
- content: "\e010";
75
- }
76
-
77
- #order_data .order_data_column .transaction-data .do-transaction-view:hover {
78
- border: 2px solid #00a0d2;
79
- }
80
-
81
- .wc-transaction-data .data-container {
82
- display: flex;
83
- flex-wrap: wrap;
84
- }
85
-
86
- .wc-transaction-data h2 {
87
- margin: 0 0 1em 0;
88
- }
89
-
90
- .wc-transaction-data .charge-actions {
91
- margin-bottom: 0.5em;
92
- }
93
-
94
- .wc-transaction-data .data-container .column-6 {
95
- width: 50%;
96
- margin-bottom: 0.5em;
97
- }
98
-
99
- .wc-transaction-data .data-container .column-6 label {
100
- display: inline-block;
101
- font-weight: 600;
102
- vertical-align: bottom;
103
- }
104
-
105
- .wc-transaction-data .data-container .metadata {
106
- margin-bottom: 0.5em;
107
- }
108
-
109
- #wc-stripe-card-container #card-element {
110
- margin: 1em 0;
111
- border: 1px solid #e8e8e8;
112
- }
113
-
114
- #wc-stripe-card-container #card-element {
115
- background-color: #fff;
116
- padding: 12px 6px;
117
- }
118
-
119
- .wc-stripe-save-card label {
120
- display: block;
121
- margin-bottom: 8px;
122
- }
123
-
124
- #pay-order {
125
- min-width: 75px;
126
- }
127
-
128
- #wc-stripe-pay-order-form .modal-wide {
129
- width: 100%;
130
- margin-bottom: 1.5em;
131
- }
132
-
133
- #wc-stripe-pay-order-form .modal-wide label {
134
- font-weight: 500;
135
- }
136
-
137
- #wc-stripe-pay-order-form .modal-wide.option label {
138
- display: block;
139
- margin-bottom: 0.5em;
140
- }
141
-
142
- #wc-stripe-pay-order-form .token-container {
143
- margin: 1em 0em;
144
- }
145
-
146
- #wc-stripe-pay-order-form .woocommerce-error {
147
- background: #b22222;
148
- color: #fff;
149
- padding: 1em;
150
- margin-bottom: 1em;
151
- }
152
-
153
- .wc-stripe-docs {
154
- padding: 0 6px;
155
- margin-top: 1em;
156
- }
157
-
158
- .wc-stripe-advanced-settings-nav.local-gateways {
159
- margin-left: 0.5em;
160
- }
161
-
162
- .wc-stripe-webhook {
163
- font-weight: 500;
164
- margin-bottom: 0.75em;
165
- }
166
-
167
- .profile-php .wc-stripe-payment-methods th,
168
- .user-edit-php .wc-stripe-payment-methods th {
169
- padding: 10px 0;
170
- }
171
-
172
- .profile-php .wc-stripe-payment-methods th,
173
- .profile-php .wc-stripe-payment-methods td,
174
- .user-edit-php .wc-stripe-payment-methods th,
175
- .user-edit-php .wc-stripe-payment-methods td {
176
- text-align: left;
177
- }
178
-
179
- .profile-php .wc-stripe-payment-methods th:nth-child(n+2),
180
- .user-edit-php .wc-stripe-payment-methods th:nth-child(n+2) {
181
- padding: 5px 10px;
182
- }
183
-
184
- .profile-php .wc-stripe-payment-methods td:nth-child(n+2),
185
- .user-edit-php .wc-stripe-payment-methods td:nth-child(n+2) {
186
- padding: 5px 10px;
187
- }
188
-
189
- .wc-stripe-user-info {
190
- padding: 10px 0;
191
- }
192
-
193
- .woocommerce table.form-table [id="woocommerce_stripe_ach_fee[type]"] + .select2-container {
194
- width: 125px !important;
195
- min-width: 125px !important;
196
- }
197
-
198
- [id="woocommerce_stripe_ach_fee[type]"] {
199
- width: 150px !important;
200
- }
201
-
202
- .wc-stripe-fee-container {
203
- display: flex;
204
- flex-direction: row;
205
- flex-flow: wrap;
206
- }
207
-
208
- .wc-stripe-fee-col {
209
- display: flex;
210
- flex-direction: column;
211
- }
212
-
213
- .wc-stripe-fee-col {
214
- margin-right: 15px;
215
- }
216
-
217
- .wc-stripe-fee-container input {
218
- display: block;
219
- margin-top: 1px;
220
- }
221
-
222
- .notice .stripe-connect {
223
- margin: 7px 3px;
224
- }
225
-
226
- .stripe-connect.light-blue {
227
- background: #b5c3d8;
228
- background-image: -webkit-linear-gradient(#b5c3d8, #9cabc2);
229
- background-image: -moz-linear-gradient(#b5c3d8, #9cabc2);
230
- background-image: -ms-linear-gradient(#b5c3d8, #9cabc2);
231
- background-image: linear-gradient(#b5c3d8, #9cabc2);
232
- -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
233
- -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
234
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
235
- }
236
-
237
- .stripe-connect {
238
- display: inline-block;
239
- margin-bottom: 1px;
240
- background-image: -webkit-linear-gradient(#28A0E5, #015E94);
241
- background-image: -moz-linear-gradient(#28A0E5, #015E94);
242
- background-image: -ms-linear-gradient(#28A0E5, #015E94);
243
- background-image: linear-gradient(#28A0E5, #015E94);
244
- -webkit-font-smoothing: antialiased;
245
- border: 0;
246
- padding: 1px;
247
- height: 30px;
248
- text-decoration: none;
249
- -moz-border-radius: 4px;
250
- -webkit-border-radius: 4px;
251
- border-radius: 4px;
252
- -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
253
- -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
254
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
255
- cursor: pointer;
256
- -moz-user-select: none;
257
- -webkit-user-select: none;
258
- -ms-user-select: none;
259
- user-select: none;
260
- }
261
-
262
- .stripe-connect.light-blue span {
263
- color: #556F88;
264
- text-shadow: 0 1px rgba(255, 255, 255, 0.8);
265
- background: #f0f5fa;
266
- background-image: -webkit-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
267
- background-image: -moz-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
268
- background-image: -ms-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
269
- background-image: linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
270
- -moz-box-shadow: inset 0 1px 0 #fff;
271
- -webkit-box-shadow: inset 0 1px 0 #fff;
272
- box-shadow: inset 0 1px 0 #fff;
273
- }
274
-
275
- .stripe-connect span {
276
- display: block;
277
- position: relative;
278
- padding: 0 12px 0 44px;
279
- height: 30px;
280
- background: #1275FF;
281
- background-image: -webkit-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
282
- background-image: -moz-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
283
- background-image: -ms-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
284
- background-image: linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
285
- font-size: 14px;
286
- line-height: 30px;
287
- color: white;
288
- font-weight: bold;
289
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
290
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
291
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
292
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
293
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
294
- -moz-border-radius: 3px;
295
- -webkit-border-radius: 3px;
296
- border-radius: 3px;
297
- }
298
-
299
- .stripe-connect span:before {
300
- content: '';
301
- display: block;
302
- position: absolute;
303
- left: 11px;
304
- top: 50%;
305
- width: 23px;
306
- height: 24px;
307
- margin-top: -12px;
308
- background-repeat: no-repeat;
309
- background-size: 23px 24px;
310
- }
311
-
312
- .stripe-connect.light-blue span:before {
313
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAYAAABuZUjcAAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8gT8fJRvoKyfJc0WoPwGZXo2n5MLAIYi0yV8bjrK1ihTxNGRbJTnAkCgpH3FKV+xhF+A5gkAO0e0RCxIS5cwjbkmTBtnZxYzgJ+fxZdILMI53EyOmMdk52SLOMIlAHz6ZlkUUJLVlokW2dHG2dHRwtYSLf/n9Y+bn73+GWS9/eTxMuLPnkGMni/al9gvWk4tAKwptDZbvmgpOwFoWw+A6t0vmv4+AOQLAWjt++p7GLJ5SZdIRC5WVvn5+ZYCPtdSVtDP6386fPb8e/jqPEvZeZ9rx/Thp3KkWRKmrKjcnKwcqZiZK+Jw+UyL/x7ifx34VVpf5WEeyU/li/lC9KgYdMoEwjS03UKeQCLIETIFwr/r8L8M+yoHGX6aaxRodR8BPckSKPTRAfJrD8DQyABJ3IPuQJ/7FkKMAbKbF6s99mnuUUb3/7T/YeAy9BXOFaQxZTI7MprJlYrzZIzeCZnBAhKQB3SgBrSAHjAGFsAWOAFX4Al8QRAIA9EgHiwCXJAOsoEY5IPlYA0oAiVgC9gOqsFeUAcaQBM4BtrASXAOXARXwTVwE9wDQ2AUPAOT4DWYgSAID1EhGqQGaUMGkBlkC7Egd8gXCoEioXgoGUqDhJAUWg6tg0qgcqga2g81QN9DJ6Bz0GWoH7oDDUPj0O/QOxiBKTAd1oQNYSuYBXvBwXA0vBBOgxfDS+FCeDNcBdfCR+BW+Bx8Fb4JD8HP4CkEIGSEgeggFggLYSNhSAKSioiRlUgxUonUIk1IB9KNXEeGkAnkLQaHoWGYGAuMKyYAMx/DxSzGrMSUYqoxhzCtmC7MdcwwZhLzEUvFamDNsC7YQGwcNg2bjy3CVmLrsS3YC9ib2FHsaxwOx8AZ4ZxwAbh4XAZuGa4UtxvXjDuL68eN4KbweLwa3gzvhg/Dc/ASfBF+J/4I/gx+AD+Kf0MgE7QJtgQ/QgJBSFhLqCQcJpwmDBDGCDNEBaIB0YUYRuQRlxDLiHXEDmIfcZQ4Q1IkGZHcSNGkDNIaUhWpiXSBdJ/0kkwm65KdyRFkAXk1uYp8lHyJPEx+S1GimFLYlESKlLKZcpBylnKH8pJKpRpSPakJVAl1M7WBep76kPpGjiZnKRcox5NbJVcj1yo3IPdcnihvIO8lv0h+qXyl/HH5PvkJBaKCoQJbgaOwUqFG4YTCoMKUIk3RRjFMMVuxVPGw4mXFJ0p4JUMlXyWeUqHSAaXzSiM0hKZHY9O4tHW0OtoF2igdRzeiB9Iz6CX07+i99EllJWV75RjlAuUa5VPKQwyEYcgIZGQxyhjHGLcY71Q0VbxU+CqbVJpUBlSmVeeoeqryVYtVm1Vvqr5TY6r5qmWqbVVrU3ugjlE3VY9Qz1ffo35BfWIOfY7rHO6c4jnH5tzVgDVMNSI1lmkc0OjRmNLU0vTXFGnu1DyvOaHF0PLUytCq0DqtNa5N03bXFmhXaJ/RfspUZnoxs5hVzC7mpI6GToCOVGe/Tq/OjK6R7nzdtbrNug/0SHosvVS9Cr1OvUl9bf1Q/eX6jfp3DYgGLIN0gx0G3QbThkaGsYYbDNsMnxipGgUaLTVqNLpvTDX2MF5sXGt8wwRnwjLJNNltcs0UNnUwTTetMe0zg80czQRmu836zbHmzuZC81rzQQuKhZdFnkWjxbAlwzLEcq1lm+VzK32rBKutVt1WH60drLOs66zv2SjZBNmstemw+d3W1JZrW2N7w45q52e3yq7d7oW9mT3ffo/9bQeaQ6jDBodOhw+OTo5ixybHcSd9p2SnXU6DLDornFXKuuSMdfZ2XuV80vmti6OLxOWYy2+uFq6Zroddn8w1msufWzd3xE3XjeO2323Ineme7L7PfchDx4PjUevxyFPPk+dZ7znmZeKV4XXE67m3tbfYu8V7mu3CXsE+64P4+PsU+/T6KvnO9632fein65fm1+g36e/gv8z/bAA2IDhga8BgoGYgN7AhcDLIKWhFUFcwJTgquDr4UYhpiDikIxQODQrdFnp/nsE84by2MBAWGLYt7EG4Ufji8B8jcBHhETURjyNtIpdHdkfRopKiDke9jvaOLou+N994vnR+Z4x8TGJMQ8x0rE9seexQnFXcirir8erxgvj2BHxCTEJ9wtQC3wXbF4wmOiQWJd5aaLSwYOHlReqLshadSpJP4iQdT8YmxyYfTn7PCePUcqZSAlN2pUxy2dwd3Gc8T14Fb5zvxi/nj6W6pZanPklzS9uWNp7ukV6ZPiFgC6oFLzICMvZmTGeGZR7MnM2KzWrOJmQnZ58QKgkzhV05WjkFOf0iM1GRaGixy+LtiyfFweL6XCh3YW67hI7+TPVIjaXrpcN57nk1eW/yY/KPFygWCAt6lpgu2bRkbKnf0m+XYZZxl3Uu11m+ZvnwCq8V+1dCK1NWdq7SW1W4anS1/+pDa0hrMtf8tNZ6bfnaV+ti13UUahauLhxZ77++sUiuSFw0uMF1w96NmI2Cjb2b7Dbt3PSxmFd8pcS6pLLkfSm39Mo3Nt9UfTO7OXVzb5lj2Z4tuC3CLbe2emw9VK5YvrR8ZFvottYKZkVxxavtSdsvV9pX7t1B2iHdMVQVUtW+U3/nlp3vq9Orb9Z41zTv0ti1adf0bt7ugT2ee5r2au4t2ftun2Df7f3++1trDWsrD+AO5B14XBdT1/0t69uGevX6kvoPB4UHhw5FHupqcGpoOKxxuKwRbpQ2jh9JPHLtO5/v2pssmvY3M5pLjoKj0qNPv0/+/tax4GOdx1nHm34w+GFXC62luBVqXdI62ZbeNtQe395/IuhEZ4drR8uPlj8ePKlzsuaU8qmy06TThadnzyw9M3VWdHbiXNq5kc6kznvn487f6Iro6r0QfOHSRb+L57u9us9ccrt08rLL5RNXWFfarjpebe1x6Gn5yeGnll7H3tY+p772a87XOvrn9p8e8Bg4d93n+sUbgTeu3px3s//W/Fu3BxMHh27zbj+5k3Xnxd28uzP3Vt/H3i9+oPCg8qHGw9qfTX5uHnIcOjXsM9zzKOrRvRHuyLNfcn95P1r4mPq4ckx7rOGJ7ZOT437j154ueDr6TPRsZqLoV8Vfdz03fv7Db56/9UzGTY6+EL+Y/b30pdrLg6/sX3VOhU89fJ39ema6+I3am0NvWW+738W+G5vJf49/X/XB5EPHx+CP92ezZ2f/AAOY8/wRDtFgAAAHH0lEQVRoBdVZ628UVRS/857dme3strvblpaXCiI+WkCkpFAoECAgr0oqxASjiAZMiF9MiI80/AfqB+WD3/xABOMrKCgRJCBSLCACQUEIEai8ywJ97GNm/J3ZbizM7C7trpG9m7N39t5z7/2dM+eec+5dzrZtVoqFL0XQhLlkgYulpnGOYxxhLjngW7Zsdayk5IB3RyJSSWrcMP1aSQJPJfnwoIA3LFhTy3hrAdx+IzbIOMbsGkQAR3pM1Icdcxv1ZZtxf+D5OGPm3vbJo4/YbW0WLVSswglCLc3F5QtAzyx6ZbbA7Hc5jp8hCAIj4nmecTy2NyRwCqShOEZzWZbFTMtkpmky27Ku2Da36cC2j9vSjIV/b93RsZpmybo5n2htlct6yz6SReFlWZaZIitMURRGz6IkMoEXHPAOFAewnQacSrFkMsUSiTgoEU0kk4vBUzTgHM87GvcE3traKgTjxleyT5mvaTrTdY2pqo9JBNjReBp0v0sFLtI4tA2ClqFtIpPF43EIEdcd4Yr0hSWy23hnIvi2T/PPDwaDLBAIMFVRmSACbMY0XCDSImTCsOOvYDr0hqxUQnGxF9AA4/T2Ks2LXwsD9Iby8nIWNIJMVmTGZwWcAwFW4AWIYmfEycE7mC6OZfHjqviCYZT5gobhaIw24VALjRz6aO9Vsdm9I6eu6XN1mIcC8+ALAO0sS28qvY43iiG0csxydOHanJqm1ZFNk8vLp67hVeHjLfMbvx9ZHY7Fbvco17pi2vlL1youXemKXLh8Y8SV610jelPJIcDLP8QFXJHlELm77BsxPaltW6xx4vgDo2uiN6klZOh9RGNG1VzHz1Ogn6j99LkLcaqLXVzA4acRnIS82k6lTLbjx/aqhgmPvglQMZAMItcXAkVAw4nGjKq9hbroxQVcVeVenuN9//po7zUpQp44ffbZOSvWb48nEhv3fr5pBzhJu6TxP0E/g6iUpavifrt8VUXIuEC27eyrHDVFTtoLiqo2SKK4vem5tQebWl5dwW3ceO+c/4nG712EwUaPIhDmRU5RtMwoY5FwhIXg83VNmyxJ6uamY5ePNbWsXVFc/bpncwFfMnvqN4oi3iRTyfXh+zVO0bUyGmXRykpWXkEC6ONlWdo8c/m6L+atWpXJHt0rF9jiAq7rvpPzGuu/hqlYjjskr5mFKDiRB/Ijtw8FQywaibJKCEBvwOf3L032lf0wbcnqQIEYPYe7gIPrRPPU+kONk8Z/jVAPb38fH0gpiiLA+lgwaDgCRMJhJGf6FFXV3vNcucBGL+Am5ty2dM6UjkWzp3ziU+Vb+TZqpp9yGhLADwFCoXKYTgVD3vPSrBXr6wrE6RruBZyYzoK+nT7psdMb1rS8P+Hxh3bKstiT19X0S4CcGSmDzAzkO9gDHHL5510rF9jg8uMD5juC55jfry5aubBpb+xOz8Fd+3+rO3bqr6ndvX0VA/i8HyEEHT4CeoAl4/GFYHrLm3Fordk0npmNNP8haJeh+7uWzW04+M665R9MmzT+S0kU+jImkq2mJE1RFab6fA9nJixWnUvjmTUoS6K84xfQU0i+piya9fRhjrftfR2/L3M8TobToxYFEScnqehu0QW8ufX1eoGXJPNy6Mju3W2pAVgSeO4AHQLV+SR5pIVES+CQ1+QolPeoqlr0RMsFXJTkpXDbbVxVV/eclW+04wjTDod4HGe907aQuiImOV7RfbXVVdWNeqCMCUpu4ORM4Zl6csg2pC4X8GHRsNbdl6BrBs1MpWbh4DuLrhvoEGzZODVJHA7GPOuLJ5iG0ELAchUcn5mh63/n4hlKnwt4bW11uCvW65x+cLXAkgkQDgMpXDtQRkhAydXRKQnJVTqq5liZTv/V0dDJHCyD6rIZT5mU+15Fgk36/X7n/oQ0beGawQTgtMZxT4UP2a1zt4I6n8bxPlLNU+u+GxS6HMwch43lBZzu+tHpXPaIPDRKWi2gPDKi6sDo2sqjBUxx91CbOWdBN6r+hCqfJu+ezfuXEfCdX7lw+k70nvDmGHwr7KSbRrmA9+POa7v5lgwHA2debJn5KSIvxQBnsXxj7qcfwe4a8bmAD4tWnLp6s7uzN2lWw33kdhkeK/lUpat+3Kg9C2ZMPIzuC6A9HmxDbsJeozndwNesXLCf2mO376gnz3TW4Jph2I3Y7cidnr7ynt54MJky/ZZli8jFTZHnE7Ikdmt+9Ua0wjg/bvSwM0+OHXER0ZV2PqULn4EGBjH8LKzgJH+OZnBpHG3kczuNgF7dUD/2DJ6JBlO6wLwP9OtgBt0vr22a3hrHBHQnQkSXlTWgahBlg+WgIMgHIoEpb6cdTvZ7A3QRRFruBDm+FnXRiyhZ3jY+YCXKLwgI0QNTYkKPt1d5YBBmAaJdver48bx/pWQZ/781wx06nq7kgGc0lu8ElOF74OqSBf4P9hj31KSAw4AAAAAASUVORK5CYII=")
314
- }
315
-
316
- .stripe-connect-active,
317
- .stripe-webhook-created {
318
- font-size: 30px;
319
- color: green;
320
- width: 25px;
321
- height: 30px;
322
- margin-top: -5px;
323
- margin-left: -8px;
324
- }
325
-
326
- .woocommerce_stripe_panel table {
327
- width: 100%;
328
- }
329
-
330
- .wc-stripe-product-table th {
331
- text-align: left;
332
- }
333
-
334
- .wc-stripe-product-gateway-enabled {
335
- padding-top: 1px;
336
- display: block;
337
- outline: 0;
338
- box-shadow: none;
339
- }
340
-
341
- .wc-stripe-save-product-data.disabled {
342
- opactity: 0.6;
343
- }
344
-
345
- #stripe_product_data .wc-stripe-save-product-data + span.spinner {
346
- float: none;
347
- margin: 0 0 0 10px;
348
- }
349
-
350
- #woocommerce-product-data ul.wc-tabs li.stripe_options a:before {
351
- font-family: WooCommerce;
352
- content: '\e01e';
353
- }
354
-
355
- #_stripe_button_position {
356
- max-width: 200px;
357
- }
358
-
359
- tr[data-gateway_id="stripe_afterpay"] td.capture-type {
360
- display: none !important;
361
  }
1
+ .wc-stripe-settings-container {
2
+ padding: 0 0.5em;
3
+ }
4
+
5
+ .wc-stripe-cc-desc {
6
+ margin: 0;
7
+ }
8
+
9
+ .wc-stripe-settings-logo {
10
+ margin: 1.5em 1em 0.5em 0;
11
+ display: flex;
12
+ align-items: center;
13
+ }
14
+
15
+ .wc-stripe-settings-logo img {
16
+ margin-left: 0.5em;
17
+ width: 80px;
18
+ }
19
+
20
+ .wc-stripe-settings-logo span {
21
+ margin: 0 5px;
22
+ }
23
+
24
+ .wc-stripe-settings-logo img.paymentplugins-logo {
25
+ width: 120px;
26
+ max-width: 120px;
27
+ }
28
+
29
+ .wc-stripe-advanced-settings-nav {
30
+ margin-top: 1em;
31
+ }
32
+
33
+ .nav-tab-wrapper.woo-nav-tab-wrapper {
34
+ min-height: 35px;
35
+ }
36
+
37
+ @media (max-width: 690px) {
38
+ .nav-tab-wrapper.woo-nav-tab-wrapper {
39
+ min-height: 70px;
40
+ }
41
+ }
42
+
43
+ .wc-stripe-advanced-settings-nav .nav-link:nth-child(n+2) {
44
+ margin-left: 0.5em;
45
+ }
46
+
47
+ .wc-stripe-advanced-settings-nav .nav-link-active {
48
+ color: #555;
49
+ font-weight: 500;
50
+ }
51
+
52
+ .stripe_cc .wc-stripe-card-icon {
53
+ width: 36px;
54
+ vertical-align: middle;
55
+ }
56
+
57
+ #order_data .order_data_column .transaction-data {
58
+
59
+ }
60
+
61
+ #order_data .order_data_column .transaction-data h3 {
62
+ margin-bottom: 5px;
63
+ }
64
+
65
+ #order_data .order_data_column .transaction-data a {
66
+ text-decoration: none;
67
+ border: 2px solid transparent;
68
+ border-radius: 4px;
69
+ font-size: 18px;
70
+ }
71
+
72
+ #order_data .order_data_column .transaction-data a:before {
73
+ font-family: WooCommerce;
74
+ content: "\e010";
75
+ }
76
+
77
+ #order_data .order_data_column .transaction-data .do-transaction-view:hover {
78
+ border: 2px solid #00a0d2;
79
+ }
80
+
81
+ .wc-transaction-data .data-container {
82
+ display: flex;
83
+ flex-wrap: wrap;
84
+ }
85
+
86
+ .wc-transaction-data h2 {
87
+ margin: 0 0 1em 0;
88
+ }
89
+
90
+ .wc-transaction-data .charge-actions {
91
+ margin-bottom: 0.5em;
92
+ }
93
+
94
+ .wc-transaction-data .data-container .column-6 {
95
+ width: 50%;
96
+ margin-bottom: 0.5em;
97
+ }
98
+
99
+ .wc-transaction-data .data-container .column-6 label {
100
+ display: inline-block;
101
+ font-weight: 600;
102
+ vertical-align: bottom;
103
+ }
104
+
105
+ .wc-transaction-data .data-container .metadata {
106
+ margin-bottom: 0.5em;
107
+ }
108
+
109
+ #wc-stripe-card-container #card-element {
110
+ margin: 1em 0;
111
+ border: 1px solid #e8e8e8;
112
+ }
113
+
114
+ #wc-stripe-card-container #card-element {
115
+ background-color: #fff;
116
+ padding: 12px 6px;
117
+ }
118
+
119
+ .wc-stripe-save-card label {
120
+ display: block;
121
+ margin-bottom: 8px;
122
+ }
123
+
124
+ #pay-order {
125
+ min-width: 75px;
126
+ }
127
+
128
+ #wc-stripe-pay-order-form .modal-wide {
129
+ width: 100%;
130
+ margin-bottom: 1.5em;
131
+ }
132
+
133
+ #wc-stripe-pay-order-form .modal-wide label {
134
+ font-weight: 500;
135
+ }
136
+
137
+ #wc-stripe-pay-order-form .modal-wide.option label {
138
+ display: block;
139
+ margin-bottom: 0.5em;
140
+ }
141
+
142
+ #wc-stripe-pay-order-form .token-container {
143
+ margin: 1em 0em;
144
+ }
145
+
146
+ #wc-stripe-pay-order-form .woocommerce-error {
147
+ background: #b22222;
148
+ color: #fff;
149
+ padding: 1em;
150
+ margin-bottom: 1em;
151
+ }
152
+
153
+ .wc-stripe-docs {
154
+ padding: 0 6px;
155
+ margin-top: 1em;
156
+ }
157
+
158
+ .wc-stripe-advanced-settings-nav.local-gateways {
159
+ margin-left: 0.5em;
160
+ }
161
+
162
+ .wc-stripe-webhook {
163
+ font-weight: 500;
164
+ margin-bottom: 0.75em;
165
+ }
166
+
167
+ .profile-php .wc-stripe-payment-methods th,
168
+ .user-edit-php .wc-stripe-payment-methods th {
169
+ padding: 10px 0;
170
+ }
171
+
172
+ .profile-php .wc-stripe-payment-methods th,
173
+ .profile-php .wc-stripe-payment-methods td,
174
+ .user-edit-php .wc-stripe-payment-methods th,
175
+ .user-edit-php .wc-stripe-payment-methods td {
176
+ text-align: left;
177
+ }
178
+
179
+ .profile-php .wc-stripe-payment-methods th:nth-child(n+2),
180
+ .user-edit-php .wc-stripe-payment-methods th:nth-child(n+2) {
181
+ padding: 5px 10px;
182
+ }
183
+
184
+ .profile-php .wc-stripe-payment-methods td:nth-child(n+2),
185
+ .user-edit-php .wc-stripe-payment-methods td:nth-child(n+2) {
186
+ padding: 5px 10px;
187
+ }
188
+
189
+ .wc-stripe-user-info {
190
+ padding: 10px 0;
191
+ }
192
+
193
+ .woocommerce table.form-table [id="woocommerce_stripe_ach_fee[type]"] + .select2-container {
194
+ width: 125px !important;
195
+ min-width: 125px !important;
196
+ }
197
+
198
+ [id="woocommerce_stripe_ach_fee[type]"] {
199
+ width: 150px !important;
200
+ }
201
+
202
+ .wc-stripe-fee-container {
203
+ display: flex;
204
+ flex-direction: row;
205
+ flex-flow: wrap;
206
+ }
207
+
208
+ .wc-stripe-fee-col {
209
+ display: flex;
210
+ flex-direction: column;
211
+ }
212
+
213
+ .wc-stripe-fee-col {
214
+ margin-right: 15px;
215
+ }
216
+
217
+ .wc-stripe-fee-container input {
218
+ display: block;
219
+ margin-top: 1px;
220
+ }
221
+
222
+ .notice .stripe-connect {
223
+ margin: 7px 3px;
224
+ }
225
+
226
+ .stripe-connect.light-blue {
227
+ background: #b5c3d8;
228
+ background-image: -webkit-linear-gradient(#b5c3d8, #9cabc2);
229
+ background-image: -moz-linear-gradient(#b5c3d8, #9cabc2);
230
+ background-image: -ms-linear-gradient(#b5c3d8, #9cabc2);
231
+ background-image: linear-gradient(#b5c3d8, #9cabc2);
232
+ -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
233
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
234
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
235
+ }
236
+
237
+ .stripe-connect {
238
+ display: inline-block;
239
+ margin-bottom: 1px;
240
+ background-image: -webkit-linear-gradient(#28A0E5, #015E94);
241
+ background-image: -moz-linear-gradient(#28A0E5, #015E94);
242
+ background-image: -ms-linear-gradient(#28A0E5, #015E94);
243
+ background-image: linear-gradient(#28A0E5, #015E94);
244
+ -webkit-font-smoothing: antialiased;
245
+ border: 0;
246
+ padding: 1px;
247
+ height: 30px;
248
+ text-decoration: none;
249
+ -moz-border-radius: 4px;
250
+ -webkit-border-radius: 4px;
251
+ border-radius: 4px;
252
+ -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
253
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
254
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
255
+ cursor: pointer;
256
+ -moz-user-select: none;
257
+ -webkit-user-select: none;
258
+ -ms-user-select: none;
259
+ user-select: none;
260
+ }
261
+
262
+ .stripe-connect.light-blue span {
263
+ color: #556F88;
264
+ text-shadow: 0 1px rgba(255, 255, 255, 0.8);
265
+ background: #f0f5fa;
266
+ background-image: -webkit-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
267
+ background-image: -moz-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
268
+ background-image: -ms-linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
269
+ background-image: linear-gradient(#f0f5fa, #e4ecf5 85%, #e7eef6);
270
+ -moz-box-shadow: inset 0 1px 0 #fff;
271
+ -webkit-box-shadow: inset 0 1px 0 #fff;
272
+ box-shadow: inset 0 1px 0 #fff;
273
+ }
274
+
275
+ .stripe-connect span {
276
+ display: block;
277
+ position: relative;
278
+ padding: 0 12px 0 44px;
279
+ height: 30px;
280
+ background: #1275FF;
281
+ background-image: -webkit-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
282
+ background-image: -moz-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
283
+ background-image: -ms-linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
284
+ background-image: linear-gradient(#7DC5EE, #008CDD 85%, #30A2E4);
285
+ font-size: 14px;
286
+ line-height: 30px;
287
+ color: white;
288
+ font-weight: bold;
289
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
290
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
291
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
292
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
293
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
294
+ -moz-border-radius: 3px;
295
+ -webkit-border-radius: 3px;
296
+ border-radius: 3px;
297
+ }
298
+
299
+ .stripe-connect span:before {
300
+ content: '';
301
+ display: block;
302
+ position: absolute;
303
+ left: 11px;
304
+ top: 50%;
305
+ width: 23px;
306
+ height: 24px;
307
+ margin-top: -12px;
308
+ background-repeat: no-repeat;
309
+ background-size: 23px 24px;
310
+ }
311
+
312
+ .stripe-connect.light-blue span:before {
313
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAYAAABuZUjcAAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8gT8fJRvoKyfJc0WoPwGZXo2n5MLAIYi0yV8bjrK1ihTxNGRbJTnAkCgpH3FKV+xhF+A5gkAO0e0RCxIS5cwjbkmTBtnZxYzgJ+fxZdILMI53EyOmMdk52SLOMIlAHz6ZlkUUJLVlokW2dHG2dHRwtYSLf/n9Y+bn73+GWS9/eTxMuLPnkGMni/al9gvWk4tAKwptDZbvmgpOwFoWw+A6t0vmv4+AOQLAWjt++p7GLJ5SZdIRC5WVvn5+ZYCPtdSVtDP6386fPb8e/jqPEvZeZ9rx/Thp3KkWRKmrKjcnKwcqZiZK+Jw+UyL/x7ifx34VVpf5WEeyU/li/lC9KgYdMoEwjS03UKeQCLIETIFwr/r8L8M+yoHGX6aaxRodR8BPckSKPTRAfJrD8DQyABJ3IPuQJ/7FkKMAbKbF6s99mnuUUb3/7T/YeAy9BXOFaQxZTI7MprJlYrzZIzeCZnBAhKQB3SgBrSAHjAGFsAWOAFX4Al8QRAIA9EgHiwCXJAOsoEY5IPlYA0oAiVgC9gOqsFeUAcaQBM4BtrASXAOXARXwTVwE9wDQ2AUPAOT4DWYgSAID1EhGqQGaUMGkBlkC7Egd8gXCoEioXgoGUqDhJAUWg6tg0qgcqga2g81QN9DJ6Bz0GWoH7oDDUPj0O/QOxiBKTAd1oQNYSuYBXvBwXA0vBBOgxfDS+FCeDNcBdfCR+BW+Bx8Fb4JD8HP4CkEIGSEgeggFggLYSNhSAKSioiRlUgxUonUIk1IB9KNXEeGkAnkLQaHoWGYGAuMKyYAMx/DxSzGrMSUYqoxhzCtmC7MdcwwZhLzEUvFamDNsC7YQGwcNg2bjy3CVmLrsS3YC9ib2FHsaxwOx8AZ4ZxwAbh4XAZuGa4UtxvXjDuL68eN4KbweLwa3gzvhg/Dc/ASfBF+J/4I/gx+AD+Kf0MgE7QJtgQ/QgJBSFhLqCQcJpwmDBDGCDNEBaIB0YUYRuQRlxDLiHXEDmIfcZQ4Q1IkGZHcSNGkDNIaUhWpiXSBdJ/0kkwm65KdyRFkAXk1uYp8lHyJPEx+S1GimFLYlESKlLKZcpBylnKH8pJKpRpSPakJVAl1M7WBep76kPpGjiZnKRcox5NbJVcj1yo3IPdcnihvIO8lv0h+qXyl/HH5PvkJBaKCoQJbgaOwUqFG4YTCoMKUIk3RRjFMMVuxVPGw4mXFJ0p4JUMlXyWeUqHSAaXzSiM0hKZHY9O4tHW0OtoF2igdRzeiB9Iz6CX07+i99EllJWV75RjlAuUa5VPKQwyEYcgIZGQxyhjHGLcY71Q0VbxU+CqbVJpUBlSmVeeoeqryVYtVm1Vvqr5TY6r5qmWqbVVrU3ugjlE3VY9Qz1ffo35BfWIOfY7rHO6c4jnH5tzVgDVMNSI1lmkc0OjRmNLU0vTXFGnu1DyvOaHF0PLUytCq0DqtNa5N03bXFmhXaJ/RfspUZnoxs5hVzC7mpI6GToCOVGe/Tq/OjK6R7nzdtbrNug/0SHosvVS9Cr1OvUl9bf1Q/eX6jfp3DYgGLIN0gx0G3QbThkaGsYYbDNsMnxipGgUaLTVqNLpvTDX2MF5sXGt8wwRnwjLJNNltcs0UNnUwTTetMe0zg80czQRmu836zbHmzuZC81rzQQuKhZdFnkWjxbAlwzLEcq1lm+VzK32rBKutVt1WH60drLOs66zv2SjZBNmstemw+d3W1JZrW2N7w45q52e3yq7d7oW9mT3ffo/9bQeaQ6jDBodOhw+OTo5ixybHcSd9p2SnXU6DLDornFXKuuSMdfZ2XuV80vmti6OLxOWYy2+uFq6Zroddn8w1msufWzd3xE3XjeO2323Ineme7L7PfchDx4PjUevxyFPPk+dZ7znmZeKV4XXE67m3tbfYu8V7mu3CXsE+64P4+PsU+/T6KvnO9632fein65fm1+g36e/gv8z/bAA2IDhga8BgoGYgN7AhcDLIKWhFUFcwJTgquDr4UYhpiDikIxQODQrdFnp/nsE84by2MBAWGLYt7EG4Ufji8B8jcBHhETURjyNtIpdHdkfRopKiDke9jvaOLou+N994vnR+Z4x8TGJMQ8x0rE9seexQnFXcirir8erxgvj2BHxCTEJ9wtQC3wXbF4wmOiQWJd5aaLSwYOHlReqLshadSpJP4iQdT8YmxyYfTn7PCePUcqZSAlN2pUxy2dwd3Gc8T14Fb5zvxi/nj6W6pZanPklzS9uWNp7ukV6ZPiFgC6oFLzICMvZmTGeGZR7MnM2KzWrOJmQnZ58QKgkzhV05WjkFOf0iM1GRaGixy+LtiyfFweL6XCh3YW67hI7+TPVIjaXrpcN57nk1eW/yY/KPFygWCAt6lpgu2bRkbKnf0m+XYZZxl3Uu11m+ZvnwCq8V+1dCK1NWdq7SW1W4anS1/+pDa0hrMtf8tNZ6bfnaV+ti13UUahauLhxZ77++sUiuSFw0uMF1w96NmI2Cjb2b7Dbt3PSxmFd8pcS6pLLkfSm39Mo3Nt9UfTO7OXVzb5lj2Z4tuC3CLbe2emw9VK5YvrR8ZFvottYKZkVxxavtSdsvV9pX7t1B2iHdMVQVUtW+U3/nlp3vq9Orb9Z41zTv0ti1adf0bt7ugT2ee5r2au4t2ftun2Df7f3++1trDWsrD+AO5B14XBdT1/0t69uGevX6kvoPB4UHhw5FHupqcGpoOKxxuKwRbpQ2jh9JPHLtO5/v2pssmvY3M5pLjoKj0qNPv0/+/tax4GOdx1nHm34w+GFXC62luBVqXdI62ZbeNtQe395/IuhEZ4drR8uPlj8ePKlzsuaU8qmy06TThadnzyw9M3VWdHbiXNq5kc6kznvn487f6Iro6r0QfOHSRb+L57u9us9ccrt08rLL5RNXWFfarjpebe1x6Gn5yeGnll7H3tY+p772a87XOvrn9p8e8Bg4d93n+sUbgTeu3px3s//W/Fu3BxMHh27zbj+5k3Xnxd28uzP3Vt/H3i9+oPCg8qHGw9qfTX5uHnIcOjXsM9zzKOrRvRHuyLNfcn95P1r4mPq4ckx7rOGJ7ZOT437j154ueDr6TPRsZqLoV8Vfdz03fv7Db56/9UzGTY6+EL+Y/b30pdrLg6/sX3VOhU89fJ39ema6+I3am0NvWW+738W+G5vJf49/X/XB5EPHx+CP92ezZ2f/AAOY8/wRDtFgAAAHH0lEQVRoBdVZ628UVRS/857dme3strvblpaXCiI+WkCkpFAoECAgr0oqxASjiAZMiF9MiI80/AfqB+WD3/xABOMrKCgRJCBSLCACQUEIEai8ywJ97GNm/J3ZbizM7C7trpG9m7N39t5z7/2dM+eec+5dzrZtVoqFL0XQhLlkgYulpnGOYxxhLjngW7Zsdayk5IB3RyJSSWrcMP1aSQJPJfnwoIA3LFhTy3hrAdx+IzbIOMbsGkQAR3pM1Icdcxv1ZZtxf+D5OGPm3vbJo4/YbW0WLVSswglCLc3F5QtAzyx6ZbbA7Hc5jp8hCAIj4nmecTy2NyRwCqShOEZzWZbFTMtkpmky27Ku2Da36cC2j9vSjIV/b93RsZpmybo5n2htlct6yz6SReFlWZaZIitMURRGz6IkMoEXHPAOFAewnQacSrFkMsUSiTgoEU0kk4vBUzTgHM87GvcE3traKgTjxleyT5mvaTrTdY2pqo9JBNjReBp0v0sFLtI4tA2ClqFtIpPF43EIEdcd4Yr0hSWy23hnIvi2T/PPDwaDLBAIMFVRmSACbMY0XCDSImTCsOOvYDr0hqxUQnGxF9AA4/T2Ks2LXwsD9Iby8nIWNIJMVmTGZwWcAwFW4AWIYmfEycE7mC6OZfHjqviCYZT5gobhaIw24VALjRz6aO9Vsdm9I6eu6XN1mIcC8+ALAO0sS28qvY43iiG0csxydOHanJqm1ZFNk8vLp67hVeHjLfMbvx9ZHY7Fbvco17pi2vlL1youXemKXLh8Y8SV610jelPJIcDLP8QFXJHlELm77BsxPaltW6xx4vgDo2uiN6klZOh9RGNG1VzHz1Ogn6j99LkLcaqLXVzA4acRnIS82k6lTLbjx/aqhgmPvglQMZAMItcXAkVAw4nGjKq9hbroxQVcVeVenuN9//po7zUpQp44ffbZOSvWb48nEhv3fr5pBzhJu6TxP0E/g6iUpavifrt8VUXIuEC27eyrHDVFTtoLiqo2SKK4vem5tQebWl5dwW3ceO+c/4nG712EwUaPIhDmRU5RtMwoY5FwhIXg83VNmyxJ6uamY5ePNbWsXVFc/bpncwFfMnvqN4oi3iRTyfXh+zVO0bUyGmXRykpWXkEC6ONlWdo8c/m6L+atWpXJHt0rF9jiAq7rvpPzGuu/hqlYjjskr5mFKDiRB/Ijtw8FQywaibJKCEBvwOf3L032lf0wbcnqQIEYPYe7gIPrRPPU+kONk8Z/jVAPb38fH0gpiiLA+lgwaDgCRMJhJGf6FFXV3vNcucBGL+Am5ty2dM6UjkWzp3ziU+Vb+TZqpp9yGhLADwFCoXKYTgVD3vPSrBXr6wrE6RruBZyYzoK+nT7psdMb1rS8P+Hxh3bKstiT19X0S4CcGSmDzAzkO9gDHHL5510rF9jg8uMD5juC55jfry5aubBpb+xOz8Fd+3+rO3bqr6ndvX0VA/i8HyEEHT4CeoAl4/GFYHrLm3Fordk0npmNNP8haJeh+7uWzW04+M665R9MmzT+S0kU+jImkq2mJE1RFab6fA9nJixWnUvjmTUoS6K84xfQU0i+piya9fRhjrftfR2/L3M8TobToxYFEScnqehu0QW8ufX1eoGXJPNy6Mju3W2pAVgSeO4AHQLV+SR5pIVES+CQ1+QolPeoqlr0RMsFXJTkpXDbbVxVV/eclW+04wjTDod4HGe907aQuiImOV7RfbXVVdWNeqCMCUpu4ORM4Zl6csg2pC4X8GHRsNbdl6BrBs1MpWbh4DuLrhvoEGzZODVJHA7GPOuLJ5iG0ELAchUcn5mh63/n4hlKnwt4bW11uCvW65x+cLXAkgkQDgMpXDtQRkhAydXRKQnJVTqq5liZTv/V0dDJHCyD6rIZT5mU+15Fgk36/X7n/oQ0beGawQTgtMZxT4UP2a1zt4I6n8bxPlLNU+u+GxS6HMwch43lBZzu+tHpXPaIPDRKWi2gPDKi6sDo2sqjBUxx91CbOWdBN6r+hCqfJu+ezfuXEfCdX7lw+k70nvDmGHwr7KSbRrmA9+POa7v5lgwHA2debJn5KSIvxQBnsXxj7qcfwe4a8bmAD4tWnLp6s7uzN2lWw33kdhkeK/lUpat+3Kg9C2ZMPIzuC6A9HmxDbsJeozndwNesXLCf2mO376gnz3TW4Jph2I3Y7cidnr7ynt54MJky/ZZli8jFTZHnE7Ikdmt+9Ua0wjg/bvSwM0+OHXER0ZV2PqULn4EGBjH8LKzgJH+OZnBpHG3kczuNgF7dUD/2DJ6JBlO6wLwP9OtgBt0vr22a3hrHBHQnQkSXlTWgahBlg+WgIMgHIoEpb6cdTvZ7A3QRRFruBDm+FnXRiyhZ3jY+YCXKLwgI0QNTYkKPt1d5YBBmAaJdver48bx/pWQZ/781wx06nq7kgGc0lu8ElOF74OqSBf4P9hj31KSAw4AAAAAASUVORK5CYII=")
314
+ }
315
+
316
+ .stripe-connect-active,
317
+ .stripe-webhook-created {
318
+ font-size: 30px;
319
+ color: green;
320
+ width: 25px;
321
+ height: 30px;
322
+ margin-top: -5px;
323
+ margin-left: -8px;
324
+ }
325
+
326
+ .woocommerce_stripe_panel table {
327
+ width: 100%;
328
+ }
329
+
330
+ .wc-stripe-product-table th {
331
+ text-align: left;
332
+ }
333
+
334
+ .wc-stripe-product-gateway-enabled {
335
+ padding-top: 1px;
336
+ display: block;
337
+ outline: 0;
338
+ box-shadow: none;
339
+ }
340
+
341
+ .wc-stripe-save-product-data.disabled {
342
+ opactity: 0.6;
343
+ }
344
+
345
+ #stripe_product_data .wc-stripe-save-product-data + span.spinner {
346
+ float: none;
347
+ margin: 0 0 0 10px;
348
+ }
349
+
350
+ #woocommerce-product-data ul.wc-tabs li.stripe_options a:before {
351
+ font-family: WooCommerce;
352
+ content: '\e01e';
353
+ }
354
+
355
+ #_stripe_button_position {
356
+ max-width: 200px;
357
+ }
358
+
359
+ tr[data-gateway_id="stripe_afterpay"] td.capture-type {
360
+ display: none !important;
361
  }
assets/css/admin/feedback.scss CHANGED
@@ -1,12 +1,12 @@
1
- .stripe-modal-actions {
2
- margin-top: 20px;
3
- display: flex;
4
-
5
- .stripe-skip-deactivate {
6
- margin-left: 5px;
7
- }
8
-
9
- .stripe-deactivation__text {
10
- margin-top: 10px;
11
- }
12
  }
1
+ .stripe-modal-actions {
2
+ margin-top: 20px;
3
+ display: flex;
4
+
5
+ .stripe-skip-deactivate {
6
+ margin-left: 5px;
7
+ }
8
+
9
+ .stripe-deactivation__text {
10
+ margin-top: 10px;
11
+ }
12
  }
assets/css/admin/main.css CHANGED
@@ -1,415 +1,415 @@
1
- .woocommerce_page_wc-stripe-main {
2
- background: #fff;
3
- }
4
-
5
- body.woocommerce_page_wc-stripe-main .notice.error {
6
- display: none !important;
7
- }
8
-
9
- .wc-stripe-main__page,
10
- .wc-stripe-support__page {
11
- width: 100%;
12
- padding: 10px;
13
- background: #fff;
14
- margin: auto;
15
- box-sizing: border-box;
16
- }
17
-
18
- .wc-stripe-main__container {
19
- max-width: 960px;
20
- display: flex;
21
- flex-direction: column;
22
- }
23
-
24
- .wc-stripe-main__container h1 {
25
- font-size: 22px;
26
- }
27
-
28
- .wc-stripe-main__header {
29
- width: 100%;
30
- }
31
-
32
- .wc-stripe-main__header h1 {
33
- color: rgb(102, 102, 102);
34
- }
35
-
36
- .wc-stripe-main__header.welcome-header {
37
-
38
- }
39
-
40
- .wc-stripe-main__header .description {
41
- flex: 1 1 auto;
42
- text-align: center;
43
- }
44
-
45
- .wc-stripe-support__page .wc-stripe-main__header .description {
46
- text-align: left;
47
- margin-top: 20px;
48
- }
49
-
50
- .wc-stripe-main__logo {
51
- display: flex;
52
- align-items: center;
53
- }
54
-
55
- .wc-stripe-main__logo img {
56
- width: 100px;
57
- }
58
-
59
- .wc-stripe-main__logo img.stripe {
60
- width: 80px;
61
- }
62
-
63
- .wc-stripe-main__logo span {
64
- margin: 0 8px;
65
- color: rgb(102, 102, 102);
66
- }
67
-
68
- .wc-stripe-main__header p {
69
- color: #919191;
70
- }
71
-
72
- .wc-stripe-main__row {
73
- display: flex;
74
- flex-wrap: wrap;
75
- margin: 20px -10px 0 -10px;
76
- }
77
-
78
- .wc-stripe-support__content .wc-stripe-main__row {
79
- justify-content: center;
80
- }
81
-
82
- .wc-stripe-main__card {
83
- flex: 0 0 50%;
84
- max-width: 300px;
85
- padding: 10px;
86
- }
87
-
88
- .wc-stripe-main__card a,
89
- .wc-stripe-main__card a:active,
90
- .wc-stripe-main__card a:focus,
91
- .wc-stripe-main__card a:hover {
92
- text-decoration: none !important;
93
- outline: none !important;
94
- border: none;
95
- box-shadow: none;
96
- color: #fff;
97
- }
98
-
99
- .wc-stripe-main-card__content {
100
- width: 100%;
101
- display: flex;
102
- box-shadow: rgb(0 0 0 / 20%) 0px 2px 1px -1px, rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px;
103
- height: 100%;
104
- align-items: center;
105
- justify-content: center;
106
- flex-wrap: wrap;
107
- align-content: center;
108
- flex-direction: column;
109
- transition: box-shadow 400ms;
110
- }
111
-
112
- .wc-stripe-main-card__content:not(.register, .support) {
113
-
114
- }
115
-
116
- .wc-stripe-main-card__content:hover {
117
- box-shadow: rgb(0 0 0 / 20%) 0px 2px 10px -1px, rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px;
118
- }
119
-
120
- .wc-stripe-main-card__content p {
121
- color: #919191;
122
- }
123
-
124
- .wc-stripe-main-card__content h3 {
125
- font-size: 1.5em;
126
- }
127
-
128
- .icon-container {
129
- content: ' ';
130
- min-width: 90px;
131
- height: 90px;
132
- border-radius: 50%;
133
- background: #ccd1ff;
134
- margin: 10px;
135
- display: flex;
136
- justify-content: center;
137
- align-items: center;
138
- }
139
-
140
- .icon-container img.icon {
141
- width: 60px;
142
- height: 60px;
143
- }
144
-
145
- .card-header {
146
- padding: 20px;
147
- text-align: center;
148
- }
149
-
150
- .icon-container.support {
151
- background-color: #ffcbee;
152
- }
153
-
154
- .icon-container.documentation {
155
- background-color: rgb(100 212 219 / 60%);
156
- }
157
-
158
- .icon-container span {
159
- color: #fff;
160
- font-size: 40px;
161
- width: 40px;
162
- height: 40px;
163
- }
164
-
165
- @media (max-width: 670px) {
166
- .wc-stripe-main__card {
167
- flex: 0 0 100%;
168
- max-width: 300px;
169
- /* padding: 10px; */
170
- }
171
-
172
- .wc-stripe-main__logo {
173
- width: 100px;
174
- margin: 0;
175
- }
176
-
177
- .wc-stripe-main__header.welcome-header {
178
- align-items: start;
179
- }
180
-
181
- .wc-stripe-main__header .description {
182
- text-align: left;
183
- }
184
- }
185
-
186
- .sign-up-container .sib-form-block {
187
- padding: 0;
188
- }
189
-
190
- .sib-form-block p {
191
- font-size: 20px;
192
- text-align: left;
193
- font-weight: 700;
194
- font-family: "Helvetica", sans-serif;
195
- color: #3C4858;
196
- background-color: transparent;
197
- }
198
-
199
- .sib-text-form-block p {
200
- font-size: 16px;
201
- color: #919191;
202
- }
203
-
204
- .sib-form .entry_errored .entry__error {
205
- padding: 4px 8px;
206
- font-size: 14px;
207
- }
208
-
209
- .wc-stripe-card-button,
210
- .primary-button {
211
- font-size: 16px;
212
- text-align: left;
213
- font-weight: 700;
214
- font-family: "Helvetica", sans-serif;
215
- color: #FFFFFF;
216
- background-color: #3E4857;
217
- border-radius: 3px;
218
- border-width: 0px;
219
- line-height: 23px;
220
- padding: 8px 18px;
221
- display: inline-block;
222
- cursor: pointer;
223
- }
224
-
225
- .sib-form-button {
226
- margin-left: 5px;
227
- background-color: rgb(102, 102, 102);
228
- }
229
-
230
- .wc-stripe-card-button:hover,
231
- .wc-stripe-card-button:active {
232
- text-decoration: none;
233
- border: none;
234
- }
235
-
236
- .wc-stripe-main__row.justify-content-start {
237
- justify-content: start;
238
- }
239
-
240
- .cards-container {
241
- margin-top: 20px;
242
- }
243
-
244
- .navigation {
245
- display: flex;
246
- align-items: center;
247
- padding: 10px;
248
- box-shadow: rgb(0 0 0 / 20%) 0px 2px 1px -1px, rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px;
249
- }
250
-
251
- .navigation .navigation-tabs {
252
- margin-left: 15px;
253
- text-decoration: none;
254
- }
255
-
256
- .navigation .navigation-tabs a {
257
- padding: 10px 15px;
258
- color: rgb(102, 102, 102);
259
- text-decoration: none;
260
- font-size: 16px;
261
- }
262
-
263
- .navigation .navigation-tabs a.active {
264
- font-weight: 500;
265
- }
266
-
267
- .navigation .stripe-logo {
268
- flex: 1;
269
- display: flex;
270
- justify-content: flex-end;
271
- }
272
-
273
- .navigation .stripe-logo img {
274
- max-width: 60px;
275
- }
276
-
277
- .wc-stripe-signup-container {
278
- margin: 20px 0;
279
- display: flex;
280
- flex-wrap: wrap;
281
- }
282
-
283
- .wc-stripe-signup-container h3 {
284
- width: 100%;
285
- }
286
-
287
- .wc-stripe-signup-container .wc-stripe-signup__section {
288
- width: 60%;
289
- }
290
-
291
- .wc-stripe-signup-container .wc-stripe-signup__section p {
292
- /* margin: 0; */
293
- }
294
-
295
- .wc-stripe-signup__section.signup-form {
296
- display: flex;
297
- align-items: flex-end;
298
- justify-content: flex-end;
299
- width: 40%;
300
- margin-top: 20px;
301
- }
302
-
303
- .wc-stripe-signup__section.signup-form input {
304
- width: 100%;
305
- min-height: 32px;
306
- }
307
-
308
- .wc-stripe-signup__section.signup-form .entry-row:not(:last-child) {
309
- margin-bottom: 10px;
310
- }
311
-
312
- #wc-stripe-signup {
313
- position: relative;
314
- }
315
-
316
- #wc-stripe-signup:disabled{
317
- opacity: 0.6;
318
- }
319
-
320
- .wc-stripe-loader {
321
- display: flex;
322
- justify-content: center;
323
- position: relative;
324
- width: 30px;
325
- height: 30px;
326
- top: 0;
327
- left: -30px;
328
- box-sizing: border-box;
329
- transform: scale(.65);
330
- position: absolute;
331
- }
332
-
333
- .wc-stripe-loader div {
334
- box-sizing: border-box;
335
- display: block;
336
- position: absolute;
337
- box-sizing: border-box;
338
- width: 30px;
339
- height: 30px;
340
- border: 3px solid #000;
341
- border-radius: 50%;
342
- animation: wc-stripe-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
343
- border-color: #000 transparent transparent transparent;
344
- }
345
-
346
- .wc-stripe-loader div:nth-child(1) {
347
- animation-delay: -0.45s;
348
- }
349
-
350
- .wc-stripe-loader div:nth-child(2) {
351
- animation-delay: -0.3s;
352
- }
353
-
354
- .wc-stripe-loader div:nth-child(3) {
355
- animation-delay: -0.15s;
356
- }
357
-
358
- @keyframes wc-stripe-loader {
359
- 0% {
360
- transform: rotate(0deg);
361
- }
362
- 100% {
363
- transform: rotate(360deg);
364
- }
365
- }
366
-
367
- div.wc-stripe-notice {
368
- display: flex;
369
- align-items: center;
370
- position: fixed;
371
- font-size: 14px;
372
- width: 300px;
373
- padding: 10px 20px;
374
- color: #fff;
375
- right: 10px;
376
- bottom: 20px;
377
- border-radius: 3px;
378
- border: none;
379
- box-shadow: 0px 3px 5px -1px rgb(0 0 0 / 20%), 0px 6px 10px 0px rgb(0 0 0 / 14%), 0px 1px 18px 0px rgb(0 0 0 / 12%);
380
- }
381
-
382
- .wc-stripe-notice.success {
383
- background: #43a047;
384
- }
385
-
386
- .wc-stripe-notice.success span.dashicons {
387
- color: #43a047;
388
- }
389
-
390
- .wc-stripe-notice.error {
391
- background: #e22525;
392
- }
393
-
394
- .wc-stripe-notice.error span.dashicons {
395
- color: #e22525;
396
- }
397
-
398
- .wc-stripe-notice span.dashicons {
399
- width: 20px;
400
- height: 20px;
401
- background: #fff;
402
- border-radius: 10px;
403
- margin-right: 10px;
404
- }
405
-
406
- .wc-stripe-notice div.dismiss {
407
- flex: 1;
408
- text-align: right;
409
- cursor: pointer;
410
- margin-left: 5px;
411
- }
412
-
413
- .wc-stripe-notice span.dashicons-dismiss {
414
- margin: 0;
415
  }
1
+ .woocommerce_page_wc-stripe-main {
2
+ background: #fff;
3
+ }
4
+
5
+ body.woocommerce_page_wc-stripe-main .notice.error {
6
+ display: none !important;
7
+ }
8
+
9
+ .wc-stripe-main__page,
10
+ .wc-stripe-support__page {
11
+ width: 100%;
12
+ padding: 10px;
13
+ background: #fff;
14
+ margin: auto;
15
+ box-sizing: border-box;
16
+ }
17
+
18
+ .wc-stripe-main__container {
19
+ max-width: 960px;
20
+ display: flex;
21
+ flex-direction: column;
22
+ }
23
+
24
+ .wc-stripe-main__container h1 {
25
+ font-size: 22px;
26
+ }
27
+
28
+ .wc-stripe-main__header {
29
+ width: 100%;
30
+ }
31
+
32
+ .wc-stripe-main__header h1 {
33
+ color: rgb(102, 102, 102);
34
+ }
35
+
36
+ .wc-stripe-main__header.welcome-header {
37
+
38
+ }
39
+
40
+ .wc-stripe-main__header .description {
41
+ flex: 1 1 auto;
42
+ text-align: center;
43
+ }
44
+
45
+ .wc-stripe-support__page .wc-stripe-main__header .description {
46
+ text-align: left;
47
+ margin-top: 20px;
48
+ }
49
+
50
+ .wc-stripe-main__logo {
51
+ display: flex;
52
+ align-items: center;
53
+ }
54
+
55
+ .wc-stripe-main__logo img {
56
+ width: 100px;
57
+ }
58
+
59
+ .wc-stripe-main__logo img.stripe {
60
+ width: 80px;
61
+ }
62
+
63
+ .wc-stripe-main__logo span {
64
+ margin: 0 8px;
65
+ color: rgb(102, 102, 102);
66
+ }
67
+
68
+ .wc-stripe-main__header p {
69
+ color: #919191;
70
+ }
71
+
72
+ .wc-stripe-main__row {
73
+ display: flex;
74
+ flex-wrap: wrap;
75
+ margin: 20px -10px 0 -10px;
76
+ }
77
+
78
+ .wc-stripe-support__content .wc-stripe-main__row {
79
+ justify-content: center;
80
+ }
81
+
82
+ .wc-stripe-main__card {
83
+ flex: 0 0 50%;
84
+ max-width: 300px;
85
+ padding: 10px;
86
+ }
87
+
88
+ .wc-stripe-main__card a,
89
+ .wc-stripe-main__card a:active,
90
+ .wc-stripe-main__card a:focus,
91
+ .wc-stripe-main__card a:hover {
92
+ text-decoration: none !important;
93
+ outline: none !important;
94
+ border: none;
95
+ box-shadow: none;
96
+ color: #fff;
97
+ }
98
+
99
+ .wc-stripe-main-card__content {
100
+ width: 100%;
101
+ display: flex;
102
+ box-shadow: rgb(0 0 0 / 20%) 0px 2px 1px -1px, rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px;
103
+ height: 100%;
104
+ align-items: center;
105
+ justify-content: center;
106
+ flex-wrap: wrap;
107
+ align-content: center;
108
+ flex-direction: column;
109
+ transition: box-shadow 400ms;
110
+ }
111
+
112
+ .wc-stripe-main-card__content:not(.register, .support) {
113
+
114
+ }
115
+
116
+ .wc-stripe-main-card__content:hover {
117
+ box-shadow: rgb(0 0 0 / 20%) 0px 2px 10px -1px, rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px;
118
+ }
119
+
120
+ .wc-stripe-main-card__content p {
121
+ color: #919191;
122
+ }
123
+
124
+ .wc-stripe-main-card__content h3 {
125
+ font-size: 1.5em;
126
+ }
127
+
128
+ .icon-container {
129
+ content: ' ';
130
+ min-width: 90px;
131
+ height: 90px;
132
+ border-radius: 50%;
133
+ background: #ccd1ff;
134
+ margin: 10px;
135
+ display: flex;
136
+ justify-content: center;
137
+ align-items: center;
138
+ }
139
+
140
+ .icon-container img.icon {
141
+ width: 60px;
142
+ height: 60px;
143
+ }
144
+
145
+ .card-header {
146
+ padding: 20px;
147
+ text-align: center;
148
+ }
149
+
150
+ .icon-container.support {
151
+ background-color: #ffcbee;
152
+ }
153
+
154
+ .icon-container.documentation {
155
+ background-color: rgb(100 212 219 / 60%);
156
+ }
157
+
158
+ .icon-container span {
159
+ color: #fff;
160
+ font-size: 40px;
161
+ width: 40px;
162
+ height: 40px;
163
+ }
164
+
165
+ @media (max-width: 670px) {
166
+ .wc-stripe-main__card {
167
+ flex: 0 0 100%;
168
+ max-width: 300px;
169
+ /* padding: 10px; */
170
+ }
171
+
172
+ .wc-stripe-main__logo {
173
+ width: 100px;
174
+ margin: 0;
175
+ }
176
+
177
+ .wc-stripe-main__header.welcome-header {
178
+ align-items: start;
179
+ }
180
+
181
+ .wc-stripe-main__header .description {
182
+ text-align: left;
183
+ }
184
+ }
185
+
186
+ .sign-up-container .sib-form-block {
187
+ padding: 0;
188
+ }
189
+
190
+ .sib-form-block p {
191
+ font-size: 20px;
192
+ text-align: left;
193
+ font-weight: 700;
194
+ font-family: "Helvetica", sans-serif;
195
+ color: #3C4858;
196
+ background-color: transparent;
197
+ }
198
+
199
+ .sib-text-form-block p {
200
+ font-size: 16px;
201
+ color: #919191;
202
+ }
203
+
204
+ .sib-form .entry_errored .entry__error {
205
+ padding: 4px 8px;
206
+ font-size: 14px;
207
+ }
208
+
209
+ .wc-stripe-card-button,
210
+ .primary-button {
211
+ font-size: 16px;
212
+ text-align: left;
213
+ font-weight: 700;
214
+ font-family: "Helvetica", sans-serif;
215
+ color: #FFFFFF;
216
+ background-color: #3E4857;
217
+ border-radius: 3px;
218
+ border-width: 0px;
219
+ line-height: 23px;
220
+ padding: 8px 18px;
221
+ display: inline-block;
222
+ cursor: pointer;
223
+ }
224
+
225
+ .sib-form-button {
226
+ margin-left: 5px;
227
+ background-color: rgb(102, 102, 102);
228
+ }
229
+
230
+ .wc-stripe-card-button:hover,
231
+ .wc-stripe-card-button:active {
232
+ text-decoration: none;
233
+ border: none;
234
+ }
235
+
236
+ .wc-stripe-main__row.justify-content-start {
237
+ justify-content: start;
238
+ }
239
+
240
+ .cards-container {
241
+ margin-top: 20px;
242
+ }
243
+
244
+ .navigation {
245
+ display: flex;
246
+ align-items: center;
247
+ padding: 10px;
248
+ box-shadow: rgb(0 0 0 / 20%) 0px 2px 1px -1px, rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px;
249
+ }
250
+
251
+ .navigation .navigation-tabs {
252
+ margin-left: 15px;
253
+ text-decoration: none;
254
+ }
255
+
256
+ .navigation .navigation-tabs a {
257
+ padding: 10px 15px;
258
+ color: rgb(102, 102, 102);
259
+ text-decoration: none;
260
+ font-size: 16px;
261
+ }
262
+
263
+ .navigation .navigation-tabs a.active {
264
+ font-weight: 500;
265
+ }
266
+
267
+ .navigation .stripe-logo {
268
+ flex: 1;
269
+ display: flex;
270
+ justify-content: flex-end;
271
+ }
272
+
273
+ .navigation .stripe-logo img {
274
+ max-width: 60px;
275
+ }
276
+
277
+ .wc-stripe-signup-container {
278
+ margin: 20px 0;
279
+ display: flex;
280
+ flex-wrap: wrap;
281
+ }
282
+
283
+ .wc-stripe-signup-container h3 {
284
+ width: 100%;
285
+ }
286
+
287
+ .wc-stripe-signup-container .wc-stripe-signup__section {
288
+ width: 60%;
289
+ }
290
+
291
+ .wc-stripe-signup-container .wc-stripe-signup__section p {
292
+ /* margin: 0; */
293
+ }
294
+
295
+ .wc-stripe-signup__section.signup-form {
296
+ display: flex;
297
+ align-items: flex-end;
298
+ justify-content: flex-end;
299
+ width: 40%;
300
+ margin-top: 20px;
301
+ }
302
+
303
+ .wc-stripe-signup__section.signup-form input {
304
+ width: 100%;
305
+ min-height: 32px;
306
+ }
307
+
308
+ .wc-stripe-signup__section.signup-form .entry-row:not(:last-child) {
309
+ margin-bottom: 10px;
310
+ }
311
+
312
+ #wc-stripe-signup {
313
+ position: relative;
314
+ }
315
+
316
+ #wc-stripe-signup:disabled{
317
+ opacity: 0.6;
318
+ }
319
+
320
+ .wc-stripe-loader {
321
+ display: flex;
322
+ justify-content: center;
323
+ position: relative;
324
+ width: 30px;
325
+ height: 30px;
326
+ top: 0;
327
+ left: -30px;
328
+ box-sizing: border-box;
329
+ transform: scale(.65);
330
+ position: absolute;
331
+ }
332
+
333
+ .wc-stripe-loader div {
334
+ box-sizing: border-box;
335
+ display: block;
336
+ position: absolute;
337
+ box-sizing: border-box;
338
+ width: 30px;
339
+ height: 30px;
340
+ border: 3px solid #000;
341
+ border-radius: 50%;
342
+ animation: wc-stripe-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
343
+ border-color: #000 transparent transparent transparent;
344
+ }
345
+
346
+ .wc-stripe-loader div:nth-child(1) {
347
+ animation-delay: -0.45s;
348
+ }
349
+
350
+ .wc-stripe-loader div:nth-child(2) {
351
+ animation-delay: -0.3s;
352
+ }
353
+
354
+ .wc-stripe-loader div:nth-child(3) {
355
+ animation-delay: -0.15s;
356
+ }
357
+
358
+ @keyframes wc-stripe-loader {
359
+ 0% {
360
+ transform: rotate(0deg);
361
+ }
362
+ 100% {
363
+ transform: rotate(360deg);
364
+ }
365
+ }
366
+
367
+ div.wc-stripe-notice {
368
+ display: flex;
369
+ align-items: center;
370
+ position: fixed;
371
+ font-size: 14px;
372
+ width: 300px;
373
+ padding: 10px 20px;
374
+ color: #fff;
375
+ right: 10px;
376
+ bottom: 20px;
377
+ border-radius: 3px;
378
+ border: none;
379
+ box-shadow: 0px 3px 5px -1px rgb(0 0 0 / 20%), 0px 6px 10px 0px rgb(0 0 0 / 14%), 0px 1px 18px 0px rgb(0 0 0 / 12%);
380
+ }
381
+
382
+ .wc-stripe-notice.success {
383
+ background: #43a047;
384
+ }
385
+
386
+ .wc-stripe-notice.success span.dashicons {
387
+ color: #43a047;
388
+ }
389
+
390
+ .wc-stripe-notice.error {
391
+ background: #e22525;
392
+ }
393
+
394
+ .wc-stripe-notice.error span.dashicons {
395
+ color: #e22525;
396
+ }
397
+
398
+ .wc-stripe-notice span.dashicons {
399
+ width: 20px;
400
+ height: 20px;
401
+ background: #fff;
402
+ border-radius: 10px;
403
+ margin-right: 10px;
404
+ }
405
+
406
+ .wc-stripe-notice div.dismiss {
407
+ flex: 1;
408
+ text-align: right;
409
+ cursor: pointer;
410
+ margin-left: 5px;
411
+ }
412
+
413
+ .wc-stripe-notice span.dashicons-dismiss {
414
+ margin: 0;
415
  }
assets/css/stripe-rtl.css CHANGED
@@ -1,1120 +1,1125 @@
1
- .wc-stripe-card-icons-container,
2
- .wc-stripe-paymentRequest-icons-container {
3
- float: left;
4
- display: inline-block;
5
- }
6
-
7
- ul.payment_methods li[class*=payment_method] {
8
- margin: 0;
9
- padding: 0;
10
- }
11
-
12
- li[class*=payment_method] input[type=radio] {
13
- margin: 0 5px 0 10px;
14
- }
15
-
16
- li[class*=payment_method] input[type=radio] + label:not(.wc-stripe-label-payment-type) {
17
- margin: 0;
18
- }
19
-
20
- .woocommerce-checkout #payment ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n + 2),
21
- ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n + 2) {
22
- margin: 0;
23
- }
24
-
25
- li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon {
26
- max-width: 43px;
27
- max-height: 26px;
28
- width: 43px;
29
- height: 26px;
30
- float: none;
31
- display: inline;
32
- }
33
-
34
- li.payment_method_stripe_payment_request .wc-stripe-paymentRequest-icons-container img:not(.gpay) {
35
- width: 25px;
36
- height: 25px;
37
- max-width: 25px;
38
- max-height: 25px;
39
- }
40
-
41
- ul.payment_methods label[for*="payment_method_stripe"]:after {
42
- clear: left;
43
- content: "";
44
- display: block;
45
- }
46
-
47
- li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon:nth-child(2n+2) {
48
- margin: 0px 2px;
49
- }
50
-
51
- li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon.open.visa {
52
- padding-top: 2px;
53
- }
54
-
55
- ul.payment_methods li[class*=payment_method_stripe_] label > img:first-of-type {
56
- float: left !important;
57
- }
58
-
59
- .wc-stripe_cc-new-method-container {
60
- margin-bottom: 1em;
61
- }
62
-
63
- .wc-stripe_cc-container .StripeElement {
64
- box-sizing: border-box;
65
- height: 40px;
66
- padding: 10px 12px;
67
- border-radius: 4px;
68
- background-color: white;
69
- -webkit-transition: box-shadow 150ms ease;
70
- transition: box-shadow 150ms ease;
71
- }
72
-
73
- input.wc-stripe-payment-type,
74
- input.wc-stripe-klarna-category {
75
- display: none !important;
76
- }
77
-
78
- body .wfacp_main_form.woocommerce .wc-stripe-save-source label.checkbox {
79
- padding: 0 !important;
80
- }
81
-
82
- label.wc-stripe-label-payment-type,
83
- input[type=radio] + label.wc-stripe-label-payment-type,
84
- label.wc-stripe-label-klarna-category {
85
- margin-bottom: 1em;
86
- display: block;
87
- padding: 0 !important;
88
- color: #000;
89
- }
90
-
91
- .theme-flatsome div.wc-stripe-saved-methods-container {
92
- margin: 0 0 1em 0;
93
- }
94
-
95
- label.wc-stripe-label-payment-type:before,
96
- label.wc-stripe-label-klarna-category:before {
97
- content: "";
98
- display: inline-block;
99
- width: 11px;
100
- height: 11px;
101
- border: 2px solid #fff;
102
- box-shadow: 0 0 0 2px #000;
103
- background: #fff;
104
- margin-right: 4px;
105
- margin-left: .5em;
106
- border-radius: 100%;
107
- -webkit-transform: translateY(2px);
108
- -ms-transform: translateY(2px);
109
- transform: translateY(2px);
110
- }
111
-
112
- input.wc-stripe-payment-type:checked + label.wc-stripe-label-payment-type:before,
113
- input.wc-stripe-klarna-category:checked + label.wc-stripe-label-klarna-category:before {
114
- background: #000;
115
- }
116
-
117
- label.wc-stripe-label-payment-type:after {
118
- content: none !important;
119
- display: none !important;
120
- }
121
-
122
- .wc-stripe-saved-methods-container .select2-container .select2-selection--single .select2-selection__rendered {
123
- padding-right: 8px;
124
- }
125
-
126
- .wc-stripe-saved-methods-container .select2-container .select2-selection--single .wc-stripe-select2-container,
127
- .select2-results__options li.wc-stripe-select2-container {
128
- display: flex;
129
- align-items: center;
130
- height: 42px;
131
- line-height: 42px !important;
132
- }
133
-
134
- .select2-container .select2-selection--single .wc-stripe-select2-container:before,
135
- .select2-results__options li.wc-stripe-select2-container:before {
136
- content: '';
137
- background-repeat: no-repeat;
138
- background-size: 40px 24px;
139
- width: 40px;
140
- height: 42px;
141
- display: inline-block;
142
- margin-left: 8px;
143
- background-position: center;
144
- }
145
-
146
- .select2-container .select2-selection--single .wc-stripe-select2-container.visa:before,
147
- .select2-results__options li.wc-stripe-select2-container.visa:before,
148
- .select2-results__options li.wc-stripe-select2-container.visa:before {
149
- background-image: url(../img/cards/visa.svg);
150
- }
151
-
152
- .select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,
153
- .select2-results__options li.wc-stripe-select2-container.mastercard:before,
154
- .select2-results__options li.wc-stripe-select2-container.mastercard:before {
155
- background-image: url(../img/cards/mastercard.svg);
156
- }
157
-
158
- .select2-container .select2-selection--single .wc-stripe-select2-container.americanexpress:before,
159
- .select2-results__options li.wc-stripe-select2-container.americanexpress:before,
160
- .select2-results__options li.wc-stripe-select2-container.americanexpress:before {
161
- background-image: url(../img/cards/amex.svg);
162
- }
163
-
164
- .select2-container .select2-selection--single .wc-stripe-select2-container.amex:before,
165
- .select2-results__options li.wc-stripe-select2-container.amex:before,
166
- .select2-results__options li.wc-stripe-select2-container.amex:before {
167
- background-image: url(../img/cards/amex.svg);
168
- }
169
-
170
- .select2-container .select2-selection--single .wc-stripe-select2-container.discover:before,
171
- .select2-results__options li.wc-stripe-select2-container.discover:before,
172
- .select2-results__options li.wc-stripe-select2-container.discover:before {
173
- background-image: url(../img/cards/discover.svg);
174
- }
175
-
176
- .select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,
177
- .select2-results__options li.wc-stripe-select2-container.mastercard:before,
178
- .select2-results__options li.wc-stripe-select2-container.mastercard:before {
179
- background-image: url(../img/cards/mastercard.svg);
180
- }
181
-
182
- .select2-container .select2-selection--single .wc-stripe-select2-container.dinersclub:before,
183
- .select2-results__options li.wc-stripe-select2-container.dinersclub:before,
184
- .select2-results__options li.wc-stripe-select2-container.dinersclub:before {
185
- background-image: url(../img/cards/diners.svg);
186
- }
187
-
188
- .select2-container .select2-selection--single .wc-stripe-select2-container.diners:before,
189
- .select2-results__options li.wc-stripe-select2-container.diners:before,
190
- .select2-results__options li.wc-stripe-select2-container.diners:before {
191
- background-image: url(../img/cards/diners.svg);
192
- }
193
-
194
- .select2-container .select2-selection--single .wc-stripe-select2-container.jcb:before,
195
- .select2-results__options li.wc-stripe-select2-container.jcb:before,
196
- .select2-results__options li.wc-stripe-select2-container.jcb:before {
197
- background-image: url(../img/cards/jcb.svg);
198
- }
199
-
200
- .select2-container .select2-selection--single .wc-stripe-select2-container.stripe_sepa:before,
201
- .select2-results__options li.wc-stripe-select2-container.stripe_sepa:before,
202
- .select2-results__options li.wc-stripe-select2-container.stripe_sepa:before {
203
- background-image: url(../img/sepa.svg);
204
- }
205
-
206
- .select2-results__options li.wc-stripe-select2-container.wc-stripe-ach:before,
207
- .select2-results__options li.wc-stripe-select2-container.stripe_becs:before,
208
- .select2-container .select2-selection--single .wc-stripe-select2-container.stripe_becs:before {
209
- display: none;
210
- }
211
-
212
- #wc-stripe-card-element {
213
- margin-bottom: 1em;
214
- }
215
-
216
- #wc-stripe-card-element.payment-type {
217
- height: 100%;
218
- padding: 0px;
219
- }
220
-
221
- .wc-stripe_cc-new-method-container .wc-stripe-save-source {
222
- display: flex;
223
- align-items: center;
224
- justify-content: flex-start;
225
- }
226
-
227
- .wc-stripe_cc-container .wc-stripe-save-source .save-source-label {
228
- display: block;
229
- padding: 0;
230
- margin: 0 5px 0px 0;
231
- }
232
-
233
- .wc-stripe_cc-container .wc-stripe-save-source input[type="checkbox"][name="stripe_cc_save_source_key"] {
234
- opacity: 0;
235
- position: absolute;
236
- width: 20px;
237
- height: 20px;
238
- }
239
-
240
- .wc-stripe_cc-container .wc-stripe-save-source label.checkbox {
241
- position: relative;
242
- }
243
-
244
- .wc-stripe_cc-container .save-source-checkbox {
245
- height: 20px;
246
- width: 20px;
247
- position: relative;
248
- background-color: white;
249
- display: block;
250
- border-radius: 3px;
251
- border: 1px solid #bababa;
252
- }
253
-
254
- .wc-stripe_cc-container .save-source-checkbox:after {
255
- content: "";
256
- position: absolute;
257
- top: 0;
258
- right: 0;
259
- }
260
-
261
- .wc-stripe_cc-container .wc-stripe-save-source input[type="checkbox"]:checked + .save-source-checkbox:after {
262
- right: 6px;
263
- top: 2px;
264
- width: 7px;
265
- height: 12px;
266
- border: solid #2196F3;
267
- border-width: 0 0 3px 3px;
268
- -webkit-transform: rotate(-45deg);
269
- -ms-transform: rotate(-45deg);
270
- transform: rotate(-45deg);
271
- -webkit-box-sizing: border-box;
272
- -moz-box-sizing: border-box;
273
- box-sizing: border-box
274
- }
275
-
276
- li.payment_method_stripe_googlepay,
277
- li.payment_method_stripe_applepay,
278
- li.payment_method_stripe_payment_request {
279
- display: none;
280
- }
281
-
282
- #place_order.wc-stripe-hide,
283
- #payment #place_order.wc-stripe-hide,
284
- .woocommerce-checkout-review-order #payment #place_order.wc-stripe-hide {
285
- position: absolute !important;
286
- z-index: -1000 !important;
287
- height: 0 !important;
288
- padding: 0 !important;
289
- opacity: 0 !important;
290
- }
291
-
292
- .wc-stripe-product-checkout-container {
293
- display: none;
294
- width: 100%;
295
- }
296
-
297
- .wc-stripe-product-checkout-container.bottom {
298
- margin-top: 1em;
299
- }
300
-
301
- .wc-stripe-product-checkout-container.top {
302
- margin-bottom: 1em;
303
- }
304
-
305
- .wc-stripe-product-checkout-container.active {
306
- display: block;
307
- }
308
-
309
- .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods,
310
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods {
311
- list-style: none;
312
- margin: 0px;
313
- padding: 0px;
314
- }
315
-
316
- .wc-stripe-cart-checkout-container {
317
- margin: 0;
318
- padding: 0;
319
- clear: both;
320
- }
321
-
322
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods {
323
- margin-bottom: 1.5em;
324
- }
325
-
326
- .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_],
327
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_] {
328
- margin: 0 0 1em 0;
329
- list-style: none;
330
- }
331
-
332
- .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child,
333
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_]:last-child {
334
- margin: 0;
335
- }
336
-
337
- .wc_stripe_product_payment_methods .gpay-button,
338
- .wc_stripe_cart_payment_methods .gpay-button,
339
- .wc_stripe_product_payment_methods .gpay-card-info-container,
340
- .wc_stripe_cart_payment_methods .gpay-card-info-container {
341
- width: 100% !important;
342
- min-width: 100%;
343
- margin: 0;
344
- }
345
-
346
- .wc_stripe_product_payment_methods .disabled {
347
- opacity: 0.45;
348
- }
349
-
350
- .woocommerce-cart .stripe_cart_gateway_active .wc-proceed-to-checkout .checkout-button,
351
- .stripe_cart_gateway_active .checkout-button {
352
- margin-bottom: 0px;
353
- }
354
-
355
- .wc-stripe-cart-or {
356
- margin: 1em 0;
357
- text-align: center;
358
- }
359
-
360
- li.wc-stripe-payment-method.or {
361
- display: none;
362
- }
363
-
364
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or {
365
- display: block;
366
- margin: 15px 0;
367
- }
368
-
369
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or p {
370
- margin: 0;
371
- }
372
-
373
- li[class*=payment_method_stripe_].active ~ li.wc-stripe-payment-method.or {
374
- display: block;
375
- margin: 0;
376
- }
377
-
378
- li.payment_method_stripe_applepay label:first-of-type img {
379
- width: 49px;
380
- max-height: 32px;
381
- }
382
-
383
- li.payment_method_stripe_googlepay label:first-of-type img {
384
- width: 48px;
385
- max-height: 35px;
386
- }
387
-
388
- li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_standard],
389
- li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_standard] {
390
- width: 60px;
391
- max-height: 35px;
392
- }
393
-
394
- li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_round_outline],
395
- li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_round_outline] {
396
- width: 56px;
397
- max-height: 30px;
398
- }
399
-
400
- li.payment_method_stripe_ach label:first-of-type img {
401
- width: 32px;
402
- height: 32px;
403
- min-width: 32px;
404
- min-height: 32px;
405
- }
406
-
407
- .gpay-button-container .gpay-button:hover,
408
- .wc-stripe-checkout-banner-gateway .gpay-button:hover {
409
- background-origin: content-box;
410
- background-position: center center;
411
- background-repeat: no-repeat;
412
- background-size: contain;
413
- }
414
-
415
- .gpay-button:active {
416
- background-origin: content-box;
417
- background-position: center center;
418
- background-repeat: no-repeat;
419
- background-size: contain;
420
- }
421
-
422
- .gpay-button:focus {
423
- background-origin: content-box;
424
- background-position: center center;
425
- background-repeat: no-repeat;
426
- background-size: contain;
427
- }
428
-
429
- @supports (-webkit-appearance: -apple-pay-button) {
430
- .apple-pay-button {
431
- display: block;
432
- -webkit-appearance: -apple-pay-button !important;
433
- width: 100%;
434
- max-width: 100%;
435
- min-width: 200px;
436
- height: 40px;
437
- max-height: 40px;
438
- }
439
-
440
- .apple-pay-button-black {
441
- -apple-pay-button-style: black;
442
- }
443
-
444
- .apple-pay-button-white {
445
- -apple-pay-button-style: white;
446
- }
447
-
448
- .apple-pay-button-white-with-line {
449
- -apple-pay-button-style: white-outline;
450
- }
451
-
452
- .woocommerce-checkout-payment .apple-pay-button {
453
- max-width: 240px;
454
- }
455
-
456
- body.single-product div.product form.cart .wc_stripe_product_payment_methods .apple-pay-button {
457
- max-width: 100%;
458
- }
459
- }
460
-
461
- .wc-stripe-banner-checkout {
462
- display: none;
463
- padding: 0;
464
- position: relative;
465
- margin: 1em 0;
466
- }
467
-
468
- .wc-stripe-banner-checkout fieldset {
469
- padding: 15px 25px 15px;
470
- border: 1px solid #d1d1d1;
471
- margin-bottom: 20px;
472
- border-radius: 3px;
473
- }
474
-
475
- .wc-stripe-banner-checkout fieldset legend {
476
- margin: 0 auto;
477
- font-weight: 500;
478
- padding: 0 1rem;
479
- }
480
-
481
- .wc-stripe-banner-checkout.active {
482
- display: block;
483
- }
484
-
485
- .wc-stripe-banner-checkout span.banner-divider {
486
- display: flex;
487
- align-items: center;
488
- top: -13px;
489
- left: 0;
490
- right: 0;
491
- background: transparent;
492
- white-space: nowrap;
493
- font-size: 16px;
494
- }
495
-
496
- .wc-stripe-banner-checkout span.banner-divider:before,
497
- .wc-stripe-banner-checkout span.banner-divider:after {
498
- content: ' ';
499
- height: 1px;
500
- background: #d1d1d1;
501
- display: block;
502
- width: 50%;
503
- }
504
-
505
- .wc-stripe-banner-checkout span.banner-divider:before {
506
- margin-left: 1rem;
507
- }
508
-
509
- .wc-stripe-banner-checkout span.banner-divider:after {
510
- margin-right: 1rem;
511
- }
512
-
513
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways {
514
- list-style: none;
515
- margin: 0;
516
- padding: 0;
517
- }
518
-
519
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway {
520
- margin: 0 auto;
521
- display: none;
522
- max-width: 240px;
523
- }
524
-
525
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway.active:nth-child(n+2) {
526
- margin: 10px auto 0 auto;
527
- }
528
-
529
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway:first-child:not(.active) + li.wc-stripe-checkout-banner-gateway.active {
530
- margin: 0 auto;
531
- }
532
-
533
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-button,
534
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-card-info-container {
535
- margin: 0;
536
- }
537
-
538
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-button,
539
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-card-info-container {
540
- width: 100%;
541
- }
542
-
543
- .wc_stripe_product_payment_methods .payment_method_stripe_payment_request .StripeElement,
544
- .wc_stripe_cart_payment_methods .payment_method_stripe_payment_request .StripeElement {
545
- padding: 0px;
546
- width: 100%;
547
- }
548
-
549
- .woocommerce-checkout #wc-stripe-payment-request-container.StripeElement {
550
- width: 240px;
551
- padding: 0px;
552
- }
553
-
554
- .wc-stripe-checkout-banner-gateway #wc-stripe-payment-request-banner.StripeElement {
555
- width: 100%;
556
- }
557
-
558
- ul.payment_methods li.payment_method_stripe_p24 img {
559
- max-width: 90px;
560
- width: 90px;
561
- max-height: 45px;
562
- }
563
-
564
- ul.payment_methods li.payment_method_stripe_ideal img {
565
- max-width: 38px;
566
- width: 38px;
567
- max-height: 35px;
568
- }
569
-
570
- ul.payment_methods li.payment_method_stripe_fpx img {
571
- max-width: 75px;
572
- width: 75px;
573
- max-height: 25px;
574
- }
575
-
576
- ul.payment_methods li.payment_method_stripe_klarna img {
577
- max-width: 72px;
578
- width: 72px;
579
- max-height: 20px;
580
- }
581
-
582
- ul.payment_methods li.payment_method_stripe_klarna img[src*="klarna_pink"] {
583
- width: 56px;
584
- height: 32px;
585
- max-height: 32px;
586
- }
587
-
588
- ul.payment_methods li.payment_method_stripe_giropay img {
589
- max-width: 65px;
590
- width: 65px;
591
- max-height: 28px;
592
- }
593
-
594
- ul.payment_methods li.payment_method_stripe_eps img {
595
- max-width: 70px;
596
- width: 70px;
597
- max-height: 46px;
598
- }
599
-
600
- ul.payment_methods li.payment_method_stripe_multibanco img {
601
- max-width: 48px;
602
- width: 48px;
603
- max-height: 48px;
604
- }
605
-
606
- ul.payment_methods li.payment_method_stripe_sepa img {
607
- max-width: 67px;
608
- width: 67px;
609
- max-height: 18px;
610
- }
611
-
612
- ul.payment_methods li.payment_method_stripe_sofort img {
613
- max-width: 70px;
614
- width: 70px;
615
- max-height: 21px;
616
- }
617
-
618
- ul.payment_methods li.payment_method_stripe_bancontact img,
619
- label[for=payment_method_stripe_bancontact] img {
620
- width: 60px;
621
- height: 42px;
622
- max-width: 60px;
623
- max-height: 42px;
624
- }
625
-
626
- ul.payment_methods li.payment_method_stripe_wechat label img {
627
- max-width: 82px;
628
- width: 82px;
629
- max-height: 23px;
630
- }
631
-
632
- ul.payment_methods li.payment_method_stripe_alipay img {
633
- max-width: 72px;
634
- width: 72px;
635
- height: 36px;
636
- max-height: 36px;
637
- }
638
-
639
- ul.payment_methods li.payment_method_stripe_grabpay img {
640
- max-width: 95px;
641
- width: 95px;
642
- max-height: 28px;
643
- }
644
-
645
- ul.payment_methods li.payment_method_stripe_oxxo img {
646
- max-width: 52px;
647
- width: 52px;
648
- max-height: 24px;
649
- }
650
-
651
- #wc-stripe-card-element {
652
- width: 100%;
653
- }
654
-
655
- li.banner_payment_method_stripe_payment_request .StripeElement {
656
- padding: 0px;
657
- }
658
-
659
- .single-product .blockMsg {
660
- border: none !important;
661
- background-color: transparent !important;
662
- }
663
-
664
- #wc-stripe-card {
665
- position: absolute !important;
666
- top: 50%;
667
- left: 8px;
668
- transform: translatey(-50%);
669
- width: 23px;
670
- height: 15px;
671
- padding: 0px;
672
- border: none;
673
- }
674
-
675
- #wc-stripe-card.active {
676
- width: 32px;
677
- height: 20px;
678
- }
679
-
680
- input[id=stripe-postal-code]:focus {
681
- outline: none;
682
- background: transparent;
683
- border: none;
684
- box-shadow: none;
685
- }
686
-
687
- div.postalCode:focus {
688
- outline: none;
689
- border: none;
690
- }
691
-
692
- li[class*="payment_method_stripe"] .select2-container .select2-selection--single {
693
- height: 42px;
694
- padding: 0 5px;
695
- }
696
-
697
- li[class*="payment_method_stripe"] .select2-container--default .select2-selection--single .select2-selection__arrow {
698
- height: 42px;
699
- top: 1px;
700
- left: 1px;
701
- transform: translateY(0);
702
- }
703
-
704
- .blockUI.blockMsg {
705
- font-size: 20px;
706
- white-space: nowrap;
707
- }
708
-
709
- #wc-stripe-payment-request-container.disabled {
710
- opacity: 0.45;
711
- }
712
-
713
- .wc-stripe-paymentRequest-icons-container img {
714
- float: none;
715
- }
716
-
717
- .select2-container .select2-selection--single .wc-stripe-select2-container.wc-stripe-ach:before {
718
- display: none;
719
- }
720
-
721
- ul.wc_stripe_cart_payment_methods li.wc-stripe-payment-method button,
722
- ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_] button,
723
- ul.wc_stripe_checkout_banner_gateways li button {
724
- margin: 0;
725
- }
726
-
727
- ul.payment_methods li[class*=payment_method] {
728
- margin: 0;
729
- padding: 10px 0;
730
- }
731
-
732
- ul.payment_methods li[class*=payment_method] input[name=payment_method] {
733
- margin: 0 5px 0 10px;
734
- float: none;
735
- }
736
-
737
- ul.payment_methods li[class*=payment_method] > input[name=payment_method] + label {
738
- padding-top: 0;
739
- padding-left: 0;
740
- padding-bottom: 0;
741
- }
742
-
743
- ul.payment_methods {
744
- list-style: none;
745
- }
746
-
747
- ul.payment_methods li[class*=payment_method_stripe_] .wc-stripe_cc-new-method-container label:before {
748
- display: none;
749
- }
750
-
751
- .wc-stripe_cc-container .wc-stripe-save-source label.checkbox {
752
- padding: 0 !important;
753
- margin: 0px;
754
- }
755
-
756
- div[id*=wc_stripe_local_payment_stripe_].StripeElement {
757
- border: 1px solid #eee;
758
- border-radius: 4px;
759
- }
760
-
761
- #payment .payment_methods li #wc_stripe_local_payment_stripe_wechat img,
762
- #wc_stripe_local_payment_stripe_wechat img {
763
- max-height: 100%;
764
- float: none;
765
- }
766
-
767
- .qrcode-message {
768
- margin: 10px 0 0 0;
769
- }
770
-
771
- #wc_stripe_local_payment_stripe_sepa,
772
- #wc_stripe_local_payment_stripe_becs {
773
- padding: 10px 12px;
774
- box-shadow: 0 1px 3px 0 #e6ebf1;
775
- }
776
-
777
- .wc-stripe-local-desc.stripe_sepa,
778
- .wc-stripe-local-desc.stripe_becs {
779
- margin: 10px 0;
780
- }
781
-
782
- .wc-stripe-clear {
783
- clear: both;
784
- height: 0;
785
- visibility: hidden;
786
- }
787
-
788
- .wc-stripe-gateway-desc p {
789
- margin: 0;
790
- }
791
-
792
- #wc_stripe_local_payment_stripe_klarna,
793
- li[class*=payment_method_stripe_] div.wc-stripe-gateway-container.has_tokens {
794
- margin-top: 10px;
795
- }
796
-
797
- .wc-stripe-gateway-desc {
798
- margin-top: 10px;
799
- }
800
-
801
- #wc-stripe-card-element.StripeElement--webkit-autofill {
802
- background-color: transparent !important;
803
- }
804
-
805
- #wc_stripe_local_payment_stripe_klarna .stripe-klarna-categories {
806
- list-style: none;
807
- margin: 0;
808
- padding: 10px;
809
- }
810
-
811
- li.payment_method_stripe_klarna,
812
- li.payment_method_stripe_alipay,
813
- li.payment_method_stripe_bancontact,
814
- li.payment_method_stripe_becs,
815
- li.payment_method_stripe_eps,
816
- li.payment_method_stripe_fpx,
817
- li.payment_method_stripe_giropay,
818
- li.payment_method_stripe_ideal,
819
- li.payment_method_stripe_multibanco,
820
- li.payment_method_stripe_p24,
821
- li.payment_method_stripe_sepa,
822
- li.payment_method_stripe_sofort,
823
- li.payment_method_stripe_wechat {
824
- display: none;
825
- }
826
-
827
- .widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods {
828
- list-style: none;
829
- margin: 0;
830
- padding: 0;
831
- }
832
-
833
- .widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods li {
834
- margin: 0;
835
- }
836
-
837
- .widget_shopping_cart_content a.wc-stripe-gpay-mini-cart,
838
- .widget_shopping_cart_content a.wc-stripe-applepay-mini-cart,
839
- .widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart {
840
- background: transparent;
841
- padding: 0;
842
- border: none;
843
- }
844
-
845
- a.wc-stripe-gpay-mini-cart .gpay-button,
846
- a.wc-stripe-gpay-mini-cart .gpay-card-info-container
847
- a.wc-stripe-applepay-mini-cart .apple-pay-button {
848
- width: 100%;
849
- margin: 0;
850
- }
851
-
852
- .wc-stripe-payment-request-mini-cart.StripeElement {
853
- padding: 0;
854
- background: transparent;
855
- border: none;
856
- width: 100%;
857
- }
858
-
859
- .wc-stripe-payment-request-mini-cart.StripeElement .__PrivateStripeElement {
860
- width: 100%;
861
- }
862
-
863
- .wc-stripe-minicart-overlay {
864
- display: none !important;
865
- position: absolute;
866
- background: rgba(255, 255, 255, 0.75);
867
- height: 100%;
868
- width: 100%;
869
- z-index: -1;
870
- top: 0;
871
- right: 0;
872
- }
873
-
874
- .wc-stripe-minicart-overlay.active {
875
- display: block !important;
876
- z-index: 9999;
877
- }
878
-
879
- .wc-stripe-klarna-loader {
880
- display: flex;
881
- justify-content: center;
882
- position: relative;
883
- width: 100%;
884
- height: 30px;
885
- box-sizing: border-box;
886
- transform: scale(.65);
887
- }
888
-
889
- .wc-stripe-klarna-loader div {
890
- box-sizing: border-box;
891
- display: block;
892
- position: absolute;
893
- box-sizing: border-box;
894
- width: 30px;
895
- height: 30px;
896
- border: 3px solid #000;
897
- border-radius: 50%;
898
- animation: klarna-payments-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
899
- border-color: #000 transparent transparent transparent;
900
- }
901
-
902
- .wc-stripe-klarna-loader div:nth-child(1) {
903
- animation-delay: -0.45s;
904
- }
905
-
906
- .wc-stripe-klarna-loader div:nth-child(2) {
907
- animation-delay: -0.3s;
908
- }
909
-
910
- .wc-stripe-klarna-loader div:nth-child(3) {
911
- animation-delay: -0.15s;
912
- }
913
-
914
- @keyframes klarna-payments-loader {
915
- 0% {
916
- transform: rotate(0deg);
917
- }
918
- 100% {
919
- transform: rotate(-360deg);
920
- }
921
- }
922
-
923
- li.payment_method_stripe_googlepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
924
- li.payment_method_stripe_applepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
925
- li.payment_method_stripe_payment_request.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
926
- li.payment_method_stripe_alipay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
927
- li.payment_method_stripe_bancontact.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
928
- li.payment_method_stripe_eps.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
929
- li.payment_method_stripe_giropay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
930
- li.payment_method_stripe_grabpay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
931
- li.payment_method_stripe_multibanco.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
932
- li.payment_method_stripe_p24.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
933
- li.payment_method_stripe_sofort.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
934
- li.payment_method_stripe_oxxo.wc-stripe-no-desc .payment_box.wc-stripe-no-methods {
935
- padding: 0;
936
- margin: 0;
937
- }
938
-
939
- .wc-stripe-shortcode-cart-buttons .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or {
940
- display: none;
941
- }
942
-
943
- label[for=payment_method_stripe_afterpay] > #wc-stripe-afterpay-msg {
944
- display: inline-block;
945
- }
946
-
947
- .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p,
948
- #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p,
949
- #wc-stripe-afterpay-product-msg .__PrivateStripeElement p {
950
- margin-bottom: 0 !important;
951
- margin-top: 0 !important;
952
- }
953
-
954
- .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p .AfterpayMessage-logo,
955
- #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p .AfterpayMessage-logo {
956
- vertical-align: middle;
957
- }
958
-
959
- .payment_method_stripe_afterpay #wc_stripe_local_payment_stripe_afterpay.ineligible {
960
- display: none;
961
- }
962
-
963
- .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite {
964
- text-align: center;
965
- max-width: 320px;
966
- margin: 0 auto;
967
- padding: 10px 0;
968
- }
969
-
970
- .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite img {
971
- display: inline-block;
972
- }
973
-
974
- .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite p {
975
- font-size: 14px;
976
- margin-top: 10px;
977
- }
978
-
979
- #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg {
980
- text-align: right;
981
- }
982
-
983
- #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .AfterpayMessage-logoSvg,
984
- .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .AfterpayMessage-logoSvg {
985
- min-width: 64px;
986
- max-width: 90px;
987
- }
988
-
989
- #wc-stripe-afterpay-cart-container td {
990
- border: none;
991
- }
992
-
993
- #wc-stripe-afterpay-cart-container td::before {
994
- content: '';
995
- }
996
-
997
- .AfterpayMessage-logoSvg {
998
- display: inline-block;
999
- }
1000
-
1001
- #wc-stripe-afterpay-product-msg {
1002
- font-size: 14px;
1003
- }
1004
-
1005
- #wc-stripe-afterpay-product-msg .AfterpayMessage-logoSvg {
1006
- max-width: 80px;
1007
- min-width: 64px;
1008
- }
1009
-
1010
- .wc-stripe-afterpay-minicart-msg {
1011
- font-size: 0.8em;
1012
- }
1013
-
1014
- .payment_method_stripe_afterpay.afterpay-ineligible,
1015
- .afterpay-ineligible {
1016
- display: none;
1017
- }
1018
-
1019
- .woocommerce-mini-cart__buttons .gpay-card-info-container {
1020
- min-width: 100%;
1021
- }
1022
-
1023
- .woocommerce-mini-cart__buttons .gpay-card-info-container {
1024
- margin: 0;
1025
- }
1026
-
1027
- .wc-stripe-boleto__description {
1028
- margin-top: 10px;
1029
- }
1030
-
1031
- .wc-stripe-boleto__description div {
1032
- display: flex;
1033
- align-items: center;
1034
- }
1035
-
1036
- .wc-stripe-boleto__description div label {
1037
- margin: 0;
1038
- }
1039
-
1040
- .wc-stripe-klarna__testmode {
1041
- margin-top: 10px;
1042
- }
1043
-
1044
- .wc-stripe-klarna__testmode label {
1045
- display: inline-block;
1046
- }
1047
-
1048
- div.payment_method_stripe_cc > .woocommerce-NoticeGroup {
1049
- margin-bottom: 10px;
1050
- }
1051
-
1052
- div.payment_method_stripe_cc.custom-form__bootstrap > .woocommerce-NoticeGroup {
1053
- margin-bottom: 20px;
1054
- }
1055
-
1056
- .wc-stripe-installment-container {
1057
- margin-top: 15px;
1058
- }
1059
-
1060
- .wc-stripe-installment-container p {
1061
- margin: 0;
1062
- }
1063
-
1064
- .wc-stripe-installment-container label.installment-label {
1065
- font-weight: 500;
1066
- margin: 0 0 5px 0;
1067
- position: relative;
1068
- display: flex;
1069
- align-items: center;
1070
- }
1071
-
1072
- .wc-stripe-installment-container .wc-stripe-installment-options.loading-installments {
1073
- opacity: 0.4;
1074
- }
1075
-
1076
- .wc-stripe-installment-loader__container {
1077
- flex: 1 1 auto;
1078
- }
1079
-
1080
- .wc-stripe-installment-loader__container .wc-stripe-installment-loader {
1081
- transform: scale(.55);
1082
- width: 30px;
1083
- height: 30px;
1084
- position: absolute;
1085
- top: -2px;
1086
- }
1087
-
1088
- .wc-stripe-installment-loader div {
1089
- box-sizing: border-box;
1090
- display: block;
1091
- position: absolute;
1092
- box-sizing: border-box;
1093
- width: 30px;
1094
- height: 30px;
1095
- border: 3px solid #000;
1096
- border-radius: 50%;
1097
- animation: installment-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
1098
- border-color: #000 transparent transparent transparent;
1099
- }
1100
-
1101
- .wc-stripe-installment-loader div:nth-child(1) {
1102
- animation-delay: -0.45s;
1103
- }
1104
-
1105
- .wc-stripe-installment-loader div:nth-child(2) {
1106
- animation-delay: -0.3s;
1107
- }
1108
-
1109
- .wc-stripe-installment-loader div:nth-child(3) {
1110
- animation-delay: -0.15s;
1111
- }
1112
-
1113
- @keyframes installment-loader {
1114
- 0% {
1115
- transform: rotate(0deg);
1116
- }
1117
- 100% {
1118
- transform: rotate(-360deg);
1119
- }
 
 
 
 
 
1120
  }
1
+ .wc-stripe-card-icons-container,
2
+ .wc-stripe-paymentRequest-icons-container {
3
+ float: left;
4
+ display: inline-block;
5
+ }
6
+
7
+ ul.payment_methods li[class*=payment_method] {
8
+ margin: 0;
9
+ padding: 0;
10
+ }
11
+
12
+ li[class*=payment_method] input[type=radio] {
13
+ margin: 0 5px 0 10px;
14
+ }
15
+
16
+ li[class*=payment_method] input[type=radio] + label:not(.wc-stripe-label-payment-type) {
17
+ margin: 0;
18
+ }
19
+
20
+ .woocommerce-checkout #payment ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n + 2),
21
+ ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n + 2) {
22
+ margin: 0;
23
+ }
24
+
25
+ li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon {
26
+ max-width: 43px;
27
+ max-height: 26px;
28
+ width: 43px;
29
+ height: 26px;
30
+ float: none;
31
+ display: inline;
32
+ }
33
+
34
+ li.payment_method_stripe_payment_request .wc-stripe-paymentRequest-icons-container img:not(.gpay) {
35
+ width: 25px;
36
+ height: 25px;
37
+ max-width: 25px;
38
+ max-height: 25px;
39
+ }
40
+
41
+ ul.payment_methods label[for*="payment_method_stripe"]:after {
42
+ clear: left;
43
+ content: "";
44
+ display: block;
45
+ }
46
+
47
+ li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon:nth-child(2n+2) {
48
+ margin: 0px 2px;
49
+ }
50
+
51
+ li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon.open.visa {
52
+ padding-top: 2px;
53
+ }
54
+
55
+ ul.payment_methods li[class*=payment_method_stripe_] label > img:first-of-type {
56
+ float: left !important;
57
+ }
58
+
59
+ .wc-stripe_cc-new-method-container {
60
+ margin-bottom: 1em;
61
+ }
62
+
63
+ .wc-stripe_cc-container .StripeElement:not(.payment-type) {
64
+ box-sizing: border-box;
65
+ height: 40px;
66
+ padding: 10px 12px;
67
+ border-radius: 4px;
68
+ background-color: white;
69
+ -webkit-transition: box-shadow 150ms ease;
70
+ transition: box-shadow 150ms ease;
71
+ }
72
+
73
+ input.wc-stripe-payment-type,
74
+ input.wc-stripe-klarna-category {
75
+ display: none !important;
76
+ }
77
+
78
+ body .wfacp_main_form.woocommerce .wc-stripe-save-source label.checkbox {
79
+ padding: 0 !important;
80
+ }
81
+
82
+ label.wc-stripe-label-payment-type,
83
+ input[type=radio] + label.wc-stripe-label-payment-type,
84
+ label.wc-stripe-label-klarna-category {
85
+ margin-bottom: 1em;
86
+ display: block;
87
+ padding: 0 !important;
88
+ color: #000;
89
+ }
90
+
91
+ .theme-flatsome div.wc-stripe-saved-methods-container {
92
+ margin: 0 0 1em 0;
93
+ }
94
+
95
+ label.wc-stripe-label-payment-type:before,
96
+ label.wc-stripe-label-klarna-category:before {
97
+ content: "";
98
+ display: inline-block;
99
+ width: 11px;
100
+ height: 11px;
101
+ border: 2px solid #fff;
102
+ box-shadow: 0 0 0 2px #000;
103
+ background: #fff;
104
+ margin-right: 4px;
105
+ margin-left: .5em;
106
+ border-radius: 100%;
107
+ -webkit-transform: translateY(2px);
108
+ -ms-transform: translateY(2px);
109
+ transform: translateY(2px);
110
+ }
111
+
112
+ input.wc-stripe-payment-type:checked + label.wc-stripe-label-payment-type:before,
113
+ input.wc-stripe-klarna-category:checked + label.wc-stripe-label-klarna-category:before {
114
+ background: #000;
115
+ }
116
+
117
+ label.wc-stripe-label-payment-type:after {
118
+ content: none !important;
119
+ display: none !important;
120
+ }
121
+
122
+ .wc-stripe-saved-methods-container .select2-container .select2-selection--single .select2-selection__rendered {
123
+ padding-right: 8px;
124
+ }
125
+
126
+ .wc-stripe-saved-methods-container .select2-container .select2-selection--single .wc-stripe-select2-container,
127
+ .select2-results__options li.wc-stripe-select2-container {
128
+ display: flex;
129
+ align-items: center;
130
+ height: 42px;
131
+ line-height: 42px !important;
132
+ }
133
+
134
+ .select2-container .select2-selection--single .wc-stripe-select2-container:before,
135
+ .select2-results__options li.wc-stripe-select2-container:before {
136
+ content: '';
137
+ background-repeat: no-repeat;
138
+ background-size: 40px 24px;
139
+ width: 40px;
140
+ height: 42px;
141
+ display: inline-block;
142
+ margin-left: 8px;
143
+ background-position: center;
144
+ }
145
+
146
+ .select2-container .select2-selection--single .wc-stripe-select2-container.visa:before,
147
+ .select2-results__options li.wc-stripe-select2-container.visa:before,
148
+ .select2-results__options li.wc-stripe-select2-container.visa:before {
149
+ background-image: url(../img/cards/visa.svg);
150
+ }
151
+
152
+ .select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,
153
+ .select2-results__options li.wc-stripe-select2-container.mastercard:before,
154
+ .select2-results__options li.wc-stripe-select2-container.mastercard:before {
155
+ background-image: url(../img/cards/mastercard.svg);
156
+ }
157
+
158
+ .select2-container .select2-selection--single .wc-stripe-select2-container.americanexpress:before,
159
+ .select2-results__options li.wc-stripe-select2-container.americanexpress:before,
160
+ .select2-results__options li.wc-stripe-select2-container.americanexpress:before {
161
+ background-image: url(../img/cards/amex.svg);
162
+ }
163
+
164
+ .select2-container .select2-selection--single .wc-stripe-select2-container.amex:before,
165
+ .select2-results__options li.wc-stripe-select2-container.amex:before,
166
+ .select2-results__options li.wc-stripe-select2-container.amex:before {
167
+ background-image: url(../img/cards/amex.svg);
168
+ }
169
+
170
+ .select2-container .select2-selection--single .wc-stripe-select2-container.discover:before,
171
+ .select2-results__options li.wc-stripe-select2-container.discover:before,
172
+ .select2-results__options li.wc-stripe-select2-container.discover:before {
173
+ background-image: url(../img/cards/discover.svg);
174
+ }
175
+
176
+ .select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,
177
+ .select2-results__options li.wc-stripe-select2-container.mastercard:before,
178
+ .select2-results__options li.wc-stripe-select2-container.mastercard:before {
179
+ background-image: url(../img/cards/mastercard.svg);
180
+ }
181
+
182
+ .select2-container .select2-selection--single .wc-stripe-select2-container.dinersclub:before,
183
+ .select2-results__options li.wc-stripe-select2-container.dinersclub:before,
184
+ .select2-results__options li.wc-stripe-select2-container.dinersclub:before {
185
+ background-image: url(../img/cards/diners.svg);
186
+ }
187
+
188
+ .select2-container .select2-selection--single .wc-stripe-select2-container.diners:before,
189
+ .select2-results__options li.wc-stripe-select2-container.diners:before,
190
+ .select2-results__options li.wc-stripe-select2-container.diners:before {
191
+ background-image: url(../img/cards/diners.svg);
192
+ }
193
+
194
+ .select2-container .select2-selection--single .wc-stripe-select2-container.jcb:before,
195
+ .select2-results__options li.wc-stripe-select2-container.jcb:before,
196
+ .select2-results__options li.wc-stripe-select2-container.jcb:before {
197
+ background-image: url(../img/cards/jcb.svg);
198
+ }
199
+
200
+ .select2-container .select2-selection--single .wc-stripe-select2-container.stripe_sepa:before,
201
+ .select2-results__options li.wc-stripe-select2-container.stripe_sepa:before,
202
+ .select2-results__options li.wc-stripe-select2-container.stripe_sepa:before {
203
+ background-image: url(../img/sepa.svg);
204
+ }
205
+
206
+ .select2-results__options li.wc-stripe-select2-container.wc-stripe-ach:before,
207
+ .select2-results__options li.wc-stripe-select2-container.stripe_becs:before,
208
+ .select2-container .select2-selection--single .wc-stripe-select2-container.stripe_becs:before {
209
+ display: none;
210
+ }
211
+
212
+ #wc-stripe-card-element {
213
+ margin-bottom: 1em;
214
+ }
215
+
216
+ #wc-stripe-card-element.payment-type {
217
+ height: 100%;
218
+ padding: 0px;
219
+ }
220
+
221
+ .wc-stripe_cc-new-method-container .wc-stripe-save-source {
222
+ display: flex;
223
+ align-items: center;
224
+ justify-content: flex-start;
225
+ }
226
+
227
+ .wc-stripe_cc-container .wc-stripe-save-source .save-source-label {
228
+ display: block;
229
+ padding: 0;
230
+ margin: 0 5px 0px 0;
231
+ }
232
+
233
+ .wc-stripe_cc-container .wc-stripe-save-source input[type="checkbox"][name="stripe_cc_save_source_key"] {
234
+ opacity: 0;
235
+ position: absolute;
236
+ width: 20px;
237
+ height: 20px;
238
+ }
239
+
240
+ .wc-stripe_cc-container .wc-stripe-save-source label.checkbox {
241
+ position: relative;
242
+ }
243
+
244
+ .wc-stripe_cc-container .save-source-checkbox {
245
+ height: 20px;
246
+ width: 20px;
247
+ position: relative;
248
+ background-color: white;
249
+ display: block;
250
+ border-radius: 3px;
251
+ border: 1px solid #bababa;
252
+ }
253
+
254
+ .wc-stripe_cc-container .save-source-checkbox:after {
255
+ content: "";
256
+ position: absolute;
257
+ top: 0;
258
+ right: 0;
259
+ }
260
+
261
+ .wc-stripe_cc-container .wc-stripe-save-source input[type="checkbox"]:checked + .save-source-checkbox:after {
262
+ right: 6px;
263
+ top: 2px;
264
+ width: 7px;
265
+ height: 12px;
266
+ border: solid #2196F3;
267
+ border-width: 0 0 3px 3px;
268
+ -webkit-transform: rotate(-45deg);
269
+ -ms-transform: rotate(-45deg);
270
+ transform: rotate(-45deg);
271
+ -webkit-box-sizing: border-box;
272
+ -moz-box-sizing: border-box;
273
+ box-sizing: border-box
274
+ }
275
+
276
+ li.payment_method_stripe_googlepay,
277
+ li.payment_method_stripe_applepay,
278
+ li.payment_method_stripe_payment_request {
279
+ display: none;
280
+ }
281
+
282
+ #place_order.wc-stripe-hide,
283
+ #payment #place_order.wc-stripe-hide,
284
+ .woocommerce-checkout-review-order #payment #place_order.wc-stripe-hide {
285
+ position: absolute !important;
286
+ z-index: -1000 !important;
287
+ height: 0 !important;
288
+ padding: 0 !important;
289
+ opacity: 0 !important;
290
+ }
291
+
292
+ .wc-stripe-product-checkout-container {
293
+ display: none;
294
+ width: 100%;
295
+ }
296
+
297
+ .wc-stripe-product-checkout-container.bottom {
298
+ margin-top: 1em;
299
+ }
300
+
301
+ .wc-stripe-product-checkout-container.top {
302
+ margin-bottom: 1em;
303
+ }
304
+
305
+ .wc-stripe-product-checkout-container.active {
306
+ display: block;
307
+ }
308
+
309
+ .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods,
310
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods {
311
+ list-style: none;
312
+ margin: 0px;
313
+ padding: 0px;
314
+ }
315
+
316
+ .wc-stripe-cart-checkout-container {
317
+ margin: 0;
318
+ padding: 0;
319
+ clear: both;
320
+ }
321
+
322
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods {
323
+ margin-bottom: 1.5em;
324
+ }
325
+
326
+ .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_],
327
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_] {
328
+ margin: 0 0 1em 0;
329
+ list-style: none;
330
+ }
331
+
332
+ .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child,
333
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_]:last-child {
334
+ margin: 0;
335
+ }
336
+
337
+ .wc_stripe_product_payment_methods .gpay-button,
338
+ .wc_stripe_cart_payment_methods .gpay-button,
339
+ .wc_stripe_product_payment_methods .gpay-card-info-container,
340
+ .wc_stripe_cart_payment_methods .gpay-card-info-container {
341
+ width: 100% !important;
342
+ min-width: 100%;
343
+ margin: 0;
344
+ }
345
+
346
+ .wc_stripe_product_payment_methods .disabled {
347
+ opacity: 0.45;
348
+ }
349
+
350
+ .woocommerce-cart .stripe_cart_gateway_active .wc-proceed-to-checkout .checkout-button,
351
+ .stripe_cart_gateway_active .checkout-button {
352
+ margin-bottom: 0px;
353
+ }
354
+
355
+ .wc-stripe-cart-or {
356
+ margin: 1em 0;
357
+ text-align: center;
358
+ }
359
+
360
+ li.wc-stripe-payment-method.or {
361
+ display: none;
362
+ }
363
+
364
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or {
365
+ display: block;
366
+ margin: 15px 0;
367
+ }
368
+
369
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or p {
370
+ margin: 0;
371
+ }
372
+
373
+ li[class*=payment_method_stripe_].active ~ li.wc-stripe-payment-method.or {
374
+ display: block;
375
+ margin: 0;
376
+ }
377
+
378
+ li.payment_method_stripe_applepay label:first-of-type img {
379
+ width: 49px;
380
+ max-height: 32px;
381
+ }
382
+
383
+ li.payment_method_stripe_googlepay label:first-of-type img {
384
+ width: 48px;
385
+ max-height: 35px;
386
+ }
387
+
388
+ li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_standard],
389
+ li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_standard] {
390
+ width: 60px;
391
+ max-height: 35px;
392
+ }
393
+
394
+ li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_round_outline],
395
+ li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_round_outline] {
396
+ width: 56px;
397
+ max-height: 30px;
398
+ }
399
+
400
+ li.payment_method_stripe_ach label:first-of-type img,
401
+ li.payment_method_stripe_plaid label:first-of-type img {
402
+ width: 32px;
403
+ height: 32px;
404
+ min-width: 32px;
405
+ min-height: 32px;
406
+ }
407
+
408
+ .gpay-button-container .gpay-button:hover,
409
+ .wc-stripe-checkout-banner-gateway .gpay-button:hover {
410
+ background-origin: content-box;
411
+ background-position: center center;
412
+ background-repeat: no-repeat;
413
+ background-size: contain;
414
+ }
415
+
416
+ .gpay-button:active {
417
+ background-origin: content-box;
418
+ background-position: center center;
419
+ background-repeat: no-repeat;
420
+ background-size: contain;
421
+ }
422
+
423
+ .gpay-button:focus {
424
+ background-origin: content-box;
425
+ background-position: center center;
426
+ background-repeat: no-repeat;
427
+ background-size: contain;
428
+ }
429
+
430
+ @supports (-webkit-appearance: -apple-pay-button) {
431
+ .apple-pay-button {
432
+ display: block;
433
+ -webkit-appearance: -apple-pay-button !important;
434
+ width: 100%;
435
+ max-width: 100%;
436
+ min-width: 200px;
437
+ height: 40px;
438
+ max-height: 40px;
439
+ }
440
+
441
+ .apple-pay-button-black {
442
+ -apple-pay-button-style: black;
443
+ }
444
+
445
+ .apple-pay-button-white {
446
+ -apple-pay-button-style: white;
447
+ }
448
+
449
+ .apple-pay-button-white-with-line {
450
+ -apple-pay-button-style: white-outline;
451
+ }
452
+
453
+ .woocommerce-checkout-payment .apple-pay-button {
454
+ max-width: 240px;
455
+ }
456
+
457
+ body.single-product div.product form.cart .wc_stripe_product_payment_methods .apple-pay-button {
458
+ max-width: 100%;
459
+ }
460
+ }
461
+
462
+ .wc-stripe-banner-checkout {
463
+ display: none;
464
+ padding: 0;
465
+ position: relative;
466
+ margin: 1em 0;
467
+ }
468
+
469
+ .wc-stripe-banner-checkout fieldset {
470
+ padding: 15px 25px 15px;
471
+ border: 1px solid #d1d1d1;
472
+ margin-bottom: 20px;
473
+ border-radius: 3px;
474
+ }
475
+
476
+ .wc-stripe-banner-checkout fieldset legend {
477
+ margin: 0 auto;
478
+ font-weight: 500;
479
+ padding: 0 1rem;
480
+ }
481
+
482
+ .wc-stripe-banner-checkout.active {
483
+ display: block;
484
+ }
485
+
486
+ .wc-stripe-banner-checkout span.banner-divider {
487
+ display: flex;
488
+ align-items: center;
489
+ top: -13px;
490
+ left: 0;
491
+ right: 0;
492
+ background: transparent;
493
+ white-space: nowrap;
494
+ font-size: 16px;
495
+ }
496
+
497
+ .wc-stripe-banner-checkout span.banner-divider:before,
498
+ .wc-stripe-banner-checkout span.banner-divider:after {
499
+ content: ' ';
500
+ height: 1px;
501
+ background: #d1d1d1;
502
+ display: block;
503
+ width: 50%;
504
+ }
505
+
506
+ .wc-stripe-banner-checkout span.banner-divider:before {
507
+ margin-left: 1rem;
508
+ }
509
+
510
+ .wc-stripe-banner-checkout span.banner-divider:after {
511
+ margin-right: 1rem;
512
+ }
513
+
514
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways {
515
+ list-style: none;
516
+ margin: 0;
517
+ padding: 0;
518
+ }
519
+
520
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway {
521
+ margin: 0 auto;
522
+ display: none;
523
+ max-width: 240px;
524
+ }
525
+
526
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway.active:nth-child(n+2) {
527
+ margin: 10px auto 0 auto;
528
+ }
529
+
530
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway:first-child:not(.active) + li.wc-stripe-checkout-banner-gateway.active {
531
+ margin: 0 auto;
532
+ }
533
+
534
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-button,
535
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-card-info-container {
536
+ margin: 0;
537
+ }
538
+
539
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-button,
540
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-card-info-container {
541
+ width: 100%;
542
+ }
543
+
544
+ .wc_stripe_product_payment_methods .payment_method_stripe_payment_request .StripeElement,
545
+ .wc_stripe_cart_payment_methods .payment_method_stripe_payment_request .StripeElement {
546
+ padding: 0px;
547
+ width: 100%;
548
+ }
549
+
550
+ .woocommerce-checkout #wc-stripe-payment-request-container.StripeElement {
551
+ width: 240px;
552
+ padding: 0px;
553
+ }
554
+
555
+ .wc-stripe-checkout-banner-gateway #wc-stripe-payment-request-banner.StripeElement {
556
+ width: 100%;
557
+ }
558
+
559
+ ul.payment_methods li.payment_method_stripe_p24 img {
560
+ max-width: 90px;
561
+ width: 90px;
562
+ max-height: 45px;
563
+ }
564
+
565
+ ul.payment_methods li.payment_method_stripe_ideal img {
566
+ max-width: 38px;
567
+ width: 38px;
568
+ max-height: 35px;
569
+ }
570
+
571
+ ul.payment_methods li.payment_method_stripe_fpx img {
572
+ max-width: 75px;
573
+ width: 75px;
574
+ max-height: 25px;
575
+ }
576
+
577
+ ul.payment_methods li.payment_method_stripe_klarna img {
578
+ max-width: 72px;
579
+ width: 72px;
580
+ max-height: 20px;
581
+ }
582
+
583
+ ul.payment_methods li.payment_method_stripe_klarna img[src*="klarna_pink"] {
584
+ width: 56px;
585
+ height: 32px;
586
+ max-height: 32px;
587
+ }
588
+
589
+ ul.payment_methods li.payment_method_stripe_giropay img {
590
+ max-width: 65px;
591
+ width: 65px;
592
+ max-height: 28px;
593
+ }
594
+
595
+ ul.payment_methods li.payment_method_stripe_eps img {
596
+ max-width: 70px;
597
+ width: 70px;
598
+ max-height: 46px;
599
+ }
600
+
601
+ ul.payment_methods li.payment_method_stripe_multibanco img {
602
+ max-width: 48px;
603
+ width: 48px;
604
+ max-height: 48px;
605
+ }
606
+
607
+ ul.payment_methods li.payment_method_stripe_sepa img {
608
+ max-width: 67px;
609
+ width: 67px;
610
+ max-height: 18px;
611
+ }
612
+
613
+ ul.payment_methods li.payment_method_stripe_sofort img {
614
+ max-width: 70px;
615
+ width: 70px;
616
+ max-height: 21px;
617
+ }
618
+
619
+ ul.payment_methods li.payment_method_stripe_bancontact img,
620
+ label[for=payment_method_stripe_bancontact] img {
621
+ width: 60px;
622
+ height: 42px;
623
+ max-width: 60px;
624
+ max-height: 42px;
625
+ }
626
+
627
+ ul.payment_methods li.payment_method_stripe_wechat label img {
628
+ max-width: 82px;
629
+ width: 82px;
630
+ max-height: 23px;
631
+ }
632
+
633
+ ul.payment_methods li.payment_method_stripe_alipay img {
634
+ max-width: 72px;
635
+ width: 72px;
636
+ height: 36px;
637
+ max-height: 36px;
638
+ }
639
+
640
+ ul.payment_methods li.payment_method_stripe_grabpay img {
641
+ max-width: 95px;
642
+ width: 95px;
643
+ max-height: 28px;
644
+ }
645
+
646
+ ul.payment_methods li.payment_method_stripe_oxxo img {
647
+ max-width: 52px;
648
+ width: 52px;
649
+ max-height: 24px;
650
+ }
651
+
652
+ #wc-stripe-card-element {
653
+ width: 100%;
654
+ }
655
+
656
+ li.banner_payment_method_stripe_payment_request .StripeElement {
657
+ padding: 0px;
658
+ }
659
+
660
+ .single-product .blockMsg {
661
+ border: none !important;
662
+ background-color: transparent !important;
663
+ }
664
+
665
+ #wc-stripe-card {
666
+ position: absolute !important;
667
+ top: 50%;
668
+ left: 8px;
669
+ transform: translatey(-50%);
670
+ width: 23px;
671
+ height: 15px;
672
+ padding: 0px;
673
+ border: none;
674
+ }
675
+
676
+ #wc-stripe-card.active {
677
+ width: 32px;
678
+ height: 20px;
679
+ }
680
+
681
+ input[id=stripe-postal-code]:focus {
682
+ outline: none;
683
+ background: transparent;
684
+ border: none;
685
+ box-shadow: none;
686
+ }
687
+
688
+ div.postalCode:focus {
689
+ outline: none;
690
+ border: none;
691
+ }
692
+
693
+ li[class*="payment_method_stripe"] .select2-container .select2-selection--single {
694
+ height: 42px;
695
+ padding: 0 5px;
696
+ }
697
+
698
+ li[class*="payment_method_stripe"] .select2-container--default .select2-selection--single .select2-selection__arrow {
699
+ height: 42px;
700
+ top: 1px;
701
+ left: 1px;
702
+ transform: translateY(0);
703
+ }
704
+
705
+ .blockUI.blockMsg {
706
+ font-size: 20px;
707
+ white-space: nowrap;
708
+ }
709
+
710
+ #wc-stripe-payment-request-container.disabled {
711
+ opacity: 0.45;
712
+ }
713
+
714
+ .wc-stripe-paymentRequest-icons-container img {
715
+ float: none;
716
+ }
717
+
718
+ .select2-container .select2-selection--single .wc-stripe-select2-container.wc-stripe-ach:before {
719
+ display: none;
720
+ }
721
+
722
+ ul.wc_stripe_cart_payment_methods li.wc-stripe-payment-method button,
723
+ ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_] button,
724
+ ul.wc_stripe_checkout_banner_gateways li button {
725
+ margin: 0;
726
+ }
727
+
728
+ ul.payment_methods li[class*=payment_method] {
729
+ margin: 0;
730
+ padding: 10px 0;
731
+ }
732
+
733
+ ul.payment_methods li[class*=payment_method] input[name=payment_method] {
734
+ margin: 0 5px 0 10px;
735
+ float: none;
736
+ }
737
+
738
+ ul.payment_methods li[class*=payment_method] > input[name=payment_method] + label {
739
+ padding-top: 0;
740
+ padding-left: 0;
741
+ padding-bottom: 0;
742
+ }
743
+
744
+ ul.payment_methods {
745
+ list-style: none;
746
+ }
747
+
748
+ ul.payment_methods li[class*=payment_method_stripe_] .wc-stripe_cc-new-method-container label:before {
749
+ display: none;
750
+ }
751
+
752
+ .wc-stripe_cc-container .wc-stripe-save-source label.checkbox {
753
+ padding: 0 !important;
754
+ margin: 0px;
755
+ }
756
+
757
+ div[id*=wc_stripe_local_payment_stripe_].StripeElement {
758
+ border: 1px solid #eee;
759
+ border-radius: 4px;
760
+ }
761
+
762
+ #payment .payment_methods li #wc_stripe_local_payment_stripe_wechat img,
763
+ #wc_stripe_local_payment_stripe_wechat img {
764
+ max-height: 100%;
765
+ float: none;
766
+ }
767
+
768
+ .qrcode-message {
769
+ margin: 10px 0 0 0;
770
+ }
771
+
772
+ #wc_stripe_local_payment_stripe_sepa,
773
+ #wc_stripe_local_payment_stripe_becs {
774
+ padding: 10px 12px;
775
+ box-shadow: 0 1px 3px 0 #e6ebf1;
776
+ }
777
+
778
+ .wc-stripe-local-desc.stripe_sepa,
779
+ .wc-stripe-local-desc.stripe_becs {
780
+ margin: 10px 0;
781
+ }
782
+
783
+ .wc-stripe-clear {
784
+ clear: both;
785
+ height: 0;
786
+ visibility: hidden;
787
+ }
788
+
789
+ .wc-stripe-gateway-desc p {
790
+ margin: 0;
791
+ }
792
+
793
+ #wc_stripe_local_payment_stripe_klarna,
794
+ li[class*=payment_method_stripe_] div.wc-stripe-gateway-container.has_tokens {
795
+ margin-top: 10px;
796
+ }
797
+
798
+ .wc-stripe-gateway-desc {
799
+ margin-top: 10px;
800
+ }
801
+
802
+ #wc-stripe-card-element.StripeElement--webkit-autofill {
803
+ background-color: transparent !important;
804
+ }
805
+
806
+ #wc_stripe_local_payment_stripe_klarna .stripe-klarna-categories {
807
+ list-style: none;
808
+ margin: 0;
809
+ padding: 10px;
810
+ }
811
+
812
+ li.payment_method_stripe_klarna,
813
+ li.payment_method_stripe_alipay,
814
+ li.payment_method_stripe_bancontact,
815
+ li.payment_method_stripe_becs,
816
+ li.payment_method_stripe_eps,
817
+ li.payment_method_stripe_fpx,
818
+ li.payment_method_stripe_giropay,
819
+ li.payment_method_stripe_ideal,
820
+ li.payment_method_stripe_multibanco,
821
+ li.payment_method_stripe_p24,
822
+ li.payment_method_stripe_sepa,
823
+ li.payment_method_stripe_sofort,
824
+ li.payment_method_stripe_wechat {
825
+ display: none;
826
+ }
827
+
828
+ .widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods {
829
+ list-style: none;
830
+ margin: 0;
831
+ padding: 0;
832
+ }
833
+
834
+ .widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods li {
835
+ margin: 0;
836
+ }
837
+
838
+ .widget_shopping_cart_content a.wc-stripe-gpay-mini-cart,
839
+ .widget_shopping_cart_content a.wc-stripe-applepay-mini-cart,
840
+ .widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart {
841
+ background: transparent;
842
+ padding: 0;
843
+ border: none;
844
+ }
845
+
846
+ a.wc-stripe-gpay-mini-cart .gpay-button,
847
+ a.wc-stripe-gpay-mini-cart .gpay-card-info-container
848
+ a.wc-stripe-applepay-mini-cart .apple-pay-button {
849
+ width: 100%;
850
+ margin: 0;
851
+ }
852
+
853
+ .wc-stripe-payment-request-mini-cart.StripeElement {
854
+ padding: 0;
855
+ background: transparent;
856
+ border: none;
857
+ width: 100%;
858
+ }
859
+
860
+ .wc-stripe-payment-request-mini-cart.StripeElement .__PrivateStripeElement {
861
+ width: 100%;
862
+ }
863
+
864
+ .wc-stripe-minicart-overlay {
865
+ display: none !important;
866
+ position: absolute;
867
+ background: rgba(255, 255, 255, 0.75);
868
+ height: 100%;
869
+ width: 100%;
870
+ z-index: -1;
871
+ top: 0;
872
+ right: 0;
873
+ }
874
+
875
+ .wc-stripe-minicart-overlay.active {
876
+ display: block !important;
877
+ z-index: 9999;
878
+ }
879
+
880
+ .wc-stripe-klarna-loader {
881
+ display: flex;
882
+ justify-content: center;
883
+ position: relative;
884
+ width: 100%;
885
+ height: 30px;
886
+ box-sizing: border-box;
887
+ transform: scale(.65);
888
+ }
889
+
890
+ .wc-stripe-klarna-loader div {
891
+ box-sizing: border-box;
892
+ display: block;
893
+ position: absolute;
894
+ box-sizing: border-box;
895
+ width: 30px;
896
+ height: 30px;
897
+ border: 3px solid #000;
898
+ border-radius: 50%;
899
+ animation: klarna-payments-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
900
+ border-color: #000 transparent transparent transparent;
901
+ }
902
+
903
+ .wc-stripe-klarna-loader div:nth-child(1) {
904
+ animation-delay: -0.45s;
905
+ }
906
+
907
+ .wc-stripe-klarna-loader div:nth-child(2) {
908
+ animation-delay: -0.3s;
909
+ }
910
+
911
+ .wc-stripe-klarna-loader div:nth-child(3) {
912
+ animation-delay: -0.15s;
913
+ }
914
+
915
+ @keyframes klarna-payments-loader {
916
+ 0% {
917
+ transform: rotate(0deg);
918
+ }
919
+ 100% {
920
+ transform: rotate(-360deg);
921
+ }
922
+ }
923
+
924
+ li.payment_method_stripe_googlepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
925
+ li.payment_method_stripe_applepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
926
+ li.payment_method_stripe_payment_request.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
927
+ li.payment_method_stripe_alipay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
928
+ li.payment_method_stripe_bancontact.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
929
+ li.payment_method_stripe_eps.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
930
+ li.payment_method_stripe_giropay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
931
+ li.payment_method_stripe_grabpay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
932
+ li.payment_method_stripe_multibanco.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
933
+ li.payment_method_stripe_p24.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
934
+ li.payment_method_stripe_sofort.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
935
+ li.payment_method_stripe_oxxo.wc-stripe-no-desc .payment_box.wc-stripe-no-methods {
936
+ padding: 0;
937
+ margin: 0;
938
+ }
939
+
940
+ .wc-stripe-shortcode-cart-buttons .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or {
941
+ display: none;
942
+ }
943
+
944
+ label[for=payment_method_stripe_afterpay] > #wc-stripe-afterpay-msg {
945
+ display: inline-block;
946
+ }
947
+
948
+ .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p,
949
+ #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p,
950
+ #wc-stripe-afterpay-product-msg .__PrivateStripeElement p {
951
+ margin-bottom: 0 !important;
952
+ margin-top: 0 !important;
953
+ }
954
+
955
+ .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p .AfterpayMessage-logo,
956
+ #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p .AfterpayMessage-logo {
957
+ vertical-align: middle;
958
+ }
959
+
960
+ .payment_method_stripe_afterpay #wc_stripe_local_payment_stripe_afterpay.ineligible {
961
+ display: none;
962
+ }
963
+
964
+ .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite {
965
+ text-align: center;
966
+ max-width: 320px;
967
+ margin: 0 auto;
968
+ padding: 10px 0;
969
+ }
970
+
971
+ .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite img {
972
+ display: inline-block;
973
+ }
974
+
975
+ .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite p {
976
+ font-size: 14px;
977
+ margin-top: 10px;
978
+ }
979
+
980
+ #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg {
981
+ text-align: right;
982
+ }
983
+
984
+ #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .AfterpayMessage-logoSvg,
985
+ .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .AfterpayMessage-logoSvg {
986
+ min-width: 64px;
987
+ max-width: 90px;
988
+ }
989
+
990
+ #wc-stripe-afterpay-cart-container td {
991
+ border: none;
992
+ }
993
+
994
+ #wc-stripe-afterpay-cart-container td::before {
995
+ content: '';
996
+ }
997
+
998
+ .AfterpayMessage-logoSvg {
999
+ display: inline-block;
1000
+ }
1001
+
1002
+ #wc-stripe-afterpay-product-msg {
1003
+ font-size: 14px;
1004
+ }
1005
+
1006
+ #wc-stripe-afterpay-product-msg .AfterpayMessage-logoSvg {
1007
+ max-width: 80px;
1008
+ min-width: 64px;
1009
+ }
1010
+
1011
+ .wc-stripe-afterpay-minicart-msg {
1012
+ font-size: 0.8em;
1013
+ }
1014
+
1015
+ .payment_method_stripe_afterpay.afterpay-ineligible,
1016
+ .afterpay-ineligible {
1017
+ display: none;
1018
+ }
1019
+
1020
+ .woocommerce-mini-cart__buttons .gpay-card-info-container {
1021
+ min-width: 100%;
1022
+ }
1023
+
1024
+ .woocommerce-mini-cart__buttons .gpay-card-info-container {
1025
+ margin: 0;
1026
+ }
1027
+
1028
+ .wc-stripe-boleto__description {
1029
+ margin-top: 10px;
1030
+ }
1031
+
1032
+ .wc-stripe-boleto__description div {
1033
+ display: flex;
1034
+ align-items: center;
1035
+ }
1036
+
1037
+ .wc-stripe-boleto__description div label {
1038
+ margin: 0;
1039
+ }
1040
+
1041
+ .wc-stripe-klarna__testmode {
1042
+ margin-top: 10px;
1043
+ }
1044
+
1045
+ .wc-stripe-klarna__testmode label {
1046
+ display: inline-block;
1047
+ }
1048
+
1049
+ div.payment_method_stripe_cc > .woocommerce-NoticeGroup {
1050
+ margin-bottom: 10px;
1051
+ }
1052
+
1053
+ div.payment_method_stripe_cc.custom-form__bootstrap > .woocommerce-NoticeGroup {
1054
+ margin-bottom: 20px;
1055
+ }
1056
+
1057
+ .wc-stripe-installment-container {
1058
+ margin-top: 15px;
1059
+ }
1060
+
1061
+ .wc-stripe-installment-container p {
1062
+ margin: 0;
1063
+ }
1064
+
1065
+ .wc-stripe-installment-container label.installment-label {
1066
+ font-weight: 500;
1067
+ margin: 0 0 5px 0;
1068
+ position: relative;
1069
+ display: flex;
1070
+ align-items: center;
1071
+ }
1072
+
1073
+ .wc-stripe-installment-container .wc-stripe-installment-options.loading-installments {
1074
+ opacity: 0.4;
1075
+ }
1076
+
1077
+ .wc-stripe-installment-loader__container {
1078
+ flex: 1 1 auto;
1079
+ }
1080
+
1081
+ .wc-stripe-installment-loader__container .wc-stripe-installment-loader {
1082
+ transform: scale(.55);
1083
+ width: 30px;
1084
+ height: 30px;
1085
+ position: absolute;
1086
+ top: -2px;
1087
+ }
1088
+
1089
+ .wc-stripe-installment-loader div {
1090
+ box-sizing: border-box;
1091
+ display: block;
1092
+ position: absolute;
1093
+ box-sizing: border-box;
1094
+ width: 30px;
1095
+ height: 30px;
1096
+ border: 3px solid #000;
1097
+ border-radius: 50%;
1098
+ animation: installment-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
1099
+ border-color: #000 transparent transparent transparent;
1100
+ }
1101
+
1102
+ .wc-stripe-installment-loader div:nth-child(1) {
1103
+ animation-delay: -0.45s;
1104
+ }
1105
+
1106
+ .wc-stripe-installment-loader div:nth-child(2) {
1107
+ animation-delay: -0.3s;
1108
+ }
1109
+
1110
+ .wc-stripe-installment-loader div:nth-child(3) {
1111
+ animation-delay: -0.15s;
1112
+ }
1113
+
1114
+ @keyframes installment-loader {
1115
+ 0% {
1116
+ transform: rotate(0deg);
1117
+ }
1118
+ 100% {
1119
+ transform: rotate(-360deg);
1120
+ }
1121
+ }
1122
+
1123
+ #wc-stripe-ach-container .wc-stripe-ach__mandate {
1124
+ margin: 10px 0;
1125
  }
assets/css/stripe.css CHANGED
@@ -1,1120 +1,1125 @@
1
- .wc-stripe-card-icons-container,
2
- .wc-stripe-paymentRequest-icons-container {
3
- float: right;
4
- display: inline-block;
5
- }
6
-
7
- ul.payment_methods li[class*=payment_method] {
8
- margin: 0;
9
- padding: 0;
10
- }
11
-
12
- li[class*=payment_method] input[type=radio] {
13
- margin: 0 10px 0 5px;
14
- }
15
-
16
- li[class*=payment_method] input[type=radio] + label:not(.wc-stripe-label-payment-type) {
17
- margin: 0;
18
- }
19
-
20
- .woocommerce-checkout #payment ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n + 2),
21
- ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n + 2) {
22
- margin: 0;
23
- }
24
-
25
- li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon {
26
- max-width: 43px;
27
- max-height: 26px;
28
- width: 43px;
29
- height: 26px;
30
- float: none;
31
- display: inline;
32
- }
33
-
34
- li.payment_method_stripe_payment_request .wc-stripe-paymentRequest-icons-container img:not(.gpay) {
35
- width: 25px;
36
- height: 25px;
37
- max-width: 25px;
38
- max-height: 25px;
39
- }
40
-
41
- ul.payment_methods label[for*="payment_method_stripe"]:after {
42
- clear: right;
43
- content: "";
44
- display: block;
45
- }
46
-
47
- li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon:nth-child(2n+2) {
48
- margin: 0px 2px;
49
- }
50
-
51
- li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon.open.visa {
52
- padding-top: 2px;
53
- }
54
-
55
- ul.payment_methods li[class*=payment_method_stripe_] label > img:first-of-type {
56
- float: right !important;
57
- }
58
-
59
- .wc-stripe_cc-new-method-container {
60
- margin-bottom: 1em;
61
- }
62
-
63
- .wc-stripe_cc-container .StripeElement {
64
- box-sizing: border-box;
65
- height: 40px;
66
- padding: 10px 12px;
67
- border-radius: 4px;
68
- background-color: white;
69
- -webkit-transition: box-shadow 150ms ease;
70
- transition: box-shadow 150ms ease;
71
- }
72
-
73
- input.wc-stripe-payment-type,
74
- input.wc-stripe-klarna-category {
75
- display: none !important;
76
- }
77
-
78
- body .wfacp_main_form.woocommerce .wc-stripe-save-source label.checkbox {
79
- padding: 0 !important;
80
- }
81
-
82
- label.wc-stripe-label-payment-type,
83
- input[type=radio] + label.wc-stripe-label-payment-type,
84
- label.wc-stripe-label-klarna-category {
85
- margin-bottom: 1em;
86
- display: block;
87
- padding: 0 !important;
88
- color: #000;
89
- }
90
-
91
- .theme-flatsome div.wc-stripe-saved-methods-container {
92
- margin: 0 0 1em 0;
93
- }
94
-
95
- label.wc-stripe-label-payment-type:before,
96
- label.wc-stripe-label-klarna-category:before {
97
- content: "";
98
- display: inline-block;
99
- width: 11px;
100
- height: 11px;
101
- border: 2px solid #fff;
102
- box-shadow: 0 0 0 2px #000;
103
- background: #fff;
104
- margin-left: 4px;
105
- margin-right: .5em;
106
- border-radius: 100%;
107
- -webkit-transform: translateY(2px);
108
- -ms-transform: translateY(2px);
109
- transform: translateY(2px);
110
- }
111
-
112
- input.wc-stripe-payment-type:checked + label.wc-stripe-label-payment-type:before,
113
- input.wc-stripe-klarna-category:checked + label.wc-stripe-label-klarna-category:before {
114
- background: #000;
115
- }
116
-
117
- label.wc-stripe-label-payment-type:after {
118
- content: none !important;
119
- display: none !important;
120
- }
121
-
122
- .wc-stripe-saved-methods-container .select2-container .select2-selection--single .select2-selection__rendered {
123
- padding-left: 8px;
124
- }
125
-
126
- .wc-stripe-saved-methods-container .select2-container .select2-selection--single .wc-stripe-select2-container,
127
- .select2-results__options li.wc-stripe-select2-container {
128
- display: flex;
129
- align-items: center;
130
- height: 42px;
131
- line-height: 42px !important;
132
- }
133
-
134
- .select2-container .select2-selection--single .wc-stripe-select2-container:before,
135
- .select2-results__options li.wc-stripe-select2-container:before {
136
- content: '';
137
- background-repeat: no-repeat;
138
- background-size: 40px 24px;
139
- width: 40px;
140
- height: 42px;
141
- display: inline-block;
142
- margin-right: 8px;
143
- background-position: center;
144
- }
145
-
146
- .select2-container .select2-selection--single .wc-stripe-select2-container.visa:before,
147
- .select2-results__options li.wc-stripe-select2-container.visa:before,
148
- .select2-results__options li.wc-stripe-select2-container.visa:before {
149
- background-image: url(../img/cards/visa.svg);
150
- }
151
-
152
- .select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,
153
- .select2-results__options li.wc-stripe-select2-container.mastercard:before,
154
- .select2-results__options li.wc-stripe-select2-container.mastercard:before {
155
- background-image: url(../img/cards/mastercard.svg);
156
- }
157
-
158
- .select2-container .select2-selection--single .wc-stripe-select2-container.americanexpress:before,
159
- .select2-results__options li.wc-stripe-select2-container.americanexpress:before,
160
- .select2-results__options li.wc-stripe-select2-container.americanexpress:before {
161
- background-image: url(../img/cards/amex.svg);
162
- }
163
-
164
- .select2-container .select2-selection--single .wc-stripe-select2-container.amex:before,
165
- .select2-results__options li.wc-stripe-select2-container.amex:before,
166
- .select2-results__options li.wc-stripe-select2-container.amex:before {
167
- background-image: url(../img/cards/amex.svg);
168
- }
169
-
170
- .select2-container .select2-selection--single .wc-stripe-select2-container.discover:before,
171
- .select2-results__options li.wc-stripe-select2-container.discover:before,
172
- .select2-results__options li.wc-stripe-select2-container.discover:before {
173
- background-image: url(../img/cards/discover.svg);
174
- }
175
-
176
- .select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,
177
- .select2-results__options li.wc-stripe-select2-container.mastercard:before,
178
- .select2-results__options li.wc-stripe-select2-container.mastercard:before {
179
- background-image: url(../img/cards/mastercard.svg);
180
- }
181
-
182
- .select2-container .select2-selection--single .wc-stripe-select2-container.dinersclub:before,
183
- .select2-results__options li.wc-stripe-select2-container.dinersclub:before,
184
- .select2-results__options li.wc-stripe-select2-container.dinersclub:before {
185
- background-image: url(../img/cards/diners.svg);
186
- }
187
-
188
- .select2-container .select2-selection--single .wc-stripe-select2-container.diners:before,
189
- .select2-results__options li.wc-stripe-select2-container.diners:before,
190
- .select2-results__options li.wc-stripe-select2-container.diners:before {
191
- background-image: url(../img/cards/diners.svg);
192
- }
193
-
194
- .select2-container .select2-selection--single .wc-stripe-select2-container.jcb:before,
195
- .select2-results__options li.wc-stripe-select2-container.jcb:before,
196
- .select2-results__options li.wc-stripe-select2-container.jcb:before {
197
- background-image: url(../img/cards/jcb.svg);
198
- }
199
-
200
- .select2-container .select2-selection--single .wc-stripe-select2-container.stripe_sepa:before,
201
- .select2-results__options li.wc-stripe-select2-container.stripe_sepa:before,
202
- .select2-results__options li.wc-stripe-select2-container.stripe_sepa:before {
203
- background-image: url(../img/sepa.svg);
204
- }
205
-
206
- .select2-results__options li.wc-stripe-select2-container.wc-stripe-ach:before,
207
- .select2-results__options li.wc-stripe-select2-container.stripe_becs:before,
208
- .select2-container .select2-selection--single .wc-stripe-select2-container.stripe_becs:before {
209
- display: none;
210
- }
211
-
212
- #wc-stripe-card-element {
213
- margin-bottom: 1em;
214
- }
215
-
216
- #wc-stripe-card-element.payment-type {
217
- height: 100%;
218
- padding: 0px;
219
- }
220
-
221
- .wc-stripe_cc-new-method-container .wc-stripe-save-source {
222
- display: flex;
223
- align-items: center;
224
- justify-content: flex-start;
225
- }
226
-
227
- .wc-stripe_cc-container .wc-stripe-save-source .save-source-label {
228
- display: block;
229
- padding: 0;
230
- margin: 0 0 0px 5px;
231
- }
232
-
233
- .wc-stripe_cc-container .wc-stripe-save-source input[type="checkbox"][name="stripe_cc_save_source_key"] {
234
- opacity: 0;
235
- position: absolute;
236
- width: 20px;
237
- height: 20px;
238
- }
239
-
240
- .wc-stripe_cc-container .wc-stripe-save-source label.checkbox {
241
- position: relative;
242
- }
243
-
244
- .wc-stripe_cc-container .save-source-checkbox {
245
- height: 20px;
246
- width: 20px;
247
- position: relative;
248
- background-color: white;
249
- display: block;
250
- border-radius: 3px;
251
- border: 1px solid #bababa;
252
- }
253
-
254
- .wc-stripe_cc-container .save-source-checkbox:after {
255
- content: "";
256
- position: absolute;
257
- top: 0;
258
- left: 0;
259
- }
260
-
261
- .wc-stripe_cc-container .wc-stripe-save-source input[type="checkbox"]:checked + .save-source-checkbox:after {
262
- left: 6px;
263
- top: 2px;
264
- width: 7px;
265
- height: 12px;
266
- border: solid #2196F3;
267
- border-width: 0 3px 3px 0;
268
- -webkit-transform: rotate(45deg);
269
- -ms-transform: rotate(45deg);
270
- transform: rotate(45deg);
271
- -webkit-box-sizing: border-box;
272
- -moz-box-sizing: border-box;
273
- box-sizing: border-box
274
- }
275
-
276
- li.payment_method_stripe_googlepay,
277
- li.payment_method_stripe_applepay,
278
- li.payment_method_stripe_payment_request {
279
- display: none;
280
- }
281
-
282
- #place_order.wc-stripe-hide,
283
- #payment #place_order.wc-stripe-hide,
284
- .woocommerce-checkout-review-order #payment #place_order.wc-stripe-hide {
285
- position: absolute !important;
286
- z-index: -1000 !important;
287
- height: 0 !important;
288
- padding: 0 !important;
289
- opacity: 0 !important;
290
- }
291
-
292
- .wc-stripe-product-checkout-container {
293
- display: none;
294
- width: 100%;
295
- }
296
-
297
- .wc-stripe-product-checkout-container.bottom {
298
- margin-top: 1em;
299
- }
300
-
301
- .wc-stripe-product-checkout-container.top {
302
- margin-bottom: 1em;
303
- }
304
-
305
- .wc-stripe-product-checkout-container.active {
306
- display: block;
307
- }
308
-
309
- .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods,
310
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods {
311
- list-style: none;
312
- margin: 0px;
313
- padding: 0px;
314
- }
315
-
316
- .wc-stripe-cart-checkout-container {
317
- margin: 0;
318
- padding: 0;
319
- clear: both;
320
- }
321
-
322
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods {
323
- margin-bottom: 1.5em;
324
- }
325
-
326
- .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_],
327
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_] {
328
- margin: 0 0 1em 0;
329
- list-style: none;
330
- }
331
-
332
- .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child,
333
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_]:last-child {
334
- margin: 0;
335
- }
336
-
337
- .wc_stripe_product_payment_methods .gpay-button,
338
- .wc_stripe_cart_payment_methods .gpay-button,
339
- .wc_stripe_product_payment_methods .gpay-card-info-container,
340
- .wc_stripe_cart_payment_methods .gpay-card-info-container {
341
- width: 100% !important;
342
- min-width: 100%;
343
- margin: 0;
344
- }
345
-
346
- .wc_stripe_product_payment_methods .disabled {
347
- opacity: 0.45;
348
- }
349
-
350
- .woocommerce-cart .stripe_cart_gateway_active .wc-proceed-to-checkout .checkout-button,
351
- .stripe_cart_gateway_active .checkout-button {
352
- margin-bottom: 0px;
353
- }
354
-
355
- .wc-stripe-cart-or {
356
- margin: 1em 0;
357
- text-align: center;
358
- }
359
-
360
- li.wc-stripe-payment-method.or {
361
- display: none;
362
- }
363
-
364
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or {
365
- display: block;
366
- margin: 15px 0;
367
- }
368
-
369
- .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or p {
370
- margin: 0;
371
- }
372
-
373
- li[class*=payment_method_stripe_].active ~ li.wc-stripe-payment-method.or {
374
- display: block;
375
- margin: 0;
376
- }
377
-
378
- li.payment_method_stripe_applepay label:first-of-type img {
379
- width: 49px;
380
- max-height: 32px;
381
- }
382
-
383
- li.payment_method_stripe_googlepay label:first-of-type img {
384
- width: 48px;
385
- max-height: 35px;
386
- }
387
-
388
- li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_standard],
389
- li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_standard] {
390
- width: 60px;
391
- max-height: 35px;
392
- }
393
-
394
- li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_round_outline],
395
- li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_round_outline] {
396
- width: 56px;
397
- max-height: 30px;
398
- }
399
-
400
- li.payment_method_stripe_ach label:first-of-type img {
401
- width: 32px;
402
- height: 32px;
403
- min-width: 32px;
404
- min-height: 32px;
405
- }
406
-
407
- .gpay-button-container .gpay-button:hover,
408
- .wc-stripe-checkout-banner-gateway .gpay-button:hover {
409
- background-origin: content-box;
410
- background-position: center center;
411
- background-repeat: no-repeat;
412
- background-size: contain;
413
- }
414
-
415
- .gpay-button:active {
416
- background-origin: content-box;
417
- background-position: center center;
418
- background-repeat: no-repeat;
419
- background-size: contain;
420
- }
421
-
422
- .gpay-button:focus {
423
- background-origin: content-box;
424
- background-position: center center;
425
- background-repeat: no-repeat;
426
- background-size: contain;
427
- }
428
-
429
- @supports (-webkit-appearance: -apple-pay-button) {
430
- .apple-pay-button {
431
- display: block;
432
- -webkit-appearance: -apple-pay-button !important;
433
- width: 100%;
434
- max-width: 100%;
435
- min-width: 200px;
436
- height: 40px;
437
- max-height: 40px;
438
- }
439
-
440
- .apple-pay-button-black {
441
- -apple-pay-button-style: black;
442
- }
443
-
444
- .apple-pay-button-white {
445
- -apple-pay-button-style: white;
446
- }
447
-
448
- .apple-pay-button-white-with-line {
449
- -apple-pay-button-style: white-outline;
450
- }
451
-
452
- .woocommerce-checkout-payment .apple-pay-button {
453
- max-width: 240px;
454
- }
455
-
456
- body.single-product div.product form.cart .wc_stripe_product_payment_methods .apple-pay-button {
457
- max-width: 100%;
458
- }
459
- }
460
-
461
- .wc-stripe-banner-checkout {
462
- display: none;
463
- padding: 0;
464
- position: relative;
465
- margin: 1em 0;
466
- }
467
-
468
- .wc-stripe-banner-checkout fieldset {
469
- padding: 15px 25px 15px;
470
- border: 1px solid #d1d1d1;
471
- margin-bottom: 20px;
472
- border-radius: 3px;
473
- }
474
-
475
- .wc-stripe-banner-checkout fieldset legend {
476
- margin: 0 auto;
477
- font-weight: 500;
478
- padding: 0 1rem;
479
- }
480
-
481
- .wc-stripe-banner-checkout.active {
482
- display: block;
483
- }
484
-
485
- .wc-stripe-banner-checkout span.banner-divider {
486
- display: flex;
487
- align-items: center;
488
- top: -13px;
489
- right: 0;
490
- left: 0;
491
- background: transparent;
492
- white-space: nowrap;
493
- font-size: 16px;
494
- }
495
-
496
- .wc-stripe-banner-checkout span.banner-divider:before,
497
- .wc-stripe-banner-checkout span.banner-divider:after {
498
- content: ' ';
499
- height: 1px;
500
- background: #d1d1d1;
501
- display: block;
502
- width: 50%;
503
- }
504
-
505
- .wc-stripe-banner-checkout span.banner-divider:before {
506
- margin-right: 1rem;
507
- }
508
-
509
- .wc-stripe-banner-checkout span.banner-divider:after {
510
- margin-left: 1rem;
511
- }
512
-
513
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways {
514
- list-style: none;
515
- margin: 0;
516
- padding: 0;
517
- }
518
-
519
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway {
520
- margin: 0 auto;
521
- display: none;
522
- max-width: 240px;
523
- }
524
-
525
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway.active:nth-child(n+2) {
526
- margin: 10px auto 0 auto;
527
- }
528
-
529
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway:first-child:not(.active) + li.wc-stripe-checkout-banner-gateway.active {
530
- margin: 0 auto;
531
- }
532
-
533
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-button,
534
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-card-info-container {
535
- margin: 0;
536
- }
537
-
538
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-button,
539
- .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-card-info-container {
540
- width: 100%;
541
- }
542
-
543
- .wc_stripe_product_payment_methods .payment_method_stripe_payment_request .StripeElement,
544
- .wc_stripe_cart_payment_methods .payment_method_stripe_payment_request .StripeElement {
545
- padding: 0px;
546
- width: 100%;
547
- }
548
-
549
- .woocommerce-checkout #wc-stripe-payment-request-container.StripeElement {
550
- width: 240px;
551
- padding: 0px;
552
- }
553
-
554
- .wc-stripe-checkout-banner-gateway #wc-stripe-payment-request-banner.StripeElement {
555
- width: 100%;
556
- }
557
-
558
- ul.payment_methods li.payment_method_stripe_p24 img {
559
- max-width: 90px;
560
- width: 90px;
561
- max-height: 45px;
562
- }
563
-
564
- ul.payment_methods li.payment_method_stripe_ideal img {
565
- max-width: 38px;
566
- width: 38px;
567
- max-height: 35px;
568
- }
569
-
570
- ul.payment_methods li.payment_method_stripe_fpx img {
571
- max-width: 75px;
572
- width: 75px;
573
- max-height: 25px;
574
- }
575
-
576
- ul.payment_methods li.payment_method_stripe_klarna img {
577
- max-width: 72px;
578
- width: 72px;
579
- max-height: 20px;
580
- }
581
-
582
- ul.payment_methods li.payment_method_stripe_klarna img[src*="klarna_pink"] {
583
- width: 56px;
584
- height: 32px;
585
- max-height: 32px;
586
- }
587
-
588
- ul.payment_methods li.payment_method_stripe_giropay img {
589
- max-width: 65px;
590
- width: 65px;
591
- max-height: 28px;
592
- }
593
-
594
- ul.payment_methods li.payment_method_stripe_eps img {
595
- max-width: 70px;
596
- width: 70px;
597
- max-height: 46px;
598
- }
599
-
600
- ul.payment_methods li.payment_method_stripe_multibanco img {
601
- max-width: 48px;
602
- width: 48px;
603
- max-height: 48px;
604
- }
605
-
606
- ul.payment_methods li.payment_method_stripe_sepa img {
607
- max-width: 67px;
608
- width: 67px;
609
- max-height: 18px;
610
- }
611
-
612
- ul.payment_methods li.payment_method_stripe_sofort img {
613
- max-width: 70px;
614
- width: 70px;
615
- max-height: 21px;
616
- }
617
-
618
- ul.payment_methods li.payment_method_stripe_bancontact img,
619
- label[for=payment_method_stripe_bancontact] img {
620
- width: 60px;
621
- height: 42px;
622
- max-width: 60px;
623
- max-height: 42px;
624
- }
625
-
626
- ul.payment_methods li.payment_method_stripe_wechat label img {
627
- max-width: 82px;
628
- width: 82px;
629
- max-height: 23px;
630
- }
631
-
632
- ul.payment_methods li.payment_method_stripe_alipay img {
633
- max-width: 72px;
634
- width: 72px;
635
- height: 36px;
636
- max-height: 36px;
637
- }
638
-
639
- ul.payment_methods li.payment_method_stripe_grabpay img {
640
- max-width: 95px;
641
- width: 95px;
642
- max-height: 28px;
643
- }
644
-
645
- ul.payment_methods li.payment_method_stripe_oxxo img {
646
- max-width: 52px;
647
- width: 52px;
648
- max-height: 24px;
649
- }
650
-
651
- #wc-stripe-card-element {
652
- width: 100%;
653
- }
654
-
655
- li.banner_payment_method_stripe_payment_request .StripeElement {
656
- padding: 0px;
657
- }
658
-
659
- .single-product .blockMsg {
660
- border: none !important;
661
- background-color: transparent !important;
662
- }
663
-
664
- #wc-stripe-card {
665
- position: absolute !important;
666
- top: 50%;
667
- right: 8px;
668
- transform: translatey(-50%);
669
- width: 23px;
670
- height: 15px;
671
- padding: 0px;
672
- border: none;
673
- }
674
-
675
- #wc-stripe-card.active {
676
- width: 32px;
677
- height: 20px;
678
- }
679
-
680
- input[id=stripe-postal-code]:focus {
681
- outline: none;
682
- background: transparent;
683
- border: none;
684
- box-shadow: none;
685
- }
686
-
687
- div.postalCode:focus {
688
- outline: none;
689
- border: none;
690
- }
691
-
692
- li[class*="payment_method_stripe"] .select2-container .select2-selection--single {
693
- height: 42px;
694
- padding: 0 5px;
695
- }
696
-
697
- li[class*="payment_method_stripe"] .select2-container--default .select2-selection--single .select2-selection__arrow {
698
- height: 42px;
699
- top: 1px;
700
- right: 1px;
701
- transform: translateY(0);
702
- }
703
-
704
- .blockUI.blockMsg {
705
- font-size: 20px;
706
- white-space: nowrap;
707
- }
708
-
709
- #wc-stripe-payment-request-container.disabled {
710
- opacity: 0.45;
711
- }
712
-
713
- .wc-stripe-paymentRequest-icons-container img {
714
- float: none;
715
- }
716
-
717
- .select2-container .select2-selection--single .wc-stripe-select2-container.wc-stripe-ach:before {
718
- display: none;
719
- }
720
-
721
- ul.wc_stripe_cart_payment_methods li.wc-stripe-payment-method button,
722
- ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_] button,
723
- ul.wc_stripe_checkout_banner_gateways li button {
724
- margin: 0;
725
- }
726
-
727
- ul.payment_methods li[class*=payment_method] {
728
- margin: 0;
729
- padding: 10px 0;
730
- }
731
-
732
- ul.payment_methods li[class*=payment_method] input[name=payment_method] {
733
- margin: 0 10px 0 5px;
734
- float: none;
735
- }
736
-
737
- ul.payment_methods li[class*=payment_method] > input[name=payment_method] + label {
738
- padding-top: 0;
739
- padding-right: 0;
740
- padding-bottom: 0;
741
- }
742
-
743
- ul.payment_methods {
744
- list-style: none;
745
- }
746
-
747
- ul.payment_methods li[class*=payment_method_stripe_] .wc-stripe_cc-new-method-container label:before {
748
- display: none;
749
- }
750
-
751
- .wc-stripe_cc-container .wc-stripe-save-source label.checkbox {
752
- padding: 0 !important;
753
- margin: 0px;
754
- }
755
-
756
- div[id*=wc_stripe_local_payment_stripe_].StripeElement {
757
- border: 1px solid #eee;
758
- border-radius: 4px;
759
- }
760
-
761
- #payment .payment_methods li #wc_stripe_local_payment_stripe_wechat img,
762
- #wc_stripe_local_payment_stripe_wechat img {
763
- max-height: 100%;
764
- float: none;
765
- }
766
-
767
- .qrcode-message {
768
- margin: 10px 0 0 0;
769
- }
770
-
771
- #wc_stripe_local_payment_stripe_sepa,
772
- #wc_stripe_local_payment_stripe_becs {
773
- padding: 10px 12px;
774
- box-shadow: 0 1px 3px 0 #e6ebf1;
775
- }
776
-
777
- .wc-stripe-local-desc.stripe_sepa,
778
- .wc-stripe-local-desc.stripe_becs {
779
- margin: 10px 0;
780
- }
781
-
782
- .wc-stripe-clear {
783
- clear: both;
784
- height: 0;
785
- visibility: hidden;
786
- }
787
-
788
- .wc-stripe-gateway-desc p {
789
- margin: 0;
790
- }
791
-
792
- #wc_stripe_local_payment_stripe_klarna,
793
- li[class*=payment_method_stripe_] div.wc-stripe-gateway-container.has_tokens {
794
- margin-top: 10px;
795
- }
796
-
797
- .wc-stripe-gateway-desc {
798
- margin-top: 10px;
799
- }
800
-
801
- #wc-stripe-card-element.StripeElement--webkit-autofill {
802
- background-color: transparent !important;
803
- }
804
-
805
- #wc_stripe_local_payment_stripe_klarna .stripe-klarna-categories {
806
- list-style: none;
807
- margin: 0;
808
- padding: 10px;
809
- }
810
-
811
- li.payment_method_stripe_klarna,
812
- li.payment_method_stripe_alipay,
813
- li.payment_method_stripe_bancontact,
814
- li.payment_method_stripe_becs,
815
- li.payment_method_stripe_eps,
816
- li.payment_method_stripe_fpx,
817
- li.payment_method_stripe_giropay,
818
- li.payment_method_stripe_ideal,
819
- li.payment_method_stripe_multibanco,
820
- li.payment_method_stripe_p24,
821
- li.payment_method_stripe_sepa,
822
- li.payment_method_stripe_sofort,
823
- li.payment_method_stripe_wechat {
824
- display: none;
825
- }
826
-
827
- .widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods {
828
- list-style: none;
829
- margin: 0;
830
- padding: 0;
831
- }
832
-
833
- .widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods li {
834
- margin: 0;
835
- }
836
-
837
- .widget_shopping_cart_content a.wc-stripe-gpay-mini-cart,
838
- .widget_shopping_cart_content a.wc-stripe-applepay-mini-cart,
839
- .widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart {
840
- background: transparent;
841
- padding: 0;
842
- border: none;
843
- }
844
-
845
- a.wc-stripe-gpay-mini-cart .gpay-button,
846
- a.wc-stripe-gpay-mini-cart .gpay-card-info-container
847
- a.wc-stripe-applepay-mini-cart .apple-pay-button {
848
- width: 100%;
849
- margin: 0;
850
- }
851
-
852
- .wc-stripe-payment-request-mini-cart.StripeElement {
853
- padding: 0;
854
- background: transparent;
855
- border: none;
856
- width: 100%;
857
- }
858
-
859
- .wc-stripe-payment-request-mini-cart.StripeElement .__PrivateStripeElement {
860
- width: 100%;
861
- }
862
-
863
- .wc-stripe-minicart-overlay {
864
- display: none !important;
865
- position: absolute;
866
- background: rgba(255, 255, 255, 0.75);
867
- height: 100%;
868
- width: 100%;
869
- z-index: -1;
870
- top: 0;
871
- left: 0;
872
- }
873
-
874
- .wc-stripe-minicart-overlay.active {
875
- display: block !important;
876
- z-index: 9999;
877
- }
878
-
879
- .wc-stripe-klarna-loader {
880
- display: flex;
881
- justify-content: center;
882
- position: relative;
883
- width: 100%;
884
- height: 30px;
885
- box-sizing: border-box;
886
- transform: scale(.65);
887
- }
888
-
889
- .wc-stripe-klarna-loader div {
890
- box-sizing: border-box;
891
- display: block;
892
- position: absolute;
893
- box-sizing: border-box;
894
- width: 30px;
895
- height: 30px;
896
- border: 3px solid #000;
897
- border-radius: 50%;
898
- animation: klarna-payments-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
899
- border-color: #000 transparent transparent transparent;
900
- }
901
-
902
- .wc-stripe-klarna-loader div:nth-child(1) {
903
- animation-delay: -0.45s;
904
- }
905
-
906
- .wc-stripe-klarna-loader div:nth-child(2) {
907
- animation-delay: -0.3s;
908
- }
909
-
910
- .wc-stripe-klarna-loader div:nth-child(3) {
911
- animation-delay: -0.15s;
912
- }
913
-
914
- @keyframes klarna-payments-loader {
915
- 0% {
916
- transform: rotate(0deg);
917
- }
918
- 100% {
919
- transform: rotate(360deg);
920
- }
921
- }
922
-
923
- li.payment_method_stripe_googlepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
924
- li.payment_method_stripe_applepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
925
- li.payment_method_stripe_payment_request.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
926
- li.payment_method_stripe_alipay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
927
- li.payment_method_stripe_bancontact.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
928
- li.payment_method_stripe_eps.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
929
- li.payment_method_stripe_giropay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
930
- li.payment_method_stripe_grabpay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
931
- li.payment_method_stripe_multibanco.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
932
- li.payment_method_stripe_p24.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
933
- li.payment_method_stripe_sofort.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
934
- li.payment_method_stripe_oxxo.wc-stripe-no-desc .payment_box.wc-stripe-no-methods {
935
- padding: 0;
936
- margin: 0;
937
- }
938
-
939
- .wc-stripe-shortcode-cart-buttons .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or {
940
- display: none;
941
- }
942
-
943
- label[for=payment_method_stripe_afterpay] > #wc-stripe-afterpay-msg {
944
- display: inline-block;
945
- }
946
-
947
- .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p,
948
- #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p,
949
- #wc-stripe-afterpay-product-msg .__PrivateStripeElement p {
950
- margin-bottom: 0 !important;
951
- margin-top: 0 !important;
952
- }
953
-
954
- .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p .AfterpayMessage-logo,
955
- #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p .AfterpayMessage-logo {
956
- vertical-align: middle;
957
- }
958
-
959
- .payment_method_stripe_afterpay #wc_stripe_local_payment_stripe_afterpay.ineligible {
960
- display: none;
961
- }
962
-
963
- .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite {
964
- text-align: center;
965
- max-width: 320px;
966
- margin: 0 auto;
967
- padding: 10px 0;
968
- }
969
-
970
- .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite img {
971
- display: inline-block;
972
- }
973
-
974
- .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite p {
975
- font-size: 14px;
976
- margin-top: 10px;
977
- }
978
-
979
- #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg {
980
- text-align: left;
981
- }
982
-
983
- #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .AfterpayMessage-logoSvg,
984
- .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .AfterpayMessage-logoSvg {
985
- min-width: 64px;
986
- max-width: 90px;
987
- }
988
-
989
- #wc-stripe-afterpay-cart-container td {
990
- border: none;
991
- }
992
-
993
- #wc-stripe-afterpay-cart-container td::before {
994
- content: '';
995
- }
996
-
997
- .AfterpayMessage-logoSvg {
998
- display: inline-block;
999
- }
1000
-
1001
- #wc-stripe-afterpay-product-msg {
1002
- font-size: 14px;
1003
- }
1004
-
1005
- #wc-stripe-afterpay-product-msg .AfterpayMessage-logoSvg {
1006
- max-width: 80px;
1007
- min-width: 64px;
1008
- }
1009
-
1010
- .wc-stripe-afterpay-minicart-msg {
1011
- font-size: 0.8em;
1012
- }
1013
-
1014
- .payment_method_stripe_afterpay.afterpay-ineligible,
1015
- .afterpay-ineligible {
1016
- display: none;
1017
- }
1018
-
1019
- .woocommerce-mini-cart__buttons .gpay-card-info-container {
1020
- min-width: 100%;
1021
- }
1022
-
1023
- .woocommerce-mini-cart__buttons .gpay-card-info-container {
1024
- margin: 0;
1025
- }
1026
-
1027
- .wc-stripe-boleto__description {
1028
- margin-top: 10px;
1029
- }
1030
-
1031
- .wc-stripe-boleto__description div {
1032
- display: flex;
1033
- align-items: center;
1034
- }
1035
-
1036
- .wc-stripe-boleto__description div label {
1037
- margin: 0;
1038
- }
1039
-
1040
- .wc-stripe-klarna__testmode {
1041
- margin-top: 10px;
1042
- }
1043
-
1044
- .wc-stripe-klarna__testmode label {
1045
- display: inline-block;
1046
- }
1047
-
1048
- div.payment_method_stripe_cc > .woocommerce-NoticeGroup {
1049
- margin-bottom: 10px;
1050
- }
1051
-
1052
- div.payment_method_stripe_cc.custom-form__bootstrap > .woocommerce-NoticeGroup {
1053
- margin-bottom: 20px;
1054
- }
1055
-
1056
- .wc-stripe-installment-container {
1057
- margin-top: 15px;
1058
- }
1059
-
1060
- .wc-stripe-installment-container p {
1061
- margin: 0;
1062
- }
1063
-
1064
- .wc-stripe-installment-container label.installment-label {
1065
- font-weight: 500;
1066
- margin: 0 0 5px 0;
1067
- position: relative;
1068
- display: flex;
1069
- align-items: center;
1070
- }
1071
-
1072
- .wc-stripe-installment-container .wc-stripe-installment-options.loading-installments {
1073
- opacity: 0.4;
1074
- }
1075
-
1076
- .wc-stripe-installment-loader__container {
1077
- flex: 1 1 auto;
1078
- }
1079
-
1080
- .wc-stripe-installment-loader__container .wc-stripe-installment-loader {
1081
- transform: scale(.55);
1082
- width: 30px;
1083
- height: 30px;
1084
- position: absolute;
1085
- top: -2px;
1086
- }
1087
-
1088
- .wc-stripe-installment-loader div {
1089
- box-sizing: border-box;
1090
- display: block;
1091
- position: absolute;
1092
- box-sizing: border-box;
1093
- width: 30px;
1094
- height: 30px;
1095
- border: 3px solid #000;
1096
- border-radius: 50%;
1097
- animation: installment-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
1098
- border-color: #000 transparent transparent transparent;
1099
- }
1100
-
1101
- .wc-stripe-installment-loader div:nth-child(1) {
1102
- animation-delay: -0.45s;
1103
- }
1104
-
1105
- .wc-stripe-installment-loader div:nth-child(2) {
1106
- animation-delay: -0.3s;
1107
- }
1108
-
1109
- .wc-stripe-installment-loader div:nth-child(3) {
1110
- animation-delay: -0.15s;
1111
- }
1112
-
1113
- @keyframes installment-loader {
1114
- 0% {
1115
- transform: rotate(0deg);
1116
- }
1117
- 100% {
1118
- transform: rotate(360deg);
1119
- }
 
 
 
 
 
1120
  }
1
+ .wc-stripe-card-icons-container,
2
+ .wc-stripe-paymentRequest-icons-container {
3
+ float: right;
4
+ display: inline-block;
5
+ }
6
+
7
+ ul.payment_methods li[class*=payment_method] {
8
+ margin: 0;
9
+ padding: 0;
10
+ }
11
+
12
+ li[class*=payment_method] input[type=radio] {
13
+ margin: 0 10px 0 5px;
14
+ }
15
+
16
+ li[class*=payment_method] input[type=radio] + label:not(.wc-stripe-label-payment-type) {
17
+ margin: 0;
18
+ }
19
+
20
+ .woocommerce-checkout #payment ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n + 2),
21
+ ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n + 2) {
22
+ margin: 0;
23
+ }
24
+
25
+ li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon {
26
+ max-width: 43px;
27
+ max-height: 26px;
28
+ width: 43px;
29
+ height: 26px;
30
+ float: none;
31
+ display: inline;
32
+ }
33
+
34
+ li.payment_method_stripe_payment_request .wc-stripe-paymentRequest-icons-container img:not(.gpay) {
35
+ width: 25px;
36
+ height: 25px;
37
+ max-width: 25px;
38
+ max-height: 25px;
39
+ }
40
+
41
+ ul.payment_methods label[for*="payment_method_stripe"]:after {
42
+ clear: right;
43
+ content: "";
44
+ display: block;
45
+ }
46
+
47
+ li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon:nth-child(2n+2) {
48
+ margin: 0px 2px;
49
+ }
50
+
51
+ li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon.open.visa {
52
+ padding-top: 2px;
53
+ }
54
+
55
+ ul.payment_methods li[class*=payment_method_stripe_] label > img:first-of-type {
56
+ float: right !important;
57
+ }
58
+
59
+ .wc-stripe_cc-new-method-container {
60
+ margin-bottom: 1em;
61
+ }
62
+
63
+ .wc-stripe_cc-container .StripeElement:not(.payment-type) {
64
+ box-sizing: border-box;
65
+ height: 40px;
66
+ padding: 10px 12px;
67
+ border-radius: 4px;
68
+ background-color: white;
69
+ -webkit-transition: box-shadow 150ms ease;
70
+ transition: box-shadow 150ms ease;
71
+ }
72
+
73
+ input.wc-stripe-payment-type,
74
+ input.wc-stripe-klarna-category {
75
+ display: none !important;
76
+ }
77
+
78
+ body .wfacp_main_form.woocommerce .wc-stripe-save-source label.checkbox {
79
+ padding: 0 !important;
80
+ }
81
+
82
+ label.wc-stripe-label-payment-type,
83
+ input[type=radio] + label.wc-stripe-label-payment-type,
84
+ label.wc-stripe-label-klarna-category {
85
+ margin-bottom: 1em;
86
+ display: block;
87
+ padding: 0 !important;
88
+ color: #000;
89
+ }
90
+
91
+ .theme-flatsome div.wc-stripe-saved-methods-container {
92
+ margin: 0 0 1em 0;
93
+ }
94
+
95
+ label.wc-stripe-label-payment-type:before,
96
+ label.wc-stripe-label-klarna-category:before {
97
+ content: "";
98
+ display: inline-block;
99
+ width: 11px;
100
+ height: 11px;
101
+ border: 2px solid #fff;
102
+ box-shadow: 0 0 0 2px #000;
103
+ background: #fff;
104
+ margin-left: 4px;
105
+ margin-right: .5em;
106
+ border-radius: 100%;
107
+ -webkit-transform: translateY(2px);
108
+ -ms-transform: translateY(2px);
109
+ transform: translateY(2px);
110
+ }
111
+
112
+ input.wc-stripe-payment-type:checked + label.wc-stripe-label-payment-type:before,
113
+ input.wc-stripe-klarna-category:checked + label.wc-stripe-label-klarna-category:before {
114
+ background: #000;
115
+ }
116
+
117
+ label.wc-stripe-label-payment-type:after {
118
+ content: none !important;
119
+ display: none !important;
120
+ }
121
+
122
+ .wc-stripe-saved-methods-container .select2-container .select2-selection--single .select2-selection__rendered {
123
+ padding-left: 8px;
124
+ }
125
+
126
+ .wc-stripe-saved-methods-container .select2-container .select2-selection--single .wc-stripe-select2-container,
127
+ .select2-results__options li.wc-stripe-select2-container {
128
+ display: flex;
129
+ align-items: center;
130
+ height: 42px;
131
+ line-height: 42px !important;
132
+ }
133
+
134
+ .select2-container .select2-selection--single .wc-stripe-select2-container:before,
135
+ .select2-results__options li.wc-stripe-select2-container:before {
136
+ content: '';
137
+ background-repeat: no-repeat;
138
+ background-size: 40px 24px;
139
+ width: 40px;
140
+ height: 42px;
141
+ display: inline-block;
142
+ margin-right: 8px;
143
+ background-position: center;
144
+ }
145
+
146
+ .select2-container .select2-selection--single .wc-stripe-select2-container.visa:before,
147
+ .select2-results__options li.wc-stripe-select2-container.visa:before,
148
+ .select2-results__options li.wc-stripe-select2-container.visa:before {
149
+ background-image: url(../img/cards/visa.svg);
150
+ }
151
+
152
+ .select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,
153
+ .select2-results__options li.wc-stripe-select2-container.mastercard:before,
154
+ .select2-results__options li.wc-stripe-select2-container.mastercard:before {
155
+ background-image: url(../img/cards/mastercard.svg);
156
+ }
157
+
158
+ .select2-container .select2-selection--single .wc-stripe-select2-container.americanexpress:before,
159
+ .select2-results__options li.wc-stripe-select2-container.americanexpress:before,
160
+ .select2-results__options li.wc-stripe-select2-container.americanexpress:before {
161
+ background-image: url(../img/cards/amex.svg);
162
+ }
163
+
164
+ .select2-container .select2-selection--single .wc-stripe-select2-container.amex:before,
165
+ .select2-results__options li.wc-stripe-select2-container.amex:before,
166
+ .select2-results__options li.wc-stripe-select2-container.amex:before {
167
+ background-image: url(../img/cards/amex.svg);
168
+ }
169
+
170
+ .select2-container .select2-selection--single .wc-stripe-select2-container.discover:before,
171
+ .select2-results__options li.wc-stripe-select2-container.discover:before,
172
+ .select2-results__options li.wc-stripe-select2-container.discover:before {
173
+ background-image: url(../img/cards/discover.svg);
174
+ }
175
+
176
+ .select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,
177
+ .select2-results__options li.wc-stripe-select2-container.mastercard:before,
178
+ .select2-results__options li.wc-stripe-select2-container.mastercard:before {
179
+ background-image: url(../img/cards/mastercard.svg);
180
+ }
181
+
182
+ .select2-container .select2-selection--single .wc-stripe-select2-container.dinersclub:before,
183
+ .select2-results__options li.wc-stripe-select2-container.dinersclub:before,
184
+ .select2-results__options li.wc-stripe-select2-container.dinersclub:before {
185
+ background-image: url(../img/cards/diners.svg);
186
+ }
187
+
188
+ .select2-container .select2-selection--single .wc-stripe-select2-container.diners:before,
189
+ .select2-results__options li.wc-stripe-select2-container.diners:before,
190
+ .select2-results__options li.wc-stripe-select2-container.diners:before {
191
+ background-image: url(../img/cards/diners.svg);
192
+ }
193
+
194
+ .select2-container .select2-selection--single .wc-stripe-select2-container.jcb:before,
195
+ .select2-results__options li.wc-stripe-select2-container.jcb:before,
196
+ .select2-results__options li.wc-stripe-select2-container.jcb:before {
197
+ background-image: url(../img/cards/jcb.svg);
198
+ }
199
+
200
+ .select2-container .select2-selection--single .wc-stripe-select2-container.stripe_sepa:before,
201
+ .select2-results__options li.wc-stripe-select2-container.stripe_sepa:before,
202
+ .select2-results__options li.wc-stripe-select2-container.stripe_sepa:before {
203
+ background-image: url(../img/sepa.svg);
204
+ }
205
+
206
+ .select2-results__options li.wc-stripe-select2-container.wc-stripe-ach:before,
207
+ .select2-results__options li.wc-stripe-select2-container.stripe_becs:before,
208
+ .select2-container .select2-selection--single .wc-stripe-select2-container.stripe_becs:before {
209
+ display: none;
210
+ }
211
+
212
+ #wc-stripe-card-element {
213
+ margin-bottom: 1em;
214
+ }
215
+
216
+ #wc-stripe-card-element.payment-type {
217
+ height: 100%;
218
+ padding: 0px;
219
+ }
220
+
221
+ .wc-stripe_cc-new-method-container .wc-stripe-save-source {
222
+ display: flex;
223
+ align-items: center;
224
+ justify-content: flex-start;
225
+ }
226
+
227
+ .wc-stripe_cc-container .wc-stripe-save-source .save-source-label {
228
+ display: block;
229
+ padding: 0;
230
+ margin: 0 0 0px 5px;
231
+ }
232
+
233
+ .wc-stripe_cc-container .wc-stripe-save-source input[type="checkbox"][name="stripe_cc_save_source_key"] {
234
+ opacity: 0;
235
+ position: absolute;
236
+ width: 20px;
237
+ height: 20px;
238
+ }
239
+
240
+ .wc-stripe_cc-container .wc-stripe-save-source label.checkbox {
241
+ position: relative;
242
+ }
243
+
244
+ .wc-stripe_cc-container .save-source-checkbox {
245
+ height: 20px;
246
+ width: 20px;
247
+ position: relative;
248
+ background-color: white;
249
+ display: block;
250
+ border-radius: 3px;
251
+ border: 1px solid #bababa;
252
+ }
253
+
254
+ .wc-stripe_cc-container .save-source-checkbox:after {
255
+ content: "";
256
+ position: absolute;
257
+ top: 0;
258
+ left: 0;
259
+ }
260
+
261
+ .wc-stripe_cc-container .wc-stripe-save-source input[type="checkbox"]:checked + .save-source-checkbox:after {
262
+ left: 6px;
263
+ top: 2px;
264
+ width: 7px;
265
+ height: 12px;
266
+ border: solid #2196F3;
267
+ border-width: 0 3px 3px 0;
268
+ -webkit-transform: rotate(45deg);
269
+ -ms-transform: rotate(45deg);
270
+ transform: rotate(45deg);
271
+ -webkit-box-sizing: border-box;
272
+ -moz-box-sizing: border-box;
273
+ box-sizing: border-box
274
+ }
275
+
276
+ li.payment_method_stripe_googlepay,
277
+ li.payment_method_stripe_applepay,
278
+ li.payment_method_stripe_payment_request {
279
+ display: none;
280
+ }
281
+
282
+ #place_order.wc-stripe-hide,
283
+ #payment #place_order.wc-stripe-hide,
284
+ .woocommerce-checkout-review-order #payment #place_order.wc-stripe-hide {
285
+ position: absolute !important;
286
+ z-index: -1000 !important;
287
+ height: 0 !important;
288
+ padding: 0 !important;
289
+ opacity: 0 !important;
290
+ }
291
+
292
+ .wc-stripe-product-checkout-container {
293
+ display: none;
294
+ width: 100%;
295
+ }
296
+
297
+ .wc-stripe-product-checkout-container.bottom {
298
+ margin-top: 1em;
299
+ }
300
+
301
+ .wc-stripe-product-checkout-container.top {
302
+ margin-bottom: 1em;
303
+ }
304
+
305
+ .wc-stripe-product-checkout-container.active {
306
+ display: block;
307
+ }
308
+
309
+ .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods,
310
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods {
311
+ list-style: none;
312
+ margin: 0px;
313
+ padding: 0px;
314
+ }
315
+
316
+ .wc-stripe-cart-checkout-container {
317
+ margin: 0;
318
+ padding: 0;
319
+ clear: both;
320
+ }
321
+
322
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods {
323
+ margin-bottom: 1.5em;
324
+ }
325
+
326
+ .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_],
327
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_] {
328
+ margin: 0 0 1em 0;
329
+ list-style: none;
330
+ }
331
+
332
+ .wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child,
333
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_]:last-child {
334
+ margin: 0;
335
+ }
336
+
337
+ .wc_stripe_product_payment_methods .gpay-button,
338
+ .wc_stripe_cart_payment_methods .gpay-button,
339
+ .wc_stripe_product_payment_methods .gpay-card-info-container,
340
+ .wc_stripe_cart_payment_methods .gpay-card-info-container {
341
+ width: 100% !important;
342
+ min-width: 100%;
343
+ margin: 0;
344
+ }
345
+
346
+ .wc_stripe_product_payment_methods .disabled {
347
+ opacity: 0.45;
348
+ }
349
+
350
+ .woocommerce-cart .stripe_cart_gateway_active .wc-proceed-to-checkout .checkout-button,
351
+ .stripe_cart_gateway_active .checkout-button {
352
+ margin-bottom: 0px;
353
+ }
354
+
355
+ .wc-stripe-cart-or {
356
+ margin: 1em 0;
357
+ text-align: center;
358
+ }
359
+
360
+ li.wc-stripe-payment-method.or {
361
+ display: none;
362
+ }
363
+
364
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or {
365
+ display: block;
366
+ margin: 15px 0;
367
+ }
368
+
369
+ .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or p {
370
+ margin: 0;
371
+ }
372
+
373
+ li[class*=payment_method_stripe_].active ~ li.wc-stripe-payment-method.or {
374
+ display: block;
375
+ margin: 0;
376
+ }
377
+
378
+ li.payment_method_stripe_applepay label:first-of-type img {
379
+ width: 49px;
380
+ max-height: 32px;
381
+ }
382
+
383
+ li.payment_method_stripe_googlepay label:first-of-type img {
384
+ width: 48px;
385
+ max-height: 35px;
386
+ }
387
+
388
+ li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_standard],
389
+ li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_standard] {
390
+ width: 60px;
391
+ max-height: 35px;
392
+ }
393
+
394
+ li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_round_outline],
395
+ li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_round_outline] {
396
+ width: 56px;
397
+ max-height: 30px;
398
+ }
399
+
400
+ li.payment_method_stripe_ach label:first-of-type img,
401
+ li.payment_method_stripe_plaid label:first-of-type img {
402
+ width: 32px;
403
+ height: 32px;
404
+ min-width: 32px;
405
+ min-height: 32px;
406
+ }
407
+
408
+ .gpay-button-container .gpay-button:hover,
409
+ .wc-stripe-checkout-banner-gateway .gpay-button:hover {
410
+ background-origin: content-box;
411
+ background-position: center center;
412
+ background-repeat: no-repeat;
413
+ background-size: contain;
414
+ }
415
+
416
+ .gpay-button:active {
417
+ background-origin: content-box;
418
+ background-position: center center;
419
+ background-repeat: no-repeat;
420
+ background-size: contain;
421
+ }
422
+
423
+ .gpay-button:focus {
424
+ background-origin: content-box;
425
+ background-position: center center;
426
+ background-repeat: no-repeat;
427
+ background-size: contain;
428
+ }
429
+
430
+ @supports (-webkit-appearance: -apple-pay-button) {
431
+ .apple-pay-button {
432
+ display: block;
433
+ -webkit-appearance: -apple-pay-button !important;
434
+ width: 100%;
435
+ max-width: 100%;
436
+ min-width: 200px;
437
+ height: 40px;
438
+ max-height: 40px;
439
+ }
440
+
441
+ .apple-pay-button-black {
442
+ -apple-pay-button-style: black;
443
+ }
444
+
445
+ .apple-pay-button-white {
446
+ -apple-pay-button-style: white;
447
+ }
448
+
449
+ .apple-pay-button-white-with-line {
450
+ -apple-pay-button-style: white-outline;
451
+ }
452
+
453
+ .woocommerce-checkout-payment .apple-pay-button {
454
+ max-width: 240px;
455
+ }
456
+
457
+ body.single-product div.product form.cart .wc_stripe_product_payment_methods .apple-pay-button {
458
+ max-width: 100%;
459
+ }
460
+ }
461
+
462
+ .wc-stripe-banner-checkout {
463
+ display: none;
464
+ padding: 0;
465
+ position: relative;
466
+ margin: 1em 0;
467
+ }
468
+
469
+ .wc-stripe-banner-checkout fieldset {
470
+ padding: 15px 25px 15px;
471
+ border: 1px solid #d1d1d1;
472
+ margin-bottom: 20px;
473
+ border-radius: 3px;
474
+ }
475
+
476
+ .wc-stripe-banner-checkout fieldset legend {
477
+ margin: 0 auto;
478
+ font-weight: 500;
479
+ padding: 0 1rem;
480
+ }
481
+
482
+ .wc-stripe-banner-checkout.active {
483
+ display: block;
484
+ }
485
+
486
+ .wc-stripe-banner-checkout span.banner-divider {
487
+ display: flex;
488
+ align-items: center;
489
+ top: -13px;
490
+ right: 0;
491
+ left: 0;
492
+ background: transparent;
493
+ white-space: nowrap;
494
+ font-size: 16px;
495
+ }
496
+
497
+ .wc-stripe-banner-checkout span.banner-divider:before,
498
+ .wc-stripe-banner-checkout span.banner-divider:after {
499
+ content: ' ';
500
+ height: 1px;
501
+ background: #d1d1d1;
502
+ display: block;
503
+ width: 50%;
504
+ }
505
+
506
+ .wc-stripe-banner-checkout span.banner-divider:before {
507
+ margin-right: 1rem;
508
+ }
509
+
510
+ .wc-stripe-banner-checkout span.banner-divider:after {
511
+ margin-left: 1rem;
512
+ }
513
+
514
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways {
515
+ list-style: none;
516
+ margin: 0;
517
+ padding: 0;
518
+ }
519
+
520
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway {
521
+ margin: 0 auto;
522
+ display: none;
523
+ max-width: 240px;
524
+ }
525
+
526
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway.active:nth-child(n+2) {
527
+ margin: 10px auto 0 auto;
528
+ }
529
+
530
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway:first-child:not(.active) + li.wc-stripe-checkout-banner-gateway.active {
531
+ margin: 0 auto;
532
+ }
533
+
534
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-button,
535
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-card-info-container {
536
+ margin: 0;
537
+ }
538
+
539
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-button,
540
+ .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-card-info-container {
541
+ width: 100%;
542
+ }
543
+
544
+ .wc_stripe_product_payment_methods .payment_method_stripe_payment_request .StripeElement,
545
+ .wc_stripe_cart_payment_methods .payment_method_stripe_payment_request .StripeElement {
546
+ padding: 0px;
547
+ width: 100%;
548
+ }
549
+
550
+ .woocommerce-checkout #wc-stripe-payment-request-container.StripeElement {
551
+ width: 240px;
552
+ padding: 0px;
553
+ }
554
+
555
+ .wc-stripe-checkout-banner-gateway #wc-stripe-payment-request-banner.StripeElement {
556
+ width: 100%;
557
+ }
558
+
559
+ ul.payment_methods li.payment_method_stripe_p24 img {
560
+ max-width: 90px;
561
+ width: 90px;
562
+ max-height: 45px;
563
+ }
564
+
565
+ ul.payment_methods li.payment_method_stripe_ideal img {
566
+ max-width: 38px;
567
+ width: 38px;
568
+ max-height: 35px;
569
+ }
570
+
571
+ ul.payment_methods li.payment_method_stripe_fpx img {
572
+ max-width: 75px;
573
+ width: 75px;
574
+ max-height: 25px;
575
+ }
576
+
577
+ ul.payment_methods li.payment_method_stripe_klarna img {
578
+ max-width: 72px;
579
+ width: 72px;
580
+ max-height: 20px;
581
+ }
582
+
583
+ ul.payment_methods li.payment_method_stripe_klarna img[src*="klarna_pink"] {
584
+ width: 56px;
585
+ height: 32px;
586
+ max-height: 32px;
587
+ }
588
+
589
+ ul.payment_methods li.payment_method_stripe_giropay img {
590
+ max-width: 65px;
591
+ width: 65px;
592
+ max-height: 28px;
593
+ }
594
+
595
+ ul.payment_methods li.payment_method_stripe_eps img {
596
+ max-width: 70px;
597
+ width: 70px;
598
+ max-height: 46px;
599
+ }
600
+
601
+ ul.payment_methods li.payment_method_stripe_multibanco img {
602
+ max-width: 48px;
603
+ width: 48px;
604
+ max-height: 48px;
605
+ }
606
+
607
+ ul.payment_methods li.payment_method_stripe_sepa img {
608
+ max-width: 67px;
609
+ width: 67px;
610
+ max-height: 18px;
611
+ }
612
+
613
+ ul.payment_methods li.payment_method_stripe_sofort img {
614
+ max-width: 70px;
615
+ width: 70px;
616
+ max-height: 21px;
617
+ }
618
+
619
+ ul.payment_methods li.payment_method_stripe_bancontact img,
620
+ label[for=payment_method_stripe_bancontact] img {
621
+ width: 60px;
622
+ height: 42px;
623
+ max-width: 60px;
624
+ max-height: 42px;
625
+ }
626
+
627
+ ul.payment_methods li.payment_method_stripe_wechat label img {
628
+ max-width: 82px;
629
+ width: 82px;
630
+ max-height: 23px;
631
+ }
632
+
633
+ ul.payment_methods li.payment_method_stripe_alipay img {
634
+ max-width: 72px;
635
+ width: 72px;
636
+ height: 36px;
637
+ max-height: 36px;
638
+ }
639
+
640
+ ul.payment_methods li.payment_method_stripe_grabpay img {
641
+ max-width: 95px;
642
+ width: 95px;
643
+ max-height: 28px;
644
+ }
645
+
646
+ ul.payment_methods li.payment_method_stripe_oxxo img {
647
+ max-width: 52px;
648
+ width: 52px;
649
+ max-height: 24px;
650
+ }
651
+
652
+ #wc-stripe-card-element {
653
+ width: 100%;
654
+ }
655
+
656
+ li.banner_payment_method_stripe_payment_request .StripeElement {
657
+ padding: 0px;
658
+ }
659
+
660
+ .single-product .blockMsg {
661
+ border: none !important;
662
+ background-color: transparent !important;
663
+ }
664
+
665
+ #wc-stripe-card {
666
+ position: absolute !important;
667
+ top: 50%;
668
+ right: 8px;
669
+ transform: translatey(-50%);
670
+ width: 23px;
671
+ height: 15px;
672
+ padding: 0px;
673
+ border: none;
674
+ }
675
+
676
+ #wc-stripe-card.active {
677
+ width: 32px;
678
+ height: 20px;
679
+ }
680
+
681
+ input[id=stripe-postal-code]:focus {
682
+ outline: none;
683
+ background: transparent;
684
+ border: none;
685
+ box-shadow: none;
686
+ }
687
+
688
+ div.postalCode:focus {
689
+ outline: none;
690
+ border: none;
691
+ }
692
+
693
+ li[class*="payment_method_stripe"] .select2-container .select2-selection--single {
694
+ height: 42px;
695
+ padding: 0 5px;
696
+ }
697
+
698
+ li[class*="payment_method_stripe"] .select2-container--default .select2-selection--single .select2-selection__arrow {
699
+ height: 42px;
700
+ top: 1px;
701
+ right: 1px;
702
+ transform: translateY(0);
703
+ }
704
+
705
+ .blockUI.blockMsg {
706
+ font-size: 20px;
707
+ white-space: nowrap;
708
+ }
709
+
710
+ #wc-stripe-payment-request-container.disabled {
711
+ opacity: 0.45;
712
+ }
713
+
714
+ .wc-stripe-paymentRequest-icons-container img {
715
+ float: none;
716
+ }
717
+
718
+ .select2-container .select2-selection--single .wc-stripe-select2-container.wc-stripe-ach:before {
719
+ display: none;
720
+ }
721
+
722
+ ul.wc_stripe_cart_payment_methods li.wc-stripe-payment-method button,
723
+ ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_] button,
724
+ ul.wc_stripe_checkout_banner_gateways li button {
725
+ margin: 0;
726
+ }
727
+
728
+ ul.payment_methods li[class*=payment_method] {
729
+ margin: 0;
730
+ padding: 10px 0;
731
+ }
732
+
733
+ ul.payment_methods li[class*=payment_method] input[name=payment_method] {
734
+ margin: 0 10px 0 5px;
735
+ float: none;
736
+ }
737
+
738
+ ul.payment_methods li[class*=payment_method] > input[name=payment_method] + label {
739
+ padding-top: 0;
740
+ padding-right: 0;
741
+ padding-bottom: 0;
742
+ }
743
+
744
+ ul.payment_methods {
745
+ list-style: none;
746
+ }
747
+
748
+ ul.payment_methods li[class*=payment_method_stripe_] .wc-stripe_cc-new-method-container label:before {
749
+ display: none;
750
+ }
751
+
752
+ .wc-stripe_cc-container .wc-stripe-save-source label.checkbox {
753
+ padding: 0 !important;
754
+ margin: 0px;
755
+ }
756
+
757
+ div[id*=wc_stripe_local_payment_stripe_].StripeElement {
758
+ border: 1px solid #eee;
759
+ border-radius: 4px;
760
+ }
761
+
762
+ #payment .payment_methods li #wc_stripe_local_payment_stripe_wechat img,
763
+ #wc_stripe_local_payment_stripe_wechat img {
764
+ max-height: 100%;
765
+ float: none;
766
+ }
767
+
768
+ .qrcode-message {
769
+ margin: 10px 0 0 0;
770
+ }
771
+
772
+ #wc_stripe_local_payment_stripe_sepa,
773
+ #wc_stripe_local_payment_stripe_becs {
774
+ padding: 10px 12px;
775
+ box-shadow: 0 1px 3px 0 #e6ebf1;
776
+ }
777
+
778
+ .wc-stripe-local-desc.stripe_sepa,
779
+ .wc-stripe-local-desc.stripe_becs {
780
+ margin: 10px 0;
781
+ }
782
+
783
+ .wc-stripe-clear {
784
+ clear: both;
785
+ height: 0;
786
+ visibility: hidden;
787
+ }
788
+
789
+ .wc-stripe-gateway-desc p {
790
+ margin: 0;
791
+ }
792
+
793
+ #wc_stripe_local_payment_stripe_klarna,
794
+ li[class*=payment_method_stripe_] div.wc-stripe-gateway-container.has_tokens {
795
+ margin-top: 10px;
796
+ }
797
+
798
+ .wc-stripe-gateway-desc {
799
+ margin-top: 10px;
800
+ }
801
+
802
+ #wc-stripe-card-element.StripeElement--webkit-autofill {
803
+ background-color: transparent !important;
804
+ }
805
+
806
+ #wc_stripe_local_payment_stripe_klarna .stripe-klarna-categories {
807
+ list-style: none;
808
+ margin: 0;
809
+ padding: 10px;
810
+ }
811
+
812
+ li.payment_method_stripe_klarna,
813
+ li.payment_method_stripe_alipay,
814
+ li.payment_method_stripe_bancontact,
815
+ li.payment_method_stripe_becs,
816
+ li.payment_method_stripe_eps,
817
+ li.payment_method_stripe_fpx,
818
+ li.payment_method_stripe_giropay,
819
+ li.payment_method_stripe_ideal,
820
+ li.payment_method_stripe_multibanco,
821
+ li.payment_method_stripe_p24,
822
+ li.payment_method_stripe_sepa,
823
+ li.payment_method_stripe_sofort,
824
+ li.payment_method_stripe_wechat {
825
+ display: none;
826
+ }
827
+
828
+ .widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods {
829
+ list-style: none;
830
+ margin: 0;
831
+ padding: 0;
832
+ }
833
+
834
+ .widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods li {
835
+ margin: 0;
836
+ }
837
+
838
+ .widget_shopping_cart_content a.wc-stripe-gpay-mini-cart,
839
+ .widget_shopping_cart_content a.wc-stripe-applepay-mini-cart,
840
+ .widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart {
841
+ background: transparent;
842
+ padding: 0;
843
+ border: none;
844
+ }
845
+
846
+ a.wc-stripe-gpay-mini-cart .gpay-button,
847
+ a.wc-stripe-gpay-mini-cart .gpay-card-info-container
848
+ a.wc-stripe-applepay-mini-cart .apple-pay-button {
849
+ width: 100%;
850
+ margin: 0;
851
+ }
852
+
853
+ .wc-stripe-payment-request-mini-cart.StripeElement {
854
+ padding: 0;
855
+ background: transparent;
856
+ border: none;
857
+ width: 100%;
858
+ }
859
+
860
+ .wc-stripe-payment-request-mini-cart.StripeElement .__PrivateStripeElement {
861
+ width: 100%;
862
+ }
863
+
864
+ .wc-stripe-minicart-overlay {
865
+ display: none !important;
866
+ position: absolute;
867
+ background: rgba(255, 255, 255, 0.75);
868
+ height: 100%;
869
+ width: 100%;
870
+ z-index: -1;
871
+ top: 0;
872
+ left: 0;
873
+ }
874
+
875
+ .wc-stripe-minicart-overlay.active {
876
+ display: block !important;
877
+ z-index: 9999;
878
+ }
879
+
880
+ .wc-stripe-klarna-loader {
881
+ display: flex;
882
+ justify-content: center;
883
+ position: relative;
884
+ width: 100%;
885
+ height: 30px;
886
+ box-sizing: border-box;
887
+ transform: scale(.65);
888
+ }
889
+
890
+ .wc-stripe-klarna-loader div {
891
+ box-sizing: border-box;
892
+ display: block;
893
+ position: absolute;
894
+ box-sizing: border-box;
895
+ width: 30px;
896
+ height: 30px;
897
+ border: 3px solid #000;
898
+ border-radius: 50%;
899
+ animation: klarna-payments-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
900
+ border-color: #000 transparent transparent transparent;
901
+ }
902
+
903
+ .wc-stripe-klarna-loader div:nth-child(1) {
904
+ animation-delay: -0.45s;
905
+ }
906
+
907
+ .wc-stripe-klarna-loader div:nth-child(2) {
908
+ animation-delay: -0.3s;
909
+ }
910
+
911
+ .wc-stripe-klarna-loader div:nth-child(3) {
912
+ animation-delay: -0.15s;
913
+ }
914
+
915
+ @keyframes klarna-payments-loader {
916
+ 0% {
917
+ transform: rotate(0deg);
918
+ }
919
+ 100% {
920
+ transform: rotate(360deg);
921
+ }
922
+ }
923
+
924
+ li.payment_method_stripe_googlepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
925
+ li.payment_method_stripe_applepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
926
+ li.payment_method_stripe_payment_request.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
927
+ li.payment_method_stripe_alipay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
928
+ li.payment_method_stripe_bancontact.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
929
+ li.payment_method_stripe_eps.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
930
+ li.payment_method_stripe_giropay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
931
+ li.payment_method_stripe_grabpay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
932
+ li.payment_method_stripe_multibanco.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
933
+ li.payment_method_stripe_p24.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
934
+ li.payment_method_stripe_sofort.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,
935
+ li.payment_method_stripe_oxxo.wc-stripe-no-desc .payment_box.wc-stripe-no-methods {
936
+ padding: 0;
937
+ margin: 0;
938
+ }
939
+
940
+ .wc-stripe-shortcode-cart-buttons .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or {
941
+ display: none;
942
+ }
943
+
944
+ label[for=payment_method_stripe_afterpay] > #wc-stripe-afterpay-msg {
945
+ display: inline-block;
946
+ }
947
+
948
+ .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p,
949
+ #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p,
950
+ #wc-stripe-afterpay-product-msg .__PrivateStripeElement p {
951
+ margin-bottom: 0 !important;
952
+ margin-top: 0 !important;
953
+ }
954
+
955
+ .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p .AfterpayMessage-logo,
956
+ #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p .AfterpayMessage-logo {
957
+ vertical-align: middle;
958
+ }
959
+
960
+ .payment_method_stripe_afterpay #wc_stripe_local_payment_stripe_afterpay.ineligible {
961
+ display: none;
962
+ }
963
+
964
+ .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite {
965
+ text-align: center;
966
+ max-width: 320px;
967
+ margin: 0 auto;
968
+ padding: 10px 0;
969
+ }
970
+
971
+ .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite img {
972
+ display: inline-block;
973
+ }
974
+
975
+ .payment_method_stripe_afterpay .wc-stripe-afterpay__offsite p {
976
+ font-size: 14px;
977
+ margin-top: 10px;
978
+ }
979
+
980
+ #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg {
981
+ text-align: left;
982
+ }
983
+
984
+ #wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .AfterpayMessage-logoSvg,
985
+ .payment_method_stripe_afterpay #wc-stripe-afterpay-msg .AfterpayMessage-logoSvg {
986
+ min-width: 64px;
987
+ max-width: 90px;
988
+ }
989
+
990
+ #wc-stripe-afterpay-cart-container td {
991
+ border: none;
992
+ }
993
+
994
+ #wc-stripe-afterpay-cart-container td::before {
995
+ content: '';
996
+ }
997
+
998
+ .AfterpayMessage-logoSvg {
999
+ display: inline-block;
1000
+ }
1001
+
1002
+ #wc-stripe-afterpay-product-msg {
1003
+ font-size: 14px;
1004
+ }
1005
+
1006
+ #wc-stripe-afterpay-product-msg .AfterpayMessage-logoSvg {
1007
+ max-width: 80px;
1008
+ min-width: 64px;
1009
+ }
1010
+
1011
+ .wc-stripe-afterpay-minicart-msg {
1012
+ font-size: 0.8em;
1013
+ }
1014
+
1015
+ .payment_method_stripe_afterpay.afterpay-ineligible,
1016
+ .afterpay-ineligible {
1017
+ display: none;
1018
+ }
1019
+
1020
+ .woocommerce-mini-cart__buttons .gpay-card-info-container {
1021
+ min-width: 100%;
1022
+ }
1023
+
1024
+ .woocommerce-mini-cart__buttons .gpay-card-info-container {
1025
+ margin: 0;
1026
+ }
1027
+
1028
+ .wc-stripe-boleto__description {
1029
+ margin-top: 10px;
1030
+ }
1031
+
1032
+ .wc-stripe-boleto__description div {
1033
+ display: flex;
1034
+ align-items: center;
1035
+ }
1036
+
1037
+ .wc-stripe-boleto__description div label {
1038
+ margin: 0;
1039
+ }
1040
+
1041
+ .wc-stripe-klarna__testmode {
1042
+ margin-top: 10px;
1043
+ }
1044
+
1045
+ .wc-stripe-klarna__testmode label {
1046
+ display: inline-block;
1047
+ }
1048
+
1049
+ div.payment_method_stripe_cc > .woocommerce-NoticeGroup {
1050
+ margin-bottom: 10px;
1051
+ }
1052
+
1053
+ div.payment_method_stripe_cc.custom-form__bootstrap > .woocommerce-NoticeGroup {
1054
+ margin-bottom: 20px;
1055
+ }
1056
+
1057
+ .wc-stripe-installment-container {
1058
+ margin-top: 15px;
1059
+ }
1060
+
1061
+ .wc-stripe-installment-container p {
1062
+ margin: 0;
1063
+ }
1064
+
1065
+ .wc-stripe-installment-container label.installment-label {
1066
+ font-weight: 500;
1067
+ margin: 0 0 5px 0;
1068
+ position: relative;
1069
+ display: flex;
1070
+ align-items: center;
1071
+ }
1072
+
1073
+ .wc-stripe-installment-container .wc-stripe-installment-options.loading-installments {
1074
+ opacity: 0.4;
1075
+ }
1076
+
1077
+ .wc-stripe-installment-loader__container {
1078
+ flex: 1 1 auto;
1079
+ }
1080
+
1081
+ .wc-stripe-installment-loader__container .wc-stripe-installment-loader {
1082
+ transform: scale(.55);
1083
+ width: 30px;
1084
+ height: 30px;
1085
+ position: absolute;
1086
+ top: -2px;
1087
+ }
1088
+
1089
+ .wc-stripe-installment-loader div {
1090
+ box-sizing: border-box;
1091
+ display: block;
1092
+ position: absolute;
1093
+ box-sizing: border-box;
1094
+ width: 30px;
1095
+ height: 30px;
1096
+ border: 3px solid #000;
1097
+ border-radius: 50%;
1098
+ animation: installment-loader 1.3s cubic-bezier(0.5, 0, 0.5, 1) infinite;
1099
+ border-color: #000 transparent transparent transparent;
1100
+ }
1101
+
1102
+ .wc-stripe-installment-loader div:nth-child(1) {
1103
+ animation-delay: -0.45s;
1104
+ }
1105
+
1106
+ .wc-stripe-installment-loader div:nth-child(2) {
1107
+ animation-delay: -0.3s;
1108
+ }
1109
+
1110
+ .wc-stripe-installment-loader div:nth-child(3) {
1111
+ animation-delay: -0.15s;
1112
+ }
1113
+
1114
+ @keyframes installment-loader {
1115
+ 0% {
1116
+ transform: rotate(0deg);
1117
+ }
1118
+ 100% {
1119
+ transform: rotate(360deg);
1120
+ }
1121
+ }
1122
+
1123
+ #wc-stripe-ach-container .wc-stripe-ach__mandate {
1124
+ margin: 10px 0;
1125
  }
assets/css/stripe.min-rtl.css CHANGED
@@ -1 +1 @@
1
- .wc-stripe-card-icons-container,.wc-stripe-paymentRequest-icons-container{float:left;display:inline-block}ul.payment_methods li[class*=payment_method]{margin:0;padding:0}li[class*=payment_method] input[type=radio]{margin:0 5px 0 10px}li[class*=payment_method] input[type=radio]+label:not(.wc-stripe-label-payment-type){margin:0}.woocommerce-checkout #payment ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n+2),ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n+2){margin:0}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon{max-width:43px;max-height:26px;width:43px;height:26px;float:none;display:inline}li.payment_method_stripe_payment_request .wc-stripe-paymentRequest-icons-container img:not(.gpay){width:25px;height:25px;max-width:25px;max-height:25px}ul.payment_methods label[for*=payment_method_stripe]:after{clear:left;content:"";display:block}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon:nth-child(2n+2){margin:0 2px}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon.open.visa{padding-top:2px}ul.payment_methods li[class*=payment_method_stripe_] label>img:first-of-type{float:left!important}.wc-stripe_cc-new-method-container{margin-bottom:1em}.wc-stripe_cc-container .StripeElement{box-sizing:border-box;height:40px;padding:10px 12px;border-radius:4px;background-color:#fff;-webkit-transition:box-shadow 150ms ease;transition:box-shadow 150ms ease}input.wc-stripe-klarna-category,input.wc-stripe-payment-type{display:none!important}body .wfacp_main_form.woocommerce .wc-stripe-save-source label.checkbox{padding:0!important}input[type=radio]+label.wc-stripe-label-payment-type,label.wc-stripe-label-klarna-category,label.wc-stripe-label-payment-type{margin-bottom:1em;display:block;padding:0!important;color:#000}.theme-flatsome div.wc-stripe-saved-methods-container{margin:0 0 1em 0}label.wc-stripe-label-klarna-category:before,label.wc-stripe-label-payment-type:before{content:"";display:inline-block;width:11px;height:11px;border:2px solid #fff;box-shadow:0 0 0 2px #000;background:#fff;margin-right:4px;margin-left:.5em;border-radius:100%;-webkit-transform:translateY(2px);-ms-transform:translateY(2px);transform:translateY(2px)}input.wc-stripe-klarna-category:checked+label.wc-stripe-label-klarna-category:before,input.wc-stripe-payment-type:checked+label.wc-stripe-label-payment-type:before{background:#000}label.wc-stripe-label-payment-type:after{content:none!important;display:none!important}.wc-stripe-saved-methods-container .select2-container .select2-selection--single .select2-selection__rendered{padding-right:8px}.select2-results__options li.wc-stripe-select2-container,.wc-stripe-saved-methods-container .select2-container .select2-selection--single .wc-stripe-select2-container{display:flex;align-items:center;height:42px;line-height:42px!important}.select2-container .select2-selection--single .wc-stripe-select2-container:before,.select2-results__options li.wc-stripe-select2-container:before{content:'';background-repeat:no-repeat;background-size:40px 24px;width:40px;height:42px;display:inline-block;margin-left:8px;background-position:center}.select2-container .select2-selection--single .wc-stripe-select2-container.visa:before,.select2-results__options li.wc-stripe-select2-container.visa:before{background-image:url(../img/cards/visa.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,.select2-results__options li.wc-stripe-select2-container.mastercard:before{background-image:url(../img/cards/mastercard.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.americanexpress:before,.select2-results__options li.wc-stripe-select2-container.americanexpress:before{background-image:url(../img/cards/amex.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.amex:before,.select2-results__options li.wc-stripe-select2-container.amex:before{background-image:url(../img/cards/amex.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.discover:before,.select2-results__options li.wc-stripe-select2-container.discover:before{background-image:url(../img/cards/discover.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,.select2-results__options li.wc-stripe-select2-container.mastercard:before{background-image:url(../img/cards/mastercard.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.dinersclub:before,.select2-results__options li.wc-stripe-select2-container.dinersclub:before{background-image:url(../img/cards/diners.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.diners:before,.select2-results__options li.wc-stripe-select2-container.diners:before{background-image:url(../img/cards/diners.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.jcb:before,.select2-results__options li.wc-stripe-select2-container.jcb:before{background-image:url(../img/cards/jcb.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.stripe_sepa:before,.select2-results__options li.wc-stripe-select2-container.stripe_sepa:before{background-image:url(../img/sepa.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.stripe_becs:before,.select2-results__options li.wc-stripe-select2-container.stripe_becs:before,.select2-results__options li.wc-stripe-select2-container.wc-stripe-ach:before{display:none}#wc-stripe-card-element{margin-bottom:1em}#wc-stripe-card-element.payment-type{height:100%;padding:0}.wc-stripe_cc-new-method-container .wc-stripe-save-source{display:flex;align-items:center;justify-content:flex-start}.wc-stripe_cc-container .wc-stripe-save-source .save-source-label{display:block;padding:0;margin:0 5px 0 0}.wc-stripe_cc-container .wc-stripe-save-source input[type=checkbox][name=stripe_cc_save_source_key]{opacity:0;position:absolute;width:20px;height:20px}.wc-stripe_cc-container .wc-stripe-save-source label.checkbox{position:relative}.wc-stripe_cc-container .save-source-checkbox{height:20px;width:20px;position:relative;background-color:#fff;display:block;border-radius:3px;border:1px solid #bababa}.wc-stripe_cc-container .save-source-checkbox:after{content:"";position:absolute;top:0;right:0}.wc-stripe_cc-container .wc-stripe-save-source input[type=checkbox]:checked+.save-source-checkbox:after{right:6px;top:2px;width:7px;height:12px;border:solid #2196f3;border-width:0 0 3px 3px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}li.payment_method_stripe_applepay,li.payment_method_stripe_googlepay,li.payment_method_stripe_payment_request{display:none}#payment #place_order.wc-stripe-hide,#place_order.wc-stripe-hide,.woocommerce-checkout-review-order #payment #place_order.wc-stripe-hide{position:absolute!important;z-index:-1000!important;height:0!important;padding:0!important;opacity:0!important}.wc-stripe-product-checkout-container{display:none;width:100%}.wc-stripe-product-checkout-container.bottom{margin-top:1em}.wc-stripe-product-checkout-container.top{margin-bottom:1em}.wc-stripe-product-checkout-container.active{display:block}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods,.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods{list-style:none;margin:0;padding:0}.wc-stripe-cart-checkout-container{margin:0;padding:0;clear:both}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods{margin-bottom:1.5em}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_],.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]{margin:0 0 1em 0;list-style:none}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_]:last-child,.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child{margin:0}.wc_stripe_cart_payment_methods .gpay-button,.wc_stripe_cart_payment_methods .gpay-card-info-container,.wc_stripe_product_payment_methods .gpay-button,.wc_stripe_product_payment_methods .gpay-card-info-container{width:100%!important;min-width:100%;margin:0}.wc_stripe_product_payment_methods .disabled{opacity:.45}.stripe_cart_gateway_active .checkout-button,.woocommerce-cart .stripe_cart_gateway_active .wc-proceed-to-checkout .checkout-button{margin-bottom:0}.wc-stripe-cart-or{margin:1em 0;text-align:center}li.wc-stripe-payment-method.or{display:none}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or{display:block;margin:15px 0}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or p{margin:0}li[class*=payment_method_stripe_].active~li.wc-stripe-payment-method.or{display:block;margin:0}li.payment_method_stripe_applepay label:first-of-type img{width:49px;max-height:32px}li.payment_method_stripe_googlepay label:first-of-type img{width:48px;max-height:35px}li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_standard],li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_standard]{width:60px;max-height:35px}li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_round_outline],li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_round_outline]{width:56px;max-height:30px}li.payment_method_stripe_ach label:first-of-type img{width:32px;height:32px;min-width:32px;min-height:32px}.gpay-button-container .gpay-button:hover,.wc-stripe-checkout-banner-gateway .gpay-button:hover{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}.gpay-button:active{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}.gpay-button:focus{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}@supports (-webkit-appearance:-apple-pay-button){.apple-pay-button{display:block;-webkit-appearance:-apple-pay-button!important;width:100%;max-width:100%;min-width:200px;height:40px;max-height:40px}.apple-pay-button-black{-apple-pay-button-style:#000}.apple-pay-button-white{-apple-pay-button-style:#fff}.apple-pay-button-white-with-line{-apple-pay-button-style:white-outline}.woocommerce-checkout-payment .apple-pay-button{max-width:240px}body.single-product div.product form.cart .wc_stripe_product_payment_methods .apple-pay-button{max-width:100%}}.wc-stripe-banner-checkout{display:none;padding:0;position:relative;margin:1em 0}.wc-stripe-banner-checkout fieldset{padding:15px 25px 15px;border:1px solid #d1d1d1;margin-bottom:20px;border-radius:3px}.wc-stripe-banner-checkout fieldset legend{margin:0 auto;font-weight:500;padding:0 1rem}.wc-stripe-banner-checkout.active{display:block}.wc-stripe-banner-checkout span.banner-divider{display:flex;align-items:center;top:-13px;left:0;right:0;background:0 0;white-space:nowrap;font-size:16px}.wc-stripe-banner-checkout span.banner-divider:after,.wc-stripe-banner-checkout span.banner-divider:before{content:' ';height:1px;background:#d1d1d1;display:block;width:50%}.wc-stripe-banner-checkout span.banner-divider:before{margin-left:1rem}.wc-stripe-banner-checkout span.banner-divider:after{margin-right:1rem}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways{list-style:none;margin:0;padding:0}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway{margin:0 auto;display:none;max-width:240px}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway.active:nth-child(n+2){margin:10px auto 0 auto}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway:first-child:not(.active)+li.wc-stripe-checkout-banner-gateway.active{margin:0 auto}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-button,.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-card-info-container{margin:0}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-button,.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-card-info-container{width:100%}.wc_stripe_cart_payment_methods .payment_method_stripe_payment_request .StripeElement,.wc_stripe_product_payment_methods .payment_method_stripe_payment_request .StripeElement{padding:0;width:100%}.woocommerce-checkout #wc-stripe-payment-request-container.StripeElement{width:240px;padding:0}.wc-stripe-checkout-banner-gateway #wc-stripe-payment-request-banner.StripeElement{width:100%}ul.payment_methods li.payment_method_stripe_p24 img{max-width:90px;width:90px;max-height:45px}ul.payment_methods li.payment_method_stripe_ideal img{max-width:38px;width:38px;max-height:35px}ul.payment_methods li.payment_method_stripe_fpx img{max-width:75px;width:75px;max-height:25px}ul.payment_methods li.payment_method_stripe_klarna img{max-width:72px;width:72px;max-height:20px}ul.payment_methods li.payment_method_stripe_klarna img[src*=klarna_pink]{width:56px;height:32px;max-height:32px}ul.payment_methods li.payment_method_stripe_giropay img{max-width:65px;width:65px;max-height:28px}ul.payment_methods li.payment_method_stripe_eps img{max-width:70px;width:70px;max-height:46px}ul.payment_methods li.payment_method_stripe_multibanco img{max-width:48px;width:48px;max-height:48px}ul.payment_methods li.payment_method_stripe_sepa img{max-width:67px;width:67px;max-height:18px}ul.payment_methods li.payment_method_stripe_sofort img{max-width:70px;width:70px;max-height:21px}label[for=payment_method_stripe_bancontact] img,ul.payment_methods li.payment_method_stripe_bancontact img{width:60px;height:42px;max-width:60px;max-height:42px}ul.payment_methods li.payment_method_stripe_wechat label img{max-width:82px;width:82px;max-height:23px}ul.payment_methods li.payment_method_stripe_alipay img{max-width:72px;width:72px;height:36px;max-height:36px}ul.payment_methods li.payment_method_stripe_grabpay img{max-width:95px;width:95px;max-height:28px}ul.payment_methods li.payment_method_stripe_oxxo img{max-width:52px;width:52px;max-height:24px}#wc-stripe-card-element{width:100%}li.banner_payment_method_stripe_payment_request .StripeElement{padding:0}.single-product .blockMsg{border:none!important;background-color:transparent!important}#wc-stripe-card{position:absolute!important;top:50%;left:8px;transform:translatey(-50%);width:23px;height:15px;padding:0;border:none}#wc-stripe-card.active{width:32px;height:20px}input[id=stripe-postal-code]:focus{outline:0;background:0 0;border:none;box-shadow:none}div.postalCode:focus{outline:0;border:none}li[class*=payment_method_stripe] .select2-container .select2-selection--single{height:42px;padding:0 5px}li[class*=payment_method_stripe] .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px;top:1px;left:1px;transform:translateY(0)}.blockUI.blockMsg{font-size:20px;white-space:nowrap}#wc-stripe-payment-request-container.disabled{opacity:.45}.wc-stripe-paymentRequest-icons-container img{float:none}.select2-container .select2-selection--single .wc-stripe-select2-container.wc-stripe-ach:before{display:none}ul.wc_stripe_cart_payment_methods li.wc-stripe-payment-method button,ul.wc_stripe_checkout_banner_gateways li button,ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_] button{margin:0}ul.payment_methods li[class*=payment_method]{margin:0;padding:10px 0}ul.payment_methods li[class*=payment_method] input[name=payment_method]{margin:0 5px 0 10px;float:none}ul.payment_methods li[class*=payment_method]>input[name=payment_method]+label{padding-top:0;padding-left:0;padding-bottom:0}ul.payment_methods{list-style:none}ul.payment_methods li[class*=payment_method_stripe_] .wc-stripe_cc-new-method-container label:before{display:none}.wc-stripe_cc-container .wc-stripe-save-source label.checkbox{padding:0!important;margin:0}div[id*=wc_stripe_local_payment_stripe_].StripeElement{border:1px solid #eee;border-radius:4px}#payment .payment_methods li #wc_stripe_local_payment_stripe_wechat img,#wc_stripe_local_payment_stripe_wechat img{max-height:100%;float:none}.qrcode-message{margin:10px 0 0 0}#wc_stripe_local_payment_stripe_becs,#wc_stripe_local_payment_stripe_sepa{padding:10px 12px;box-shadow:0 1px 3px 0 #e6ebf1}.wc-stripe-local-desc.stripe_becs,.wc-stripe-local-desc.stripe_sepa{margin:10px 0}.wc-stripe-clear{clear:both;height:0;visibility:hidden}.wc-stripe-gateway-desc p{margin:0}#wc_stripe_local_payment_stripe_klarna,li[class*=payment_method_stripe_] div.wc-stripe-gateway-container.has_tokens{margin-top:10px}.wc-stripe-gateway-desc{margin-top:10px}#wc-stripe-card-element.StripeElement--webkit-autofill{background-color:transparent!important}#wc_stripe_local_payment_stripe_klarna .stripe-klarna-categories{list-style:none;margin:0;padding:10px}li.payment_method_stripe_alipay,li.payment_method_stripe_bancontact,li.payment_method_stripe_becs,li.payment_method_stripe_eps,li.payment_method_stripe_fpx,li.payment_method_stripe_giropay,li.payment_method_stripe_ideal,li.payment_method_stripe_klarna,li.payment_method_stripe_multibanco,li.payment_method_stripe_p24,li.payment_method_stripe_sepa,li.payment_method_stripe_sofort,li.payment_method_stripe_wechat{display:none}.widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods{list-style:none;margin:0;padding:0}.widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods li{margin:0}.widget_shopping_cart_content a.wc-stripe-applepay-mini-cart,.widget_shopping_cart_content a.wc-stripe-gpay-mini-cart,.widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart{background:0 0;padding:0;border:none}a.wc-stripe-gpay-mini-cart .gpay-button,a.wc-stripe-gpay-mini-cart .gpay-card-info-container a.wc-stripe-applepay-mini-cart .apple-pay-button{width:100%;margin:0}.wc-stripe-payment-request-mini-cart.StripeElement{padding:0;background:0 0;border:none;width:100%}.wc-stripe-payment-request-mini-cart.StripeElement .__PrivateStripeElement{width:100%}.wc-stripe-minicart-overlay{display:none!important;position:absolute;background:rgba(255,255,255,.75);height:100%;width:100%;z-index:-1;top:0;right:0}.wc-stripe-minicart-overlay.active{display:block!important;z-index:9999}.wc-stripe-klarna-loader{display:flex;justify-content:center;position:relative;width:100%;height:30px;box-sizing:border-box;transform:scale(.65)}.wc-stripe-klarna-loader div{box-sizing:border-box;display:block;position:absolute;box-sizing:border-box;width:30px;height:30px;border:3px solid #000;border-radius:50%;animation:klarna-payments-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-color:#000 transparent transparent transparent}.wc-stripe-klarna-loader div:nth-child(1){animation-delay:-.45s}.wc-stripe-klarna-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-klarna-loader div:nth-child(3){animation-delay:-.15s}@keyframes klarna-payments-loader{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}li.payment_method_stripe_alipay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_applepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_bancontact.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_eps.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_giropay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_googlepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_grabpay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_multibanco.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_oxxo.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_p24.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_payment_request.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_sofort.wc-stripe-no-desc .payment_box.wc-stripe-no-methods{padding:0;margin:0}.wc-stripe-shortcode-cart-buttons .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or{display:none}label[for=payment_method_stripe_afterpay]>#wc-stripe-afterpay-msg{display:inline-block}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p,#wc-stripe-afterpay-product-msg .__PrivateStripeElement p,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p{margin-bottom:0!important;margin-top:0!important}#wc-stripe-afterpay-cart-msg .__PrivateStripeElement p .AfterpayMessage-logo,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p .AfterpayMessage-logo{vertical-align:middle}.payment_method_stripe_afterpay #wc_stripe_local_payment_stripe_afterpay.ineligible{display:none}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite{text-align:center;max-width:320px;margin:0 auto;padding:10px 0}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite img{display:inline-block}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite p{font-size:14px;margin-top:10px}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg{text-align:right}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .AfterpayMessage-logoSvg,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .AfterpayMessage-logoSvg{min-width:64px;max-width:90px}#wc-stripe-afterpay-cart-container td{border:none}#wc-stripe-afterpay-cart-container td::before{content:''}.AfterpayMessage-logoSvg{display:inline-block}#wc-stripe-afterpay-product-msg{font-size:14px}#wc-stripe-afterpay-product-msg .AfterpayMessage-logoSvg{max-width:80px;min-width:64px}.wc-stripe-afterpay-minicart-msg{font-size:.8em}.afterpay-ineligible,.payment_method_stripe_afterpay.afterpay-ineligible{display:none}.woocommerce-mini-cart__buttons .gpay-card-info-container{min-width:100%}.woocommerce-mini-cart__buttons .gpay-card-info-container{margin:0}.wc-stripe-boleto__description{margin-top:10px}.wc-stripe-boleto__description div{display:flex;align-items:center}.wc-stripe-boleto__description div label{margin:0}.wc-stripe-klarna__testmode{margin-top:10px}.wc-stripe-klarna__testmode label{display:inline-block}div.payment_method_stripe_cc>.woocommerce-NoticeGroup{margin-bottom:10px}div.payment_method_stripe_cc.custom-form__bootstrap>.woocommerce-NoticeGroup{margin-bottom:20px}.wc-stripe-installment-container{margin-top:15px}.wc-stripe-installment-container p{margin:0}.wc-stripe-installment-container label.installment-label{font-weight:500;margin:0 0 5px 0;position:relative;display:flex;align-items:center}.wc-stripe-installment-container .wc-stripe-installment-options.loading-installments{opacity:.4}.wc-stripe-installment-loader__container{flex:1 1 auto}.wc-stripe-installment-loader__container .wc-stripe-installment-loader{transform:scale(.55);width:30px;height:30px;position:absolute;top:-2px}.wc-stripe-installment-loader div{box-sizing:border-box;display:block;position:absolute;box-sizing:border-box;width:30px;height:30px;border:3px solid #000;border-radius:50%;animation:installment-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-color:#000 transparent transparent transparent}.wc-stripe-installment-loader div:nth-child(1){animation-delay:-.45s}.wc-stripe-installment-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-installment-loader div:nth-child(3){animation-delay:-.15s}@keyframes installment-loader{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}
1
+ .wc-stripe-card-icons-container,.wc-stripe-paymentRequest-icons-container{float:left;display:inline-block}ul.payment_methods li[class*=payment_method]{margin:0;padding:0}li[class*=payment_method] input[type=radio]{margin:0 5px 0 10px}li[class*=payment_method] input[type=radio]+label:not(.wc-stripe-label-payment-type){margin:0}.woocommerce-checkout #payment ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n+2),ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n+2){margin:0}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon{max-width:43px;max-height:26px;width:43px;height:26px;float:none;display:inline}li.payment_method_stripe_payment_request .wc-stripe-paymentRequest-icons-container img:not(.gpay){width:25px;height:25px;max-width:25px;max-height:25px}ul.payment_methods label[for*=payment_method_stripe]:after{clear:left;content:"";display:block}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon:nth-child(2n+2){margin:0 2px}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon.open.visa{padding-top:2px}ul.payment_methods li[class*=payment_method_stripe_] label>img:first-of-type{float:left!important}.wc-stripe_cc-new-method-container{margin-bottom:1em}.wc-stripe_cc-container .StripeElement:not(.payment-type){box-sizing:border-box;height:40px;padding:10px 12px;border-radius:4px;background-color:#fff;-webkit-transition:box-shadow 150ms ease;transition:box-shadow 150ms ease}input.wc-stripe-klarna-category,input.wc-stripe-payment-type{display:none!important}body .wfacp_main_form.woocommerce .wc-stripe-save-source label.checkbox{padding:0!important}input[type=radio]+label.wc-stripe-label-payment-type,label.wc-stripe-label-klarna-category,label.wc-stripe-label-payment-type{margin-bottom:1em;display:block;padding:0!important;color:#000}.theme-flatsome div.wc-stripe-saved-methods-container{margin:0 0 1em 0}label.wc-stripe-label-klarna-category:before,label.wc-stripe-label-payment-type:before{content:"";display:inline-block;width:11px;height:11px;border:2px solid #fff;box-shadow:0 0 0 2px #000;background:#fff;margin-right:4px;margin-left:.5em;border-radius:100%;-webkit-transform:translateY(2px);-ms-transform:translateY(2px);transform:translateY(2px)}input.wc-stripe-klarna-category:checked+label.wc-stripe-label-klarna-category:before,input.wc-stripe-payment-type:checked+label.wc-stripe-label-payment-type:before{background:#000}label.wc-stripe-label-payment-type:after{content:none!important;display:none!important}.wc-stripe-saved-methods-container .select2-container .select2-selection--single .select2-selection__rendered{padding-right:8px}.select2-results__options li.wc-stripe-select2-container,.wc-stripe-saved-methods-container .select2-container .select2-selection--single .wc-stripe-select2-container{display:flex;align-items:center;height:42px;line-height:42px!important}.select2-container .select2-selection--single .wc-stripe-select2-container:before,.select2-results__options li.wc-stripe-select2-container:before{content:'';background-repeat:no-repeat;background-size:40px 24px;width:40px;height:42px;display:inline-block;margin-left:8px;background-position:center}.select2-container .select2-selection--single .wc-stripe-select2-container.visa:before,.select2-results__options li.wc-stripe-select2-container.visa:before{background-image:url(../img/cards/visa.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,.select2-results__options li.wc-stripe-select2-container.mastercard:before{background-image:url(../img/cards/mastercard.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.americanexpress:before,.select2-results__options li.wc-stripe-select2-container.americanexpress:before{background-image:url(../img/cards/amex.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.amex:before,.select2-results__options li.wc-stripe-select2-container.amex:before{background-image:url(../img/cards/amex.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.discover:before,.select2-results__options li.wc-stripe-select2-container.discover:before{background-image:url(../img/cards/discover.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,.select2-results__options li.wc-stripe-select2-container.mastercard:before{background-image:url(../img/cards/mastercard.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.dinersclub:before,.select2-results__options li.wc-stripe-select2-container.dinersclub:before{background-image:url(../img/cards/diners.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.diners:before,.select2-results__options li.wc-stripe-select2-container.diners:before{background-image:url(../img/cards/diners.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.jcb:before,.select2-results__options li.wc-stripe-select2-container.jcb:before{background-image:url(../img/cards/jcb.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.stripe_sepa:before,.select2-results__options li.wc-stripe-select2-container.stripe_sepa:before{background-image:url(../img/sepa.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.stripe_becs:before,.select2-results__options li.wc-stripe-select2-container.stripe_becs:before,.select2-results__options li.wc-stripe-select2-container.wc-stripe-ach:before{display:none}#wc-stripe-card-element{margin-bottom:1em}#wc-stripe-card-element.payment-type{height:100%;padding:0}.wc-stripe_cc-new-method-container .wc-stripe-save-source{display:flex;align-items:center;justify-content:flex-start}.wc-stripe_cc-container .wc-stripe-save-source .save-source-label{display:block;padding:0;margin:0 5px 0 0}.wc-stripe_cc-container .wc-stripe-save-source input[type=checkbox][name=stripe_cc_save_source_key]{opacity:0;position:absolute;width:20px;height:20px}.wc-stripe_cc-container .wc-stripe-save-source label.checkbox{position:relative}.wc-stripe_cc-container .save-source-checkbox{height:20px;width:20px;position:relative;background-color:#fff;display:block;border-radius:3px;border:1px solid #bababa}.wc-stripe_cc-container .save-source-checkbox:after{content:"";position:absolute;top:0;right:0}.wc-stripe_cc-container .wc-stripe-save-source input[type=checkbox]:checked+.save-source-checkbox:after{right:6px;top:2px;width:7px;height:12px;border:solid #2196f3;border-width:0 0 3px 3px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}li.payment_method_stripe_applepay,li.payment_method_stripe_googlepay,li.payment_method_stripe_payment_request{display:none}#payment #place_order.wc-stripe-hide,#place_order.wc-stripe-hide,.woocommerce-checkout-review-order #payment #place_order.wc-stripe-hide{position:absolute!important;z-index:-1000!important;height:0!important;padding:0!important;opacity:0!important}.wc-stripe-product-checkout-container{display:none;width:100%}.wc-stripe-product-checkout-container.bottom{margin-top:1em}.wc-stripe-product-checkout-container.top{margin-bottom:1em}.wc-stripe-product-checkout-container.active{display:block}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods,.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods{list-style:none;margin:0;padding:0}.wc-stripe-cart-checkout-container{margin:0;padding:0;clear:both}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods{margin-bottom:1.5em}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_],.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]{margin:0 0 1em 0;list-style:none}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_]:last-child,.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child{margin:0}.wc_stripe_cart_payment_methods .gpay-button,.wc_stripe_cart_payment_methods .gpay-card-info-container,.wc_stripe_product_payment_methods .gpay-button,.wc_stripe_product_payment_methods .gpay-card-info-container{width:100%!important;min-width:100%;margin:0}.wc_stripe_product_payment_methods .disabled{opacity:.45}.stripe_cart_gateway_active .checkout-button,.woocommerce-cart .stripe_cart_gateway_active .wc-proceed-to-checkout .checkout-button{margin-bottom:0}.wc-stripe-cart-or{margin:1em 0;text-align:center}li.wc-stripe-payment-method.or{display:none}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or{display:block;margin:15px 0}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or p{margin:0}li[class*=payment_method_stripe_].active~li.wc-stripe-payment-method.or{display:block;margin:0}li.payment_method_stripe_applepay label:first-of-type img{width:49px;max-height:32px}li.payment_method_stripe_googlepay label:first-of-type img{width:48px;max-height:35px}li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_standard],li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_standard]{width:60px;max-height:35px}li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_round_outline],li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_round_outline]{width:56px;max-height:30px}li.payment_method_stripe_ach label:first-of-type img,li.payment_method_stripe_plaid label:first-of-type img{width:32px;height:32px;min-width:32px;min-height:32px}.gpay-button-container .gpay-button:hover,.wc-stripe-checkout-banner-gateway .gpay-button:hover{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}.gpay-button:active{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}.gpay-button:focus{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}@supports (-webkit-appearance:-apple-pay-button){.apple-pay-button{display:block;-webkit-appearance:-apple-pay-button!important;width:100%;max-width:100%;min-width:200px;height:40px;max-height:40px}.apple-pay-button-black{-apple-pay-button-style:#000}.apple-pay-button-white{-apple-pay-button-style:#fff}.apple-pay-button-white-with-line{-apple-pay-button-style:white-outline}.woocommerce-checkout-payment .apple-pay-button{max-width:240px}body.single-product div.product form.cart .wc_stripe_product_payment_methods .apple-pay-button{max-width:100%}}.wc-stripe-banner-checkout{display:none;padding:0;position:relative;margin:1em 0}.wc-stripe-banner-checkout fieldset{padding:15px 25px 15px;border:1px solid #d1d1d1;margin-bottom:20px;border-radius:3px}.wc-stripe-banner-checkout fieldset legend{margin:0 auto;font-weight:500;padding:0 1rem}.wc-stripe-banner-checkout.active{display:block}.wc-stripe-banner-checkout span.banner-divider{display:flex;align-items:center;top:-13px;left:0;right:0;background:0 0;white-space:nowrap;font-size:16px}.wc-stripe-banner-checkout span.banner-divider:after,.wc-stripe-banner-checkout span.banner-divider:before{content:' ';height:1px;background:#d1d1d1;display:block;width:50%}.wc-stripe-banner-checkout span.banner-divider:before{margin-left:1rem}.wc-stripe-banner-checkout span.banner-divider:after{margin-right:1rem}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways{list-style:none;margin:0;padding:0}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway{margin:0 auto;display:none;max-width:240px}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway.active:nth-child(n+2){margin:10px auto 0 auto}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway:first-child:not(.active)+li.wc-stripe-checkout-banner-gateway.active{margin:0 auto}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-button,.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-card-info-container{margin:0}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-button,.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-card-info-container{width:100%}.wc_stripe_cart_payment_methods .payment_method_stripe_payment_request .StripeElement,.wc_stripe_product_payment_methods .payment_method_stripe_payment_request .StripeElement{padding:0;width:100%}.woocommerce-checkout #wc-stripe-payment-request-container.StripeElement{width:240px;padding:0}.wc-stripe-checkout-banner-gateway #wc-stripe-payment-request-banner.StripeElement{width:100%}ul.payment_methods li.payment_method_stripe_p24 img{max-width:90px;width:90px;max-height:45px}ul.payment_methods li.payment_method_stripe_ideal img{max-width:38px;width:38px;max-height:35px}ul.payment_methods li.payment_method_stripe_fpx img{max-width:75px;width:75px;max-height:25px}ul.payment_methods li.payment_method_stripe_klarna img{max-width:72px;width:72px;max-height:20px}ul.payment_methods li.payment_method_stripe_klarna img[src*=klarna_pink]{width:56px;height:32px;max-height:32px}ul.payment_methods li.payment_method_stripe_giropay img{max-width:65px;width:65px;max-height:28px}ul.payment_methods li.payment_method_stripe_eps img{max-width:70px;width:70px;max-height:46px}ul.payment_methods li.payment_method_stripe_multibanco img{max-width:48px;width:48px;max-height:48px}ul.payment_methods li.payment_method_stripe_sepa img{max-width:67px;width:67px;max-height:18px}ul.payment_methods li.payment_method_stripe_sofort img{max-width:70px;width:70px;max-height:21px}label[for=payment_method_stripe_bancontact] img,ul.payment_methods li.payment_method_stripe_bancontact img{width:60px;height:42px;max-width:60px;max-height:42px}ul.payment_methods li.payment_method_stripe_wechat label img{max-width:82px;width:82px;max-height:23px}ul.payment_methods li.payment_method_stripe_alipay img{max-width:72px;width:72px;height:36px;max-height:36px}ul.payment_methods li.payment_method_stripe_grabpay img{max-width:95px;width:95px;max-height:28px}ul.payment_methods li.payment_method_stripe_oxxo img{max-width:52px;width:52px;max-height:24px}#wc-stripe-card-element{width:100%}li.banner_payment_method_stripe_payment_request .StripeElement{padding:0}.single-product .blockMsg{border:none!important;background-color:transparent!important}#wc-stripe-card{position:absolute!important;top:50%;left:8px;transform:translatey(-50%);width:23px;height:15px;padding:0;border:none}#wc-stripe-card.active{width:32px;height:20px}input[id=stripe-postal-code]:focus{outline:0;background:0 0;border:none;box-shadow:none}div.postalCode:focus{outline:0;border:none}li[class*=payment_method_stripe] .select2-container .select2-selection--single{height:42px;padding:0 5px}li[class*=payment_method_stripe] .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px;top:1px;left:1px;transform:translateY(0)}.blockUI.blockMsg{font-size:20px;white-space:nowrap}#wc-stripe-payment-request-container.disabled{opacity:.45}.wc-stripe-paymentRequest-icons-container img{float:none}.select2-container .select2-selection--single .wc-stripe-select2-container.wc-stripe-ach:before{display:none}ul.wc_stripe_cart_payment_methods li.wc-stripe-payment-method button,ul.wc_stripe_checkout_banner_gateways li button,ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_] button{margin:0}ul.payment_methods li[class*=payment_method]{margin:0;padding:10px 0}ul.payment_methods li[class*=payment_method] input[name=payment_method]{margin:0 5px 0 10px;float:none}ul.payment_methods li[class*=payment_method]>input[name=payment_method]+label{padding-top:0;padding-left:0;padding-bottom:0}ul.payment_methods{list-style:none}ul.payment_methods li[class*=payment_method_stripe_] .wc-stripe_cc-new-method-container label:before{display:none}.wc-stripe_cc-container .wc-stripe-save-source label.checkbox{padding:0!important;margin:0}div[id*=wc_stripe_local_payment_stripe_].StripeElement{border:1px solid #eee;border-radius:4px}#payment .payment_methods li #wc_stripe_local_payment_stripe_wechat img,#wc_stripe_local_payment_stripe_wechat img{max-height:100%;float:none}.qrcode-message{margin:10px 0 0 0}#wc_stripe_local_payment_stripe_becs,#wc_stripe_local_payment_stripe_sepa{padding:10px 12px;box-shadow:0 1px 3px 0 #e6ebf1}.wc-stripe-local-desc.stripe_becs,.wc-stripe-local-desc.stripe_sepa{margin:10px 0}.wc-stripe-clear{clear:both;height:0;visibility:hidden}.wc-stripe-gateway-desc p{margin:0}#wc_stripe_local_payment_stripe_klarna,li[class*=payment_method_stripe_] div.wc-stripe-gateway-container.has_tokens{margin-top:10px}.wc-stripe-gateway-desc{margin-top:10px}#wc-stripe-card-element.StripeElement--webkit-autofill{background-color:transparent!important}#wc_stripe_local_payment_stripe_klarna .stripe-klarna-categories{list-style:none;margin:0;padding:10px}li.payment_method_stripe_alipay,li.payment_method_stripe_bancontact,li.payment_method_stripe_becs,li.payment_method_stripe_eps,li.payment_method_stripe_fpx,li.payment_method_stripe_giropay,li.payment_method_stripe_ideal,li.payment_method_stripe_klarna,li.payment_method_stripe_multibanco,li.payment_method_stripe_p24,li.payment_method_stripe_sepa,li.payment_method_stripe_sofort,li.payment_method_stripe_wechat{display:none}.widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods{list-style:none;margin:0;padding:0}.widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods li{margin:0}.widget_shopping_cart_content a.wc-stripe-applepay-mini-cart,.widget_shopping_cart_content a.wc-stripe-gpay-mini-cart,.widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart{background:0 0;padding:0;border:none}a.wc-stripe-gpay-mini-cart .gpay-button,a.wc-stripe-gpay-mini-cart .gpay-card-info-container a.wc-stripe-applepay-mini-cart .apple-pay-button{width:100%;margin:0}.wc-stripe-payment-request-mini-cart.StripeElement{padding:0;background:0 0;border:none;width:100%}.wc-stripe-payment-request-mini-cart.StripeElement .__PrivateStripeElement{width:100%}.wc-stripe-minicart-overlay{display:none!important;position:absolute;background:rgba(255,255,255,.75);height:100%;width:100%;z-index:-1;top:0;right:0}.wc-stripe-minicart-overlay.active{display:block!important;z-index:9999}.wc-stripe-klarna-loader{display:flex;justify-content:center;position:relative;width:100%;height:30px;box-sizing:border-box;transform:scale(.65)}.wc-stripe-klarna-loader div{box-sizing:border-box;display:block;position:absolute;box-sizing:border-box;width:30px;height:30px;border:3px solid #000;border-radius:50%;animation:klarna-payments-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-color:#000 transparent transparent transparent}.wc-stripe-klarna-loader div:nth-child(1){animation-delay:-.45s}.wc-stripe-klarna-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-klarna-loader div:nth-child(3){animation-delay:-.15s}@keyframes klarna-payments-loader{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}li.payment_method_stripe_alipay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_applepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_bancontact.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_eps.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_giropay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_googlepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_grabpay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_multibanco.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_oxxo.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_p24.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_payment_request.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_sofort.wc-stripe-no-desc .payment_box.wc-stripe-no-methods{padding:0;margin:0}.wc-stripe-shortcode-cart-buttons .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or{display:none}label[for=payment_method_stripe_afterpay]>#wc-stripe-afterpay-msg{display:inline-block}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p,#wc-stripe-afterpay-product-msg .__PrivateStripeElement p,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p{margin-bottom:0!important;margin-top:0!important}#wc-stripe-afterpay-cart-msg .__PrivateStripeElement p .AfterpayMessage-logo,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p .AfterpayMessage-logo{vertical-align:middle}.payment_method_stripe_afterpay #wc_stripe_local_payment_stripe_afterpay.ineligible{display:none}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite{text-align:center;max-width:320px;margin:0 auto;padding:10px 0}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite img{display:inline-block}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite p{font-size:14px;margin-top:10px}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg{text-align:right}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .AfterpayMessage-logoSvg,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .AfterpayMessage-logoSvg{min-width:64px;max-width:90px}#wc-stripe-afterpay-cart-container td{border:none}#wc-stripe-afterpay-cart-container td::before{content:''}.AfterpayMessage-logoSvg{display:inline-block}#wc-stripe-afterpay-product-msg{font-size:14px}#wc-stripe-afterpay-product-msg .AfterpayMessage-logoSvg{max-width:80px;min-width:64px}.wc-stripe-afterpay-minicart-msg{font-size:.8em}.afterpay-ineligible,.payment_method_stripe_afterpay.afterpay-ineligible{display:none}.woocommerce-mini-cart__buttons .gpay-card-info-container{min-width:100%}.woocommerce-mini-cart__buttons .gpay-card-info-container{margin:0}.wc-stripe-boleto__description{margin-top:10px}.wc-stripe-boleto__description div{display:flex;align-items:center}.wc-stripe-boleto__description div label{margin:0}.wc-stripe-klarna__testmode{margin-top:10px}.wc-stripe-klarna__testmode label{display:inline-block}div.payment_method_stripe_cc>.woocommerce-NoticeGroup{margin-bottom:10px}div.payment_method_stripe_cc.custom-form__bootstrap>.woocommerce-NoticeGroup{margin-bottom:20px}.wc-stripe-installment-container{margin-top:15px}.wc-stripe-installment-container p{margin:0}.wc-stripe-installment-container label.installment-label{font-weight:500;margin:0 0 5px 0;position:relative;display:flex;align-items:center}.wc-stripe-installment-container .wc-stripe-installment-options.loading-installments{opacity:.4}.wc-stripe-installment-loader__container{flex:1 1 auto}.wc-stripe-installment-loader__container .wc-stripe-installment-loader{transform:scale(.55);width:30px;height:30px;position:absolute;top:-2px}.wc-stripe-installment-loader div{box-sizing:border-box;display:block;position:absolute;box-sizing:border-box;width:30px;height:30px;border:3px solid #000;border-radius:50%;animation:installment-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-color:#000 transparent transparent transparent}.wc-stripe-installment-loader div:nth-child(1){animation-delay:-.45s}.wc-stripe-installment-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-installment-loader div:nth-child(3){animation-delay:-.15s}@keyframes installment-loader{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}#wc-stripe-ach-container .wc-stripe-ach__mandate{margin:10px 0}
assets/css/stripe.min.css CHANGED
@@ -1 +1 @@
1
- .wc-stripe-card-icons-container,.wc-stripe-paymentRequest-icons-container{float:right;display:inline-block}ul.payment_methods li[class*=payment_method]{margin:0;padding:0}li[class*=payment_method] input[type=radio]{margin:0 10px 0 5px}li[class*=payment_method] input[type=radio]+label:not(.wc-stripe-label-payment-type){margin:0}.woocommerce-checkout #payment ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n+2),ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n+2){margin:0}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon{max-width:43px;max-height:26px;width:43px;height:26px;float:none;display:inline}li.payment_method_stripe_payment_request .wc-stripe-paymentRequest-icons-container img:not(.gpay){width:25px;height:25px;max-width:25px;max-height:25px}ul.payment_methods label[for*=payment_method_stripe]:after{clear:right;content:"";display:block}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon:nth-child(2n+2){margin:0 2px}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon.open.visa{padding-top:2px}ul.payment_methods li[class*=payment_method_stripe_] label>img:first-of-type{float:right!important}.wc-stripe_cc-new-method-container{margin-bottom:1em}.wc-stripe_cc-container .StripeElement{box-sizing:border-box;height:40px;padding:10px 12px;border-radius:4px;background-color:#fff;-webkit-transition:box-shadow 150ms ease;transition:box-shadow 150ms ease}input.wc-stripe-klarna-category,input.wc-stripe-payment-type{display:none!important}body .wfacp_main_form.woocommerce .wc-stripe-save-source label.checkbox{padding:0!important}input[type=radio]+label.wc-stripe-label-payment-type,label.wc-stripe-label-klarna-category,label.wc-stripe-label-payment-type{margin-bottom:1em;display:block;padding:0!important;color:#000}.theme-flatsome div.wc-stripe-saved-methods-container{margin:0 0 1em 0}label.wc-stripe-label-klarna-category:before,label.wc-stripe-label-payment-type:before{content:"";display:inline-block;width:11px;height:11px;border:2px solid #fff;box-shadow:0 0 0 2px #000;background:#fff;margin-left:4px;margin-right:.5em;border-radius:100%;-webkit-transform:translateY(2px);-ms-transform:translateY(2px);transform:translateY(2px)}input.wc-stripe-klarna-category:checked+label.wc-stripe-label-klarna-category:before,input.wc-stripe-payment-type:checked+label.wc-stripe-label-payment-type:before{background:#000}label.wc-stripe-label-payment-type:after{content:none!important;display:none!important}.wc-stripe-saved-methods-container .select2-container .select2-selection--single .select2-selection__rendered{padding-left:8px}.select2-results__options li.wc-stripe-select2-container,.wc-stripe-saved-methods-container .select2-container .select2-selection--single .wc-stripe-select2-container{display:flex;align-items:center;height:42px;line-height:42px!important}.select2-container .select2-selection--single .wc-stripe-select2-container:before,.select2-results__options li.wc-stripe-select2-container:before{content:'';background-repeat:no-repeat;background-size:40px 24px;width:40px;height:42px;display:inline-block;margin-right:8px;background-position:center}.select2-container .select2-selection--single .wc-stripe-select2-container.visa:before,.select2-results__options li.wc-stripe-select2-container.visa:before{background-image:url(../img/cards/visa.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,.select2-results__options li.wc-stripe-select2-container.mastercard:before{background-image:url(../img/cards/mastercard.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.americanexpress:before,.select2-results__options li.wc-stripe-select2-container.americanexpress:before{background-image:url(../img/cards/amex.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.amex:before,.select2-results__options li.wc-stripe-select2-container.amex:before{background-image:url(../img/cards/amex.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.discover:before,.select2-results__options li.wc-stripe-select2-container.discover:before{background-image:url(../img/cards/discover.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,.select2-results__options li.wc-stripe-select2-container.mastercard:before{background-image:url(../img/cards/mastercard.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.dinersclub:before,.select2-results__options li.wc-stripe-select2-container.dinersclub:before{background-image:url(../img/cards/diners.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.diners:before,.select2-results__options li.wc-stripe-select2-container.diners:before{background-image:url(../img/cards/diners.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.jcb:before,.select2-results__options li.wc-stripe-select2-container.jcb:before{background-image:url(../img/cards/jcb.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.stripe_sepa:before,.select2-results__options li.wc-stripe-select2-container.stripe_sepa:before{background-image:url(../img/sepa.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.stripe_becs:before,.select2-results__options li.wc-stripe-select2-container.stripe_becs:before,.select2-results__options li.wc-stripe-select2-container.wc-stripe-ach:before{display:none}#wc-stripe-card-element{margin-bottom:1em}#wc-stripe-card-element.payment-type{height:100%;padding:0}.wc-stripe_cc-new-method-container .wc-stripe-save-source{display:flex;align-items:center;justify-content:flex-start}.wc-stripe_cc-container .wc-stripe-save-source .save-source-label{display:block;padding:0;margin:0 0 0 5px}.wc-stripe_cc-container .wc-stripe-save-source input[type=checkbox][name=stripe_cc_save_source_key]{opacity:0;position:absolute;width:20px;height:20px}.wc-stripe_cc-container .wc-stripe-save-source label.checkbox{position:relative}.wc-stripe_cc-container .save-source-checkbox{height:20px;width:20px;position:relative;background-color:#fff;display:block;border-radius:3px;border:1px solid #bababa}.wc-stripe_cc-container .save-source-checkbox:after{content:"";position:absolute;top:0;left:0}.wc-stripe_cc-container .wc-stripe-save-source input[type=checkbox]:checked+.save-source-checkbox:after{left:6px;top:2px;width:7px;height:12px;border:solid #2196f3;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}li.payment_method_stripe_applepay,li.payment_method_stripe_googlepay,li.payment_method_stripe_payment_request{display:none}#payment #place_order.wc-stripe-hide,#place_order.wc-stripe-hide,.woocommerce-checkout-review-order #payment #place_order.wc-stripe-hide{position:absolute!important;z-index:-1000!important;height:0!important;padding:0!important;opacity:0!important}.wc-stripe-product-checkout-container{display:none;width:100%}.wc-stripe-product-checkout-container.bottom{margin-top:1em}.wc-stripe-product-checkout-container.top{margin-bottom:1em}.wc-stripe-product-checkout-container.active{display:block}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods,.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods{list-style:none;margin:0;padding:0}.wc-stripe-cart-checkout-container{margin:0;padding:0;clear:both}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods{margin-bottom:1.5em}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_],.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]{margin:0 0 1em 0;list-style:none}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_]:last-child,.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child{margin:0}.wc_stripe_cart_payment_methods .gpay-button,.wc_stripe_cart_payment_methods .gpay-card-info-container,.wc_stripe_product_payment_methods .gpay-button,.wc_stripe_product_payment_methods .gpay-card-info-container{width:100%!important;min-width:100%;margin:0}.wc_stripe_product_payment_methods .disabled{opacity:.45}.stripe_cart_gateway_active .checkout-button,.woocommerce-cart .stripe_cart_gateway_active .wc-proceed-to-checkout .checkout-button{margin-bottom:0}.wc-stripe-cart-or{margin:1em 0;text-align:center}li.wc-stripe-payment-method.or{display:none}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or{display:block;margin:15px 0}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or p{margin:0}li[class*=payment_method_stripe_].active~li.wc-stripe-payment-method.or{display:block;margin:0}li.payment_method_stripe_applepay label:first-of-type img{width:49px;max-height:32px}li.payment_method_stripe_googlepay label:first-of-type img{width:48px;max-height:35px}li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_standard],li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_standard]{width:60px;max-height:35px}li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_round_outline],li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_round_outline]{width:56px;max-height:30px}li.payment_method_stripe_ach label:first-of-type img{width:32px;height:32px;min-width:32px;min-height:32px}.gpay-button-container .gpay-button:hover,.wc-stripe-checkout-banner-gateway .gpay-button:hover{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}.gpay-button:active{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}.gpay-button:focus{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}@supports (-webkit-appearance:-apple-pay-button){.apple-pay-button{display:block;-webkit-appearance:-apple-pay-button!important;width:100%;max-width:100%;min-width:200px;height:40px;max-height:40px}.apple-pay-button-black{-apple-pay-button-style:#000}.apple-pay-button-white{-apple-pay-button-style:#fff}.apple-pay-button-white-with-line{-apple-pay-button-style:white-outline}.woocommerce-checkout-payment .apple-pay-button{max-width:240px}body.single-product div.product form.cart .wc_stripe_product_payment_methods .apple-pay-button{max-width:100%}}.wc-stripe-banner-checkout{display:none;padding:0;position:relative;margin:1em 0}.wc-stripe-banner-checkout fieldset{padding:15px 25px 15px;border:1px solid #d1d1d1;margin-bottom:20px;border-radius:3px}.wc-stripe-banner-checkout fieldset legend{margin:0 auto;font-weight:500;padding:0 1rem}.wc-stripe-banner-checkout.active{display:block}.wc-stripe-banner-checkout span.banner-divider{display:flex;align-items:center;top:-13px;right:0;left:0;background:0 0;white-space:nowrap;font-size:16px}.wc-stripe-banner-checkout span.banner-divider:after,.wc-stripe-banner-checkout span.banner-divider:before{content:' ';height:1px;background:#d1d1d1;display:block;width:50%}.wc-stripe-banner-checkout span.banner-divider:before{margin-right:1rem}.wc-stripe-banner-checkout span.banner-divider:after{margin-left:1rem}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways{list-style:none;margin:0;padding:0}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway{margin:0 auto;display:none;max-width:240px}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway.active:nth-child(n+2){margin:10px auto 0 auto}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway:first-child:not(.active)+li.wc-stripe-checkout-banner-gateway.active{margin:0 auto}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-button,.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-card-info-container{margin:0}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-button,.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-card-info-container{width:100%}.wc_stripe_cart_payment_methods .payment_method_stripe_payment_request .StripeElement,.wc_stripe_product_payment_methods .payment_method_stripe_payment_request .StripeElement{padding:0;width:100%}.woocommerce-checkout #wc-stripe-payment-request-container.StripeElement{width:240px;padding:0}.wc-stripe-checkout-banner-gateway #wc-stripe-payment-request-banner.StripeElement{width:100%}ul.payment_methods li.payment_method_stripe_p24 img{max-width:90px;width:90px;max-height:45px}ul.payment_methods li.payment_method_stripe_ideal img{max-width:38px;width:38px;max-height:35px}ul.payment_methods li.payment_method_stripe_fpx img{max-width:75px;width:75px;max-height:25px}ul.payment_methods li.payment_method_stripe_klarna img{max-width:72px;width:72px;max-height:20px}ul.payment_methods li.payment_method_stripe_klarna img[src*=klarna_pink]{width:56px;height:32px;max-height:32px}ul.payment_methods li.payment_method_stripe_giropay img{max-width:65px;width:65px;max-height:28px}ul.payment_methods li.payment_method_stripe_eps img{max-width:70px;width:70px;max-height:46px}ul.payment_methods li.payment_method_stripe_multibanco img{max-width:48px;width:48px;max-height:48px}ul.payment_methods li.payment_method_stripe_sepa img{max-width:67px;width:67px;max-height:18px}ul.payment_methods li.payment_method_stripe_sofort img{max-width:70px;width:70px;max-height:21px}label[for=payment_method_stripe_bancontact] img,ul.payment_methods li.payment_method_stripe_bancontact img{width:60px;height:42px;max-width:60px;max-height:42px}ul.payment_methods li.payment_method_stripe_wechat label img{max-width:82px;width:82px;max-height:23px}ul.payment_methods li.payment_method_stripe_alipay img{max-width:72px;width:72px;height:36px;max-height:36px}ul.payment_methods li.payment_method_stripe_grabpay img{max-width:95px;width:95px;max-height:28px}ul.payment_methods li.payment_method_stripe_oxxo img{max-width:52px;width:52px;max-height:24px}#wc-stripe-card-element{width:100%}li.banner_payment_method_stripe_payment_request .StripeElement{padding:0}.single-product .blockMsg{border:none!important;background-color:transparent!important}#wc-stripe-card{position:absolute!important;top:50%;right:8px;transform:translatey(-50%);width:23px;height:15px;padding:0;border:none}#wc-stripe-card.active{width:32px;height:20px}input[id=stripe-postal-code]:focus{outline:0;background:0 0;border:none;box-shadow:none}div.postalCode:focus{outline:0;border:none}li[class*=payment_method_stripe] .select2-container .select2-selection--single{height:42px;padding:0 5px}li[class*=payment_method_stripe] .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px;top:1px;right:1px;transform:translateY(0)}.blockUI.blockMsg{font-size:20px;white-space:nowrap}#wc-stripe-payment-request-container.disabled{opacity:.45}.wc-stripe-paymentRequest-icons-container img{float:none}.select2-container .select2-selection--single .wc-stripe-select2-container.wc-stripe-ach:before{display:none}ul.wc_stripe_cart_payment_methods li.wc-stripe-payment-method button,ul.wc_stripe_checkout_banner_gateways li button,ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_] button{margin:0}ul.payment_methods li[class*=payment_method]{margin:0;padding:10px 0}ul.payment_methods li[class*=payment_method] input[name=payment_method]{margin:0 10px 0 5px;float:none}ul.payment_methods li[class*=payment_method]>input[name=payment_method]+label{padding-top:0;padding-right:0;padding-bottom:0}ul.payment_methods{list-style:none}ul.payment_methods li[class*=payment_method_stripe_] .wc-stripe_cc-new-method-container label:before{display:none}.wc-stripe_cc-container .wc-stripe-save-source label.checkbox{padding:0!important;margin:0}div[id*=wc_stripe_local_payment_stripe_].StripeElement{border:1px solid #eee;border-radius:4px}#payment .payment_methods li #wc_stripe_local_payment_stripe_wechat img,#wc_stripe_local_payment_stripe_wechat img{max-height:100%;float:none}.qrcode-message{margin:10px 0 0 0}#wc_stripe_local_payment_stripe_becs,#wc_stripe_local_payment_stripe_sepa{padding:10px 12px;box-shadow:0 1px 3px 0 #e6ebf1}.wc-stripe-local-desc.stripe_becs,.wc-stripe-local-desc.stripe_sepa{margin:10px 0}.wc-stripe-clear{clear:both;height:0;visibility:hidden}.wc-stripe-gateway-desc p{margin:0}#wc_stripe_local_payment_stripe_klarna,li[class*=payment_method_stripe_] div.wc-stripe-gateway-container.has_tokens{margin-top:10px}.wc-stripe-gateway-desc{margin-top:10px}#wc-stripe-card-element.StripeElement--webkit-autofill{background-color:transparent!important}#wc_stripe_local_payment_stripe_klarna .stripe-klarna-categories{list-style:none;margin:0;padding:10px}li.payment_method_stripe_alipay,li.payment_method_stripe_bancontact,li.payment_method_stripe_becs,li.payment_method_stripe_eps,li.payment_method_stripe_fpx,li.payment_method_stripe_giropay,li.payment_method_stripe_ideal,li.payment_method_stripe_klarna,li.payment_method_stripe_multibanco,li.payment_method_stripe_p24,li.payment_method_stripe_sepa,li.payment_method_stripe_sofort,li.payment_method_stripe_wechat{display:none}.widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods{list-style:none;margin:0;padding:0}.widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods li{margin:0}.widget_shopping_cart_content a.wc-stripe-applepay-mini-cart,.widget_shopping_cart_content a.wc-stripe-gpay-mini-cart,.widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart{background:0 0;padding:0;border:none}a.wc-stripe-gpay-mini-cart .gpay-button,a.wc-stripe-gpay-mini-cart .gpay-card-info-container a.wc-stripe-applepay-mini-cart .apple-pay-button{width:100%;margin:0}.wc-stripe-payment-request-mini-cart.StripeElement{padding:0;background:0 0;border:none;width:100%}.wc-stripe-payment-request-mini-cart.StripeElement .__PrivateStripeElement{width:100%}.wc-stripe-minicart-overlay{display:none!important;position:absolute;background:rgba(255,255,255,.75);height:100%;width:100%;z-index:-1;top:0;left:0}.wc-stripe-minicart-overlay.active{display:block!important;z-index:9999}.wc-stripe-klarna-loader{display:flex;justify-content:center;position:relative;width:100%;height:30px;box-sizing:border-box;transform:scale(.65)}.wc-stripe-klarna-loader div{box-sizing:border-box;display:block;position:absolute;box-sizing:border-box;width:30px;height:30px;border:3px solid #000;border-radius:50%;animation:klarna-payments-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-color:#000 transparent transparent transparent}.wc-stripe-klarna-loader div:nth-child(1){animation-delay:-.45s}.wc-stripe-klarna-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-klarna-loader div:nth-child(3){animation-delay:-.15s}@keyframes klarna-payments-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}li.payment_method_stripe_alipay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_applepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_bancontact.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_eps.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_giropay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_googlepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_grabpay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_multibanco.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_oxxo.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_p24.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_payment_request.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_sofort.wc-stripe-no-desc .payment_box.wc-stripe-no-methods{padding:0;margin:0}.wc-stripe-shortcode-cart-buttons .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or{display:none}label[for=payment_method_stripe_afterpay]>#wc-stripe-afterpay-msg{display:inline-block}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p,#wc-stripe-afterpay-product-msg .__PrivateStripeElement p,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p{margin-bottom:0!important;margin-top:0!important}#wc-stripe-afterpay-cart-msg .__PrivateStripeElement p .AfterpayMessage-logo,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p .AfterpayMessage-logo{vertical-align:middle}.payment_method_stripe_afterpay #wc_stripe_local_payment_stripe_afterpay.ineligible{display:none}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite{text-align:center;max-width:320px;margin:0 auto;padding:10px 0}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite img{display:inline-block}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite p{font-size:14px;margin-top:10px}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg{text-align:left}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .AfterpayMessage-logoSvg,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .AfterpayMessage-logoSvg{min-width:64px;max-width:90px}#wc-stripe-afterpay-cart-container td{border:none}#wc-stripe-afterpay-cart-container td::before{content:''}.AfterpayMessage-logoSvg{display:inline-block}#wc-stripe-afterpay-product-msg{font-size:14px}#wc-stripe-afterpay-product-msg .AfterpayMessage-logoSvg{max-width:80px;min-width:64px}.wc-stripe-afterpay-minicart-msg{font-size:.8em}.afterpay-ineligible,.payment_method_stripe_afterpay.afterpay-ineligible{display:none}.woocommerce-mini-cart__buttons .gpay-card-info-container{min-width:100%}.woocommerce-mini-cart__buttons .gpay-card-info-container{margin:0}.wc-stripe-boleto__description{margin-top:10px}.wc-stripe-boleto__description div{display:flex;align-items:center}.wc-stripe-boleto__description div label{margin:0}.wc-stripe-klarna__testmode{margin-top:10px}.wc-stripe-klarna__testmode label{display:inline-block}div.payment_method_stripe_cc>.woocommerce-NoticeGroup{margin-bottom:10px}div.payment_method_stripe_cc.custom-form__bootstrap>.woocommerce-NoticeGroup{margin-bottom:20px}.wc-stripe-installment-container{margin-top:15px}.wc-stripe-installment-container p{margin:0}.wc-stripe-installment-container label.installment-label{font-weight:500;margin:0 0 5px 0;position:relative;display:flex;align-items:center}.wc-stripe-installment-container .wc-stripe-installment-options.loading-installments{opacity:.4}.wc-stripe-installment-loader__container{flex:1 1 auto}.wc-stripe-installment-loader__container .wc-stripe-installment-loader{transform:scale(.55);width:30px;height:30px;position:absolute;top:-2px}.wc-stripe-installment-loader div{box-sizing:border-box;display:block;position:absolute;box-sizing:border-box;width:30px;height:30px;border:3px solid #000;border-radius:50%;animation:installment-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-color:#000 transparent transparent transparent}.wc-stripe-installment-loader div:nth-child(1){animation-delay:-.45s}.wc-stripe-installment-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-installment-loader div:nth-child(3){animation-delay:-.15s}@keyframes installment-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
1
+ .wc-stripe-card-icons-container,.wc-stripe-paymentRequest-icons-container{float:right;display:inline-block}ul.payment_methods li[class*=payment_method]{margin:0;padding:0}li[class*=payment_method] input[type=radio]{margin:0 10px 0 5px}li[class*=payment_method] input[type=radio]+label:not(.wc-stripe-label-payment-type){margin:0}.woocommerce-checkout #payment ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n+2),ul.payment_methods li[class*=payment_method_stripe_]:nth-child(n+2){margin:0}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon{max-width:43px;max-height:26px;width:43px;height:26px;float:none;display:inline}li.payment_method_stripe_payment_request .wc-stripe-paymentRequest-icons-container img:not(.gpay){width:25px;height:25px;max-width:25px;max-height:25px}ul.payment_methods label[for*=payment_method_stripe]:after{clear:right;content:"";display:block}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon:nth-child(2n+2){margin:0 2px}li.payment_method_stripe_cc .wc-stripe-card-icons-container img.wc-stripe-card-icon.open.visa{padding-top:2px}ul.payment_methods li[class*=payment_method_stripe_] label>img:first-of-type{float:right!important}.wc-stripe_cc-new-method-container{margin-bottom:1em}.wc-stripe_cc-container .StripeElement:not(.payment-type){box-sizing:border-box;height:40px;padding:10px 12px;border-radius:4px;background-color:#fff;-webkit-transition:box-shadow 150ms ease;transition:box-shadow 150ms ease}input.wc-stripe-klarna-category,input.wc-stripe-payment-type{display:none!important}body .wfacp_main_form.woocommerce .wc-stripe-save-source label.checkbox{padding:0!important}input[type=radio]+label.wc-stripe-label-payment-type,label.wc-stripe-label-klarna-category,label.wc-stripe-label-payment-type{margin-bottom:1em;display:block;padding:0!important;color:#000}.theme-flatsome div.wc-stripe-saved-methods-container{margin:0 0 1em 0}label.wc-stripe-label-klarna-category:before,label.wc-stripe-label-payment-type:before{content:"";display:inline-block;width:11px;height:11px;border:2px solid #fff;box-shadow:0 0 0 2px #000;background:#fff;margin-left:4px;margin-right:.5em;border-radius:100%;-webkit-transform:translateY(2px);-ms-transform:translateY(2px);transform:translateY(2px)}input.wc-stripe-klarna-category:checked+label.wc-stripe-label-klarna-category:before,input.wc-stripe-payment-type:checked+label.wc-stripe-label-payment-type:before{background:#000}label.wc-stripe-label-payment-type:after{content:none!important;display:none!important}.wc-stripe-saved-methods-container .select2-container .select2-selection--single .select2-selection__rendered{padding-left:8px}.select2-results__options li.wc-stripe-select2-container,.wc-stripe-saved-methods-container .select2-container .select2-selection--single .wc-stripe-select2-container{display:flex;align-items:center;height:42px;line-height:42px!important}.select2-container .select2-selection--single .wc-stripe-select2-container:before,.select2-results__options li.wc-stripe-select2-container:before{content:'';background-repeat:no-repeat;background-size:40px 24px;width:40px;height:42px;display:inline-block;margin-right:8px;background-position:center}.select2-container .select2-selection--single .wc-stripe-select2-container.visa:before,.select2-results__options li.wc-stripe-select2-container.visa:before{background-image:url(../img/cards/visa.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,.select2-results__options li.wc-stripe-select2-container.mastercard:before{background-image:url(../img/cards/mastercard.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.americanexpress:before,.select2-results__options li.wc-stripe-select2-container.americanexpress:before{background-image:url(../img/cards/amex.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.amex:before,.select2-results__options li.wc-stripe-select2-container.amex:before{background-image:url(../img/cards/amex.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.discover:before,.select2-results__options li.wc-stripe-select2-container.discover:before{background-image:url(../img/cards/discover.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.mastercard:before,.select2-results__options li.wc-stripe-select2-container.mastercard:before{background-image:url(../img/cards/mastercard.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.dinersclub:before,.select2-results__options li.wc-stripe-select2-container.dinersclub:before{background-image:url(../img/cards/diners.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.diners:before,.select2-results__options li.wc-stripe-select2-container.diners:before{background-image:url(../img/cards/diners.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.jcb:before,.select2-results__options li.wc-stripe-select2-container.jcb:before{background-image:url(../img/cards/jcb.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.stripe_sepa:before,.select2-results__options li.wc-stripe-select2-container.stripe_sepa:before{background-image:url(../img/sepa.svg)}.select2-container .select2-selection--single .wc-stripe-select2-container.stripe_becs:before,.select2-results__options li.wc-stripe-select2-container.stripe_becs:before,.select2-results__options li.wc-stripe-select2-container.wc-stripe-ach:before{display:none}#wc-stripe-card-element{margin-bottom:1em}#wc-stripe-card-element.payment-type{height:100%;padding:0}.wc-stripe_cc-new-method-container .wc-stripe-save-source{display:flex;align-items:center;justify-content:flex-start}.wc-stripe_cc-container .wc-stripe-save-source .save-source-label{display:block;padding:0;margin:0 0 0 5px}.wc-stripe_cc-container .wc-stripe-save-source input[type=checkbox][name=stripe_cc_save_source_key]{opacity:0;position:absolute;width:20px;height:20px}.wc-stripe_cc-container .wc-stripe-save-source label.checkbox{position:relative}.wc-stripe_cc-container .save-source-checkbox{height:20px;width:20px;position:relative;background-color:#fff;display:block;border-radius:3px;border:1px solid #bababa}.wc-stripe_cc-container .save-source-checkbox:after{content:"";position:absolute;top:0;left:0}.wc-stripe_cc-container .wc-stripe-save-source input[type=checkbox]:checked+.save-source-checkbox:after{left:6px;top:2px;width:7px;height:12px;border:solid #2196f3;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}li.payment_method_stripe_applepay,li.payment_method_stripe_googlepay,li.payment_method_stripe_payment_request{display:none}#payment #place_order.wc-stripe-hide,#place_order.wc-stripe-hide,.woocommerce-checkout-review-order #payment #place_order.wc-stripe-hide{position:absolute!important;z-index:-1000!important;height:0!important;padding:0!important;opacity:0!important}.wc-stripe-product-checkout-container{display:none;width:100%}.wc-stripe-product-checkout-container.bottom{margin-top:1em}.wc-stripe-product-checkout-container.top{margin-bottom:1em}.wc-stripe-product-checkout-container.active{display:block}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods,.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods{list-style:none;margin:0;padding:0}.wc-stripe-cart-checkout-container{margin:0;padding:0;clear:both}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods{margin-bottom:1.5em}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_],.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]{margin:0 0 1em 0;list-style:none}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods li[class*=payment_method_stripe_]:last-child,.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child{margin:0}.wc_stripe_cart_payment_methods .gpay-button,.wc_stripe_cart_payment_methods .gpay-card-info-container,.wc_stripe_product_payment_methods .gpay-button,.wc_stripe_product_payment_methods .gpay-card-info-container{width:100%!important;min-width:100%;margin:0}.wc_stripe_product_payment_methods .disabled{opacity:.45}.stripe_cart_gateway_active .checkout-button,.woocommerce-cart .stripe_cart_gateway_active .wc-proceed-to-checkout .checkout-button{margin-bottom:0}.wc-stripe-cart-or{margin:1em 0;text-align:center}li.wc-stripe-payment-method.or{display:none}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or{display:block;margin:15px 0}.wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or p{margin:0}li[class*=payment_method_stripe_].active~li.wc-stripe-payment-method.or{display:block;margin:0}li.payment_method_stripe_applepay label:first-of-type img{width:49px;max-height:32px}li.payment_method_stripe_googlepay label:first-of-type img{width:48px;max-height:35px}li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_standard],li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_standard]{width:60px;max-height:35px}li.payment_method_stripe_googlepay label:first-of-type img[src*=googlepay_round_outline],li.payment_method_stripe_payment_request label:first-of-type img[src*=googlepay_round_outline]{width:56px;max-height:30px}li.payment_method_stripe_ach label:first-of-type img,li.payment_method_stripe_plaid label:first-of-type img{width:32px;height:32px;min-width:32px;min-height:32px}.gpay-button-container .gpay-button:hover,.wc-stripe-checkout-banner-gateway .gpay-button:hover{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}.gpay-button:active{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}.gpay-button:focus{background-origin:content-box;background-position:center center;background-repeat:no-repeat;background-size:contain}@supports (-webkit-appearance:-apple-pay-button){.apple-pay-button{display:block;-webkit-appearance:-apple-pay-button!important;width:100%;max-width:100%;min-width:200px;height:40px;max-height:40px}.apple-pay-button-black{-apple-pay-button-style:#000}.apple-pay-button-white{-apple-pay-button-style:#fff}.apple-pay-button-white-with-line{-apple-pay-button-style:white-outline}.woocommerce-checkout-payment .apple-pay-button{max-width:240px}body.single-product div.product form.cart .wc_stripe_product_payment_methods .apple-pay-button{max-width:100%}}.wc-stripe-banner-checkout{display:none;padding:0;position:relative;margin:1em 0}.wc-stripe-banner-checkout fieldset{padding:15px 25px 15px;border:1px solid #d1d1d1;margin-bottom:20px;border-radius:3px}.wc-stripe-banner-checkout fieldset legend{margin:0 auto;font-weight:500;padding:0 1rem}.wc-stripe-banner-checkout.active{display:block}.wc-stripe-banner-checkout span.banner-divider{display:flex;align-items:center;top:-13px;right:0;left:0;background:0 0;white-space:nowrap;font-size:16px}.wc-stripe-banner-checkout span.banner-divider:after,.wc-stripe-banner-checkout span.banner-divider:before{content:' ';height:1px;background:#d1d1d1;display:block;width:50%}.wc-stripe-banner-checkout span.banner-divider:before{margin-right:1rem}.wc-stripe-banner-checkout span.banner-divider:after{margin-left:1rem}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways{list-style:none;margin:0;padding:0}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway{margin:0 auto;display:none;max-width:240px}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway.active:nth-child(n+2){margin:10px auto 0 auto}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway:first-child:not(.active)+li.wc-stripe-checkout-banner-gateway.active{margin:0 auto}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-button,.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.wc-stripe-checkout-banner-gateway .gpay-card-info-container{margin:0}.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-button,.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .gpay-card-info-container{width:100%}.wc_stripe_cart_payment_methods .payment_method_stripe_payment_request .StripeElement,.wc_stripe_product_payment_methods .payment_method_stripe_payment_request .StripeElement{padding:0;width:100%}.woocommerce-checkout #wc-stripe-payment-request-container.StripeElement{width:240px;padding:0}.wc-stripe-checkout-banner-gateway #wc-stripe-payment-request-banner.StripeElement{width:100%}ul.payment_methods li.payment_method_stripe_p24 img{max-width:90px;width:90px;max-height:45px}ul.payment_methods li.payment_method_stripe_ideal img{max-width:38px;width:38px;max-height:35px}ul.payment_methods li.payment_method_stripe_fpx img{max-width:75px;width:75px;max-height:25px}ul.payment_methods li.payment_method_stripe_klarna img{max-width:72px;width:72px;max-height:20px}ul.payment_methods li.payment_method_stripe_klarna img[src*=klarna_pink]{width:56px;height:32px;max-height:32px}ul.payment_methods li.payment_method_stripe_giropay img{max-width:65px;width:65px;max-height:28px}ul.payment_methods li.payment_method_stripe_eps img{max-width:70px;width:70px;max-height:46px}ul.payment_methods li.payment_method_stripe_multibanco img{max-width:48px;width:48px;max-height:48px}ul.payment_methods li.payment_method_stripe_sepa img{max-width:67px;width:67px;max-height:18px}ul.payment_methods li.payment_method_stripe_sofort img{max-width:70px;width:70px;max-height:21px}label[for=payment_method_stripe_bancontact] img,ul.payment_methods li.payment_method_stripe_bancontact img{width:60px;height:42px;max-width:60px;max-height:42px}ul.payment_methods li.payment_method_stripe_wechat label img{max-width:82px;width:82px;max-height:23px}ul.payment_methods li.payment_method_stripe_alipay img{max-width:72px;width:72px;height:36px;max-height:36px}ul.payment_methods li.payment_method_stripe_grabpay img{max-width:95px;width:95px;max-height:28px}ul.payment_methods li.payment_method_stripe_oxxo img{max-width:52px;width:52px;max-height:24px}#wc-stripe-card-element{width:100%}li.banner_payment_method_stripe_payment_request .StripeElement{padding:0}.single-product .blockMsg{border:none!important;background-color:transparent!important}#wc-stripe-card{position:absolute!important;top:50%;right:8px;transform:translatey(-50%);width:23px;height:15px;padding:0;border:none}#wc-stripe-card.active{width:32px;height:20px}input[id=stripe-postal-code]:focus{outline:0;background:0 0;border:none;box-shadow:none}div.postalCode:focus{outline:0;border:none}li[class*=payment_method_stripe] .select2-container .select2-selection--single{height:42px;padding:0 5px}li[class*=payment_method_stripe] .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px;top:1px;right:1px;transform:translateY(0)}.blockUI.blockMsg{font-size:20px;white-space:nowrap}#wc-stripe-payment-request-container.disabled{opacity:.45}.wc-stripe-paymentRequest-icons-container img{float:none}.select2-container .select2-selection--single .wc-stripe-select2-container.wc-stripe-ach:before{display:none}ul.wc_stripe_cart_payment_methods li.wc-stripe-payment-method button,ul.wc_stripe_checkout_banner_gateways li button,ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_] button{margin:0}ul.payment_methods li[class*=payment_method]{margin:0;padding:10px 0}ul.payment_methods li[class*=payment_method] input[name=payment_method]{margin:0 10px 0 5px;float:none}ul.payment_methods li[class*=payment_method]>input[name=payment_method]+label{padding-top:0;padding-right:0;padding-bottom:0}ul.payment_methods{list-style:none}ul.payment_methods li[class*=payment_method_stripe_] .wc-stripe_cc-new-method-container label:before{display:none}.wc-stripe_cc-container .wc-stripe-save-source label.checkbox{padding:0!important;margin:0}div[id*=wc_stripe_local_payment_stripe_].StripeElement{border:1px solid #eee;border-radius:4px}#payment .payment_methods li #wc_stripe_local_payment_stripe_wechat img,#wc_stripe_local_payment_stripe_wechat img{max-height:100%;float:none}.qrcode-message{margin:10px 0 0 0}#wc_stripe_local_payment_stripe_becs,#wc_stripe_local_payment_stripe_sepa{padding:10px 12px;box-shadow:0 1px 3px 0 #e6ebf1}.wc-stripe-local-desc.stripe_becs,.wc-stripe-local-desc.stripe_sepa{margin:10px 0}.wc-stripe-clear{clear:both;height:0;visibility:hidden}.wc-stripe-gateway-desc p{margin:0}#wc_stripe_local_payment_stripe_klarna,li[class*=payment_method_stripe_] div.wc-stripe-gateway-container.has_tokens{margin-top:10px}.wc-stripe-gateway-desc{margin-top:10px}#wc-stripe-card-element.StripeElement--webkit-autofill{background-color:transparent!important}#wc_stripe_local_payment_stripe_klarna .stripe-klarna-categories{list-style:none;margin:0;padding:10px}li.payment_method_stripe_alipay,li.payment_method_stripe_bancontact,li.payment_method_stripe_becs,li.payment_method_stripe_eps,li.payment_method_stripe_fpx,li.payment_method_stripe_giropay,li.payment_method_stripe_ideal,li.payment_method_stripe_klarna,li.payment_method_stripe_multibanco,li.payment_method_stripe_p24,li.payment_method_stripe_sepa,li.payment_method_stripe_sofort,li.payment_method_stripe_wechat{display:none}.widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods{list-style:none;margin:0;padding:0}.widget_shopping_cart_content .wc-stripe-mini-cart-payment-methods li{margin:0}.widget_shopping_cart_content a.wc-stripe-applepay-mini-cart,.widget_shopping_cart_content a.wc-stripe-gpay-mini-cart,.widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart{background:0 0;padding:0;border:none}a.wc-stripe-gpay-mini-cart .gpay-button,a.wc-stripe-gpay-mini-cart .gpay-card-info-container a.wc-stripe-applepay-mini-cart .apple-pay-button{width:100%;margin:0}.wc-stripe-payment-request-mini-cart.StripeElement{padding:0;background:0 0;border:none;width:100%}.wc-stripe-payment-request-mini-cart.StripeElement .__PrivateStripeElement{width:100%}.wc-stripe-minicart-overlay{display:none!important;position:absolute;background:rgba(255,255,255,.75);height:100%;width:100%;z-index:-1;top:0;left:0}.wc-stripe-minicart-overlay.active{display:block!important;z-index:9999}.wc-stripe-klarna-loader{display:flex;justify-content:center;position:relative;width:100%;height:30px;box-sizing:border-box;transform:scale(.65)}.wc-stripe-klarna-loader div{box-sizing:border-box;display:block;position:absolute;box-sizing:border-box;width:30px;height:30px;border:3px solid #000;border-radius:50%;animation:klarna-payments-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-color:#000 transparent transparent transparent}.wc-stripe-klarna-loader div:nth-child(1){animation-delay:-.45s}.wc-stripe-klarna-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-klarna-loader div:nth-child(3){animation-delay:-.15s}@keyframes klarna-payments-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}li.payment_method_stripe_alipay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_applepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_bancontact.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_eps.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_giropay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_googlepay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_grabpay.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_multibanco.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_oxxo.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_p24.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_payment_request.wc-stripe-no-desc .payment_box.wc-stripe-no-methods,li.payment_method_stripe_sofort.wc-stripe-no-desc .payment_box.wc-stripe-no-methods{padding:0;margin:0}.wc-stripe-shortcode-cart-buttons .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li.wc-stripe-payment-method.or{display:none}label[for=payment_method_stripe_afterpay]>#wc-stripe-afterpay-msg{display:inline-block}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .__PrivateStripeElement p,#wc-stripe-afterpay-product-msg .__PrivateStripeElement p,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p{margin-bottom:0!important;margin-top:0!important}#wc-stripe-afterpay-cart-msg .__PrivateStripeElement p .AfterpayMessage-logo,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .__PrivateStripeElement p .AfterpayMessage-logo{vertical-align:middle}.payment_method_stripe_afterpay #wc_stripe_local_payment_stripe_afterpay.ineligible{display:none}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite{text-align:center;max-width:320px;margin:0 auto;padding:10px 0}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite img{display:inline-block}.payment_method_stripe_afterpay .wc-stripe-afterpay__offsite p{font-size:14px;margin-top:10px}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg{text-align:left}#wc-stripe-afterpay-cart-container #wc-stripe-afterpay-cart-msg .AfterpayMessage-logoSvg,.payment_method_stripe_afterpay #wc-stripe-afterpay-msg .AfterpayMessage-logoSvg{min-width:64px;max-width:90px}#wc-stripe-afterpay-cart-container td{border:none}#wc-stripe-afterpay-cart-container td::before{content:''}.AfterpayMessage-logoSvg{display:inline-block}#wc-stripe-afterpay-product-msg{font-size:14px}#wc-stripe-afterpay-product-msg .AfterpayMessage-logoSvg{max-width:80px;min-width:64px}.wc-stripe-afterpay-minicart-msg{font-size:.8em}.afterpay-ineligible,.payment_method_stripe_afterpay.afterpay-ineligible{display:none}.woocommerce-mini-cart__buttons .gpay-card-info-container{min-width:100%}.woocommerce-mini-cart__buttons .gpay-card-info-container{margin:0}.wc-stripe-boleto__description{margin-top:10px}.wc-stripe-boleto__description div{display:flex;align-items:center}.wc-stripe-boleto__description div label{margin:0}.wc-stripe-klarna__testmode{margin-top:10px}.wc-stripe-klarna__testmode label{display:inline-block}div.payment_method_stripe_cc>.woocommerce-NoticeGroup{margin-bottom:10px}div.payment_method_stripe_cc.custom-form__bootstrap>.woocommerce-NoticeGroup{margin-bottom:20px}.wc-stripe-installment-container{margin-top:15px}.wc-stripe-installment-container p{margin:0}.wc-stripe-installment-container label.installment-label{font-weight:500;margin:0 0 5px 0;position:relative;display:flex;align-items:center}.wc-stripe-installment-container .wc-stripe-installment-options.loading-installments{opacity:.4}.wc-stripe-installment-loader__container{flex:1 1 auto}.wc-stripe-installment-loader__container .wc-stripe-installment-loader{transform:scale(.55);width:30px;height:30px;position:absolute;top:-2px}.wc-stripe-installment-loader div{box-sizing:border-box;display:block;position:absolute;box-sizing:border-box;width:30px;height:30px;border:3px solid #000;border-radius:50%;animation:installment-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-color:#000 transparent transparent transparent}.wc-stripe-installment-loader div:nth-child(1){animation-delay:-.45s}.wc-stripe-installment-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-installment-loader div:nth-child(3){animation-delay:-.15s}@keyframes installment-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}#wc-stripe-ach-container .wc-stripe-ach__mandate{margin:10px 0}
assets/img/ach.svg CHANGED
@@ -1,6 +1,6 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Svg Vector Icons : http://www.onlinewebfonts.com/icon -->
3
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" class="SVGInline-svg SVGInline--cleaned-svg SVG-svg BrandIcon-svg BrandIcon--size--20-svg" height="" viewBox="5 5 22 22" width="" style="height: 100px; width: 100px;">
5
- <g fill="none" fill-rule="evenodd">
6
  <path d="M7.274 13.5a1.25 1.25 0 0 1-.649-2.333C7.024 10.937 10.15 9.215 16 6c5.851 3.215 8.976 4.937 9.375 5.167a1.25 1.25 0 0 1-.65 2.333zm12.476 10v-8.125h3.75V23.5H25a1 1 0 0 1 1 1V26H6v-1.5a1 1 0 0 1 1-1h1.5v-8.125h3.75V23.5h1.875v-8.125h3.75V23.5z" fill="#0877d2"></path></g></svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Svg Vector Icons : http://www.onlinewebfonts.com/icon -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" class="SVGInline-svg SVGInline--cleaned-svg SVG-svg BrandIcon-svg BrandIcon--size--20-svg" height="" viewBox="5 5 22 22" width="" style="height: 100px; width: 100px;">
5
+ <g fill="none" fill-rule="evenodd">
6
  <path d="M7.274 13.5a1.25 1.25 0 0 1-.649-2.333C7.024 10.937 10.15 9.215 16 6c5.851 3.215 8.976 4.937 9.375 5.167a1.25 1.25 0 0 1-.65 2.333zm12.476 10v-8.125h3.75V23.5H25a1 1 0 0 1 1 1V26H6v-1.5a1 1 0 0 1 1-1h1.5v-8.125h3.75V23.5h1.875v-8.125h3.75V23.5z" fill="#0877d2"></path></g></svg>
assets/img/alipay.svg CHANGED
@@ -1 +1,95 @@
1
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 374.01" preserveAspectRatio="xMidYMid meet"><defs><style>.cls-1{fill:#ec6c00;}.cls-2{fill:#003f96;}</style></defs><title>alipay</title><path class="cls-1" d="M325.82,287.4l-7.34,1.4-7.33,2.79-5.59,4.2a10.21,10.21,0,0,0-2.09,5.58l1.74,4.54c1.4,2.1,4.54,2.1,4.54,2.1l5.94-1.75,2.1-3.84-1.4-7.68,3.84-2.1,5.59-.7,6.63,1.75,3.49,3.84,1.4,3.84.7,3.15v5.58l-12.22,4.19-11.88,3.85-5.23,2.44-4.19,3.14a16.37,16.37,0,0,0-3.15,4.54l-1.05,6.29c0,6.28,4.89,10.48,4.89,10.48,4.54,4.19,11.88,4.19,11.88,4.19l8.73-1.4,2.79-1.05,9.43-6.29a9.73,9.73,0,0,0,4.19,5.94c2.79,2.45,8,2.45,8,2.45l5.24-.7,5.24-1.75v-3.49h-4.19l-3.15-1.05-2.79-2.09L349.56,336l.7-29.34-1.74-9.43-5.24-5.93-7.34-3.15-10.12-.7ZM338,315l-.35,20.61-5.94,4.88-5.93,2.1h-2.45a10.25,10.25,0,0,1-7-2.45c-2.79-2.44-2.79-7.33-2.79-7.33a13.21,13.21,0,0,1,1.74-6.29l5.24-4.88,7.68-3.5L338,315Zm23-25.84h29.33v4.19l-4.54.7s-2.79.7-2.79,1.74l.35,1.05,16.06,34.92,15.37-34.22-2.8-2.79L406.14,293v-3.84h23.74V293L425,294.74a13.64,13.64,0,0,0-4.88,5.24l-13.62,29.68-16.77,32.83-6.28,7.33-5.24,3.49L373,374s-4.54,0-7.68-2.44a6.27,6.27,0,0,1-2.79-4.89l1.39-4.54a7.72,7.72,0,0,1,4.89-2.1l3.49.7,2.45,1.75,3.84,4.89,8-8s6.64-10.13,4.19-18.16l-19.21-41.9L367,295.09l-5.93-2.1v-3.84m-99.88-1.4-8.38,2.1-8.38,5.93h-.7v-6.63l-1.05-.7-21.65,1.4v3.84l4.19.7,3.15,1.05,2.44,2.44,1,3.49v62.16l-.7,3.49-2.79,2.1-3.49.7h-3.85V374h36v-4.19l-9.43-1.4-2.44-2.09-1.4-3.5V345.37h.7l6.29,2.45,9.43,1.39h1l10.48-2.09,9.43-6.64,7-9.42,2.45-12.93-2.1-12.22a32.94,32.94,0,0,0-6.28-9.78,27.47,27.47,0,0,0-8.38-6.28L263,287.75Zm-.35,8.72h.35c8.38.7,13.27,7.34,13.27,7.34,4.19,5.58,3.84,14,3.84,14a25.61,25.61,0,0,1-4.53,14.31c-4.55,6.64-12.58,7.69-12.58,7.69-7.68.69-17.46-4.54-17.46-4.54V300.67a42.55,42.55,0,0,1,17.11-4.2ZM95,262.26,64.61,332.8l-2.8,4.89-4.19,3.49-4.19,1.75-4.19.35v4.19H84.16v-4.19l-9.08-1.4c-4.54-1.4-4.54-3.84-4.54-3.84l.35-2.44,6.29-17.47h32.47l7.69,19.21.35,1.4v1.4c0,1.39-3.15,1.74-3.15,1.74l-8.38,1.4v4.19h38.42v-4.19l-3.85-.35-4.19-1.4-3.14-3.14A6.74,6.74,0,0,1,131,334.9l-30.73-72.64Zm-1.75,18.51h.35l13.62,32.48H79.62Zm101.27,0a8,8,0,0,1-5.58-2.45,7.81,7.81,0,0,1-2.45-5.58,9.26,9.26,0,0,1,2.45-5.59,8.9,8.9,0,0,1,5.58-2.44,9.9,9.9,0,0,1,6.29,2.44l2.09,5.24-2.09,5.93a9.53,9.53,0,0,1-6.29,2.45M206,289.5V337l1,3.49,2.8,1.75,5.94,1.4v3.84H184.74v-3.84l5.58-.7,2.8-1.75,1-3.49v-36l-1-3.84-2.8-2.44-3.49-1.05-4.19-.7v-3.84l22.7-1.4.7,1.05m-40.16-33.87L143.18,257l-1.4.35v3.49h1.4l3.49.7,4.19,1.4,2.8,2.79,1,4.19v67.75l-1,3.49-2.8,1.75-5.93.7v3.84h31.42v-3.84l-3.14-.35-2.79-1-2.8-1.74-.69-3.5V256.67l-1.05-1m424.29,34.22,21.65-1.4,1,1.05v8h.35l3.84-3.49,4.54-3.14a22.8,22.8,0,0,1,5.59-2.45l7.33-.7,10.83,2.8,6.64,7.33,3.84-3.49,4.89-3.15a23.68,23.68,0,0,1,5.58-2.79l7.69-.7s8.38,0,12.92,4.89c0,0,4.89,4.89,4.89,14.67V337l.69,3.49,2.45,2.1,3.14.7,3.49.35v3.84H670.14v-3.84l5.59-.7,2.79-1.75.7-3.49v-30s0-6.29-2.79-9.78a11.86,11.86,0,0,0-7.68-3.14l-6.29.7-5.24,2.44-3.14,2.79-1.75,2.8V337l.7,3.49,2.8,2.1,2.79.7,3.14.35v3.84H631v-3.84l5.24-.7,2.79-1.75.7-3.49v-30s0-6.29-2.79-9.78a10.83,10.83,0,0,0-7.68-3.14l-5.94.7-5.24,2.44L615,301l-2.1,2.45V337l.7,3.49,2.79,1.75,2.8,1,3.14.35v3.84H591.22v-3.84l5.94-.7,2.79-1.75.7-3.49V301.37l-1-3.49-2.44-2.44L594,294.39l-3.85-.7v-3.84M464.46,320.58s0,11.87,5.93,18.86c0,0,5.59,7.33,15,7.33l11.52-3.14,8.73-8.73,4.19,2.79A37.3,37.3,0,0,1,498,349.21a36.08,36.08,0,0,1-16.06,4.2s-14.67,0-23.4-8.73a35.36,35.36,0,0,1-8.73-23.75,35,35,0,0,1,2.44-11.87,35.81,35.81,0,0,1,6.64-10.48,38.47,38.47,0,0,1,10.47-7A40.08,40.08,0,0,1,483,288.8s10.13,0,16.77,4.19c0,0,6.28,4.89,6.28,11.88l-1.74,5.58-5.24,2.1-6.64-1.75S490,309.4,490,307l1.05-5.59,1.05-4.54-3.85-2.44-5.58-.7-6.29,1.05-5.94,4.89L466.2,308a43.84,43.84,0,0,0-1.74,12.57m84.85-31.78a39.82,39.82,0,0,0-24.44,9.08c-9.08,9.08-9.08,23.4-9.08,23.4a37.05,37.05,0,0,0,2.45,13.62l7.33,10.47a38.66,38.66,0,0,0,10.82,6.29L549,353.75h.35l14.31-2.44A34.13,34.13,0,0,0,574.46,344l7-10.48,2.1-12.92a33.44,33.44,0,0,0-9.43-23.05C564.68,288.8,550,288.8,550,288.8h-.71Zm-.21,4.89h.56l9.08,2.09,5.94,6.29,3.14,8.73,1,10.13c0,12.92-4.89,20.6-4.89,20.6a19,19,0,0,1-14.31,7.68h-.35l-8.73-2.44-5.94-6.29-3.49-9.08a61.31,61.31,0,0,1-1-11.17l.7-9.43,3.14-8.38a26.07,26.07,0,0,1,6.64-6.63,20.6,20.6,0,0,1,8.51-2.1ZM430.93,349.21a5.24,5.24,0,0,0,5.24-5.58s0-5.24-5.24-5.24c0,0-5.59,0-5.59,5.24,0,0,0,5.58,5.59,5.58"/><path d="M700.53,0V2.44h5.93V18.16h2.1V2.44h5.93V0Zm16.41,0V18.16h2.44v-15l5.24,15h2.1L731.6,3.49V18.16h2.45V0h-3.14l-5.24,15.37L720.43,0Z"/><path class="cls-2" d="M585.63,0l-9.08.7S567.12,2.79,567.12,7V21l-40.85,1.4V14.67H507.41s-18.86,1.39-18.86,7v51h78.57v34.92H513v14h54.12v80l40.16-4.19V121.53H664.9v-14H607.28V72.64H675v-7h1.75s5.24,0,8.38-8.38l3.14-23.05S688,17.46,670.14,17.46l-62.86,2.1V0Zm62.16,32.13a5.58,5.58,0,0,1,5.94,5.59L650.94,59H526.27V36l40.85-1v.35l40.16-1.75Z"/><path class="cls-1" d="M341.53,107.56l12.92,15,15,13.28s4.19,4.19,8.38,0l14.67-13.28,12.92-15s4.54-3.84,0-8.73L392.52,84.16,377.85,71.24s-4.19-4.19-8.38,0L354.8,84.16,341.53,98.83s-3.84,4.89,0,8.73m335.25,46.09a5.68,5.68,0,0,0,0-6.63l-10.13-11.18-11.17-9.77a4.72,4.72,0,0,0-6.64,0l-11.17,9.77L627.89,147s-2.8,3.49,0,6.63l9.78,11.18,11.17,9.78s3.49,3.49,6.64,0l11.17-9.78,10.13-11.18"/><path class="cls-2" d="M77.88,90.8H197.66a166.4,166.4,0,0,1-12.23,30.73s-15,29.33-38.06,51.33c0,0-43.3,40.51-71.24,40.51,0,0-20.6,0-33.87-7.68,0,0-16.42-10.13-16.42-31.08,0,0,0-27.59,42.26-35.62,0,0-27.24-1.75-41.56,12.57,0,0-13.27,12.57-13.27,34.57,0,0,0,21,19.21,33.53A78.57,78.57,0,0,0,74,230.83l5.59.35s47.5-2.44,91.5-39.11c0,0,37.71-31.43,56.57-76.48a187.78,187.78,0,0,0,9.08-27.94l2.09-10.82v.35h-64.6V46.45h81.37V32.83H174.26V1.05H153l-9.08.7S134.45,3.84,134.45,8v24.8H55.88V46.45h78.57V77.18H77.88V90.8M346.42,0l-.7,6.64-4.54,16.41A94.53,94.53,0,0,1,329,43v157.5l-40.16-4.89v-125s-15,7.68-27.94,12.57l-5.23-8.38A238.27,238.27,0,0,0,282.86,52s26.89-26.89,26.89-45c0,0,0-4.2,9.43-6.29l9.08-.7h18.16"/><path class="cls-2" d="M335.25,60.41h75.43V205.69l40.16.7v-146h21v-14h-21V0H429.19l-9.08.7S410.68,2.79,410.68,7V46.45H335.25v14"/><path class="cls-1" d="M152.61,144.92s-51-22.35-82.42-23.39c0,0-25.84-1.4-47.14,13.62,0,0-22.35,15.71-23,39.11,0,0,0,27.24,21.65,42.6,0,0,19.91,14.32,52,14.32h3.15l-5.24-.35s-23.4,0-39.81-11.52c0,0-18.16-12.92-18.16-34.23,0,0,0-23,16.06-34.92,0,0,13.62-9.77,35.62-10.12l31.08,3.49,24.1,9.43,57.62,29.33s39.46,20.6,77.18,33.18c0,0,131.3,43.65,425,15L696,227.34s5.58-2.45,10.12-9.78c0,0,3.85-5.94,30-29.33,0,0,18.85-17.12,12.57-22.7l-9.08,1.39s-96,21.66-242.36,27.59c0,0-164.48,6.64-245.84-16.76,0,0-56.23-16.06-98.83-32.83"/></svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:cc="http://creativecommons.org/ns#"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:svg="http://www.w3.org/2000/svg"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ id="svg4458"
9
+ version="1.1"
10
+ viewBox="0 0 149.36909 37.663967"
11
+ height="37.663967mm"
12
+ width="149.36909mm">
13
+ <defs
14
+ id="defs4452" />
15
+ <metadata
16
+ id="metadata4455">
17
+ <rdf:RDF>
18
+ <cc:Work
19
+ rdf:about="">
20
+ <dc:format>image/svg+xml</dc:format>
21
+ <dc:type
22
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
23
+ <dc:title></dc:title>
24
+ </cc:Work>
25
+ </rdf:RDF>
26
+ </metadata>
27
+ <g
28
+ transform="translate(13.452402,-84.644208)"
29
+ id="layer1">
30
+ <g
31
+ transform="matrix(0.35277777,0,0,-0.35277777,17.912364,84.644208)"
32
+ id="g3989">
33
+ <path
34
+ id="path3991"
35
+ style="fill:#1677ff;fill-opacity:1;fill-rule:nonzero;stroke:none"
36
+ d="m 0,0 h -71.95 c -9.37,0 -16.958,-7.655 -16.958,-17.104 v -72.559 c 0,-9.443 7.588,-17.101 16.958,-17.101 H 0 c 9.368,0 16.952,7.658 16.952,17.101 v 72.559 C 16.952,-7.655 9.368,0 0,0" />
37
+ </g>
38
+ <g
39
+ transform="matrix(0.35277777,0,0,-0.35277777,-3.3614425,113.60801)"
40
+ id="g3993">
41
+ <path
42
+ id="path3995"
43
+ style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
44
+ d="m 0,0 c -16.469,0 -21.338,13.083 -13.199,20.241 2.716,2.419 7.679,3.6 10.325,3.865 9.783,0.975 18.839,-2.789 29.526,-8.05 C 19.14,6.173 9.572,0 0,0 m 58.554,15.064 c -4.236,1.431 -9.92,3.619 -16.251,5.929 3.802,6.666 6.839,14.257 8.835,22.507 H 30.271 v 7.58 h 25.562 v 4.231 H 30.271 V 67.947 H 19.839 c -1.83,0 -1.83,-1.822 -1.83,-1.822 V 55.311 H -7.844 V 51.08 H 18.009 V 43.5 H -3.336 V 39.27 H 38.062 C 36.547,34.006 34.513,29.064 32.099,24.574 18.666,29.044 4.332,32.667 -4.673,30.437 -10.432,29.006 -14.141,26.452 -16.32,23.776 -26.321,11.504 -19.148,-7.136 1.973,-7.136 c 12.488,0 24.518,7.022 33.842,18.594 C 49.722,4.716 77.256,-6.86 77.256,-6.86 V 9.638 c 0,0 -3.458,0.278 -18.702,5.426" />
45
+ </g>
46
+ <g
47
+ transform="matrix(0.35277777,0,0,-0.35277777,67.639214,90.15791)"
48
+ id="g3997">
49
+ <path
50
+ id="path3999"
51
+ style="fill:#1677ff;fill-opacity:1;fill-rule:nonzero;stroke:none"
52
+ d="m 0,0 c 0,-5.523 4.036,-9.241 9.666,-9.241 5.63,0 9.666,3.718 9.666,9.241 0,5.417 -4.036,9.242 -9.666,9.242 C 4.036,9.242 0,5.417 0,0" />
53
+ </g>
54
+ <path
55
+ id="path4001"
56
+ style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277775"
57
+ d="m 58.121127,115.07721 h 5.920669 V 87.722087 h -5.920669 z" />
58
+ <g
59
+ transform="matrix(0.35277777,0,0,-0.35277777,39.122104,105.59659)"
60
+ id="g4003">
61
+ <path
62
+ id="path4005"
63
+ style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
64
+ d="M 0,0 9.984,34.522 H 10.41 L 19.864,0 Z M 24.432,48.012 H 1.912 l -25.175,-74.887 h 15.509 l 4.249,14.659 h 26.662 l 4.035,-14.659 h 19.865 z" />
65
+ </g>
66
+ <path
67
+ id="path4007"
68
+ style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277775"
69
+ d="m 68.088862,115.07721 h 5.920669 V 94.991814 h -5.920669 z" />
70
+ <g
71
+ transform="matrix(0.35277777,0,0,-0.35277777,135.87965,95.029286)"
72
+ id="g4009">
73
+ <path
74
+ id="path4011"
75
+ style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
76
+ d="m 0,0 0.105,0.106 h -15.827 l -9.984,-34.628 h -0.531 L -37.709,0.106 h -18.803 l 22.627,-57.148 -9.454,-17.42 v -0.425 h 14.765 z" />
77
+ </g>
78
+ <g
79
+ transform="matrix(0.35277777,0,0,-0.35277777,84.990094,111.62983)"
80
+ id="g4013">
81
+ <path
82
+ id="path4015"
83
+ style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
84
+ d="m 0,0 c -1.911,0 -3.718,0.212 -5.735,0.85 v 30.804 c 3.505,2.443 6.373,3.612 9.984,3.612 6.268,0 11.26,-4.993 11.26,-15.615 C 15.509,6.055 8.18,0 0,0 m 10.623,48.331 c -6.161,0 -10.941,-2.337 -16.358,-6.798 v 5.63 H -22.52 V -27.83 h 16.785 v 18.589 c 3.186,-0.85 6.16,-1.275 9.772,-1.275 14.977,0 28.468,11.047 28.468,30.698 0,17.633 -9.774,28.149 -21.882,28.149" />
85
+ </g>
86
+ <g
87
+ transform="matrix(0.35277777,0,0,-0.35277777,108.8615,110.20581)"
88
+ id="g4017">
89
+ <path
90
+ id="path4019"
91
+ style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
92
+ d="m 0,0 c -4.461,-2.443 -7.012,-3.399 -9.984,-3.399 -4.037,0 -6.586,2.655 -6.586,6.904 0,1.594 0.318,3.187 1.592,4.461 2.019,2.019 5.95,3.506 14.978,5.63 z m 16.783,0.425 v 23.793 c 0,12.96 -7.647,20.076 -21.137,20.076 -8.605,0 -14.553,-1.486 -25.388,-4.779 l 2.973,-13.066 c 9.879,4.462 14.235,6.374 18.803,6.374 5.524,0 7.966,-3.93 7.966,-9.985 v -0.425 c -19.227,-3.612 -25.175,-5.63 -28.893,-9.348 -2.761,-2.762 -3.929,-6.692 -3.929,-11.259 0,-10.941 8.498,-16.784 16.465,-16.784 5.948,0 10.727,2.231 17.208,7.118 l 1.168,-5.949 h 16.783 z" />
93
+ </g>
94
+ </g>
95
+ </svg>
assets/img/applepay.svg CHANGED
@@ -1,76 +1,76 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- width="165.5211px" height="105.9651px" viewBox="0 0 165.5211 105.9651" enable-background="new 0 0 165.5211 105.9651"
5
- xml:space="preserve">
6
- <g>
7
- <path id="XMLID_96_" d="M150.6981,0H14.8232c-0.5659,0-1.1328,0-1.6977,0.0033C12.648,0.0067,12.1716,0.012,11.6952,0.025
8
- c-1.039,0.0281-2.0869,0.0894-3.1129,0.2738C7.5399,0.4864,6.5699,0.7924,5.6236,1.2742c-0.9303,0.4731-1.782,1.0919-2.5201,1.8303
9
- c-0.7384,0.7384-1.3572,1.5887-1.8302,2.52C0.7914,6.5708,0.4852,7.5411,0.2989,8.5843c-0.1854,1.0263-0.2471,2.074-0.2751,3.1119
10
- c-0.0128,0.4764-0.0183,0.9528-0.0214,1.4291c-0.0033,0.5661-0.0022,1.1318-0.0022,1.6989V91.142
11
- c0,0.5671-0.0011,1.1318,0.0022,1.699c0.0031,0.4763,0.0086,0.9527,0.0214,1.4291c0.028,1.037,0.0897,2.0847,0.2751,3.1107
12
- c0.1863,1.0436,0.4925,2.0135,0.9744,2.9599c0.473,0.9313,1.0918,1.7827,1.8302,2.52c0.7381,0.7396,1.5898,1.3583,2.5201,1.8302
13
- c0.9463,0.4831,1.9163,0.7892,2.9587,0.9767c1.026,0.1832,2.0739,0.2456,3.1129,0.2737c0.4764,0.0108,0.9528,0.0172,1.4303,0.0194
14
- c0.5649,0.0044,1.1318,0.0044,1.6977,0.0044h135.8749c0.5649,0,1.1318,0,1.6966-0.0044c0.4764-0.0022,0.9528-0.0086,1.4314-0.0194
15
- c1.0368-0.0281,2.0845-0.0905,3.113-0.2737c1.041-0.1875,2.0112-0.4936,2.9576-0.9767c0.9313-0.4719,1.7805-1.0906,2.5201-1.8302
16
- c0.7372-0.7373,1.356-1.5887,1.8302-2.52c0.483-0.9464,0.7889-1.9163,0.9743-2.9599c0.1855-1.026,0.2457-2.0737,0.2738-3.1107
17
- c0.013-0.4764,0.0194-0.9528,0.0216-1.4291c0.0044-0.5672,0.0044-1.1319,0.0044-1.699V14.8242c0-0.5671,0-1.1328-0.0044-1.6989
18
- c-0.0022-0.4763-0.0086-0.9527-0.0216-1.4291c-0.0281-1.0379-0.0883-2.0856-0.2738-3.1119
19
- c-0.1854-1.0432-0.4913-2.0135-0.9743-2.9598c-0.4742-0.9313-1.093-1.7816-1.8302-2.52c-0.7396-0.7384-1.5888-1.3572-2.5201-1.8303
20
- c-0.9464-0.4818-1.9166-0.7878-2.9576-0.9754c-1.0285-0.1844-2.0762-0.2457-3.113-0.2738c-0.4786-0.013-0.955-0.0183-1.4314-0.0217
21
- C151.8299,0,151.263,0,150.6981,0L150.6981,0z"/>
22
- <path id="XMLID_227_" fill="#FFFFFF" d="M150.6981,3.532l1.6715,0.0032c0.4528,0.0032,0.9056,0.0081,1.3609,0.0205
23
- c0.792,0.0214,1.7185,0.0643,2.5821,0.2191c0.7507,0.1352,1.3803,0.3408,1.9845,0.6484c0.5965,0.3031,1.143,0.7003,1.6202,1.1768
24
- c0.479,0.4797,0.8767,1.0271,1.1838,1.6302c0.3059,0.5995,0.5102,1.2261,0.6446,1.9823c0.1544,0.8542,0.1971,1.7832,0.2188,2.5801
25
- c0.0122,0.4498,0.0182,0.8996,0.0204,1.3601c0.0043,0.5569,0.0042,1.1135,0.0042,1.6715V91.142
26
- c0,0.558,0.0001,1.1136-0.0043,1.6824c-0.0021,0.4497-0.0081,0.8995-0.0204,1.3501c-0.0216,0.7957-0.0643,1.7242-0.2206,2.5885
27
- c-0.1325,0.7458-0.3367,1.3725-0.6443,1.975c-0.3062,0.6016-0.7033,1.1484-1.1802,1.6251c-0.4799,0.48-1.0246,0.876-1.6282,1.1819
28
- c-0.5997,0.3061-1.2282,0.5115-1.9715,0.6453c-0.8811,0.157-1.8464,0.2002-2.5734,0.2199
29
- c-0.4574,0.0103-0.9126,0.0165-1.3789,0.0187c-0.5557,0.0043-1.1134,0.0042-1.6692,0.0042H14.8232c-0.0074,0-0.0146,0-0.0221,0
30
- c-0.5494,0-1.0999,0-1.6593-0.0043c-0.4561-0.0021-0.9112-0.0082-1.3512-0.0182c-0.7436-0.0201-1.7095-0.0632-2.5834-0.2193
31
- c-0.7497-0.1348-1.3782-0.3402-1.9858-0.6503c-0.5979-0.3032-1.1422-0.6988-1.6223-1.1797
32
- c-0.4764-0.4756-0.8723-1.0207-1.1784-1.6232c-0.3064-0.6019-0.5114-1.2305-0.6462-1.9852
33
- c-0.1558-0.8626-0.1986-1.7874-0.22-2.5777c-0.0122-0.4525-0.0173-0.9049-0.0202-1.3547l-0.0022-1.3279l0.0001-0.3506V14.8242
34
- l-0.0001-0.3506l0.0021-1.3251c0.003-0.4525,0.0081-0.9049,0.0203-1.357c0.0214-0.7911,0.0642-1.7163,0.2213-2.5861
35
- C3.9094,8.4575,4.1143,7.8289,4.4223,7.224C4.726,6.6261,5.1226,6.0803,5.6015,5.6015c0.477-0.4772,1.0231-0.8739,1.6248-1.1799
36
- C7.8274,4.1155,8.4571,3.91,9.2068,3.7751c0.8638-0.1552,1.7909-0.198,2.5849-0.2195c0.4526-0.0123,0.9052-0.0172,1.3544-0.0203
37
- l1.6771-0.0033H150.6981"/>
38
- <g id="XMLID_34_">
39
- <g id="XMLID_44_">
40
- <path id="XMLID_46_" d="M43.5084,35.7697c1.4032-1.755,2.3554-4.1116,2.1043-6.5197c-2.0541,0.1022-4.5606,1.3551-6.0118,3.1116
41
- c-1.303,1.5041-2.4563,3.9593-2.1557,6.2665C39.751,38.8281,42.0547,37.4756,43.5084,35.7697"/>
42
- <path id="XMLID_45_" d="M45.5865,39.0786c-3.3486-0.1995-6.1956,1.9004-7.7948,1.9004c-1.5999,0-4.0487-1.7999-6.6972-1.7514
43
- c-3.4472,0.0506-6.6458,1.9997-8.3952,5.0996c-3.598,6.2015-0.9495,15.4004,2.5494,20.4511
44
- c1.6992,2.4988,3.7469,5.2501,6.4452,5.1512c2.5494-0.1,3.5486-1.6507,6.6475-1.6507c3.0966,0,3.9967,1.6507,6.6954,1.6007
45
- c2.7986-0.05,4.5482-2.5,6.2474-5.0011c1.9492-2.8485,2.7471-5.5989,2.7973-5.7499c-0.0502-0.05-5.3964-2.101-5.446-8.2509
46
- c-0.0505-5.1494,4.1974-7.5987,4.3973-7.7506C50.634,39.5791,46.8859,39.1791,45.5865,39.0786"/>
47
- </g>
48
- <g id="XMLID_35_">
49
- <path id="XMLID_41_" d="M78.9732,32.1102c7.278,0,12.3464,5.0168,12.3464,12.3209c0,7.3302-5.1722,12.3733-12.5284,12.3733
50
- H70.733v12.8142h-5.8225V32.1102H78.9732z M70.733,51.9172h6.6804c5.0689,0,7.9538-2.729,7.9538-7.46
51
- c0-4.7305-2.8849-7.434-7.9278-7.434H70.733V51.9172z"/>
52
- <path id="XMLID_38_" d="M92.7641,61.8472c0-4.8092,3.6651-7.5645,10.4231-7.9801l7.252-0.4423v-2.0792
53
- c0-3.0413-2.0015-4.7049-5.5623-4.7049c-2.9376,0-5.069,1.5076-5.5107,3.821h-5.2509c0.1564-4.8609,4.731-8.3956,10.9175-8.3956
54
- c6.6543,0,10.9952,3.4831,10.9952,8.8894v18.6631h-5.3808v-4.4964h-0.1298c-1.5337,2.9371-4.913,4.7822-8.5781,4.7822
55
- C96.5329,69.9044,92.7641,66.6815,92.7641,61.8472z M110.4392,59.4296v-2.1058l-6.4723,0.4161
56
- c-3.639,0.2337-5.5362,1.5854-5.5362,3.9509c0,2.2873,1.9754,3.7694,5.0684,3.7694
57
- C107.4499,65.4602,110.4392,62.9382,110.4392,59.4296z"/>
58
- <path id="XMLID_36_" d="M120.9746,79.6522v-4.4964c0.364,0.0512,1.2475,0.1033,1.7152,0.1033
59
- c2.5736,0,4.0291-1.091,4.9131-3.8987l0.5199-1.6636l-9.8516-27.2928h6.0822l6.8624,22.1457h0.1298l6.8624-22.1457h5.9268
60
- l-10.2156,28.6706c-2.3394,6.5761-5.0168,8.734-10.6834,8.734C122.7941,79.8086,121.3642,79.7565,120.9746,79.6522z"/>
61
- </g>
62
- </g>
63
- </g>
64
- <g>
65
- </g>
66
- <g>
67
- </g>
68
- <g>
69
- </g>
70
- <g>
71
- </g>
72
- <g>
73
- </g>
74
- <g>
75
- </g>
76
- </svg>
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="165.5211px" height="105.9651px" viewBox="0 0 165.5211 105.9651" enable-background="new 0 0 165.5211 105.9651"
5
+ xml:space="preserve">
6
+ <g>
7
+ <path id="XMLID_96_" d="M150.6981,0H14.8232c-0.5659,0-1.1328,0-1.6977,0.0033C12.648,0.0067,12.1716,0.012,11.6952,0.025
8
+ c-1.039,0.0281-2.0869,0.0894-3.1129,0.2738C7.5399,0.4864,6.5699,0.7924,5.6236,1.2742c-0.9303,0.4731-1.782,1.0919-2.5201,1.8303
9
+ c-0.7384,0.7384-1.3572,1.5887-1.8302,2.52C0.7914,6.5708,0.4852,7.5411,0.2989,8.5843c-0.1854,1.0263-0.2471,2.074-0.2751,3.1119
10
+ c-0.0128,0.4764-0.0183,0.9528-0.0214,1.4291c-0.0033,0.5661-0.0022,1.1318-0.0022,1.6989V91.142
11
+ c0,0.5671-0.0011,1.1318,0.0022,1.699c0.0031,0.4763,0.0086,0.9527,0.0214,1.4291c0.028,1.037,0.0897,2.0847,0.2751,3.1107
12
+ c0.1863,1.0436,0.4925,2.0135,0.9744,2.9599c0.473,0.9313,1.0918,1.7827,1.8302,2.52c0.7381,0.7396,1.5898,1.3583,2.5201,1.8302
13
+ c0.9463,0.4831,1.9163,0.7892,2.9587,0.9767c1.026,0.1832,2.0739,0.2456,3.1129,0.2737c0.4764,0.0108,0.9528,0.0172,1.4303,0.0194
14
+ c0.5649,0.0044,1.1318,0.0044,1.6977,0.0044h135.8749c0.5649,0,1.1318,0,1.6966-0.0044c0.4764-0.0022,0.9528-0.0086,1.4314-0.0194
15
+ c1.0368-0.0281,2.0845-0.0905,3.113-0.2737c1.041-0.1875,2.0112-0.4936,2.9576-0.9767c0.9313-0.4719,1.7805-1.0906,2.5201-1.8302
16
+ c0.7372-0.7373,1.356-1.5887,1.8302-2.52c0.483-0.9464,0.7889-1.9163,0.9743-2.9599c0.1855-1.026,0.2457-2.0737,0.2738-3.1107
17
+ c0.013-0.4764,0.0194-0.9528,0.0216-1.4291c0.0044-0.5672,0.0044-1.1319,0.0044-1.699V14.8242c0-0.5671,0-1.1328-0.0044-1.6989
18
+ c-0.0022-0.4763-0.0086-0.9527-0.0216-1.4291c-0.0281-1.0379-0.0883-2.0856-0.2738-3.1119
19
+ c-0.1854-1.0432-0.4913-2.0135-0.9743-2.9598c-0.4742-0.9313-1.093-1.7816-1.8302-2.52c-0.7396-0.7384-1.5888-1.3572-2.5201-1.8303
20
+ c-0.9464-0.4818-1.9166-0.7878-2.9576-0.9754c-1.0285-0.1844-2.0762-0.2457-3.113-0.2738c-0.4786-0.013-0.955-0.0183-1.4314-0.0217
21
+ C151.8299,0,151.263,0,150.6981,0L150.6981,0z"/>
22
+ <path id="XMLID_227_" fill="#FFFFFF" d="M150.6981,3.532l1.6715,0.0032c0.4528,0.0032,0.9056,0.0081,1.3609,0.0205
23
+ c0.792,0.0214,1.7185,0.0643,2.5821,0.2191c0.7507,0.1352,1.3803,0.3408,1.9845,0.6484c0.5965,0.3031,1.143,0.7003,1.6202,1.1768
24
+ c0.479,0.4797,0.8767,1.0271,1.1838,1.6302c0.3059,0.5995,0.5102,1.2261,0.6446,1.9823c0.1544,0.8542,0.1971,1.7832,0.2188,2.5801
25
+ c0.0122,0.4498,0.0182,0.8996,0.0204,1.3601c0.0043,0.5569,0.0042,1.1135,0.0042,1.6715V91.142
26
+ c0,0.558,0.0001,1.1136-0.0043,1.6824c-0.0021,0.4497-0.0081,0.8995-0.0204,1.3501c-0.0216,0.7957-0.0643,1.7242-0.2206,2.5885
27
+ c-0.1325,0.7458-0.3367,1.3725-0.6443,1.975c-0.3062,0.6016-0.7033,1.1484-1.1802,1.6251c-0.4799,0.48-1.0246,0.876-1.6282,1.1819
28
+ c-0.5997,0.3061-1.2282,0.5115-1.9715,0.6453c-0.8811,0.157-1.8464,0.2002-2.5734,0.2199
29
+ c-0.4574,0.0103-0.9126,0.0165-1.3789,0.0187c-0.5557,0.0043-1.1134,0.0042-1.6692,0.0042H14.8232c-0.0074,0-0.0146,0-0.0221,0
30
+ c-0.5494,0-1.0999,0-1.6593-0.0043c-0.4561-0.0021-0.9112-0.0082-1.3512-0.0182c-0.7436-0.0201-1.7095-0.0632-2.5834-0.2193
31
+ c-0.7497-0.1348-1.3782-0.3402-1.9858-0.6503c-0.5979-0.3032-1.1422-0.6988-1.6223-1.1797
32
+ c-0.4764-0.4756-0.8723-1.0207-1.1784-1.6232c-0.3064-0.6019-0.5114-1.2305-0.6462-1.9852
33
+ c-0.1558-0.8626-0.1986-1.7874-0.22-2.5777c-0.0122-0.4525-0.0173-0.9049-0.0202-1.3547l-0.0022-1.3279l0.0001-0.3506V14.8242
34
+ l-0.0001-0.3506l0.0021-1.3251c0.003-0.4525,0.0081-0.9049,0.0203-1.357c0.0214-0.7911,0.0642-1.7163,0.2213-2.5861
35
+ C3.9094,8.4575,4.1143,7.8289,4.4223,7.224C4.726,6.6261,5.1226,6.0803,5.6015,5.6015c0.477-0.4772,1.0231-0.8739,1.6248-1.1799
36
+ C7.8274,4.1155,8.4571,3.91,9.2068,3.7751c0.8638-0.1552,1.7909-0.198,2.5849-0.2195c0.4526-0.0123,0.9052-0.0172,1.3544-0.0203
37
+ l1.6771-0.0033H150.6981"/>
38
+ <g id="XMLID_34_">
39
+ <g id="XMLID_44_">
40
+ <path id="XMLID_46_" d="M43.5084,35.7697c1.4032-1.755,2.3554-4.1116,2.1043-6.5197c-2.0541,0.1022-4.5606,1.3551-6.0118,3.1116
41
+ c-1.303,1.5041-2.4563,3.9593-2.1557,6.2665C39.751,38.8281,42.0547,37.4756,43.5084,35.7697"/>
42
+ <path id="XMLID_45_" d="M45.5865,39.0786c-3.3486-0.1995-6.1956,1.9004-7.7948,1.9004c-1.5999,0-4.0487-1.7999-6.6972-1.7514
43
+ c-3.4472,0.0506-6.6458,1.9997-8.3952,5.0996c-3.598,6.2015-0.9495,15.4004,2.5494,20.4511
44
+ c1.6992,2.4988,3.7469,5.2501,6.4452,5.1512c2.5494-0.1,3.5486-1.6507,6.6475-1.6507c3.0966,0,3.9967,1.6507,6.6954,1.6007
45
+ c2.7986-0.05,4.5482-2.5,6.2474-5.0011c1.9492-2.8485,2.7471-5.5989,2.7973-5.7499c-0.0502-0.05-5.3964-2.101-5.446-8.2509
46
+ c-0.0505-5.1494,4.1974-7.5987,4.3973-7.7506C50.634,39.5791,46.8859,39.1791,45.5865,39.0786"/>
47
+ </g>
48
+ <g id="XMLID_35_">
49
+ <path id="XMLID_41_" d="M78.9732,32.1102c7.278,0,12.3464,5.0168,12.3464,12.3209c0,7.3302-5.1722,12.3733-12.5284,12.3733
50
+ H70.733v12.8142h-5.8225V32.1102H78.9732z M70.733,51.9172h6.6804c5.0689,0,7.9538-2.729,7.9538-7.46
51
+ c0-4.7305-2.8849-7.434-7.9278-7.434H70.733V51.9172z"/>
52
+ <path id="XMLID_38_" d="M92.7641,61.8472c0-4.8092,3.6651-7.5645,10.4231-7.9801l7.252-0.4423v-2.0792
53
+ c0-3.0413-2.0015-4.7049-5.5623-4.7049c-2.9376,0-5.069,1.5076-5.5107,3.821h-5.2509c0.1564-4.8609,4.731-8.3956,10.9175-8.3956
54
+ c6.6543,0,10.9952,3.4831,10.9952,8.8894v18.6631h-5.3808v-4.4964h-0.1298c-1.5337,2.9371-4.913,4.7822-8.5781,4.7822
55
+ C96.5329,69.9044,92.7641,66.6815,92.7641,61.8472z M110.4392,59.4296v-2.1058l-6.4723,0.4161
56
+ c-3.639,0.2337-5.5362,1.5854-5.5362,3.9509c0,2.2873,1.9754,3.7694,5.0684,3.7694
57
+ C107.4499,65.4602,110.4392,62.9382,110.4392,59.4296z"/>
58
+ <path id="XMLID_36_" d="M120.9746,79.6522v-4.4964c0.364,0.0512,1.2475,0.1033,1.7152,0.1033
59
+ c2.5736,0,4.0291-1.091,4.9131-3.8987l0.5199-1.6636l-9.8516-27.2928h6.0822l6.8624,22.1457h0.1298l6.8624-22.1457h5.9268
60
+ l-10.2156,28.6706c-2.3394,6.5761-5.0168,8.734-10.6834,8.734C122.7941,79.8086,121.3642,79.7565,120.9746,79.6522z"/>
61
+ </g>
62
+ </g>
63
+ </g>
64
+ <g>
65
+ </g>
66
+ <g>
67
+ </g>
68
+ <g>
69
+ </g>
70
+ <g>
71
+ </g>
72
+ <g>
73
+ </g>
74
+ <g>
75
+ </g>
76
+ </svg>
assets/img/bancontact.svg CHANGED
@@ -1,80 +1,80 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- width="256px" height="160px" viewBox="36 36 256 160" style="enable-background:new 0 0 326.1 230.5;" xml:space="preserve"
5
- >
6
- <style type="text/css">
7
- .st0{fill:#FFFFFF;}
8
- .st1{fill:#005498;}
9
- .st2{fill:#FFD800;}
10
- .st3{fill:none;}
11
- </style>
12
- <g>
13
- <path class="st0" d="M326.1,210.7c0,10.9-8.9,19.8-19.8,19.8H19.9c-10.9,0-19.8-8.9-19.8-19.8V19.8C0.1,8.9,9,0,19.9,0h286.4
14
- c10.9,0,19.8,8.9,19.8,19.8L326.1,210.7L326.1,210.7z"/>
15
- </g>
16
- <g>
17
- <path class="st1" d="M262,64.4h-11.8h-54.6h-11.9l-8,9l-25.8,29.1l0,0l-8,9h-11.8H76.5H64.7l7.8-9.1l3.7-4.3L84,89H72.2H57h-8.5
18
- c-6.5,0-11.8,5.5-11.8,12.1l0,0v23.4v2.2c0,6.7,5.3,12.1,11.8,12.1h3.3h124h8.9c6.5,0,15.4-4,19.7-9l20.6-23.4L262,64.4z"/>
19
- <path class="st2" d="M277.7,37.1c6.5,0,11.8,5.5,11.8,12.1v25.5c0,6.7-5.3,12.1-11.8,12.1h-6.4h-17.2h-11.8l7.9-9l0,0l3.9-4.5
20
- l7.9-9h-78.3l-41.7,47H64.3l55.7-63l2.1-2.4c4.4-4.9,13.3-9,19.8-9h2.7h133.1V37.1z"/>
21
- </g>
22
- <path class="st1" d="M289.5,192.4v-3.7c0-0.5-0.3-0.8-1-0.8h-2.4c-0.7,0-1.2-0.1-1.3-0.4c-0.2-0.3-0.2-0.9-0.2-1.9v-14h3.9
23
- c0.3,0,0.5-0.1,0.7-0.3s0.3-0.4,0.3-0.7v-3.9c0-0.3-0.1-0.5-0.3-0.7c-0.2-0.2-0.4-0.3-0.7-0.3h-3.9v-5.1c0-0.3-0.1-0.5-0.2-0.6
24
- c-0.2-0.1-0.4-0.2-0.6-0.2h-0.1l-5.8,1c-0.3,0.1-0.5,0.2-0.7,0.3c-0.2,0.2-0.3,0.4-0.3,0.6v3.9H273c-0.3,0-0.5,0.1-0.7,0.3
25
- s-0.3,0.4-0.3,0.7v3.2c0,0.3,0.1,0.5,0.3,0.6c0.2,0.2,0.4,0.3,0.7,0.4l3.9,0.6v14c0,1.7,0.2,3.1,0.5,4.2c0.4,1.1,0.9,1.9,1.5,2.5
26
- c0.7,0.6,1.5,1,2.5,1.2s2.2,0.3,3.5,0.3c0.7,0,1.3,0,1.9-0.1c0.5-0.1,1.2-0.2,1.9-0.3C289.2,193.2,289.5,192.9,289.5,192.4
27
- M268.7,191.9v-4.3c0-0.3-0.1-0.5-0.3-0.6c-0.2-0.1-0.4-0.2-0.6-0.2h-0.1c-0.9,0.1-1.8,0.2-2.6,0.2c-0.8,0.1-1.9,0.1-3.3,0.1
28
- c-0.5,0-1.1-0.1-1.5-0.3c-0.5-0.2-0.9-0.5-1.3-0.9s-0.6-1-0.8-1.7c-0.2-0.7-0.3-1.6-0.3-2.7v-4c0-1.1,0.1-2,0.3-2.7
29
- c0.2-0.7,0.5-1.3,0.8-1.7c0.4-0.4,0.8-0.7,1.3-0.9s1-0.3,1.5-0.3c1.4,0,2.5,0,3.3,0.1s1.7,0.1,2.6,0.2h0.1c0.3,0,0.5-0.1,0.6-0.2
30
- c0.2-0.1,0.3-0.3,0.3-0.6v-4.3c0-0.4-0.1-0.6-0.2-0.7c-0.2-0.1-0.4-0.3-0.8-0.4c-0.7-0.2-1.5-0.3-2.6-0.5s-2.3-0.2-3.8-0.2
31
- c-3.4,0-6.1,1-8.2,3.1c-2,2.1-3.1,5.1-3.1,9.1v4c0,3.9,1,7,3.1,9.1c2,2.1,4.8,3.1,8.2,3.1c1.4,0,2.7-0.1,3.8-0.2
32
- c1.1-0.2,2-0.3,2.6-0.5c0.4-0.1,0.6-0.2,0.8-0.4C268.7,192.5,268.7,192.2,268.7,191.9 M237.4,186.8c-0.6,0.3-1.2,0.5-1.9,0.7
33
- c-0.7,0.2-1.4,0.3-2.1,0.3c-1,0-1.8-0.1-2.3-0.4s-0.7-0.9-0.7-2V185c0-0.6,0.1-1.1,0.2-1.5s0.4-0.8,0.7-1.1c0.3-0.3,0.8-0.5,1.3-0.6
34
- s1.2-0.2,2.1-0.2h2.7L237.4,186.8L237.4,186.8z M245,175.1c0-1.8-0.3-3.3-0.8-4.5s-1.3-2.2-2.2-3c-1-0.8-2.1-1.4-3.5-1.7
35
- c-1.4-0.4-3-0.6-4.7-0.6c-1.6,0-3.2,0.1-4.7,0.3s-2.7,0.4-3.6,0.7c-0.6,0.2-0.9,0.5-0.9,1.1v3.9c0,0.3,0.1,0.5,0.2,0.7
36
- c0.2,0.1,0.4,0.2,0.6,0.2h0.2c0.4,0,0.9-0.1,1.4-0.1c0.6,0,1.2-0.1,1.9-0.1c0.7,0,1.5-0.1,2.3-0.1s1.6,0,2.3,0c1.1,0,2,0.2,2.6,0.6
37
- c0.6,0.4,1,1.3,1,2.7v1.7h-2.6c-4.1,0-7.2,0.6-9,1.9c-1.9,1.3-2.8,3.4-2.8,6.2v0.4c0,1.6,0.2,2.9,0.7,3.9c0.5,1.1,1.1,1.9,1.9,2.6
38
- c0.8,0.6,1.6,1.1,2.6,1.4s2,0.4,3.1,0.4c1.4,0,2.7-0.2,3.7-0.6s2-0.9,3-1.6v0.8c0,0.3,0.1,0.5,0.3,0.7c0.2,0.2,0.4,0.3,0.7,0.3h5.4
39
- c0.3,0,0.5-0.1,0.7-0.3c0.2-0.2,0.3-0.4,0.3-0.7v-17.2H245z M219.3,192.4v-3.7c0-0.5-0.3-0.8-1-0.8h-2.4c-0.7,0-1.2-0.1-1.3-0.4
40
- c-0.2-0.3-0.2-0.9-0.2-1.9v-14h3.9c0.3,0,0.5-0.1,0.7-0.3s0.3-0.4,0.3-0.7v-3.9c0-0.3-0.1-0.5-0.3-0.7s-0.4-0.3-0.7-0.3h-3.9v-5.1
41
- c0-0.3-0.1-0.5-0.2-0.6c-0.2-0.1-0.4-0.2-0.6-0.2h-0.1l-5.8,1c-0.3,0.1-0.5,0.2-0.7,0.3c-0.2,0.2-0.3,0.4-0.3,0.6v3.9h-4
42
- c-0.3,0-0.5,0.1-0.7,0.3s-0.3,0.4-0.3,0.7v3.2c0,0.3,0.1,0.5,0.3,0.6c0.2,0.2,0.4,0.3,0.7,0.4l3.9,0.6v14c0,1.7,0.2,3.1,0.5,4.2
43
- c0.4,1.1,0.9,1.9,1.5,2.5c0.7,0.6,1.5,1,2.5,1.2s2.2,0.3,3.5,0.3c0.7,0,1.3,0,1.9-0.1c0.5-0.1,1.2-0.2,1.9-0.3
44
- C219,193.2,219.3,192.9,219.3,192.4 M198.3,192.3v-16c0-1.5-0.1-2.9-0.4-4.3c-0.2-1.3-0.7-2.5-1.3-3.5c-0.6-1-1.5-1.8-2.6-2.3
45
- c-1.1-0.6-2.5-0.9-4.3-0.9c-1.5,0-2.9,0.2-4.1,0.6c-1.2,0.4-2.4,1-3.8,2v-1.2c0-0.3-0.1-0.5-0.3-0.7s-0.4-0.3-0.7-0.3h-5.4
46
- c-0.3,0-0.5,0.1-0.7,0.3s-0.3,0.4-0.3,0.7v25.6c0,0.3,0.1,0.5,0.3,0.7s0.4,0.3,0.7,0.3h5.8c0.3,0,0.5-0.1,0.7-0.3
47
- c0.2-0.2,0.3-0.4,0.3-0.7v-18.9c0.8-0.4,1.6-0.8,2.4-1.1c0.7-0.3,1.5-0.4,2.2-0.4s1.3,0.1,1.8,0.2c0.5,0.1,0.8,0.4,1.1,0.7
48
- c0.3,0.4,0.4,0.8,0.5,1.4c0.1,0.6,0.1,1.3,0.1,2.1v16c0,0.3,0.1,0.5,0.3,0.7c0.2,0.2,0.4,0.3,0.7,0.3h5.8c0.3,0,0.5-0.1,0.7-0.3
49
- C198.2,192.8,198.3,192.5,198.3,192.3 M161.9,181.2c0,3.9-1.4,5.9-4.3,5.9c-1.4,0-2.5-0.5-3.2-1.5s-1.1-2.5-1.1-4.4v-3.4
50
- c0-2,0.4-3.4,1.1-4.4c0.7-1,1.8-1.5,3.2-1.5c2.8,0,4.3,2,4.3,5.9V181.2z M169.7,177.8c0-1.9-0.3-3.7-0.8-5.2s-1.3-2.8-2.3-3.9
51
- c-1-1.1-2.3-1.9-3.8-2.5s-3.2-0.9-5.2-0.9s-3.7,0.3-5.2,0.9c-1.5,0.6-2.8,1.4-3.8,2.5s-1.8,2.4-2.3,3.9s-0.8,3.3-0.8,5.2v3.4
52
- c0,1.9,0.3,3.7,0.8,5.2s1.3,2.8,2.3,3.9s2.3,1.9,3.8,2.5s3.2,0.9,5.2,0.9s3.7-0.3,5.2-0.9s2.8-1.4,3.8-2.5s1.8-2.4,2.3-3.9
53
- s0.8-3.3,0.8-5.2V177.8z M143,191.9v-4.3c0-0.3-0.1-0.5-0.3-0.6s-0.4-0.2-0.7-0.2h-0.1c-0.9,0.1-1.8,0.2-2.6,0.2
54
- c-0.8,0.1-1.9,0.1-3.3,0.1c-0.5,0-1.1-0.1-1.5-0.3c-0.5-0.2-0.9-0.5-1.3-0.9c-0.4-0.4-0.6-1-0.8-1.7s-0.3-1.6-0.3-2.7v-4
55
- c0-1.1,0.1-2,0.3-2.7s0.5-1.3,0.8-1.7c0.4-0.4,0.8-0.7,1.3-0.9s1-0.3,1.5-0.3c1.4,0,2.5,0,3.3,0.1s1.7,0.1,2.6,0.2h0.1
56
- c0.3,0,0.5-0.1,0.7-0.2c0.2-0.1,0.3-0.3,0.3-0.6v-4.3c0-0.4-0.1-0.6-0.2-0.7c-0.2-0.1-0.4-0.3-0.8-0.4c-0.7-0.2-1.5-0.3-2.6-0.5
57
- s-2.3-0.2-3.8-0.2c-3.4,0-6.1,1-8.2,3.1c-2,2.1-3.1,5.1-3.1,9.1v4c0,3.9,1,7,3.1,9.1c2,2.1,4.8,3.1,8.2,3.1c1.4,0,2.7-0.1,3.8-0.2
58
- c1.1-0.2,1.9-0.3,2.6-0.5c0.4-0.1,0.6-0.2,0.8-0.4C142.9,192.5,143,192.2,143,191.9 M119.3,192.3v-16c0-1.5-0.1-2.9-0.4-4.3
59
- c-0.2-1.3-0.7-2.5-1.3-3.5s-1.5-1.8-2.6-2.3c-1.1-0.6-2.5-0.9-4.3-0.9c-1.5,0-2.9,0.2-4.1,0.6c-1.2,0.4-2.4,1-3.8,2v-1.2
60
- c0-0.3-0.1-0.5-0.3-0.7s-0.4-0.3-0.7-0.3h-5.4c-0.3,0-0.5,0.1-0.7,0.3s-0.3,0.4-0.3,0.7v25.6c0,0.3,0.1,0.5,0.3,0.7s0.4,0.3,0.7,0.3
61
- h5.8c0.3,0,0.5-0.1,0.7-0.3c0.2-0.2,0.3-0.4,0.3-0.7v-18.9c0.8-0.4,1.6-0.8,2.4-1.1c0.7-0.3,1.5-0.4,2.2-0.4s1.3,0.1,1.8,0.2
62
- c0.5,0.1,0.8,0.4,1.1,0.7c0.3,0.4,0.4,0.8,0.5,1.4c0.1,0.6,0.1,1.3,0.1,2.1v16c0,0.3,0.1,0.5,0.3,0.7s0.4,0.3,0.7,0.3h5.8
63
- c0.3,0,0.5-0.1,0.7-0.3C119.2,192.8,119.3,192.5,119.3,192.3 M82.1,186.8c-0.6,0.3-1.2,0.5-1.9,0.7s-1.4,0.3-2.1,0.3
64
- c-1,0-1.8-0.1-2.3-0.4s-0.7-0.9-0.7-2V185c0-0.6,0.1-1.1,0.2-1.5c0.1-0.4,0.4-0.8,0.7-1.1c0.3-0.3,0.8-0.5,1.3-0.6s1.2-0.2,2.1-0.2
65
- h2.7V186.8z M89.8,175.1c0-1.8-0.3-3.3-0.8-4.5s-1.3-2.2-2.2-3c-1-0.8-2.1-1.4-3.5-1.7c-1.4-0.4-3-0.6-4.7-0.6
66
- c-1.6,0-3.2,0.1-4.7,0.3s-2.7,0.4-3.6,0.7c-0.6,0.2-0.9,0.5-0.9,1.1v3.9c0,0.3,0.1,0.5,0.2,0.7c0.2,0.1,0.4,0.2,0.6,0.2h0.2
67
- c0.4,0,0.9-0.1,1.4-0.1c0.6,0,1.2-0.1,2-0.1c0.7,0,1.5-0.1,2.3-0.1s1.6,0,2.3,0c1.1,0,2,0.2,2.6,0.6c0.6,0.4,1,1.3,1,2.7v1.7h-2.6
68
- c-4.1,0-7.2,0.6-9,1.9c-1.9,1.3-2.8,3.4-2.8,6.2v0.4c0,1.6,0.2,2.9,0.7,3.9c0.5,1.1,1.1,1.9,1.9,2.6c0.8,0.6,1.6,1.1,2.6,1.4
69
- s2,0.4,3.1,0.4c1.4,0,2.7-0.2,3.7-0.6s2-0.9,3-1.6v0.8c0,0.3,0.1,0.5,0.3,0.7s0.4,0.3,0.7,0.3H89c0.3,0,0.5-0.1,0.7-0.3
70
- c0.2-0.2,0.3-0.4,0.3-0.7v-17.2H89.8z M55.4,182.7c0,1.3-0.5,2.4-1.4,3.1s-2.7,1.1-5.1,1.1h-0.8c-0.4,0-0.8,0-1.2,0
71
- c-0.4,0-0.8,0-1.2,0h-0.8v-9h5.4c1.9,0,3.3,0.4,4,1.3c0.7,0.9,1.1,1.9,1.1,3V182.7z M55.2,168.4c0,0.5-0.1,1-0.2,1.5
72
- c-0.2,0.5-0.4,0.9-0.8,1.2s-0.9,0.6-1.5,0.8s-1.4,0.3-2.4,0.3h-5.4v-8.3c0.2,0,0.4,0,0.7,0c0.3,0,0.7,0,1.1,0h1.1h0.8
73
- c2.5,0,4.2,0.3,5.2,0.9c1,0.6,1.5,1.6,1.5,2.9L55.2,168.4L55.2,168.4z M63.4,182.2c0-1.7-0.4-3.1-1.2-4.3s-1.8-2.2-3.1-2.8
74
- c1.3-0.6,2.3-1.6,3-2.8c0.7-1.3,1.1-2.7,1.1-4.2v-0.9c0-1.9-0.4-3.5-1.1-4.8c-0.7-1.3-1.8-2.3-3.1-3.1s-2.9-1.3-4.8-1.7
75
- c-1.9-0.3-3.9-0.5-6.2-0.5c-0.8,0-1.6,0-2.4,0s-1.6,0.1-2.4,0.1s-1.5,0.1-2.2,0.2c-0.7,0.1-1.2,0.1-1.6,0.2c-0.9,0.2-1.6,0.4-2,0.9
76
- c-0.4,0.4-0.6,1.2-0.6,2.3v29.3c0,1.1,0.2,1.8,0.6,2.3c0.4,0.4,1.1,0.7,2,0.9c0.5,0.1,1.1,0.2,1.7,0.2c0.7,0.1,1.4,0.1,2.2,0.2
77
- s1.6,0.1,2.4,0.1s1.7,0,2.5,0c2.1,0,4.1-0.2,5.9-0.5c1.8-0.3,3.4-0.9,4.8-1.7c1.4-0.8,2.4-1.9,3.3-3.3c0.8-1.4,1.2-3.2,1.2-5.3
78
- L63.4,182.2L63.4,182.2z"/>
79
- <rect x="0" y="0" class="st3" width="326" height="230.5"/>
80
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="256px" height="160px" viewBox="36 36 256 160" style="enable-background:new 0 0 326.1 230.5;" xml:space="preserve"
5
+ >
6
+ <style type="text/css">
7
+ .st0{fill:#FFFFFF;}
8
+ .st1{fill:#005498;}
9
+ .st2{fill:#FFD800;}
10
+ .st3{fill:none;}
11
+ </style>
12
+ <g>
13
+ <path class="st0" d="M326.1,210.7c0,10.9-8.9,19.8-19.8,19.8H19.9c-10.9,0-19.8-8.9-19.8-19.8V19.8C0.1,8.9,9,0,19.9,0h286.4
14
+ c10.9,0,19.8,8.9,19.8,19.8L326.1,210.7L326.1,210.7z"/>
15
+ </g>
16
+ <g>
17
+ <path class="st1" d="M262,64.4h-11.8h-54.6h-11.9l-8,9l-25.8,29.1l0,0l-8,9h-11.8H76.5H64.7l7.8-9.1l3.7-4.3L84,89H72.2H57h-8.5
18
+ c-6.5,0-11.8,5.5-11.8,12.1l0,0v23.4v2.2c0,6.7,5.3,12.1,11.8,12.1h3.3h124h8.9c6.5,0,15.4-4,19.7-9l20.6-23.4L262,64.4z"/>
19
+ <path class="st2" d="M277.7,37.1c6.5,0,11.8,5.5,11.8,12.1v25.5c0,6.7-5.3,12.1-11.8,12.1h-6.4h-17.2h-11.8l7.9-9l0,0l3.9-4.5
20
+ l7.9-9h-78.3l-41.7,47H64.3l55.7-63l2.1-2.4c4.4-4.9,13.3-9,19.8-9h2.7h133.1V37.1z"/>
21
+ </g>
22
+ <path class="st1" d="M289.5,192.4v-3.7c0-0.5-0.3-0.8-1-0.8h-2.4c-0.7,0-1.2-0.1-1.3-0.4c-0.2-0.3-0.2-0.9-0.2-1.9v-14h3.9
23
+ c0.3,0,0.5-0.1,0.7-0.3s0.3-0.4,0.3-0.7v-3.9c0-0.3-0.1-0.5-0.3-0.7c-0.2-0.2-0.4-0.3-0.7-0.3h-3.9v-5.1c0-0.3-0.1-0.5-0.2-0.6
24
+ c-0.2-0.1-0.4-0.2-0.6-0.2h-0.1l-5.8,1c-0.3,0.1-0.5,0.2-0.7,0.3c-0.2,0.2-0.3,0.4-0.3,0.6v3.9H273c-0.3,0-0.5,0.1-0.7,0.3
25
+ s-0.3,0.4-0.3,0.7v3.2c0,0.3,0.1,0.5,0.3,0.6c0.2,0.2,0.4,0.3,0.7,0.4l3.9,0.6v14c0,1.7,0.2,3.1,0.5,4.2c0.4,1.1,0.9,1.9,1.5,2.5
26
+ c0.7,0.6,1.5,1,2.5,1.2s2.2,0.3,3.5,0.3c0.7,0,1.3,0,1.9-0.1c0.5-0.1,1.2-0.2,1.9-0.3C289.2,193.2,289.5,192.9,289.5,192.4
27
+ M268.7,191.9v-4.3c0-0.3-0.1-0.5-0.3-0.6c-0.2-0.1-0.4-0.2-0.6-0.2h-0.1c-0.9,0.1-1.8,0.2-2.6,0.2c-0.8,0.1-1.9,0.1-3.3,0.1
28
+ c-0.5,0-1.1-0.1-1.5-0.3c-0.5-0.2-0.9-0.5-1.3-0.9s-0.6-1-0.8-1.7c-0.2-0.7-0.3-1.6-0.3-2.7v-4c0-1.1,0.1-2,0.3-2.7
29
+ c0.2-0.7,0.5-1.3,0.8-1.7c0.4-0.4,0.8-0.7,1.3-0.9s1-0.3,1.5-0.3c1.4,0,2.5,0,3.3,0.1s1.7,0.1,2.6,0.2h0.1c0.3,0,0.5-0.1,0.6-0.2
30
+ c0.2-0.1,0.3-0.3,0.3-0.6v-4.3c0-0.4-0.1-0.6-0.2-0.7c-0.2-0.1-0.4-0.3-0.8-0.4c-0.7-0.2-1.5-0.3-2.6-0.5s-2.3-0.2-3.8-0.2
31
+ c-3.4,0-6.1,1-8.2,3.1c-2,2.1-3.1,5.1-3.1,9.1v4c0,3.9,1,7,3.1,9.1c2,2.1,4.8,3.1,8.2,3.1c1.4,0,2.7-0.1,3.8-0.2
32
+ c1.1-0.2,2-0.3,2.6-0.5c0.4-0.1,0.6-0.2,0.8-0.4C268.7,192.5,268.7,192.2,268.7,191.9 M237.4,186.8c-0.6,0.3-1.2,0.5-1.9,0.7
33
+ c-0.7,0.2-1.4,0.3-2.1,0.3c-1,0-1.8-0.1-2.3-0.4s-0.7-0.9-0.7-2V185c0-0.6,0.1-1.1,0.2-1.5s0.4-0.8,0.7-1.1c0.3-0.3,0.8-0.5,1.3-0.6
34
+ s1.2-0.2,2.1-0.2h2.7L237.4,186.8L237.4,186.8z M245,175.1c0-1.8-0.3-3.3-0.8-4.5s-1.3-2.2-2.2-3c-1-0.8-2.1-1.4-3.5-1.7
35
+ c-1.4-0.4-3-0.6-4.7-0.6c-1.6,0-3.2,0.1-4.7,0.3s-2.7,0.4-3.6,0.7c-0.6,0.2-0.9,0.5-0.9,1.1v3.9c0,0.3,0.1,0.5,0.2,0.7
36
+ c0.2,0.1,0.4,0.2,0.6,0.2h0.2c0.4,0,0.9-0.1,1.4-0.1c0.6,0,1.2-0.1,1.9-0.1c0.7,0,1.5-0.1,2.3-0.1s1.6,0,2.3,0c1.1,0,2,0.2,2.6,0.6
37
+ c0.6,0.4,1,1.3,1,2.7v1.7h-2.6c-4.1,0-7.2,0.6-9,1.9c-1.9,1.3-2.8,3.4-2.8,6.2v0.4c0,1.6,0.2,2.9,0.7,3.9c0.5,1.1,1.1,1.9,1.9,2.6
38
+ c0.8,0.6,1.6,1.1,2.6,1.4s2,0.4,3.1,0.4c1.4,0,2.7-0.2,3.7-0.6s2-0.9,3-1.6v0.8c0,0.3,0.1,0.5,0.3,0.7c0.2,0.2,0.4,0.3,0.7,0.3h5.4
39
+ c0.3,0,0.5-0.1,0.7-0.3c0.2-0.2,0.3-0.4,0.3-0.7v-17.2H245z M219.3,192.4v-3.7c0-0.5-0.3-0.8-1-0.8h-2.4c-0.7,0-1.2-0.1-1.3-0.4
40
+ c-0.2-0.3-0.2-0.9-0.2-1.9v-14h3.9c0.3,0,0.5-0.1,0.7-0.3s0.3-0.4,0.3-0.7v-3.9c0-0.3-0.1-0.5-0.3-0.7s-0.4-0.3-0.7-0.3h-3.9v-5.1
41
+ c0-0.3-0.1-0.5-0.2-0.6c-0.2-0.1-0.4-0.2-0.6-0.2h-0.1l-5.8,1c-0.3,0.1-0.5,0.2-0.7,0.3c-0.2,0.2-0.3,0.4-0.3,0.6v3.9h-4
42
+ c-0.3,0-0.5,0.1-0.7,0.3s-0.3,0.4-0.3,0.7v3.2c0,0.3,0.1,0.5,0.3,0.6c0.2,0.2,0.4,0.3,0.7,0.4l3.9,0.6v14c0,1.7,0.2,3.1,0.5,4.2
43
+ c0.4,1.1,0.9,1.9,1.5,2.5c0.7,0.6,1.5,1,2.5,1.2s2.2,0.3,3.5,0.3c0.7,0,1.3,0,1.9-0.1c0.5-0.1,1.2-0.2,1.9-0.3
44
+ C219,193.2,219.3,192.9,219.3,192.4 M198.3,192.3v-16c0-1.5-0.1-2.9-0.4-4.3c-0.2-1.3-0.7-2.5-1.3-3.5c-0.6-1-1.5-1.8-2.6-2.3
45
+ c-1.1-0.6-2.5-0.9-4.3-0.9c-1.5,0-2.9,0.2-4.1,0.6c-1.2,0.4-2.4,1-3.8,2v-1.2c0-0.3-0.1-0.5-0.3-0.7s-0.4-0.3-0.7-0.3h-5.4
46
+ c-0.3,0-0.5,0.1-0.7,0.3s-0.3,0.4-0.3,0.7v25.6c0,0.3,0.1,0.5,0.3,0.7s0.4,0.3,0.7,0.3h5.8c0.3,0,0.5-0.1,0.7-0.3
47
+ c0.2-0.2,0.3-0.4,0.3-0.7v-18.9c0.8-0.4,1.6-0.8,2.4-1.1c0.7-0.3,1.5-0.4,2.2-0.4s1.3,0.1,1.8,0.2c0.5,0.1,0.8,0.4,1.1,0.7
48
+ c0.3,0.4,0.4,0.8,0.5,1.4c0.1,0.6,0.1,1.3,0.1,2.1v16c0,0.3,0.1,0.5,0.3,0.7c0.2,0.2,0.4,0.3,0.7,0.3h5.8c0.3,0,0.5-0.1,0.7-0.3
49
+ C198.2,192.8,198.3,192.5,198.3,192.3 M161.9,181.2c0,3.9-1.4,5.9-4.3,5.9c-1.4,0-2.5-0.5-3.2-1.5s-1.1-2.5-1.1-4.4v-3.4
50
+ c0-2,0.4-3.4,1.1-4.4c0.7-1,1.8-1.5,3.2-1.5c2.8,0,4.3,2,4.3,5.9V181.2z M169.7,177.8c0-1.9-0.3-3.7-0.8-5.2s-1.3-2.8-2.3-3.9
51
+ c-1-1.1-2.3-1.9-3.8-2.5s-3.2-0.9-5.2-0.9s-3.7,0.3-5.2,0.9c-1.5,0.6-2.8,1.4-3.8,2.5s-1.8,2.4-2.3,3.9s-0.8,3.3-0.8,5.2v3.4
52
+ c0,1.9,0.3,3.7,0.8,5.2s1.3,2.8,2.3,3.9s2.3,1.9,3.8,2.5s3.2,0.9,5.2,0.9s3.7-0.3,5.2-0.9s2.8-1.4,3.8-2.5s1.8-2.4,2.3-3.9
53
+ s0.8-3.3,0.8-5.2V177.8z M143,191.9v-4.3c0-0.3-0.1-0.5-0.3-0.6s-0.4-0.2-0.7-0.2h-0.1c-0.9,0.1-1.8,0.2-2.6,0.2
54
+ c-0.8,0.1-1.9,0.1-3.3,0.1c-0.5,0-1.1-0.1-1.5-0.3c-0.5-0.2-0.9-0.5-1.3-0.9c-0.4-0.4-0.6-1-0.8-1.7s-0.3-1.6-0.3-2.7v-4
55
+ c0-1.1,0.1-2,0.3-2.7s0.5-1.3,0.8-1.7c0.4-0.4,0.8-0.7,1.3-0.9s1-0.3,1.5-0.3c1.4,0,2.5,0,3.3,0.1s1.7,0.1,2.6,0.2h0.1
56
+ c0.3,0,0.5-0.1,0.7-0.2c0.2-0.1,0.3-0.3,0.3-0.6v-4.3c0-0.4-0.1-0.6-0.2-0.7c-0.2-0.1-0.4-0.3-0.8-0.4c-0.7-0.2-1.5-0.3-2.6-0.5
57
+ s-2.3-0.2-3.8-0.2c-3.4,0-6.1,1-8.2,3.1c-2,2.1-3.1,5.1-3.1,9.1v4c0,3.9,1,7,3.1,9.1c2,2.1,4.8,3.1,8.2,3.1c1.4,0,2.7-0.1,3.8-0.2
58
+ c1.1-0.2,1.9-0.3,2.6-0.5c0.4-0.1,0.6-0.2,0.8-0.4C142.9,192.5,143,192.2,143,191.9 M119.3,192.3v-16c0-1.5-0.1-2.9-0.4-4.3
59
+ c-0.2-1.3-0.7-2.5-1.3-3.5s-1.5-1.8-2.6-2.3c-1.1-0.6-2.5-0.9-4.3-0.9c-1.5,0-2.9,0.2-4.1,0.6c-1.2,0.4-2.4,1-3.8,2v-1.2
60
+ c0-0.3-0.1-0.5-0.3-0.7s-0.4-0.3-0.7-0.3h-5.4c-0.3,0-0.5,0.1-0.7,0.3s-0.3,0.4-0.3,0.7v25.6c0,0.3,0.1,0.5,0.3,0.7s0.4,0.3,0.7,0.3
61
+ h5.8c0.3,0,0.5-0.1,0.7-0.3c0.2-0.2,0.3-0.4,0.3-0.7v-18.9c0.8-0.4,1.6-0.8,2.4-1.1c0.7-0.3,1.5-0.4,2.2-0.4s1.3,0.1,1.8,0.2
62
+ c0.5,0.1,0.8,0.4,1.1,0.7c0.3,0.4,0.4,0.8,0.5,1.4c0.1,0.6,0.1,1.3,0.1,2.1v16c0,0.3,0.1,0.5,0.3,0.7s0.4,0.3,0.7,0.3h5.8
63
+ c0.3,0,0.5-0.1,0.7-0.3C119.2,192.8,119.3,192.5,119.3,192.3 M82.1,186.8c-0.6,0.3-1.2,0.5-1.9,0.7s-1.4,0.3-2.1,0.3
64
+ c-1,0-1.8-0.1-2.3-0.4s-0.7-0.9-0.7-2V185c0-0.6,0.1-1.1,0.2-1.5c0.1-0.4,0.4-0.8,0.7-1.1c0.3-0.3,0.8-0.5,1.3-0.6s1.2-0.2,2.1-0.2
65
+ h2.7V186.8z M89.8,175.1c0-1.8-0.3-3.3-0.8-4.5s-1.3-2.2-2.2-3c-1-0.8-2.1-1.4-3.5-1.7c-1.4-0.4-3-0.6-4.7-0.6
66
+ c-1.6,0-3.2,0.1-4.7,0.3s-2.7,0.4-3.6,0.7c-0.6,0.2-0.9,0.5-0.9,1.1v3.9c0,0.3,0.1,0.5,0.2,0.7c0.2,0.1,0.4,0.2,0.6,0.2h0.2
67
+ c0.4,0,0.9-0.1,1.4-0.1c0.6,0,1.2-0.1,2-0.1c0.7,0,1.5-0.1,2.3-0.1s1.6,0,2.3,0c1.1,0,2,0.2,2.6,0.6c0.6,0.4,1,1.3,1,2.7v1.7h-2.6
68
+ c-4.1,0-7.2,0.6-9,1.9c-1.9,1.3-2.8,3.4-2.8,6.2v0.4c0,1.6,0.2,2.9,0.7,3.9c0.5,1.1,1.1,1.9,1.9,2.6c0.8,0.6,1.6,1.1,2.6,1.4
69
+ s2,0.4,3.1,0.4c1.4,0,2.7-0.2,3.7-0.6s2-0.9,3-1.6v0.8c0,0.3,0.1,0.5,0.3,0.7s0.4,0.3,0.7,0.3H89c0.3,0,0.5-0.1,0.7-0.3
70
+ c0.2-0.2,0.3-0.4,0.3-0.7v-17.2H89.8z M55.4,182.7c0,1.3-0.5,2.4-1.4,3.1s-2.7,1.1-5.1,1.1h-0.8c-0.4,0-0.8,0-1.2,0
71
+ c-0.4,0-0.8,0-1.2,0h-0.8v-9h5.4c1.9,0,3.3,0.4,4,1.3c0.7,0.9,1.1,1.9,1.1,3V182.7z M55.2,168.4c0,0.5-0.1,1-0.2,1.5
72
+ c-0.2,0.5-0.4,0.9-0.8,1.2s-0.9,0.6-1.5,0.8s-1.4,0.3-2.4,0.3h-5.4v-8.3c0.2,0,0.4,0,0.7,0c0.3,0,0.7,0,1.1,0h1.1h0.8
73
+ c2.5,0,4.2,0.3,5.2,0.9c1,0.6,1.5,1.6,1.5,2.9L55.2,168.4L55.2,168.4z M63.4,182.2c0-1.7-0.4-3.1-1.2-4.3s-1.8-2.2-3.1-2.8
74
+ c1.3-0.6,2.3-1.6,3-2.8c0.7-1.3,1.1-2.7,1.1-4.2v-0.9c0-1.9-0.4-3.5-1.1-4.8c-0.7-1.3-1.8-2.3-3.1-3.1s-2.9-1.3-4.8-1.7
75
+ c-1.9-0.3-3.9-0.5-6.2-0.5c-0.8,0-1.6,0-2.4,0s-1.6,0.1-2.4,0.1s-1.5,0.1-2.2,0.2c-0.7,0.1-1.2,0.1-1.6,0.2c-0.9,0.2-1.6,0.4-2,0.9
76
+ c-0.4,0.4-0.6,1.2-0.6,2.3v29.3c0,1.1,0.2,1.8,0.6,2.3c0.4,0.4,1.1,0.7,2,0.9c0.5,0.1,1.1,0.2,1.7,0.2c0.7,0.1,1.4,0.1,2.2,0.2
77
+ s1.6,0.1,2.4,0.1s1.7,0,2.5,0c2.1,0,4.1-0.2,5.9-0.5c1.8-0.3,3.4-0.9,4.8-1.7c1.4-0.8,2.4-1.9,3.3-3.3c0.8-1.4,1.2-3.2,1.2-5.3
78
+ L63.4,182.2L63.4,182.2z"/>
79
+ <rect x="0" y="0" class="st3" width="326" height="230.5"/>
80
+ </svg>
assets/img/boleto.svg CHANGED
@@ -1,9 +1,9 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="7 3.5 50 25.2">
2
- <path d="M7.5 28.5H7V3.5h0.5V28.5zM10.9 3.5H8.4v25.1h2.6V3.5zM17 3.5h-2.7V16H17V3.5zM19.4 3.5h-1.1V16h1.1V3.5zM21.2 3.5h-0.8V16h0.8V3.5zM23.6 3.5h-0.7V16h0.7V3.5zM12.9 3.5h-1.2V16h1.2V3.5zM24.4 3.5H24V16h0.4V3.5zM25.5 3.5h-0.7V16h0.7V3.5zM29.2 3.5h-1.7V16h1.7V3.5zM30.5 3.5h-0.7V16h0.7V3.5zM35.1 3.5h-3.2V16h3.2V3.5zM37.5 3.5h-1.2V16h1.2V3.5zM39.6 3.5h-1V16h1V3.5zM41.7 3.5h-0.4V16h0.4V3.5zM50.8 16H52V3.5h-1.3V16zM44.1 3.5h-0.9V16h0.9V3.5zM47.5 3.5h-1.7V16h1.7V3.5zM49.3 3.5h-1.1V16h1.1V3.5zM53.4 3.5h-0.5v25.1h0.5V3.5zM57 3.5h-2.5v25.1H57V3.5z"></path>
3
- <path d="M17.3 18c0.4 0.2 0.7 0.5 0.9 1 0.2 0.4 0.3 0.9 0.3 1.5 0 0.6-0.1 1.1-0.3 1.5 -0.2 0.4-0.5 0.7-0.8 0.9 0.4 0.1 0.8 0.5 1 0.9 0.2 0.5 0.4 1.1 0.4 1.8 0 0.6-0.1 1.1-0.3 1.6 -0.2 0.5-0.5 0.8-0.9 1.1 -0.4 0.2-0.8 0.4-1.4 0.4h-3.3V17.6H16C16.5 17.6 17 17.7 17.3 18zM16.5 21.7c0.1-0.2 0.2-0.5 0.2-0.8 0-0.3-0.1-0.6-0.2-0.8 -0.1-0.2-0.3-0.3-0.6-0.3h-1.3V22H16C16.2 22 16.4 21.9 16.5 21.7zM16.7 26c0.2-0.2 0.3-0.5 0.3-0.9 0-0.3-0.1-0.6-0.3-0.8C16.5 24.1 16.3 24 16 24h-1.3v2.3H16C16.3 26.3 16.5 26.2 16.7 26z"></path>
4
- <path d="M24.6 18.3c0.5 0.5 0.9 1.1 1.2 1.9 0.3 0.8 0.5 1.7 0.5 2.8 0 1-0.2 2-0.5 2.8 -0.3 0.8-0.7 1.5-1.2 2 -0.5 0.5-1.1 0.7-1.8 0.7 -0.7 0-1.2-0.2-1.8-0.7 -0.5-0.5-0.9-1.1-1.2-2 -0.3-0.8-0.5-1.8-0.5-2.8 0-1 0.2-1.9 0.5-2.8 0.3-0.8 0.7-1.5 1.2-1.9 0.5-0.5 1.1-0.7 1.8-0.7C23.5 17.6 24.1 17.9 24.6 18.3zM22 20.4c-0.3 0.3-0.5 0.6-0.6 1.1 -0.2 0.5-0.2 1-0.2 1.6 0 0.6 0.1 1.1 0.2 1.6 0.2 0.5 0.4 0.9 0.6 1.1 0.3 0.3 0.6 0.4 0.9 0.4 0.3 0 0.6-0.1 0.9-0.4 0.3-0.3 0.5-0.7 0.6-1.1 0.2-0.5 0.2-1 0.2-1.6 0-0.6-0.1-1.1-0.2-1.6 -0.2-0.5-0.4-0.9-0.6-1.1 -0.3-0.3-0.6-0.4-0.9-0.4C22.5 20 22.2 20.1 22 20.4z"></path>
5
- <path d="M27.3 17.6H29v8.5h2.8v2.4h-4.5V17.6z"></path>
6
- <path d="M32.6 17.6h5.2v2.3h-3.5v2h3.2v2.3l-3.2 0v2.1h3.6v2.3h-5.3V17.6z"></path>
7
- <path d="M38.4 17.6h5.7V20h-2v8.6h-1.7V20h-2V17.6z"></path>
8
- <path d="M49.4 18.3c0.5 0.5 0.9 1.1 1.2 1.9 0.3 0.8 0.5 1.7 0.5 2.8 0 1-0.2 2-0.5 2.8 -0.3 0.8-0.7 1.5-1.2 2 -0.5 0.5-1.1 0.7-1.8 0.7 -0.7 0-1.2-0.2-1.8-0.7 -0.5-0.5-0.9-1.1-1.2-2 -0.3-0.8-0.5-1.8-0.5-2.8 0-1 0.2-1.9 0.5-2.8 0.3-0.8 0.7-1.5 1.2-1.9 0.5-0.5 1.1-0.7 1.8-0.7C48.3 17.6 48.9 17.9 49.4 18.3zM46.8 20.4c-0.3 0.3-0.5 0.6-0.6 1.1 -0.2 0.5-0.2 1-0.2 1.6 0 0.6 0.1 1.1 0.2 1.6 0.2 0.5 0.4 0.9 0.6 1.1 0.3 0.3 0.6 0.4 0.9 0.4 0.3 0 0.6-0.1 0.9-0.4 0.3-0.3 0.5-0.7 0.6-1.1 0.2-0.5 0.2-1 0.2-1.6 0-0.6-0.1-1.1-0.2-1.6 -0.2-0.5-0.4-0.9-0.6-1.1C48.3 20.1 48 20 47.7 20 47.3 20 47 20.1 46.8 20.4z"></path>
9
  </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="7 3.5 50 25.2">
2
+ <path d="M7.5 28.5H7V3.5h0.5V28.5zM10.9 3.5H8.4v25.1h2.6V3.5zM17 3.5h-2.7V16H17V3.5zM19.4 3.5h-1.1V16h1.1V3.5zM21.2 3.5h-0.8V16h0.8V3.5zM23.6 3.5h-0.7V16h0.7V3.5zM12.9 3.5h-1.2V16h1.2V3.5zM24.4 3.5H24V16h0.4V3.5zM25.5 3.5h-0.7V16h0.7V3.5zM29.2 3.5h-1.7V16h1.7V3.5zM30.5 3.5h-0.7V16h0.7V3.5zM35.1 3.5h-3.2V16h3.2V3.5zM37.5 3.5h-1.2V16h1.2V3.5zM39.6 3.5h-1V16h1V3.5zM41.7 3.5h-0.4V16h0.4V3.5zM50.8 16H52V3.5h-1.3V16zM44.1 3.5h-0.9V16h0.9V3.5zM47.5 3.5h-1.7V16h1.7V3.5zM49.3 3.5h-1.1V16h1.1V3.5zM53.4 3.5h-0.5v25.1h0.5V3.5zM57 3.5h-2.5v25.1H57V3.5z"></path>
3
+ <path d="M17.3 18c0.4 0.2 0.7 0.5 0.9 1 0.2 0.4 0.3 0.9 0.3 1.5 0 0.6-0.1 1.1-0.3 1.5 -0.2 0.4-0.5 0.7-0.8 0.9 0.4 0.1 0.8 0.5 1 0.9 0.2 0.5 0.4 1.1 0.4 1.8 0 0.6-0.1 1.1-0.3 1.6 -0.2 0.5-0.5 0.8-0.9 1.1 -0.4 0.2-0.8 0.4-1.4 0.4h-3.3V17.6H16C16.5 17.6 17 17.7 17.3 18zM16.5 21.7c0.1-0.2 0.2-0.5 0.2-0.8 0-0.3-0.1-0.6-0.2-0.8 -0.1-0.2-0.3-0.3-0.6-0.3h-1.3V22H16C16.2 22 16.4 21.9 16.5 21.7zM16.7 26c0.2-0.2 0.3-0.5 0.3-0.9 0-0.3-0.1-0.6-0.3-0.8C16.5 24.1 16.3 24 16 24h-1.3v2.3H16C16.3 26.3 16.5 26.2 16.7 26z"></path>
4
+ <path d="M24.6 18.3c0.5 0.5 0.9 1.1 1.2 1.9 0.3 0.8 0.5 1.7 0.5 2.8 0 1-0.2 2-0.5 2.8 -0.3 0.8-0.7 1.5-1.2 2 -0.5 0.5-1.1 0.7-1.8 0.7 -0.7 0-1.2-0.2-1.8-0.7 -0.5-0.5-0.9-1.1-1.2-2 -0.3-0.8-0.5-1.8-0.5-2.8 0-1 0.2-1.9 0.5-2.8 0.3-0.8 0.7-1.5 1.2-1.9 0.5-0.5 1.1-0.7 1.8-0.7C23.5 17.6 24.1 17.9 24.6 18.3zM22 20.4c-0.3 0.3-0.5 0.6-0.6 1.1 -0.2 0.5-0.2 1-0.2 1.6 0 0.6 0.1 1.1 0.2 1.6 0.2 0.5 0.4 0.9 0.6 1.1 0.3 0.3 0.6 0.4 0.9 0.4 0.3 0 0.6-0.1 0.9-0.4 0.3-0.3 0.5-0.7 0.6-1.1 0.2-0.5 0.2-1 0.2-1.6 0-0.6-0.1-1.1-0.2-1.6 -0.2-0.5-0.4-0.9-0.6-1.1 -0.3-0.3-0.6-0.4-0.9-0.4C22.5 20 22.2 20.1 22 20.4z"></path>
5
+ <path d="M27.3 17.6H29v8.5h2.8v2.4h-4.5V17.6z"></path>
6
+ <path d="M32.6 17.6h5.2v2.3h-3.5v2h3.2v2.3l-3.2 0v2.1h3.6v2.3h-5.3V17.6z"></path>
7
+ <path d="M38.4 17.6h5.7V20h-2v8.6h-1.7V20h-2V17.6z"></path>
8
+ <path d="M49.4 18.3c0.5 0.5 0.9 1.1 1.2 1.9 0.3 0.8 0.5 1.7 0.5 2.8 0 1-0.2 2-0.5 2.8 -0.3 0.8-0.7 1.5-1.2 2 -0.5 0.5-1.1 0.7-1.8 0.7 -0.7 0-1.2-0.2-1.8-0.7 -0.5-0.5-0.9-1.1-1.2-2 -0.3-0.8-0.5-1.8-0.5-2.8 0-1 0.2-1.9 0.5-2.8 0.3-0.8 0.7-1.5 1.2-1.9 0.5-0.5 1.1-0.7 1.8-0.7C48.3 17.6 48.9 17.9 49.4 18.3zM46.8 20.4c-0.3 0.3-0.5 0.6-0.6 1.1 -0.2 0.5-0.2 1-0.2 1.6 0 0.6 0.1 1.1 0.2 1.6 0.2 0.5 0.4 0.9 0.6 1.1 0.3 0.3 0.6 0.4 0.9 0.4 0.3 0 0.6-0.1 0.9-0.4 0.3-0.3 0.5-0.7 0.6-1.1 0.2-0.5 0.2-1 0.2-1.6 0-0.6-0.1-1.1-0.2-1.6 -0.2-0.5-0.4-0.9-0.6-1.1C48.3 20.1 48 20 47.7 20 47.3 20 47 20.1 46.8 20.4z"></path>
9
  </svg>
assets/img/card_brand.svg CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 21">
3
- <g fill="#fff" fill-rule="evenodd">
4
- <g id="unknown" class="Icon-fill">
5
- <path id="shape"
6
- d="M26.58 21H2.42A2.4 2.4 0 0 1 0 18.62V4.38A2.4 2.4 0 0 1 2.42 2h24.16A2.4 2.4 0 0 1 29 4.38v14.25A2.4 2.4 0 0 1 26.58 21zM10 7.83c0-.46-.35-.83-.78-.83H3.78c-.43 0-.78.37-.78.83v3.34c0 .46.35.83.78.83h5.44c.43 0 .78-.37.78-.83V7.83zM25 17c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1H4c-.65 0-1 .3-1 1s.35 1 1 1h3z"></path>
7
- </g>
8
- </g>
9
  </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 21">
3
+ <g fill="#fff" fill-rule="evenodd">
4
+ <g id="unknown" class="Icon-fill">
5
+ <path id="shape"
6
+ d="M26.58 21H2.42A2.4 2.4 0 0 1 0 18.62V4.38A2.4 2.4 0 0 1 2.42 2h24.16A2.4 2.4 0 0 1 29 4.38v14.25A2.4 2.4 0 0 1 26.58 21zM10 7.83c0-.46-.35-.83-.78-.83H3.78c-.43 0-.78.37-.78.83v3.34c0 .46.35.83.78.83h5.44c.43 0 .78-.37.78-.83V7.83zM25 17c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1H4c-.65 0-1 .3-1 1s.35 1 1 1h3z"></path>
7
+ </g>
8
+ </g>
9
  </svg>
assets/img/card_brand2.svg CHANGED
@@ -1,8 +1,8 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 21">
3
- <g fill="#cccccc" fill-rule="evenodd">
4
- <g id="unknown" class="Icon-fill">
5
- <path id="shape" d="M26.58 21H2.42A2.4 2.4 0 0 1 0 18.62V4.38A2.4 2.4 0 0 1 2.42 2h24.16A2.4 2.4 0 0 1 29 4.38v14.25A2.4 2.4 0 0 1 26.58 21zM10 7.83c0-.46-.35-.83-.78-.83H3.78c-.43 0-.78.37-.78.83v3.34c0 .46.35.83.78.83h5.44c.43 0 .78-.37.78-.83V7.83zM25 17c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1H4c-.65 0-1 .3-1 1s.35 1 1 1h3z"></path>
6
- </g>
7
- </g>
8
  </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 21">
3
+ <g fill="#cccccc" fill-rule="evenodd">
4
+ <g id="unknown" class="Icon-fill">
5
+ <path id="shape" d="M26.58 21H2.42A2.4 2.4 0 0 1 0 18.62V4.38A2.4 2.4 0 0 1 2.42 2h24.16A2.4 2.4 0 0 1 29 4.38v14.25A2.4 2.4 0 0 1 26.58 21zM10 7.83c0-.46-.35-.83-.78-.83H3.78c-.43 0-.78.37-.78.83v3.34c0 .46.35.83.78.83h5.44c.43 0 .78-.37.78-.83V7.83zM25 17c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1h-3c-.65 0-1 .3-1 1s.35 1 1 1h3zm-6 0c.65 0 1-.3 1-1s-.35-1-1-1H4c-.65 0-1 .3-1 1s.35 1 1 1h3z"></path>
6
+ </g>
7
+ </g>
8
  </svg>
assets/img/cards/amex.svg CHANGED
@@ -1,7 +1,7 @@
1
- <svg height="471" width="752" viewBox="0 0 752 471" xmlns="http://www.w3.org/2000/svg">
2
- <g fill="none" fill-rule="evenodd">
3
- <rect fill="#2557d6" height="471" rx="40" width="750" x="1"/>
4
- <path d="M1.003 221.185h36.024l8.123-19.51h18.185l8.101 19.51h70.88V206.27l6.327 14.98h36.796l6.327-15.202v15.138h176.151l-.082-32.026h3.408c2.386.083 3.083.302 3.083 4.226v27.8h91.106v-7.455c7.349 3.92 18.779 7.455 33.819 7.455h38.328l8.203-19.51h18.185l8.021 19.51h73.86v-18.532l11.186 18.532h59.187V98.678h-58.576v14.468l-8.202-14.468h-60.105v14.468l-7.532-14.468h-81.188c-13.59 0-25.536 1.889-35.186 7.153v-7.153h-56.026v7.153c-6.14-5.426-14.508-7.153-23.812-7.153H180.908l-13.734 31.641-14.104-31.641H88.6v14.468l-7.083-14.468H26.534L1 156.924v64.261zm227.396-17.67h-21.614l-.08-68.794-30.573 68.793H157.62l-30.652-68.854v68.854H84.084l-8.101-19.592h-43.9L23.9 203.514H1l37.756-87.837h31.326l35.859 83.164v-83.164h34.412l27.593 59.587 25.347-59.587h35.104v87.837h.003zM68.777 165.692l-14.43-35.017-14.35 35.017zm245.642 37.821h-70.433v-87.837h70.433v18.291h-49.348V149.8h48.165v18.005H265.07v17.542h49.348v18.166zm99.256-64.18c0 14.004-9.386 21.24-14.856 23.412 4.613 1.748 8.553 4.838 10.43 7.397 2.976 4.369 3.49 8.271 3.49 16.116v17.255h-21.266l-.08-11.077c0-5.285.508-12.886-3.328-17.112-3.081-3.09-7.777-3.76-15.368-3.76h-22.633v31.95H328.98v-87.838h48.495c10.775 0 18.714.283 25.53 4.207 6.67 3.924 10.67 9.652 10.67 19.45zm-26.652 13.042c-2.898 1.752-6.324 1.81-10.43 1.81H350.98v-19.51h25.962c3.674 0 7.508.164 9.998 1.584 2.735 1.28 4.427 4.003 4.427 7.765 0 3.84-1.61 6.929-4.344 8.351zm60.466 51.138h-21.513v-87.837h21.513zm249.74 0H667.35l-39.964-65.927v65.927h-42.94l-8.204-19.592h-43.799l-7.96 19.592H499.81c-10.248 0-23.224-2.257-30.572-9.715-7.41-7.458-11.265-17.56-11.265-33.533 0-13.027 2.304-24.936 11.366-34.347 6.816-7.01 17.49-10.242 32.02-10.242h20.412v18.821h-19.984c-7.694 0-12.039 1.14-16.224 5.203-3.594 3.699-6.06 10.69-6.06 19.897 0 9.41 1.878 16.196 5.797 20.628 3.245 3.476 9.144 4.53 14.694 4.53h9.469l29.716-69.076h31.592l35.696 83.081v-83.08h32.103l37.062 61.174V115.68h21.596v87.834zm-128.159-37.82l-14.591-35.017-14.51 35.017h29.1zm181.885 178.074c-5.121 7.458-15.101 11.239-28.611 11.239h-40.718v-18.84h40.553c4.022 0 6.837-.527 8.532-2.175a7.71 7.71 0 0 0 2.493-5.73c0-2.56-1.024-4.592-2.575-5.81-1.53-1.341-3.757-1.95-7.429-1.95-19.797-.67-44.495.609-44.495-27.194 0-12.743 8.125-26.157 30.25-26.157h41.998v-17.48h-39.02c-11.776 0-20.33 2.808-26.388 7.174v-7.175H627.83c-9.23 0-20.063 2.279-25.187 7.175v-7.175H499.578v7.175c-8.203-5.892-22.043-7.175-28.431-7.175h-67.983v7.175c-6.49-6.258-20.92-7.175-29.716-7.175h-76.085l-17.41 18.763-16.307-18.763H149.99v122.592h111.516l17.94-19.06 16.9 19.06 68.739.061v-28.838h6.757c9.12.14 19.878-.226 29.368-4.31v33.085h56.697v-31.952h2.735c3.49 0 3.834.143 3.834 3.616v28.333H636.71c10.935 0 22.365-2.787 28.695-7.845v7.845h54.632c11.369 0 22.471-1.587 30.918-5.651zm-341.503-47.154c0 24.406-18.286 29.445-36.716 29.445H346.43v29.469h-40.98l-25.962-29.085-26.981 29.085H168.99v-87.859h84.8l25.941 28.799 26.819-28.799h67.371c16.732 0 35.532 4.613 35.532 28.945zm-167.625 40.434h-51.839v-17.481h46.289V301.64h-46.289v-15.973h52.86l23.062 25.604zm83.526 10.06l-32.37-35.788 32.37-34.651zm47.873-39.066H345.98v-22.374h27.492c7.612 0 12.896 3.09 12.896 10.773 0 7.598-5.04 11.601-13.14 11.601zm142.744-40.373h70.369v18.17h-49.372v15.973h48.167v17.925h-48.167v17.481l49.372.08v18.23h-70.37v-87.859zm-27.054 47.03c4.693 1.724 8.53 4.816 10.329 7.375 2.977 4.29 3.408 8.293 3.493 16.037v17.417H481.57v-10.992c0-5.286.511-13.112-3.408-17.198-3.08-3.147-7.777-3.9-15.468-3.9h-22.533v32.09h-21.186v-87.859h48.678c10.674 0 18.448.47 25.369 4.146 6.654 4.004 10.839 9.488 10.839 19.51-.003 14.024-9.395 21.18-14.945 23.373zM477 303.59c-2.82 1.667-6.308 1.81-10.41 1.81h-25.614v-19.733h25.962c3.754 0 7.51.08 10.062 1.587 2.732 1.423 4.366 4.144 4.366 7.903 0 3.76-1.634 6.788-4.366 8.433zm190.336 5.597c4.106 4.23 6.306 9.572 6.306 18.614 0 18.9-11.858 27.723-33.122 27.723h-41.065v-18.84h40.9c4 0 6.836-.527 8.613-2.175 1.45-1.359 2.49-3.333 2.49-5.73 0-2.56-1.125-4.592-2.573-5.81-1.612-1.34-3.836-1.95-7.508-1.95-19.717-.67-44.41.61-44.41-27.193 0-12.744 8.04-26.158 30.144-26.158h42.269v18.7h-38.677c-3.834 0-6.327.143-8.447 1.587-2.31 1.422-3.166 3.534-3.166 6.32 0 3.315 1.96 5.57 4.613 6.545 2.224.77 4.613.996 8.205.996l11.35.305c11.446.278 19.303 2.249 24.078 7.066zM751 285.667h-38.427c-3.836 0-6.385.143-8.532 1.587-2.224 1.423-3.081 3.534-3.081 6.322 0 3.314 1.878 5.569 4.61 6.544 2.225.77 4.614.996 8.126.996l11.427.304c11.531.284 19.228 2.258 23.921 7.072.855.67 1.368 1.422 1.956 2.175z"
5
- fill="#fff"/>
6
- </g>
7
  </svg>
1
+ <svg height="471" width="752" viewBox="0 0 752 471" xmlns="http://www.w3.org/2000/svg">
2
+ <g fill="none" fill-rule="evenodd">
3
+ <rect fill="#2557d6" height="471" rx="40" width="750" x="1"/>
4
+ <path d="M1.003 221.185h36.024l8.123-19.51h18.185l8.101 19.51h70.88V206.27l6.327 14.98h36.796l6.327-15.202v15.138h176.151l-.082-32.026h3.408c2.386.083 3.083.302 3.083 4.226v27.8h91.106v-7.455c7.349 3.92 18.779 7.455 33.819 7.455h38.328l8.203-19.51h18.185l8.021 19.51h73.86v-18.532l11.186 18.532h59.187V98.678h-58.576v14.468l-8.202-14.468h-60.105v14.468l-7.532-14.468h-81.188c-13.59 0-25.536 1.889-35.186 7.153v-7.153h-56.026v7.153c-6.14-5.426-14.508-7.153-23.812-7.153H180.908l-13.734 31.641-14.104-31.641H88.6v14.468l-7.083-14.468H26.534L1 156.924v64.261zm227.396-17.67h-21.614l-.08-68.794-30.573 68.793H157.62l-30.652-68.854v68.854H84.084l-8.101-19.592h-43.9L23.9 203.514H1l37.756-87.837h31.326l35.859 83.164v-83.164h34.412l27.593 59.587 25.347-59.587h35.104v87.837h.003zM68.777 165.692l-14.43-35.017-14.35 35.017zm245.642 37.821h-70.433v-87.837h70.433v18.291h-49.348V149.8h48.165v18.005H265.07v17.542h49.348v18.166zm99.256-64.18c0 14.004-9.386 21.24-14.856 23.412 4.613 1.748 8.553 4.838 10.43 7.397 2.976 4.369 3.49 8.271 3.49 16.116v17.255h-21.266l-.08-11.077c0-5.285.508-12.886-3.328-17.112-3.081-3.09-7.777-3.76-15.368-3.76h-22.633v31.95H328.98v-87.838h48.495c10.775 0 18.714.283 25.53 4.207 6.67 3.924 10.67 9.652 10.67 19.45zm-26.652 13.042c-2.898 1.752-6.324 1.81-10.43 1.81H350.98v-19.51h25.962c3.674 0 7.508.164 9.998 1.584 2.735 1.28 4.427 4.003 4.427 7.765 0 3.84-1.61 6.929-4.344 8.351zm60.466 51.138h-21.513v-87.837h21.513zm249.74 0H667.35l-39.964-65.927v65.927h-42.94l-8.204-19.592h-43.799l-7.96 19.592H499.81c-10.248 0-23.224-2.257-30.572-9.715-7.41-7.458-11.265-17.56-11.265-33.533 0-13.027 2.304-24.936 11.366-34.347 6.816-7.01 17.49-10.242 32.02-10.242h20.412v18.821h-19.984c-7.694 0-12.039 1.14-16.224 5.203-3.594 3.699-6.06 10.69-6.06 19.897 0 9.41 1.878 16.196 5.797 20.628 3.245 3.476 9.144 4.53 14.694 4.53h9.469l29.716-69.076h31.592l35.696 83.081v-83.08h32.103l37.062 61.174V115.68h21.596v87.834zm-128.159-37.82l-14.591-35.017-14.51 35.017h29.1zm181.885 178.074c-5.121 7.458-15.101 11.239-28.611 11.239h-40.718v-18.84h40.553c4.022 0 6.837-.527 8.532-2.175a7.71 7.71 0 0 0 2.493-5.73c0-2.56-1.024-4.592-2.575-5.81-1.53-1.341-3.757-1.95-7.429-1.95-19.797-.67-44.495.609-44.495-27.194 0-12.743 8.125-26.157 30.25-26.157h41.998v-17.48h-39.02c-11.776 0-20.33 2.808-26.388 7.174v-7.175H627.83c-9.23 0-20.063 2.279-25.187 7.175v-7.175H499.578v7.175c-8.203-5.892-22.043-7.175-28.431-7.175h-67.983v7.175c-6.49-6.258-20.92-7.175-29.716-7.175h-76.085l-17.41 18.763-16.307-18.763H149.99v122.592h111.516l17.94-19.06 16.9 19.06 68.739.061v-28.838h6.757c9.12.14 19.878-.226 29.368-4.31v33.085h56.697v-31.952h2.735c3.49 0 3.834.143 3.834 3.616v28.333H636.71c10.935 0 22.365-2.787 28.695-7.845v7.845h54.632c11.369 0 22.471-1.587 30.918-5.651zm-341.503-47.154c0 24.406-18.286 29.445-36.716 29.445H346.43v29.469h-40.98l-25.962-29.085-26.981 29.085H168.99v-87.859h84.8l25.941 28.799 26.819-28.799h67.371c16.732 0 35.532 4.613 35.532 28.945zm-167.625 40.434h-51.839v-17.481h46.289V301.64h-46.289v-15.973h52.86l23.062 25.604zm83.526 10.06l-32.37-35.788 32.37-34.651zm47.873-39.066H345.98v-22.374h27.492c7.612 0 12.896 3.09 12.896 10.773 0 7.598-5.04 11.601-13.14 11.601zm142.744-40.373h70.369v18.17h-49.372v15.973h48.167v17.925h-48.167v17.481l49.372.08v18.23h-70.37v-87.859zm-27.054 47.03c4.693 1.724 8.53 4.816 10.329 7.375 2.977 4.29 3.408 8.293 3.493 16.037v17.417H481.57v-10.992c0-5.286.511-13.112-3.408-17.198-3.08-3.147-7.777-3.9-15.468-3.9h-22.533v32.09h-21.186v-87.859h48.678c10.674 0 18.448.47 25.369 4.146 6.654 4.004 10.839 9.488 10.839 19.51-.003 14.024-9.395 21.18-14.945 23.373zM477 303.59c-2.82 1.667-6.308 1.81-10.41 1.81h-25.614v-19.733h25.962c3.754 0 7.51.08 10.062 1.587 2.732 1.423 4.366 4.144 4.366 7.903 0 3.76-1.634 6.788-4.366 8.433zm190.336 5.597c4.106 4.23 6.306 9.572 6.306 18.614 0 18.9-11.858 27.723-33.122 27.723h-41.065v-18.84h40.9c4 0 6.836-.527 8.613-2.175 1.45-1.359 2.49-3.333 2.49-5.73 0-2.56-1.125-4.592-2.573-5.81-1.612-1.34-3.836-1.95-7.508-1.95-19.717-.67-44.41.61-44.41-27.193 0-12.744 8.04-26.158 30.144-26.158h42.269v18.7h-38.677c-3.834 0-6.327.143-8.447 1.587-2.31 1.422-3.166 3.534-3.166 6.32 0 3.315 1.96 5.57 4.613 6.545 2.224.77 4.613.996 8.205.996l11.35.305c11.446.278 19.303 2.249 24.078 7.066zM751 285.667h-38.427c-3.836 0-6.385.143-8.532 1.587-2.224 1.423-3.081 3.534-3.081 6.322 0 3.314 1.878 5.569 4.61 6.544 2.225.77 4.614.996 8.126.996l11.427.304c11.531.284 19.228 2.258 23.921 7.072.855.67 1.368 1.422 1.956 2.175z"
5
+ fill="#fff"/>
6
+ </g>
7
  </svg>
assets/img/cards/china_union_pay.svg CHANGED
@@ -1,13 +1,13 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg id="icon-unionpay" width="40" height="24" viewBox="0 0 40 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4
- <title>Union Pay</title>
5
- <path d="M9.877 2h8.126c1.135 0 1.84.93 1.575 2.077l-3.783 16.35c-.267 1.142-1.403 2.073-2.538 2.073H5.13c-1.134 0-1.84-.93-1.574-2.073L7.34 4.076C7.607 2.93 8.74 2 9.878 2z" style="fill: #E21836" />
6
- <path d="M17.325 2h9.345c1.134 0 .623.93.356 2.077l-3.783 16.35c-.265 1.142-.182 2.073-1.32 2.073H12.58c-1.137 0-1.84-.93-1.574-2.073l3.783-16.35C15.056 2.93 16.19 2 17.324 2z" style="fill: #00447B" />
7
- <path d="M26.3 2h8.126c1.136 0 1.84.93 1.575 2.077l-3.782 16.35c-.266 1.142-1.402 2.073-2.54 2.073h-8.122c-1.137 0-1.842-.93-1.574-2.073l3.78-16.35C24.03 2.93 25.166 2 26.303 2z" style="fill: #007B84" />
8
- <path d="M27.633 14.072l-.99 3.3h.266l-.208.68h-.266l-.062.212h-.942l.064-.21H23.58l.193-.632h.194l1.005-3.35.2-.676h.962l-.1.34s.255-.184.498-.248c.242-.064 1.636-.088 1.636-.088l-.206.672h-.33zm-1.695 0l-.254.843s.285-.13.44-.172c.16-.04.395-.057.395-.057l.182-.614h-.764zm-.38 1.262l-.263.877s.29-.15.447-.196c.157-.037.396-.066.396-.066l.185-.614h-.766zm-.614 2.046h.767l.222-.74h-.765l-.223.74z" style="fill: #FEFEFE" />
9
- <path d="M28.055 13.4h1.027l.01.385c-.005.065.05.096.17.096h.208l-.19.637h-.555c-.48.035-.662-.172-.65-.406l-.02-.71zM28.193 16.415h-.978l.167-.566H28.5l.16-.517h-1.104l.19-.638h3.072l-.193.638h-1.03l-.16.516h1.032l-.17.565H29.18l-.2.24h.454l.11.712c.013.07.014.116.036.147.023.026.158.038.238.038h.137l-.21.694h-.348c-.054 0-.133-.004-.243-.01-.105-.008-.18-.07-.25-.105-.064-.03-.16-.11-.182-.24l-.11-.712-.507.7c-.162.222-.38.39-.748.39h-.712l.186-.62h.273c.078 0 .15-.03.2-.056.052-.023.098-.05.15-.126l.74-1.05zM17.478 14.867h2.59l-.19.622H18.84l-.16.53h1.06l-.194.64h-1.06l-.256.863c-.03.095.25.108.353.108l.53-.072-.212.71h-1.193c-.096 0-.168-.013-.272-.037-.1-.023-.145-.07-.19-.138-.043-.07-.11-.128-.064-.278l.343-1.143h-.588l.195-.65h.592l.156-.53h-.588l.188-.623zM19.223 13.75h1.063l-.194.65H18.64l-.157.136c-.067.066-.09.038-.18.087-.08.04-.254.123-.477.123h-.466l.19-.625h.14c.118 0 .198-.01.238-.036.046-.03.098-.096.157-.203l.267-.487h1.057l-.187.356zM20.74 13.4h.905l-.132.46s.286-.23.487-.313c.2-.075.65-.143.65-.143l1.464-.007-.498 1.672c-.085.286-.183.472-.244.555-.055.087-.12.16-.248.23-.124.066-.236.104-.34.115-.096.007-.244.01-.45.012h-1.41l-.4 1.324c-.037.13-.055.194-.03.23.02.03.068.066.135.066l.62-.06-.21.726h-.698c-.22 0-.383-.004-.495-.013-.108-.01-.22 0-.295-.058-.065-.058-.164-.133-.162-.21.007-.073.037-.192.082-.356l1.268-4.23zm1.922 1.69h-1.484l-.09.3h1.283c.152-.018.184.004.196-.003l.096-.297zm-1.402-.272s.29-.266.786-.353c.112-.022.82-.015.82-.015l.106-.357h-1.496l-.216.725z" style="fill: #FEFEFE" />
10
- <path d="M23.382 16.1l-.084.402c-.036.125-.067.22-.16.302-.1.084-.216.172-.488.172l-.502.02-.004.455c-.006.13.028.117.048.138.024.022.045.032.067.04l.157-.008.48-.028-.198.663h-.552c-.385 0-.67-.008-.765-.084-.092-.057-.105-.132-.103-.26l.035-1.77h.88l-.013.362h.212c.072 0 .12-.007.15-.026.027-.02.047-.048.06-.093l.087-.282h.692zM10.84 7.222c-.032.143-.596 2.763-.598 2.764-.12.53-.21.91-.508 1.152-.172.14-.37.21-.6.21-.37 0-.587-.185-.624-.537l-.007-.12.113-.712s.593-2.388.7-2.703c.002-.017.005-.026.007-.035-1.152.01-1.357 0-1.37-.018-.007.024-.037.173-.037.173l-.605 2.688-.05.23-.1.746c0 .22.042.4.13.553.275.485 1.06.557 1.504.557.573 0 1.11-.123 1.47-.345.63-.375.797-.962.944-1.48l.067-.267s.61-2.48.716-2.803c.003-.017.006-.026.01-.035-.835.01-1.08 0-1.16-.018zM14.21 12.144c-.407-.006-.55-.006-1.03.018l-.018-.036c.042-.182.087-.363.127-.548l.06-.25c.086-.39.173-.843.184-.98.007-.084.036-.29-.2-.29-.1 0-.203.048-.307.096-.058.207-.174.79-.23 1.055-.118.558-.126.62-.178.897l-.036.037c-.42-.006-.566-.006-1.05.018l-.024-.04c.08-.332.162-.668.24-.998.203-.9.25-1.245.307-1.702l.04-.028c.47-.067.585-.08 1.097-.185l.043.047-.077.287c.086-.052.168-.104.257-.15.242-.12.51-.155.658-.155.223 0 .468.062.57.323.098.232.034.52-.094 1.084l-.066.287c-.13.627-.152.743-.225 1.174l-.05.036zM15.87 12.144c-.245 0-.405-.006-.56 0-.153 0-.303.008-.532.018l-.013-.02-.015-.02c.062-.238.097-.322.128-.406.03-.084.06-.17.115-.41.072-.315.116-.535.147-.728.033-.187.052-.346.075-.53l.02-.014.02-.018c.244-.036.4-.057.56-.082.16-.024.32-.055.574-.103l.008.023.008.022c-.047.195-.094.39-.14.588-.047.197-.094.392-.137.587-.093.414-.13.57-.152.68-.02.105-.026.163-.063.377l-.022.02-.023.017zM19.542 10.728c.143-.633.033-.928-.108-1.11-.213-.273-.59-.36-.978-.36-.235 0-.793.023-1.23.43-.312.29-.458.687-.546 1.066-.088.387-.19 1.086.447 1.344.198.085.48.108.662.108.466 0 .945-.13 1.304-.513.278-.312.405-.775.448-.965zm-1.07-.046c-.02.106-.113.503-.24.673-.086.123-.19.198-.305.198-.033 0-.235 0-.238-.3-.003-.15.027-.304.063-.47.108-.478.236-.88.56-.88.255 0 .27.298.16.78zM29.536 12.187c-.493-.004-.635-.004-1.09.015l-.03-.037c.124-.472.248-.943.358-1.42.142-.62.175-.882.223-1.244l.037-.03c.49-.07.625-.09 1.135-.186l.015.044c-.093.388-.186.777-.275 1.166-.19.816-.258 1.23-.33 1.658l-.044.035z" style="fill: #FEFEFE" />
11
- <path d="M29.77 10.784c.144-.63-.432-.056-.525-.264-.14-.323-.052-.98-.62-1.2-.22-.085-.732.025-1.17.428-.31.29-.458.683-.544 1.062-.088.38-.19 1.078.444 1.328.2.085.384.11.567.103.638-.034 1.124-1.002 1.483-1.386.277-.303.326.115.368-.07zm-.974-.047c-.024.1-.117.503-.244.67-.083.117-.283.192-.397.192-.032 0-.232 0-.24-.3 0-.146.03-.3.067-.467.11-.47.235-.87.56-.87.254 0 .363.293.254.774zM22.332 12.144c-.41-.006-.55-.006-1.03.018l-.018-.036c.04-.182.087-.363.13-.548l.057-.25c.09-.39.176-.843.186-.98.008-.084.036-.29-.198-.29-.1 0-.203.048-.308.096-.057.207-.175.79-.232 1.055-.115.558-.124.62-.176.897l-.035.037c-.42-.006-.566-.006-1.05.018l-.022-.04.238-.998c.203-.9.25-1.245.307-1.702l.038-.028c.472-.067.587-.08 1.098-.185l.04.047-.073.287c.084-.052.17-.104.257-.15.24-.12.51-.155.655-.155.224 0 .47.062.575.323.095.232.03.52-.098 1.084l-.065.287c-.133.627-.154.743-.225 1.174l-.05.036zM26.32 8.756c-.07.326-.282.603-.554.736-.225.114-.498.123-.78.123h-.183l.013-.074.336-1.468.01-.076.007-.058.132.015.71.062c.275.105.388.38.31.74zM25.88 7.22l-.34.003c-.883.01-1.238.006-1.383-.012l-.037.182-.315 1.478-.793 3.288c.77-.01 1.088-.01 1.22.004l.21-1.024s.153-.644.163-.667c0 0 .047-.066.096-.092h.07c.665 0 1.417 0 2.005-.437.4-.298.675-.74.797-1.274.03-.132.054-.29.054-.446 0-.205-.04-.41-.16-.568-.3-.423-.896-.43-1.588-.433zM33.572 9.28l-.04-.043c-.502.1-.594.118-1.058.18l-.034.034-.005.023-.003-.007c-.345.803-.334.63-.615 1.26-.003-.03-.003-.048-.004-.077l-.07-1.37-.044-.043c-.53.1-.542.118-1.03.18l-.04.034-.006.056.003.007c.06.315.047.244.108.738.03.244.065.49.093.73.05.4.077.6.134 1.21-.328.55-.408.757-.722 1.238l.017.044c.478-.018.587-.018.94-.018l.08-.088c.265-.578 2.295-4.085 2.295-4.085zM16.318 9.62c.27-.19.304-.45.076-.586-.23-.137-.634-.094-.906.095-.273.186-.304.45-.075.586.228.134.633.094.905-.096z" style="fill: #FEFEFE" />
12
- <path d="M31.238 13.415l-.397.684c-.124.232-.357.407-.728.41l-.632-.01.184-.618h.124c.064 0 .11-.004.148-.022.03-.01.054-.035.08-.072l.233-.373h.988z" style="fill: #FEFEFE" />
13
  </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg id="icon-unionpay" width="40" height="24" viewBox="0 0 40 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+ <title>Union Pay</title>
5
+ <path d="M9.877 2h8.126c1.135 0 1.84.93 1.575 2.077l-3.783 16.35c-.267 1.142-1.403 2.073-2.538 2.073H5.13c-1.134 0-1.84-.93-1.574-2.073L7.34 4.076C7.607 2.93 8.74 2 9.878 2z" style="fill: #E21836" />
6
+ <path d="M17.325 2h9.345c1.134 0 .623.93.356 2.077l-3.783 16.35c-.265 1.142-.182 2.073-1.32 2.073H12.58c-1.137 0-1.84-.93-1.574-2.073l3.783-16.35C15.056 2.93 16.19 2 17.324 2z" style="fill: #00447B" />
7
+ <path d="M26.3 2h8.126c1.136 0 1.84.93 1.575 2.077l-3.782 16.35c-.266 1.142-1.402 2.073-2.54 2.073h-8.122c-1.137 0-1.842-.93-1.574-2.073l3.78-16.35C24.03 2.93 25.166 2 26.303 2z" style="fill: #007B84" />
8
+ <path d="M27.633 14.072l-.99 3.3h.266l-.208.68h-.266l-.062.212h-.942l.064-.21H23.58l.193-.632h.194l1.005-3.35.2-.676h.962l-.1.34s.255-.184.498-.248c.242-.064 1.636-.088 1.636-.088l-.206.672h-.33zm-1.695 0l-.254.843s.285-.13.44-.172c.16-.04.395-.057.395-.057l.182-.614h-.764zm-.38 1.262l-.263.877s.29-.15.447-.196c.157-.037.396-.066.396-.066l.185-.614h-.766zm-.614 2.046h.767l.222-.74h-.765l-.223.74z" style="fill: #FEFEFE" />
9
+ <path d="M28.055 13.4h1.027l.01.385c-.005.065.05.096.17.096h.208l-.19.637h-.555c-.48.035-.662-.172-.65-.406l-.02-.71zM28.193 16.415h-.978l.167-.566H28.5l.16-.517h-1.104l.19-.638h3.072l-.193.638h-1.03l-.16.516h1.032l-.17.565H29.18l-.2.24h.454l.11.712c.013.07.014.116.036.147.023.026.158.038.238.038h.137l-.21.694h-.348c-.054 0-.133-.004-.243-.01-.105-.008-.18-.07-.25-.105-.064-.03-.16-.11-.182-.24l-.11-.712-.507.7c-.162.222-.38.39-.748.39h-.712l.186-.62h.273c.078 0 .15-.03.2-.056.052-.023.098-.05.15-.126l.74-1.05zM17.478 14.867h2.59l-.19.622H18.84l-.16.53h1.06l-.194.64h-1.06l-.256.863c-.03.095.25.108.353.108l.53-.072-.212.71h-1.193c-.096 0-.168-.013-.272-.037-.1-.023-.145-.07-.19-.138-.043-.07-.11-.128-.064-.278l.343-1.143h-.588l.195-.65h.592l.156-.53h-.588l.188-.623zM19.223 13.75h1.063l-.194.65H18.64l-.157.136c-.067.066-.09.038-.18.087-.08.04-.254.123-.477.123h-.466l.19-.625h.14c.118 0 .198-.01.238-.036.046-.03.098-.096.157-.203l.267-.487h1.057l-.187.356zM20.74 13.4h.905l-.132.46s.286-.23.487-.313c.2-.075.65-.143.65-.143l1.464-.007-.498 1.672c-.085.286-.183.472-.244.555-.055.087-.12.16-.248.23-.124.066-.236.104-.34.115-.096.007-.244.01-.45.012h-1.41l-.4 1.324c-.037.13-.055.194-.03.23.02.03.068.066.135.066l.62-.06-.21.726h-.698c-.22 0-.383-.004-.495-.013-.108-.01-.22 0-.295-.058-.065-.058-.164-.133-.162-.21.007-.073.037-.192.082-.356l1.268-4.23zm1.922 1.69h-1.484l-.09.3h1.283c.152-.018.184.004.196-.003l.096-.297zm-1.402-.272s.29-.266.786-.353c.112-.022.82-.015.82-.015l.106-.357h-1.496l-.216.725z" style="fill: #FEFEFE" />
10
+ <path d="M23.382 16.1l-.084.402c-.036.125-.067.22-.16.302-.1.084-.216.172-.488.172l-.502.02-.004.455c-.006.13.028.117.048.138.024.022.045.032.067.04l.157-.008.48-.028-.198.663h-.552c-.385 0-.67-.008-.765-.084-.092-.057-.105-.132-.103-.26l.035-1.77h.88l-.013.362h.212c.072 0 .12-.007.15-.026.027-.02.047-.048.06-.093l.087-.282h.692zM10.84 7.222c-.032.143-.596 2.763-.598 2.764-.12.53-.21.91-.508 1.152-.172.14-.37.21-.6.21-.37 0-.587-.185-.624-.537l-.007-.12.113-.712s.593-2.388.7-2.703c.002-.017.005-.026.007-.035-1.152.01-1.357 0-1.37-.018-.007.024-.037.173-.037.173l-.605 2.688-.05.23-.1.746c0 .22.042.4.13.553.275.485 1.06.557 1.504.557.573 0 1.11-.123 1.47-.345.63-.375.797-.962.944-1.48l.067-.267s.61-2.48.716-2.803c.003-.017.006-.026.01-.035-.835.01-1.08 0-1.16-.018zM14.21 12.144c-.407-.006-.55-.006-1.03.018l-.018-.036c.042-.182.087-.363.127-.548l.06-.25c.086-.39.173-.843.184-.98.007-.084.036-.29-.2-.29-.1 0-.203.048-.307.096-.058.207-.174.79-.23 1.055-.118.558-.126.62-.178.897l-.036.037c-.42-.006-.566-.006-1.05.018l-.024-.04c.08-.332.162-.668.24-.998.203-.9.25-1.245.307-1.702l.04-.028c.47-.067.585-.08 1.097-.185l.043.047-.077.287c.086-.052.168-.104.257-.15.242-.12.51-.155.658-.155.223 0 .468.062.57.323.098.232.034.52-.094 1.084l-.066.287c-.13.627-.152.743-.225 1.174l-.05.036zM15.87 12.144c-.245 0-.405-.006-.56 0-.153 0-.303.008-.532.018l-.013-.02-.015-.02c.062-.238.097-.322.128-.406.03-.084.06-.17.115-.41.072-.315.116-.535.147-.728.033-.187.052-.346.075-.53l.02-.014.02-.018c.244-.036.4-.057.56-.082.16-.024.32-.055.574-.103l.008.023.008.022c-.047.195-.094.39-.14.588-.047.197-.094.392-.137.587-.093.414-.13.57-.152.68-.02.105-.026.163-.063.377l-.022.02-.023.017zM19.542 10.728c.143-.633.033-.928-.108-1.11-.213-.273-.59-.36-.978-.36-.235 0-.793.023-1.23.43-.312.29-.458.687-.546 1.066-.088.387-.19 1.086.447 1.344.198.085.48.108.662.108.466 0 .945-.13 1.304-.513.278-.312.405-.775.448-.965zm-1.07-.046c-.02.106-.113.503-.24.673-.086.123-.19.198-.305.198-.033 0-.235 0-.238-.3-.003-.15.027-.304.063-.47.108-.478.236-.88.56-.88.255 0 .27.298.16.78zM29.536 12.187c-.493-.004-.635-.004-1.09.015l-.03-.037c.124-.472.248-.943.358-1.42.142-.62.175-.882.223-1.244l.037-.03c.49-.07.625-.09 1.135-.186l.015.044c-.093.388-.186.777-.275 1.166-.19.816-.258 1.23-.33 1.658l-.044.035z" style="fill: #FEFEFE" />
11
+ <path d="M29.77 10.784c.144-.63-.432-.056-.525-.264-.14-.323-.052-.98-.62-1.2-.22-.085-.732.025-1.17.428-.31.29-.458.683-.544 1.062-.088.38-.19 1.078.444 1.328.2.085.384.11.567.103.638-.034 1.124-1.002 1.483-1.386.277-.303.326.115.368-.07zm-.974-.047c-.024.1-.117.503-.244.67-.083.117-.283.192-.397.192-.032 0-.232 0-.24-.3 0-.146.03-.3.067-.467.11-.47.235-.87.56-.87.254 0 .363.293.254.774zM22.332 12.144c-.41-.006-.55-.006-1.03.018l-.018-.036c.04-.182.087-.363.13-.548l.057-.25c.09-.39.176-.843.186-.98.008-.084.036-.29-.198-.29-.1 0-.203.048-.308.096-.057.207-.175.79-.232 1.055-.115.558-.124.62-.176.897l-.035.037c-.42-.006-.566-.006-1.05.018l-.022-.04.238-.998c.203-.9.25-1.245.307-1.702l.038-.028c.472-.067.587-.08 1.098-.185l.04.047-.073.287c.084-.052.17-.104.257-.15.24-.12.51-.155.655-.155.224 0 .47.062.575.323.095.232.03.52-.098 1.084l-.065.287c-.133.627-.154.743-.225 1.174l-.05.036zM26.32 8.756c-.07.326-.282.603-.554.736-.225.114-.498.123-.78.123h-.183l.013-.074.336-1.468.01-.076.007-.058.132.015.71.062c.275.105.388.38.31.74zM25.88 7.22l-.34.003c-.883.01-1.238.006-1.383-.012l-.037.182-.315 1.478-.793 3.288c.77-.01 1.088-.01 1.22.004l.21-1.024s.153-.644.163-.667c0 0 .047-.066.096-.092h.07c.665 0 1.417 0 2.005-.437.4-.298.675-.74.797-1.274.03-.132.054-.29.054-.446 0-.205-.04-.41-.16-.568-.3-.423-.896-.43-1.588-.433zM33.572 9.28l-.04-.043c-.502.1-.594.118-1.058.18l-.034.034-.005.023-.003-.007c-.345.803-.334.63-.615 1.26-.003-.03-.003-.048-.004-.077l-.07-1.37-.044-.043c-.53.1-.542.118-1.03.18l-.04.034-.006.056.003.007c.06.315.047.244.108.738.03.244.065.49.093.73.05.4.077.6.134 1.21-.328.55-.408.757-.722 1.238l.017.044c.478-.018.587-.018.94-.018l.08-.088c.265-.578 2.295-4.085 2.295-4.085zM16.318 9.62c.27-.19.304-.45.076-.586-.23-.137-.634-.094-.906.095-.273.186-.304.45-.075.586.228.134.633.094.905-.096z" style="fill: #FEFEFE" />
12
+ <path d="M31.238 13.415l-.397.684c-.124.232-.357.407-.728.41l-.632-.01.184-.618h.124c.064 0 .11-.004.148-.022.03-.01.054-.035.08-.072l.233-.373h.988z" style="fill: #FEFEFE" />
13
  </svg>
assets/img/cards/diners.svg CHANGED
@@ -1,11 +1,11 @@
1
- <svg width="750" height="471" viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg">
2
- <g fill="none" fill-rule="evenodd">
3
- <rect fill="#0079BE" width="750" height="471" rx="40"/>
4
- <path d="M584.934 237.947c0-99.415-82.981-168.133-173.895-168.1h-78.242c-92.003-.033-167.73 68.705-167.73 168.1 0 90.93 75.727 165.64 167.73 165.204h78.242c90.914.436 173.895-74.293 173.895-165.204z"
5
- fill="#FFF"/>
6
- <path d="M333.28 83.93c-84.07.027-152.194 68.308-152.214 152.58.02 84.258 68.144 152.533 152.214 152.56 84.09-.027 152.228-68.302 152.24-152.56-.012-84.272-68.15-152.553-152.24-152.58z"
7
- fill="#0079BE"/>
8
- <path d="M237.066 236.098c.08-41.18 25.746-76.296 61.94-90.25v180.48c-36.194-13.947-61.861-49.044-61.94-90.23zm131 90.275V145.847c36.207 13.92 61.914 49.057 61.98 90.257-.066 41.212-25.773 76.322-61.98 90.269z"
9
- fill="#FFF"/>
10
- </g>
11
  </svg>
1
+ <svg width="750" height="471" viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg">
2
+ <g fill="none" fill-rule="evenodd">
3
+ <rect fill="#0079BE" width="750" height="471" rx="40"/>
4
+ <path d="M584.934 237.947c0-99.415-82.981-168.133-173.895-168.1h-78.242c-92.003-.033-167.73 68.705-167.73 168.1 0 90.93 75.727 165.64 167.73 165.204h78.242c90.914.436 173.895-74.293 173.895-165.204z"
5
+ fill="#FFF"/>
6
+ <path d="M333.28 83.93c-84.07.027-152.194 68.308-152.214 152.58.02 84.258 68.144 152.533 152.214 152.56 84.09-.027 152.228-68.302 152.24-152.56-.012-84.272-68.15-152.553-152.24-152.58z"
7
+ fill="#0079BE"/>
8
+ <path d="M237.066 236.098c.08-41.18 25.746-76.296 61.94-90.25v180.48c-36.194-13.947-61.861-49.044-61.94-90.23zm131 90.275V145.847c36.207 13.92 61.914 49.057 61.98 90.257-.066 41.212-25.773 76.322-61.98 90.269z"
9
+ fill="#FFF"/>
10
+ </g>
11
  </svg>
assets/img/cards/discover.svg CHANGED
@@ -1,10 +1,10 @@
1
- <svg height="501" width="780" viewBox="0 0 780 501" xmlns="http://www.w3.org/2000/svg">
2
- <g fill="none" fill-rule="evenodd">
3
- <path d="M54.992 0C24.627 0 0 24.63 0 55.004v390.992C0 476.376 24.619 501 54.992 501h670.016C755.373 501 780 476.37 780 445.996V55.004C780 24.624 755.381 0 725.008 0z"
4
- fill="#4d4d4d"/>
5
- <path d="M415.13 161.213c30.941 0 56.022 23.58 56.022 52.709v.033c0 29.13-25.081 52.742-56.021 52.742s-56.022-23.613-56.022-52.742v-.033c0-29.13 25.082-52.71 56.022-52.71zm-87.978.68c8.837 0 16.248 1.784 25.268 6.09v22.751c-8.544-7.863-15.955-11.154-25.756-11.154-19.264 0-34.414 15.015-34.414 34.05 0 20.075 14.681 34.196 35.37 34.196 9.312 0 16.586-3.12 24.8-10.857v22.763c-9.341 4.14-16.911 5.776-25.756 5.776-31.278 0-55.582-22.596-55.582-51.737 0-28.826 24.951-51.878 56.07-51.878zm-97.113.627c11.546 0 22.11 3.72 30.943 10.994l-10.748 13.248c-5.35-5.646-10.41-8.028-16.564-8.028-8.853 0-15.3 4.745-15.3 10.989 0 5.354 3.619 8.188 15.944 12.482 23.365 8.044 30.29 15.176 30.29 30.926 0 19.193-14.976 32.553-36.32 32.553-15.63 0-26.994-5.795-36.458-18.872l13.268-12.03c4.73 8.61 12.622 13.222 22.42 13.222 9.163 0 15.947-5.952 15.947-13.984 0-4.164-2.055-7.734-6.158-10.258-2.066-1.195-6.158-2.977-14.2-5.647-19.291-6.538-25.91-13.527-25.91-27.185 0-16.225 14.214-28.41 32.846-28.41zm234.723 1.728h22.437l28.084 66.592 28.446-66.592h22.267l-45.494 101.686h-11.053zm-397.348.152h30.15c33.312 0 56.534 20.382 56.534 49.641 0 14.59-7.104 28.696-19.118 38.057-10.108 7.901-21.626 11.445-37.574 11.445H67.414zm96.135 0h20.54v99.143h-20.54zm411.734 0h58.252v16.8H595.81v22.005h36.336v16.791H595.81v26.762h37.726v16.785h-58.252V164.4zm71.858 0h30.455c23.69 0 37.265 10.71 37.265 29.272 0 15.18-8.514 25.14-23.986 28.105l33.148 41.766h-25.26l-28.429-39.828h-2.678v39.828h-20.515zm20.515 15.616v30.025h6.002c13.117 0 20.069-5.362 20.069-15.328 0-9.648-6.954-14.697-19.745-14.697zM87.94 181.199v65.559h5.512c13.273 0 21.656-2.394 28.11-7.88 7.103-5.955 11.376-15.465 11.376-24.98 0-9.499-4.273-18.725-11.376-24.681-6.785-5.78-14.837-8.018-28.11-8.018z"
6
- fill="#fff"/>
7
- <path d="M779.982 288.361c-26.05 18.33-221.077 149.34-558.754 212.623H724.99c30.365 0 54.992-24.63 54.992-55.004z"
8
- fill="#f47216"/>
9
- </g>
10
  </svg>
1
+ <svg height="501" width="780" viewBox="0 0 780 501" xmlns="http://www.w3.org/2000/svg">
2
+ <g fill="none" fill-rule="evenodd">
3
+ <path d="M54.992 0C24.627 0 0 24.63 0 55.004v390.992C0 476.376 24.619 501 54.992 501h670.016C755.373 501 780 476.37 780 445.996V55.004C780 24.624 755.381 0 725.008 0z"
4
+ fill="#4d4d4d"/>
5
+ <path d="M415.13 161.213c30.941 0 56.022 23.58 56.022 52.709v.033c0 29.13-25.081 52.742-56.021 52.742s-56.022-23.613-56.022-52.742v-.033c0-29.13 25.082-52.71 56.022-52.71zm-87.978.68c8.837 0 16.248 1.784 25.268 6.09v22.751c-8.544-7.863-15.955-11.154-25.756-11.154-19.264 0-34.414 15.015-34.414 34.05 0 20.075 14.681 34.196 35.37 34.196 9.312 0 16.586-3.12 24.8-10.857v22.763c-9.341 4.14-16.911 5.776-25.756 5.776-31.278 0-55.582-22.596-55.582-51.737 0-28.826 24.951-51.878 56.07-51.878zm-97.113.627c11.546 0 22.11 3.72 30.943 10.994l-10.748 13.248c-5.35-5.646-10.41-8.028-16.564-8.028-8.853 0-15.3 4.745-15.3 10.989 0 5.354 3.619 8.188 15.944 12.482 23.365 8.044 30.29 15.176 30.29 30.926 0 19.193-14.976 32.553-36.32 32.553-15.63 0-26.994-5.795-36.458-18.872l13.268-12.03c4.73 8.61 12.622 13.222 22.42 13.222 9.163 0 15.947-5.952 15.947-13.984 0-4.164-2.055-7.734-6.158-10.258-2.066-1.195-6.158-2.977-14.2-5.647-19.291-6.538-25.91-13.527-25.91-27.185 0-16.225 14.214-28.41 32.846-28.41zm234.723 1.728h22.437l28.084 66.592 28.446-66.592h22.267l-45.494 101.686h-11.053zm-397.348.152h30.15c33.312 0 56.534 20.382 56.534 49.641 0 14.59-7.104 28.696-19.118 38.057-10.108 7.901-21.626 11.445-37.574 11.445H67.414zm96.135 0h20.54v99.143h-20.54zm411.734 0h58.252v16.8H595.81v22.005h36.336v16.791H595.81v26.762h37.726v16.785h-58.252V164.4zm71.858 0h30.455c23.69 0 37.265 10.71 37.265 29.272 0 15.18-8.514 25.14-23.986 28.105l33.148 41.766h-25.26l-28.429-39.828h-2.678v39.828h-20.515zm20.515 15.616v30.025h6.002c13.117 0 20.069-5.362 20.069-15.328 0-9.648-6.954-14.697-19.745-14.697zM87.94 181.199v65.559h5.512c13.273 0 21.656-2.394 28.11-7.88 7.103-5.955 11.376-15.465 11.376-24.98 0-9.499-4.273-18.725-11.376-24.681-6.785-5.78-14.837-8.018-28.11-8.018z"
6
+ fill="#fff"/>
7
+ <path d="M779.982 288.361c-26.05 18.33-221.077 149.34-558.754 212.623H724.99c30.365 0 54.992-24.63 54.992-55.004z"
8
+ fill="#f47216"/>
9
+ </g>
10
  </svg>
assets/img/cards/jcb.svg CHANGED
@@ -1,27 +1,27 @@
1
- <svg width="750" height="471" viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg">
2
- <defs>
3
- <linearGradient x1=".032%" y1="50%" x2="99.974%" y2="50%" id="a">
4
- <stop stop-color="#007B40" offset="0%"/>
5
- <stop stop-color="#55B330" offset="100%"/>
6
- </linearGradient>
7
- <linearGradient x1=".472%" y1="50%" x2="99.986%" y2="50%" id="b">
8
- <stop stop-color="#1D2970" offset="0%"/>
9
- <stop stop-color="#006DBA" offset="100%"/>
10
- </linearGradient>
11
- <linearGradient x1=".114%" y1="50.001%" x2="99.986%" y2="50.001%" id="c">
12
- <stop stop-color="#6E2B2F" offset="0%"/>
13
- <stop stop-color="#E30138" offset="100%"/>
14
- </linearGradient>
15
- </defs>
16
- <g fill="none" fill-rule="evenodd">
17
- <rect fill="#0E4C96" width="750" height="471" rx="40"/>
18
- <path d="M617.243 346.766c0 41.615-33.728 75.36-75.36 75.36H132.757V124.245c0-41.626 33.733-75.37 75.365-75.37l409.12-.001v297.892h.001z"
19
- fill="#FFF"/>
20
- <path d="M483.859 242.045c11.684.253 23.437-.516 35.077.4 11.787 2.2 14.628 20.043 4.156 25.888-7.141 3.85-15.633 1.432-23.379 2.113H483.86v-28.401zm41.833-32.145c2.596 9.165-6.238 17.392-15.066 16.13h-26.767c.185-8.642-.368-18.021.272-26.208 10.724.301 21.549-.616 32.21.48 4.58 1.15 8.413 4.916 9.35 9.598zM590.12 73.997c.498 17.501.071 35.927.214 53.783-.035 72.596.072 145.194-.055 217.79-.469 27.207-24.582 50.844-51.6 51.387-27.046.111-54.095.016-81.142.047v-109.75c29.47-.154 58.959.307 88.417-.232 13.667-.86 28.632-9.876 29.27-24.915 1.61-15.102-12.632-25.55-26.153-27.201-5.198-.135-5.044-1.515 0-2.117 12.892-2.787 23.02-16.133 19.226-29.499-3.236-14.058-18.773-19.499-31.697-19.472-26.351-.18-52.709-.026-79.063-.077.172-20.489-.354-41 .286-61.474 2.087-26.716 26.806-48.747 53.447-48.27h78.85z"
21
- fill="url(#a)"/>
22
- <path d="M159.74 125.04c.674-27.163 24.889-50.611 51.875-51.007 26.944-.083 53.891-.012 80.837-.036-.074 90.885.148 181.777-.112 272.658-1.038 26.834-24.99 49.834-51.679 50.307-26.996.099-53.995.014-80.992.042V283.551c26.223 6.194 53.722 8.832 80.473 4.721 15.993-2.575 33.488-10.424 38.902-27.014 3.986-14.192 1.742-29.126 2.334-43.692v-33.824h-46.297c-.208 22.37.426 44.78-.335 67.125-1.248 13.734-14.846 22.46-27.8 21.995-16.066.169-47.898-11.64-47.898-11.64-.08-41.917.466-94.408.692-136.182z"
23
- fill="url(#b)"/>
24
- <path d="M309.72 197.39c-2.434.517-.49-8.3-1.114-11.646.166-21.15-.346-42.323.284-63.458 2.083-26.829 26.991-48.916 53.739-48.288h78.766c-.074 90.884.147 181.775-.112 272.656-1.039 26.834-24.992 49.833-51.68 50.308-26.998.1-53.998.015-80.997.043V272.708c18.44 15.128 43.5 17.484 66.472 17.525 17.317-.006 34.534-2.675 51.35-6.67V260.79c-18.953 9.447-41.233 15.446-62.243 10.018-14.656-3.65-25.294-17.811-25.056-32.936-1.699-15.728 7.524-32.335 22.981-37.011 19.19-6.008 40.108-1.413 58.096 6.398 3.855 2.018 7.765 4.521 6.222-1.921v-17.9c-30.084-7.157-62.101-9.792-92.329-2.004-8.748 2.468-17.27 6.21-24.379 11.956z"
25
- fill="url(#c)"/>
26
- </g>
27
  </svg>
1
+ <svg width="750" height="471" viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg">
2
+ <defs>
3
+ <linearGradient x1=".032%" y1="50%" x2="99.974%" y2="50%" id="a">
4
+ <stop stop-color="#007B40" offset="0%"/>
5
+ <stop stop-color="#55B330" offset="100%"/>
6
+ </linearGradient>
7
+ <linearGradient x1=".472%" y1="50%" x2="99.986%" y2="50%" id="b">
8
+ <stop stop-color="#1D2970" offset="0%"/>
9
+ <stop stop-color="#006DBA" offset="100%"/>
10
+ </linearGradient>
11
+ <linearGradient x1=".114%" y1="50.001%" x2="99.986%" y2="50.001%" id="c">
12
+ <stop stop-color="#6E2B2F" offset="0%"/>
13
+ <stop stop-color="#E30138" offset="100%"/>
14
+ </linearGradient>
15
+ </defs>
16
+ <g fill="none" fill-rule="evenodd">
17
+ <rect fill="#0E4C96" width="750" height="471" rx="40"/>
18
+ <path d="M617.243 346.766c0 41.615-33.728 75.36-75.36 75.36H132.757V124.245c0-41.626 33.733-75.37 75.365-75.37l409.12-.001v297.892h.001z"
19
+ fill="#FFF"/>
20
+ <path d="M483.859 242.045c11.684.253 23.437-.516 35.077.4 11.787 2.2 14.628 20.043 4.156 25.888-7.141 3.85-15.633 1.432-23.379 2.113H483.86v-28.401zm41.833-32.145c2.596 9.165-6.238 17.392-15.066 16.13h-26.767c.185-8.642-.368-18.021.272-26.208 10.724.301 21.549-.616 32.21.48 4.58 1.15 8.413 4.916 9.35 9.598zM590.12 73.997c.498 17.501.071 35.927.214 53.783-.035 72.596.072 145.194-.055 217.79-.469 27.207-24.582 50.844-51.6 51.387-27.046.111-54.095.016-81.142.047v-109.75c29.47-.154 58.959.307 88.417-.232 13.667-.86 28.632-9.876 29.27-24.915 1.61-15.102-12.632-25.55-26.153-27.201-5.198-.135-5.044-1.515 0-2.117 12.892-2.787 23.02-16.133 19.226-29.499-3.236-14.058-18.773-19.499-31.697-19.472-26.351-.18-52.709-.026-79.063-.077.172-20.489-.354-41 .286-61.474 2.087-26.716 26.806-48.747 53.447-48.27h78.85z"
21
+ fill="url(#a)"/>
22
+ <path d="M159.74 125.04c.674-27.163 24.889-50.611 51.875-51.007 26.944-.083 53.891-.012 80.837-.036-.074 90.885.148 181.777-.112 272.658-1.038 26.834-24.99 49.834-51.679 50.307-26.996.099-53.995.014-80.992.042V283.551c26.223 6.194 53.722 8.832 80.473 4.721 15.993-2.575 33.488-10.424 38.902-27.014 3.986-14.192 1.742-29.126 2.334-43.692v-33.824h-46.297c-.208 22.37.426 44.78-.335 67.125-1.248 13.734-14.846 22.46-27.8 21.995-16.066.169-47.898-11.64-47.898-11.64-.08-41.917.466-94.408.692-136.182z"
23
+ fill="url(#b)"/>
24
+ <path d="M309.72 197.39c-2.434.517-.49-8.3-1.114-11.646.166-21.15-.346-42.323.284-63.458 2.083-26.829 26.991-48.916 53.739-48.288h78.766c-.074 90.884.147 181.775-.112 272.656-1.039 26.834-24.992 49.833-51.68 50.308-26.998.1-53.998.015-80.997.043V272.708c18.44 15.128 43.5 17.484 66.472 17.525 17.317-.006 34.534-2.675 51.35-6.67V260.79c-18.953 9.447-41.233 15.446-62.243 10.018-14.656-3.65-25.294-17.811-25.056-32.936-1.699-15.728 7.524-32.335 22.981-37.011 19.19-6.008 40.108-1.413 58.096 6.398 3.855 2.018 7.765 4.521 6.222-1.921v-17.9c-30.084-7.157-62.101-9.792-92.329-2.004-8.748 2.468-17.27 6.21-24.379 11.956z"
25
+ fill="url(#c)"/>
26
+ </g>
27
  </svg>
assets/img/cards/laser.svg CHANGED
@@ -1,39 +1,39 @@
1
- <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="-45 62.3 750 471">
2
- <style>
3
- .st0{fill:#283a97}.st1{fill:#ee4799}.st2{fill:none;stroke:#ee4799;stroke-width:1.0006;stroke-miterlimit:2.6131}.st3{fill:#fff}
4
- </style>
5
- <path id="Rectangle-1" class="st0"
6
- d="M-5 62.3h670c22.1 0 40 17.9 40 40v391c0 22.1-17.9 40-40 40H-5c-22.1 0-40-17.9-40-40v-391c0-22.1 17.9-40 40-40z"/>
7
- <path class="st0" d="M160.2 477.3h340v-359h-340z"/>
8
- <path class="st1"
9
- d="M500.3 127.6l-10.1 17.1-330.5-7.6v-1.7zm-11.2 19.3l-10.4 17-313.2-7.9-.8-1.2zm-11.7 19.4l-10.2 16.9-290.2-7.9-.7-1.1zm-11.7 19.3l-9.9 17-266.6-7.9-.8-1.2zm-11.2 19.2l-10.1 17.1-243.7-7.9-.8-1.3zm-11.7 19.5l-10.1 16.9-220-7.9-.7-1.1zm-11.5 19.2l-10.1 17.1-196.1-7.9-.8-1.3zm-11.4 19.3l-10.2 17.1-173.1-7.9-.8-1.3zm-11.3 19.3l-10.5 17-150-7.9-.8-1.1zM397 301.5l-10.2 17-126.5-8-.8-1.1zm-11.5 19.3l-10.3 17-102.9-7.9-.8-1.2zM374 340l-10.3 17.1-79.4-7.9-.8-1.3zm-11.5 19.5l-10.2 16.8-56.3-7.8-.8-1.2zm-11.4 19.2l-10.4 17.1-33.2-7.9-.8-1.3zm-12 19.9l-10.4 17.7-11.1-9.2-.3-1.2zm-179.4 7.9h340.6-340.6z"/>
10
- <path class="st2" d="M159.7 406.5h340.6"/>
11
- <path class="st1" d="M159.7 387.2h340.6-340.6z"/>
12
- <path class="st2" d="M159.7 387.2h340.6"/>
13
- <path class="st1" d="M159.7 368h340.6-340.6z"/>
14
- <path class="st2" d="M159.7 368h340.6"/>
15
- <path class="st1" d="M159.7 348.6h340.6-340.6z"/>
16
- <path class="st2" d="M159.7 348.6h340.6"/>
17
- <path class="st1" d="M159.7 329.3h340.6-340.6z"/>
18
- <path class="st2" d="M159.7 329.3h340.6"/>
19
- <path class="st1" d="M159.7 310h340.6-340.6z"/>
20
- <path class="st2" d="M159.7 310h340.6"/>
21
- <path class="st1" d="M159.7 290.8h340.6-340.6z"/>
22
- <path class="st2" d="M159.7 290.8h340.6"/>
23
- <path class="st1" d="M159.7 271.3h340.6-340.6z"/>
24
- <path class="st2" d="M159.7 271.3h340.6"/>
25
- <path class="st1" d="M159.7 252.1h340.6-340.6z"/>
26
- <path class="st2" d="M159.7 252.1h340.6"/>
27
- <path class="st1" d="M159.7 232.8h340.6-340.6z"/>
28
- <path class="st2" d="M159.7 232.8h340.6"/>
29
- <path class="st1" d="M159.7 213.5h340.6-340.6z"/>
30
- <path class="st2" d="M159.7 213.5h340.6"/>
31
- <path class="st1" d="M159.7 194.1h340.6-340.6z"/>
32
- <path class="st2" d="M159.7 194.1h340.6"/>
33
- <path class="st1" d="M159.7 174.8h340.6-340.6z"/>
34
- <path class="st2" d="M159.7 174.8h340.6"/>
35
- <path class="st1" d="M159.7 155.6h340.6-340.6z"/>
36
- <path class="st2" d="M159.7 155.6h340.6"/>
37
- <path class="st3"
38
- d="M364.5 427.4v37.4h25.4l3.2-7.1c-4.6.2-7.9.3-12.6.3h-5.4v-9.3h.6c2.7 0 5.7.2 8.8.3l3.2-7.3c-1.6.2-1.9.2-4.1.2-3.9.2-4.9.2-8.5.2v-7.7h1.3c3.2 0 7.3.2 12.8.3l3-7.3h-27.7zm-97.1 0l2.7 4-14.4 33.5h10.4l2.4-5.7h14.8l2.4 5.7h10.9l-16.4-37.4-12.8-.1zm12.9 24.9h-9l4.4-10.7 4.6 10.7zM221.4 425h-10.6v39.8h25.6l3-7.1c-3.3.2-7.6.3-12.2.3h-5.8v-33zm118.5 4.3c-4.1-1.9-7.7-2.7-11.4-2.7-8.1 0-13.6 4.4-13.6 10.7 0 4 1.7 6.6 6.3 9.6l5.4 3.6c2.5 1.7 3.5 3 3.5 4.9 0 2.4-2.2 3.8-5.5 3.8-2.8 0-4.6-.8-7.7-3.3l-2.8 6.6c4.7 2.5 7.1 3.2 11.2 3.2 9.3 0 15.2-4.6 15.2-11.7 0-4.1-1.9-6.8-6.6-10.1l-5.5-4c-2.4-1.6-3-2.4-3-3.6 0-2.1 1.6-3.3 4.3-3.3 2.4 0 4.4.8 7.6 2.8l2.6-6.5zm75.6-1.9v37.4h10.6v-30.5h2.3c4.7 0 7.3 1.9 7.3 5.4 0 3.6-3 6-7.7 6-.5 0-.8 0-1.6-.2l12.8 19.3h11.7l-10.6-15.5c4.6-2.7 6.5-5.7 6.5-10.3 0-7.9-5.5-11.7-16.7-11.7l-14.6.1z"/>
39
  </svg>
1
+ <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="-45 62.3 750 471">
2
+ <style>
3
+ .st0{fill:#283a97}.st1{fill:#ee4799}.st2{fill:none;stroke:#ee4799;stroke-width:1.0006;stroke-miterlimit:2.6131}.st3{fill:#fff}
4
+ </style>
5
+ <path id="Rectangle-1" class="st0"
6
+ d="M-5 62.3h670c22.1 0 40 17.9 40 40v391c0 22.1-17.9 40-40 40H-5c-22.1 0-40-17.9-40-40v-391c0-22.1 17.9-40 40-40z"/>
7
+ <path class="st0" d="M160.2 477.3h340v-359h-340z"/>
8
+ <path class="st1"
9
+ d="M500.3 127.6l-10.1 17.1-330.5-7.6v-1.7zm-11.2 19.3l-10.4 17-313.2-7.9-.8-1.2zm-11.7 19.4l-10.2 16.9-290.2-7.9-.7-1.1zm-11.7 19.3l-9.9 17-266.6-7.9-.8-1.2zm-11.2 19.2l-10.1 17.1-243.7-7.9-.8-1.3zm-11.7 19.5l-10.1 16.9-220-7.9-.7-1.1zm-11.5 19.2l-10.1 17.1-196.1-7.9-.8-1.3zm-11.4 19.3l-10.2 17.1-173.1-7.9-.8-1.3zm-11.3 19.3l-10.5 17-150-7.9-.8-1.1zM397 301.5l-10.2 17-126.5-8-.8-1.1zm-11.5 19.3l-10.3 17-102.9-7.9-.8-1.2zM374 340l-10.3 17.1-79.4-7.9-.8-1.3zm-11.5 19.5l-10.2 16.8-56.3-7.8-.8-1.2zm-11.4 19.2l-10.4 17.1-33.2-7.9-.8-1.3zm-12 19.9l-10.4 17.7-11.1-9.2-.3-1.2zm-179.4 7.9h340.6-340.6z"/>
10
+ <path class="st2" d="M159.7 406.5h340.6"/>
11
+ <path class="st1" d="M159.7 387.2h340.6-340.6z"/>
12
+ <path class="st2" d="M159.7 387.2h340.6"/>
13
+ <path class="st1" d="M159.7 368h340.6-340.6z"/>
14
+ <path class="st2" d="M159.7 368h340.6"/>
15
+ <path class="st1" d="M159.7 348.6h340.6-340.6z"/>
16
+ <path class="st2" d="M159.7 348.6h340.6"/>
17
+ <path class="st1" d="M159.7 329.3h340.6-340.6z"/>
18
+ <path class="st2" d="M159.7 329.3h340.6"/>
19
+ <path class="st1" d="M159.7 310h340.6-340.6z"/>
20
+ <path class="st2" d="M159.7 310h340.6"/>
21
+ <path class="st1" d="M159.7 290.8h340.6-340.6z"/>
22
+ <path class="st2" d="M159.7 290.8h340.6"/>
23
+ <path class="st1" d="M159.7 271.3h340.6-340.6z"/>
24
+ <path class="st2" d="M159.7 271.3h340.6"/>
25
+ <path class="st1" d="M159.7 252.1h340.6-340.6z"/>
26
+ <path class="st2" d="M159.7 252.1h340.6"/>
27
+ <path class="st1" d="M159.7 232.8h340.6-340.6z"/>
28
+ <path class="st2" d="M159.7 232.8h340.6"/>
29
+ <path class="st1" d="M159.7 213.5h340.6-340.6z"/>
30
+ <path class="st2" d="M159.7 213.5h340.6"/>
31
+ <path class="st1" d="M159.7 194.1h340.6-340.6z"/>
32
+ <path class="st2" d="M159.7 194.1h340.6"/>
33
+ <path class="st1" d="M159.7 174.8h340.6-340.6z"/>
34
+ <path class="st2" d="M159.7 174.8h340.6"/>
35
+ <path class="st1" d="M159.7 155.6h340.6-340.6z"/>
36
+ <path class="st2" d="M159.7 155.6h340.6"/>
37
+ <path class="st3"
38
+ d="M364.5 427.4v37.4h25.4l3.2-7.1c-4.6.2-7.9.3-12.6.3h-5.4v-9.3h.6c2.7 0 5.7.2 8.8.3l3.2-7.3c-1.6.2-1.9.2-4.1.2-3.9.2-4.9.2-8.5.2v-7.7h1.3c3.2 0 7.3.2 12.8.3l3-7.3h-27.7zm-97.1 0l2.7 4-14.4 33.5h10.4l2.4-5.7h14.8l2.4 5.7h10.9l-16.4-37.4-12.8-.1zm12.9 24.9h-9l4.4-10.7 4.6 10.7zM221.4 425h-10.6v39.8h25.6l3-7.1c-3.3.2-7.6.3-12.2.3h-5.8v-33zm118.5 4.3c-4.1-1.9-7.7-2.7-11.4-2.7-8.1 0-13.6 4.4-13.6 10.7 0 4 1.7 6.6 6.3 9.6l5.4 3.6c2.5 1.7 3.5 3 3.5 4.9 0 2.4-2.2 3.8-5.5 3.8-2.8 0-4.6-.8-7.7-3.3l-2.8 6.6c4.7 2.5 7.1 3.2 11.2 3.2 9.3 0 15.2-4.6 15.2-11.7 0-4.1-1.9-6.8-6.6-10.1l-5.5-4c-2.4-1.6-3-2.4-3-3.6 0-2.1 1.6-3.3 4.3-3.3 2.4 0 4.4.8 7.6 2.8l2.6-6.5zm75.6-1.9v37.4h10.6v-30.5h2.3c4.7 0 7.3 1.9 7.3 5.4 0 3.6-3 6-7.7 6-.5 0-.8 0-1.6-.2l12.8 19.3h11.7l-10.6-15.5c4.6-2.7 6.5-5.7 6.5-10.3 0-7.9-5.5-11.7-16.7-11.7l-14.6.1z"/>
39
  </svg>
assets/img/cards/maestro.svg CHANGED
@@ -1,14 +1,14 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="191" height="120.641" viewBox="0 0 146.776 120.641">
2
- <g>
3
- <rect width="191" height="120.641" style="fill: black" transform="translate(-23.5)" rx="10.187"/>
4
- <g>
5
- <path d="M372.97079,350.9185v-5.9914a3.55354,3.55354,0,0,0-3.7545-3.7945,3.69772,3.69772,0,0,0-3.3551,1.6976,3.50632,3.50632,0,0,0-3.1555-1.6976,3.15709,3.15709,0,0,0-2.7959,1.418v-1.1783h-2.0771v9.5462h2.097v-5.2923a2.23259,2.23259,0,0,1,2.3366-2.5362c1.378,0,2.0771.8986,2.0771,2.5162v5.3123h2.097v-5.2923A2.25125,2.25125,0,0,1,368.777,343.09c1.41779,0,2.09689.8986,2.09689,2.5162v5.3123Zm11.70321-4.7732v-4.773h-2.07711v1.1583a3.62159,3.62159,0,0,0-3.0157-1.398,5.01888,5.01888,0,0,0,0,10.0257,3.62139,3.62139,0,0,0,3.0157-1.3981v1.1583H384.674Zm-7.72881,0a2.89047,2.89047,0,1,1,2.8957,3.0556A2.86354,2.86354,0,0,1,376.94519,346.1453Zm52.1715-5.0239a5.3805,5.3805,0,0,1,2.0486.3839,4.99816,4.99816,0,0,1,1.6296,1.0566,4.83745,4.83745,0,0,1,1.0766,1.5899,5.30278,5.30278,0,0,1,0,3.9871,4.83354,4.83354,0,0,1-1.0766,1.5902,4.99443,4.99443,0,0,1-1.6296,1.0564,5.65627,5.65627,0,0,1-4.0971,0,4.94,4.94,0,0,1-1.6249-1.0564,4.87929,4.87929,0,0,1-1.0716-1.5902,5.30784,5.30784,0,0,1,0-3.9871,4.88328,4.88328,0,0,1,1.0716-1.5899,4.9437,4.9437,0,0,1,1.6249-1.0566A5.38,5.38,0,0,1,429.11669,341.1214Zm0,1.9639a3.09937,3.09937,0,0,0-1.186.2243,2.80562,2.80562,0,0,0-.947.6278,2.927,2.927,0,0,0-.6281.9671,3.47314,3.47314,0,0,0,0,2.4821,2.924,2.924,0,0,0,.6281.9669,2.80464,2.80464,0,0,0,.947.628,3.24794,3.24794,0,0,0,2.3721,0,2.86167,2.86167,0,0,0,.952-.628,2.89613,2.89613,0,0,0,.63321-.9669,3.47328,3.47328,0,0,0,0-2.4821,2.899,2.899,0,0,0-.63321-.9671,2.86269,2.86269,0,0,0-.952-.6278A3.09988,3.09988,0,0,0,429.11669,343.0853Zm-33.1409,3.06c-.0199-2.9756-1.8573-5.0127-4.5334-5.0127a5.017,5.017,0,0,0,.1398,10.0256,5.8025,5.8025,0,0,0,3.9143-1.3381l-1.01849-1.5378a4.54855,4.54855,0,0,1-2.776.9985,2.65136,2.65136,0,0,1-2.856-2.3366h7.08989C395.95589,346.6846,395.97579,346.4251,395.97579,346.1453Zm-7.1097-.8387a2.45767,2.45767,0,0,1,2.5363-2.3166,2.37115,2.37115,0,0,1,2.41661,2.3166Zm15.8566-1.4977a6.15314,6.15314,0,0,0-2.9756-.8189c-1.1385,0-1.8174.4194-1.8174,1.1185,0,.6391.7189.8186,1.6177.9384l.9785.1398c2.07711.2996,3.33511,1.1783,3.33511,2.8559,0,1.8174-1.59761,3.1157-4.35361,3.1157a6.887,6.887,0,0,1-4.134-1.2385l.9785-1.6175a5.08619,5.08619,0,0,0,3.1755.9986c1.4178,0,2.1768-.4193,2.1768-1.1584,0-.5392-.5393-.8388-1.6775-.9985l-.97869-.1397c-2.13681-.2997-3.29511-1.2583-3.29511-2.8161,0-1.8973,1.5576-3.0556,3.9742-3.0556a7.138,7.138,0,0,1,3.8944.9987Zm9.9801-.5393h-3.395v4.3139c0,.9584.3395,1.5976,1.378,1.5976a3.83592,3.83592,0,0,0,1.8374-.5392l.599,1.7775a4.87991,4.87991,0,0,1-2.59619.7389c-2.45641,0-3.31511-1.3181-3.31511-3.5351v-4.3536h-1.9373v-1.8973h1.9373l-.0006-2.8957h2.0969l.0006,2.8957h3.395Zm7.188-2.137a4.43589,4.43589,0,0,1,1.478.2598l-.6391,1.9571a3.38388,3.38388,0,0,0-1.2981-.2397c-1.3581,0-2.0372.8788-2.0372,2.4564v5.3523h-2.0769v-9.5462h2.0571v1.1583a2.81526,2.81526,0,0,1,2.5162-1.398ZM436.27,349.5289a.9539.9539,0,0,1,.37619.0746.97775.97775,0,0,1,.3074.2037.95657.95657,0,0,1,.2071.3028.93363.93363,0,0,1,0,.737.96452.96452,0,0,1-.2071.3015.9964.9964,0,0,1-.3074.2048.93912.93912,0,0,1-.37619.0758.96809.96809,0,0,1-.89761-.5821.9359.9359,0,0,1,0-.737.96233.96233,0,0,1,.2062-.3028.95074.95074,0,0,1,.3085-.2037A.98158.98158,0,0,1,436.27,349.5289Zm0,1.6906a.70737.70737,0,0,0,.28659-.0582.75391.75391,0,0,0,.2327-.1583.74009.74009,0,0,0-.2327-1.205.7152.7152,0,0,0-.28659-.0572.74573.74573,0,0,0-.29221.0572.7297.7297,0,0,0-.2363.1569.74456.74456,0,0,0,0,1.0481.74452.74452,0,0,0,.52851.2165Zm.05589-1.1854a.40124.40124,0,0,1,.26211.0759.25268.25268,0,0,1,.09189.206.23989.23989,0,0,1-.0733.1803.349.349,0,0,1-.2085.0874l.2888.333h-.2258l-.2678-.3307h-.0862v.3307h-.1886v-.8826Zm-.2188.1655v.2352h.2166a.21318.21318,0,0,0,.1188-.0293.09949.09949,0,0,0,.0441-.0895.09807.09807,0,0,0-.0441-.0875.21492.21492,0,0,0-.1188-.0289Z" transform="translate(-322.61159 -245.6795)" style="fill: #fff"/>
6
- <g>
7
- <rect x="57.6379" y="22.8343" width="31.5" height="56.6064" style="fill: #7375cf"/>
8
- <path d="M382.24969,296.817a35.93765,35.93765,0,0,1,13.7499-28.3032,36,36,0,1,0,0,56.6064A35.9378,35.9378,0,0,1,382.24969,296.817Z" transform="translate(-322.61159 -245.6795)" style="fill: #eb001b"/>
9
- <path d="M450.81019,319.1248v-1.1589h.4673v-.2361h-1.1901v.2361h.4675v1.1589Zm2.3105,0v-1.3973h-.3648l-.4196.9611-.4197-.9611h-.365v1.3973h.2576v-1.054l.3935.9087h.2671l.3935-.911v1.0563Z" transform="translate(-322.61159 -245.6795)" style="fill: #00a2e5"/>
10
- <path d="M454.24479,296.817a35.99867,35.99867,0,0,1-58.2452,28.3032,36.00518,36.00518,0,0,0,0-56.6064,35.99867,35.99867,0,0,1,58.2452,28.3032Z" transform="translate(-322.61159 -245.6795)" style="fill: #00a2e5"/>
11
- </g>
12
- </g>
13
- </g>
14
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="191" height="120.641" viewBox="0 0 146.776 120.641">
2
+ <g>
3
+ <rect width="191" height="120.641" style="fill: black" transform="translate(-23.5)" rx="10.187"/>
4
+ <g>
5
+ <path d="M372.97079,350.9185v-5.9914a3.55354,3.55354,0,0,0-3.7545-3.7945,3.69772,3.69772,0,0,0-3.3551,1.6976,3.50632,3.50632,0,0,0-3.1555-1.6976,3.15709,3.15709,0,0,0-2.7959,1.418v-1.1783h-2.0771v9.5462h2.097v-5.2923a2.23259,2.23259,0,0,1,2.3366-2.5362c1.378,0,2.0771.8986,2.0771,2.5162v5.3123h2.097v-5.2923A2.25125,2.25125,0,0,1,368.777,343.09c1.41779,0,2.09689.8986,2.09689,2.5162v5.3123Zm11.70321-4.7732v-4.773h-2.07711v1.1583a3.62159,3.62159,0,0,0-3.0157-1.398,5.01888,5.01888,0,0,0,0,10.0257,3.62139,3.62139,0,0,0,3.0157-1.3981v1.1583H384.674Zm-7.72881,0a2.89047,2.89047,0,1,1,2.8957,3.0556A2.86354,2.86354,0,0,1,376.94519,346.1453Zm52.1715-5.0239a5.3805,5.3805,0,0,1,2.0486.3839,4.99816,4.99816,0,0,1,1.6296,1.0566,4.83745,4.83745,0,0,1,1.0766,1.5899,5.30278,5.30278,0,0,1,0,3.9871,4.83354,4.83354,0,0,1-1.0766,1.5902,4.99443,4.99443,0,0,1-1.6296,1.0564,5.65627,5.65627,0,0,1-4.0971,0,4.94,4.94,0,0,1-1.6249-1.0564,4.87929,4.87929,0,0,1-1.0716-1.5902,5.30784,5.30784,0,0,1,0-3.9871,4.88328,4.88328,0,0,1,1.0716-1.5899,4.9437,4.9437,0,0,1,1.6249-1.0566A5.38,5.38,0,0,1,429.11669,341.1214Zm0,1.9639a3.09937,3.09937,0,0,0-1.186.2243,2.80562,2.80562,0,0,0-.947.6278,2.927,2.927,0,0,0-.6281.9671,3.47314,3.47314,0,0,0,0,2.4821,2.924,2.924,0,0,0,.6281.9669,2.80464,2.80464,0,0,0,.947.628,3.24794,3.24794,0,0,0,2.3721,0,2.86167,2.86167,0,0,0,.952-.628,2.89613,2.89613,0,0,0,.63321-.9669,3.47328,3.47328,0,0,0,0-2.4821,2.899,2.899,0,0,0-.63321-.9671,2.86269,2.86269,0,0,0-.952-.6278A3.09988,3.09988,0,0,0,429.11669,343.0853Zm-33.1409,3.06c-.0199-2.9756-1.8573-5.0127-4.5334-5.0127a5.017,5.017,0,0,0,.1398,10.0256,5.8025,5.8025,0,0,0,3.9143-1.3381l-1.01849-1.5378a4.54855,4.54855,0,0,1-2.776.9985,2.65136,2.65136,0,0,1-2.856-2.3366h7.08989C395.95589,346.6846,395.97579,346.4251,395.97579,346.1453Zm-7.1097-.8387a2.45767,2.45767,0,0,1,2.5363-2.3166,2.37115,2.37115,0,0,1,2.41661,2.3166Zm15.8566-1.4977a6.15314,6.15314,0,0,0-2.9756-.8189c-1.1385,0-1.8174.4194-1.8174,1.1185,0,.6391.7189.8186,1.6177.9384l.9785.1398c2.07711.2996,3.33511,1.1783,3.33511,2.8559,0,1.8174-1.59761,3.1157-4.35361,3.1157a6.887,6.887,0,0,1-4.134-1.2385l.9785-1.6175a5.08619,5.08619,0,0,0,3.1755.9986c1.4178,0,2.1768-.4193,2.1768-1.1584,0-.5392-.5393-.8388-1.6775-.9985l-.97869-.1397c-2.13681-.2997-3.29511-1.2583-3.29511-2.8161,0-1.8973,1.5576-3.0556,3.9742-3.0556a7.138,7.138,0,0,1,3.8944.9987Zm9.9801-.5393h-3.395v4.3139c0,.9584.3395,1.5976,1.378,1.5976a3.83592,3.83592,0,0,0,1.8374-.5392l.599,1.7775a4.87991,4.87991,0,0,1-2.59619.7389c-2.45641,0-3.31511-1.3181-3.31511-3.5351v-4.3536h-1.9373v-1.8973h1.9373l-.0006-2.8957h2.0969l.0006,2.8957h3.395Zm7.188-2.137a4.43589,4.43589,0,0,1,1.478.2598l-.6391,1.9571a3.38388,3.38388,0,0,0-1.2981-.2397c-1.3581,0-2.0372.8788-2.0372,2.4564v5.3523h-2.0769v-9.5462h2.0571v1.1583a2.81526,2.81526,0,0,1,2.5162-1.398ZM436.27,349.5289a.9539.9539,0,0,1,.37619.0746.97775.97775,0,0,1,.3074.2037.95657.95657,0,0,1,.2071.3028.93363.93363,0,0,1,0,.737.96452.96452,0,0,1-.2071.3015.9964.9964,0,0,1-.3074.2048.93912.93912,0,0,1-.37619.0758.96809.96809,0,0,1-.89761-.5821.9359.9359,0,0,1,0-.737.96233.96233,0,0,1,.2062-.3028.95074.95074,0,0,1,.3085-.2037A.98158.98158,0,0,1,436.27,349.5289Zm0,1.6906a.70737.70737,0,0,0,.28659-.0582.75391.75391,0,0,0,.2327-.1583.74009.74009,0,0,0-.2327-1.205.7152.7152,0,0,0-.28659-.0572.74573.74573,0,0,0-.29221.0572.7297.7297,0,0,0-.2363.1569.74456.74456,0,0,0,0,1.0481.74452.74452,0,0,0,.52851.2165Zm.05589-1.1854a.40124.40124,0,0,1,.26211.0759.25268.25268,0,0,1,.09189.206.23989.23989,0,0,1-.0733.1803.349.349,0,0,1-.2085.0874l.2888.333h-.2258l-.2678-.3307h-.0862v.3307h-.1886v-.8826Zm-.2188.1655v.2352h.2166a.21318.21318,0,0,0,.1188-.0293.09949.09949,0,0,0,.0441-.0895.09807.09807,0,0,0-.0441-.0875.21492.21492,0,0,0-.1188-.0289Z" transform="translate(-322.61159 -245.6795)" style="fill: #fff"/>
6
+ <g>
7
+ <rect x="57.6379" y="22.8343" width="31.5" height="56.6064" style="fill: #7375cf"/>
8
+ <path d="M382.24969,296.817a35.93765,35.93765,0,0,1,13.7499-28.3032,36,36,0,1,0,0,56.6064A35.9378,35.9378,0,0,1,382.24969,296.817Z" transform="translate(-322.61159 -245.6795)" style="fill: #eb001b"/>
9
+ <path d="M450.81019,319.1248v-1.1589h.4673v-.2361h-1.1901v.2361h.4675v1.1589Zm2.3105,0v-1.3973h-.3648l-.4196.9611-.4197-.9611h-.365v1.3973h.2576v-1.054l.3935.9087h.2671l.3935-.911v1.0563Z" transform="translate(-322.61159 -245.6795)" style="fill: #00a2e5"/>
10
+ <path d="M454.24479,296.817a35.99867,35.99867,0,0,1-58.2452,28.3032,36.00518,36.00518,0,0,0,0-56.6064,35.99867,35.99867,0,0,1,58.2452,28.3032Z" transform="translate(-322.61159 -245.6795)" style="fill: #00a2e5"/>
11
+ </g>
12
+ </g>
13
+ </g>
14
+ </svg>
assets/img/cards/mastercard.svg CHANGED
@@ -1,13 +1,13 @@
1
- <svg height="471" width="750" viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg">
2
- <g fill="none" fill-rule="evenodd">
3
- <rect fill="#f4f4f4" height="471" rx="40" width="750"/>
4
- <path d="M618.579 422.143c-1.213.03-2.213.432-2.998 1.207-.785.776-1.192 1.746-1.22 2.911.028 1.157.435 2.125 1.22 2.904.785.78 1.785 1.184 2.998 1.215 1.185-.03 2.171-.436 2.96-1.215.787-.78 1.196-1.747 1.226-2.904-.03-1.165-.437-2.135-1.223-2.91-.786-.776-1.774-1.179-2.963-1.208zm0 7.329c-.925-.023-1.687-.336-2.287-.94-.6-.602-.91-1.36-.932-2.27.021-.916.332-1.672.932-2.27.6-.599 1.362-.909 2.287-.93.904.021 1.655.331 2.25.93.596.598.905 1.354.927 2.27-.022.91-.33 1.668-.926 2.27-.596.604-1.347.917-2.251.94zm.242-5.139h-1.766v3.826h.817v-1.433h.374l1.16 1.433h.978l-1.25-1.443c.39-.05.69-.176.901-.38.21-.204.317-.465.32-.781-.004-.378-.137-.675-.4-.891-.264-.216-.642-.326-1.134-.33zm-.01.717c.219 0 .39.043.515.127a.434.434 0 0 1 .19.378.446.446 0 0 1-.19.386c-.124.086-.296.129-.515.129h-.939v-1.02zm-458.605 2.703h-8.755V386.87h8.584v4.982s7.539-6.089 12.017-6.013c8.706.148 13.905 7.559 13.905 7.559s4.217-7.559 13.733-7.559c14.073 0 16.137 12.884 16.137 12.884v28.857h-8.412v-25.422s.03-7.73-9.098-7.73c-9.44 0-10.3 7.73-10.3 7.73v25.423h-8.755v-25.595s-.841-8.073-8.756-8.073c-10.278 0-10.471 8.245-10.471 8.245zm266.254-41.92c-4.478-.075-12.016 6.013-12.016 6.013v-4.971h-8.593v40.874h8.76l-.167-25.593s.193-8.228 10.472-8.228c1.909 0 3.391.463 4.565 1.175v-.033l2.853-7.96c-1.722-.725-3.68-1.239-5.874-1.276zm123.33 0c-4.477-.075-12.015 6.013-12.015 6.013v-4.971h-8.593v40.874h8.76l-.167-25.593s.193-8.228 10.472-8.228c1.909 0 3.391.463 4.565 1.175v-.033l2.853-7.96c-1.722-.725-3.68-1.239-5.874-1.276zm-305.653-.167c-13.103 0-20.037 11.784-20.072 21.629-.036 10.091 7.894 21.73 20.44 21.73 7.32 0 13.334-5.407 13.334-5.407l-.016 4.164h8.618V386.86h-8.648v5.155s-5.647-6.348-13.656-6.348zm1.678 8.33c7.04 0 12.754 6.126 12.754 13.668 0 7.543-5.715 13.636-12.754 13.636-7.04 0-12.721-6.093-12.721-13.636 0-7.542 5.681-13.669 12.72-13.669zm249.646-8.33c-13.103 0-20.037 11.784-20.072 21.629-.036 10.091 7.894 21.73 20.44 21.73 7.32 0 13.334-5.407 13.334-5.407l-.016 4.164h8.618V386.86h-8.648v5.155s-5.647-6.348-13.656-6.348zm1.678 8.33c7.04 0 12.754 6.126 12.754 13.668 0 7.543-5.715 13.636-12.754 13.636-7.04 0-12.721-6.093-12.721-13.636 0-7.542 5.681-13.669 12.72-13.669zm81.066-8.33c-13.102 0-20.036 11.784-20.071 21.629-.036 10.091 7.893 21.73 20.44 21.73 7.32 0 13.334-5.407 13.334-5.407l-.016 4.164h8.618v-57.078h-8.648v21.31s-5.648-6.348-13.657-6.348zm1.678 8.33c7.04 0 12.755 6.126 12.755 13.668 0 7.543-5.715 13.636-12.755 13.636s-12.72-6.093-12.72-13.636c0-7.542 5.68-13.669 12.72-13.669zm-287.148 35.13c-8.926 0-17.167-5.497-17.167-5.497l3.777-5.84s7.797 3.607 13.39 3.607c3.634 0 9.712-1.174 9.785-4.81.078-3.842-10.214-4.981-10.214-4.981s-15.364-.21-15.364-12.883c0-7.97 7.673-13.055 17.51-13.055 5.684 0 16.308 4.981 16.308 4.981l-4.291 6.7s-8.204-3.28-12.532-3.436c-3.655-.132-8.069 1.62-8.069 4.81 0 8.668 25.58-.676 25.58 16.834 0 11.487-10.418 13.57-18.713 13.57zm32.93-54.108v11.892h-7.619v8.597h7.62v20.555s-.675 13.904 14.264 13.904c4.13 0 12.218-3.056 12.218-3.056l-3.457-8.934s-3.217 2.745-6.848 2.653c-6.904-.174-6.713-4.6-6.713-4.6v-20.524h14.233v-8.595h-14.232v-11.891h-9.465zm51.858 11.15c-14.05 0-21.07 11.58-21.012 21.63.06 10.335 6.392 21.965 21.85 21.965 6.617 0 15.91-5.81 15.91-5.81L390.277 417s-6.341 4.5-11.915 4.5c-11.16 0-11.882-10.915-11.882-10.915h29.872s2.229-24.416-18.83-24.416zm-1.276 8.028c.331-.02.687 0 1.04 0 10.514 0 10.44 9.94 10.44 9.94H366.48s-.503-9.356 9.767-9.94zm90.132 22.699l4.006 8.017s-6.349 4.13-13.474 4.13c-14.751 0-22.943-11.11-22.943-21.621 0-16.52 13.036-21.378 21.85-21.378 8.001 0 14.931 4.616 14.931 4.616l-4.491 8.016s-2.723-4.25-10.682-4.25c-7.946 0-12.14 6.854-12.14 13.36 0 7.291 4.881 13.483 12.261 13.483 5.79 0 10.682-4.373 10.682-4.373z"
5
- fill="#000"/>
6
- <path d="M624.508 278.631v-5.52h-1.44l-1.658 3.796-1.657-3.796h-1.44v5.52h1.017v-4.164l1.553 3.59h1.055l1.553-3.6v4.174zm-9.123 0v-4.578h1.845v-.933h-4.698v.933h1.845v4.578zm9.412-82.071c0 85.425-69.077 154.676-154.288 154.676-85.21 0-154.288-69.25-154.288-154.676S385.298 41.883 470.51 41.883c85.21 0 154.288 69.251 154.288 154.677z"
7
- fill="#f79f1a"/>
8
- <path d="M434.46 196.56c0 85.425-69.078 154.676-154.288 154.676-85.212 0-154.288-69.25-154.288-154.676S194.96 41.883 280.172 41.883c85.21 0 154.287 69.251 154.287 154.677z"
9
- fill="#ea001b"/>
10
- <path d="M375.34 74.797c-35.999 28.317-59.107 72.318-59.107 121.748s23.108 93.466 59.108 121.782c35.999-28.316 59.107-72.352 59.107-121.782s-23.108-93.431-59.107-121.748z"
11
- fill="#ff5f01"/>
12
- </g>
13
  </svg>
1
+ <svg height="471" width="750" viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg">
2
+ <g fill="none" fill-rule="evenodd">
3
+ <rect fill="#f4f4f4" height="471" rx="40" width="750"/>
4
+ <path d="M618.579 422.143c-1.213.03-2.213.432-2.998 1.207-.785.776-1.192 1.746-1.22 2.911.028 1.157.435 2.125 1.22 2.904.785.78 1.785 1.184 2.998 1.215 1.185-.03 2.171-.436 2.96-1.215.787-.78 1.196-1.747 1.226-2.904-.03-1.165-.437-2.135-1.223-2.91-.786-.776-1.774-1.179-2.963-1.208zm0 7.329c-.925-.023-1.687-.336-2.287-.94-.6-.602-.91-1.36-.932-2.27.021-.916.332-1.672.932-2.27.6-.599 1.362-.909 2.287-.93.904.021 1.655.331 2.25.93.596.598.905 1.354.927 2.27-.022.91-.33 1.668-.926 2.27-.596.604-1.347.917-2.251.94zm.242-5.139h-1.766v3.826h.817v-1.433h.374l1.16 1.433h.978l-1.25-1.443c.39-.05.69-.176.901-.38.21-.204.317-.465.32-.781-.004-.378-.137-.675-.4-.891-.264-.216-.642-.326-1.134-.33zm-.01.717c.219 0 .39.043.515.127a.434.434 0 0 1 .19.378.446.446 0 0 1-.19.386c-.124.086-.296.129-.515.129h-.939v-1.02zm-458.605 2.703h-8.755V386.87h8.584v4.982s7.539-6.089 12.017-6.013c8.706.148 13.905 7.559 13.905 7.559s4.217-7.559 13.733-7.559c14.073 0 16.137 12.884 16.137 12.884v28.857h-8.412v-25.422s.03-7.73-9.098-7.73c-9.44 0-10.3 7.73-10.3 7.73v25.423h-8.755v-25.595s-.841-8.073-8.756-8.073c-10.278 0-10.471 8.245-10.471 8.245zm266.254-41.92c-4.478-.075-12.016 6.013-12.016 6.013v-4.971h-8.593v40.874h8.76l-.167-25.593s.193-8.228 10.472-8.228c1.909 0 3.391.463 4.565 1.175v-.033l2.853-7.96c-1.722-.725-3.68-1.239-5.874-1.276zm123.33 0c-4.477-.075-12.015 6.013-12.015 6.013v-4.971h-8.593v40.874h8.76l-.167-25.593s.193-8.228 10.472-8.228c1.909 0 3.391.463 4.565 1.175v-.033l2.853-7.96c-1.722-.725-3.68-1.239-5.874-1.276zm-305.653-.167c-13.103 0-20.037 11.784-20.072 21.629-.036 10.091 7.894 21.73 20.44 21.73 7.32 0 13.334-5.407 13.334-5.407l-.016 4.164h8.618V386.86h-8.648v5.155s-5.647-6.348-13.656-6.348zm1.678 8.33c7.04 0 12.754 6.126 12.754 13.668 0 7.543-5.715 13.636-12.754 13.636-7.04 0-12.721-6.093-12.721-13.636 0-7.542 5.681-13.669 12.72-13.669zm249.646-8.33c-13.103 0-20.037 11.784-20.072 21.629-.036 10.091 7.894 21.73 20.44 21.73 7.32 0 13.334-5.407 13.334-5.407l-.016 4.164h8.618V386.86h-8.648v5.155s-5.647-6.348-13.656-6.348zm1.678 8.33c7.04 0 12.754 6.126 12.754 13.668 0 7.543-5.715 13.636-12.754 13.636-7.04 0-12.721-6.093-12.721-13.636 0-7.542 5.681-13.669 12.72-13.669zm81.066-8.33c-13.102 0-20.036 11.784-20.071 21.629-.036 10.091 7.893 21.73 20.44 21.73 7.32 0 13.334-5.407 13.334-5.407l-.016 4.164h8.618v-57.078h-8.648v21.31s-5.648-6.348-13.657-6.348zm1.678 8.33c7.04 0 12.755 6.126 12.755 13.668 0 7.543-5.715 13.636-12.755 13.636s-12.72-6.093-12.72-13.636c0-7.542 5.68-13.669 12.72-13.669zm-287.148 35.13c-8.926 0-17.167-5.497-17.167-5.497l3.777-5.84s7.797 3.607 13.39 3.607c3.634 0 9.712-1.174 9.785-4.81.078-3.842-10.214-4.981-10.214-4.981s-15.364-.21-15.364-12.883c0-7.97 7.673-13.055 17.51-13.055 5.684 0 16.308 4.981 16.308 4.981l-4.291 6.7s-8.204-3.28-12.532-3.436c-3.655-.132-8.069 1.62-8.069 4.81 0 8.668 25.58-.676 25.58 16.834 0 11.487-10.418 13.57-18.713 13.57zm32.93-54.108v11.892h-7.619v8.597h7.62v20.555s-.675 13.904 14.264 13.904c4.13 0 12.218-3.056 12.218-3.056l-3.457-8.934s-3.217 2.745-6.848 2.653c-6.904-.174-6.713-4.6-6.713-4.6v-20.524h14.233v-8.595h-14.232v-11.891h-9.465zm51.858 11.15c-14.05 0-21.07 11.58-21.012 21.63.06 10.335 6.392 21.965 21.85 21.965 6.617 0 15.91-5.81 15.91-5.81L390.277 417s-6.341 4.5-11.915 4.5c-11.16 0-11.882-10.915-11.882-10.915h29.872s2.229-24.416-18.83-24.416zm-1.276 8.028c.331-.02.687 0 1.04 0 10.514 0 10.44 9.94 10.44 9.94H366.48s-.503-9.356 9.767-9.94zm90.132 22.699l4.006 8.017s-6.349 4.13-13.474 4.13c-14.751 0-22.943-11.11-22.943-21.621 0-16.52 13.036-21.378 21.85-21.378 8.001 0 14.931 4.616 14.931 4.616l-4.491 8.016s-2.723-4.25-10.682-4.25c-7.946 0-12.14 6.854-12.14 13.36 0 7.291 4.881 13.483 12.261 13.483 5.79 0 10.682-4.373 10.682-4.373z"
5
+ fill="#000"/>
6
+ <path d="M624.508 278.631v-5.52h-1.44l-1.658 3.796-1.657-3.796h-1.44v5.52h1.017v-4.164l1.553 3.59h1.055l1.553-3.6v4.174zm-9.123 0v-4.578h1.845v-.933h-4.698v.933h1.845v4.578zm9.412-82.071c0 85.425-69.077 154.676-154.288 154.676-85.21 0-154.288-69.25-154.288-154.676S385.298 41.883 470.51 41.883c85.21 0 154.288 69.251 154.288 154.677z"
7
+ fill="#f79f1a"/>
8
+ <path d="M434.46 196.56c0 85.425-69.078 154.676-154.288 154.676-85.212 0-154.288-69.25-154.288-154.676S194.96 41.883 280.172 41.883c85.21 0 154.287 69.251 154.287 154.677z"
9
+ fill="#ea001b"/>
10
+ <path d="M375.34 74.797c-35.999 28.317-59.107 72.318-59.107 121.748s23.108 93.466 59.108 121.782c35.999-28.316 59.107-72.352 59.107-121.782s-23.108-93.431-59.107-121.748z"
11
+ fill="#ff5f01"/>
12
+ </g>
13
  </svg>
assets/img/cards/visa.svg CHANGED
@@ -1,9 +1,9 @@
1
- <svg height="471" width="750" viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg">
2
- <g fill="none" fill-rule="evenodd">
3
- <rect fill="#0e4595" height="471" rx="40" width="750"/>
4
- <path d="M278.197 334.228l33.361-195.763h53.36l-33.385 195.763zm246.11-191.54c-10.572-3.966-27.136-8.222-47.822-8.222-52.725 0-89.865 26.55-90.18 64.603-.298 28.13 26.513 43.822 46.753 53.186 20.77 9.594 27.752 15.714 27.654 24.283-.132 13.121-16.587 19.116-31.923 19.116-21.357 0-32.703-2.966-50.226-10.276l-6.876-3.111-7.49 43.824c12.464 5.464 35.51 10.198 59.438 10.443 56.09 0 92.501-26.246 92.916-66.882.2-22.268-14.016-39.216-44.8-53.188-18.65-9.055-30.072-15.099-29.951-24.268 0-8.137 9.667-16.839 30.556-16.839 17.45-.27 30.089 3.535 39.937 7.5l4.781 2.26 7.234-42.43m137.307-4.222h-41.231c-12.774 0-22.332 3.487-27.942 16.234l-79.245 179.404h56.032s9.161-24.123 11.233-29.418c6.124 0 60.554.084 68.337.084 1.596 6.853 6.491 29.334 6.491 29.334h49.513zm-65.418 126.407c4.413-11.279 21.26-54.723 21.26-54.723-.316.522 4.38-11.334 7.075-18.684l3.606 16.879s10.217 46.728 12.352 56.528zM232.904 138.466l-52.24 133.496-5.567-27.13c-9.725-31.273-40.025-65.155-73.898-82.118l47.766 171.203 56.456-.065 84.004-195.386z"
5
- fill="#fff"/>
6
- <path d="M131.92 138.465H45.879l-.681 4.073c66.938 16.204 111.231 55.363 129.618 102.414l-18.71-89.96c-3.23-12.395-12.597-16.094-24.186-16.526"
7
- fill="#fff"/>
8
- </g>
9
  </svg>
1
+ <svg height="471" width="750" viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg">
2
+ <g fill="none" fill-rule="evenodd">
3
+ <rect fill="#0e4595" height="471" rx="40" width="750"/>
4
+ <path d="M278.197 334.228l33.361-195.763h53.36l-33.385 195.763zm246.11-191.54c-10.572-3.966-27.136-8.222-47.822-8.222-52.725 0-89.865 26.55-90.18 64.603-.298 28.13 26.513 43.822 46.753 53.186 20.77 9.594 27.752 15.714 27.654 24.283-.132 13.121-16.587 19.116-31.923 19.116-21.357 0-32.703-2.966-50.226-10.276l-6.876-3.111-7.49 43.824c12.464 5.464 35.51 10.198 59.438 10.443 56.09 0 92.501-26.246 92.916-66.882.2-22.268-14.016-39.216-44.8-53.188-18.65-9.055-30.072-15.099-29.951-24.268 0-8.137 9.667-16.839 30.556-16.839 17.45-.27 30.089 3.535 39.937 7.5l4.781 2.26 7.234-42.43m137.307-4.222h-41.231c-12.774 0-22.332 3.487-27.942 16.234l-79.245 179.404h56.032s9.161-24.123 11.233-29.418c6.124 0 60.554.084 68.337.084 1.596 6.853 6.491 29.334 6.491 29.334h49.513zm-65.418 126.407c4.413-11.279 21.26-54.723 21.26-54.723-.316.522 4.38-11.334 7.075-18.684l3.606 16.879s10.217 46.728 12.352 56.528zM232.904 138.466l-52.24 133.496-5.567-27.13c-9.725-31.273-40.025-65.155-73.898-82.118l47.766 171.203 56.456-.065 84.004-195.386z"
5
+ fill="#fff"/>
6
+ <path d="M131.92 138.465H45.879l-.681 4.073c66.938 16.204 111.231 55.363 129.618 102.414l-18.71-89.96c-3.23-12.395-12.597-16.094-24.186-16.526"
7
+ fill="#fff"/>
8
+ </g>
9
  </svg>
assets/img/chrome.svg CHANGED
@@ -1,105 +1,105 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="1 1 176 176">
3
- <defs>
4
- <circle id="a" cy="96" cx="96" r="88"/>
5
- </defs>
6
- <clipPath id="b">
7
- <use width="100%" overflow="visible" xlink:href="#a" height="100%"/>
8
- </clipPath>
9
- <g transform="translate(-7 -7)" clip-path="url(#b)">
10
- <path d="m21.97 8v108h39.39l34.64-60h88v-48z" fill="#db4437"/>
11
- <linearGradient id="c" y2="44.354" gradientUnits="userSpaceOnUse" y1="75.021" x2="81.837" x1="29.337">
12
- <stop stop-color="#A52714" stop-opacity=".6" offset="0"/>
13
- <stop stop-color="#A52714" stop-opacity="0" offset=".66"/>
14
- </linearGradient>
15
- <path d="m21.97 8v108h39.39l34.64-60h88v-48z" fill="url(#c)"/>
16
- </g>
17
- <path clip-path="url(#b)" fill-opacity=".15" d="m62.31 115.65l-39.83-68.31-0.58 1 39.54 67.8z" transform="translate(-7 -7)" fill="#3e2723"/>
18
- <g transform="translate(-7 -7)" clip-path="url(#b)">
19
- <path d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z" fill="#0f9d58"/>
20
- <linearGradient id="d" y2="130.33" gradientUnits="userSpaceOnUse" y1="164.5" x2="52.538" x1="110.87">
21
- <stop stop-color="#055524" stop-opacity=".4" offset="0"/>
22
- <stop stop-color="#055524" stop-opacity="0" offset=".33"/>
23
- </linearGradient>
24
- <path d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z" fill="url(#d)"/>
25
- </g>
26
- <path clip-path="url(#b)" fill-opacity=".15" d="m129.84 117.33l-0.83-0.48-38.39 67.15h1.15l38.1-66.64z" transform="translate(-7 -7)" fill="#263238"/>
27
- <g transform="translate(-7 -7)" clip-path="url(#b)">
28
- <defs>
29
- <path id="e" d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z"/>
30
- </defs>
31
- <clipPath id="f">
32
- <use width="100%" overflow="visible" xlink:href="#e" height="100%"/>
33
- </clipPath>
34
- <g clip-path="url(#f)">
35
- <path d="m96 56l34.65 60-38.88 68h92.23v-128z" fill="#ffcd40"/>
36
- <linearGradient id="g" y2="114.13" gradientUnits="userSpaceOnUse" y1="49.804" x2="136.55" x1="121.86">
37
- <stop stop-color="#EA6100" stop-opacity=".3" offset="0"/>
38
- <stop stop-color="#EA6100" stop-opacity="0" offset=".66"/>
39
- </linearGradient>
40
- <path d="m96 56l34.65 60-38.88 68h92.23v-128z" fill="url(#g)"/>
41
- </g>
42
- </g>
43
- <g transform="translate(-7 -7)" clip-path="url(#b)">
44
- <path d="m96 56l34.65 60-38.88 68h92.23v-128z" fill="#ffcd40"/>
45
- <path d="m96 56l34.65 60-38.88 68h92.23v-128z" fill="url(#g)"/>
46
- </g>
47
- <g transform="translate(-7 -7)" clip-path="url(#b)">
48
- <defs>
49
- <path id="i" d="m96 56l34.65 60-38.88 68h92.23v-128z"/>
50
- </defs>
51
- <clipPath id="j">
52
- <use width="100%" overflow="visible" xlink:href="#i" height="100%"/>
53
- </clipPath>
54
- <g clip-path="url(#j)">
55
- <path d="m21.97 8v108h39.39l34.64-60h88v-48z" fill="#db4437"/>
56
- <path d="m21.97 8v108h39.39l34.64-60h88v-48z" fill="url(#c)"/>
57
- </g>
58
- </g>
59
- <radialGradient id="l" gradientUnits="userSpaceOnUse" cy="55.948" cx="668.18" gradientTransform="translate(-576)" r="84.078">
60
- <stop stop-color="#3E2723" stop-opacity=".2" offset="0"/>
61
- <stop stop-color="#3E2723" stop-opacity="0" offset="1"/>
62
- </radialGradient>
63
- <path clip-path="url(#b)" d="m96 56v20.95l78.4-20.95z" transform="translate(-7 -7)" fill="url(#l)"/>
64
- <g transform="translate(-7 -7)" clip-path="url(#b)">
65
- <defs>
66
- <path id="m" d="m21.97 8v40.34l39.39 67.66 34.64-60h88v-48z"/>
67
- </defs>
68
- <clipPath id="n">
69
- <use width="100%" overflow="visible" xlink:href="#m" height="100%"/>
70
- </clipPath>
71
- <g clip-path="url(#n)">
72
- <path d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z" fill="#0f9d58"/>
73
- <path d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z" fill="url(#d)"/>
74
- </g>
75
- </g>
76
- <radialGradient id="p" gradientUnits="userSpaceOnUse" cy="48.52" cx="597.88" gradientTransform="translate(-576)" r="78.044">
77
- <stop stop-color="#3E2723" stop-opacity=".2" offset="0"/>
78
- <stop stop-color="#3E2723" stop-opacity="0" offset="1"/>
79
- </radialGradient>
80
- <path clip-path="url(#b)" d="m21.97 48.45l57.25 57.24-17.86 10.31z" transform="translate(-7 -7)" fill="url(#p)"/>
81
- <radialGradient id="q" gradientUnits="userSpaceOnUse" cy="96.138" cx="671.84" gradientTransform="translate(-576)" r="87.87">
82
- <stop stop-color="#263238" stop-opacity=".2" offset="0"/>
83
- <stop stop-color="#263238" stop-opacity="0" offset="1"/>
84
- </radialGradient>
85
- <path clip-path="url(#b)" d="m91.83 183.89l20.96-78.2 17.86 10.31z" transform="translate(-7 -7)" fill="url(#q)"/>
86
- <g transform="translate(-7 -7)" clip-path="url(#b)">
87
- <circle cy="96" cx="96" r="40" fill="#f1f1f1"/>
88
- <circle cy="96" cx="96" r="32" fill="#4285f4"/>
89
- </g>
90
- <g transform="translate(-7 -7)" clip-path="url(#b)">
91
- <path fill-opacity=".2" d="m96 55c-22.09 0-40 17.91-40 40v1c0-22.09 17.91-40 40-40h88v-1h-88z" fill="#3e2723"/>
92
- <path fill-opacity=".1" d="m130.6 116c-6.92 11.94-19.81 20-34.6 20-14.8 0-27.69-8.06-34.61-20h-0.04l-53.35-91.52v1l53.36 91.52h0.04c6.92 11.94 19.81 20 34.61 20 14.79 0 27.68-8.05 34.6-20h0.05v-1h-0.06z" fill="#fff"/>
93
- <path opacity=".1" d="m97 56c-0.17 0-0.33 0.02-0.5 0.03 21.86 0.27 39.5 18.05 39.5 39.97s-17.64 39.7-39.5 39.97c0.17 0 0.33 0.03 0.5 0.03 22.09 0 40-17.91 40-40s-17.91-40-40-40z" fill="#3e2723"/>
94
- <path fill-opacity=".2" d="m131 117.33c3.4-5.88 5.37-12.68 5.37-19.96 0-4.22-0.66-8.28-1.87-12.09 0.95 3.42 1.5 7.01 1.5 10.73 0 7.28-1.97 14.08-5.37 19.96l0.02 0.04-38.88 68h1.16l38.09-66.64-0.02-0.04z" fill="#fff"/>
95
- </g>
96
- <g transform="translate(-7 -7)" clip-path="url(#b)">
97
- <path fill-opacity=".2" d="m96 9c48.43 0 87.72 39.13 87.99 87.5 0-0.17 0.01-0.33 0.01-0.5 0-48.6-39.4-88-88-88s-88 39.4-88 88c0 0.17 0.01 0.33 0.01 0.5 0.27-48.37 39.56-87.5 87.99-87.5z" fill="#fff"/>
98
- <path fill-opacity=".15" d="m96 183c48.43 0 87.72-39.13 87.99-87.5 0 0.17 0.01 0.33 0.01 0.5 0 48.6-39.4 88-88 88s-88-39.4-88-88c0-0.17 0.01-0.33 0.01-0.5 0.27 48.37 39.56 87.5 87.99 87.5z" fill="#3e2723"/>
99
- </g>
100
- <radialGradient id="r" gradientUnits="userSpaceOnUse" cy="32.014" cx="34.286" gradientTransform="translate(-7 -7)" r="176.75">
101
- <stop stop-color="#fff" stop-opacity=".1" offset="0"/>
102
- <stop stop-color="#fff" stop-opacity="0" offset="1"/>
103
- </radialGradient>
104
- <circle cy="89" cx="89" r="88" fill="url(#r)"/>
105
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="1 1 176 176">
3
+ <defs>
4
+ <circle id="a" cy="96" cx="96" r="88"/>
5
+ </defs>
6
+ <clipPath id="b">
7
+ <use width="100%" overflow="visible" xlink:href="#a" height="100%"/>
8
+ </clipPath>
9
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
10
+ <path d="m21.97 8v108h39.39l34.64-60h88v-48z" fill="#db4437"/>
11
+ <linearGradient id="c" y2="44.354" gradientUnits="userSpaceOnUse" y1="75.021" x2="81.837" x1="29.337">
12
+ <stop stop-color="#A52714" stop-opacity=".6" offset="0"/>
13
+ <stop stop-color="#A52714" stop-opacity="0" offset=".66"/>
14
+ </linearGradient>
15
+ <path d="m21.97 8v108h39.39l34.64-60h88v-48z" fill="url(#c)"/>
16
+ </g>
17
+ <path clip-path="url(#b)" fill-opacity=".15" d="m62.31 115.65l-39.83-68.31-0.58 1 39.54 67.8z" transform="translate(-7 -7)" fill="#3e2723"/>
18
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
19
+ <path d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z" fill="#0f9d58"/>
20
+ <linearGradient id="d" y2="130.33" gradientUnits="userSpaceOnUse" y1="164.5" x2="52.538" x1="110.87">
21
+ <stop stop-color="#055524" stop-opacity=".4" offset="0"/>
22
+ <stop stop-color="#055524" stop-opacity="0" offset=".33"/>
23
+ </linearGradient>
24
+ <path d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z" fill="url(#d)"/>
25
+ </g>
26
+ <path clip-path="url(#b)" fill-opacity=".15" d="m129.84 117.33l-0.83-0.48-38.39 67.15h1.15l38.1-66.64z" transform="translate(-7 -7)" fill="#263238"/>
27
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
28
+ <defs>
29
+ <path id="e" d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z"/>
30
+ </defs>
31
+ <clipPath id="f">
32
+ <use width="100%" overflow="visible" xlink:href="#e" height="100%"/>
33
+ </clipPath>
34
+ <g clip-path="url(#f)">
35
+ <path d="m96 56l34.65 60-38.88 68h92.23v-128z" fill="#ffcd40"/>
36
+ <linearGradient id="g" y2="114.13" gradientUnits="userSpaceOnUse" y1="49.804" x2="136.55" x1="121.86">
37
+ <stop stop-color="#EA6100" stop-opacity=".3" offset="0"/>
38
+ <stop stop-color="#EA6100" stop-opacity="0" offset=".66"/>
39
+ </linearGradient>
40
+ <path d="m96 56l34.65 60-38.88 68h92.23v-128z" fill="url(#g)"/>
41
+ </g>
42
+ </g>
43
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
44
+ <path d="m96 56l34.65 60-38.88 68h92.23v-128z" fill="#ffcd40"/>
45
+ <path d="m96 56l34.65 60-38.88 68h92.23v-128z" fill="url(#g)"/>
46
+ </g>
47
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
48
+ <defs>
49
+ <path id="i" d="m96 56l34.65 60-38.88 68h92.23v-128z"/>
50
+ </defs>
51
+ <clipPath id="j">
52
+ <use width="100%" overflow="visible" xlink:href="#i" height="100%"/>
53
+ </clipPath>
54
+ <g clip-path="url(#j)">
55
+ <path d="m21.97 8v108h39.39l34.64-60h88v-48z" fill="#db4437"/>
56
+ <path d="m21.97 8v108h39.39l34.64-60h88v-48z" fill="url(#c)"/>
57
+ </g>
58
+ </g>
59
+ <radialGradient id="l" gradientUnits="userSpaceOnUse" cy="55.948" cx="668.18" gradientTransform="translate(-576)" r="84.078">
60
+ <stop stop-color="#3E2723" stop-opacity=".2" offset="0"/>
61
+ <stop stop-color="#3E2723" stop-opacity="0" offset="1"/>
62
+ </radialGradient>
63
+ <path clip-path="url(#b)" d="m96 56v20.95l78.4-20.95z" transform="translate(-7 -7)" fill="url(#l)"/>
64
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
65
+ <defs>
66
+ <path id="m" d="m21.97 8v40.34l39.39 67.66 34.64-60h88v-48z"/>
67
+ </defs>
68
+ <clipPath id="n">
69
+ <use width="100%" overflow="visible" xlink:href="#m" height="100%"/>
70
+ </clipPath>
71
+ <g clip-path="url(#n)">
72
+ <path d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z" fill="#0f9d58"/>
73
+ <path d="m8 184h83.77l38.88-38.88v-29.12h-69.29l-53.36-91.52z" fill="url(#d)"/>
74
+ </g>
75
+ </g>
76
+ <radialGradient id="p" gradientUnits="userSpaceOnUse" cy="48.52" cx="597.88" gradientTransform="translate(-576)" r="78.044">
77
+ <stop stop-color="#3E2723" stop-opacity=".2" offset="0"/>
78
+ <stop stop-color="#3E2723" stop-opacity="0" offset="1"/>
79
+ </radialGradient>
80
+ <path clip-path="url(#b)" d="m21.97 48.45l57.25 57.24-17.86 10.31z" transform="translate(-7 -7)" fill="url(#p)"/>
81
+ <radialGradient id="q" gradientUnits="userSpaceOnUse" cy="96.138" cx="671.84" gradientTransform="translate(-576)" r="87.87">
82
+ <stop stop-color="#263238" stop-opacity=".2" offset="0"/>
83
+ <stop stop-color="#263238" stop-opacity="0" offset="1"/>
84
+ </radialGradient>
85
+ <path clip-path="url(#b)" d="m91.83 183.89l20.96-78.2 17.86 10.31z" transform="translate(-7 -7)" fill="url(#q)"/>
86
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
87
+ <circle cy="96" cx="96" r="40" fill="#f1f1f1"/>
88
+ <circle cy="96" cx="96" r="32" fill="#4285f4"/>
89
+ </g>
90
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
91
+ <path fill-opacity=".2" d="m96 55c-22.09 0-40 17.91-40 40v1c0-22.09 17.91-40 40-40h88v-1h-88z" fill="#3e2723"/>
92
+ <path fill-opacity=".1" d="m130.6 116c-6.92 11.94-19.81 20-34.6 20-14.8 0-27.69-8.06-34.61-20h-0.04l-53.35-91.52v1l53.36 91.52h0.04c6.92 11.94 19.81 20 34.61 20 14.79 0 27.68-8.05 34.6-20h0.05v-1h-0.06z" fill="#fff"/>
93
+ <path opacity=".1" d="m97 56c-0.17 0-0.33 0.02-0.5 0.03 21.86 0.27 39.5 18.05 39.5 39.97s-17.64 39.7-39.5 39.97c0.17 0 0.33 0.03 0.5 0.03 22.09 0 40-17.91 40-40s-17.91-40-40-40z" fill="#3e2723"/>
94
+ <path fill-opacity=".2" d="m131 117.33c3.4-5.88 5.37-12.68 5.37-19.96 0-4.22-0.66-8.28-1.87-12.09 0.95 3.42 1.5 7.01 1.5 10.73 0 7.28-1.97 14.08-5.37 19.96l0.02 0.04-38.88 68h1.16l38.09-66.64-0.02-0.04z" fill="#fff"/>
95
+ </g>
96
+ <g transform="translate(-7 -7)" clip-path="url(#b)">
97
+ <path fill-opacity=".2" d="m96 9c48.43 0 87.72 39.13 87.99 87.5 0-0.17 0.01-0.33 0.01-0.5 0-48.6-39.4-88-88-88s-88 39.4-88 88c0 0.17 0.01 0.33 0.01 0.5 0.27-48.37 39.56-87.5 87.99-87.5z" fill="#fff"/>
98
+ <path fill-opacity=".15" d="m96 183c48.43 0 87.72-39.13 87.99-87.5 0 0.17 0.01 0.33 0.01 0.5 0 48.6-39.4 88-88 88s-88-39.4-88-88c0-0.17 0.01-0.33 0.01-0.5 0.27 48.37 39.56 87.5 87.99 87.5z" fill="#3e2723"/>
99
+ </g>
100
+ <radialGradient id="r" gradientUnits="userSpaceOnUse" cy="32.014" cx="34.286" gradientTransform="translate(-7 -7)" r="176.75">
101
+ <stop stop-color="#fff" stop-opacity=".1" offset="0"/>
102
+ <stop stop-color="#fff" stop-opacity="0" offset="1"/>
103
+ </radialGradient>
104
+ <circle cy="89" cx="89" r="88" fill="url(#r)"/>
105
+ </svg>
assets/img/edge.svg CHANGED
@@ -1 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 60 64" xmlns="http://www.w3.org/2000/svg"><path d="m18.87 38c0 1.54 0.23 2.94 0.7 4.2 0.5 1.24 1.15 2.35 1.98 3.32s1.8 1.8 2.94 2.5c1.1 0.7 2.3 1.28 3.58 1.73 1.27 0.46 2.6 0.8 3.95 1.02 1.37 0.22 2.7 0.33 4.05 0.33 1.7 0 3.28-0.13 4.78-0.4 1.5-0.28 2.96-0.65 4.4-1.12s2.83-1.03 4.22-1.67c1.4-0.64 2.82-1.34 4.28-2.12v13.56c-1.63 0.8-3.23 1.47-4.83 2.05-1.6 0.56-3.2 1.05-4.83 1.44-1.63 0.4-3.28 0.7-4.97 0.88s-3.42 0.28-5.22 0.28c-2.4 0-4.72-0.28-6.95-0.83s-4.32-1.34-6.28-2.38-3.75-2.3-5.38-3.78c-1.64-1.48-3.03-3.15-4.2-5s-2.07-3.88-2.72-6.06c-0.63-2.18-0.95-4.5-0.95-6.96 0-2.63 0.36-5.13 1.08-7.52 0.73-2.4 1.76-4.58 3.12-6.58 1.35-2 3-3.78 4.95-5.33s4.14-2.82 6.58-3.8c-1.33 1.33-2.37 2.9-3.1 4.73-0.75 1.82-1.22 3.65-1.43 5.48h22.78c0-2.3-0.23-4.3-0.7-6.02s-1.22-3.15-2.27-4.28c-1.04-1.14-2.38-2-4.03-2.56-1.65-0.57-3.64-0.86-5.97-0.86-2.75 0-5.5 0.4-8.25 1.23-2.75 0.8-5.36 1.95-7.84 3.4-2.48 1.47-4.76 3.2-6.84 5.18-2.08 2-3.83 4.15-5.25 6.48 0.3-2.7 0.9-5.3 1.73-7.77s1.93-4.77 3.25-6.9c1.32-2.1 2.87-4.02 4.64-5.74s3.73-3.2 5.9-4.4 4.47-2.17 6.97-2.82c2.5-0.57 5.16-0.91 7.96-0.91 1.64 0 3.27 0.15 4.9 0.44 1.63 0.3 3.22 0.7 4.77 1.22 3.08 1.06 5.83 2.54 8.25 4.42 2.42 1.9 4.45 4.06 6.1 6.53s2.9 5.2 3.76 8.17 1.3 6.06 1.3 9.27v7.95h-40.91z" fill="#0078D7"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 60 64" xmlns="http://www.w3.org/2000/svg"><path d="m18.87 38c0 1.54 0.23 2.94 0.7 4.2 0.5 1.24 1.15 2.35 1.98 3.32s1.8 1.8 2.94 2.5c1.1 0.7 2.3 1.28 3.58 1.73 1.27 0.46 2.6 0.8 3.95 1.02 1.37 0.22 2.7 0.33 4.05 0.33 1.7 0 3.28-0.13 4.78-0.4 1.5-0.28 2.96-0.65 4.4-1.12s2.83-1.03 4.22-1.67c1.4-0.64 2.82-1.34 4.28-2.12v13.56c-1.63 0.8-3.23 1.47-4.83 2.05-1.6 0.56-3.2 1.05-4.83 1.44-1.63 0.4-3.28 0.7-4.97 0.88s-3.42 0.28-5.22 0.28c-2.4 0-4.72-0.28-6.95-0.83s-4.32-1.34-6.28-2.38-3.75-2.3-5.38-3.78c-1.64-1.48-3.03-3.15-4.2-5s-2.07-3.88-2.72-6.06c-0.63-2.18-0.95-4.5-0.95-6.96 0-2.63 0.36-5.13 1.08-7.52 0.73-2.4 1.76-4.58 3.12-6.58 1.35-2 3-3.78 4.95-5.33s4.14-2.82 6.58-3.8c-1.33 1.33-2.37 2.9-3.1 4.73-0.75 1.82-1.22 3.65-1.43 5.48h22.78c0-2.3-0.23-4.3-0.7-6.02s-1.22-3.15-2.27-4.28c-1.04-1.14-2.38-2-4.03-2.56-1.65-0.57-3.64-0.86-5.97-0.86-2.75 0-5.5 0.4-8.25 1.23-2.75 0.8-5.36 1.95-7.84 3.4-2.48 1.47-4.76 3.2-6.84 5.18-2.08 2-3.83 4.15-5.25 6.48 0.3-2.7 0.9-5.3 1.73-7.77s1.93-4.77 3.25-6.9c1.32-2.1 2.87-4.02 4.64-5.74s3.73-3.2 5.9-4.4 4.47-2.17 6.97-2.82c2.5-0.57 5.16-0.91 7.96-0.91 1.64 0 3.27 0.15 4.9 0.44 1.63 0.3 3.22 0.7 4.77 1.22 3.08 1.06 5.83 2.54 8.25 4.42 2.42 1.9 4.45 4.06 6.1 6.53s2.9 5.2 3.76 8.17 1.3 6.06 1.3 9.27v7.95h-40.91z" fill="#0078D7"/></svg>
assets/img/eps.svg CHANGED
@@ -1,86 +1,86 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="300px"
5
- height="200px" viewBox="0 0 300 200" enable-background="new 0 0 300 200" xml:space="preserve">
6
- <g id="Ebene_1">
7
- </g>
8
- <g id="E">
9
- </g>
10
- <g id="EPS-Logo">
11
- </g>
12
- <g id="EPS-Logo_1_">
13
- </g>
14
- <g id="E_1_">
15
- <path fill="#71706F" d="M226.672,106.451L226.672,106.451H205.16c-2.392,0-4.338-1.906-4.338-4.292
16
- c0-2.387,1.946-4.488,4.338-4.488h32.75V81.516h-32.75c-11.43,0-20.73,9.318-20.73,20.721c0,11.401,9.301,20.72,20.73,20.72h21.22
17
- c2.393,0,4.34,1.898,4.34,4.284c0,2.388-1.947,4.145-4.34,4.145h-45.502c-3.862,7.375-7.619,13.697-15.244,16.857h61.038l0,0
18
- c11.238-0.162,20.432-9.672,20.432-20.974C247.104,115.969,237.91,106.613,226.672,106.451z"/>
19
- <g>
20
- <g>
21
- <path fill="none" stroke="#706F6F" stroke-width="4.5655" stroke-miterlimit="10" d="M119.351,184.972"/>
22
- </g>
23
- </g>
24
- <path fill="#71706F" d="M144.21,81.516c-18.232,0-33.082,14.938-33.082,33.293c0,0.217,0,0.702,0,0.702v68.553h16.506v-35.821
25
- h16.541c18.232,0,33.029-15.137,33.029-33.493C177.205,96.396,162.442,81.516,144.21,81.516z M144.21,131.386h-16.575V114.75
26
- c0-9.295,7.4-16.857,16.575-16.857c9.175,0,16.639,7.563,16.639,16.857C160.85,124.047,153.386,131.386,144.21,131.386z"/>
27
- <g>
28
- <g>
29
- <path fill="#C8036F" d="M58.872,148.243c-15.607,0-28.729-11.121-32.279-25.649c0,0-1.026-4.805-1.026-7.968
30
- s0.972-8.017,0.972-8.017c3.576-14.493,16.681-25.285,32.262-25.285c18.326,0,33.363,14.897,33.363,33.223v8.06H43.477
31
- c2.875,5.618,8.689,8.779,15.396,8.779h43.769l0.06-47.523c0-7.085-5.797-12.882-12.882-12.882H27.784
32
- c-7.085,0-12.883,5.622-12.883,12.707v62.035c0,7.085,5.797,13.058,12.883,13.058h62.034c6.359,0,11.663-4.565,12.688-10.536
33
- H58.872z"/>
34
- <path fill="#C8036F" d="M58.801,97.094c-6.679,0-12.489,4.09-15.375,9.357h30.752C71.291,101.184,65.481,97.094,58.801,97.094z"
35
- />
36
- </g>
37
- <path fill="#C8036F" d="M86.896,50.807c0-15.141-12.583-27.414-28.104-27.414c-15.264,0-27.679,11.873-28.086,26.666
38
- c-0.007,0.063-0.001,0.123-0.001,0.188v8.239c0,0.985,0.802,1.959,1.813,1.959h10.339c1.01,0,1.896-0.974,1.896-1.959v-7.678l0,0
39
- c0-7.561,6.297-13.711,14.048-13.711c7.75,0,14.048,6.15,14.048,13.711v7.678c0,0.985,0.819,1.959,1.83,1.959h10.34
40
- c1.01,0,1.878-0.974,1.878-1.959V50.807L86.896,50.807z"/>
41
- </g>
42
- <g>
43
- <path fill="#71706F" d="M162.729,169.666l-1.494,8.464c-0.747,4.277-3.55,6.236-7.349,6.236c-3.219,0-5.709-2.098-4.983-6.23
44
- l1.495-8.47h2.306l-1.496,8.464c-0.456,2.637,0.728,4.14,2.969,4.14c2.305,0,4.276-1.371,4.755-4.134l1.494-8.47H162.729z
45
- M153.678,167.017c0,0.705,0.54,1.038,1.121,1.038c0.727,0,1.517-0.52,1.517-1.495c0-0.685-0.458-1.037-1.06-1.037
46
- C154.509,165.522,153.678,165.999,153.678,167.017z M158.661,166.996c0,0.726,0.56,1.059,1.162,1.059
47
- c0.644,0,1.494-0.52,1.494-1.474c0-0.686-0.498-1.059-1.059-1.059C159.512,165.522,158.661,165.999,158.661,166.996z"/>
48
- <path fill="#71706F" d="M168.299,169.666l-1.037,5.848c0.893-1.203,2.677-1.84,3.923-1.84c2.574,0,4.359,1.509,4.359,4.311
49
- c0,3.966-2.762,6.35-6.29,6.35c-1.37,0-2.533-0.509-3.238-1.795l-0.395,1.525h-2.015l2.554-14.398H168.299z M166.68,179.534
50
- c-0.082,1.704,1.017,2.804,2.615,2.804c2.014,0,3.965-1.558,4.09-3.924c0.083-1.724-1.037-2.74-2.594-2.74
51
- C168.797,175.674,166.804,177.272,166.68,179.534z"/>
52
- <path fill="#71706F" d="M179.742,179.85c-0.083,1.406,1.017,2.553,2.887,2.553c1.037,0,2.406-0.405,3.154-1.111l1.163,1.344
53
- c-1.267,1.162-3.135,1.74-4.712,1.74c-2.948,0-4.672-1.766-4.672-4.465c0-3.592,2.823-6.269,6.436-6.269
54
- c3.302,0,5.17,1.994,4.049,6.208H179.742z M186.302,178.096c0.166-1.757-0.87-2.471-2.594-2.471c-1.557,0-2.99,0.714-3.612,2.471
55
- H186.302z"/>
56
- <path fill="#71706F" d="M193.76,173.881l-0.104,1.354c0.997-1.31,2.2-1.577,3.301-1.577c0.997,0,1.89,0.354,2.367,0.873
57
- l-1.288,1.868c-0.455-0.413-0.913-0.621-1.701-0.621c-1.475,0-2.928,0.884-3.26,2.774l-0.976,5.513h-2.139l1.806-10.184H193.76z"
58
- />
59
- <path fill="#71706F" d="M209.623,173.881l1.079,8.054l3.903-8.054h2.387l-5.354,10.184h-2.513l-1.018-6.719l-1.64,3.339
60
- l-1.785,3.38h-2.491l-1.807-10.184h2.408l1.06,8.054l3.923-8.054H209.623z"/>
61
- <path fill="#71706F" d="M219.739,179.85c-0.083,1.406,1.018,2.553,2.886,2.553c1.038,0,2.408-0.405,3.154-1.111l1.163,1.344
62
- c-1.266,1.162-3.135,1.74-4.712,1.74c-2.948,0-4.671-1.766-4.671-4.465c0-3.592,2.823-6.269,6.436-6.269
63
- c3.301,0,5.17,1.994,4.049,6.208H219.739z M226.3,178.096c0.165-1.757-0.872-2.471-2.596-2.471c-1.557,0-2.989,0.714-3.612,2.471
64
- H226.3z"/>
65
- <path fill="#71706F" d="M233.901,173.881l-1.806,10.184h-2.138l1.806-10.184H233.901z M232.013,171.106
66
- c0,0.726,0.54,1.101,1.121,1.101c0.831,0,1.599-0.541,1.599-1.558c0-0.686-0.52-1.08-1.08-1.08
67
- C232.886,169.569,232.013,170.068,232.013,171.106z"/>
68
- <path fill="#71706F" d="M243.391,176.399c-0.664-0.747-1.515-0.955-2.532-0.955c-1.412,0-2.408,0.478-2.408,1.371
69
- c0,0.747,0.81,1.059,2.014,1.162c1.868,0.166,4.256,0.789,3.758,3.426c-0.354,1.91-2.263,3.031-4.921,3.031
70
- c-1.66,0-3.259-0.373-4.339-1.89l1.391-1.515c0.769,1.058,2.118,1.495,3.322,1.515c1.017,0,2.222-0.374,2.409-1.328
71
- c0.187-0.913-0.623-1.267-2.119-1.412c-1.744-0.166-3.652-0.809-3.652-2.739c0-2.555,2.76-3.447,4.837-3.447
72
- c1.577,0,2.739,0.353,3.694,1.371L243.391,176.399z"/>
73
- <path fill="#71706F" d="M250.141,173.881l-0.975,5.484c-0.313,1.744,0.477,2.95,2.262,2.95c1.682,0,3.114-1.394,3.404-3.097
74
- l0.935-5.338h2.139l-1.806,10.184h-1.931l0.145-1.476c-1.204,1.142-2.388,1.681-3.819,1.681c-2.513,0-4.007-1.801-3.468-4.895
75
- l0.976-5.494H250.141z"/>
76
- <path fill="#71706F" d="M267.294,184.064l0.976-5.451c0.311-1.765-0.29-2.934-2.242-2.934c-1.702,0-3.136,1.369-3.426,3.051
77
- l-0.935,5.334h-2.138l1.807-10.184h1.951l-0.146,1.487c1.185-1.1,2.408-1.642,3.737-1.642c2.491,0,4.111,1.732,3.551,4.868
78
- l-0.976,5.47H267.294z"/>
79
- <path fill="#71706F" d="M274.541,185.47c-0.145,1.405,0.934,1.974,2.741,1.974c1.578,0,3.281-0.882,3.676-3.124l0.311-1.748
80
- c-0.936,1.308-2.637,1.824-3.902,1.824c-2.617,0-4.443-1.558-4.443-4.383c0-4.025,2.989-6.353,6.373-6.353
81
- c1.433,0,2.72,0.68,3.177,1.843l0.353-1.622h2.076l-1.786,10.487c-0.663,3.883-3.55,5.087-6.186,5.087
82
- c-3.156,0-4.899-1.526-4.465-3.985H274.541z M275.144,179.599c0,1.742,1.143,2.802,2.783,2.802c4.421,0,5.604-6.789,1.182-6.789
83
- C277.011,175.611,275.144,177.168,275.144,179.599z"/>
84
- </g>
85
- </g>
86
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="300px"
5
+ height="200px" viewBox="0 0 300 200" enable-background="new 0 0 300 200" xml:space="preserve">
6
+ <g id="Ebene_1">
7
+ </g>
8
+ <g id="E">
9
+ </g>
10
+ <g id="EPS-Logo">
11
+ </g>
12
+ <g id="EPS-Logo_1_">
13
+ </g>
14
+ <g id="E_1_">
15
+ <path fill="#71706F" d="M226.672,106.451L226.672,106.451H205.16c-2.392,0-4.338-1.906-4.338-4.292
16
+ c0-2.387,1.946-4.488,4.338-4.488h32.75V81.516h-32.75c-11.43,0-20.73,9.318-20.73,20.721c0,11.401,9.301,20.72,20.73,20.72h21.22
17
+ c2.393,0,4.34,1.898,4.34,4.284c0,2.388-1.947,4.145-4.34,4.145h-45.502c-3.862,7.375-7.619,13.697-15.244,16.857h61.038l0,0
18
+ c11.238-0.162,20.432-9.672,20.432-20.974C247.104,115.969,237.91,106.613,226.672,106.451z"/>
19
+ <g>
20
+ <g>
21
+ <path fill="none" stroke="#706F6F" stroke-width="4.5655" stroke-miterlimit="10" d="M119.351,184.972"/>
22
+ </g>
23
+ </g>
24
+ <path fill="#71706F" d="M144.21,81.516c-18.232,0-33.082,14.938-33.082,33.293c0,0.217,0,0.702,0,0.702v68.553h16.506v-35.821
25
+ h16.541c18.232,0,33.029-15.137,33.029-33.493C177.205,96.396,162.442,81.516,144.21,81.516z M144.21,131.386h-16.575V114.75
26
+ c0-9.295,7.4-16.857,16.575-16.857c9.175,0,16.639,7.563,16.639,16.857C160.85,124.047,153.386,131.386,144.21,131.386z"/>
27
+ <g>
28
+ <g>
29
+ <path fill="#C8036F" d="M58.872,148.243c-15.607,0-28.729-11.121-32.279-25.649c0,0-1.026-4.805-1.026-7.968
30
+ s0.972-8.017,0.972-8.017c3.576-14.493,16.681-25.285,32.262-25.285c18.326,0,33.363,14.897,33.363,33.223v8.06H43.477
31
+ c2.875,5.618,8.689,8.779,15.396,8.779h43.769l0.06-47.523c0-7.085-5.797-12.882-12.882-12.882H27.784
32
+ c-7.085,0-12.883,5.622-12.883,12.707v62.035c0,7.085,5.797,13.058,12.883,13.058h62.034c6.359,0,11.663-4.565,12.688-10.536
33
+ H58.872z"/>
34
+ <path fill="#C8036F" d="M58.801,97.094c-6.679,0-12.489,4.09-15.375,9.357h30.752C71.291,101.184,65.481,97.094,58.801,97.094z"
35
+ />
36
+ </g>
37
+ <path fill="#C8036F" d="M86.896,50.807c0-15.141-12.583-27.414-28.104-27.414c-15.264,0-27.679,11.873-28.086,26.666
38
+ c-0.007,0.063-0.001,0.123-0.001,0.188v8.239c0,0.985,0.802,1.959,1.813,1.959h10.339c1.01,0,1.896-0.974,1.896-1.959v-7.678l0,0
39
+ c0-7.561,6.297-13.711,14.048-13.711c7.75,0,14.048,6.15,14.048,13.711v7.678c0,0.985,0.819,1.959,1.83,1.959h10.34
40
+ c1.01,0,1.878-0.974,1.878-1.959V50.807L86.896,50.807z"/>
41
+ </g>
42
+ <g>
43
+ <path fill="#71706F" d="M162.729,169.666l-1.494,8.464c-0.747,4.277-3.55,6.236-7.349,6.236c-3.219,0-5.709-2.098-4.983-6.23
44
+ l1.495-8.47h2.306l-1.496,8.464c-0.456,2.637,0.728,4.14,2.969,4.14c2.305,0,4.276-1.371,4.755-4.134l1.494-8.47H162.729z
45
+ M153.678,167.017c0,0.705,0.54,1.038,1.121,1.038c0.727,0,1.517-0.52,1.517-1.495c0-0.685-0.458-1.037-1.06-1.037
46
+ C154.509,165.522,153.678,165.999,153.678,167.017z M158.661,166.996c0,0.726,0.56,1.059,1.162,1.059
47
+ c0.644,0,1.494-0.52,1.494-1.474c0-0.686-0.498-1.059-1.059-1.059C159.512,165.522,158.661,165.999,158.661,166.996z"/>
48
+ <path fill="#71706F" d="M168.299,169.666l-1.037,5.848c0.893-1.203,2.677-1.84,3.923-1.84c2.574,0,4.359,1.509,4.359,4.311
49
+ c0,3.966-2.762,6.35-6.29,6.35c-1.37,0-2.533-0.509-3.238-1.795l-0.395,1.525h-2.015l2.554-14.398H168.299z M166.68,179.534
50
+ c-0.082,1.704,1.017,2.804,2.615,2.804c2.014,0,3.965-1.558,4.09-3.924c0.083-1.724-1.037-2.74-2.594-2.74
51
+ C168.797,175.674,166.804,177.272,166.68,179.534z"/>
52
+ <path fill="#71706F" d="M179.742,179.85c-0.083,1.406,1.017,2.553,2.887,2.553c1.037,0,2.406-0.405,3.154-1.111l1.163,1.344
53
+ c-1.267,1.162-3.135,1.74-4.712,1.74c-2.948,0-4.672-1.766-4.672-4.465c0-3.592,2.823-6.269,6.436-6.269
54
+ c3.302,0,5.17,1.994,4.049,6.208H179.742z M186.302,178.096c0.166-1.757-0.87-2.471-2.594-2.471c-1.557,0-2.99,0.714-3.612,2.471
55
+ H186.302z"/>
56
+ <path fill="#71706F" d="M193.76,173.881l-0.104,1.354c0.997-1.31,2.2-1.577,3.301-1.577c0.997,0,1.89,0.354,2.367,0.873
57
+ l-1.288,1.868c-0.455-0.413-0.913-0.621-1.701-0.621c-1.475,0-2.928,0.884-3.26,2.774l-0.976,5.513h-2.139l1.806-10.184H193.76z"
58
+ />
59
+ <path fill="#71706F" d="M209.623,173.881l1.079,8.054l3.903-8.054h2.387l-5.354,10.184h-2.513l-1.018-6.719l-1.64,3.339
60
+ l-1.785,3.38h-2.491l-1.807-10.184h2.408l1.06,8.054l3.923-8.054H209.623z"/>
61
+ <path fill="#71706F" d="M219.739,179.85c-0.083,1.406,1.018,2.553,2.886,2.553c1.038,0,2.408-0.405,3.154-1.111l1.163,1.344
62
+ c-1.266,1.162-3.135,1.74-4.712,1.74c-2.948,0-4.671-1.766-4.671-4.465c0-3.592,2.823-6.269,6.436-6.269
63
+ c3.301,0,5.17,1.994,4.049,6.208H219.739z M226.3,178.096c0.165-1.757-0.872-2.471-2.596-2.471c-1.557,0-2.989,0.714-3.612,2.471
64
+ H226.3z"/>
65
+ <path fill="#71706F" d="M233.901,173.881l-1.806,10.184h-2.138l1.806-10.184H233.901z M232.013,171.106
66
+ c0,0.726,0.54,1.101,1.121,1.101c0.831,0,1.599-0.541,1.599-1.558c0-0.686-0.52-1.08-1.08-1.08
67
+ C232.886,169.569,232.013,170.068,232.013,171.106z"/>
68
+ <path fill="#71706F" d="M243.391,176.399c-0.664-0.747-1.515-0.955-2.532-0.955c-1.412,0-2.408,0.478-2.408,1.371
69
+ c0,0.747,0.81,1.059,2.014,1.162c1.868,0.166,4.256,0.789,3.758,3.426c-0.354,1.91-2.263,3.031-4.921,3.031
70
+ c-1.66,0-3.259-0.373-4.339-1.89l1.391-1.515c0.769,1.058,2.118,1.495,3.322,1.515c1.017,0,2.222-0.374,2.409-1.328
71
+ c0.187-0.913-0.623-1.267-2.119-1.412c-1.744-0.166-3.652-0.809-3.652-2.739c0-2.555,2.76-3.447,4.837-3.447
72
+ c1.577,0,2.739,0.353,3.694,1.371L243.391,176.399z"/>
73
+ <path fill="#71706F" d="M250.141,173.881l-0.975,5.484c-0.313,1.744,0.477,2.95,2.262,2.95c1.682,0,3.114-1.394,3.404-3.097
74
+ l0.935-5.338h2.139l-1.806,10.184h-1.931l0.145-1.476c-1.204,1.142-2.388,1.681-3.819,1.681c-2.513,0-4.007-1.801-3.468-4.895
75
+ l0.976-5.494H250.141z"/>
76
+ <path fill="#71706F" d="M267.294,184.064l0.976-5.451c0.311-1.765-0.29-2.934-2.242-2.934c-1.702,0-3.136,1.369-3.426,3.051
77
+ l-0.935,5.334h-2.138l1.807-10.184h1.951l-0.146,1.487c1.185-1.1,2.408-1.642,3.737-1.642c2.491,0,4.111,1.732,3.551,4.868
78
+ l-0.976,5.47H267.294z"/>
79
+ <path fill="#71706F" d="M274.541,185.47c-0.145,1.405,0.934,1.974,2.741,1.974c1.578,0,3.281-0.882,3.676-3.124l0.311-1.748
80
+ c-0.936,1.308-2.637,1.824-3.902,1.824c-2.617,0-4.443-1.558-4.443-4.383c0-4.025,2.989-6.353,6.373-6.353
81
+ c1.433,0,2.72,0.68,3.177,1.843l0.353-1.622h2.076l-1.786,10.487c-0.663,3.883-3.55,5.087-6.186,5.087
82
+ c-3.156,0-4.899-1.526-4.465-3.985H274.541z M275.144,179.599c0,1.742,1.143,2.802,2.783,2.802c4.421,0,5.604-6.789,1.182-6.789
83
+ C277.011,175.611,275.144,177.168,275.144,179.599z"/>
84
+ </g>
85
+ </g>
86
+ </svg>
assets/img/fpx.svg CHANGED
@@ -1,39 +1,39 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
- width="367px" height="120px" viewBox="70 98 367 124" enable-background="new 0 0 500 318" xml:space="preserve">
6
- <g>
7
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#1F2C5C" d="M176.598,150.476c-11.586-15.857-23.323-31.609-35.117-47.313
8
- c-1.869-2.491-4.601-5.473-7.783-3.781c-2.154,1.14-4.112,4.531-4.332,7.076c-0.725,8.339-0.666,16.749-0.752,25.133
9
- c-0.008,0.951,0.901,1.984,1.549,2.858c4.905,6.642,9.894,13.219,14.768,19.88c1.357,1.854,2.121,3.357,2.361,4.804
10
- c-0.24,2.014-1.004,3.027-2.361,4.882c-4.874,6.661-9.862,13.275-14.768,19.916c-0.647,0.875-1.557,1.942-1.549,2.895
11
- c0.086,8.384,0.027,16.789,0.752,25.128c0.22,2.545,2.178,5.927,4.332,7.066c3.183,1.691,5.914-1.309,7.783-3.8
12
- c11.794-15.704,23.531-31.495,35.117-47.354c2.059-2.816,3.154-4.706,3.355-8.732C179.752,156.205,178.656,153.294,176.598,150.476
13
- z"/>
14
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#1A8ACB" d="M69.552,150.476c11.587-15.857,23.323-31.609,35.117-47.313
15
- c1.87-2.491,4.601-5.473,7.784-3.781c2.153,1.14,4.111,4.531,4.332,7.076c0.723,8.339,0.666,16.749,0.75,25.133
16
- c0.008,0.951-0.9,1.984-1.547,2.858c-4.905,6.642-9.895,13.219-14.768,19.88c-1.357,1.854-2.122,3.357-2.361,4.804
17
- c0.239,2.014,1.004,3.027,2.361,4.882c4.873,6.661,9.862,13.275,14.768,19.916c0.646,0.875,1.555,1.942,1.547,2.895
18
- c-0.084,8.384-0.027,16.789-0.75,25.128c-0.221,2.545-2.179,5.927-4.332,7.066c-3.184,1.691-5.914-1.309-7.784-3.8
19
- c-11.794-15.704-23.53-31.495-35.117-47.354c-2.06-2.816-3.153-4.706-3.354-8.732C66.398,156.205,67.492,153.294,69.552,150.476z"
20
- />
21
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#1F2C5C" d="M276.23,112.717c15.473,0.591,30.891,0.199,46.033,2.046
22
- c13.785,1.682,20.209,12.316,19.428,28.014c-0.66,13.321-8.98,21.915-23.133,23.332c-7.48,0.747-15.025,0.816-23.258,1.228
23
- c0,5.478,0,11.104,0,16.731c0,5.513,0,11.026,0,16.795c-6.537,0-12.598,0-19.07,0C276.23,171.931,276.23,142.987,276.23,112.717z
24
- M295.602,129.124c0,7.601,0,14.206,0,21.465c6.23-0.325,12.217-0.148,18.029-1.079c5.639-0.899,8.131-4.638,7.986-9.906
25
- c-0.131-4.798-3.07-8.466-8.404-9.217C307.506,129.583,301.693,129.527,295.602,129.124z"/>
26
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#1F2C5C" d="M202.858,200.983c5.495,0,13.356,0.124,19.315,0.124
27
- c0-11.604,0-22.64,0-34.136c12.344,0,24.222,0,36.344,0c0-6.203,0-11.926,0-18.19c-12.197,0-24.081,0-36.104,0
28
- c0-6.146,0-11.746,0-17.758c13.215,0,26.107,0,39.318,0c0-6.221,0-11.716,0-17.431c-19.623,0-39.014,0-58.874,0
29
- c0,2.139,0,3.96,0,5.782c0,23.62-0.002,47.235,0,70.854V200.983z"/>
30
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#1F2C5C" d="M401.502,155.153c9.298-13.65,18.542-27.219,28.248-41.464
31
- c-7.869,0-14.812-0.099-21.747,0.104c-1.069,0.031-2.441,1.231-3.09,2.259c-2.87,4.575-5.53,9.284-8.266,13.943
32
- c-2.562,4.362-5.128,8.738-7.951,13.545c-2.014-4.807-5.264-9.183-7.826-13.545c-2.734-4.659-5.269-9.368-8.141-13.943
33
- c-0.646-1.027-2.019-2.228-3.088-2.259c-6.936-0.203-13.878-0.104-21.747-0.104c9.705,14.245,18.948,27.813,28.246,41.464
34
- c-10.479,15.296-20.851,30.408-31.755,46.319c8.385,0,15.95,0.105,23.523-0.133c0.959-0.032,2.023-1.759,2.727-2.904
35
- c5.735-9.328,11.324-18.709,17.015-28.067c0.363-0.596,1.046-1.185,1.046-1.834c0.427,0.649,0.808,1.238,1.172,1.834
36
- c5.69,9.358,11.341,18.739,17.077,28.067c0.704,1.146,1.799,2.872,2.758,2.904c7.572,0.238,15.154,0.133,23.538,0.133
37
- C422.338,185.562,411.982,170.449,401.502,155.153z"/>
38
- </g>
39
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="367px" height="120px" viewBox="70 98 367 124" enable-background="new 0 0 500 318" xml:space="preserve">
6
+ <g>
7
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#1F2C5C" d="M176.598,150.476c-11.586-15.857-23.323-31.609-35.117-47.313
8
+ c-1.869-2.491-4.601-5.473-7.783-3.781c-2.154,1.14-4.112,4.531-4.332,7.076c-0.725,8.339-0.666,16.749-0.752,25.133
9
+ c-0.008,0.951,0.901,1.984,1.549,2.858c4.905,6.642,9.894,13.219,14.768,19.88c1.357,1.854,2.121,3.357,2.361,4.804
10
+ c-0.24,2.014-1.004,3.027-2.361,4.882c-4.874,6.661-9.862,13.275-14.768,19.916c-0.647,0.875-1.557,1.942-1.549,2.895
11
+ c0.086,8.384,0.027,16.789,0.752,25.128c0.22,2.545,2.178,5.927,4.332,7.066c3.183,1.691,5.914-1.309,7.783-3.8
12
+ c11.794-15.704,23.531-31.495,35.117-47.354c2.059-2.816,3.154-4.706,3.355-8.732C179.752,156.205,178.656,153.294,176.598,150.476
13
+ z"/>
14
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#1A8ACB" d="M69.552,150.476c11.587-15.857,23.323-31.609,35.117-47.313
15
+ c1.87-2.491,4.601-5.473,7.784-3.781c2.153,1.14,4.111,4.531,4.332,7.076c0.723,8.339,0.666,16.749,0.75,25.133
16
+ c0.008,0.951-0.9,1.984-1.547,2.858c-4.905,6.642-9.895,13.219-14.768,19.88c-1.357,1.854-2.122,3.357-2.361,4.804
17
+ c0.239,2.014,1.004,3.027,2.361,4.882c4.873,6.661,9.862,13.275,14.768,19.916c0.646,0.875,1.555,1.942,1.547,2.895
18
+ c-0.084,8.384-0.027,16.789-0.75,25.128c-0.221,2.545-2.179,5.927-4.332,7.066c-3.184,1.691-5.914-1.309-7.784-3.8
19
+ c-11.794-15.704-23.53-31.495-35.117-47.354c-2.06-2.816-3.153-4.706-3.354-8.732C66.398,156.205,67.492,153.294,69.552,150.476z"
20
+ />
21
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#1F2C5C" d="M276.23,112.717c15.473,0.591,30.891,0.199,46.033,2.046
22
+ c13.785,1.682,20.209,12.316,19.428,28.014c-0.66,13.321-8.98,21.915-23.133,23.332c-7.48,0.747-15.025,0.816-23.258,1.228
23
+ c0,5.478,0,11.104,0,16.731c0,5.513,0,11.026,0,16.795c-6.537,0-12.598,0-19.07,0C276.23,171.931,276.23,142.987,276.23,112.717z
24
+ M295.602,129.124c0,7.601,0,14.206,0,21.465c6.23-0.325,12.217-0.148,18.029-1.079c5.639-0.899,8.131-4.638,7.986-9.906
25
+ c-0.131-4.798-3.07-8.466-8.404-9.217C307.506,129.583,301.693,129.527,295.602,129.124z"/>
26
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#1F2C5C" d="M202.858,200.983c5.495,0,13.356,0.124,19.315,0.124
27
+ c0-11.604,0-22.64,0-34.136c12.344,0,24.222,0,36.344,0c0-6.203,0-11.926,0-18.19c-12.197,0-24.081,0-36.104,0
28
+ c0-6.146,0-11.746,0-17.758c13.215,0,26.107,0,39.318,0c0-6.221,0-11.716,0-17.431c-19.623,0-39.014,0-58.874,0
29
+ c0,2.139,0,3.96,0,5.782c0,23.62-0.002,47.235,0,70.854V200.983z"/>
30
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#1F2C5C" d="M401.502,155.153c9.298-13.65,18.542-27.219,28.248-41.464
31
+ c-7.869,0-14.812-0.099-21.747,0.104c-1.069,0.031-2.441,1.231-3.09,2.259c-2.87,4.575-5.53,9.284-8.266,13.943
32
+ c-2.562,4.362-5.128,8.738-7.951,13.545c-2.014-4.807-5.264-9.183-7.826-13.545c-2.734-4.659-5.269-9.368-8.141-13.943
33
+ c-0.646-1.027-2.019-2.228-3.088-2.259c-6.936-0.203-13.878-0.104-21.747-0.104c9.705,14.245,18.948,27.813,28.246,41.464
34
+ c-10.479,15.296-20.851,30.408-31.755,46.319c8.385,0,15.95,0.105,23.523-0.133c0.959-0.032,2.023-1.759,2.727-2.904
35
+ c5.735-9.328,11.324-18.709,17.015-28.067c0.363-0.596,1.046-1.185,1.046-1.834c0.427,0.649,0.808,1.238,1.172,1.834
36
+ c5.69,9.358,11.341,18.739,17.077,28.067c0.704,1.146,1.799,2.872,2.758,2.904c7.572,0.238,15.154,0.133,23.538,0.133
37
+ C422.338,185.562,411.982,170.449,401.502,155.153z"/>
38
+ </g>
39
+ </svg>
assets/img/googlepay_outline.svg CHANGED
@@ -1,27 +1,27 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="425px" height="272px" viewBox="0 0 425 272" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 52.1 (67048) - http://www.bohemiancoding.com/sketch -->
4
- <title>GooglePay_mark_800_gray</title>
5
- <desc>Created with Sketch.</desc>
6
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
- <g id="GooglePay_mark_800_gray">
8
- <g id="border">
9
- <path d="M386.731012,0.0897642745 L38.039747,0.0897642745 C36.587241,0.0897642745 35.1321687,0.0897642745 33.6822289,0.0974583552 C32.4581205,0.107717129 31.2365783,0.120540597 30.0124699,0.153881613 C27.3461205,0.225693033 24.6566747,0.38213934 22.0236867,0.856607648 C19.3496386,1.33620534 16.8603614,2.12100157 14.4326747,3.35718387 C12.0434819,4.57028392 9.85959036,6.15782923 7.96312048,8.05057307 C6.06921687,9.94588161 4.4806988,12.1258711 3.26685542,14.5161655 C2.02991566,16.9423656 1.24463855,19.4301184 0.767313253,22.1050938 C0.289987952,24.739034 0.133445783,27.4242682 0.0615903614,30.0864201 C0.0282289157,31.3097789 0.0128313253,32.5305731 0.00513253012,33.7513672 C-0.00256626506,35.2029838 1.08420217e-19,36.6546003 1.08420217e-19,38.1087816 L1.08420217e-19,233.841064 C1.08420217e-19,235.295246 -0.00256626506,236.744298 0.00513253012,238.198479 C0.0128313253,239.419273 0.0282289157,240.642632 0.0615903614,241.863426 C0.133445783,244.523013 0.289987952,247.210812 0.767313253,249.842188 C1.24463855,252.517163 2.02991566,255.004916 3.26685542,257.43368 C4.4806988,259.82141 6.06921687,262.003964 7.96312048,263.896708 C9.85959036,265.792017 12.0434819,267.379562 14.4326747,268.590097 C16.8603614,269.828844 19.3496386,270.613641 22.0236867,271.095803 C24.6566747,271.565142 27.3461205,271.724153 30.0124699,271.795964 C31.2365783,271.824176 32.4581205,271.842129 33.6822289,271.847258 C35.1321687,271.857517 36.587241,271.857517 38.039747,271.857517 L386.731012,271.857517 C388.180952,271.857517 389.636024,271.857517 391.085964,271.847258 C392.307506,271.842129 393.529048,271.824176 394.758289,271.795964 C397.419506,271.724153 400.108952,271.565142 402.747072,271.095803 C405.418554,270.613641 407.907831,269.828844 410.338084,268.590097 C412.727277,267.379562 414.906036,265.792017 416.805072,263.896708 C418.69641,262.003964 420.284928,259.82141 421.501337,257.43368 C422.740843,255.004916 423.52612,252.517163 424.00088,249.842188 C424.478205,247.210812 424.632181,244.523013 424.704036,241.863426 C424.737398,240.642632 424.752795,239.419273 424.760494,238.198479 C424.770759,236.744298 424.770759,235.295246 424.770759,233.841064 L424.770759,38.1087816 C424.770759,36.6546003 424.770759,35.2029838 424.760494,33.7513672 C424.752795,32.5305731 424.737398,31.3097789 424.704036,30.0864201 C424.632181,27.4242682 424.478205,24.739034 424.00088,22.1050938 C423.52612,19.4301184 422.740843,16.9423656 421.501337,14.5161655 C420.284928,12.1258711 418.69641,9.94588161 416.805072,8.05057307 C414.906036,6.15782923 412.727277,4.57028392 410.338084,3.35718387 C407.907831,2.12100157 405.418554,1.33620534 402.747072,0.856607648 C400.108952,0.38213934 397.419506,0.225693033 394.758289,0.153881613 C393.529048,0.120540597 392.307506,0.107717129 391.085964,0.0974583552 C389.636024,0.0897642745 388.180952,0.0897642745 386.731012,0.0897642745" id="Fill-1" fill="#3C4043"></path>
10
- <path d="M386.731012,9.14826192 L391.021807,9.155956 C392.181759,9.16365008 393.344277,9.17647355 394.511928,9.20981456 C396.54441,9.26367313 398.923337,9.37395495 401.14059,9.77148245 C403.065289,10.1177161 404.682036,10.646043 406.23206,11.4334039 C407.76412,12.210506 409.165301,13.2312541 410.38941,14.4520482 C411.618651,15.6831011 412.640024,17.0859885 413.427867,18.6324987 C414.213145,20.1713148 414.736663,21.776813 415.083108,23.7157213 C415.478313,25.9085343 415.588663,28.2911346 415.642554,30.3351954 C415.675916,31.4867428 415.691313,32.6408549 415.696446,33.8231786 C415.706711,35.2517129 415.706711,36.6776826 415.706711,38.1087816 L415.706711,233.841064 C415.706711,235.272163 415.706711,236.698133 415.696446,238.154879 C415.691313,239.308991 415.675916,240.463103 415.642554,241.61978 C415.588663,243.658711 415.478313,246.041312 415.077976,248.257207 C414.736663,250.170468 414.213145,251.775966 413.422735,253.322477 C412.637458,254.866422 411.618651,256.266745 410.394542,257.490104 C409.162735,258.721157 407.766687,259.736775 406.216663,260.521572 C404.676904,261.306368 403.065289,261.834695 401.158554,262.175799 C398.895108,262.578456 396.418663,262.691302 394.552988,262.740031 C393.380205,262.768243 392.212554,262.783631 391.014108,262.788761 C389.589831,262.799019 388.157855,262.799019 386.731012,262.799019 L38.039747,262.799019 C38.0217831,262.799019 38.0038193,262.799019 37.9832892,262.799019 C36.5744096,262.799019 35.1603976,262.799019 33.7258554,262.788761 C32.5556386,262.783631 31.387988,262.768243 30.2588313,262.742596 C28.3495301,262.691302 25.8705181,262.578456 23.6276024,262.178364 C21.7029036,261.834695 20.0912892,261.306368 18.531,260.511313 C16.9963735,259.734211 15.6003253,258.718592 14.3685181,257.484974 C13.1469759,256.266745 12.1307349,254.868987 11.3454578,253.322477 C10.5576145,251.778531 10.0315301,250.167904 9.68508434,248.23156 C9.28731325,246.018229 9.17696386,243.648453 9.12050602,241.61978 C9.08971084,240.460539 9.07687952,239.298732 9.06918072,238.147185 L9.06404819,234.741272 L9.06404819,37.2111388 L9.06918072,33.8129199 C9.07687952,32.6511137 9.08971084,31.4918722 9.12050602,30.3326307 C9.17696386,28.3013934 9.28731325,25.9290519 9.69021687,23.6977685 C10.0315301,21.7819424 10.5576145,20.1687501 11.3480241,18.6171105 C12.1281687,17.0834238 13.1469759,15.6831011 14.3736506,14.4571776 C15.597759,13.2312541 17.001506,12.2156354 18.5438313,11.4308392 C20.0861566,10.6434783 21.7029036,10.1177161 23.6276024,9.77148245 C25.8448554,9.37395495 28.2237831,9.26367313 30.2613976,9.20981456 C31.4213494,9.17647355 32.5838675,9.16365008 33.7361205,9.155956 L38.039747,9.14826192 L386.731012,9.14826192" id="wihit-fill" fill="#FFFFFE"></path>
11
- </g>
12
- <g id="GPay-logo" transform="translate(48.759036, 76.981132)">
13
- <g id="Pay" transform="translate(143.569904, 7.624798)" fill="#3C4043">
14
- <path d="M12.1771332,57.6434717 L12.1771332,96.3774447 L0.0751674892,96.3774447 L0.0751674892,0.762479784 L32.1716854,0.762479784 C39.9139368,0.609983827 47.4306857,3.58365499 52.9179124,9.07350943 C63.8923658,19.4432345 64.5688732,36.9040216 54.2709272,48.1124744 C53.8199223,48.5699623 53.3689173,49.0274501 52.9179124,49.484938 C47.2803507,54.8985445 40.3649417,57.6434717 32.1716854,57.6434717 L12.1771332,57.6434717 Z M12.1771332,12.5046685 L12.1771332,45.901283 L32.4723553,45.901283 C36.9824047,46.053779 41.342119,44.2238275 44.4239861,40.9451644 C50.7380552,34.3115903 50.5877202,23.6368733 44.0481487,17.2320431 C40.9662816,14.182124 36.8320697,12.5046685 32.4723553,12.5046685 L12.1771332,12.5046685 Z" id="Shape" fill-rule="nonzero"></path>
15
- <path d="M89.5244796,28.8217358 C98.4694108,28.8217358 105.535155,31.2616712 110.721712,36.0652938 C115.908268,40.8689164 118.463963,47.5787385 118.463963,56.0422642 L118.463963,96.3774447 L106.88817,96.3774447 L106.88817,87.3039353 L106.361997,87.3039353 C101.325775,94.7762372 94.7110364,98.5123881 86.3674451,98.5123881 C79.3017011,98.5123881 73.2883019,96.3774447 68.5527501,92.107558 C63.8923658,88.1426631 61.2615037,82.2715687 61.4118387,76.0954825 C61.4118387,69.3094124 63.9675333,63.9720539 69.0037551,59.9309111 C74.0399768,55.8897682 80.8050509,53.9073208 89.2238097,53.9073208 C96.4398886,53.9073208 102.302953,55.2797844 106.963337,57.8722156 L106.963337,55.0510404 C106.963337,50.8574016 105.159317,46.8925067 102.002283,44.1475795 C98.7700808,41.2501563 94.6358689,39.6489488 90.351322,39.6489488 C83.586248,39.6489488 78.2493562,42.546372 74.3406468,48.3412183 L63.6668633,41.5551482 C69.3795925,33.0916226 78.0238538,28.8217358 89.5244796,28.8217358 Z M73.8896419,76.3242264 C73.8896419,79.5266415 75.3929916,82.5003127 77.8735188,84.3302642 C80.5795484,86.4652075 83.8869179,87.6089272 87.2694549,87.5326792 C92.3808442,87.5326792 97.266731,85.4739838 100.87477,81.8140809 C104.858647,78.0016819 106.88817,73.5030512 106.88817,68.3181887 C103.129795,65.2682695 97.8680709,63.74331 91.1029969,63.819558 C86.2171101,63.819558 82.0828982,65.0395256 78.7755287,67.4032129 C75.5433266,69.7669003 73.8896419,72.7405714 73.8896419,76.3242264 Z" id="Shape" fill-rule="nonzero"></path>
16
- <polygon id="Path" points="184.912023 30.9566792 144.471914 125.122933 131.994111 125.122933 147.027609 92.1838059 120.493485 30.9566792 133.647796 30.9566792 152.815506 77.925434 153.041008 77.925434 171.757713 30.9566792"></polygon>
17
- </g>
18
- <g id="Super-G">
19
- <path d="M106.813002,56.8809919 C106.813002,53.144841 106.512332,49.40869 105.910992,45.7487871 L54.8722671,45.7487871 L54.8722671,66.8694771 L84.1124204,66.8694771 C82.9097406,73.6555472 79.0010311,79.7553854 73.2883019,83.5677844 L73.2883019,97.2924205 L90.7271594,97.2924205 C100.949938,87.7614232 106.813002,73.6555472 106.813002,56.8809919 Z" id="Path" fill="#4285F4"></path>
20
- <path d="M54.8722671,110.559569 C69.45476,110.559569 81.7822282,105.679698 90.7271594,97.2924205 L73.2883019,83.5677844 C68.4024152,86.9226954 62.1635136,88.8288949 54.8722671,88.8288949 C40.7407791,88.8288949 28.7891484,79.1454016 24.5046015,66.1832453 L6.53957156,66.1832453 L6.53957156,80.3653693 C15.7100052,98.893628 34.42671,110.559569 54.8722671,110.559569 Z" id="Path" fill="#34A853"></path>
21
- <path d="M24.5046015,66.1832453 C22.2495768,59.3971752 22.2495768,52.0011213 24.5046015,45.1388032 L24.5046015,31.0329272 L6.53957156,31.0329272 C-1.20267983,46.5112668 -1.20267983,64.8107817 6.53957156,80.2891213 L24.5046015,66.1832453 Z" id="Path" fill="#FBBC04"></path>
22
- <path d="M54.8722671,22.4931536 C62.6145185,22.3406577 70.0560999,25.3143288 75.6184941,30.7279353 L91.1029969,15.0208518 C81.2560558,5.71859838 68.3272477,0.609983827 54.8722671,0.762479784 C34.42671,0.762479784 15.7100052,12.5046685 6.53957156,31.0329272 L24.5046015,45.2150512 C28.7891484,32.1766469 40.7407791,22.4931536 54.8722671,22.4931536 Z" id="Path" fill="#EA4335"></path>
23
- </g>
24
- </g>
25
- </g>
26
- </g>
27
  </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="425px" height="272px" viewBox="0 0 425 272" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 52.1 (67048) - http://www.bohemiancoding.com/sketch -->
4
+ <title>GooglePay_mark_800_gray</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <g id="GooglePay_mark_800_gray">
8
+ <g id="border">
9
+ <path d="M386.731012,0.0897642745 L38.039747,0.0897642745 C36.587241,0.0897642745 35.1321687,0.0897642745 33.6822289,0.0974583552 C32.4581205,0.107717129 31.2365783,0.120540597 30.0124699,0.153881613 C27.3461205,0.225693033 24.6566747,0.38213934 22.0236867,0.856607648 C19.3496386,1.33620534 16.8603614,2.12100157 14.4326747,3.35718387 C12.0434819,4.57028392 9.85959036,6.15782923 7.96312048,8.05057307 C6.06921687,9.94588161 4.4806988,12.1258711 3.26685542,14.5161655 C2.02991566,16.9423656 1.24463855,19.4301184 0.767313253,22.1050938 C0.289987952,24.739034 0.133445783,27.4242682 0.0615903614,30.0864201 C0.0282289157,31.3097789 0.0128313253,32.5305731 0.00513253012,33.7513672 C-0.00256626506,35.2029838 1.08420217e-19,36.6546003 1.08420217e-19,38.1087816 L1.08420217e-19,233.841064 C1.08420217e-19,235.295246 -0.00256626506,236.744298 0.00513253012,238.198479 C0.0128313253,239.419273 0.0282289157,240.642632 0.0615903614,241.863426 C0.133445783,244.523013 0.289987952,247.210812 0.767313253,249.842188 C1.24463855,252.517163 2.02991566,255.004916 3.26685542,257.43368 C4.4806988,259.82141 6.06921687,262.003964 7.96312048,263.896708 C9.85959036,265.792017 12.0434819,267.379562 14.4326747,268.590097 C16.8603614,269.828844 19.3496386,270.613641 22.0236867,271.095803 C24.6566747,271.565142 27.3461205,271.724153 30.0124699,271.795964 C31.2365783,271.824176 32.4581205,271.842129 33.6822289,271.847258 C35.1321687,271.857517 36.587241,271.857517 38.039747,271.857517 L386.731012,271.857517 C388.180952,271.857517 389.636024,271.857517 391.085964,271.847258 C392.307506,271.842129 393.529048,271.824176 394.758289,271.795964 C397.419506,271.724153 400.108952,271.565142 402.747072,271.095803 C405.418554,270.613641 407.907831,269.828844 410.338084,268.590097 C412.727277,267.379562 414.906036,265.792017 416.805072,263.896708 C418.69641,262.003964 420.284928,259.82141 421.501337,257.43368 C422.740843,255.004916 423.52612,252.517163 424.00088,249.842188 C424.478205,247.210812 424.632181,244.523013 424.704036,241.863426 C424.737398,240.642632 424.752795,239.419273 424.760494,238.198479 C424.770759,236.744298 424.770759,235.295246 424.770759,233.841064 L424.770759,38.1087816 C424.770759,36.6546003 424.770759,35.2029838 424.760494,33.7513672 C424.752795,32.5305731 424.737398,31.3097789 424.704036,30.0864201 C424.632181,27.4242682 424.478205,24.739034 424.00088,22.1050938 C423.52612,19.4301184 422.740843,16.9423656 421.501337,14.5161655 C420.284928,12.1258711 418.69641,9.94588161 416.805072,8.05057307 C414.906036,6.15782923 412.727277,4.57028392 410.338084,3.35718387 C407.907831,2.12100157 405.418554,1.33620534 402.747072,0.856607648 C400.108952,0.38213934 397.419506,0.225693033 394.758289,0.153881613 C393.529048,0.120540597 392.307506,0.107717129 391.085964,0.0974583552 C389.636024,0.0897642745 388.180952,0.0897642745 386.731012,0.0897642745" id="Fill-1" fill="#3C4043"></path>
10
+ <path d="M386.731012,9.14826192 L391.021807,9.155956 C392.181759,9.16365008 393.344277,9.17647355 394.511928,9.20981456 C396.54441,9.26367313 398.923337,9.37395495 401.14059,9.77148245 C403.065289,10.1177161 404.682036,10.646043 406.23206,11.4334039 C407.76412,12.210506 409.165301,13.2312541 410.38941,14.4520482 C411.618651,15.6831011 412.640024,17.0859885 413.427867,18.6324987 C414.213145,20.1713148 414.736663,21.776813 415.083108,23.7157213 C415.478313,25.9085343 415.588663,28.2911346 415.642554,30.3351954 C415.675916,31.4867428 415.691313,32.6408549 415.696446,33.8231786 C415.706711,35.2517129 415.706711,36.6776826 415.706711,38.1087816 L415.706711,233.841064 C415.706711,235.272163 415.706711,236.698133 415.696446,238.154879 C415.691313,239.308991 415.675916,240.463103 415.642554,241.61978 C415.588663,243.658711 415.478313,246.041312 415.077976,248.257207 C414.736663,250.170468 414.213145,251.775966 413.422735,253.322477 C412.637458,254.866422 411.618651,256.266745 410.394542,257.490104 C409.162735,258.721157 407.766687,259.736775 406.216663,260.521572 C404.676904,261.306368 403.065289,261.834695 401.158554,262.175799 C398.895108,262.578456 396.418663,262.691302 394.552988,262.740031 C393.380205,262.768243 392.212554,262.783631 391.014108,262.788761 C389.589831,262.799019 388.157855,262.799019 386.731012,262.799019 L38.039747,262.799019 C38.0217831,262.799019 38.0038193,262.799019 37.9832892,262.799019 C36.5744096,262.799019 35.1603976,262.799019 33.7258554,262.788761 C32.5556386,262.783631 31.387988,262.768243 30.2588313,262.742596 C28.3495301,262.691302 25.8705181,262.578456 23.6276024,262.178364 C21.7029036,261.834695 20.0912892,261.306368 18.531,260.511313 C16.9963735,259.734211 15.6003253,258.718592 14.3685181,257.484974 C13.1469759,256.266745 12.1307349,254.868987 11.3454578,253.322477 C10.5576145,251.778531 10.0315301,250.167904 9.68508434,248.23156 C9.28731325,246.018229 9.17696386,243.648453 9.12050602,241.61978 C9.08971084,240.460539 9.07687952,239.298732 9.06918072,238.147185 L9.06404819,234.741272 L9.06404819,37.2111388 L9.06918072,33.8129199 C9.07687952,32.6511137 9.08971084,31.4918722 9.12050602,30.3326307 C9.17696386,28.3013934 9.28731325,25.9290519 9.69021687,23.6977685 C10.0315301,21.7819424 10.5576145,20.1687501 11.3480241,18.6171105 C12.1281687,17.0834238 13.1469759,15.6831011 14.3736506,14.4571776 C15.597759,13.2312541 17.001506,12.2156354 18.5438313,11.4308392 C20.0861566,10.6434783 21.7029036,10.1177161 23.6276024,9.77148245 C25.8448554,9.37395495 28.2237831,9.26367313 30.2613976,9.20981456 C31.4213494,9.17647355 32.5838675,9.16365008 33.7361205,9.155956 L38.039747,9.14826192 L386.731012,9.14826192" id="wihit-fill" fill="#FFFFFE"></path>
11
+ </g>
12
+ <g id="GPay-logo" transform="translate(48.759036, 76.981132)">
13
+ <g id="Pay" transform="translate(143.569904, 7.624798)" fill="#3C4043">
14
+ <path d="M12.1771332,57.6434717 L12.1771332,96.3774447 L0.0751674892,96.3774447 L0.0751674892,0.762479784 L32.1716854,0.762479784 C39.9139368,0.609983827 47.4306857,3.58365499 52.9179124,9.07350943 C63.8923658,19.4432345 64.5688732,36.9040216 54.2709272,48.1124744 C53.8199223,48.5699623 53.3689173,49.0274501 52.9179124,49.484938 C47.2803507,54.8985445 40.3649417,57.6434717 32.1716854,57.6434717 L12.1771332,57.6434717 Z M12.1771332,12.5046685 L12.1771332,45.901283 L32.4723553,45.901283 C36.9824047,46.053779 41.342119,44.2238275 44.4239861,40.9451644 C50.7380552,34.3115903 50.5877202,23.6368733 44.0481487,17.2320431 C40.9662816,14.182124 36.8320697,12.5046685 32.4723553,12.5046685 L12.1771332,12.5046685 Z" id="Shape" fill-rule="nonzero"></path>
15
+ <path d="M89.5244796,28.8217358 C98.4694108,28.8217358 105.535155,31.2616712 110.721712,36.0652938 C115.908268,40.8689164 118.463963,47.5787385 118.463963,56.0422642 L118.463963,96.3774447 L106.88817,96.3774447 L106.88817,87.3039353 L106.361997,87.3039353 C101.325775,94.7762372 94.7110364,98.5123881 86.3674451,98.5123881 C79.3017011,98.5123881 73.2883019,96.3774447 68.5527501,92.107558 C63.8923658,88.1426631 61.2615037,82.2715687 61.4118387,76.0954825 C61.4118387,69.3094124 63.9675333,63.9720539 69.0037551,59.9309111 C74.0399768,55.8897682 80.8050509,53.9073208 89.2238097,53.9073208 C96.4398886,53.9073208 102.302953,55.2797844 106.963337,57.8722156 L106.963337,55.0510404 C106.963337,50.8574016 105.159317,46.8925067 102.002283,44.1475795 C98.7700808,41.2501563 94.6358689,39.6489488 90.351322,39.6489488 C83.586248,39.6489488 78.2493562,42.546372 74.3406468,48.3412183 L63.6668633,41.5551482 C69.3795925,33.0916226 78.0238538,28.8217358 89.5244796,28.8217358 Z M73.8896419,76.3242264 C73.8896419,79.5266415 75.3929916,82.5003127 77.8735188,84.3302642 C80.5795484,86.4652075 83.8869179,87.6089272 87.2694549,87.5326792 C92.3808442,87.5326792 97.266731,85.4739838 100.87477,81.8140809 C104.858647,78.0016819 106.88817,73.5030512 106.88817,68.3181887 C103.129795,65.2682695 97.8680709,63.74331 91.1029969,63.819558 C86.2171101,63.819558 82.0828982,65.0395256 78.7755287,67.4032129 C75.5433266,69.7669003 73.8896419,72.7405714 73.8896419,76.3242264 Z" id="Shape" fill-rule="nonzero"></path>
16
+ <polygon id="Path" points="184.912023 30.9566792 144.471914 125.122933 131.994111 125.122933 147.027609 92.1838059 120.493485 30.9566792 133.647796 30.9566792 152.815506 77.925434 153.041008 77.925434 171.757713 30.9566792"></polygon>
17
+ </g>
18
+ <g id="Super-G">
19
+ <path d="M106.813002,56.8809919 C106.813002,53.144841 106.512332,49.40869 105.910992,45.7487871 L54.8722671,45.7487871 L54.8722671,66.8694771 L84.1124204,66.8694771 C82.9097406,73.6555472 79.0010311,79.7553854 73.2883019,83.5677844 L73.2883019,97.2924205 L90.7271594,97.2924205 C100.949938,87.7614232 106.813002,73.6555472 106.813002,56.8809919 Z" id="Path" fill="#4285F4"></path>
20
+ <path d="M54.8722671,110.559569 C69.45476,110.559569 81.7822282,105.679698 90.7271594,97.2924205 L73.2883019,83.5677844 C68.4024152,86.9226954 62.1635136,88.8288949 54.8722671,88.8288949 C40.7407791,88.8288949 28.7891484,79.1454016 24.5046015,66.1832453 L6.53957156,66.1832453 L6.53957156,80.3653693 C15.7100052,98.893628 34.42671,110.559569 54.8722671,110.559569 Z" id="Path" fill="#34A853"></path>
21
+ <path d="M24.5046015,66.1832453 C22.2495768,59.3971752 22.2495768,52.0011213 24.5046015,45.1388032 L24.5046015,31.0329272 L6.53957156,31.0329272 C-1.20267983,46.5112668 -1.20267983,64.8107817 6.53957156,80.2891213 L24.5046015,66.1832453 Z" id="Path" fill="#FBBC04"></path>
22
+ <path d="M54.8722671,22.4931536 C62.6145185,22.3406577 70.0560999,25.3143288 75.6184941,30.7279353 L91.1029969,15.0208518 C81.2560558,5.71859838 68.3272477,0.609983827 54.8722671,0.762479784 C34.42671,0.762479784 15.7100052,12.5046685 6.53957156,31.0329272 L24.5046015,45.2150512 C28.7891484,32.1766469 40.7407791,22.4931536 54.8722671,22.4931536 Z" id="Path" fill="#EA4335"></path>
23
+ </g>
24
+ </g>
25
+ </g>
26
+ </g>
27
  </svg>
assets/img/googlepay_round_outline.svg CHANGED
@@ -1,33 +1,33 @@
1
- <svg version="1.1" id="G_Pay_Acceptance_Mark" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="170.70001220703125 172 752 400" enable-background="new 0 0 1094 742" xml:space="preserve">
2
- <path id="Base_1_" fill="#FFFFFF" d="M722.7,170h-352c-110,0-200,90-200,200l0,0c0,110,90,200,200,200h352c110,0,200-90,200-200l0,0
3
- C922.7,260,832.7,170,722.7,170z"></path>
4
- <path id="Outline" fill="#3C4043" d="M722.7,186.2c24.7,0,48.7,4.9,71.3,14.5c21.9,9.3,41.5,22.6,58.5,39.5
5
- c16.9,16.9,30.2,36.6,39.5,58.5c9.6,22.6,14.5,46.6,14.5,71.3s-4.9,48.7-14.5,71.3c-9.3,21.9-22.6,41.5-39.5,58.5
6
- c-16.9,16.9-36.6,30.2-58.5,39.5c-22.6,9.6-46.6,14.5-71.3,14.5h-352c-24.7,0-48.7-4.9-71.3-14.5c-21.9-9.3-41.5-22.6-58.5-39.5
7
- c-16.9-16.9-30.2-36.6-39.5-58.5c-9.6-22.6-14.5-46.6-14.5-71.3s4.9-48.7,14.5-71.3c9.3-21.9,22.6-41.5,39.5-58.5
8
- c16.9-16.9,36.6-30.2,58.5-39.5c22.6-9.6,46.6-14.5,71.3-14.5L722.7,186.2 M722.7,170h-352c-110,0-200,90-200,200l0,0
9
- c0,110,90,200,200,200h352c110,0,200-90,200-200l0,0C922.7,260,832.7,170,722.7,170L722.7,170z"></path>
10
- <g id="G_Pay_Lockup_1_">
11
- <g id="Pay_Typeface_3_">
12
- <path id="Letter_p_3_" fill="#3C4043" d="M529.3,384.2v60.5h-19.2V295.3H561c12.9,0,23.9,4.3,32.9,12.9
13
- c9.2,8.6,13.8,19.1,13.8,31.5c0,12.7-4.6,23.2-13.8,31.7c-8.9,8.5-19.9,12.7-32.9,12.7h-31.7V384.2z M529.3,313.7v52.1h32.1
14
- c7.6,0,14-2.6,19-7.7c5.1-5.1,7.7-11.3,7.7-18.3c0-6.9-2.6-13-7.7-18.1c-5-5.3-11.3-7.9-19-7.9h-32.1V313.7z"></path>
15
- <path id="Letter_a_3_" fill="#3C4043" d="M657.9,339.1c14.2,0,25.4,3.8,33.6,11.4c8.2,7.6,12.3,18,12.3,31.2v63h-18.3v-14.2h-0.8
16
- c-7.9,11.7-18.5,17.5-31.7,17.5c-11.3,0-20.7-3.3-28.3-10s-11.4-15-11.4-25c0-10.6,4-19,12-25.2c8-6.3,18.7-9.4,32-9.4
17
- c11.4,0,20.8,2.1,28.1,6.3v-4.4c0-6.7-2.6-12.3-7.9-17c-5.3-4.7-11.5-7-18.6-7c-10.7,0-19.2,4.5-25.4,13.6l-16.9-10.6
18
- C625.9,345.8,639.7,339.1,657.9,339.1z M633.1,413.3c0,5,2.1,9.2,6.4,12.5c4.2,3.3,9.2,5,14.9,5c8.1,0,15.3-3,21.6-9
19
- s9.5-13,9.5-21.1c-6-4.7-14.3-7.1-25-7.1c-7.8,0-14.3,1.9-19.5,5.6C635.7,403.1,633.1,407.8,633.1,413.3z"></path>
20
- <path id="Letter_y_3_" fill="#3C4043" d="M808.2,342.4l-64,147.2h-19.8l23.8-51.5L706,342.4h20.9l30.4,73.4h0.4l29.6-73.4H808.2z"></path>
21
- </g>
22
- <g id="G_Mark_1_">
23
- <path id="Blue_500" fill="#4285F4" d="M452.93,372c0-6.26-0.56-12.25-1.6-18.01h-80.48v33L417.2,387
24
- c-1.88,10.98-7.93,20.34-17.2,26.58v21.41h27.59C443.7,420.08,452.93,398.04,452.93,372z"></path>
25
- <path id="Green_500_1_" fill="#34A853" d="M400.01,413.58c-7.68,5.18-17.57,8.21-29.14,8.21c-22.35,0-41.31-15.06-48.1-35.36
26
- h-28.46v22.08c14.1,27.98,43.08,47.18,76.56,47.18c23.14,0,42.58-7.61,56.73-20.71L400.01,413.58z"></path>
27
- <path id="Yellow_500_1_" fill="#FABB05" d="M320.09,370.05c0-5.7,0.95-11.21,2.68-16.39v-22.08h-28.46
28
- c-5.83,11.57-9.11,24.63-9.11,38.47s3.29,26.9,9.11,38.47l28.46-22.08C321.04,381.26,320.09,375.75,320.09,370.05z"></path>
29
- <path id="Red_500" fill="#E94235" d="M370.87,318.3c12.63,0,23.94,4.35,32.87,12.85l24.45-24.43
30
- c-14.85-13.83-34.21-22.32-57.32-22.32c-33.47,0-62.46,19.2-76.56,47.18l28.46,22.08C329.56,333.36,348.52,318.3,370.87,318.3z"></path>
31
- </g>
32
- </g>
33
  </svg>
1
+ <svg version="1.1" id="G_Pay_Acceptance_Mark" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="170.70001220703125 172 752 400" enable-background="new 0 0 1094 742" xml:space="preserve">
2
+ <path id="Base_1_" fill="#FFFFFF" d="M722.7,170h-352c-110,0-200,90-200,200l0,0c0,110,90,200,200,200h352c110,0,200-90,200-200l0,0
3
+ C922.7,260,832.7,170,722.7,170z"></path>
4
+ <path id="Outline" fill="#3C4043" d="M722.7,186.2c24.7,0,48.7,4.9,71.3,14.5c21.9,9.3,41.5,22.6,58.5,39.5
5
+ c16.9,16.9,30.2,36.6,39.5,58.5c9.6,22.6,14.5,46.6,14.5,71.3s-4.9,48.7-14.5,71.3c-9.3,21.9-22.6,41.5-39.5,58.5
6
+ c-16.9,16.9-36.6,30.2-58.5,39.5c-22.6,9.6-46.6,14.5-71.3,14.5h-352c-24.7,0-48.7-4.9-71.3-14.5c-21.9-9.3-41.5-22.6-58.5-39.5
7
+ c-16.9-16.9-30.2-36.6-39.5-58.5c-9.6-22.6-14.5-46.6-14.5-71.3s4.9-48.7,14.5-71.3c9.3-21.9,22.6-41.5,39.5-58.5
8
+ c16.9-16.9,36.6-30.2,58.5-39.5c22.6-9.6,46.6-14.5,71.3-14.5L722.7,186.2 M722.7,170h-352c-110,0-200,90-200,200l0,0
9
+ c0,110,90,200,200,200h352c110,0,200-90,200-200l0,0C922.7,260,832.7,170,722.7,170L722.7,170z"></path>
10
+ <g id="G_Pay_Lockup_1_">
11
+ <g id="Pay_Typeface_3_">
12
+ <path id="Letter_p_3_" fill="#3C4043" d="M529.3,384.2v60.5h-19.2V295.3H561c12.9,0,23.9,4.3,32.9,12.9
13
+ c9.2,8.6,13.8,19.1,13.8,31.5c0,12.7-4.6,23.2-13.8,31.7c-8.9,8.5-19.9,12.7-32.9,12.7h-31.7V384.2z M529.3,313.7v52.1h32.1
14
+ c7.6,0,14-2.6,19-7.7c5.1-5.1,7.7-11.3,7.7-18.3c0-6.9-2.6-13-7.7-18.1c-5-5.3-11.3-7.9-19-7.9h-32.1V313.7z"></path>
15
+ <path id="Letter_a_3_" fill="#3C4043" d="M657.9,339.1c14.2,0,25.4,3.8,33.6,11.4c8.2,7.6,12.3,18,12.3,31.2v63h-18.3v-14.2h-0.8
16
+ c-7.9,11.7-18.5,17.5-31.7,17.5c-11.3,0-20.7-3.3-28.3-10s-11.4-15-11.4-25c0-10.6,4-19,12-25.2c8-6.3,18.7-9.4,32-9.4
17
+ c11.4,0,20.8,2.1,28.1,6.3v-4.4c0-6.7-2.6-12.3-7.9-17c-5.3-4.7-11.5-7-18.6-7c-10.7,0-19.2,4.5-25.4,13.6l-16.9-10.6
18
+ C625.9,345.8,639.7,339.1,657.9,339.1z M633.1,413.3c0,5,2.1,9.2,6.4,12.5c4.2,3.3,9.2,5,14.9,5c8.1,0,15.3-3,21.6-9
19
+ s9.5-13,9.5-21.1c-6-4.7-14.3-7.1-25-7.1c-7.8,0-14.3,1.9-19.5,5.6C635.7,403.1,633.1,407.8,633.1,413.3z"></path>
20
+ <path id="Letter_y_3_" fill="#3C4043" d="M808.2,342.4l-64,147.2h-19.8l23.8-51.5L706,342.4h20.9l30.4,73.4h0.4l29.6-73.4H808.2z"></path>
21
+ </g>
22
+ <g id="G_Mark_1_">
23
+ <path id="Blue_500" fill="#4285F4" d="M452.93,372c0-6.26-0.56-12.25-1.6-18.01h-80.48v33L417.2,387
24
+ c-1.88,10.98-7.93,20.34-17.2,26.58v21.41h27.59C443.7,420.08,452.93,398.04,452.93,372z"></path>
25
+ <path id="Green_500_1_" fill="#34A853" d="M400.01,413.58c-7.68,5.18-17.57,8.21-29.14,8.21c-22.35,0-41.31-15.06-48.1-35.36
26
+ h-28.46v22.08c14.1,27.98,43.08,47.18,76.56,47.18c23.14,0,42.58-7.61,56.73-20.71L400.01,413.58z"></path>
27
+ <path id="Yellow_500_1_" fill="#FABB05" d="M320.09,370.05c0-5.7,0.95-11.21,2.68-16.39v-22.08h-28.46
28
+ c-5.83,11.57-9.11,24.63-9.11,38.47s3.29,26.9,9.11,38.47l28.46-22.08C321.04,381.26,320.09,375.75,320.09,370.05z"></path>
29
+ <path id="Red_500" fill="#E94235" d="M370.87,318.3c12.63,0,23.94,4.35,32.87,12.85l24.45-24.43
30
+ c-14.85-13.83-34.21-22.32-57.32-22.32c-33.47,0-62.46,19.2-76.56,47.18l28.46,22.08C329.56,333.36,348.52,318.3,370.87,318.3z"></path>
31
+ </g>
32
+ </g>
33
  </svg>
assets/img/googlepay_standard.svg CHANGED
@@ -1,12 +1,12 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="60" height="24" id="svgcontent"><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"></rect>
4
- <title>GooglePay_AcceptanceMark_RGB_60x24pt</title>
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
  <g class="currentLayer" style="pointer-events:all"><title>Layer 1</title><path d="M28.58971460372696,11.760222498323467 v7 H26.34971460372696 V1.4202224983234668 h5.92 a5.39,5.39 0 0 1 3.84,1.51 A5,5 0 0 1 36.35971460372696,10.000222498323467 l-0.25,0.26 a5.35,5.35 0 0 1 -3.84,1.48 zm0,-8.2 V9.620222498323468 H32.31971460372696 a2.93,2.93 0 0 0 2.21,-0.9 A3,3 0 0 0 32.31971460372696,3.5602224983234674 z" fill="#5f6368" id="svg_1" class=""></path><path d="M42.84971460372696,6.5202224983234665 a5.5600000000000005,5.5600000000000005 0 0 1 3.91,1.32 a4.71,4.71 0 0 1 1.4300000000000002,3.63 v7.32 H46.04971460372696 V17.140222498323467 H45.91971460372696 a4.28,4.28 0 0 1 -3.6900000000000004,2 A4.83,4.83 0 0 1 38.97971460372696,18.000222498323467 a3.74,3.74 0 0 1 -1.32,-2.92 a3.52,3.52 0 0 1 1.3900000000000001,-2.93 a5.87,5.87 0 0 1 3.73,-1.09 a6.65,6.65 0 0 1 3.27,0.7200000000000002 v-0.51 a2.5,2.5 0 0 0 -0.92,-2 a3.17,3.17 0 0 0 -2.16,-0.81 a3.4,3.4 0 0 0 -2.95,1.57 l-2,-1.23 A5.45,5.45 0 0 1 42.84971460372696,6.5202224983234665 zM39.91971460372696,15.150222498323467 a1.82,1.82 0 0 0 0.7400000000000002,1.46 a2.74,2.74 0 0 0 1.7400000000000002,0.5800000000000002 a3.58,3.58 0 0 0 2.51,-1 a3.26,3.26 0 0 0 1.11,-2.45 a4.54,4.54 0 0 0 -2.91,-0.8300000000000002 a3.74,3.74 0 0 0 -2.27,0.6600000000000003 A2,2 0 0 0 39.91971460372696,15.150222498323467 z" fill="#5f6368" id="svg_2" class=""></path><path d="M60.43971460372697,6.900222498323468 L52.98971460372696,24.000222498323467 H50.67971460372696 l2.77,-6 L48.54971460372696,6.910222498323467 h2.43 l3.54,8.54 h0 l3.44,-8.54 z" fill="#5f6368" id="svg_3" class=""></path><path d="M19.569714603726958,10.240222498323467 a12.54,12.54 0 0 0 -0.17,-2 H9.97971460372696 v3.84 h5.39 a4.61,4.61 0 0 1 -2,3 v2.49 h3.22 A9.75,9.75 0 0 0 19.569714603726958,10.240222498323467 z" fill="#4285f4" id="svg_4" class=""></path><path d="M9.97971460372696,20.000222498323467 a9.54,9.54 0 0 0 6.62,-2.41 l-3.22,-2.49 a6,6 0 0 1 -3.4,0.9500000000000002 a6,6 0 0 1 -5.6,-4.12 H1.069714603726959 V14.500222498323467 A10,10 0 0 0 9.97971460372696,20.000222498323467 z" fill="#34a853" id="svg_5" class=""></path><path d="M4.379714603726959,11.920222498323467 a6,6 0 0 1 0,-3.8200000000000003 V5.530222498323467 H1.069714603726959 a10,10 0 0 0 0,9 z" fill="#fbbc04" id="svg_6" class=""></path><path d="M9.97971460372696,4.000222498323467 a5.44,5.44 0 0 1 3.83,1.5 h0 l2.85,-2.85 A9.58,9.58 0 0 0 9.97971460372696,0.0002224983234668799 a10,10 0 0 0 -8.91,5.5 L4.379714603726959,8.100222498323467 A6,6 0 0 1 9.97971460372696,4.000222498323467 z" fill="#ea4335" id="svg_7" class=""></path></g></svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="60" height="24" id="svgcontent"><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"></rect>
4
+ <title>GooglePay_AcceptanceMark_RGB_60x24pt</title>
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
  <g class="currentLayer" style="pointer-events:all"><title>Layer 1</title><path d="M28.58971460372696,11.760222498323467 v7 H26.34971460372696 V1.4202224983234668 h5.92 a5.39,5.39 0 0 1 3.84,1.51 A5,5 0 0 1 36.35971460372696,10.000222498323467 l-0.25,0.26 a5.35,5.35 0 0 1 -3.84,1.48 zm0,-8.2 V9.620222498323468 H32.31971460372696 a2.93,2.93 0 0 0 2.21,-0.9 A3,3 0 0 0 32.31971460372696,3.5602224983234674 z" fill="#5f6368" id="svg_1" class=""></path><path d="M42.84971460372696,6.5202224983234665 a5.5600000000000005,5.5600000000000005 0 0 1 3.91,1.32 a4.71,4.71 0 0 1 1.4300000000000002,3.63 v7.32 H46.04971460372696 V17.140222498323467 H45.91971460372696 a4.28,4.28 0 0 1 -3.6900000000000004,2 A4.83,4.83 0 0 1 38.97971460372696,18.000222498323467 a3.74,3.74 0 0 1 -1.32,-2.92 a3.52,3.52 0 0 1 1.3900000000000001,-2.93 a5.87,5.87 0 0 1 3.73,-1.09 a6.65,6.65 0 0 1 3.27,0.7200000000000002 v-0.51 a2.5,2.5 0 0 0 -0.92,-2 a3.17,3.17 0 0 0 -2.16,-0.81 a3.4,3.4 0 0 0 -2.95,1.57 l-2,-1.23 A5.45,5.45 0 0 1 42.84971460372696,6.5202224983234665 zM39.91971460372696,15.150222498323467 a1.82,1.82 0 0 0 0.7400000000000002,1.46 a2.74,2.74 0 0 0 1.7400000000000002,0.5800000000000002 a3.58,3.58 0 0 0 2.51,-1 a3.26,3.26 0 0 0 1.11,-2.45 a4.54,4.54 0 0 0 -2.91,-0.8300000000000002 a3.74,3.74 0 0 0 -2.27,0.6600000000000003 A2,2 0 0 0 39.91971460372696,15.150222498323467 z" fill="#5f6368" id="svg_2" class=""></path><path d="M60.43971460372697,6.900222498323468 L52.98971460372696,24.000222498323467 H50.67971460372696 l2.77,-6 L48.54971460372696,6.910222498323467 h2.43 l3.54,8.54 h0 l3.44,-8.54 z" fill="#5f6368" id="svg_3" class=""></path><path d="M19.569714603726958,10.240222498323467 a12.54,12.54 0 0 0 -0.17,-2 H9.97971460372696 v3.84 h5.39 a4.61,4.61 0 0 1 -2,3 v2.49 h3.22 A9.75,9.75 0 0 0 19.569714603726958,10.240222498323467 z" fill="#4285f4" id="svg_4" class=""></path><path d="M9.97971460372696,20.000222498323467 a9.54,9.54 0 0 0 6.62,-2.41 l-3.22,-2.49 a6,6 0 0 1 -3.4,0.9500000000000002 a6,6 0 0 1 -5.6,-4.12 H1.069714603726959 V14.500222498323467 A10,10 0 0 0 9.97971460372696,20.000222498323467 z" fill="#34a853" id="svg_5" class=""></path><path d="M4.379714603726959,11.920222498323467 a6,6 0 0 1 0,-3.8200000000000003 V5.530222498323467 H1.069714603726959 a10,10 0 0 0 0,9 z" fill="#fbbc04" id="svg_6" class=""></path><path d="M9.97971460372696,4.000222498323467 a5.44,5.44 0 0 1 3.83,1.5 h0 l2.85,-2.85 A9.58,9.58 0 0 0 9.97971460372696,0.0002224983234668799 a10,10 0 0 0 -8.91,5.5 L4.379714603726959,8.100222498323467 A6,6 0 0 1 9.97971460372696,4.000222498323467 z" fill="#ea4335" id="svg_7" class=""></path></g></svg>
assets/img/grabpay.svg CHANGED
@@ -1,15 +1,15 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Logo" x="0px" y="0px" width="350px" height="100px" viewBox="24 15 356 100" xml:space="preserve"><script xmlns="" id="tinyhippos-injected"/>
4
- <style type="text/css">
5
- .st0{fill:#00AB4E;}
6
- </style>
7
- <g>
8
- <g>
9
- <path class="st0" d="M270.5,48.72c0,13.64-9,21.63-22.63,21.63h-11.54v19.82h-11.36V27.45h22.91 C261.5,27.45,270.5,34.99,270.5,48.72z M259.23,48.72c0-7.63-4.73-10.64-11.36-10.64h-11.54v21.63h11.54 C254.5,59.71,259.23,56.26,259.23,48.72z"/>
10
- <path class="st0" d="M323.85,61.81v27.81h-11.18v-5c0,0.09-3.91,5.55-13.54,5.55c-14.72,0-23.73-9.45-23.73-24.18v-4.18 c0-14.82,9.55-24.09,24.36-24.09C314.58,37.72,323.85,46.99,323.85,61.81z M312.67,61.81c0-8.18-5.27-13.18-12.91-13.18 c-7.64,0-13.18,5-13.18,13.18v4.18c0,7.73,5.64,13.27,13.18,13.27c8.09,0,12.91-4.54,12.91-13V61.81z"/>
11
- <path class="st0" d="M375.34,38.32v51.81c0,13.81-9.36,20.9-23.45,20.9c-6.82,0-12.91-2.72-16.91-6.36V93.4 c4,3.63,10.18,6.91,17.45,6.91c7.73,0,12.36-3.27,12.36-10.81v-4.82c-2.54,3.36-7.82,5.27-12.91,5.27 c-13.09,0-20.91-8.91-20.91-21.81V38.32h11.82v29.81c0,6.36,4.18,10.91,10.55,10.91c6.36,0,10.55-4,10.55-10.36V38.32H375.34z"/>
12
- </g>
13
- <path class="st0" d="M208.33,46.2c-4.44-4.44-10.28-6.89-16.42-6.89c-4.5,0-9.01,1.67-11.5,3.33c-5.13,3.42-9.36,7.14-16.96,16.96 v7.06c6.45-8.41,12.55-15.03,17.19-18.67c3.04-2.45,7.37-3.96,11.27-3.96c10.07,0,18.58,8.51,18.58,18.58v4.25 c0,4.98-1.96,9.66-5.52,13.18c-3.53,3.49-8.17,5.4-13.06,5.4c-8.27,0-15.56-5.68-17.54-13.43l-3.33,4.03 c2.42,8.13,11.19,14.12,20.87,14.12c6.14,0,11.98-2.44,16.42-6.88c4.44-4.44,6.88-10.27,6.88-16.42v-4.25 C215.21,56.47,212.77,50.64,208.33,46.2 M107.23,44.03c3.21,0,5.98,0.69,8.48,2.1c1.18-1.47,2.37-2.66,3.25-3.55 c-2.64-2.02-7.13-3.28-11.73-3.28c-6.56,0-12.5,2.36-16.76,6.66c-4.22,4.26-6.55,10.17-6.55,16.64v27.55h4.72V62.61 C88.65,51.68,96.29,44.03,107.23,44.03 M152.09,90.16V62.61c0-8.47-6.64-15.11-15.11-15.11c-3.95,0-7.71,1.6-10.61,4.5 c-2.9,2.9-4.5,6.67-4.5,10.61v4.25c0,8.19,6.92,15.11,15.11,15.11c2.24,0,5.3-0.55,7.17-2.08V74.9c-1.83,1.48-4.5,2.36-7.17,2.36 c-5.82,0-10.39-4.56-10.39-10.39v-4.25c0-5.82,4.56-10.39,10.39-10.39c5.83,0,10.39,4.56,10.39,10.39v27.55H152.09z M25.66,59.89 v1.52c0,8.18,3.11,15.82,8.75,21.49c5.62,5.67,13.17,8.78,21.23,8.78c6.48,0,12.23-1.46,17.08-4.35c4-2.38,5.77-4.79,5.92-5.01 V56.91H54.49v4.72h19.43v19.22l-0.02,0.02c-2.28,2.28-7.68,6.09-18.26,6.09c-6.9,0-13.29-2.63-17.99-7.42 c-4.69-4.76-7.26-11.2-7.26-18.14v-1.52c0-6.56,2.95-13.09,8.1-17.92c5.26-4.93,12.11-7.64,19.29-7.64 c6.69,0,11.36,1.02,15.11,3.28v-5.3c-3.9-1.66-8.56-2.41-15.11-2.41C40.36,29.91,25.66,43.64,25.66,59.89 M107.23,52.23 c1.79,0,3.31,0.3,4.52,0.89c0.59-1.47,1.19-2.68,2.07-4.14c-1.28-0.92-4.34-1.47-6.59-1.47c-8.61,0-15.11,6.49-15.11,15.11v27.55 h4.72V62.61C96.85,56.5,101.11,52.23,107.23,52.23 M72.87,46.69v-5.58c-4.27-2.29-8.93-3.31-15.11-3.31 c-6.3,0-12.28,2.31-16.84,6.51c-4.56,4.2-7.07,9.74-7.07,15.58v1.52c0,12.18,9.77,22.09,21.78,22.09c9.77,0,13.78-3.2,14.8-4.21 V65.11H54.49v4.72h11.54v7.1l-0.04,0.01c-1.48,0.6-4.57,1.83-10.34,1.83c-4.58,0-8.87-1.78-12.08-5.03 c-3.22-3.25-4.99-7.63-4.99-12.33v-1.52c0-9.42,8.79-17.37,19.19-17.37C64.96,42.52,69.21,43.69,72.87,46.69 M184.28,55.58 c2.13-2.13,4.92-3.35,7.63-3.35c5.82,0,10.39,4.56,10.39,10.39v4.25c0,5.83-4.56,10.39-10.39,10.39c-2.82,0-5.54-1.54-7.68-4.35 c-1.89-2.48-3.12-5.83-3.31-8.84l-3.82,4.67c0.75,3.58,2.62,6.99,5.25,9.39c2.72,2.48,6.11,3.84,9.55,3.84 c8.33,0,15.11-6.77,15.11-15.11v-4.25c0-3.94-1.6-7.71-4.49-10.61c-2.9-2.9-6.67-4.5-10.61-4.5c-2.5,0-6.46,0.9-11.19,5.15 l-0.02,0.02c-1.27,1.26-4.24,4.23-6.04,6.35c-3.04,3.31-7.46,8.31-11.21,13.33v7.37c4.17-5.37,6.57-8.37,10.5-12.9 C177.47,62.72,181.82,57.74,184.28,55.58 M113.68,66.86c0,6.15,2.44,11.98,6.88,16.42c4.44,4.44,10.27,6.88,16.42,6.88 c2.6,0,5.28-0.55,7.17-1.48v-4.72c-2.21,0.92-4.88,1.48-7.17,1.48c-10.07,0-18.58-8.51-18.58-18.58v-4.25 c0-10.07,8.51-18.58,18.58-18.58c5.01,0,9.69,1.92,13.17,5.41c3.49,3.49,5.41,8.17,5.41,13.17v27.55h4.72V61.71 c-0.29-6.01-2.86-11.64-7.22-15.85c-4.37-4.22-10.08-6.55-16.07-6.55c-6.14,0-11.98,2.44-16.42,6.89 c-4.44,4.44-6.88,10.27-6.88,16.41V66.86z M168.31,48.59c1.45-1.73,2.94-3.5,4.72-4.98V18.68h-4.72V48.59z M176.5,41.68v-23h4.72 v19.76C179.94,39.08,178.15,40.32,176.5,41.68"/>
14
- </g>
15
  </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Logo" x="0px" y="0px" width="350px" height="100px" viewBox="24 15 356 100" xml:space="preserve"><script xmlns="" id="tinyhippos-injected"/>
4
+ <style type="text/css">
5
+ .st0{fill:#00AB4E;}
6
+ </style>
7
+ <g>
8
+ <g>
9
+ <path class="st0" d="M270.5,48.72c0,13.64-9,21.63-22.63,21.63h-11.54v19.82h-11.36V27.45h22.91 C261.5,27.45,270.5,34.99,270.5,48.72z M259.23,48.72c0-7.63-4.73-10.64-11.36-10.64h-11.54v21.63h11.54 C254.5,59.71,259.23,56.26,259.23,48.72z"/>
10
+ <path class="st0" d="M323.85,61.81v27.81h-11.18v-5c0,0.09-3.91,5.55-13.54,5.55c-14.72,0-23.73-9.45-23.73-24.18v-4.18 c0-14.82,9.55-24.09,24.36-24.09C314.58,37.72,323.85,46.99,323.85,61.81z M312.67,61.81c0-8.18-5.27-13.18-12.91-13.18 c-7.64,0-13.18,5-13.18,13.18v4.18c0,7.73,5.64,13.27,13.18,13.27c8.09,0,12.91-4.54,12.91-13V61.81z"/>
11
+ <path class="st0" d="M375.34,38.32v51.81c0,13.81-9.36,20.9-23.45,20.9c-6.82,0-12.91-2.72-16.91-6.36V93.4 c4,3.63,10.18,6.91,17.45,6.91c7.73,0,12.36-3.27,12.36-10.81v-4.82c-2.54,3.36-7.82,5.27-12.91,5.27 c-13.09,0-20.91-8.91-20.91-21.81V38.32h11.82v29.81c0,6.36,4.18,10.91,10.55,10.91c6.36,0,10.55-4,10.55-10.36V38.32H375.34z"/>
12
+ </g>
13
+ <path class="st0" d="M208.33,46.2c-4.44-4.44-10.28-6.89-16.42-6.89c-4.5,0-9.01,1.67-11.5,3.33c-5.13,3.42-9.36,7.14-16.96,16.96 v7.06c6.45-8.41,12.55-15.03,17.19-18.67c3.04-2.45,7.37-3.96,11.27-3.96c10.07,0,18.58,8.51,18.58,18.58v4.25 c0,4.98-1.96,9.66-5.52,13.18c-3.53,3.49-8.17,5.4-13.06,5.4c-8.27,0-15.56-5.68-17.54-13.43l-3.33,4.03 c2.42,8.13,11.19,14.12,20.87,14.12c6.14,0,11.98-2.44,16.42-6.88c4.44-4.44,6.88-10.27,6.88-16.42v-4.25 C215.21,56.47,212.77,50.64,208.33,46.2 M107.23,44.03c3.21,0,5.98,0.69,8.48,2.1c1.18-1.47,2.37-2.66,3.25-3.55 c-2.64-2.02-7.13-3.28-11.73-3.28c-6.56,0-12.5,2.36-16.76,6.66c-4.22,4.26-6.55,10.17-6.55,16.64v27.55h4.72V62.61 C88.65,51.68,96.29,44.03,107.23,44.03 M152.09,90.16V62.61c0-8.47-6.64-15.11-15.11-15.11c-3.95,0-7.71,1.6-10.61,4.5 c-2.9,2.9-4.5,6.67-4.5,10.61v4.25c0,8.19,6.92,15.11,15.11,15.11c2.24,0,5.3-0.55,7.17-2.08V74.9c-1.83,1.48-4.5,2.36-7.17,2.36 c-5.82,0-10.39-4.56-10.39-10.39v-4.25c0-5.82,4.56-10.39,10.39-10.39c5.83,0,10.39,4.56,10.39,10.39v27.55H152.09z M25.66,59.89 v1.52c0,8.18,3.11,15.82,8.75,21.49c5.62,5.67,13.17,8.78,21.23,8.78c6.48,0,12.23-1.46,17.08-4.35c4-2.38,5.77-4.79,5.92-5.01 V56.91H54.49v4.72h19.43v19.22l-0.02,0.02c-2.28,2.28-7.68,6.09-18.26,6.09c-6.9,0-13.29-2.63-17.99-7.42 c-4.69-4.76-7.26-11.2-7.26-18.14v-1.52c0-6.56,2.95-13.09,8.1-17.92c5.26-4.93,12.11-7.64,19.29-7.64 c6.69,0,11.36,1.02,15.11,3.28v-5.3c-3.9-1.66-8.56-2.41-15.11-2.41C40.36,29.91,25.66,43.64,25.66,59.89 M107.23,52.23 c1.79,0,3.31,0.3,4.52,0.89c0.59-1.47,1.19-2.68,2.07-4.14c-1.28-0.92-4.34-1.47-6.59-1.47c-8.61,0-15.11,6.49-15.11,15.11v27.55 h4.72V62.61C96.85,56.5,101.11,52.23,107.23,52.23 M72.87,46.69v-5.58c-4.27-2.29-8.93-3.31-15.11-3.31 c-6.3,0-12.28,2.31-16.84,6.51c-4.56,4.2-7.07,9.74-7.07,15.58v1.52c0,12.18,9.77,22.09,21.78,22.09c9.77,0,13.78-3.2,14.8-4.21 V65.11H54.49v4.72h11.54v7.1l-0.04,0.01c-1.48,0.6-4.57,1.83-10.34,1.83c-4.58,0-8.87-1.78-12.08-5.03 c-3.22-3.25-4.99-7.63-4.99-12.33v-1.52c0-9.42,8.79-17.37,19.19-17.37C64.96,42.52,69.21,43.69,72.87,46.69 M184.28,55.58 c2.13-2.13,4.92-3.35,7.63-3.35c5.82,0,10.39,4.56,10.39,10.39v4.25c0,5.83-4.56,10.39-10.39,10.39c-2.82,0-5.54-1.54-7.68-4.35 c-1.89-2.48-3.12-5.83-3.31-8.84l-3.82,4.67c0.75,3.58,2.62,6.99,5.25,9.39c2.72,2.48,6.11,3.84,9.55,3.84 c8.33,0,15.11-6.77,15.11-15.11v-4.25c0-3.94-1.6-7.71-4.49-10.61c-2.9-2.9-6.67-4.5-10.61-4.5c-2.5,0-6.46,0.9-11.19,5.15 l-0.02,0.02c-1.27,1.26-4.24,4.23-6.04,6.35c-3.04,3.31-7.46,8.31-11.21,13.33v7.37c4.17-5.37,6.57-8.37,10.5-12.9 C177.47,62.72,181.82,57.74,184.28,55.58 M113.68,66.86c0,6.15,2.44,11.98,6.88,16.42c4.44,4.44,10.27,6.88,16.42,6.88 c2.6,0,5.28-0.55,7.17-1.48v-4.72c-2.21,0.92-4.88,1.48-7.17,1.48c-10.07,0-18.58-8.51-18.58-18.58v-4.25 c0-10.07,8.51-18.58,18.58-18.58c5.01,0,9.69,1.92,13.17,5.41c3.49,3.49,5.41,8.17,5.41,13.17v27.55h4.72V61.71 c-0.29-6.01-2.86-11.64-7.22-15.85c-4.37-4.22-10.08-6.55-16.07-6.55c-6.14,0-11.98,2.44-16.42,6.89 c-4.44,4.44-6.88,10.27-6.88,16.41V66.86z M168.31,48.59c1.45-1.73,2.94-3.5,4.72-4.98V18.68h-4.72V48.59z M176.5,41.68v-23h4.72 v19.76C179.94,39.08,178.15,40.32,176.5,41.68"/>
14
+ </g>
15
  </svg>
assets/img/klarna.svg CHANGED
@@ -1,25 +1,25 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 452.9 101.1" style="enable-background:new 0 0 452.9 101.1;" xml:space="preserve">
5
- <path d="M79.7,0H57.4c0,18.3-8.4,35-23,46l-8.8,6.6l34.2,46.6h28.1L56.4,56.3C71.3,41.5,79.7,21.5,79.7,0z"/>
6
- <rect width="22.8" height="99.2"/>
7
- <rect x="94.5" width="21.5" height="99.2"/>
8
- <path d="M304.6,28.7c-8.2,0-16,2.5-21.2,9.6v-7.7H263v68.6h20.7v-36c0-10.4,7-15.5,15.4-15.5c9,0,14.2,5.4,14.2,15.4v36.2h20.5V55.6
9
- C333.8,39.6,321.1,28.7,304.6,28.7z"/>
10
- <path d="M181,30.6V35c-5.8-4-12.8-6.3-20.4-6.3c-20,0-36.2,16.2-36.2,36.2s16.2,36.2,36.2,36.2c7.6,0,14.6-2.3,20.4-6.3v4.4h20.5
11
- V30.6H181z M162.3,82.5c-10.3,0-18.6-7.9-18.6-17.6s8.3-17.6,18.6-17.6c10.3,0,18.6,7.9,18.6,17.6S172.6,82.5,162.3,82.5z"/>
12
- <path d="M233.3,39.5v-8.9h-21v68.6h21.1v-32c0-10.8,11.7-16.6,19.8-16.6c0.1,0,0.2,0,0.2,0v-20C245.1,30.6,237.4,34.2,233.3,39.5z"
13
- />
14
- <path d="M397.6,30.6V35c-5.8-4-12.8-6.3-20.4-6.3c-20,0-36.2,16.2-36.2,36.2s16.2,36.2,36.2,36.2c7.6,0,14.6-2.3,20.4-6.3v4.4h20.5
15
- V30.6H397.6z M378.9,82.5c-10.3,0-18.6-7.9-18.6-17.6s8.3-17.6,18.6-17.6c10.3,0,18.6,7.9,18.6,17.6
16
- C397.6,74.6,389.2,82.5,378.9,82.5z"/>
17
- <g>
18
- <path d="M434,32.6c0-1-0.7-1.6-1.8-1.6h-1.9v5.2h0.9v-1.9h1l0.8,1.9h1l-0.9-2.1C433.7,33.8,434,33.3,434,32.6z M432.2,33.4h-1v-1.6
19
- h1c0.6,0,0.9,0.3,0.9,0.8S432.9,33.4,432.2,33.4z"/>
20
- <path d="M431.9,28.8c-2.7,0-4.9,2.2-4.9,4.9c0.1,2.7,2.2,4.9,4.9,4.9s4.9-2.2,4.9-4.9C436.8,31,434.6,28.8,431.9,28.8z M431.9,37.7
21
- c-2.2,0-3.9-1.8-3.9-4c0-2.2,1.8-4,3.9-4c2.2,0,3.9,1.8,3.9,4C435.8,35.9,434,37.7,431.9,37.7z"/>
22
- </g>
23
- <path d="M440,74.9c-7.1,0-12.9,5.8-12.9,12.9c0,7.1,5.8,12.9,12.9,12.9c7.1,0,12.9-5.8,12.9-12.9C452.9,80.6,447.1,74.9,440,74.9z"
24
- />
25
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 452.9 101.1" style="enable-background:new 0 0 452.9 101.1;" xml:space="preserve">
5
+ <path d="M79.7,0H57.4c0,18.3-8.4,35-23,46l-8.8,6.6l34.2,46.6h28.1L56.4,56.3C71.3,41.5,79.7,21.5,79.7,0z"/>
6
+ <rect width="22.8" height="99.2"/>
7
+ <rect x="94.5" width="21.5" height="99.2"/>
8
+ <path d="M304.6,28.7c-8.2,0-16,2.5-21.2,9.6v-7.7H263v68.6h20.7v-36c0-10.4,7-15.5,15.4-15.5c9,0,14.2,5.4,14.2,15.4v36.2h20.5V55.6
9
+ C333.8,39.6,321.1,28.7,304.6,28.7z"/>
10
+ <path d="M181,30.6V35c-5.8-4-12.8-6.3-20.4-6.3c-20,0-36.2,16.2-36.2,36.2s16.2,36.2,36.2,36.2c7.6,0,14.6-2.3,20.4-6.3v4.4h20.5
11
+ V30.6H181z M162.3,82.5c-10.3,0-18.6-7.9-18.6-17.6s8.3-17.6,18.6-17.6c10.3,0,18.6,7.9,18.6,17.6S172.6,82.5,162.3,82.5z"/>
12
+ <path d="M233.3,39.5v-8.9h-21v68.6h21.1v-32c0-10.8,11.7-16.6,19.8-16.6c0.1,0,0.2,0,0.2,0v-20C245.1,30.6,237.4,34.2,233.3,39.5z"
13
+ />
14
+ <path d="M397.6,30.6V35c-5.8-4-12.8-6.3-20.4-6.3c-20,0-36.2,16.2-36.2,36.2s16.2,36.2,36.2,36.2c7.6,0,14.6-2.3,20.4-6.3v4.4h20.5
15
+ V30.6H397.6z M378.9,82.5c-10.3,0-18.6-7.9-18.6-17.6s8.3-17.6,18.6-17.6c10.3,0,18.6,7.9,18.6,17.6
16
+ C397.6,74.6,389.2,82.5,378.9,82.5z"/>
17
+ <g>
18
+ <path d="M434,32.6c0-1-0.7-1.6-1.8-1.6h-1.9v5.2h0.9v-1.9h1l0.8,1.9h1l-0.9-2.1C433.7,33.8,434,33.3,434,32.6z M432.2,33.4h-1v-1.6
19
+ h1c0.6,0,0.9,0.3,0.9,0.8S432.9,33.4,432.2,33.4z"/>
20
+ <path d="M431.9,28.8c-2.7,0-4.9,2.2-4.9,4.9c0.1,2.7,2.2,4.9,4.9,4.9s4.9-2.2,4.9-4.9C436.8,31,434.6,28.8,431.9,28.8z M431.9,37.7
21
+ c-2.2,0-3.9-1.8-3.9-4c0-2.2,1.8-4,3.9-4c2.2,0,3.9,1.8,3.9,4C435.8,35.9,434,37.7,431.9,37.7z"/>
22
+ </g>
23
+ <path d="M440,74.9c-7.1,0-12.9,5.8-12.9,12.9c0,7.1,5.8,12.9,12.9,12.9c7.1,0,12.9-5.8,12.9-12.9C452.9,80.6,447.1,74.9,440,74.9z"
24
+ />
25
+ </svg>
assets/img/klarna_pink.svg CHANGED
@@ -1,14 +1,14 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg version="1.1" viewBox="0 0 45 25" height="25" width="45" xmlns="http://www.w3.org/2000/svg">
3
- <title>Klarna Payment Badge</title>
4
- <g fill="none" fill-rule="evenodd">
5
- <g transform="translate(-310 -37)" fill-rule="nonzero">
6
- <g transform="translate(310 37)">
7
- <rect x="5.6843e-14" width="45" height="25" rx="4.321" fill="#FFB3C7"/>
8
- <g transform="translate(4.4136 8.4)" fill="#0A0B09">
9
- <path d="m36.38 6.2463c-0.58875 0-1.066 0.48158-1.066 1.0757 0 0.594 0.47725 1.0757 1.066 1.0757 0.58874 0 1.0661-0.48167 1.0661-1.0757 0-0.59416-0.47734-1.0757-1.0661-1.0757zm-3.5073-0.83166c0-0.81338-0.68897-1.4726-1.5389-1.4726s-1.539 0.65925-1.539 1.4726c0 0.81339 0.68898 1.4728 1.539 1.4728s1.5389-0.65941 1.5389-1.4728zm0.0057148-2.8622h1.6984v5.7242h-1.6984v-0.36584c-0.47982 0.3302-1.059 0.52431-1.6837 0.52431-1.6531 0-2.9933-1.3523-2.9933-3.0205s1.3402-3.0204 2.9933-3.0204c0.6247 0 1.2039 0.1941 1.6837 0.5244v-0.36619zm-13.592 0.74562v-0.74554h-1.7389v5.7241h1.7428v-2.6725c0-0.90167 0.96849-1.3863 1.6405-1.3863 0.0068818 0 0.013306 6.6771e-4 0.020188 7.527e-4v-1.6656c-0.68973 0-1.3241 0.298-1.6646 0.7452zm-4.3316 2.1166c0-0.81338-0.68905-1.4726-1.539-1.4726-0.84991 0-1.539 0.65925-1.539 1.4726 0 0.81339 0.68905 1.4728 1.539 1.4728 0.84998 0 1.539-0.65941 1.539-1.4728zm0.0056186-2.8622h1.6985v5.7242h-1.6985v-0.36584c-0.47982 0.3302-1.059 0.52431-1.6836 0.52431-1.6532 0-2.9934-1.3523-2.9934-3.0205s1.3402-3.0204 2.9934-3.0204c0.62464 0 1.2038 0.1941 1.6836 0.5244v-0.36619zm10.223-0.15396c-0.67846 0-1.3206 0.21255-1.7499 0.79895v-0.64465h-1.6911v5.7239h1.7119v-3.0081c0-0.87046 0.57847-1.2967 1.275-1.2967 0.74646 0 1.1756 0.44996 1.1756 1.2849v3.0199h1.6964v-3.6401c0-1.3321-1.0496-2.238-2.4179-2.238zm-17.374 5.8782h1.7777v-8.2751h-1.7777v8.2751zm-7.8091 0.0022581h1.8824v-8.2789h-1.8824v8.2789zm6.584-8.2789c0 1.7923-0.69219 3.4596-1.9256 4.6989l2.602 3.5803h-2.325l-2.8278-3.891 0.72981-0.55152c1.2103-0.91484 1.9045-2.3132 1.9045-3.8367h1.8421z"/>
10
- </g>
11
- </g>
12
- </g>
13
- </g>
14
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg version="1.1" viewBox="0 0 45 25" height="25" width="45" xmlns="http://www.w3.org/2000/svg">
3
+ <title>Klarna Payment Badge</title>
4
+ <g fill="none" fill-rule="evenodd">
5
+ <g transform="translate(-310 -37)" fill-rule="nonzero">
6
+ <g transform="translate(310 37)">
7
+ <rect x="5.6843e-14" width="45" height="25" rx="4.321" fill="#FFB3C7"/>
8
+ <g transform="translate(4.4136 8.4)" fill="#0A0B09">
9
+ <path d="m36.38 6.2463c-0.58875 0-1.066 0.48158-1.066 1.0757 0 0.594 0.47725 1.0757 1.066 1.0757 0.58874 0 1.0661-0.48167 1.0661-1.0757 0-0.59416-0.47734-1.0757-1.0661-1.0757zm-3.5073-0.83166c0-0.81338-0.68897-1.4726-1.5389-1.4726s-1.539 0.65925-1.539 1.4726c0 0.81339 0.68898 1.4728 1.539 1.4728s1.5389-0.65941 1.5389-1.4728zm0.0057148-2.8622h1.6984v5.7242h-1.6984v-0.36584c-0.47982 0.3302-1.059 0.52431-1.6837 0.52431-1.6531 0-2.9933-1.3523-2.9933-3.0205s1.3402-3.0204 2.9933-3.0204c0.6247 0 1.2039 0.1941 1.6837 0.5244v-0.36619zm-13.592 0.74562v-0.74554h-1.7389v5.7241h1.7428v-2.6725c0-0.90167 0.96849-1.3863 1.6405-1.3863 0.0068818 0 0.013306 6.6771e-4 0.020188 7.527e-4v-1.6656c-0.68973 0-1.3241 0.298-1.6646 0.7452zm-4.3316 2.1166c0-0.81338-0.68905-1.4726-1.539-1.4726-0.84991 0-1.539 0.65925-1.539 1.4726 0 0.81339 0.68905 1.4728 1.539 1.4728 0.84998 0 1.539-0.65941 1.539-1.4728zm0.0056186-2.8622h1.6985v5.7242h-1.6985v-0.36584c-0.47982 0.3302-1.059 0.52431-1.6836 0.52431-1.6532 0-2.9934-1.3523-2.9934-3.0205s1.3402-3.0204 2.9934-3.0204c0.62464 0 1.2038 0.1941 1.6836 0.5244v-0.36619zm10.223-0.15396c-0.67846 0-1.3206 0.21255-1.7499 0.79895v-0.64465h-1.6911v5.7239h1.7119v-3.0081c0-0.87046 0.57847-1.2967 1.275-1.2967 0.74646 0 1.1756 0.44996 1.1756 1.2849v3.0199h1.6964v-3.6401c0-1.3321-1.0496-2.238-2.4179-2.238zm-17.374 5.8782h1.7777v-8.2751h-1.7777v8.2751zm-7.8091 0.0022581h1.8824v-8.2789h-1.8824v8.2789zm6.584-8.2789c0 1.7923-0.69219 3.4596-1.9256 4.6989l2.602 3.5803h-2.325l-2.8278-3.891 0.72981-0.55152c1.2103-0.91484 1.9045-2.3132 1.9045-3.8367h1.8421z"/>
10
+ </g>
11
+ </g>
12
+ </g>
13
+ </g>
14
+ </svg>
assets/img/logo.svg CHANGED
@@ -1,122 +1,122 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="220" height="100" viewBox="120 160 140 84" version="1.1">
3
- <defs>
4
- <g>
5
- <symbol overflow="visible" id="glyph0-0">
6
- <path style="stroke:none;" d=""/>
7
- </symbol>
8
- <symbol overflow="visible" id="glyph0-1">
9
- <path style="stroke:none;" d="M 14.828125 -29.78125 C 16.003906 -29.78125 17.109375 -29.542969 18.140625 -29.078125 C 19.179688 -28.617188 20.085938 -27.988281 20.859375 -27.1875 C 21.628906 -26.394531 22.238281 -25.457031 22.6875 -24.375 C 23.132813 -23.300781 23.359375 -22.148438 23.359375 -20.921875 C 23.359375 -19.679688 23.132813 -18.519531 22.6875 -17.4375 C 22.238281 -16.363281 21.628906 -15.417969 20.859375 -14.609375 C 20.085938 -13.796875 19.179688 -13.160156 18.140625 -12.703125 C 17.109375 -12.242188 16.003906 -12.015625 14.828125 -12.015625 L 8.3125 -12.015625 L 8.3125 0 L 1.96875 0 L 1.96875 -29.78125 Z M 13.984375 -17.8125 C 14.792969 -17.8125 15.503906 -18.109375 16.109375 -18.703125 C 16.710938 -19.304688 17.015625 -20.046875 17.015625 -20.921875 C 17.015625 -21.753906 16.710938 -22.472656 16.109375 -23.078125 C 15.503906 -23.679688 14.792969 -23.984375 13.984375 -23.984375 L 8.3125 -23.984375 L 8.3125 -17.8125 Z M 13.984375 -17.8125 "/>
10
- </symbol>
11
- <symbol overflow="visible" id="glyph0-2">
12
- <path style="stroke:none;" d="M 23.6875 -20.828125 L 23.6875 0 L 18.6875 0 L 18.109375 -2.21875 C 17.296875 -1.132813 16.320313 -0.410156 15.1875 -0.046875 C 14.050781 0.316406 12.867188 0.5 11.640625 0.5 C 10.148438 0.5 8.777344 0.210938 7.53125 -0.359375 C 6.289063 -0.929688 5.207031 -1.710938 4.28125 -2.703125 C 3.351563 -3.699219 2.628906 -4.863281 2.109375 -6.1875 C 1.597656 -7.519531 1.34375 -8.941406 1.34375 -10.453125 C 1.34375 -11.960938 1.597656 -13.382813 2.109375 -14.71875 C 2.628906 -16.050781 3.351563 -17.210938 4.28125 -18.203125 C 5.207031 -19.199219 6.289063 -19.988281 7.53125 -20.5625 C 8.777344 -21.132813 10.148438 -21.421875 11.640625 -21.421875 C 12.980469 -21.421875 14.210938 -21.207031 15.328125 -20.78125 C 16.449219 -20.363281 17.378906 -19.695313 18.109375 -18.78125 L 18.6875 -20.828125 Z M 17.890625 -10.375 C 17.890625 -11.464844 17.742188 -12.382813 17.453125 -13.125 C 17.160156 -13.863281 16.769531 -14.460938 16.28125 -14.921875 C 15.789063 -15.386719 15.210938 -15.726563 14.546875 -15.9375 C 13.890625 -16.144531 13.183594 -16.25 12.4375 -16.25 C 11.675781 -16.25 10.964844 -16.089844 10.3125 -15.78125 C 9.65625 -15.476563 9.070313 -15.066406 8.5625 -14.546875 C 8.0625 -14.035156 7.667969 -13.417969 7.390625 -12.703125 C 7.109375 -11.992188 6.96875 -11.242188 6.96875 -10.453125 C 6.96875 -9.640625 7.109375 -8.882813 7.390625 -8.1875 C 7.667969 -7.488281 8.0625 -6.878906 8.5625 -6.359375 C 9.070313 -5.847656 9.65625 -5.433594 10.3125 -5.125 C 10.964844 -4.8125 11.675781 -4.65625 12.4375 -4.65625 C 13.945313 -4.65625 15.222656 -5.125 16.265625 -6.0625 C 17.316406 -6.996094 17.859375 -8.4375 17.890625 -10.375 Z M 17.890625 -10.375 "/>
13
- </symbol>
14
- <symbol overflow="visible" id="glyph0-3">
15
- <path style="stroke:none;" d="M 17.96875 -20.828125 L 24.3125 -20.828125 L 11.171875 8.3125 L 4.828125 8.3125 L 10 -3.15625 L 1.171875 -20.828125 L 7.640625 -20.828125 L 13.0625 -9.953125 Z M 17.96875 -20.828125 "/>
16
- </symbol>
17
- <symbol overflow="visible" id="glyph0-4">
18
- <path style="stroke:none;" d="M 25.078125 -20.828125 C 25.824219 -20.828125 26.632813 -20.699219 27.5 -20.453125 C 28.371094 -20.203125 29.179688 -19.753906 29.921875 -19.109375 C 30.660156 -18.460938 31.269531 -17.574219 31.75 -16.453125 C 32.226563 -15.335938 32.46875 -13.914063 32.46875 -12.1875 L 32.46875 0 L 26.671875 0 L 26.671875 -11.125 C 26.671875 -11.964844 26.574219 -12.679688 26.390625 -13.265625 C 26.210938 -13.855469 25.964844 -14.335938 25.65625 -14.703125 C 25.351563 -15.066406 24.996094 -15.320313 24.59375 -15.46875 C 24.1875 -15.621094 23.773438 -15.703125 23.359375 -15.703125 C 22.960938 -15.703125 22.566406 -15.628906 22.171875 -15.484375 C 21.785156 -15.347656 21.433594 -15.113281 21.125 -14.78125 C 20.8125 -14.445313 20.566406 -13.980469 20.390625 -13.390625 C 20.210938 -12.804688 20.125 -12.066406 20.125 -11.171875 L 20.125 0 L 14.328125 0 L 14.328125 -11.125 C 14.328125 -12.832031 14.027344 -14.019531 13.4375 -14.6875 C 12.851563 -15.363281 11.996094 -15.703125 10.875 -15.703125 C 10.0625 -15.703125 9.332031 -15.320313 8.6875 -14.5625 C 8.050781 -13.8125 7.734375 -12.636719 7.734375 -11.046875 L 7.734375 0 L 1.9375 0 L 1.9375 -20.828125 L 6.890625 -20.828125 L 7.734375 -18.90625 C 8.367188 -19.519531 9.113281 -19.992188 9.96875 -20.328125 C 10.820313 -20.660156 11.738281 -20.828125 12.71875 -20.828125 C 13.226563 -20.828125 13.757813 -20.773438 14.3125 -20.671875 C 14.871094 -20.578125 15.421875 -20.402344 15.953125 -20.15625 C 16.492188 -19.90625 17.007813 -19.574219 17.5 -19.171875 C 17.988281 -18.765625 18.425781 -18.253906 18.8125 -17.640625 C 19.144531 -18.167969 19.550781 -18.640625 20.03125 -19.046875 C 20.507813 -19.449219 21.023438 -19.785156 21.578125 -20.046875 C 22.136719 -20.316406 22.722656 -20.515625 23.328125 -20.640625 C 23.929688 -20.761719 24.515625 -20.828125 25.078125 -20.828125 Z M 25.078125 -20.828125 "/>
19
- </symbol>
20
- <symbol overflow="visible" id="glyph0-5">
21
- <path style="stroke:none;" d="M 12.1875 -21.421875 C 13.746094 -21.421875 15.171875 -21.101563 16.453125 -20.46875 C 17.742188 -19.84375 18.851563 -19.019531 19.78125 -18 C 20.707031 -16.976563 21.421875 -15.800781 21.921875 -14.46875 C 22.429688 -13.132813 22.6875 -11.769531 22.6875 -10.375 C 22.6875 -9.53125 22.570313 -8.632813 22.34375 -7.6875 L 7.46875 -7.6875 C 8.027344 -6.738281 8.828125 -5.929688 9.859375 -5.265625 C 10.898438 -4.609375 12.023438 -4.28125 13.234375 -4.28125 C 14.429688 -4.28125 15.484375 -4.378906 16.390625 -4.578125 C 17.304688 -4.773438 18.171875 -5.023438 18.984375 -5.328125 L 20.921875 -1.765625 C 19.878906 -1.035156 18.691406 -0.472656 17.359375 -0.078125 C 16.035156 0.304688 14.617188 0.5 13.109375 0.5 C 11.453125 0.5 9.910156 0.210938 8.484375 -0.359375 C 7.054688 -0.929688 5.808594 -1.707031 4.75 -2.6875 C 3.6875 -3.664063 2.839844 -4.828125 2.21875 -6.171875 C 1.601563 -7.511719 1.296875 -8.941406 1.296875 -10.453125 C 1.296875 -11.941406 1.578125 -13.347656 2.140625 -14.671875 C 2.699219 -16.003906 3.476563 -17.164063 4.46875 -18.15625 C 5.464844 -19.152344 6.625 -19.945313 7.9375 -20.53125 C 9.246094 -21.121094 10.664063 -21.421875 12.1875 -21.421875 Z M 16.921875 -12.1875 C 16.585938 -13.382813 15.980469 -14.359375 15.109375 -15.109375 C 14.242188 -15.867188 13.269531 -16.25 12.1875 -16.25 C 11.0625 -16.25 10.039063 -15.867188 9.125 -15.109375 C 8.21875 -14.359375 7.597656 -13.382813 7.265625 -12.1875 Z M 16.921875 -12.1875 "/>
22
- </symbol>
23
- <symbol overflow="visible" id="glyph0-6">
24
- <path style="stroke:none;" d="M 12.71875 -20.828125 C 13.507813 -20.828125 14.378906 -20.710938 15.328125 -20.484375 C 16.285156 -20.265625 17.179688 -19.847656 18.015625 -19.234375 C 18.855469 -18.617188 19.566406 -17.761719 20.140625 -16.671875 C 20.710938 -15.578125 21 -14.164063 21 -12.4375 L 21 0 L 15.15625 0 L 15.15625 -12.21875 C 15.15625 -12.863281 15.050781 -13.410156 14.84375 -13.859375 C 14.632813 -14.304688 14.351563 -14.660156 14 -14.921875 C 13.65625 -15.191406 13.257813 -15.390625 12.8125 -15.515625 C 12.363281 -15.636719 11.914063 -15.703125 11.46875 -15.703125 C 11.101563 -15.703125 10.699219 -15.636719 10.265625 -15.515625 C 9.835938 -15.390625 9.429688 -15.183594 9.046875 -14.90625 C 8.671875 -14.625 8.355469 -14.257813 8.109375 -13.8125 C 7.859375 -13.363281 7.734375 -12.832031 7.734375 -12.21875 L 7.734375 0 L 1.9375 0 L 1.9375 -20.828125 L 6.890625 -20.828125 L 7.734375 -19.234375 C 8.398438 -19.710938 9.148438 -20.097656 9.984375 -20.390625 C 10.824219 -20.679688 11.738281 -20.828125 12.71875 -20.828125 Z M 12.71875 -20.828125 "/>
25
- </symbol>
26
- <symbol overflow="visible" id="glyph0-7">
27
- <path style="stroke:none;" d="M 9.578125 -7.46875 C 9.578125 -6.488281 9.875 -5.730469 10.46875 -5.203125 C 11.070313 -4.671875 11.867188 -4.40625 12.859375 -4.40625 C 13.636719 -4.40625 14.421875 -4.5625 15.203125 -4.875 L 15.203125 0 C 14.503906 0.226563 13.757813 0.414063 12.96875 0.5625 C 12.1875 0.714844 11.402344 0.796875 10.625 0.796875 C 9.726563 0.796875 8.871094 0.679688 8.0625 0.453125 C 7.25 0.234375 6.519531 -0.144531 5.875 -0.6875 C 5.226563 -1.238281 4.714844 -1.96875 4.34375 -2.875 C 3.96875 -3.777344 3.78125 -4.910156 3.78125 -6.265625 L 3.78125 -15.671875 L 0.796875 -15.671875 L 0.796875 -19.578125 L 3.78125 -20.828125 L 3.78125 -25.5 L 9.578125 -25.5 L 9.578125 -20.828125 L 15.203125 -20.828125 L 15.203125 -15.671875 L 9.578125 -15.671875 Z M 9.578125 -7.46875 "/>
28
- </symbol>
29
- <symbol overflow="visible" id="glyph1-0">
30
- <path style="stroke:none;" d="M 8.078125 -13.714844 C 7.457031 -13.796875 6.976563 -13.796875 6.277344 -13.796875 L 2 -13.796875 L 2 0 L 3.71875 0 L 3.71875 -5.636719 L 6.277344 -5.636719 C 6.976563 -5.636719 7.457031 -5.636719 8.078125 -5.71875 C 10.078125 -5.976563 11.65625 -7.378906 11.65625 -9.71875 C 11.65625 -12.058594 10.277344 -13.4375 8.078125 -13.714844 Z M 7.976563 -7.179688 C 7.597656 -7.097656 7.058594 -7.078125 6.4375 -7.078125 L 3.71875 -7.078125 L 3.71875 -12.355469 L 6.4375 -12.355469 C 7.058594 -12.355469 7.597656 -12.335938 7.976563 -12.257813 C 8.957031 -12.035156 9.816406 -11.316406 9.816406 -9.71875 C 9.816406 -8.117188 8.957031 -7.398438 7.976563 -7.179688 Z M 7.976563 -7.179688 "/>
31
- </symbol>
32
- <symbol overflow="visible" id="glyph1-1">
33
- <path style="stroke:none;" d="M 11.175781 -1.398438 L 3.71875 -1.398438 L 3.71875 -13.796875 L 2 -13.796875 L 2 0 L 11.175781 0 Z M 11.175781 -1.398438 "/>
34
- </symbol>
35
- <symbol overflow="visible" id="glyph1-2">
36
- <path style="stroke:none;" d="M 12.238281 -13.796875 L 10.515625 -13.796875 L 10.515625 -5.257813 C 10.515625 -4.820313 10.515625 -4.398438 10.476563 -4.039063 C 10.316406 -2.300781 9.175781 -1.078125 7.058594 -1.078125 C 4.9375 -1.078125 3.800781 -2.300781 3.640625 -4.039063 C 3.597656 -4.398438 3.597656 -4.820313 3.597656 -5.257813 L 3.597656 -13.796875 L 1.878906 -13.796875 L 1.878906 -5.097656 C 1.878906 -4.660156 1.878906 -4.257813 1.917969 -3.859375 C 2.121094 -1.558594 3.679688 0.28125 7.058594 0.28125 C 10.4375 0.28125 11.996094 -1.558594 12.195313 -3.859375 C 12.238281 -4.257813 12.238281 -4.660156 12.238281 -5.097656 Z M 12.238281 -13.796875 "/>
37
- </symbol>
38
- <symbol overflow="visible" id="glyph1-3">
39
- <path style="stroke:none;" d="M 7.976563 -6.660156 L 7.976563 -5.257813 L 11.195313 -5.257813 C 11.195313 -2.800781 9.539063 -1.078125 7.296875 -1.078125 C 4.578125 -1.078125 2.859375 -3.519531 2.859375 -6.917969 C 2.859375 -10.257813 4.597656 -12.71875 7.417969 -12.71875 C 9.71875 -12.71875 10.9375 -11.378906 11.335938 -9.398438 L 11.378906 -9.199219 L 13.097656 -9.199219 L 13.078125 -9.398438 C 12.796875 -12.097656 10.957031 -14.078125 7.457031 -14.078125 C 3.539063 -14.078125 0.941406 -11.039063 0.941406 -6.839844 C 0.941406 -2.800781 3.179688 0.28125 7.199219 0.28125 C 8.777344 0.28125 9.996094 -0.238281 10.777344 -1.121094 L 11.398438 -2.398438 L 11.398438 0 L 12.917969 0 L 12.917969 -6.660156 Z M 7.976563 -6.660156 "/>
40
- </symbol>
41
- <symbol overflow="visible" id="glyph1-4">
42
- <path style="stroke:none;" d="M 3.71875 0 L 3.71875 -13.796875 L 2 -13.796875 L 2 0 Z M 3.71875 0 "/>
43
- </symbol>
44
- <symbol overflow="visible" id="glyph1-5">
45
- <path style="stroke:none;" d="M 12.796875 0 L 12.757813 -13.796875 L 11.078125 -13.796875 L 11.078125 -6.898438 C 11.078125 -5.277344 11.097656 -3.300781 11.136719 -1.679688 L 4.640625 -13.796875 L 2 -13.796875 L 2 0 L 3.71875 0 L 3.71875 -6.898438 C 3.71875 -8.519531 3.699219 -10.496094 3.660156 -12.117188 L 10.15625 0 Z M 12.796875 0 "/>
46
- </symbol>
47
- <symbol overflow="visible" id="glyph1-6">
48
- <path style="stroke:none;" d="M 6.277344 -14.078125 C 3.738281 -14.078125 1.679688 -12.578125 1.679688 -10.199219 C 1.679688 -7.917969 3.378906 -6.9375 5.820313 -6.378906 C 8.238281 -5.820313 9.199219 -5.058594 9.199219 -3.378906 C 9.199219 -1.941406 7.917969 -1.078125 6.339844 -1.078125 C 4.539063 -1.078125 3.277344 -2.097656 2.878906 -3.917969 L 1.039063 -3.917969 C 1.339844 -1.257813 3.257813 0.28125 6.296875 0.28125 C 8.957031 0.28125 11.039063 -1.28125 11.039063 -3.699219 C 11.039063 -6.039063 9.519531 -7.277344 6.476563 -7.976563 C 4.378906 -8.457031 3.519531 -9.097656 3.519531 -10.597656 C 3.519531 -12.035156 4.679688 -12.71875 6.136719 -12.71875 C 7.878906 -12.71875 8.898438 -11.71875 9.058594 -9.976563 L 10.898438 -9.976563 C 10.636719 -12.335938 9.136719 -14.078125 6.277344 -14.078125 Z M 6.277344 -14.078125 "/>
49
- </symbol>
50
- </g>
51
- <filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
52
- <feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
53
- </filter>
54
- <mask id="mask0">
55
- <g filter="url(#alpha)">
56
- <rect x="0" y="0" width="375" height="374.999989" style="fill:rgb(0%,0%,0%);fill-opacity:0.619608;stroke:none;"/>
57
- </g>
58
- </mask>
59
- <clipPath id="clip2">
60
- <path d="M 0.535156 18 L 46.285156 18 L 46.285156 40 L 0.535156 40 Z M 0.535156 18 "/>
61
- </clipPath>
62
- <clipPath id="clip3">
63
- <path d="M 0.535156 7 L 46.285156 7 L 46.285156 16 L 0.535156 16 Z M 0.535156 7 "/>
64
- </clipPath>
65
- <clipPath id="clip1">
66
- <rect width="47" height="40"/>
67
- </clipPath>
68
- <g id="surface12" clip-path="url(#clip1)">
69
- <g clip-path="url(#clip2)" clip-rule="nonzero">
70
- <path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.199097%,44.299316%,100%);fill-opacity:1;" d="M 0.535156 18.351563 L 0.535156 31.695313 C 0.535156 35.898438 3.957031 39.703125 8.160156 39.703125 L 38.660156 39.703125 C 42.863281 39.703125 46.285156 35.898438 46.285156 31.695313 L 46.285156 18.351563 Z M 6.632813 24.453125 L 14.257813 24.453125 L 14.257813 25.976563 L 6.632813 25.976563 Z M 21.882813 30.550781 L 6.632813 30.550781 L 6.632813 27.503906 L 21.882813 27.503906 Z M 21.882813 30.550781 "/>
71
- </g>
72
- <g clip-path="url(#clip3)" clip-rule="nonzero">
73
- <path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.199097%,44.299316%,100%);fill-opacity:1;" d="M 38.660156 7.675781 L 8.160156 7.675781 C 3.957031 7.675781 0.535156 10.726563 0.535156 15.300781 L 46.285156 15.300781 C 46.285156 10.726563 42.863281 7.675781 38.660156 7.675781 Z M 38.660156 7.675781 "/>
74
- </g>
75
- </g>
76
- </defs>
77
- <g id="surface1" style="fill: none;">
78
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
79
- <use xlink:href="#glyph0-1" x="101.317627" y="191.696365"/>
80
- </g>
81
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
82
- <use xlink:href="#glyph0-2" x="123.913626" y="191.696365"/>
83
- </g>
84
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
85
- <use xlink:href="#glyph0-3" x="148.189629" y="191.696365"/>
86
- </g>
87
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
88
- <use xlink:href="#glyph0-4" x="171.751623" y="191.696365"/>
89
- </g>
90
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
91
- <use xlink:href="#glyph0-5" x="204.763623" y="191.696365"/>
92
- </g>
93
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
94
- <use xlink:href="#glyph0-6" x="228.493622" y="191.696365"/>
95
- </g>
96
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
97
- <use xlink:href="#glyph0-7" x="249.95562" y="191.696365"/>
98
- </g>
99
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
100
- <use xlink:href="#glyph1-0" x="101.317627" y="231.0585"/>
101
- </g>
102
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
103
- <use xlink:href="#glyph1-1" x="118.672916" y="231.0585"/>
104
- </g>
105
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
106
- <use xlink:href="#glyph1-2" x="135.568381" y="231.0585"/>
107
- </g>
108
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
109
- <use xlink:href="#glyph1-3" x="154.603002" y="231.0585"/>
110
- </g>
111
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
112
- <use xlink:href="#glyph1-4" x="174.197404" y="231.0585"/>
113
- </g>
114
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
115
- <use xlink:href="#glyph1-5" x="184.875325" y="231.0585"/>
116
- </g>
117
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
118
- <use xlink:href="#glyph1-6" x="204.629659" y="231.0585"/>
119
- </g>
120
- <use xlink:href="#surface12" transform="matrix(1,0,0,1,225,197)" mask="url(#mask0)"/>
121
- </g>
122
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="220" height="100" viewBox="120 160 140 84" version="1.1">
3
+ <defs>
4
+ <g>
5
+ <symbol overflow="visible" id="glyph0-0">
6
+ <path style="stroke:none;" d=""/>
7
+ </symbol>
8
+ <symbol overflow="visible" id="glyph0-1">
9
+ <path style="stroke:none;" d="M 14.828125 -29.78125 C 16.003906 -29.78125 17.109375 -29.542969 18.140625 -29.078125 C 19.179688 -28.617188 20.085938 -27.988281 20.859375 -27.1875 C 21.628906 -26.394531 22.238281 -25.457031 22.6875 -24.375 C 23.132813 -23.300781 23.359375 -22.148438 23.359375 -20.921875 C 23.359375 -19.679688 23.132813 -18.519531 22.6875 -17.4375 C 22.238281 -16.363281 21.628906 -15.417969 20.859375 -14.609375 C 20.085938 -13.796875 19.179688 -13.160156 18.140625 -12.703125 C 17.109375 -12.242188 16.003906 -12.015625 14.828125 -12.015625 L 8.3125 -12.015625 L 8.3125 0 L 1.96875 0 L 1.96875 -29.78125 Z M 13.984375 -17.8125 C 14.792969 -17.8125 15.503906 -18.109375 16.109375 -18.703125 C 16.710938 -19.304688 17.015625 -20.046875 17.015625 -20.921875 C 17.015625 -21.753906 16.710938 -22.472656 16.109375 -23.078125 C 15.503906 -23.679688 14.792969 -23.984375 13.984375 -23.984375 L 8.3125 -23.984375 L 8.3125 -17.8125 Z M 13.984375 -17.8125 "/>
10
+ </symbol>
11
+ <symbol overflow="visible" id="glyph0-2">
12
+ <path style="stroke:none;" d="M 23.6875 -20.828125 L 23.6875 0 L 18.6875 0 L 18.109375 -2.21875 C 17.296875 -1.132813 16.320313 -0.410156 15.1875 -0.046875 C 14.050781 0.316406 12.867188 0.5 11.640625 0.5 C 10.148438 0.5 8.777344 0.210938 7.53125 -0.359375 C 6.289063 -0.929688 5.207031 -1.710938 4.28125 -2.703125 C 3.351563 -3.699219 2.628906 -4.863281 2.109375 -6.1875 C 1.597656 -7.519531 1.34375 -8.941406 1.34375 -10.453125 C 1.34375 -11.960938 1.597656 -13.382813 2.109375 -14.71875 C 2.628906 -16.050781 3.351563 -17.210938 4.28125 -18.203125 C 5.207031 -19.199219 6.289063 -19.988281 7.53125 -20.5625 C 8.777344 -21.132813 10.148438 -21.421875 11.640625 -21.421875 C 12.980469 -21.421875 14.210938 -21.207031 15.328125 -20.78125 C 16.449219 -20.363281 17.378906 -19.695313 18.109375 -18.78125 L 18.6875 -20.828125 Z M 17.890625 -10.375 C 17.890625 -11.464844 17.742188 -12.382813 17.453125 -13.125 C 17.160156 -13.863281 16.769531 -14.460938 16.28125 -14.921875 C 15.789063 -15.386719 15.210938 -15.726563 14.546875 -15.9375 C 13.890625 -16.144531 13.183594 -16.25 12.4375 -16.25 C 11.675781 -16.25 10.964844 -16.089844 10.3125 -15.78125 C 9.65625 -15.476563 9.070313 -15.066406 8.5625 -14.546875 C 8.0625 -14.035156 7.667969 -13.417969 7.390625 -12.703125 C 7.109375 -11.992188 6.96875 -11.242188 6.96875 -10.453125 C 6.96875 -9.640625 7.109375 -8.882813 7.390625 -8.1875 C 7.667969 -7.488281 8.0625 -6.878906 8.5625 -6.359375 C 9.070313 -5.847656 9.65625 -5.433594 10.3125 -5.125 C 10.964844 -4.8125 11.675781 -4.65625 12.4375 -4.65625 C 13.945313 -4.65625 15.222656 -5.125 16.265625 -6.0625 C 17.316406 -6.996094 17.859375 -8.4375 17.890625 -10.375 Z M 17.890625 -10.375 "/>
13
+ </symbol>
14
+ <symbol overflow="visible" id="glyph0-3">
15
+ <path style="stroke:none;" d="M 17.96875 -20.828125 L 24.3125 -20.828125 L 11.171875 8.3125 L 4.828125 8.3125 L 10 -3.15625 L 1.171875 -20.828125 L 7.640625 -20.828125 L 13.0625 -9.953125 Z M 17.96875 -20.828125 "/>
16
+ </symbol>
17
+ <symbol overflow="visible" id="glyph0-4">
18
+ <path style="stroke:none;" d="M 25.078125 -20.828125 C 25.824219 -20.828125 26.632813 -20.699219 27.5 -20.453125 C 28.371094 -20.203125 29.179688 -19.753906 29.921875 -19.109375 C 30.660156 -18.460938 31.269531 -17.574219 31.75 -16.453125 C 32.226563 -15.335938 32.46875 -13.914063 32.46875 -12.1875 L 32.46875 0 L 26.671875 0 L 26.671875 -11.125 C 26.671875 -11.964844 26.574219 -12.679688 26.390625 -13.265625 C 26.210938 -13.855469 25.964844 -14.335938 25.65625 -14.703125 C 25.351563 -15.066406 24.996094 -15.320313 24.59375 -15.46875 C 24.1875 -15.621094 23.773438 -15.703125 23.359375 -15.703125 C 22.960938 -15.703125 22.566406 -15.628906 22.171875 -15.484375 C 21.785156 -15.347656 21.433594 -15.113281 21.125 -14.78125 C 20.8125 -14.445313 20.566406 -13.980469 20.390625 -13.390625 C 20.210938 -12.804688 20.125 -12.066406 20.125 -11.171875 L 20.125 0 L 14.328125 0 L 14.328125 -11.125 C 14.328125 -12.832031 14.027344 -14.019531 13.4375 -14.6875 C 12.851563 -15.363281 11.996094 -15.703125 10.875 -15.703125 C 10.0625 -15.703125 9.332031 -15.320313 8.6875 -14.5625 C 8.050781 -13.8125 7.734375 -12.636719 7.734375 -11.046875 L 7.734375 0 L 1.9375 0 L 1.9375 -20.828125 L 6.890625 -20.828125 L 7.734375 -18.90625 C 8.367188 -19.519531 9.113281 -19.992188 9.96875 -20.328125 C 10.820313 -20.660156 11.738281 -20.828125 12.71875 -20.828125 C 13.226563 -20.828125 13.757813 -20.773438 14.3125 -20.671875 C 14.871094 -20.578125 15.421875 -20.402344 15.953125 -20.15625 C 16.492188 -19.90625 17.007813 -19.574219 17.5 -19.171875 C 17.988281 -18.765625 18.425781 -18.253906 18.8125 -17.640625 C 19.144531 -18.167969 19.550781 -18.640625 20.03125 -19.046875 C 20.507813 -19.449219 21.023438 -19.785156 21.578125 -20.046875 C 22.136719 -20.316406 22.722656 -20.515625 23.328125 -20.640625 C 23.929688 -20.761719 24.515625 -20.828125 25.078125 -20.828125 Z M 25.078125 -20.828125 "/>
19
+ </symbol>
20
+ <symbol overflow="visible" id="glyph0-5">
21
+ <path style="stroke:none;" d="M 12.1875 -21.421875 C 13.746094 -21.421875 15.171875 -21.101563 16.453125 -20.46875 C 17.742188 -19.84375 18.851563 -19.019531 19.78125 -18 C 20.707031 -16.976563 21.421875 -15.800781 21.921875 -14.46875 C 22.429688 -13.132813 22.6875 -11.769531 22.6875 -10.375 C 22.6875 -9.53125 22.570313 -8.632813 22.34375 -7.6875 L 7.46875 -7.6875 C 8.027344 -6.738281 8.828125 -5.929688 9.859375 -5.265625 C 10.898438 -4.609375 12.023438 -4.28125 13.234375 -4.28125 C 14.429688 -4.28125 15.484375 -4.378906 16.390625 -4.578125 C 17.304688 -4.773438 18.171875 -5.023438 18.984375 -5.328125 L 20.921875 -1.765625 C 19.878906 -1.035156 18.691406 -0.472656 17.359375 -0.078125 C 16.035156 0.304688 14.617188 0.5 13.109375 0.5 C 11.453125 0.5 9.910156 0.210938 8.484375 -0.359375 C 7.054688 -0.929688 5.808594 -1.707031 4.75 -2.6875 C 3.6875 -3.664063 2.839844 -4.828125 2.21875 -6.171875 C 1.601563 -7.511719 1.296875 -8.941406 1.296875 -10.453125 C 1.296875 -11.941406 1.578125 -13.347656 2.140625 -14.671875 C 2.699219 -16.003906 3.476563 -17.164063 4.46875 -18.15625 C 5.464844 -19.152344 6.625 -19.945313 7.9375 -20.53125 C 9.246094 -21.121094 10.664063 -21.421875 12.1875 -21.421875 Z M 16.921875 -12.1875 C 16.585938 -13.382813 15.980469 -14.359375 15.109375 -15.109375 C 14.242188 -15.867188 13.269531 -16.25 12.1875 -16.25 C 11.0625 -16.25 10.039063 -15.867188 9.125 -15.109375 C 8.21875 -14.359375 7.597656 -13.382813 7.265625 -12.1875 Z M 16.921875 -12.1875 "/>
22
+ </symbol>
23
+ <symbol overflow="visible" id="glyph0-6">
24
+ <path style="stroke:none;" d="M 12.71875 -20.828125 C 13.507813 -20.828125 14.378906 -20.710938 15.328125 -20.484375 C 16.285156 -20.265625 17.179688 -19.847656 18.015625 -19.234375 C 18.855469 -18.617188 19.566406 -17.761719 20.140625 -16.671875 C 20.710938 -15.578125 21 -14.164063 21 -12.4375 L 21 0 L 15.15625 0 L 15.15625 -12.21875 C 15.15625 -12.863281 15.050781 -13.410156 14.84375 -13.859375 C 14.632813 -14.304688 14.351563 -14.660156 14 -14.921875 C 13.65625 -15.191406 13.257813 -15.390625 12.8125 -15.515625 C 12.363281 -15.636719 11.914063 -15.703125 11.46875 -15.703125 C 11.101563 -15.703125 10.699219 -15.636719 10.265625 -15.515625 C 9.835938 -15.390625 9.429688 -15.183594 9.046875 -14.90625 C 8.671875 -14.625 8.355469 -14.257813 8.109375 -13.8125 C 7.859375 -13.363281 7.734375 -12.832031 7.734375 -12.21875 L 7.734375 0 L 1.9375 0 L 1.9375 -20.828125 L 6.890625 -20.828125 L 7.734375 -19.234375 C 8.398438 -19.710938 9.148438 -20.097656 9.984375 -20.390625 C 10.824219 -20.679688 11.738281 -20.828125 12.71875 -20.828125 Z M 12.71875 -20.828125 "/>
25
+ </symbol>
26
+ <symbol overflow="visible" id="glyph0-7">
27
+ <path style="stroke:none;" d="M 9.578125 -7.46875 C 9.578125 -6.488281 9.875 -5.730469 10.46875 -5.203125 C 11.070313 -4.671875 11.867188 -4.40625 12.859375 -4.40625 C 13.636719 -4.40625 14.421875 -4.5625 15.203125 -4.875 L 15.203125 0 C 14.503906 0.226563 13.757813 0.414063 12.96875 0.5625 C 12.1875 0.714844 11.402344 0.796875 10.625 0.796875 C 9.726563 0.796875 8.871094 0.679688 8.0625 0.453125 C 7.25 0.234375 6.519531 -0.144531 5.875 -0.6875 C 5.226563 -1.238281 4.714844 -1.96875 4.34375 -2.875 C 3.96875 -3.777344 3.78125 -4.910156 3.78125 -6.265625 L 3.78125 -15.671875 L 0.796875 -15.671875 L 0.796875 -19.578125 L 3.78125 -20.828125 L 3.78125 -25.5 L 9.578125 -25.5 L 9.578125 -20.828125 L 15.203125 -20.828125 L 15.203125 -15.671875 L 9.578125 -15.671875 Z M 9.578125 -7.46875 "/>
28
+ </symbol>
29
+ <symbol overflow="visible" id="glyph1-0">
30
+ <path style="stroke:none;" d="M 8.078125 -13.714844 C 7.457031 -13.796875 6.976563 -13.796875 6.277344 -13.796875 L 2 -13.796875 L 2 0 L 3.71875 0 L 3.71875 -5.636719 L 6.277344 -5.636719 C 6.976563 -5.636719 7.457031 -5.636719 8.078125 -5.71875 C 10.078125 -5.976563 11.65625 -7.378906 11.65625 -9.71875 C 11.65625 -12.058594 10.277344 -13.4375 8.078125 -13.714844 Z M 7.976563 -7.179688 C 7.597656 -7.097656 7.058594 -7.078125 6.4375 -7.078125 L 3.71875 -7.078125 L 3.71875 -12.355469 L 6.4375 -12.355469 C 7.058594 -12.355469 7.597656 -12.335938 7.976563 -12.257813 C 8.957031 -12.035156 9.816406 -11.316406 9.816406 -9.71875 C 9.816406 -8.117188 8.957031 -7.398438 7.976563 -7.179688 Z M 7.976563 -7.179688 "/>
31
+ </symbol>
32
+ <symbol overflow="visible" id="glyph1-1">
33
+ <path style="stroke:none;" d="M 11.175781 -1.398438 L 3.71875 -1.398438 L 3.71875 -13.796875 L 2 -13.796875 L 2 0 L 11.175781 0 Z M 11.175781 -1.398438 "/>
34
+ </symbol>
35
+ <symbol overflow="visible" id="glyph1-2">
36
+ <path style="stroke:none;" d="M 12.238281 -13.796875 L 10.515625 -13.796875 L 10.515625 -5.257813 C 10.515625 -4.820313 10.515625 -4.398438 10.476563 -4.039063 C 10.316406 -2.300781 9.175781 -1.078125 7.058594 -1.078125 C 4.9375 -1.078125 3.800781 -2.300781 3.640625 -4.039063 C 3.597656 -4.398438 3.597656 -4.820313 3.597656 -5.257813 L 3.597656 -13.796875 L 1.878906 -13.796875 L 1.878906 -5.097656 C 1.878906 -4.660156 1.878906 -4.257813 1.917969 -3.859375 C 2.121094 -1.558594 3.679688 0.28125 7.058594 0.28125 C 10.4375 0.28125 11.996094 -1.558594 12.195313 -3.859375 C 12.238281 -4.257813 12.238281 -4.660156 12.238281 -5.097656 Z M 12.238281 -13.796875 "/>
37
+ </symbol>
38
+ <symbol overflow="visible" id="glyph1-3">
39
+ <path style="stroke:none;" d="M 7.976563 -6.660156 L 7.976563 -5.257813 L 11.195313 -5.257813 C 11.195313 -2.800781 9.539063 -1.078125 7.296875 -1.078125 C 4.578125 -1.078125 2.859375 -3.519531 2.859375 -6.917969 C 2.859375 -10.257813 4.597656 -12.71875 7.417969 -12.71875 C 9.71875 -12.71875 10.9375 -11.378906 11.335938 -9.398438 L 11.378906 -9.199219 L 13.097656 -9.199219 L 13.078125 -9.398438 C 12.796875 -12.097656 10.957031 -14.078125 7.457031 -14.078125 C 3.539063 -14.078125 0.941406 -11.039063 0.941406 -6.839844 C 0.941406 -2.800781 3.179688 0.28125 7.199219 0.28125 C 8.777344 0.28125 9.996094 -0.238281 10.777344 -1.121094 L 11.398438 -2.398438 L 11.398438 0 L 12.917969 0 L 12.917969 -6.660156 Z M 7.976563 -6.660156 "/>
40
+ </symbol>
41
+ <symbol overflow="visible" id="glyph1-4">
42
+ <path style="stroke:none;" d="M 3.71875 0 L 3.71875 -13.796875 L 2 -13.796875 L 2 0 Z M 3.71875 0 "/>
43
+ </symbol>
44
+ <symbol overflow="visible" id="glyph1-5">
45
+ <path style="stroke:none;" d="M 12.796875 0 L 12.757813 -13.796875 L 11.078125 -13.796875 L 11.078125 -6.898438 C 11.078125 -5.277344 11.097656 -3.300781 11.136719 -1.679688 L 4.640625 -13.796875 L 2 -13.796875 L 2 0 L 3.71875 0 L 3.71875 -6.898438 C 3.71875 -8.519531 3.699219 -10.496094 3.660156 -12.117188 L 10.15625 0 Z M 12.796875 0 "/>
46
+ </symbol>
47
+ <symbol overflow="visible" id="glyph1-6">
48
+ <path style="stroke:none;" d="M 6.277344 -14.078125 C 3.738281 -14.078125 1.679688 -12.578125 1.679688 -10.199219 C 1.679688 -7.917969 3.378906 -6.9375 5.820313 -6.378906 C 8.238281 -5.820313 9.199219 -5.058594 9.199219 -3.378906 C 9.199219 -1.941406 7.917969 -1.078125 6.339844 -1.078125 C 4.539063 -1.078125 3.277344 -2.097656 2.878906 -3.917969 L 1.039063 -3.917969 C 1.339844 -1.257813 3.257813 0.28125 6.296875 0.28125 C 8.957031 0.28125 11.039063 -1.28125 11.039063 -3.699219 C 11.039063 -6.039063 9.519531 -7.277344 6.476563 -7.976563 C 4.378906 -8.457031 3.519531 -9.097656 3.519531 -10.597656 C 3.519531 -12.035156 4.679688 -12.71875 6.136719 -12.71875 C 7.878906 -12.71875 8.898438 -11.71875 9.058594 -9.976563 L 10.898438 -9.976563 C 10.636719 -12.335938 9.136719 -14.078125 6.277344 -14.078125 Z M 6.277344 -14.078125 "/>
49
+ </symbol>
50
+ </g>
51
+ <filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
52
+ <feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
53
+ </filter>
54
+ <mask id="mask0">
55
+ <g filter="url(#alpha)">
56
+ <rect x="0" y="0" width="375" height="374.999989" style="fill:rgb(0%,0%,0%);fill-opacity:0.619608;stroke:none;"/>
57
+ </g>
58
+ </mask>
59
+ <clipPath id="clip2">
60
+ <path d="M 0.535156 18 L 46.285156 18 L 46.285156 40 L 0.535156 40 Z M 0.535156 18 "/>
61
+ </clipPath>
62
+ <clipPath id="clip3">
63
+ <path d="M 0.535156 7 L 46.285156 7 L 46.285156 16 L 0.535156 16 Z M 0.535156 7 "/>
64
+ </clipPath>
65
+ <clipPath id="clip1">
66
+ <rect width="47" height="40"/>
67
+ </clipPath>
68
+ <g id="surface12" clip-path="url(#clip1)">
69
+ <g clip-path="url(#clip2)" clip-rule="nonzero">
70
+ <path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.199097%,44.299316%,100%);fill-opacity:1;" d="M 0.535156 18.351563 L 0.535156 31.695313 C 0.535156 35.898438 3.957031 39.703125 8.160156 39.703125 L 38.660156 39.703125 C 42.863281 39.703125 46.285156 35.898438 46.285156 31.695313 L 46.285156 18.351563 Z M 6.632813 24.453125 L 14.257813 24.453125 L 14.257813 25.976563 L 6.632813 25.976563 Z M 21.882813 30.550781 L 6.632813 30.550781 L 6.632813 27.503906 L 21.882813 27.503906 Z M 21.882813 30.550781 "/>
71
+ </g>
72
+ <g clip-path="url(#clip3)" clip-rule="nonzero">
73
+ <path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.199097%,44.299316%,100%);fill-opacity:1;" d="M 38.660156 7.675781 L 8.160156 7.675781 C 3.957031 7.675781 0.535156 10.726563 0.535156 15.300781 L 46.285156 15.300781 C 46.285156 10.726563 42.863281 7.675781 38.660156 7.675781 Z M 38.660156 7.675781 "/>
74
+ </g>
75
+ </g>
76
+ </defs>
77
+ <g id="surface1" style="fill: none;">
78
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
79
+ <use xlink:href="#glyph0-1" x="101.317627" y="191.696365"/>
80
+ </g>
81
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
82
+ <use xlink:href="#glyph0-2" x="123.913626" y="191.696365"/>
83
+ </g>
84
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
85
+ <use xlink:href="#glyph0-3" x="148.189629" y="191.696365"/>
86
+ </g>
87
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
88
+ <use xlink:href="#glyph0-4" x="171.751623" y="191.696365"/>
89
+ </g>
90
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
91
+ <use xlink:href="#glyph0-5" x="204.763623" y="191.696365"/>
92
+ </g>
93
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
94
+ <use xlink:href="#glyph0-6" x="228.493622" y="191.696365"/>
95
+ </g>
96
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
97
+ <use xlink:href="#glyph0-7" x="249.95562" y="191.696365"/>
98
+ </g>
99
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
100
+ <use xlink:href="#glyph1-0" x="101.317627" y="231.0585"/>
101
+ </g>
102
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
103
+ <use xlink:href="#glyph1-1" x="118.672916" y="231.0585"/>
104
+ </g>
105
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
106
+ <use xlink:href="#glyph1-2" x="135.568381" y="231.0585"/>
107
+ </g>
108
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
109
+ <use xlink:href="#glyph1-3" x="154.603002" y="231.0585"/>
110
+ </g>
111
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
112
+ <use xlink:href="#glyph1-4" x="174.197404" y="231.0585"/>
113
+ </g>
114
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
115
+ <use xlink:href="#glyph1-5" x="184.875325" y="231.0585"/>
116
+ </g>
117
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
118
+ <use xlink:href="#glyph1-6" x="204.629659" y="231.0585"/>
119
+ </g>
120
+ <use xlink:href="#surface12" transform="matrix(1,0,0,1,225,197)" mask="url(#mask0)"/>
121
+ </g>
122
+ </svg>
assets/img/multibanco.svg CHANGED
@@ -1,91 +1,91 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- xmlns:dc="http://purl.org/dc/elements/1.1/"
6
- xmlns:cc="http://creativecommons.org/ns#"
7
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
- xmlns:svg="http://www.w3.org/2000/svg"
9
- xmlns="http://www.w3.org/2000/svg"
10
- version="1.1"
11
- width="240.94501"
12
- height="240.94501"
13
- id="svg2"
14
- xml:space="preserve"><metadata
15
- id="metadata8"><rdf:RDF><cc:Work
16
- rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
17
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
18
- id="defs6"><clipPath
19
- id="clipPath16"><path
20
- d="m 0,192.756 192.756,0 L 192.756,0 0,0 0,192.756 z"
21
- id="path18" /></clipPath></defs><g
22
- transform="matrix(1.25,0,0,-1.25,0,240.945)"
23
- id="g10"><g
24
- id="g12"><g
25
- clip-path="url(#clipPath16)"
26
- id="g14"><g
27
- transform="translate(95.7476,51.8721)"
28
- id="g20"><path
29
- d="m 0,0 50.442,0 c 11.518,0 11.633,12.242 10.46,18.286 -0.641,4.062 -7.544,4.028 -8.304,0 l 0,-4.716 c 0,-2.154 -1.764,-3.918 -3.919,-3.918 l -48.679,0 -3.893,0 -44.137,0 c -2.155,0 -3.918,1.764 -3.918,3.918 l 0,4.716 c -0.76,4.028 -7.663,4.062 -8.304,0 C -61.424,12.242 -61.311,0 -49.792,0 L -3.893,0 0,0 z m -35.662,117.256 73.875,0 3.903,0 c 5.465,0 9.935,-4.731 9.935,-10.514 l 0,-5.025 c 0,-7.104 -9.624,-7.077 -9.624,-0.048 l 0,2.745 c 0,1.746 -1.428,3.174 -3.175,3.174 l -77.937,0 c -1.746,0 -3.174,-1.428 -3.174,-3.174 l 0,-2.689 c 0,-7.065 -9.172,-7.015 -9.172,-0.153 l 0,5.17 c 0,5.783 4.471,10.514 9.935,10.514 l 5.434,0 z"
30
- id="path22"
31
- style="fill:#2a6bae;fill-opacity:1;fill-rule:evenodd;stroke:none" /></g><g
32
- transform="translate(145.8359,111.3682)"
33
- id="g24"><path
34
- d="m 0,0 c 5.387,-2.534 9.106,-7.765 9.106,-13.771 0,-8.468 -7.393,-15.396 -16.431,-15.396 l -25.329,0 c -2.369,0 -4.308,1.816 -4.308,4.036 l 0,48.191 c 0,2.324 1.904,4.227 4.232,4.227 l 21.097,0 c 8.881,0 16.147,-7.259 16.147,-16.13 C 4.514,6.838 2.791,2.903 0,0 m -18.905,3.925 8.042,0 0,0.089 c 3.662,0.562 6.49,3.746 6.49,7.559 l 0,0 c 0,4.206 -3.442,7.648 -7.648,7.648 l -16.199,0 0,-39.99 20.542,0 c 4.344,0 7.898,3.554 7.898,7.898 0,4.344 -3.554,7.898 -7.898,7.898 l -3.185,0 0,0.019 -8.042,0 c -2.442,0 -4.44,1.997 -4.44,4.439 0,2.442 1.998,4.44 4.44,4.44"
35
- id="path26"
36
- style="fill:#424041;fill-opacity:1;fill-rule:evenodd;stroke:none" /></g><g
37
- transform="translate(63.2998,37.0771)"
38
- id="g28"><path
39
- d="M 0,0 C 0,0.75 0.608,1.358 1.358,1.358 2.108,1.358 2.717,0.75 2.717,0 l 0,-7.346 0,-0.002 -0.006,0 c 0,-1.679 -0.687,-3.205 -1.792,-4.31 -1.101,-1.101 -2.624,-1.784 -4.302,-1.785 l 0,-0.006 -0.003,0 -0.002,0 0,0.006 c -1.679,0 -3.205,0.686 -4.31,1.792 -1.101,1.101 -1.784,2.624 -1.785,4.301 l -0.006,0 0,0.004 0,7.346 c 0,0.75 0.609,1.358 1.359,1.358 0.75,0 1.358,-0.608 1.358,-1.358 l 0,-7.346 0,-0.004 -0.005,0 c 0,-0.927 0.383,-1.774 1,-2.391 0.614,-0.613 1.46,-0.996 2.389,-0.996 l 0,0.005 0.002,0 0.003,0 0,-0.005 c 0.928,0 1.776,0.383 2.392,1 0.614,0.614 0.996,1.46 0.996,2.389 L 0,-7.348 0,-7.346 0,0 z"
40
- id="path30"
41
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
42
- transform="translate(76.1362,26.3447)"
43
- id="g32"><path
44
- d="M 0,0 C 0.75,0 1.358,-0.608 1.358,-1.358 1.358,-2.108 0.75,-2.717 0,-2.717 l -3.75,0 -10e-4,0 0,0.006 c -1.406,0 -2.683,0.575 -3.608,1.499 -0.92,0.922 -1.492,2.195 -1.493,3.6 l -0.005,0 0,0.004 0,8.34 c 0,0.75 0.608,1.359 1.358,1.359 0.75,0 1.358,-0.609 1.358,-1.359 l 0,-8.34 0,-0.004 -0.005,0 c 0,-0.654 0.271,-1.252 0.708,-1.689 0.434,-0.433 1.031,-0.704 1.687,-0.704 L -3.751,0 -3.75,0 0,0 z"
45
- id="path34"
46
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
47
- transform="translate(104.8496,87.0146)"
48
- id="g36"><path
49
- d="m 0,0 c 0.297,-2.791 -1.726,-5.295 -4.517,-5.591 -2.791,-0.297 -5.295,1.725 -5.591,4.517 l -4.165,38.324 -14.752,-37.473 -0.015,-0.035 -0.001,-0.004 0,-0.001 -0.041,-0.099 -0.033,-0.078 -0.008,-0.019 -0.035,-0.078 -0.022,-0.047 -0.035,-0.073 -0.017,-0.034 -0.039,-0.077 -0.014,-0.027 c -0.272,-0.513 -0.622,-0.964 -1.031,-1.343 l -0.015,-0.013 -0.076,-0.069 c -0.266,-0.236 -0.56,-0.444 -0.879,-0.623 l -0.022,-0.012 -0.096,-0.052 -0.004,-0.002 -0.089,-0.046 -0.041,-0.021 -0.057,-0.027 -0.061,-0.028 -0.053,-0.025 -0.063,-0.027 -0.055,-0.023 -0.052,-0.022 -0.047,-0.018 -0.027,-0.011 -0.043,-0.016 -0.067,-0.025 -0.039,-0.013 c -0.492,-0.172 -0.993,-0.264 -1.49,-0.282 l -0.06,-0.002 -0.072,-10e-4 -0.052,0 -0.053,0 -0.07,10e-4 -0.064,0.002 c -0.555,0.02 -1.117,0.133 -1.664,0.347 l -0.068,0.027 -0.017,0.008 -0.068,0.027 -0.066,0.029 -0.053,0.025 -0.057,0.026 -0.061,0.029 -0.035,0.018 -0.093,0.047 -0.009,0.006 -0.079,0.043 -0.045,0.024 c -0.279,0.157 -0.538,0.338 -0.777,0.539 l -0.019,0.017 c -0.057,0.049 -0.113,0.097 -0.168,0.148 l -0.003,0.004 c -0.043,0.04 -0.086,0.081 -0.127,0.122 -0.041,0.042 -0.083,0.084 -0.123,0.127 l -0.003,0.004 c -0.051,0.055 -0.1,0.11 -0.149,0.168 l -0.017,0.019 c -0.201,0.239 -0.381,0.498 -0.538,0.777 l -0.025,0.044 -0.044,0.08 -0.004,0.01 -0.048,0.091 -0.017,0.036 -0.029,0.06 -0.027,0.058 -0.024,0.053 -0.029,0.066 -0.029,0.067 -0.006,0.017 -0.028,0.068 -14.768,37.512 -4.165,-38.324 c -0.297,-2.792 -2.8,-4.814 -5.591,-4.517 -2.792,0.296 -4.814,2.8 -4.517,5.591 l 4.91,45.183 0.002,0.012 0.002,0.019 -0.002,0.001 c 0.059,0.526 0.17,1.05 0.33,1.564 0.155,0.499 0.362,0.991 0.618,1.471 1.254,2.355 3.561,4.007 6.314,4.388 l 0.01,0.002 c 0.092,0.012 0.185,0.022 0.277,0.03 0.431,0.045 0.86,0.058 1.282,0.038 l 0.02,-10e-4 0,10e-4 c 0.549,-0.026 1.063,-0.095 1.537,-0.205 2.626,-0.613 4.857,-2.44 5.907,-5.107 l 12.57,-31.927 12.569,31.927 c 1.05,2.667 3.281,4.494 5.907,5.107 0.473,0.11 0.987,0.179 1.537,0.205 l 0,-10e-4 0.02,10e-4 c 0.423,0.02 0.853,0.007 1.285,-0.038 0.091,-0.008 0.182,-0.018 0.274,-0.03 l 0.01,-0.002 c 2.753,-0.381 5.061,-2.033 6.315,-4.388 0.255,-0.48 0.463,-0.972 0.617,-1.471 0.16,-0.514 0.271,-1.037 0.33,-1.564 L -4.914,45.214 -4.912,45.195 -4.91,45.183 0,0 z"
50
- id="path38"
51
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
52
- transform="translate(53.3071,25.1455)"
53
- id="g40"><path
54
- d="m 0,0 c 0.088,-0.744 -0.445,-1.419 -1.188,-1.507 -0.745,-0.087 -1.42,0.444 -1.508,1.189 L -3.86,9.463 -8.01,-0.16 c -0.296,-0.689 -1.094,-1.007 -1.782,-0.711 -0.333,0.142 -0.579,0.403 -0.711,0.711 l 0,0 -4.15,9.623 -1.165,-9.781 c -0.088,-0.745 -0.763,-1.276 -1.507,-1.189 -0.744,0.088 -1.276,0.763 -1.188,1.507 l 1.351,11.357 c 0.088,0.742 0.54,1.351 1.187,1.685 0.085,0.045 0.174,0.084 0.264,0.118 0.035,0.014 0.069,0.026 0.105,0.037 0.115,0.036 0.249,0.066 0.4,0.086 l 0,-10e-4 0.011,10e-4 0.012,0.002 c 0.709,0.09 1.408,-0.139 1.897,-0.599 0.098,-0.093 0.191,-0.2 0.277,-0.319 0.058,-0.082 0.112,-0.167 0.158,-0.255 0.029,-0.049 0.054,-0.098 0.076,-0.151 l 3.518,-8.157 3.518,8.157 c 0.291,0.673 0.889,1.133 1.589,1.287 0.134,0.029 0.268,0.049 0.399,0.055 0.101,0.005 0.201,0.005 0.296,-0.001 l 0.009,-10e-4 0,0 c 0.033,-0.002 0.066,-0.005 0.1,-0.009 l 0.011,-0.002 -10e-4,-0.004 0.006,-10e-4 c 0.726,-0.092 1.344,-0.5 1.691,-1.085 l -10e-4,0 c 0.073,-0.122 0.132,-0.252 0.18,-0.387 0.029,-0.085 0.055,-0.173 0.074,-0.266 0.014,-0.058 0.025,-0.117 0.032,-0.178 L -1.352,11.357 0,0 z"
55
- id="path42"
56
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
57
- transform="translate(82.0703,24.9863)"
58
- id="g44"><path
59
- d="m 0,0 c 0,-0.75 -0.608,-1.358 -1.358,-1.358 -0.75,0 -1.358,0.608 -1.358,1.358 l 0,10.732 -3.865,0 c -0.75,0 -1.358,0.609 -1.358,1.359 0,0.75 0.608,1.358 1.358,1.358 l 5.223,0 5.223,0 c 0.75,0 1.358,-0.608 1.358,-1.358 0,-0.75 -0.608,-1.359 -1.358,-1.359 L 0,10.732 0,0 z"
60
- id="path46"
61
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
62
- transform="translate(90.5425,24.9863)"
63
- id="g48"><path
64
- d="m 0,0 c 0,-0.75 -0.608,-1.358 -1.358,-1.358 -0.75,0 -1.358,0.608 -1.358,1.358 l 0,12.091 c 0,0.75 0.608,1.358 1.358,1.358 0.75,0 1.358,-0.608 1.358,-1.358 L 0,0 z"
65
- id="path50"
66
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
67
- transform="translate(118.4063,25.1514)"
68
- id="g52"><path
69
- d="m 0,0 c 0.091,-0.744 -0.439,-1.422 -1.184,-1.513 -0.744,-0.091 -1.42,0.44 -1.511,1.184 l -0.478,3.836 -4.707,0 c -0.75,0 -1.358,0.608 -1.358,1.358 0,0.75 0.608,1.359 1.358,1.359 l 4.369,0 -0.124,0.996 -0.002,0.011 c -0.004,0.032 -0.007,0.064 -0.008,0.095 -0.035,0.228 -0.086,0.46 -0.157,0.694 -0.079,0.262 -0.173,0.503 -0.279,0.716 -0.539,1.077 -1.514,1.831 -2.747,1.831 l -0.013,0 0,0.005 c -0.235,0 -0.465,-0.029 -0.683,-0.082 -0.205,-0.049 -0.408,-0.126 -0.607,-0.227 -1.042,-0.531 -1.74,-1.691 -1.89,-3.027 l -0.85,-7.549 c -0.082,-0.745 -0.753,-1.282 -1.497,-1.2 -0.743,0.082 -1.28,0.753 -1.198,1.497 l 0.849,7.549 c 0.251,2.229 1.488,4.2 3.356,5.15 0.367,0.186 0.768,0.336 1.2,0.439 0.418,0.102 0.859,0.155 1.32,0.156 l 0,0.006 0.013,0 c 2.355,0 4.184,-1.376 5.166,-3.338 0.189,-0.378 0.344,-0.763 0.46,-1.152 0.104,-0.347 0.183,-0.717 0.238,-1.106 0.01,-0.042 0.018,-0.084 0.023,-0.127 L -0.939,7.55 0,0 z"
70
- id="path54"
71
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
72
- transform="translate(122.5645,24.9863)"
73
- id="g56"><path
74
- d="m 0,0 c 0,-0.75 -0.608,-1.358 -1.358,-1.358 -0.75,0 -1.359,0.608 -1.359,1.358 l 0,11.231 0,0.005 c 0,0.078 0.006,0.156 0.019,0.23 0.018,0.153 0.055,0.3 0.107,0.44 l 0.002,0.004 -0.002,10e-4 c 0.028,0.075 0.067,0.156 0.112,0.243 l 0.003,0.004 -0.003,0.001 c 0.227,0.412 0.596,0.732 1.061,0.892 0.062,0.02 0.124,0.038 0.187,0.05 0.048,0.011 0.096,0.021 0.144,0.028 l 0.011,0.002 0,0.004 c 0.091,0.013 0.2,0.019 0.325,0.016 l 0.01,0 0.024,0 0.001,0 c 0.557,-0.022 1.077,-0.28 1.436,-0.737 l 7.229,-9.219 0,8.896 c 0,0.75 0.609,1.358 1.359,1.358 0.75,0 1.358,-0.608 1.358,-1.358 l 0,-11.182 C 10.666,0.318 10.4,-0.216 9.957,-0.578 9.873,-0.646 9.78,-0.71 9.68,-0.766 9.626,-0.796 9.569,-0.823 9.511,-0.849 L 9.496,-0.855 9.493,-0.856 C 9.457,-0.873 9.42,-0.889 9.381,-0.902 l -0.004,-0.002 0,0.002 -0.001,0 -10e-4,0.001 -0.009,-0.003 C 8.873,-1.074 8.355,-1.038 7.91,-0.822 7.851,-0.797 7.793,-0.767 7.735,-0.731 7.643,-0.675 7.552,-0.606 7.466,-0.53 7.412,-0.482 7.354,-0.422 7.293,-0.349 L 7.248,-0.297 7.245,-0.294 7.246,-0.293 7.229,-0.272 0,8.945 0,0 z"
75
- id="path58"
76
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
77
- transform="translate(143.7793,26.3447)"
78
- id="g60"><path
79
- d="M 0,0 C 0.75,0 1.358,-0.608 1.358,-1.358 1.358,-2.108 0.75,-2.717 0,-2.717 l -4.002,0 -0.002,0 0,0.006 c -1.475,0 -2.815,0.604 -3.785,1.574 -0.966,0.966 -1.566,2.304 -1.568,3.778 l -0.005,0 0,0.003 0,4.086 0,0.002 0.005,0 c 10e-4,1.475 0.603,2.816 1.574,3.786 0.967,0.965 2.304,1.566 3.777,1.567 l 0,0.006 0.004,0 4.002,0 c 0.75,0 1.358,-0.609 1.358,-1.359 C 1.358,9.982 0.75,9.374 0,9.374 l -4.002,0 -0.004,0 0,0.005 c -0.723,0 -1.385,-0.3 -1.867,-0.782 -0.48,-0.48 -0.777,-1.14 -0.777,-1.865 l 0.004,0 0,-0.002 0,-4.086 0,-0.003 -0.004,0 c 0,-0.724 0.299,-1.386 0.782,-1.868 0.479,-0.479 1.139,-0.778 1.864,-0.778 L -4.004,0 -4.002,0 0,0 z"
80
- id="path62"
81
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
82
- transform="translate(151.6387,35.7236)"
83
- id="g64"><path
84
- d="m 0,0 0,-0.005 -0.002,0 -0.003,0 0,0.005 c -1.001,0 -1.912,-0.394 -2.57,-1.026 -0.647,-0.621 -1.048,-1.471 -1.049,-2.399 l 0.006,0 0,-0.002 0,-2.53 0,-0.003 -0.006,0 c 10e-4,-0.927 0.402,-1.775 1.047,-2.396 0.66,-0.633 1.571,-1.028 2.574,-1.028 l 0,0.005 0.001,0 0.004,0 0,-0.005 c 1.002,0 1.912,0.394 2.571,1.028 0.646,0.62 1.048,1.469 1.048,2.398 l -0.005,0 0,0.001 0,2.53 0,0.003 0.005,0 C 3.62,-2.496 3.219,-1.647 2.574,-1.027 1.914,-0.394 1.003,0 0,0 M -0.002,2.712 0,2.712 0,2.706 c 1.732,0 3.309,-0.683 4.452,-1.78 1.156,-1.112 1.874,-2.651 1.875,-4.35 l 0.005,0 0,-0.003 0,-2.53 0,-0.001 -0.005,0 c -0.001,-1.7 -0.719,-3.24 -1.876,-4.352 -1.142,-1.097 -2.718,-1.779 -4.449,-1.78 l 0,-0.006 -0.004,0 -0.001,0 0,0.006 c -1.732,0 -3.309,0.683 -4.452,1.781 -1.155,1.111 -1.874,2.65 -1.875,4.349 l -0.005,0 0,0.003 0,2.53 0,0.002 0.005,0 c 0.001,1.699 0.72,3.24 1.877,4.351 1.142,1.097 2.718,1.779 4.448,1.78 l 0,0.006 0.003,0 z"
85
- id="path66"
86
- style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
87
- transform="translate(94.3989,35.7188)"
88
- id="g68"><path
89
- d="m 0,0 0,-4.602 0,-4.772 5.247,0 0.003,0 0,-0.005 c 0.466,0 0.893,0.194 1.206,0.507 0.31,0.309 0.502,0.736 0.502,1.203 l -0.004,0 0,0.002 0,0.004 0.004,0 c 0,0.438 -0.172,0.844 -0.454,1.15 l -0.052,0.05 c -0.313,0.314 -0.74,0.508 -1.203,0.508 l 0,-0.005 -0.002,0 -1.307,0 -0.004,0 -0.496,0 c -0.749,0 -1.358,0.61 -1.358,1.358 0,0.748 0.609,1.359 1.358,1.359 l 0.496,0 0.004,0 0.118,0 c 0.393,0.03 0.752,0.207 1.023,0.476 l 0.002,-0.002 0.002,0.002 c 0.294,0.295 0.478,0.7 0.478,1.144 l -0.005,0 0,10e-4 0,0.001 0,0.003 0.005,0 c 0,0.442 -0.185,0.848 -0.482,1.145 -0.294,0.294 -0.7,0.478 -1.143,0.478 L 3.938,0 3.936,0 0,0 z m -2.716,-4.602 0,5.901 0,0.001 c 0,0.192 0.04,0.375 0.111,0.54 0.073,0.177 0.181,0.336 0.315,0.467 l 0.017,0.015 -10e-4,10e-4 c 0.23,0.22 0.536,0.367 0.892,0.388 0.027,0.002 0.054,0.004 0.08,0.003 l 0,0.003 0.004,0 5.234,0 0.002,0 0,-0.006 c 1.194,0 2.279,-0.488 3.063,-1.273 0.782,-0.782 1.267,-1.863 1.268,-3.056 l 0.006,0 0,-0.003 0,-0.001 0,-10e-4 -0.006,0 c 0,-0.846 -0.246,-1.636 -0.667,-2.304 0.279,-0.177 0.538,-0.383 0.771,-0.615 0.029,-0.029 0.056,-0.06 0.083,-0.091 0.747,-0.789 1.208,-1.857 1.209,-3.03 l 0.005,0 0,-0.004 0,-0.002 -0.005,0 c 0,-1.217 -0.498,-2.323 -1.299,-3.124 -0.796,-0.796 -1.899,-1.291 -3.116,-1.292 l 0,-0.006 -0.003,0 -6.605,0 c -0.75,0 -1.358,0.609 -1.358,1.359 l 0,6.13 z"
90
- id="path70"
91
  style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g></g></g></g></svg>
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ version="1.1"
11
+ width="240.94501"
12
+ height="240.94501"
13
+ id="svg2"
14
+ xml:space="preserve"><metadata
15
+ id="metadata8"><rdf:RDF><cc:Work
16
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
17
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
18
+ id="defs6"><clipPath
19
+ id="clipPath16"><path
20
+ d="m 0,192.756 192.756,0 L 192.756,0 0,0 0,192.756 z"
21
+ id="path18" /></clipPath></defs><g
22
+ transform="matrix(1.25,0,0,-1.25,0,240.945)"
23
+ id="g10"><g
24
+ id="g12"><g
25
+ clip-path="url(#clipPath16)"
26
+ id="g14"><g
27
+ transform="translate(95.7476,51.8721)"
28
+ id="g20"><path
29
+ d="m 0,0 50.442,0 c 11.518,0 11.633,12.242 10.46,18.286 -0.641,4.062 -7.544,4.028 -8.304,0 l 0,-4.716 c 0,-2.154 -1.764,-3.918 -3.919,-3.918 l -48.679,0 -3.893,0 -44.137,0 c -2.155,0 -3.918,1.764 -3.918,3.918 l 0,4.716 c -0.76,4.028 -7.663,4.062 -8.304,0 C -61.424,12.242 -61.311,0 -49.792,0 L -3.893,0 0,0 z m -35.662,117.256 73.875,0 3.903,0 c 5.465,0 9.935,-4.731 9.935,-10.514 l 0,-5.025 c 0,-7.104 -9.624,-7.077 -9.624,-0.048 l 0,2.745 c 0,1.746 -1.428,3.174 -3.175,3.174 l -77.937,0 c -1.746,0 -3.174,-1.428 -3.174,-3.174 l 0,-2.689 c 0,-7.065 -9.172,-7.015 -9.172,-0.153 l 0,5.17 c 0,5.783 4.471,10.514 9.935,10.514 l 5.434,0 z"
30
+ id="path22"
31
+ style="fill:#2a6bae;fill-opacity:1;fill-rule:evenodd;stroke:none" /></g><g
32
+ transform="translate(145.8359,111.3682)"
33
+ id="g24"><path
34
+ d="m 0,0 c 5.387,-2.534 9.106,-7.765 9.106,-13.771 0,-8.468 -7.393,-15.396 -16.431,-15.396 l -25.329,0 c -2.369,0 -4.308,1.816 -4.308,4.036 l 0,48.191 c 0,2.324 1.904,4.227 4.232,4.227 l 21.097,0 c 8.881,0 16.147,-7.259 16.147,-16.13 C 4.514,6.838 2.791,2.903 0,0 m -18.905,3.925 8.042,0 0,0.089 c 3.662,0.562 6.49,3.746 6.49,7.559 l 0,0 c 0,4.206 -3.442,7.648 -7.648,7.648 l -16.199,0 0,-39.99 20.542,0 c 4.344,0 7.898,3.554 7.898,7.898 0,4.344 -3.554,7.898 -7.898,7.898 l -3.185,0 0,0.019 -8.042,0 c -2.442,0 -4.44,1.997 -4.44,4.439 0,2.442 1.998,4.44 4.44,4.44"
35
+ id="path26"
36
+ style="fill:#424041;fill-opacity:1;fill-rule:evenodd;stroke:none" /></g><g
37
+ transform="translate(63.2998,37.0771)"
38
+ id="g28"><path
39
+ d="M 0,0 C 0,0.75 0.608,1.358 1.358,1.358 2.108,1.358 2.717,0.75 2.717,0 l 0,-7.346 0,-0.002 -0.006,0 c 0,-1.679 -0.687,-3.205 -1.792,-4.31 -1.101,-1.101 -2.624,-1.784 -4.302,-1.785 l 0,-0.006 -0.003,0 -0.002,0 0,0.006 c -1.679,0 -3.205,0.686 -4.31,1.792 -1.101,1.101 -1.784,2.624 -1.785,4.301 l -0.006,0 0,0.004 0,7.346 c 0,0.75 0.609,1.358 1.359,1.358 0.75,0 1.358,-0.608 1.358,-1.358 l 0,-7.346 0,-0.004 -0.005,0 c 0,-0.927 0.383,-1.774 1,-2.391 0.614,-0.613 1.46,-0.996 2.389,-0.996 l 0,0.005 0.002,0 0.003,0 0,-0.005 c 0.928,0 1.776,0.383 2.392,1 0.614,0.614 0.996,1.46 0.996,2.389 L 0,-7.348 0,-7.346 0,0 z"
40
+ id="path30"
41
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
42
+ transform="translate(76.1362,26.3447)"
43
+ id="g32"><path
44
+ d="M 0,0 C 0.75,0 1.358,-0.608 1.358,-1.358 1.358,-2.108 0.75,-2.717 0,-2.717 l -3.75,0 -10e-4,0 0,0.006 c -1.406,0 -2.683,0.575 -3.608,1.499 -0.92,0.922 -1.492,2.195 -1.493,3.6 l -0.005,0 0,0.004 0,8.34 c 0,0.75 0.608,1.359 1.358,1.359 0.75,0 1.358,-0.609 1.358,-1.359 l 0,-8.34 0,-0.004 -0.005,0 c 0,-0.654 0.271,-1.252 0.708,-1.689 0.434,-0.433 1.031,-0.704 1.687,-0.704 L -3.751,0 -3.75,0 0,0 z"
45
+ id="path34"
46
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
47
+ transform="translate(104.8496,87.0146)"
48
+ id="g36"><path
49
+ d="m 0,0 c 0.297,-2.791 -1.726,-5.295 -4.517,-5.591 -2.791,-0.297 -5.295,1.725 -5.591,4.517 l -4.165,38.324 -14.752,-37.473 -0.015,-0.035 -0.001,-0.004 0,-0.001 -0.041,-0.099 -0.033,-0.078 -0.008,-0.019 -0.035,-0.078 -0.022,-0.047 -0.035,-0.073 -0.017,-0.034 -0.039,-0.077 -0.014,-0.027 c -0.272,-0.513 -0.622,-0.964 -1.031,-1.343 l -0.015,-0.013 -0.076,-0.069 c -0.266,-0.236 -0.56,-0.444 -0.879,-0.623 l -0.022,-0.012 -0.096,-0.052 -0.004,-0.002 -0.089,-0.046 -0.041,-0.021 -0.057,-0.027 -0.061,-0.028 -0.053,-0.025 -0.063,-0.027 -0.055,-0.023 -0.052,-0.022 -0.047,-0.018 -0.027,-0.011 -0.043,-0.016 -0.067,-0.025 -0.039,-0.013 c -0.492,-0.172 -0.993,-0.264 -1.49,-0.282 l -0.06,-0.002 -0.072,-10e-4 -0.052,0 -0.053,0 -0.07,10e-4 -0.064,0.002 c -0.555,0.02 -1.117,0.133 -1.664,0.347 l -0.068,0.027 -0.017,0.008 -0.068,0.027 -0.066,0.029 -0.053,0.025 -0.057,0.026 -0.061,0.029 -0.035,0.018 -0.093,0.047 -0.009,0.006 -0.079,0.043 -0.045,0.024 c -0.279,0.157 -0.538,0.338 -0.777,0.539 l -0.019,0.017 c -0.057,0.049 -0.113,0.097 -0.168,0.148 l -0.003,0.004 c -0.043,0.04 -0.086,0.081 -0.127,0.122 -0.041,0.042 -0.083,0.084 -0.123,0.127 l -0.003,0.004 c -0.051,0.055 -0.1,0.11 -0.149,0.168 l -0.017,0.019 c -0.201,0.239 -0.381,0.498 -0.538,0.777 l -0.025,0.044 -0.044,0.08 -0.004,0.01 -0.048,0.091 -0.017,0.036 -0.029,0.06 -0.027,0.058 -0.024,0.053 -0.029,0.066 -0.029,0.067 -0.006,0.017 -0.028,0.068 -14.768,37.512 -4.165,-38.324 c -0.297,-2.792 -2.8,-4.814 -5.591,-4.517 -2.792,0.296 -4.814,2.8 -4.517,5.591 l 4.91,45.183 0.002,0.012 0.002,0.019 -0.002,0.001 c 0.059,0.526 0.17,1.05 0.33,1.564 0.155,0.499 0.362,0.991 0.618,1.471 1.254,2.355 3.561,4.007 6.314,4.388 l 0.01,0.002 c 0.092,0.012 0.185,0.022 0.277,0.03 0.431,0.045 0.86,0.058 1.282,0.038 l 0.02,-10e-4 0,10e-4 c 0.549,-0.026 1.063,-0.095 1.537,-0.205 2.626,-0.613 4.857,-2.44 5.907,-5.107 l 12.57,-31.927 12.569,31.927 c 1.05,2.667 3.281,4.494 5.907,5.107 0.473,0.11 0.987,0.179 1.537,0.205 l 0,-10e-4 0.02,10e-4 c 0.423,0.02 0.853,0.007 1.285,-0.038 0.091,-0.008 0.182,-0.018 0.274,-0.03 l 0.01,-0.002 c 2.753,-0.381 5.061,-2.033 6.315,-4.388 0.255,-0.48 0.463,-0.972 0.617,-1.471 0.16,-0.514 0.271,-1.037 0.33,-1.564 L -4.914,45.214 -4.912,45.195 -4.91,45.183 0,0 z"
50
+ id="path38"
51
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
52
+ transform="translate(53.3071,25.1455)"
53
+ id="g40"><path
54
+ d="m 0,0 c 0.088,-0.744 -0.445,-1.419 -1.188,-1.507 -0.745,-0.087 -1.42,0.444 -1.508,1.189 L -3.86,9.463 -8.01,-0.16 c -0.296,-0.689 -1.094,-1.007 -1.782,-0.711 -0.333,0.142 -0.579,0.403 -0.711,0.711 l 0,0 -4.15,9.623 -1.165,-9.781 c -0.088,-0.745 -0.763,-1.276 -1.507,-1.189 -0.744,0.088 -1.276,0.763 -1.188,1.507 l 1.351,11.357 c 0.088,0.742 0.54,1.351 1.187,1.685 0.085,0.045 0.174,0.084 0.264,0.118 0.035,0.014 0.069,0.026 0.105,0.037 0.115,0.036 0.249,0.066 0.4,0.086 l 0,-10e-4 0.011,10e-4 0.012,0.002 c 0.709,0.09 1.408,-0.139 1.897,-0.599 0.098,-0.093 0.191,-0.2 0.277,-0.319 0.058,-0.082 0.112,-0.167 0.158,-0.255 0.029,-0.049 0.054,-0.098 0.076,-0.151 l 3.518,-8.157 3.518,8.157 c 0.291,0.673 0.889,1.133 1.589,1.287 0.134,0.029 0.268,0.049 0.399,0.055 0.101,0.005 0.201,0.005 0.296,-0.001 l 0.009,-10e-4 0,0 c 0.033,-0.002 0.066,-0.005 0.1,-0.009 l 0.011,-0.002 -10e-4,-0.004 0.006,-10e-4 c 0.726,-0.092 1.344,-0.5 1.691,-1.085 l -10e-4,0 c 0.073,-0.122 0.132,-0.252 0.18,-0.387 0.029,-0.085 0.055,-0.173 0.074,-0.266 0.014,-0.058 0.025,-0.117 0.032,-0.178 L -1.352,11.357 0,0 z"
55
+ id="path42"
56
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
57
+ transform="translate(82.0703,24.9863)"
58
+ id="g44"><path
59
+ d="m 0,0 c 0,-0.75 -0.608,-1.358 -1.358,-1.358 -0.75,0 -1.358,0.608 -1.358,1.358 l 0,10.732 -3.865,0 c -0.75,0 -1.358,0.609 -1.358,1.359 0,0.75 0.608,1.358 1.358,1.358 l 5.223,0 5.223,0 c 0.75,0 1.358,-0.608 1.358,-1.358 0,-0.75 -0.608,-1.359 -1.358,-1.359 L 0,10.732 0,0 z"
60
+ id="path46"
61
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
62
+ transform="translate(90.5425,24.9863)"
63
+ id="g48"><path
64
+ d="m 0,0 c 0,-0.75 -0.608,-1.358 -1.358,-1.358 -0.75,0 -1.358,0.608 -1.358,1.358 l 0,12.091 c 0,0.75 0.608,1.358 1.358,1.358 0.75,0 1.358,-0.608 1.358,-1.358 L 0,0 z"
65
+ id="path50"
66
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
67
+ transform="translate(118.4063,25.1514)"
68
+ id="g52"><path
69
+ d="m 0,0 c 0.091,-0.744 -0.439,-1.422 -1.184,-1.513 -0.744,-0.091 -1.42,0.44 -1.511,1.184 l -0.478,3.836 -4.707,0 c -0.75,0 -1.358,0.608 -1.358,1.358 0,0.75 0.608,1.359 1.358,1.359 l 4.369,0 -0.124,0.996 -0.002,0.011 c -0.004,0.032 -0.007,0.064 -0.008,0.095 -0.035,0.228 -0.086,0.46 -0.157,0.694 -0.079,0.262 -0.173,0.503 -0.279,0.716 -0.539,1.077 -1.514,1.831 -2.747,1.831 l -0.013,0 0,0.005 c -0.235,0 -0.465,-0.029 -0.683,-0.082 -0.205,-0.049 -0.408,-0.126 -0.607,-0.227 -1.042,-0.531 -1.74,-1.691 -1.89,-3.027 l -0.85,-7.549 c -0.082,-0.745 -0.753,-1.282 -1.497,-1.2 -0.743,0.082 -1.28,0.753 -1.198,1.497 l 0.849,7.549 c 0.251,2.229 1.488,4.2 3.356,5.15 0.367,0.186 0.768,0.336 1.2,0.439 0.418,0.102 0.859,0.155 1.32,0.156 l 0,0.006 0.013,0 c 2.355,0 4.184,-1.376 5.166,-3.338 0.189,-0.378 0.344,-0.763 0.46,-1.152 0.104,-0.347 0.183,-0.717 0.238,-1.106 0.01,-0.042 0.018,-0.084 0.023,-0.127 L -0.939,7.55 0,0 z"
70
+ id="path54"
71
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
72
+ transform="translate(122.5645,24.9863)"
73
+ id="g56"><path
74
+ d="m 0,0 c 0,-0.75 -0.608,-1.358 -1.358,-1.358 -0.75,0 -1.359,0.608 -1.359,1.358 l 0,11.231 0,0.005 c 0,0.078 0.006,0.156 0.019,0.23 0.018,0.153 0.055,0.3 0.107,0.44 l 0.002,0.004 -0.002,10e-4 c 0.028,0.075 0.067,0.156 0.112,0.243 l 0.003,0.004 -0.003,0.001 c 0.227,0.412 0.596,0.732 1.061,0.892 0.062,0.02 0.124,0.038 0.187,0.05 0.048,0.011 0.096,0.021 0.144,0.028 l 0.011,0.002 0,0.004 c 0.091,0.013 0.2,0.019 0.325,0.016 l 0.01,0 0.024,0 0.001,0 c 0.557,-0.022 1.077,-0.28 1.436,-0.737 l 7.229,-9.219 0,8.896 c 0,0.75 0.609,1.358 1.359,1.358 0.75,0 1.358,-0.608 1.358,-1.358 l 0,-11.182 C 10.666,0.318 10.4,-0.216 9.957,-0.578 9.873,-0.646 9.78,-0.71 9.68,-0.766 9.626,-0.796 9.569,-0.823 9.511,-0.849 L 9.496,-0.855 9.493,-0.856 C 9.457,-0.873 9.42,-0.889 9.381,-0.902 l -0.004,-0.002 0,0.002 -0.001,0 -10e-4,0.001 -0.009,-0.003 C 8.873,-1.074 8.355,-1.038 7.91,-0.822 7.851,-0.797 7.793,-0.767 7.735,-0.731 7.643,-0.675 7.552,-0.606 7.466,-0.53 7.412,-0.482 7.354,-0.422 7.293,-0.349 L 7.248,-0.297 7.245,-0.294 7.246,-0.293 7.229,-0.272 0,8.945 0,0 z"
75
+ id="path58"
76
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
77
+ transform="translate(143.7793,26.3447)"
78
+ id="g60"><path
79
+ d="M 0,0 C 0.75,0 1.358,-0.608 1.358,-1.358 1.358,-2.108 0.75,-2.717 0,-2.717 l -4.002,0 -0.002,0 0,0.006 c -1.475,0 -2.815,0.604 -3.785,1.574 -0.966,0.966 -1.566,2.304 -1.568,3.778 l -0.005,0 0,0.003 0,4.086 0,0.002 0.005,0 c 10e-4,1.475 0.603,2.816 1.574,3.786 0.967,0.965 2.304,1.566 3.777,1.567 l 0,0.006 0.004,0 4.002,0 c 0.75,0 1.358,-0.609 1.358,-1.359 C 1.358,9.982 0.75,9.374 0,9.374 l -4.002,0 -0.004,0 0,0.005 c -0.723,0 -1.385,-0.3 -1.867,-0.782 -0.48,-0.48 -0.777,-1.14 -0.777,-1.865 l 0.004,0 0,-0.002 0,-4.086 0,-0.003 -0.004,0 c 0,-0.724 0.299,-1.386 0.782,-1.868 0.479,-0.479 1.139,-0.778 1.864,-0.778 L -4.004,0 -4.002,0 0,0 z"
80
+ id="path62"
81
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
82
+ transform="translate(151.6387,35.7236)"
83
+ id="g64"><path
84
+ d="m 0,0 0,-0.005 -0.002,0 -0.003,0 0,0.005 c -1.001,0 -1.912,-0.394 -2.57,-1.026 -0.647,-0.621 -1.048,-1.471 -1.049,-2.399 l 0.006,0 0,-0.002 0,-2.53 0,-0.003 -0.006,0 c 10e-4,-0.927 0.402,-1.775 1.047,-2.396 0.66,-0.633 1.571,-1.028 2.574,-1.028 l 0,0.005 0.001,0 0.004,0 0,-0.005 c 1.002,0 1.912,0.394 2.571,1.028 0.646,0.62 1.048,1.469 1.048,2.398 l -0.005,0 0,0.001 0,2.53 0,0.003 0.005,0 C 3.62,-2.496 3.219,-1.647 2.574,-1.027 1.914,-0.394 1.003,0 0,0 M -0.002,2.712 0,2.712 0,2.706 c 1.732,0 3.309,-0.683 4.452,-1.78 1.156,-1.112 1.874,-2.651 1.875,-4.35 l 0.005,0 0,-0.003 0,-2.53 0,-0.001 -0.005,0 c -0.001,-1.7 -0.719,-3.24 -1.876,-4.352 -1.142,-1.097 -2.718,-1.779 -4.449,-1.78 l 0,-0.006 -0.004,0 -0.001,0 0,0.006 c -1.732,0 -3.309,0.683 -4.452,1.781 -1.155,1.111 -1.874,2.65 -1.875,4.349 l -0.005,0 0,0.003 0,2.53 0,0.002 0.005,0 c 0.001,1.699 0.72,3.24 1.877,4.351 1.142,1.097 2.718,1.779 4.448,1.78 l 0,0.006 0.003,0 z"
85
+ id="path66"
86
+ style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g><g
87
+ transform="translate(94.3989,35.7188)"
88
+ id="g68"><path
89
+ d="m 0,0 0,-4.602 0,-4.772 5.247,0 0.003,0 0,-0.005 c 0.466,0 0.893,0.194 1.206,0.507 0.31,0.309 0.502,0.736 0.502,1.203 l -0.004,0 0,0.002 0,0.004 0.004,0 c 0,0.438 -0.172,0.844 -0.454,1.15 l -0.052,0.05 c -0.313,0.314 -0.74,0.508 -1.203,0.508 l 0,-0.005 -0.002,0 -1.307,0 -0.004,0 -0.496,0 c -0.749,0 -1.358,0.61 -1.358,1.358 0,0.748 0.609,1.359 1.358,1.359 l 0.496,0 0.004,0 0.118,0 c 0.393,0.03 0.752,0.207 1.023,0.476 l 0.002,-0.002 0.002,0.002 c 0.294,0.295 0.478,0.7 0.478,1.144 l -0.005,0 0,10e-4 0,0.001 0,0.003 0.005,0 c 0,0.442 -0.185,0.848 -0.482,1.145 -0.294,0.294 -0.7,0.478 -1.143,0.478 L 3.938,0 3.936,0 0,0 z m -2.716,-4.602 0,5.901 0,0.001 c 0,0.192 0.04,0.375 0.111,0.54 0.073,0.177 0.181,0.336 0.315,0.467 l 0.017,0.015 -10e-4,10e-4 c 0.23,0.22 0.536,0.367 0.892,0.388 0.027,0.002 0.054,0.004 0.08,0.003 l 0,0.003 0.004,0 5.234,0 0.002,0 0,-0.006 c 1.194,0 2.279,-0.488 3.063,-1.273 0.782,-0.782 1.267,-1.863 1.268,-3.056 l 0.006,0 0,-0.003 0,-0.001 0,-10e-4 -0.006,0 c 0,-0.846 -0.246,-1.636 -0.667,-2.304 0.279,-0.177 0.538,-0.383 0.771,-0.615 0.029,-0.029 0.056,-0.06 0.083,-0.091 0.747,-0.789 1.208,-1.857 1.209,-3.03 l 0.005,0 0,-0.004 0,-0.002 -0.005,0 c 0,-1.217 -0.498,-2.323 -1.299,-3.124 -0.796,-0.796 -1.899,-1.291 -3.116,-1.292 l 0,-0.006 -0.003,0 -6.605,0 c -0.75,0 -1.358,0.609 -1.358,1.359 l 0,6.13 z"
90
+ id="path70"
91
  style="fill:#424041;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g></g></g></g></svg>
assets/img/oxxo.svg CHANGED
@@ -1,10 +1,10 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg style="fill-rule:evenodd" xmlns="http://www.w3.org/2000/svg" height="440" width="955" viewBox="0 0 763.700 351.986">
3
- <g transform="translate(-26.7 -466)">
4
- <path style="fill:#f0a929" d="m 26.697,489.71 c 0,-13.08 10.700,-23.78 23.780,-23.78 l 716.138,0 c 13.081,0 23.781,10.7 23.781,23.78 l 0,304.426 c 0,13.082 -10.7,23.781 -23.781,23.781 l -716.138,0 c -13.080,0 -23.780,-10.699 -23.780,-23.781 l 0,-304.426 z"/>
5
- <path style="fill:#ffffff" d="m 26.697,500.489 763.700,0 0,282.865 -763.700,0 0,-282.865 z"/>
6
- <path fill="#e21c2a" d="m 673.913,573.953 c -34.941,0 -63.424,28.487 -63.424,63.428 0,34.928 28.483,63.419 63.424,63.419 34.934,0 63.418,-28.491 63.418,-63.419 0,-34.941 -28.484,-63.428 -63.418,-63.428 z"/>
7
- <path fill="#e21c2a" d="m 151.151,573.953 c -34.944,0 -63.431,28.487 -63.431,63.428 0,34.928 28.487,63.419 63.431,63.419 34.928,0 63.416,-28.491 63.416,-63.419 0,-34.941 -28.488,-63.428 -63.416,-63.428 z"/>
8
- <path fill="#e21c2a" d="m 668.935,518.134 c -58.712,-1.349 -86.315,36.299 -126.376,82.734 l -37.791,43.796 59.843,71.641 c 14.257,22.012 -12.954,43.858 -29.836,23.716 l -55.328,-66 -53.914,62.5 c -17.169,19.895 -44.071,-2.33 -29.509,-24.136 l 58.528,-68.061 -38.344,-45.742 24.666,-30.548 38.996,46.844 33.615,-39.102 c 16.494,-19.172 33.315,-44.578 55.116,-57.642 l -541.903,0 0,247.58 126.699,0 c 58.72,0 85.376,-35.108 124.351,-82.451 l 36.776,-44.669 -61.49,-70.232 c -14.748,-21.68 11.945,-44.141 29.29,-24.396 l 56.828,64.711 52.474,-63.731 c 16.701,-20.295 44.103,1.315 30.051,23.453 l -56.946,69.399 39.392,44.847 -24.82,29.391 -39.209,-44.222 -32.7,39.857 c -16.05,19.548 -32.297,44.48 -53.795,58.043 l 536.799,0 0,-247.58 -121.463,0 z m -417.59,119.247 c 0,55.193 -45.004,100.202 -100.194,100.202 -55.204,0 -100.208,-45.009 -100.208,-100.202 0,-55.202 45.004,-100.207 100.208,-100.207 55.19,0 100.194,45.005 100.194,100.207 z m 422.568,100.202 c -55.194,0 -100.208,-45.009 -100.208,-100.202 0,-55.202 45.014,-100.207 100.208,-100.207 55.197,0 100.2,45.005 100.2,100.207 0,55.193 -45.003,100.202 -100.2,100.202 z"/>
9
- </g>
10
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg style="fill-rule:evenodd" xmlns="http://www.w3.org/2000/svg" height="440" width="955" viewBox="0 0 763.700 351.986">
3
+ <g transform="translate(-26.7 -466)">
4
+ <path style="fill:#f0a929" d="m 26.697,489.71 c 0,-13.08 10.700,-23.78 23.780,-23.78 l 716.138,0 c 13.081,0 23.781,10.7 23.781,23.78 l 0,304.426 c 0,13.082 -10.7,23.781 -23.781,23.781 l -716.138,0 c -13.080,0 -23.780,-10.699 -23.780,-23.781 l 0,-304.426 z"/>
5
+ <path style="fill:#ffffff" d="m 26.697,500.489 763.700,0 0,282.865 -763.700,0 0,-282.865 z"/>
6
+ <path fill="#e21c2a" d="m 673.913,573.953 c -34.941,0 -63.424,28.487 -63.424,63.428 0,34.928 28.483,63.419 63.424,63.419 34.934,0 63.418,-28.491 63.418,-63.419 0,-34.941 -28.484,-63.428 -63.418,-63.428 z"/>
7
+ <path fill="#e21c2a" d="m 151.151,573.953 c -34.944,0 -63.431,28.487 -63.431,63.428 0,34.928 28.487,63.419 63.431,63.419 34.928,0 63.416,-28.491 63.416,-63.419 0,-34.941 -28.488,-63.428 -63.416,-63.428 z"/>
8
+ <path fill="#e21c2a" d="m 668.935,518.134 c -58.712,-1.349 -86.315,36.299 -126.376,82.734 l -37.791,43.796 59.843,71.641 c 14.257,22.012 -12.954,43.858 -29.836,23.716 l -55.328,-66 -53.914,62.5 c -17.169,19.895 -44.071,-2.33 -29.509,-24.136 l 58.528,-68.061 -38.344,-45.742 24.666,-30.548 38.996,46.844 33.615,-39.102 c 16.494,-19.172 33.315,-44.578 55.116,-57.642 l -541.903,0 0,247.58 126.699,0 c 58.72,0 85.376,-35.108 124.351,-82.451 l 36.776,-44.669 -61.49,-70.232 c -14.748,-21.68 11.945,-44.141 29.29,-24.396 l 56.828,64.711 52.474,-63.731 c 16.701,-20.295 44.103,1.315 30.051,23.453 l -56.946,69.399 39.392,44.847 -24.82,29.391 -39.209,-44.222 -32.7,39.857 c -16.05,19.548 -32.297,44.48 -53.795,58.043 l 536.799,0 0,-247.58 -121.463,0 z m -417.59,119.247 c 0,55.193 -45.004,100.202 -100.194,100.202 -55.204,0 -100.208,-45.009 -100.208,-100.202 0,-55.202 45.004,-100.207 100.208,-100.207 55.19,0 100.194,45.005 100.194,100.207 z m 422.568,100.202 c -55.194,0 -100.208,-45.009 -100.208,-100.202 0,-55.202 45.014,-100.207 100.208,-100.207 55.197,0 100.2,45.005 100.2,100.207 0,55.193 -45.003,100.202 -100.2,100.202 z"/>
9
+ </g>
10
+ </svg>
assets/img/p24.svg CHANGED
@@ -1,63 +1,63 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
- <svg version="1.1" id="Warstwa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
- viewBox="0 0 1920 672" enable-background="new 0 0 1920 672" xml:space="preserve">
6
- <g>
7
- <polygon fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" points="409.6,384.9 566,384.7 560.3,420.3 429.5,545.2
8
- 539.3,545 532.9,583.4 371.2,583.5 378,543.8 503.4,423.7 403.3,423.7 409.6,384.9 "/>
9
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" d="M238.5,324c-3.4-3.6-8.3-6.4-13.7-8.6c-5.7-2.2-12-3.8-18.2-4.9
10
- c-7.8-1.4-15.4-2-20.8-2.2c-5-0.2-8.2-0.2-8.2-0.2l-68.4,0l-50.9,0L12.7,583.5l42.6,0l16.8-102l82.6,0.4c0,0,32.2,1.3,55-10.8
11
- c22.8-12.1,28.9-39.6,28.9-39.6s2.5-10.2,4.6-22.6c2.3-13.7,4.6-30.1,5.8-38.8c0.5-3.8,0.8-6.2,0.8-6.2s0.6-2.8,0.6-7.2
12
- c0.1-6.1-0.8-15.3-5.6-24.1C243.1,329.5,241.1,326.7,238.5,324z M205.7,372.6c0,0.5-3.8,22.6-8.8,48.8c-1.9,10-9.6,15.4-18.4,17.3
13
- c-14.6,3.1-30.3,2.5-30.3,2.5l-69-0.2l15.2-91.5l62.5,0.2c0,0,4.2-0.1,10.1,0c6.7,0.1,15.6,0.4,22.9,1.4c6.3,0.8,11.3,2.1,12.9,4.1
14
- c2.1,2.6,2.9,6,3.2,9C206.4,368.6,205.7,372.3,205.7,372.6z"/>
15
- <polygon fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" points="778.1,308.1 819.1,308.1 773.2,583.5 732.1,583.4
16
- 778.1,308.1 "/>
17
- <polygon fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" points="996.9,384.9 1036.2,384.8 1050.1,524.6 1110.6,384.6
18
- 1159.1,384.7 1173.4,525.1 1233.8,384.8 1274.6,384.8 1188,583.3 1139.6,583.3 1125.6,444.3 1064.5,583.3 1016.9,583.5
19
- 996.9,384.9 "/>
20
- <g>
21
- <path fill="#D13239" d="M702.4,386.5c-11.5-3.7-31.4-4.5-48.3-4.3c-16.3,0.2-23.8,1-29.9,2.3c0,0-29,4.2-45.5,24.6
22
- c-16.5,20.4-21.4,65-21.4,65s-9.8,49.3-6.9,65.8c2.9,16.4,8,31.7,26.6,38.8c18.6,7.2,34.4,6.8,34.4,6.8s33.2,2.6,58.2-3.3
23
- c25-5.9,38.2-23.5,38.2-23.5s5.9-7.6,10.1-16.6c4.2-9,5.5-15.3,5.7-16.1l2.6-10.7l-42.5,0.1c0,0-2.3,28.1-25.3,30.7
24
- c-22.9,2.6-35.2,1.6-39.7,1.4c-4.4-0.2-29,0.9-27-19.7c0-0.3,0-0.7,0.1-1.3c1.1-23.4,3.7-29.5,3.7-29.5l133.5-0.4l5.7-33
25
- C741.3,426.2,736.6,397.7,702.4,386.5z M693.5,458.9l-91.5-0.1l3.6-14.5c0,0,3.2-11.4,9.5-16.2c6.4-4.8,14.5-5.7,22.1-6.4
26
- c7.6-0.7,27.9-2.2,44.4,1.2c5.5,1.1,10.7,4.2,12.1,8.8C696.9,442.5,693.5,458.9,693.5,458.9z"/>
27
- <path fill="#D13239" d="M592,526.9c0,0.3-0.1,0.6-0.1,0.9C591.8,529.4,592,526.8,592,526.9z"/>
28
- </g>
29
- <g>
30
- <path fill="#D13239" d="M843.8,527c0,0.3-0.1,0.6-0.1,0.9C843.7,529.5,843.8,526.9,843.8,527z"/>
31
- <path fill="#D13239" d="M954.3,386.6c-11.5-3.7-31.4-4.5-48.3-4.3c-16.3,0.2-23.8,1-29.9,2.3c0,0-29,4.2-45.5,24.6
32
- c-16.5,20.4-21.4,65-21.4,65s-9.8,49.3-6.9,65.8c2.9,16.4,8,31.7,26.6,38.8c18.6,7.2,34.4,6.8,34.4,6.8s33.2,2.6,58.2-3.3
33
- c25-5.9,38.2-23.5,38.2-23.5s5.9-7.6,10.1-16.6c4.2-9,5.5-15.3,5.7-16.1l2.6-10.7l-42.5,0.1c0,0-2.3,28.1-25.3,30.7
34
- c-22.9,2.6-35.2,1.6-39.7,1.5c-4.4-0.2-29,0.8-27-19.7c0-0.3,0-0.7,0.1-1.3c1.1-23.4,3.7-29.5,3.7-29.5l133.5-0.4l5.7-33
35
- C993.2,426.3,988.5,397.7,954.3,386.6z M945,458.9l-91.5-0.1l3.6-14.5c0,0,3.2-11.4,9.5-16.2c6.3-4.8,14.5-5.7,22.1-6.4
36
- c7.6-0.7,27.9-2.2,44.4,1.2c5.5,1.1,10.7,4.2,12.1,8.8C948.4,442.4,945,458.9,945,458.9z"/>
37
- </g>
38
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" d="M1321.8,384.9l26.3,145.2l74.3-145.3l41.8,0.4l-107.1,207.5
39
- c0,0-19.4,37.6-31.4,47.1c-12,9.5-19.4,13.8-29.2,14.8c-9.8,1-13.8,1.7-23.2,0l-10-1.8l6.2-37.1c0,0,16.6,3.1,26.4-0.8
40
- c9.9-3.9,17.8-20.7,17.8-20.7l5-8.4l-38.7-201L1321.8,384.9L1321.8,384.9z"/>
41
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M1479.4,404.6l43.1,0.1l2.6-16.7c0,0,4.6-30.2,14.9-36
42
- c3.3-1.9,8.6-3.6,14.7-4.7c11.3-2,25.6-2.2,37.3-1.8c17.9,0.6,24.7,0.8,42.9,2.9c18.2,2.1,13.6,19.7,13.6,19.7l-3.6,26.3
43
- c0,0-1.6,11.8-5.8,19.1c-3.7,6.5-13.9,10.9-19.8,12.8c-14.2,4.6-62.8,17-62.8,17l-38.2,11c0,0-23.5,6.8-36.6,21.3
44
- c-13.2,14.6-18.4,31.1-20.2,39.7c-1.8,8.6-11.9,68.1-11.9,68.1l206.2,0.1l6.9-41.2l-163.1,0.2l2.9-16.8c0,0,1.9-17.3,8.9-23
45
- c2.2-1.8,3.3-4.2,16.3-8.8c7.8-2.8,34.4-9.9,34.4-9.9l61.5-16.8c0,0,33.6-8.6,46.8-27c13.2-18.3,18.3-53.4,18.3-53.4
46
- s3.6-34.1,0.8-44.8c-2.7-10.7-12.8-23.5-25.1-29c-12.3-5.5-25.1-8.7-62.2-8.2c-37.1,0.5-55.5,2.2-74.3,9.2
47
- c-18.8,6.9-29.7,19.5-36.6,37.3C1483.8,368.2,1479.4,404.6,1479.4,404.6L1479.4,404.6z"/>
48
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M1867.6,481.2l28.9-173.2l-51.2,0l-159.4,171.2l-7.2,43.4l139.4,0
49
- l-10.2,60.8l42.8,0.1l10.1-60.9l39.5,0.1l7.1-41.5L1867.6,481.2z M1825,481.3l-90.1-0.1l109.7-116.9L1825,481.3z"/>
50
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M328.9,330.8h131.3c0,0,29.4-23.8,50.3-39.1
51
- c20.9-15.3,58.9-39.4,58.9-39.4l-74.2-34.7c0,0-62.7,38.8-89.3,57.1C380.1,291.6,328.9,330.8,328.9,330.8L328.9,330.8z"/>
52
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M611.1,227.8l-60.9-41c0,0,55.1-31.3,128.4-60.5
53
- c73.2-29.2,112.3-41.4,112.3-41.4l12.4,58.1c0,0-70.5,23.6-110.9,42.7C650.6,203.5,611.1,227.8,611.1,227.8L611.1,227.8z"/>
54
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M848.3,130.3l-10.6-59.5c0,0,75.2-20,144-32.8
55
- c68.9-12.8,160.2-18.9,160.2-18.9l-30.2,91.9c0,0-80.3-11-155.7-0.7C897.3,117.3,848.3,130.3,848.3,130.3L848.3,130.3z"/>
56
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M1159.5,118.8l50.8-102.1c0,0,111.3-2.2,207.3,12.7
57
- c96,14.8,183.8,37.6,181.9,38.6l-243.4,127.3c0,0-56.9-36-127.5-58.1C1188.6,125.4,1159.5,118.8,1159.5,118.8L1159.5,118.8z"/>
58
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M1399.7,223l53.5,40.6h439.7c0,0-0.9-14.2-12.6-34.4
59
- c-7.3-12.6-20.6-26-34.5-39.9c-5.1-5-25.3-20.8-40.5-30.7c-38.8-25.2-60.5-34.9-100.8-53.2L1399.7,223L1399.7,223z"/>
60
- <path fill="#D13239" d="M357.4,384.7c-16.5,0-32.1,6.5-45.4,13.8l2.3-13.8h-43.7l-35,197.7h43.8l19.4-109.5
61
- c4-22.2,20.6-49.7,53-49.7l22.6-0.1l6.8-38.4H357.4z"/>
62
- </g>
63
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Warstwa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 1920 672" enable-background="new 0 0 1920 672" xml:space="preserve">
6
+ <g>
7
+ <polygon fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" points="409.6,384.9 566,384.7 560.3,420.3 429.5,545.2
8
+ 539.3,545 532.9,583.4 371.2,583.5 378,543.8 503.4,423.7 403.3,423.7 409.6,384.9 "/>
9
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" d="M238.5,324c-3.4-3.6-8.3-6.4-13.7-8.6c-5.7-2.2-12-3.8-18.2-4.9
10
+ c-7.8-1.4-15.4-2-20.8-2.2c-5-0.2-8.2-0.2-8.2-0.2l-68.4,0l-50.9,0L12.7,583.5l42.6,0l16.8-102l82.6,0.4c0,0,32.2,1.3,55-10.8
11
+ c22.8-12.1,28.9-39.6,28.9-39.6s2.5-10.2,4.6-22.6c2.3-13.7,4.6-30.1,5.8-38.8c0.5-3.8,0.8-6.2,0.8-6.2s0.6-2.8,0.6-7.2
12
+ c0.1-6.1-0.8-15.3-5.6-24.1C243.1,329.5,241.1,326.7,238.5,324z M205.7,372.6c0,0.5-3.8,22.6-8.8,48.8c-1.9,10-9.6,15.4-18.4,17.3
13
+ c-14.6,3.1-30.3,2.5-30.3,2.5l-69-0.2l15.2-91.5l62.5,0.2c0,0,4.2-0.1,10.1,0c6.7,0.1,15.6,0.4,22.9,1.4c6.3,0.8,11.3,2.1,12.9,4.1
14
+ c2.1,2.6,2.9,6,3.2,9C206.4,368.6,205.7,372.3,205.7,372.6z"/>
15
+ <polygon fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" points="778.1,308.1 819.1,308.1 773.2,583.5 732.1,583.4
16
+ 778.1,308.1 "/>
17
+ <polygon fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" points="996.9,384.9 1036.2,384.8 1050.1,524.6 1110.6,384.6
18
+ 1159.1,384.7 1173.4,525.1 1233.8,384.8 1274.6,384.8 1188,583.3 1139.6,583.3 1125.6,444.3 1064.5,583.3 1016.9,583.5
19
+ 996.9,384.9 "/>
20
+ <g>
21
+ <path fill="#D13239" d="M702.4,386.5c-11.5-3.7-31.4-4.5-48.3-4.3c-16.3,0.2-23.8,1-29.9,2.3c0,0-29,4.2-45.5,24.6
22
+ c-16.5,20.4-21.4,65-21.4,65s-9.8,49.3-6.9,65.8c2.9,16.4,8,31.7,26.6,38.8c18.6,7.2,34.4,6.8,34.4,6.8s33.2,2.6,58.2-3.3
23
+ c25-5.9,38.2-23.5,38.2-23.5s5.9-7.6,10.1-16.6c4.2-9,5.5-15.3,5.7-16.1l2.6-10.7l-42.5,0.1c0,0-2.3,28.1-25.3,30.7
24
+ c-22.9,2.6-35.2,1.6-39.7,1.4c-4.4-0.2-29,0.9-27-19.7c0-0.3,0-0.7,0.1-1.3c1.1-23.4,3.7-29.5,3.7-29.5l133.5-0.4l5.7-33
25
+ C741.3,426.2,736.6,397.7,702.4,386.5z M693.5,458.9l-91.5-0.1l3.6-14.5c0,0,3.2-11.4,9.5-16.2c6.4-4.8,14.5-5.7,22.1-6.4
26
+ c7.6-0.7,27.9-2.2,44.4,1.2c5.5,1.1,10.7,4.2,12.1,8.8C696.9,442.5,693.5,458.9,693.5,458.9z"/>
27
+ <path fill="#D13239" d="M592,526.9c0,0.3-0.1,0.6-0.1,0.9C591.8,529.4,592,526.8,592,526.9z"/>
28
+ </g>
29
+ <g>
30
+ <path fill="#D13239" d="M843.8,527c0,0.3-0.1,0.6-0.1,0.9C843.7,529.5,843.8,526.9,843.8,527z"/>
31
+ <path fill="#D13239" d="M954.3,386.6c-11.5-3.7-31.4-4.5-48.3-4.3c-16.3,0.2-23.8,1-29.9,2.3c0,0-29,4.2-45.5,24.6
32
+ c-16.5,20.4-21.4,65-21.4,65s-9.8,49.3-6.9,65.8c2.9,16.4,8,31.7,26.6,38.8c18.6,7.2,34.4,6.8,34.4,6.8s33.2,2.6,58.2-3.3
33
+ c25-5.9,38.2-23.5,38.2-23.5s5.9-7.6,10.1-16.6c4.2-9,5.5-15.3,5.7-16.1l2.6-10.7l-42.5,0.1c0,0-2.3,28.1-25.3,30.7
34
+ c-22.9,2.6-35.2,1.6-39.7,1.5c-4.4-0.2-29,0.8-27-19.7c0-0.3,0-0.7,0.1-1.3c1.1-23.4,3.7-29.5,3.7-29.5l133.5-0.4l5.7-33
35
+ C993.2,426.3,988.5,397.7,954.3,386.6z M945,458.9l-91.5-0.1l3.6-14.5c0,0,3.2-11.4,9.5-16.2c6.3-4.8,14.5-5.7,22.1-6.4
36
+ c7.6-0.7,27.9-2.2,44.4,1.2c5.5,1.1,10.7,4.2,12.1,8.8C948.4,442.4,945,458.9,945,458.9z"/>
37
+ </g>
38
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#D13239" d="M1321.8,384.9l26.3,145.2l74.3-145.3l41.8,0.4l-107.1,207.5
39
+ c0,0-19.4,37.6-31.4,47.1c-12,9.5-19.4,13.8-29.2,14.8c-9.8,1-13.8,1.7-23.2,0l-10-1.8l6.2-37.1c0,0,16.6,3.1,26.4-0.8
40
+ c9.9-3.9,17.8-20.7,17.8-20.7l5-8.4l-38.7-201L1321.8,384.9L1321.8,384.9z"/>
41
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M1479.4,404.6l43.1,0.1l2.6-16.7c0,0,4.6-30.2,14.9-36
42
+ c3.3-1.9,8.6-3.6,14.7-4.7c11.3-2,25.6-2.2,37.3-1.8c17.9,0.6,24.7,0.8,42.9,2.9c18.2,2.1,13.6,19.7,13.6,19.7l-3.6,26.3
43
+ c0,0-1.6,11.8-5.8,19.1c-3.7,6.5-13.9,10.9-19.8,12.8c-14.2,4.6-62.8,17-62.8,17l-38.2,11c0,0-23.5,6.8-36.6,21.3
44
+ c-13.2,14.6-18.4,31.1-20.2,39.7c-1.8,8.6-11.9,68.1-11.9,68.1l206.2,0.1l6.9-41.2l-163.1,0.2l2.9-16.8c0,0,1.9-17.3,8.9-23
45
+ c2.2-1.8,3.3-4.2,16.3-8.8c7.8-2.8,34.4-9.9,34.4-9.9l61.5-16.8c0,0,33.6-8.6,46.8-27c13.2-18.3,18.3-53.4,18.3-53.4
46
+ s3.6-34.1,0.8-44.8c-2.7-10.7-12.8-23.5-25.1-29c-12.3-5.5-25.1-8.7-62.2-8.2c-37.1,0.5-55.5,2.2-74.3,9.2
47
+ c-18.8,6.9-29.7,19.5-36.6,37.3C1483.8,368.2,1479.4,404.6,1479.4,404.6L1479.4,404.6z"/>
48
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M1867.6,481.2l28.9-173.2l-51.2,0l-159.4,171.2l-7.2,43.4l139.4,0
49
+ l-10.2,60.8l42.8,0.1l10.1-60.9l39.5,0.1l7.1-41.5L1867.6,481.2z M1825,481.3l-90.1-0.1l109.7-116.9L1825,481.3z"/>
50
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M328.9,330.8h131.3c0,0,29.4-23.8,50.3-39.1
51
+ c20.9-15.3,58.9-39.4,58.9-39.4l-74.2-34.7c0,0-62.7,38.8-89.3,57.1C380.1,291.6,328.9,330.8,328.9,330.8L328.9,330.8z"/>
52
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M611.1,227.8l-60.9-41c0,0,55.1-31.3,128.4-60.5
53
+ c73.2-29.2,112.3-41.4,112.3-41.4l12.4,58.1c0,0-70.5,23.6-110.9,42.7C650.6,203.5,611.1,227.8,611.1,227.8L611.1,227.8z"/>
54
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M848.3,130.3l-10.6-59.5c0,0,75.2-20,144-32.8
55
+ c68.9-12.8,160.2-18.9,160.2-18.9l-30.2,91.9c0,0-80.3-11-155.7-0.7C897.3,117.3,848.3,130.3,848.3,130.3L848.3,130.3z"/>
56
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M1159.5,118.8l50.8-102.1c0,0,111.3-2.2,207.3,12.7
57
+ c96,14.8,183.8,37.6,181.9,38.6l-243.4,127.3c0,0-56.9-36-127.5-58.1C1188.6,125.4,1159.5,118.8,1159.5,118.8L1159.5,118.8z"/>
58
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#B3B2B1" d="M1399.7,223l53.5,40.6h439.7c0,0-0.9-14.2-12.6-34.4
59
+ c-7.3-12.6-20.6-26-34.5-39.9c-5.1-5-25.3-20.8-40.5-30.7c-38.8-25.2-60.5-34.9-100.8-53.2L1399.7,223L1399.7,223z"/>
60
+ <path fill="#D13239" d="M357.4,384.7c-16.5,0-32.1,6.5-45.4,13.8l2.3-13.8h-43.7l-35,197.7h43.8l19.4-109.5
61
+ c4-22.2,20.6-49.7,53-49.7l22.6-0.1l6.8-38.4H357.4z"/>
62
+ </g>
63
+ </svg>
assets/img/paymentplugins.svg CHANGED
@@ -1,122 +1,122 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="220" height="100" viewBox="120 160 140 84" version="1.1">
3
- <defs>
4
- <g>
5
- <symbol overflow="visible" id="glyph0-0">
6
- <path style="stroke:none;" d=""/>
7
- </symbol>
8
- <symbol overflow="visible" id="glyph0-1">
9
- <path style="stroke:none;" d="M 14.828125 -29.78125 C 16.003906 -29.78125 17.109375 -29.542969 18.140625 -29.078125 C 19.179688 -28.617188 20.085938 -27.988281 20.859375 -27.1875 C 21.628906 -26.394531 22.238281 -25.457031 22.6875 -24.375 C 23.132813 -23.300781 23.359375 -22.148438 23.359375 -20.921875 C 23.359375 -19.679688 23.132813 -18.519531 22.6875 -17.4375 C 22.238281 -16.363281 21.628906 -15.417969 20.859375 -14.609375 C 20.085938 -13.796875 19.179688 -13.160156 18.140625 -12.703125 C 17.109375 -12.242188 16.003906 -12.015625 14.828125 -12.015625 L 8.3125 -12.015625 L 8.3125 0 L 1.96875 0 L 1.96875 -29.78125 Z M 13.984375 -17.8125 C 14.792969 -17.8125 15.503906 -18.109375 16.109375 -18.703125 C 16.710938 -19.304688 17.015625 -20.046875 17.015625 -20.921875 C 17.015625 -21.753906 16.710938 -22.472656 16.109375 -23.078125 C 15.503906 -23.679688 14.792969 -23.984375 13.984375 -23.984375 L 8.3125 -23.984375 L 8.3125 -17.8125 Z M 13.984375 -17.8125 "/>
10
- </symbol>
11
- <symbol overflow="visible" id="glyph0-2">
12
- <path style="stroke:none;" d="M 23.6875 -20.828125 L 23.6875 0 L 18.6875 0 L 18.109375 -2.21875 C 17.296875 -1.132813 16.320313 -0.410156 15.1875 -0.046875 C 14.050781 0.316406 12.867188 0.5 11.640625 0.5 C 10.148438 0.5 8.777344 0.210938 7.53125 -0.359375 C 6.289063 -0.929688 5.207031 -1.710938 4.28125 -2.703125 C 3.351563 -3.699219 2.628906 -4.863281 2.109375 -6.1875 C 1.597656 -7.519531 1.34375 -8.941406 1.34375 -10.453125 C 1.34375 -11.960938 1.597656 -13.382813 2.109375 -14.71875 C 2.628906 -16.050781 3.351563 -17.210938 4.28125 -18.203125 C 5.207031 -19.199219 6.289063 -19.988281 7.53125 -20.5625 C 8.777344 -21.132813 10.148438 -21.421875 11.640625 -21.421875 C 12.980469 -21.421875 14.210938 -21.207031 15.328125 -20.78125 C 16.449219 -20.363281 17.378906 -19.695313 18.109375 -18.78125 L 18.6875 -20.828125 Z M 17.890625 -10.375 C 17.890625 -11.464844 17.742188 -12.382813 17.453125 -13.125 C 17.160156 -13.863281 16.769531 -14.460938 16.28125 -14.921875 C 15.789063 -15.386719 15.210938 -15.726563 14.546875 -15.9375 C 13.890625 -16.144531 13.183594 -16.25 12.4375 -16.25 C 11.675781 -16.25 10.964844 -16.089844 10.3125 -15.78125 C 9.65625 -15.476563 9.070313 -15.066406 8.5625 -14.546875 C 8.0625 -14.035156 7.667969 -13.417969 7.390625 -12.703125 C 7.109375 -11.992188 6.96875 -11.242188 6.96875 -10.453125 C 6.96875 -9.640625 7.109375 -8.882813 7.390625 -8.1875 C 7.667969 -7.488281 8.0625 -6.878906 8.5625 -6.359375 C 9.070313 -5.847656 9.65625 -5.433594 10.3125 -5.125 C 10.964844 -4.8125 11.675781 -4.65625 12.4375 -4.65625 C 13.945313 -4.65625 15.222656 -5.125 16.265625 -6.0625 C 17.316406 -6.996094 17.859375 -8.4375 17.890625 -10.375 Z M 17.890625 -10.375 "/>
13
- </symbol>
14
- <symbol overflow="visible" id="glyph0-3">
15
- <path style="stroke:none;" d="M 17.96875 -20.828125 L 24.3125 -20.828125 L 11.171875 8.3125 L 4.828125 8.3125 L 10 -3.15625 L 1.171875 -20.828125 L 7.640625 -20.828125 L 13.0625 -9.953125 Z M 17.96875 -20.828125 "/>
16
- </symbol>
17
- <symbol overflow="visible" id="glyph0-4">
18
- <path style="stroke:none;" d="M 25.078125 -20.828125 C 25.824219 -20.828125 26.632813 -20.699219 27.5 -20.453125 C 28.371094 -20.203125 29.179688 -19.753906 29.921875 -19.109375 C 30.660156 -18.460938 31.269531 -17.574219 31.75 -16.453125 C 32.226563 -15.335938 32.46875 -13.914063 32.46875 -12.1875 L 32.46875 0 L 26.671875 0 L 26.671875 -11.125 C 26.671875 -11.964844 26.574219 -12.679688 26.390625 -13.265625 C 26.210938 -13.855469 25.964844 -14.335938 25.65625 -14.703125 C 25.351563 -15.066406 24.996094 -15.320313 24.59375 -15.46875 C 24.1875 -15.621094 23.773438 -15.703125 23.359375 -15.703125 C 22.960938 -15.703125 22.566406 -15.628906 22.171875 -15.484375 C 21.785156 -15.347656 21.433594 -15.113281 21.125 -14.78125 C 20.8125 -14.445313 20.566406 -13.980469 20.390625 -13.390625 C 20.210938 -12.804688 20.125 -12.066406 20.125 -11.171875 L 20.125 0 L 14.328125 0 L 14.328125 -11.125 C 14.328125 -12.832031 14.027344 -14.019531 13.4375 -14.6875 C 12.851563 -15.363281 11.996094 -15.703125 10.875 -15.703125 C 10.0625 -15.703125 9.332031 -15.320313 8.6875 -14.5625 C 8.050781 -13.8125 7.734375 -12.636719 7.734375 -11.046875 L 7.734375 0 L 1.9375 0 L 1.9375 -20.828125 L 6.890625 -20.828125 L 7.734375 -18.90625 C 8.367188 -19.519531 9.113281 -19.992188 9.96875 -20.328125 C 10.820313 -20.660156 11.738281 -20.828125 12.71875 -20.828125 C 13.226563 -20.828125 13.757813 -20.773438 14.3125 -20.671875 C 14.871094 -20.578125 15.421875 -20.402344 15.953125 -20.15625 C 16.492188 -19.90625 17.007813 -19.574219 17.5 -19.171875 C 17.988281 -18.765625 18.425781 -18.253906 18.8125 -17.640625 C 19.144531 -18.167969 19.550781 -18.640625 20.03125 -19.046875 C 20.507813 -19.449219 21.023438 -19.785156 21.578125 -20.046875 C 22.136719 -20.316406 22.722656 -20.515625 23.328125 -20.640625 C 23.929688 -20.761719 24.515625 -20.828125 25.078125 -20.828125 Z M 25.078125 -20.828125 "/>
19
- </symbol>
20
- <symbol overflow="visible" id="glyph0-5">
21
- <path style="stroke:none;" d="M 12.1875 -21.421875 C 13.746094 -21.421875 15.171875 -21.101563 16.453125 -20.46875 C 17.742188 -19.84375 18.851563 -19.019531 19.78125 -18 C 20.707031 -16.976563 21.421875 -15.800781 21.921875 -14.46875 C 22.429688 -13.132813 22.6875 -11.769531 22.6875 -10.375 C 22.6875 -9.53125 22.570313 -8.632813 22.34375 -7.6875 L 7.46875 -7.6875 C 8.027344 -6.738281 8.828125 -5.929688 9.859375 -5.265625 C 10.898438 -4.609375 12.023438 -4.28125 13.234375 -4.28125 C 14.429688 -4.28125 15.484375 -4.378906 16.390625 -4.578125 C 17.304688 -4.773438 18.171875 -5.023438 18.984375 -5.328125 L 20.921875 -1.765625 C 19.878906 -1.035156 18.691406 -0.472656 17.359375 -0.078125 C 16.035156 0.304688 14.617188 0.5 13.109375 0.5 C 11.453125 0.5 9.910156 0.210938 8.484375 -0.359375 C 7.054688 -0.929688 5.808594 -1.707031 4.75 -2.6875 C 3.6875 -3.664063 2.839844 -4.828125 2.21875 -6.171875 C 1.601563 -7.511719 1.296875 -8.941406 1.296875 -10.453125 C 1.296875 -11.941406 1.578125 -13.347656 2.140625 -14.671875 C 2.699219 -16.003906 3.476563 -17.164063 4.46875 -18.15625 C 5.464844 -19.152344 6.625 -19.945313 7.9375 -20.53125 C 9.246094 -21.121094 10.664063 -21.421875 12.1875 -21.421875 Z M 16.921875 -12.1875 C 16.585938 -13.382813 15.980469 -14.359375 15.109375 -15.109375 C 14.242188 -15.867188 13.269531 -16.25 12.1875 -16.25 C 11.0625 -16.25 10.039063 -15.867188 9.125 -15.109375 C 8.21875 -14.359375 7.597656 -13.382813 7.265625 -12.1875 Z M 16.921875 -12.1875 "/>
22
- </symbol>
23
- <symbol overflow="visible" id="glyph0-6">
24
- <path style="stroke:none;" d="M 12.71875 -20.828125 C 13.507813 -20.828125 14.378906 -20.710938 15.328125 -20.484375 C 16.285156 -20.265625 17.179688 -19.847656 18.015625 -19.234375 C 18.855469 -18.617188 19.566406 -17.761719 20.140625 -16.671875 C 20.710938 -15.578125 21 -14.164063 21 -12.4375 L 21 0 L 15.15625 0 L 15.15625 -12.21875 C 15.15625 -12.863281 15.050781 -13.410156 14.84375 -13.859375 C 14.632813 -14.304688 14.351563 -14.660156 14 -14.921875 C 13.65625 -15.191406 13.257813 -15.390625 12.8125 -15.515625 C 12.363281 -15.636719 11.914063 -15.703125 11.46875 -15.703125 C 11.101563 -15.703125 10.699219 -15.636719 10.265625 -15.515625 C 9.835938 -15.390625 9.429688 -15.183594 9.046875 -14.90625 C 8.671875 -14.625 8.355469 -14.257813 8.109375 -13.8125 C 7.859375 -13.363281 7.734375 -12.832031 7.734375 -12.21875 L 7.734375 0 L 1.9375 0 L 1.9375 -20.828125 L 6.890625 -20.828125 L 7.734375 -19.234375 C 8.398438 -19.710938 9.148438 -20.097656 9.984375 -20.390625 C 10.824219 -20.679688 11.738281 -20.828125 12.71875 -20.828125 Z M 12.71875 -20.828125 "/>
25
- </symbol>
26
- <symbol overflow="visible" id="glyph0-7">
27
- <path style="stroke:none;" d="M 9.578125 -7.46875 C 9.578125 -6.488281 9.875 -5.730469 10.46875 -5.203125 C 11.070313 -4.671875 11.867188 -4.40625 12.859375 -4.40625 C 13.636719 -4.40625 14.421875 -4.5625 15.203125 -4.875 L 15.203125 0 C 14.503906 0.226563 13.757813 0.414063 12.96875 0.5625 C 12.1875 0.714844 11.402344 0.796875 10.625 0.796875 C 9.726563 0.796875 8.871094 0.679688 8.0625 0.453125 C 7.25 0.234375 6.519531 -0.144531 5.875 -0.6875 C 5.226563 -1.238281 4.714844 -1.96875 4.34375 -2.875 C 3.96875 -3.777344 3.78125 -4.910156 3.78125 -6.265625 L 3.78125 -15.671875 L 0.796875 -15.671875 L 0.796875 -19.578125 L 3.78125 -20.828125 L 3.78125 -25.5 L 9.578125 -25.5 L 9.578125 -20.828125 L 15.203125 -20.828125 L 15.203125 -15.671875 L 9.578125 -15.671875 Z M 9.578125 -7.46875 "/>
28
- </symbol>
29
- <symbol overflow="visible" id="glyph1-0">
30
- <path style="stroke:none;" d="M 8.078125 -13.714844 C 7.457031 -13.796875 6.976563 -13.796875 6.277344 -13.796875 L 2 -13.796875 L 2 0 L 3.71875 0 L 3.71875 -5.636719 L 6.277344 -5.636719 C 6.976563 -5.636719 7.457031 -5.636719 8.078125 -5.71875 C 10.078125 -5.976563 11.65625 -7.378906 11.65625 -9.71875 C 11.65625 -12.058594 10.277344 -13.4375 8.078125 -13.714844 Z M 7.976563 -7.179688 C 7.597656 -7.097656 7.058594 -7.078125 6.4375 -7.078125 L 3.71875 -7.078125 L 3.71875 -12.355469 L 6.4375 -12.355469 C 7.058594 -12.355469 7.597656 -12.335938 7.976563 -12.257813 C 8.957031 -12.035156 9.816406 -11.316406 9.816406 -9.71875 C 9.816406 -8.117188 8.957031 -7.398438 7.976563 -7.179688 Z M 7.976563 -7.179688 "/>
31
- </symbol>
32
- <symbol overflow="visible" id="glyph1-1">
33
- <path style="stroke:none;" d="M 11.175781 -1.398438 L 3.71875 -1.398438 L 3.71875 -13.796875 L 2 -13.796875 L 2 0 L 11.175781 0 Z M 11.175781 -1.398438 "/>
34
- </symbol>
35
- <symbol overflow="visible" id="glyph1-2">
36
- <path style="stroke:none;" d="M 12.238281 -13.796875 L 10.515625 -13.796875 L 10.515625 -5.257813 C 10.515625 -4.820313 10.515625 -4.398438 10.476563 -4.039063 C 10.316406 -2.300781 9.175781 -1.078125 7.058594 -1.078125 C 4.9375 -1.078125 3.800781 -2.300781 3.640625 -4.039063 C 3.597656 -4.398438 3.597656 -4.820313 3.597656 -5.257813 L 3.597656 -13.796875 L 1.878906 -13.796875 L 1.878906 -5.097656 C 1.878906 -4.660156 1.878906 -4.257813 1.917969 -3.859375 C 2.121094 -1.558594 3.679688 0.28125 7.058594 0.28125 C 10.4375 0.28125 11.996094 -1.558594 12.195313 -3.859375 C 12.238281 -4.257813 12.238281 -4.660156 12.238281 -5.097656 Z M 12.238281 -13.796875 "/>
37
- </symbol>
38
- <symbol overflow="visible" id="glyph1-3">
39
- <path style="stroke:none;" d="M 7.976563 -6.660156 L 7.976563 -5.257813 L 11.195313 -5.257813 C 11.195313 -2.800781 9.539063 -1.078125 7.296875 -1.078125 C 4.578125 -1.078125 2.859375 -3.519531 2.859375 -6.917969 C 2.859375 -10.257813 4.597656 -12.71875 7.417969 -12.71875 C 9.71875 -12.71875 10.9375 -11.378906 11.335938 -9.398438 L 11.378906 -9.199219 L 13.097656 -9.199219 L 13.078125 -9.398438 C 12.796875 -12.097656 10.957031 -14.078125 7.457031 -14.078125 C 3.539063 -14.078125 0.941406 -11.039063 0.941406 -6.839844 C 0.941406 -2.800781 3.179688 0.28125 7.199219 0.28125 C 8.777344 0.28125 9.996094 -0.238281 10.777344 -1.121094 L 11.398438 -2.398438 L 11.398438 0 L 12.917969 0 L 12.917969 -6.660156 Z M 7.976563 -6.660156 "/>
40
- </symbol>
41
- <symbol overflow="visible" id="glyph1-4">
42
- <path style="stroke:none;" d="M 3.71875 0 L 3.71875 -13.796875 L 2 -13.796875 L 2 0 Z M 3.71875 0 "/>
43
- </symbol>
44
- <symbol overflow="visible" id="glyph1-5">
45
- <path style="stroke:none;" d="M 12.796875 0 L 12.757813 -13.796875 L 11.078125 -13.796875 L 11.078125 -6.898438 C 11.078125 -5.277344 11.097656 -3.300781 11.136719 -1.679688 L 4.640625 -13.796875 L 2 -13.796875 L 2 0 L 3.71875 0 L 3.71875 -6.898438 C 3.71875 -8.519531 3.699219 -10.496094 3.660156 -12.117188 L 10.15625 0 Z M 12.796875 0 "/>
46
- </symbol>
47
- <symbol overflow="visible" id="glyph1-6">
48
- <path style="stroke:none;" d="M 6.277344 -14.078125 C 3.738281 -14.078125 1.679688 -12.578125 1.679688 -10.199219 C 1.679688 -7.917969 3.378906 -6.9375 5.820313 -6.378906 C 8.238281 -5.820313 9.199219 -5.058594 9.199219 -3.378906 C 9.199219 -1.941406 7.917969 -1.078125 6.339844 -1.078125 C 4.539063 -1.078125 3.277344 -2.097656 2.878906 -3.917969 L 1.039063 -3.917969 C 1.339844 -1.257813 3.257813 0.28125 6.296875 0.28125 C 8.957031 0.28125 11.039063 -1.28125 11.039063 -3.699219 C 11.039063 -6.039063 9.519531 -7.277344 6.476563 -7.976563 C 4.378906 -8.457031 3.519531 -9.097656 3.519531 -10.597656 C 3.519531 -12.035156 4.679688 -12.71875 6.136719 -12.71875 C 7.878906 -12.71875 8.898438 -11.71875 9.058594 -9.976563 L 10.898438 -9.976563 C 10.636719 -12.335938 9.136719 -14.078125 6.277344 -14.078125 Z M 6.277344 -14.078125 "/>
49
- </symbol>
50
- </g>
51
- <filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
52
- <feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
53
- </filter>
54
- <mask id="mask0">
55
- <g filter="url(#alpha)">
56
- <rect x="0" y="0" width="375" height="374.999989" style="fill:rgb(0%,0%,0%);fill-opacity:0.619608;stroke:none;"/>
57
- </g>
58
- </mask>
59
- <clipPath id="clip2">
60
- <path d="M 0.535156 18 L 46.285156 18 L 46.285156 40 L 0.535156 40 Z M 0.535156 18 "/>
61
- </clipPath>
62
- <clipPath id="clip3">
63
- <path d="M 0.535156 7 L 46.285156 7 L 46.285156 16 L 0.535156 16 Z M 0.535156 7 "/>
64
- </clipPath>
65
- <clipPath id="clip1">
66
- <rect width="47" height="40"/>
67
- </clipPath>
68
- <g id="surface12" clip-path="url(#clip1)">
69
- <g clip-path="url(#clip2)" clip-rule="nonzero">
70
- <path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.199097%,44.299316%,100%);fill-opacity:1;" d="M 0.535156 18.351563 L 0.535156 31.695313 C 0.535156 35.898438 3.957031 39.703125 8.160156 39.703125 L 38.660156 39.703125 C 42.863281 39.703125 46.285156 35.898438 46.285156 31.695313 L 46.285156 18.351563 Z M 6.632813 24.453125 L 14.257813 24.453125 L 14.257813 25.976563 L 6.632813 25.976563 Z M 21.882813 30.550781 L 6.632813 30.550781 L 6.632813 27.503906 L 21.882813 27.503906 Z M 21.882813 30.550781 "/>
71
- </g>
72
- <g clip-path="url(#clip3)" clip-rule="nonzero">
73
- <path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.199097%,44.299316%,100%);fill-opacity:1;" d="M 38.660156 7.675781 L 8.160156 7.675781 C 3.957031 7.675781 0.535156 10.726563 0.535156 15.300781 L 46.285156 15.300781 C 46.285156 10.726563 42.863281 7.675781 38.660156 7.675781 Z M 38.660156 7.675781 "/>
74
- </g>
75
- </g>
76
- </defs>
77
- <g id="surface1" style="fill: none;">
78
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
79
- <use xlink:href="#glyph0-1" x="101.317627" y="191.696365"/>
80
- </g>
81
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
82
- <use xlink:href="#glyph0-2" x="123.913626" y="191.696365"/>
83
- </g>
84
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
85
- <use xlink:href="#glyph0-3" x="148.189629" y="191.696365"/>
86
- </g>
87
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
88
- <use xlink:href="#glyph0-4" x="171.751623" y="191.696365"/>
89
- </g>
90
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
91
- <use xlink:href="#glyph0-5" x="204.763623" y="191.696365"/>
92
- </g>
93
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
94
- <use xlink:href="#glyph0-6" x="228.493622" y="191.696365"/>
95
- </g>
96
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
97
- <use xlink:href="#glyph0-7" x="249.95562" y="191.696365"/>
98
- </g>
99
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
100
- <use xlink:href="#glyph1-0" x="101.317627" y="231.0585"/>
101
- </g>
102
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
103
- <use xlink:href="#glyph1-1" x="118.672916" y="231.0585"/>
104
- </g>
105
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
106
- <use xlink:href="#glyph1-2" x="135.568381" y="231.0585"/>
107
- </g>
108
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
109
- <use xlink:href="#glyph1-3" x="154.603002" y="231.0585"/>
110
- </g>
111
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
112
- <use xlink:href="#glyph1-4" x="174.197404" y="231.0585"/>
113
- </g>
114
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
115
- <use xlink:href="#glyph1-5" x="184.875325" y="231.0585"/>
116
- </g>
117
- <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
118
- <use xlink:href="#glyph1-6" x="204.629659" y="231.0585"/>
119
- </g>
120
- <use xlink:href="#surface12" transform="matrix(1,0,0,1,225,197)" mask="url(#mask0)"/>
121
- </g>
122
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="220" height="100" viewBox="120 160 140 84" version="1.1">
3
+ <defs>
4
+ <g>
5
+ <symbol overflow="visible" id="glyph0-0">
6
+ <path style="stroke:none;" d=""/>
7
+ </symbol>
8
+ <symbol overflow="visible" id="glyph0-1">
9
+ <path style="stroke:none;" d="M 14.828125 -29.78125 C 16.003906 -29.78125 17.109375 -29.542969 18.140625 -29.078125 C 19.179688 -28.617188 20.085938 -27.988281 20.859375 -27.1875 C 21.628906 -26.394531 22.238281 -25.457031 22.6875 -24.375 C 23.132813 -23.300781 23.359375 -22.148438 23.359375 -20.921875 C 23.359375 -19.679688 23.132813 -18.519531 22.6875 -17.4375 C 22.238281 -16.363281 21.628906 -15.417969 20.859375 -14.609375 C 20.085938 -13.796875 19.179688 -13.160156 18.140625 -12.703125 C 17.109375 -12.242188 16.003906 -12.015625 14.828125 -12.015625 L 8.3125 -12.015625 L 8.3125 0 L 1.96875 0 L 1.96875 -29.78125 Z M 13.984375 -17.8125 C 14.792969 -17.8125 15.503906 -18.109375 16.109375 -18.703125 C 16.710938 -19.304688 17.015625 -20.046875 17.015625 -20.921875 C 17.015625 -21.753906 16.710938 -22.472656 16.109375 -23.078125 C 15.503906 -23.679688 14.792969 -23.984375 13.984375 -23.984375 L 8.3125 -23.984375 L 8.3125 -17.8125 Z M 13.984375 -17.8125 "/>
10
+ </symbol>
11
+ <symbol overflow="visible" id="glyph0-2">
12
+ <path style="stroke:none;" d="M 23.6875 -20.828125 L 23.6875 0 L 18.6875 0 L 18.109375 -2.21875 C 17.296875 -1.132813 16.320313 -0.410156 15.1875 -0.046875 C 14.050781 0.316406 12.867188 0.5 11.640625 0.5 C 10.148438 0.5 8.777344 0.210938 7.53125 -0.359375 C 6.289063 -0.929688 5.207031 -1.710938 4.28125 -2.703125 C 3.351563 -3.699219 2.628906 -4.863281 2.109375 -6.1875 C 1.597656 -7.519531 1.34375 -8.941406 1.34375 -10.453125 C 1.34375 -11.960938 1.597656 -13.382813 2.109375 -14.71875 C 2.628906 -16.050781 3.351563 -17.210938 4.28125 -18.203125 C 5.207031 -19.199219 6.289063 -19.988281 7.53125 -20.5625 C 8.777344 -21.132813 10.148438 -21.421875 11.640625 -21.421875 C 12.980469 -21.421875 14.210938 -21.207031 15.328125 -20.78125 C 16.449219 -20.363281 17.378906 -19.695313 18.109375 -18.78125 L 18.6875 -20.828125 Z M 17.890625 -10.375 C 17.890625 -11.464844 17.742188 -12.382813 17.453125 -13.125 C 17.160156 -13.863281 16.769531 -14.460938 16.28125 -14.921875 C 15.789063 -15.386719 15.210938 -15.726563 14.546875 -15.9375 C 13.890625 -16.144531 13.183594 -16.25 12.4375 -16.25 C 11.675781 -16.25 10.964844 -16.089844 10.3125 -15.78125 C 9.65625 -15.476563 9.070313 -15.066406 8.5625 -14.546875 C 8.0625 -14.035156 7.667969 -13.417969 7.390625 -12.703125 C 7.109375 -11.992188 6.96875 -11.242188 6.96875 -10.453125 C 6.96875 -9.640625 7.109375 -8.882813 7.390625 -8.1875 C 7.667969 -7.488281 8.0625 -6.878906 8.5625 -6.359375 C 9.070313 -5.847656 9.65625 -5.433594 10.3125 -5.125 C 10.964844 -4.8125 11.675781 -4.65625 12.4375 -4.65625 C 13.945313 -4.65625 15.222656 -5.125 16.265625 -6.0625 C 17.316406 -6.996094 17.859375 -8.4375 17.890625 -10.375 Z M 17.890625 -10.375 "/>
13
+ </symbol>
14
+ <symbol overflow="visible" id="glyph0-3">
15
+ <path style="stroke:none;" d="M 17.96875 -20.828125 L 24.3125 -20.828125 L 11.171875 8.3125 L 4.828125 8.3125 L 10 -3.15625 L 1.171875 -20.828125 L 7.640625 -20.828125 L 13.0625 -9.953125 Z M 17.96875 -20.828125 "/>
16
+ </symbol>
17
+ <symbol overflow="visible" id="glyph0-4">
18
+ <path style="stroke:none;" d="M 25.078125 -20.828125 C 25.824219 -20.828125 26.632813 -20.699219 27.5 -20.453125 C 28.371094 -20.203125 29.179688 -19.753906 29.921875 -19.109375 C 30.660156 -18.460938 31.269531 -17.574219 31.75 -16.453125 C 32.226563 -15.335938 32.46875 -13.914063 32.46875 -12.1875 L 32.46875 0 L 26.671875 0 L 26.671875 -11.125 C 26.671875 -11.964844 26.574219 -12.679688 26.390625 -13.265625 C 26.210938 -13.855469 25.964844 -14.335938 25.65625 -14.703125 C 25.351563 -15.066406 24.996094 -15.320313 24.59375 -15.46875 C 24.1875 -15.621094 23.773438 -15.703125 23.359375 -15.703125 C 22.960938 -15.703125 22.566406 -15.628906 22.171875 -15.484375 C 21.785156 -15.347656 21.433594 -15.113281 21.125 -14.78125 C 20.8125 -14.445313 20.566406 -13.980469 20.390625 -13.390625 C 20.210938 -12.804688 20.125 -12.066406 20.125 -11.171875 L 20.125 0 L 14.328125 0 L 14.328125 -11.125 C 14.328125 -12.832031 14.027344 -14.019531 13.4375 -14.6875 C 12.851563 -15.363281 11.996094 -15.703125 10.875 -15.703125 C 10.0625 -15.703125 9.332031 -15.320313 8.6875 -14.5625 C 8.050781 -13.8125 7.734375 -12.636719 7.734375 -11.046875 L 7.734375 0 L 1.9375 0 L 1.9375 -20.828125 L 6.890625 -20.828125 L 7.734375 -18.90625 C 8.367188 -19.519531 9.113281 -19.992188 9.96875 -20.328125 C 10.820313 -20.660156 11.738281 -20.828125 12.71875 -20.828125 C 13.226563 -20.828125 13.757813 -20.773438 14.3125 -20.671875 C 14.871094 -20.578125 15.421875 -20.402344 15.953125 -20.15625 C 16.492188 -19.90625 17.007813 -19.574219 17.5 -19.171875 C 17.988281 -18.765625 18.425781 -18.253906 18.8125 -17.640625 C 19.144531 -18.167969 19.550781 -18.640625 20.03125 -19.046875 C 20.507813 -19.449219 21.023438 -19.785156 21.578125 -20.046875 C 22.136719 -20.316406 22.722656 -20.515625 23.328125 -20.640625 C 23.929688 -20.761719 24.515625 -20.828125 25.078125 -20.828125 Z M 25.078125 -20.828125 "/>
19
+ </symbol>
20
+ <symbol overflow="visible" id="glyph0-5">
21
+ <path style="stroke:none;" d="M 12.1875 -21.421875 C 13.746094 -21.421875 15.171875 -21.101563 16.453125 -20.46875 C 17.742188 -19.84375 18.851563 -19.019531 19.78125 -18 C 20.707031 -16.976563 21.421875 -15.800781 21.921875 -14.46875 C 22.429688 -13.132813 22.6875 -11.769531 22.6875 -10.375 C 22.6875 -9.53125 22.570313 -8.632813 22.34375 -7.6875 L 7.46875 -7.6875 C 8.027344 -6.738281 8.828125 -5.929688 9.859375 -5.265625 C 10.898438 -4.609375 12.023438 -4.28125 13.234375 -4.28125 C 14.429688 -4.28125 15.484375 -4.378906 16.390625 -4.578125 C 17.304688 -4.773438 18.171875 -5.023438 18.984375 -5.328125 L 20.921875 -1.765625 C 19.878906 -1.035156 18.691406 -0.472656 17.359375 -0.078125 C 16.035156 0.304688 14.617188 0.5 13.109375 0.5 C 11.453125 0.5 9.910156 0.210938 8.484375 -0.359375 C 7.054688 -0.929688 5.808594 -1.707031 4.75 -2.6875 C 3.6875 -3.664063 2.839844 -4.828125 2.21875 -6.171875 C 1.601563 -7.511719 1.296875 -8.941406 1.296875 -10.453125 C 1.296875 -11.941406 1.578125 -13.347656 2.140625 -14.671875 C 2.699219 -16.003906 3.476563 -17.164063 4.46875 -18.15625 C 5.464844 -19.152344 6.625 -19.945313 7.9375 -20.53125 C 9.246094 -21.121094 10.664063 -21.421875 12.1875 -21.421875 Z M 16.921875 -12.1875 C 16.585938 -13.382813 15.980469 -14.359375 15.109375 -15.109375 C 14.242188 -15.867188 13.269531 -16.25 12.1875 -16.25 C 11.0625 -16.25 10.039063 -15.867188 9.125 -15.109375 C 8.21875 -14.359375 7.597656 -13.382813 7.265625 -12.1875 Z M 16.921875 -12.1875 "/>
22
+ </symbol>
23
+ <symbol overflow="visible" id="glyph0-6">
24
+ <path style="stroke:none;" d="M 12.71875 -20.828125 C 13.507813 -20.828125 14.378906 -20.710938 15.328125 -20.484375 C 16.285156 -20.265625 17.179688 -19.847656 18.015625 -19.234375 C 18.855469 -18.617188 19.566406 -17.761719 20.140625 -16.671875 C 20.710938 -15.578125 21 -14.164063 21 -12.4375 L 21 0 L 15.15625 0 L 15.15625 -12.21875 C 15.15625 -12.863281 15.050781 -13.410156 14.84375 -13.859375 C 14.632813 -14.304688 14.351563 -14.660156 14 -14.921875 C 13.65625 -15.191406 13.257813 -15.390625 12.8125 -15.515625 C 12.363281 -15.636719 11.914063 -15.703125 11.46875 -15.703125 C 11.101563 -15.703125 10.699219 -15.636719 10.265625 -15.515625 C 9.835938 -15.390625 9.429688 -15.183594 9.046875 -14.90625 C 8.671875 -14.625 8.355469 -14.257813 8.109375 -13.8125 C 7.859375 -13.363281 7.734375 -12.832031 7.734375 -12.21875 L 7.734375 0 L 1.9375 0 L 1.9375 -20.828125 L 6.890625 -20.828125 L 7.734375 -19.234375 C 8.398438 -19.710938 9.148438 -20.097656 9.984375 -20.390625 C 10.824219 -20.679688 11.738281 -20.828125 12.71875 -20.828125 Z M 12.71875 -20.828125 "/>
25
+ </symbol>
26
+ <symbol overflow="visible" id="glyph0-7">
27
+ <path style="stroke:none;" d="M 9.578125 -7.46875 C 9.578125 -6.488281 9.875 -5.730469 10.46875 -5.203125 C 11.070313 -4.671875 11.867188 -4.40625 12.859375 -4.40625 C 13.636719 -4.40625 14.421875 -4.5625 15.203125 -4.875 L 15.203125 0 C 14.503906 0.226563 13.757813 0.414063 12.96875 0.5625 C 12.1875 0.714844 11.402344 0.796875 10.625 0.796875 C 9.726563 0.796875 8.871094 0.679688 8.0625 0.453125 C 7.25 0.234375 6.519531 -0.144531 5.875 -0.6875 C 5.226563 -1.238281 4.714844 -1.96875 4.34375 -2.875 C 3.96875 -3.777344 3.78125 -4.910156 3.78125 -6.265625 L 3.78125 -15.671875 L 0.796875 -15.671875 L 0.796875 -19.578125 L 3.78125 -20.828125 L 3.78125 -25.5 L 9.578125 -25.5 L 9.578125 -20.828125 L 15.203125 -20.828125 L 15.203125 -15.671875 L 9.578125 -15.671875 Z M 9.578125 -7.46875 "/>
28
+ </symbol>
29
+ <symbol overflow="visible" id="glyph1-0">
30
+ <path style="stroke:none;" d="M 8.078125 -13.714844 C 7.457031 -13.796875 6.976563 -13.796875 6.277344 -13.796875 L 2 -13.796875 L 2 0 L 3.71875 0 L 3.71875 -5.636719 L 6.277344 -5.636719 C 6.976563 -5.636719 7.457031 -5.636719 8.078125 -5.71875 C 10.078125 -5.976563 11.65625 -7.378906 11.65625 -9.71875 C 11.65625 -12.058594 10.277344 -13.4375 8.078125 -13.714844 Z M 7.976563 -7.179688 C 7.597656 -7.097656 7.058594 -7.078125 6.4375 -7.078125 L 3.71875 -7.078125 L 3.71875 -12.355469 L 6.4375 -12.355469 C 7.058594 -12.355469 7.597656 -12.335938 7.976563 -12.257813 C 8.957031 -12.035156 9.816406 -11.316406 9.816406 -9.71875 C 9.816406 -8.117188 8.957031 -7.398438 7.976563 -7.179688 Z M 7.976563 -7.179688 "/>
31
+ </symbol>
32
+ <symbol overflow="visible" id="glyph1-1">
33
+ <path style="stroke:none;" d="M 11.175781 -1.398438 L 3.71875 -1.398438 L 3.71875 -13.796875 L 2 -13.796875 L 2 0 L 11.175781 0 Z M 11.175781 -1.398438 "/>
34
+ </symbol>
35
+ <symbol overflow="visible" id="glyph1-2">
36
+ <path style="stroke:none;" d="M 12.238281 -13.796875 L 10.515625 -13.796875 L 10.515625 -5.257813 C 10.515625 -4.820313 10.515625 -4.398438 10.476563 -4.039063 C 10.316406 -2.300781 9.175781 -1.078125 7.058594 -1.078125 C 4.9375 -1.078125 3.800781 -2.300781 3.640625 -4.039063 C 3.597656 -4.398438 3.597656 -4.820313 3.597656 -5.257813 L 3.597656 -13.796875 L 1.878906 -13.796875 L 1.878906 -5.097656 C 1.878906 -4.660156 1.878906 -4.257813 1.917969 -3.859375 C 2.121094 -1.558594 3.679688 0.28125 7.058594 0.28125 C 10.4375 0.28125 11.996094 -1.558594 12.195313 -3.859375 C 12.238281 -4.257813 12.238281 -4.660156 12.238281 -5.097656 Z M 12.238281 -13.796875 "/>
37
+ </symbol>
38
+ <symbol overflow="visible" id="glyph1-3">
39
+ <path style="stroke:none;" d="M 7.976563 -6.660156 L 7.976563 -5.257813 L 11.195313 -5.257813 C 11.195313 -2.800781 9.539063 -1.078125 7.296875 -1.078125 C 4.578125 -1.078125 2.859375 -3.519531 2.859375 -6.917969 C 2.859375 -10.257813 4.597656 -12.71875 7.417969 -12.71875 C 9.71875 -12.71875 10.9375 -11.378906 11.335938 -9.398438 L 11.378906 -9.199219 L 13.097656 -9.199219 L 13.078125 -9.398438 C 12.796875 -12.097656 10.957031 -14.078125 7.457031 -14.078125 C 3.539063 -14.078125 0.941406 -11.039063 0.941406 -6.839844 C 0.941406 -2.800781 3.179688 0.28125 7.199219 0.28125 C 8.777344 0.28125 9.996094 -0.238281 10.777344 -1.121094 L 11.398438 -2.398438 L 11.398438 0 L 12.917969 0 L 12.917969 -6.660156 Z M 7.976563 -6.660156 "/>
40
+ </symbol>
41
+ <symbol overflow="visible" id="glyph1-4">
42
+ <path style="stroke:none;" d="M 3.71875 0 L 3.71875 -13.796875 L 2 -13.796875 L 2 0 Z M 3.71875 0 "/>
43
+ </symbol>
44
+ <symbol overflow="visible" id="glyph1-5">
45
+ <path style="stroke:none;" d="M 12.796875 0 L 12.757813 -13.796875 L 11.078125 -13.796875 L 11.078125 -6.898438 C 11.078125 -5.277344 11.097656 -3.300781 11.136719 -1.679688 L 4.640625 -13.796875 L 2 -13.796875 L 2 0 L 3.71875 0 L 3.71875 -6.898438 C 3.71875 -8.519531 3.699219 -10.496094 3.660156 -12.117188 L 10.15625 0 Z M 12.796875 0 "/>
46
+ </symbol>
47
+ <symbol overflow="visible" id="glyph1-6">
48
+ <path style="stroke:none;" d="M 6.277344 -14.078125 C 3.738281 -14.078125 1.679688 -12.578125 1.679688 -10.199219 C 1.679688 -7.917969 3.378906 -6.9375 5.820313 -6.378906 C 8.238281 -5.820313 9.199219 -5.058594 9.199219 -3.378906 C 9.199219 -1.941406 7.917969 -1.078125 6.339844 -1.078125 C 4.539063 -1.078125 3.277344 -2.097656 2.878906 -3.917969 L 1.039063 -3.917969 C 1.339844 -1.257813 3.257813 0.28125 6.296875 0.28125 C 8.957031 0.28125 11.039063 -1.28125 11.039063 -3.699219 C 11.039063 -6.039063 9.519531 -7.277344 6.476563 -7.976563 C 4.378906 -8.457031 3.519531 -9.097656 3.519531 -10.597656 C 3.519531 -12.035156 4.679688 -12.71875 6.136719 -12.71875 C 7.878906 -12.71875 8.898438 -11.71875 9.058594 -9.976563 L 10.898438 -9.976563 C 10.636719 -12.335938 9.136719 -14.078125 6.277344 -14.078125 Z M 6.277344 -14.078125 "/>
49
+ </symbol>
50
+ </g>
51
+ <filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
52
+ <feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
53
+ </filter>
54
+ <mask id="mask0">
55
+ <g filter="url(#alpha)">
56
+ <rect x="0" y="0" width="375" height="374.999989" style="fill:rgb(0%,0%,0%);fill-opacity:0.619608;stroke:none;"/>
57
+ </g>
58
+ </mask>
59
+ <clipPath id="clip2">
60
+ <path d="M 0.535156 18 L 46.285156 18 L 46.285156 40 L 0.535156 40 Z M 0.535156 18 "/>
61
+ </clipPath>
62
+ <clipPath id="clip3">
63
+ <path d="M 0.535156 7 L 46.285156 7 L 46.285156 16 L 0.535156 16 Z M 0.535156 7 "/>
64
+ </clipPath>
65
+ <clipPath id="clip1">
66
+ <rect width="47" height="40"/>
67
+ </clipPath>
68
+ <g id="surface12" clip-path="url(#clip1)">
69
+ <g clip-path="url(#clip2)" clip-rule="nonzero">
70
+ <path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.199097%,44.299316%,100%);fill-opacity:1;" d="M 0.535156 18.351563 L 0.535156 31.695313 C 0.535156 35.898438 3.957031 39.703125 8.160156 39.703125 L 38.660156 39.703125 C 42.863281 39.703125 46.285156 35.898438 46.285156 31.695313 L 46.285156 18.351563 Z M 6.632813 24.453125 L 14.257813 24.453125 L 14.257813 25.976563 L 6.632813 25.976563 Z M 21.882813 30.550781 L 6.632813 30.550781 L 6.632813 27.503906 L 21.882813 27.503906 Z M 21.882813 30.550781 "/>
71
+ </g>
72
+ <g clip-path="url(#clip3)" clip-rule="nonzero">
73
+ <path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.199097%,44.299316%,100%);fill-opacity:1;" d="M 38.660156 7.675781 L 8.160156 7.675781 C 3.957031 7.675781 0.535156 10.726563 0.535156 15.300781 L 46.285156 15.300781 C 46.285156 10.726563 42.863281 7.675781 38.660156 7.675781 Z M 38.660156 7.675781 "/>
74
+ </g>
75
+ </g>
76
+ </defs>
77
+ <g id="surface1" style="fill: none;">
78
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
79
+ <use xlink:href="#glyph0-1" x="101.317627" y="191.696365"/>
80
+ </g>
81
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
82
+ <use xlink:href="#glyph0-2" x="123.913626" y="191.696365"/>
83
+ </g>
84
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
85
+ <use xlink:href="#glyph0-3" x="148.189629" y="191.696365"/>
86
+ </g>
87
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
88
+ <use xlink:href="#glyph0-4" x="171.751623" y="191.696365"/>
89
+ </g>
90
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
91
+ <use xlink:href="#glyph0-5" x="204.763623" y="191.696365"/>
92
+ </g>
93
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
94
+ <use xlink:href="#glyph0-6" x="228.493622" y="191.696365"/>
95
+ </g>
96
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
97
+ <use xlink:href="#glyph0-7" x="249.95562" y="191.696365"/>
98
+ </g>
99
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
100
+ <use xlink:href="#glyph1-0" x="101.317627" y="231.0585"/>
101
+ </g>
102
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
103
+ <use xlink:href="#glyph1-1" x="118.672916" y="231.0585"/>
104
+ </g>
105
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
106
+ <use xlink:href="#glyph1-2" x="135.568381" y="231.0585"/>
107
+ </g>
108
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
109
+ <use xlink:href="#glyph1-3" x="154.603002" y="231.0585"/>
110
+ </g>
111
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
112
+ <use xlink:href="#glyph1-4" x="174.197404" y="231.0585"/>
113
+ </g>
114
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
115
+ <use xlink:href="#glyph1-5" x="184.875325" y="231.0585"/>
116
+ </g>
117
+ <g style="fill:rgb(39.99939%,39.99939%,39.99939%);fill-opacity:1;">
118
+ <use xlink:href="#glyph1-6" x="204.629659" y="231.0585"/>
119
+ </g>
120
+ <use xlink:href="#surface12" transform="matrix(1,0,0,1,225,197)" mask="url(#mask0)"/>
121
+ </g>
122
+ </svg>
assets/img/sepa.svg CHANGED
@@ -1,39 +1,39 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="svg10908" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 750 205" style="enable-background:new 0 0 750 205;" xml:space="preserve">
5
- <style type="text/css">
6
- .st0{fill:#10298E;}
7
- .st1{fill:#FFBE00;}
8
- </style>
9
- <title>sepa</title>
10
- <path id="path5689" class="st0" d="M166.6,65.4h-51.3c0-8.4-1-14.1-3-17c-3-4.3-11.4-6.4-25.2-6.4c-13.4,0-22.3,1.2-26.6,3.7
11
- S54,53.6,54,61.8c0,7.5,1.9,12.4,5.7,14.7c3.4,1.8,7.1,2.8,10.9,2.9L81,80.2c22.2,1.5,36,2.5,41.6,3.1c17.5,1.8,30.3,6.4,38.1,14
12
- c6.2,5.9,9.9,13.6,11.1,23.1c0.7,6.4,1.1,12.9,1,19.3c0,16.5-1.6,28.6-4.7,36.2c-5.7,14.1-18.5,22.9-38.5,26.6
13
- c-8.3,1.6-21.1,2.4-38.3,2.4c-28.7,0-48.8-1.7-60.1-5.1c-13.9-4.2-23-12.8-27.5-25.6C1.2,167.1,0,155.2,0,138.5h51.3v4.3
14
- c0,8.9,2.6,14.6,7.7,17.2c4,1.9,8.4,2.8,12.8,2.8h18.9c9.6,0,15.8-0.5,18.4-1.5c4.7-1.9,7.8-4.9,9.3-9c0.9-3.2,1.3-6.5,1.2-9.9
15
- c0-9-3.3-14.5-9.9-16.5c-2.5-0.8-13.9-1.9-34.3-3.2c-16.4-1.2-27.8-2.3-34.2-3.4c-16.8-3.1-28-9.6-33.6-19.4
16
- C2.7,91.5,0.2,78.9,0.2,62c0-12.8,1.3-23.1,4-30.9s6.9-13.6,12.8-17.6c8.6-6.2,19.7-9.8,33.2-10.9c11.2-1,23.7-1.5,37.3-1.5
17
- c21.5,0,36.9,1.2,46,3.7c22.3,6,33.5,22.8,33.5,50.4C167.1,57.5,166.9,60.9,166.6,65.4"/>
18
- <path id="path5693" class="st0" d="M392.3,205V0h102.8c14.1,0,24.8,1.1,32.2,3.5c16.9,5.3,28.2,16.1,34,32.5
19
- c3,8.6,4.5,21.5,4.5,38.8c0,20.8-1.7,35.7-5,44.8c-6.6,18-20.1,28.3-40.6,31c-2.4,0.4-12.7,0.8-30.8,1.1l-9.2,0.3h-32.8v53H392.3z
20
- M447.5,104.5h34.4c10.9-0.4,17.5-1.2,19.9-2.5c3.2-1.8,5.5-5.4,6.5-10.8c0.8-5.3,1.2-10.6,1-16c0-8.7-0.7-15.1-2.1-19.3
21
- c-2-5.9-6.8-9.5-14.2-10.8c-1.5-0.2-5.1-0.3-10.7-0.3h-34.8V104.5z"/>
22
- <path id="path5697" class="st0" d="M683.6,169.5h-73.8l-9.9,35.5h-57.1L604.5,0h83.2L750,205h-55.9L683.6,169.5z M672.6,129.6
23
- l-25.8-88.9l-25.1,88.9H672.6z"/>
24
- <path id="path5701" class="st1" d="M316.2,28.8c21.9,0,42.6,9.9,56.4,26.9l11.9-25.5C365,11.9,339.3,1.7,312.6,1.8
25
- c-43.5,0-80.6,26.2-95.9,63.4h-23.2l-13.7,29.3h29.8c-0.2,2.7-0.4,5.4-0.4,8.2c0,3.3,0.2,6.7,0.5,10h-15l-13.7,29.4h36.3
26
- c15.7,36.2,52.4,61.7,95.2,61.7c20.7,0,40.9-6,58.1-17.5v-36c-26.4,30.2-72.2,33.2-102.4,6.8c-5-4.4-9.4-9.4-13-15h76l13.7-29.4
27
- H244.2c-0.5-3.6-0.8-7.2-0.8-10.8c0-2.5,0.1-4.9,0.4-7.4h109.8l13.7-29.3h-114C266.2,42.7,290.2,28.9,316.2,28.8"/>
28
- <path id="path5705" class="st0" d="M316.2,29.7c21.6,0,42.1,9.8,55.7,26.6l0.9,1.1l0.6-1.3l11.9-25.5l0.3-0.6l-0.5-0.4
29
- c-36-33.7-90.5-38.2-131.5-10.7c-16.8,11.3-30,27.3-37.7,46l0.8-0.6H193l-0.2,0.5l-13.7,29.4l-0.6,1.3h31.2l-0.9-1
30
- c-0.2,3-0.4,5.8-0.4,8.3c0,3.4,0.2,6.7,0.5,10.1l0.9-1h-15.5l-0.2,0.5l-13.7,29.4l-0.6,1.2h37.7l-0.8-0.5c16.4,37.8,54,62.2,96,62.2
31
- c20.9,0.1,41.3-6.1,58.6-17.6l0.4-0.3V148l-1.5,1.8c-26.1,29.8-71.4,32.8-101.2,6.7c-4.9-4.3-9.2-9.3-12.8-14.8l-0.7,1.4h76.6
32
- l0.2-0.5l13.7-29.4l0.6-1.2H244.2l0.9,0.8c-0.5-3.5-0.8-7.1-0.8-10.7c0-2.4,0.1-4.9,0.4-7.3l-0.9,0.8h110.4l0.2-0.5L368,65.6
33
- l0.6-1.3H253.2l0.8,1.3C266.8,43.5,290.5,29.8,316.2,29.7 M253.2,66.1h114l-0.8-1.2l-13.7,29.4l0.8-0.5H242.9l-0.1,0.8
34
- c-0.2,2.5-0.4,5-0.4,7.5c0,3.7,0.3,7.4,0.8,11l0.1,0.8H345l-0.8-1.3l-13.7,29.4l0.8-0.5h-77.7l0.9,1.4c22.2,34,67.7,43.6,101.7,21.4
35
- c5.6-3.7,10.7-8.1,15.2-13.2l-1.5-0.6v36l0.4-0.7C353.2,197,333.1,203,312.6,203c-41.2,0-78.3-24-94.4-61.1l-0.2-0.5h-36.9l0.8,1.3
36
- l13.7-29.4l-0.8,0.5h16l-0.1-1c-0.3-3.3-0.5-6.7-0.5-9.9c0-2.5,0.1-5.2,0.4-8.2l0.1-1h-30.8l0.8,1.2l13.7-29.3l-0.8,0.5h23.8
37
- l0.2-0.5c7.6-18.4,20.5-34.1,37.1-45.2c40.3-27,93.9-22.6,129.2,10.5l-0.2-1l-11.9,25.5l1.5-0.2c-25.6-31.5-71.8-36.4-103.4-10.8
38
- c-7,5.7-12.9,12.6-17.4,20.4l-0.8,1.3L253.2,66.1z"/>
39
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="svg10908" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 750 205" style="enable-background:new 0 0 750 205;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#10298E;}
7
+ .st1{fill:#FFBE00;}
8
+ </style>
9
+ <title>sepa</title>
10
+ <path id="path5689" class="st0" d="M166.6,65.4h-51.3c0-8.4-1-14.1-3-17c-3-4.3-11.4-6.4-25.2-6.4c-13.4,0-22.3,1.2-26.6,3.7
11
+ S54,53.6,54,61.8c0,7.5,1.9,12.4,5.7,14.7c3.4,1.8,7.1,2.8,10.9,2.9L81,80.2c22.2,1.5,36,2.5,41.6,3.1c17.5,1.8,30.3,6.4,38.1,14
12
+ c6.2,5.9,9.9,13.6,11.1,23.1c0.7,6.4,1.1,12.9,1,19.3c0,16.5-1.6,28.6-4.7,36.2c-5.7,14.1-18.5,22.9-38.5,26.6
13
+ c-8.3,1.6-21.1,2.4-38.3,2.4c-28.7,0-48.8-1.7-60.1-5.1c-13.9-4.2-23-12.8-27.5-25.6C1.2,167.1,0,155.2,0,138.5h51.3v4.3
14
+ c0,8.9,2.6,14.6,7.7,17.2c4,1.9,8.4,2.8,12.8,2.8h18.9c9.6,0,15.8-0.5,18.4-1.5c4.7-1.9,7.8-4.9,9.3-9c0.9-3.2,1.3-6.5,1.2-9.9
15
+ c0-9-3.3-14.5-9.9-16.5c-2.5-0.8-13.9-1.9-34.3-3.2c-16.4-1.2-27.8-2.3-34.2-3.4c-16.8-3.1-28-9.6-33.6-19.4
16
+ C2.7,91.5,0.2,78.9,0.2,62c0-12.8,1.3-23.1,4-30.9s6.9-13.6,12.8-17.6c8.6-6.2,19.7-9.8,33.2-10.9c11.2-1,23.7-1.5,37.3-1.5
17
+ c21.5,0,36.9,1.2,46,3.7c22.3,6,33.5,22.8,33.5,50.4C167.1,57.5,166.9,60.9,166.6,65.4"/>
18
+ <path id="path5693" class="st0" d="M392.3,205V0h102.8c14.1,0,24.8,1.1,32.2,3.5c16.9,5.3,28.2,16.1,34,32.5
19
+ c3,8.6,4.5,21.5,4.5,38.8c0,20.8-1.7,35.7-5,44.8c-6.6,18-20.1,28.3-40.6,31c-2.4,0.4-12.7,0.8-30.8,1.1l-9.2,0.3h-32.8v53H392.3z
20
+ M447.5,104.5h34.4c10.9-0.4,17.5-1.2,19.9-2.5c3.2-1.8,5.5-5.4,6.5-10.8c0.8-5.3,1.2-10.6,1-16c0-8.7-0.7-15.1-2.1-19.3
21
+ c-2-5.9-6.8-9.5-14.2-10.8c-1.5-0.2-5.1-0.3-10.7-0.3h-34.8V104.5z"/>
22
+ <path id="path5697" class="st0" d="M683.6,169.5h-73.8l-9.9,35.5h-57.1L604.5,0h83.2L750,205h-55.9L683.6,169.5z M672.6,129.6
23
+ l-25.8-88.9l-25.1,88.9H672.6z"/>
24
+ <path id="path5701" class="st1" d="M316.2,28.8c21.9,0,42.6,9.9,56.4,26.9l11.9-25.5C365,11.9,339.3,1.7,312.6,1.8
25
+ c-43.5,0-80.6,26.2-95.9,63.4h-23.2l-13.7,29.3h29.8c-0.2,2.7-0.4,5.4-0.4,8.2c0,3.3,0.2,6.7,0.5,10h-15l-13.7,29.4h36.3
26
+ c15.7,36.2,52.4,61.7,95.2,61.7c20.7,0,40.9-6,58.1-17.5v-36c-26.4,30.2-72.2,33.2-102.4,6.8c-5-4.4-9.4-9.4-13-15h76l13.7-29.4
27
+ H244.2c-0.5-3.6-0.8-7.2-0.8-10.8c0-2.5,0.1-4.9,0.4-7.4h109.8l13.7-29.3h-114C266.2,42.7,290.2,28.9,316.2,28.8"/>
28
+ <path id="path5705" class="st0" d="M316.2,29.7c21.6,0,42.1,9.8,55.7,26.6l0.9,1.1l0.6-1.3l11.9-25.5l0.3-0.6l-0.5-0.4
29
+ c-36-33.7-90.5-38.2-131.5-10.7c-16.8,11.3-30,27.3-37.7,46l0.8-0.6H193l-0.2,0.5l-13.7,29.4l-0.6,1.3h31.2l-0.9-1
30
+ c-0.2,3-0.4,5.8-0.4,8.3c0,3.4,0.2,6.7,0.5,10.1l0.9-1h-15.5l-0.2,0.5l-13.7,29.4l-0.6,1.2h37.7l-0.8-0.5c16.4,37.8,54,62.2,96,62.2
31
+ c20.9,0.1,41.3-6.1,58.6-17.6l0.4-0.3V148l-1.5,1.8c-26.1,29.8-71.4,32.8-101.2,6.7c-4.9-4.3-9.2-9.3-12.8-14.8l-0.7,1.4h76.6
32
+ l0.2-0.5l13.7-29.4l0.6-1.2H244.2l0.9,0.8c-0.5-3.5-0.8-7.1-0.8-10.7c0-2.4,0.1-4.9,0.4-7.3l-0.9,0.8h110.4l0.2-0.5L368,65.6
33
+ l0.6-1.3H253.2l0.8,1.3C266.8,43.5,290.5,29.8,316.2,29.7 M253.2,66.1h114l-0.8-1.2l-13.7,29.4l0.8-0.5H242.9l-0.1,0.8
34
+ c-0.2,2.5-0.4,5-0.4,7.5c0,3.7,0.3,7.4,0.8,11l0.1,0.8H345l-0.8-1.3l-13.7,29.4l0.8-0.5h-77.7l0.9,1.4c22.2,34,67.7,43.6,101.7,21.4
35
+ c5.6-3.7,10.7-8.1,15.2-13.2l-1.5-0.6v36l0.4-0.7C353.2,197,333.1,203,312.6,203c-41.2,0-78.3-24-94.4-61.1l-0.2-0.5h-36.9l0.8,1.3
36
+ l13.7-29.4l-0.8,0.5h16l-0.1-1c-0.3-3.3-0.5-6.7-0.5-9.9c0-2.5,0.1-5.2,0.4-8.2l0.1-1h-30.8l0.8,1.2l13.7-29.3l-0.8,0.5h23.8
37
+ l0.2-0.5c7.6-18.4,20.5-34.1,37.1-45.2c40.3-27,93.9-22.6,129.2,10.5l-0.2-1l-11.9,25.5l1.5-0.2c-25.6-31.5-71.8-36.4-103.4-10.8
38
+ c-7,5.7-12.9,12.6-17.4,20.4l-0.8,1.3L253.2,66.1z"/>
39
+ </svg>
assets/img/stripe_logo.svg CHANGED
@@ -1,121 +1,121 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- xmlns:dc="http://purl.org/dc/elements/1.1/"
6
- xmlns:cc="http://creativecommons.org/ns#"
7
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
- xmlns:svg="http://www.w3.org/2000/svg"
9
- xmlns="http://www.w3.org/2000/svg"
10
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
- width="362"
13
- height="151.8"
14
- viewBox="0 0 95.779166 40.163749"
15
- version="1.1"
16
- id="svg5512"
17
- inkscape:version="0.92.0 r15299"
18
- sodipodi:docname="stripe.svg">
19
- <defs
20
- id="defs5506" />
21
- <sodipodi:namedview
22
- id="base"
23
- pagecolor="#ffffff"
24
- bordercolor="#666666"
25
- borderopacity="1.0"
26
- inkscape:pageopacity="0.0"
27
- inkscape:pageshadow="2"
28
- inkscape:zoom="2.2277778"
29
- inkscape:cx="180"
30
- inkscape:cy="74.899999"
31
- inkscape:document-units="mm"
32
- inkscape:current-layer="layer1"
33
- showgrid="false"
34
- fit-margin-top="0"
35
- fit-margin-left="0"
36
- fit-margin-right="0"
37
- fit-margin-bottom="0"
38
- units="px"
39
- inkscape:window-width="1280"
40
- inkscape:window-height="744"
41
- inkscape:window-x="-4"
42
- inkscape:window-y="-4"
43
- inkscape:window-maximized="1" />
44
- <metadata
45
- id="metadata5509">
46
- <rdf:RDF>
47
- <cc:Work
48
- rdf:about="">
49
- <dc:format>image/svg+xml</dc:format>
50
- <dc:type
51
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
52
- <dc:title></dc:title>
53
- </cc:Work>
54
- </rdf:RDF>
55
- </metadata>
56
- <g
57
- inkscape:label="Layer 1"
58
- inkscape:groupmode="layer"
59
- id="layer1"
60
- transform="translate(24.946428,-325.0345)">
61
- <g
62
- id="Stripe"
63
- transform="matrix(0.26458333,0,0,0.26458333,-38.969344,315.77409)">
64
- <path
65
- id="path5516"
66
- d="m 414,113.4 c 0,-25.6 -12.4,-45.8 -36.1,-45.8 -23.8,0 -38.2,20.2 -38.2,45.6 0,30.1 17,45.3 41.4,45.3 11.9,0 20.9,-2.7 27.7,-6.5 v -20 c -6.8,3.4 -14.6,5.5 -24.5,5.5 -9.7,0 -18.3,-3.4 -19.4,-15.2 h 48.9 c 0,-1.3 0.2,-6.5 0.2,-8.9 z m -49.4,-9.5 c 0,-11.3 6.9,-16 13.2,-16 6.1,0 12.6,4.7 12.6,16 z"
67
- class="st0"
68
- inkscape:connector-curvature="0"
69
- style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
70
-
71
- <path
72
- id="path5518"
73
- d="m 301.1,67.6 c -9.8,0 -16.1,4.6 -19.6,7.8 l -1.3,-6.2 h -22 v 116.6 l 25,-5.3 0.1,-28.3 c 3.6,2.6 8.9,6.3 17.7,6.3 17.9,0 34.2,-14.4 34.2,-46.1 -0.1,-29 -16.6,-44.8 -34.1,-44.8 z m -6,68.9 c -5.9,0 -9.4,-2.1 -11.8,-4.7 l -0.1,-37.1 c 2.6,-2.9 6.2,-4.9 11.9,-4.9 9.1,0 15.4,10.2 15.4,23.3 0,13.4 -6.2,23.4 -15.4,23.4 z"
74
- class="st0"
75
- inkscape:connector-curvature="0"
76
- style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
77
-
78
- <polygon
79
- id="polygon5520"
80
- points="248.9,56.3 248.9,36 223.8,41.3 223.8,61.7 "
81
- class="st0"
82
- style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
83
-
84
- <rect
85
- id="rect5522"
86
- height="87.5"
87
- width="25.1"
88
- class="st0"
89
- y="69.300003"
90
- x="223.8"
91
- style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
92
-
93
- <path
94
- id="path5524"
95
- d="m 196.9,76.7 -1.6,-7.4 h -21.6 v 87.5 h 25 V 97.5 c 5.9,-7.7 15.9,-6.3 19,-5.2 v -23 c -3.2,-1.2 -14.9,-3.4 -20.8,7.4 z"
96
- class="st0"
97
- inkscape:connector-curvature="0"
98
- style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
99
-
100
- <path
101
- id="path5526"
102
- d="m 146.9,47.6 -24.4,5.2 -0.1,80.1 c 0,14.8 11.1,25.7 25.9,25.7 8.2,0 14.2,-1.5 17.5,-3.3 V 135 c -3.2,1.3 -19,5.9 -19,-8.9 V 90.6 h 19 V 69.3 h -19 z"
103
- class="st0"
104
- inkscape:connector-curvature="0"
105
- style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
106
-
107
- <path
108
- id="path5528"
109
- d="m 79.3,94.7 c 0,-3.9 3.2,-5.4 8.5,-5.4 7.6,0 17.2,2.3 24.8,6.4 V 72.2 C 104.3,68.9 96.1,67.6 87.8,67.6 67.5,67.6 54,78.2 54,95.9 c 0,27.6 38,23.2 38,35.1 0,4.6 -4,6.1 -9.6,6.1 -8.3,0 -18.9,-3.4 -27.3,-8 v 23.8 c 9.3,4 18.7,5.7 27.3,5.7 20.8,0 35.1,-10.3 35.1,-28.2 -0.1,-29.8 -38.2,-24.5 -38.2,-35.7 z"
110
- class="st0"
111
- inkscape:connector-curvature="0"
112
- style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
113
-
114
- </g>
115
- </g>
116
- <style
117
- id="style5514"
118
- type="text/css">
119
- .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#6772E5;}
120
- </style>
121
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="362"
13
+ height="151.8"
14
+ viewBox="0 0 95.779166 40.163749"
15
+ version="1.1"
16
+ id="svg5512"
17
+ inkscape:version="0.92.0 r15299"
18
+ sodipodi:docname="stripe.svg">
19
+ <defs
20
+ id="defs5506" />
21
+ <sodipodi:namedview
22
+ id="base"
23
+ pagecolor="#ffffff"
24
+ bordercolor="#666666"
25
+ borderopacity="1.0"
26
+ inkscape:pageopacity="0.0"
27
+ inkscape:pageshadow="2"
28
+ inkscape:zoom="2.2277778"
29
+ inkscape:cx="180"
30
+ inkscape:cy="74.899999"
31
+ inkscape:document-units="mm"
32
+ inkscape:current-layer="layer1"
33
+ showgrid="false"
34
+ fit-margin-top="0"
35
+ fit-margin-left="0"
36
+ fit-margin-right="0"
37
+ fit-margin-bottom="0"
38
+ units="px"
39
+ inkscape:window-width="1280"
40
+ inkscape:window-height="744"
41
+ inkscape:window-x="-4"
42
+ inkscape:window-y="-4"
43
+ inkscape:window-maximized="1" />
44
+ <metadata
45
+ id="metadata5509">
46
+ <rdf:RDF>
47
+ <cc:Work
48
+ rdf:about="">
49
+ <dc:format>image/svg+xml</dc:format>
50
+ <dc:type
51
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
52
+ <dc:title></dc:title>
53
+ </cc:Work>
54
+ </rdf:RDF>
55
+ </metadata>
56
+ <g
57
+ inkscape:label="Layer 1"
58
+ inkscape:groupmode="layer"
59
+ id="layer1"
60
+ transform="translate(24.946428,-325.0345)">
61
+ <g
62
+ id="Stripe"
63
+ transform="matrix(0.26458333,0,0,0.26458333,-38.969344,315.77409)">
64
+ <path
65
+ id="path5516"
66
+ d="m 414,113.4 c 0,-25.6 -12.4,-45.8 -36.1,-45.8 -23.8,0 -38.2,20.2 -38.2,45.6 0,30.1 17,45.3 41.4,45.3 11.9,0 20.9,-2.7 27.7,-6.5 v -20 c -6.8,3.4 -14.6,5.5 -24.5,5.5 -9.7,0 -18.3,-3.4 -19.4,-15.2 h 48.9 c 0,-1.3 0.2,-6.5 0.2,-8.9 z m -49.4,-9.5 c 0,-11.3 6.9,-16 13.2,-16 6.1,0 12.6,4.7 12.6,16 z"
67
+ class="st0"
68
+ inkscape:connector-curvature="0"
69
+ style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
70
+
71
+ <path
72
+ id="path5518"
73
+ d="m 301.1,67.6 c -9.8,0 -16.1,4.6 -19.6,7.8 l -1.3,-6.2 h -22 v 116.6 l 25,-5.3 0.1,-28.3 c 3.6,2.6 8.9,6.3 17.7,6.3 17.9,0 34.2,-14.4 34.2,-46.1 -0.1,-29 -16.6,-44.8 -34.1,-44.8 z m -6,68.9 c -5.9,0 -9.4,-2.1 -11.8,-4.7 l -0.1,-37.1 c 2.6,-2.9 6.2,-4.9 11.9,-4.9 9.1,0 15.4,10.2 15.4,23.3 0,13.4 -6.2,23.4 -15.4,23.4 z"
74
+ class="st0"
75
+ inkscape:connector-curvature="0"
76
+ style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
77
+
78
+ <polygon
79
+ id="polygon5520"
80
+ points="248.9,56.3 248.9,36 223.8,41.3 223.8,61.7 "
81
+ class="st0"
82
+ style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
83
+
84
+ <rect
85
+ id="rect5522"
86
+ height="87.5"
87
+ width="25.1"
88
+ class="st0"
89
+ y="69.300003"
90
+ x="223.8"
91
+ style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
92
+
93
+ <path
94
+ id="path5524"
95
+ d="m 196.9,76.7 -1.6,-7.4 h -21.6 v 87.5 h 25 V 97.5 c 5.9,-7.7 15.9,-6.3 19,-5.2 v -23 c -3.2,-1.2 -14.9,-3.4 -20.8,7.4 z"
96
+ class="st0"
97
+ inkscape:connector-curvature="0"
98
+ style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
99
+
100
+ <path
101
+ id="path5526"
102
+ d="m 146.9,47.6 -24.4,5.2 -0.1,80.1 c 0,14.8 11.1,25.7 25.9,25.7 8.2,0 14.2,-1.5 17.5,-3.3 V 135 c -3.2,1.3 -19,5.9 -19,-8.9 V 90.6 h 19 V 69.3 h -19 z"
103
+ class="st0"
104
+ inkscape:connector-curvature="0"
105
+ style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
106
+
107
+ <path
108
+ id="path5528"
109
+ d="m 79.3,94.7 c 0,-3.9 3.2,-5.4 8.5,-5.4 7.6,0 17.2,2.3 24.8,6.4 V 72.2 C 104.3,68.9 96.1,67.6 87.8,67.6 67.5,67.6 54,78.2 54,95.9 c 0,27.6 38,23.2 38,35.1 0,4.6 -4,6.1 -9.6,6.1 -8.3,0 -18.9,-3.4 -27.3,-8 v 23.8 c 9.3,4 18.7,5.7 27.3,5.7 20.8,0 35.1,-10.3 35.1,-28.2 -0.1,-29.8 -38.2,-24.5 -38.2,-35.7 z"
110
+ class="st0"
111
+ inkscape:connector-curvature="0"
112
+ style="clip-rule:evenodd;fill:#6772e5;fill-rule:evenodd" />
113
+
114
+ </g>
115
+ </g>
116
+ <style
117
+ id="style5514"
118
+ type="text/css">
119
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#6772E5;}
120
+ </style>
121
+ </svg>
assets/img/wechat.svg CHANGED
@@ -1 +1,12 @@
1
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 212.01" preserveAspectRatio="xMidYMid meet"><defs><style>.cls-1{fill:#2e3233;}.cls-2{fill:#9de60b;}</style></defs><title>wechat</title><path class="cls-1" d="M492.35,67.19c16.29-3.93,36.11-.27,46.75,13.64,4.53,5.45,6.45,12.4,8.14,19.16-7.16.11-14.35.11-21.5.11-3.12-15.41-24.28-21.57-35.51-11-7.91,8.61-9.34,21.4-7.7,32.57,1.75,8.56,5.2,18.52,14,22.07,12.6,4.7,27.48-3.69,29.17-17.26,7.29,0,14.61,0,21.93.14-1.52,13.05-7.82,26.64-20.59,32-19.83,8.61-48.21,6-59.69-14.48,1.82-8.36,3.86-17.07,2-25.62C468.3,112.17,465,106.6,463,100.6c0-16.32,14-30.19,29.39-33.41Z"/><path class="cls-2" d="M274.09,69.57c7.84-.06,15.68-.06,23.52-.09,4.66,20.57,7.25,41.62,12.93,62,5.7-16.87,8.34-34.57,13.19-51.68,1.43-5.19,5.5-10.66,11.45-10.28,6.46-.77,10.84,5.21,12.16,10.84C352,97.15,355,114.39,360.18,131.1c5.94-20.16,9.19-40.95,13.53-61.5,7.66-.09,15.3-.09,23,0-6.41,25.79-13.66,51.36-20.23,77.11-1.62,6.41-4.43,13.73-11.3,16.1-7.77,1.77-14.82-4.41-16.7-11.62-4.84-15.45-8.35-31.32-13.12-46.82-3.84,15.41-7.77,30.78-12,46.07-1.59,6.84-7.59,13.87-15.3,12.51-7.43-.85-11.09-8.23-12.72-14.69-7-26.23-14.19-52.44-21.21-78.67Z"/><path class="cls-1" d="M552.42,69.55l21.09,0c0,7.72-.11,15.45.5,23.13,11.3.8,23.69-2.41,34.1,3.32,9,4.82,14.16,15,14.09,25.05.14,14-.05,28,0,42q-10.26.06-20.48.08c-.14-13.43.16-26.86-.06-40.29.27-4.55-3-9.3-7.64-9.82-6.82-.87-13.71-.41-20.55-.28,0,16.78,0,33.57,0,50.37q-10.54,0-21.07,0c0-31.16,0-62.3,0-93.46Zm161.6,0h20c0,7,0,14,0,21,5.34,0,10.68,0,16,0,0,5.18,0,10.39,0,15.57H733.77c.41,11.86-.89,23.86.68,35.68,3.59,4.43,9.93,3.8,15,5.23-.06,5.3-.09,10.59-.09,15.91-11.47.25-27.16,1.75-33-10.73-5.08-14.7-1.28-30.79-2.41-46-5.14,0-10.28-.07-15.41-.14,0-5.14,0-10.28,0-15.39,5.19-.06,10.37-.11,15.57-.13Q714,80,714,69.53Z"/><path class="cls-2" d="M462.37,131.69c.37-13.43-2.62-28.59-14.5-36.64-15.55-9.88-40.43-8.54-50.91,8.16-8.76,14.73-9.23,35.59,2.63,48.85C411,164.9,431.1,165.58,446,159.15c8.21-3.34,12.73-11.32,15.82-19.14q-9.81-.31-19.64-.09c-5.79,6.88-16,9.66-24.13,5.34-5.16-2.5-6.21-8.54-7.82-13.41,17.38-.27,34.77,0,52.16-.16Zm-52.69-14c2.34-7.16,8.25-13.41,16.46-12.12,8.09-1.31,13.59,5.21,15.86,12.14q-16.15.48-32.32,0Z"/><path class="cls-1" d="M695,114c-.4-12.44-11.38-22.25-23.36-23.53s-25.3-1.22-35.1,6.64c-5.2,3.77-6.86,10.25-8.2,16.18,6.11.17,12.23.19,18.36.14,3.48-10.41,17.1-11.73,25.28-6.36,3.09,2.59,2.82,7,3.7,10.56-12.81.51-26.91-2-38.29,5.41-10.84,6.37-12.82,22-6.53,32.17,4.41,6.61,13,7.84,20.37,7.82,14.64.06,29.27,0,43.91,0C695,146.65,695.45,130.3,695,114Zm-47,29.93c-1-3.59,1.08-6.87,2.27-10.07,8.13-1.84,16.5-2.09,24.84-1.91,0,5.71,0,11.39,0,17.1-9-.58-20.15,2.29-27.14-5.12Z"/><path class="cls-2" d="M145,13.23C118.42-1.72,85.33-4,56.75,6.35,38,13.11,21,25.67,10.48,42.78,1,58.21-2.61,77.45,2,95.1c4.6,19.6,18.18,36,34.72,47-3.11,9-6.18,18.09-9.07,27.2,10.46-5.43,20.79-11.09,31.21-16.62a115.88,115.88,0,0,0,39,5.53,67,67,0,0,1-2.69-31.44c2.5-14.59,10.39-27.94,21.29-37.83,18.36-17.2,44.39-24.46,69.16-22.71C181,43.51,165,24.31,145,13.23ZM73.8,54.42C72,63.31,60,67.6,53.06,61.64,45,56,47.25,41.82,56.74,39,66,35.39,76.59,44.83,73.8,54.42Zm64.49-2.58c.08,10.24-13.56,16.62-21.23,9.67-8-5.7-5.7-19.56,3.64-22.44,8.35-3.28,18.24,3.76,17.59,12.77Z"/><path class="cls-1" d="M250.61,114c-6.48-14.68-18.71-26.31-32.91-33.5a90.58,90.58,0,0,0-81.21.29c-17.37,8.93-31.86,24.9-36,44.33-3.4,14.3-.34,29.7,7.23,42.18C119,186,139.44,198,160.67,201.79c15.37,3.13,31.26,1.29,46.18-3,8.94,3.49,17,9.11,25.63,13.27q-3.33-11.26-7.17-22.36c9.71-6.94,18.56-15.55,23.89-26.38a57.19,57.19,0,0,0,1.41-49.3Zm-87.21,5.61c-2.2,6.93-12.32,9-17.18,3.73-5.38-4.88-3.29-15.1,3.76-17.27,7.84-3.3,16.85,5.71,13.42,13.54Zm51,1c-2.68,6.25-12,7.69-16.65,2.85-2.24-2-2.79-5.06-3.68-7.76,1.19-4.87,4.44-9.93,10-10.15C211.73,104.43,218.44,113.71,214.45,120.54Z"/></svg>
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="1122px" height="331px" viewBox="0 0 1122 331" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>编组</title>
4
+ <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="画板" transform="translate(-183.000000, -354.000000)">
6
+ <g id="编组" transform="translate(183.000000, 354.000000)">
7
+ <path d="M1072.1533,237.2128 L1086.1533,274.9858 C1087.6063,279.2128 1089.1913,284.2308 1090.2483,288.0618 L1090.5123,288.0618 C1091.7013,284.2308 1093.0213,279.3448 1094.6063,274.7198 L1107.2853,237.2128 L1119.5683,237.2128 L1102.1333,282.7768 C1093.8143,304.7028 1088.1343,315.9288 1080.2113,322.7958 C1075.8343,326.6638 1071.4583,328.7288 1068.3513,329.7138 C1067.3993,328.0048 1063.0413,320.5508 1063.0413,320.5508 C1065.9463,319.6278 1069.7763,317.7778 1073.2103,314.8738 C1076.3803,312.3618 1080.3423,307.8718 1082.9833,301.9278 C1083.5123,300.7408 1083.9083,299.8148 1083.9083,299.1548 C1083.9083,298.4958 1083.6443,297.5688 1083.1153,296.1188 L1059.4743,237.2128 L1072.1533,237.2128 Z M804.4798,235.7585 C824.0258,235.7585 828.7818,249.0975 828.7818,261.9095 L828.7818,285.8165 C828.7818,291.3615 829.0448,296.7785 829.8378,301.1365 L819.2718,301.1365 L818.3468,293.0785 L817.9498,293.0785 C814.3838,298.0995 807.5168,302.5895 798.4038,302.5895 C785.4598,302.5895 778.8558,293.4745 778.8558,284.2305 C778.8558,268.7795 792.5908,260.3265 817.2898,260.4575 L817.2898,259.1355 C817.2898,253.8545 815.8368,244.3435 802.7618,244.3435 C797.3838,244.3435 791.7908,245.8575 787.4478,248.2975 C786.3638,246.4355 783.4788,241.4395 783.4788,241.4395 C788.7618,238.0035 796.4218,235.7585 804.4798,235.7585 Z M1021.9748,235.7585 C1041.5208,235.7585 1046.2768,249.0975 1046.2768,261.9095 L1046.2768,285.8165 C1046.2768,291.3615 1046.5398,296.7785 1047.3328,301.1365 L1036.7668,301.1365 L1035.8428,293.0785 L1035.4458,293.0785 C1031.8798,298.0995 1025.0128,302.5895 1015.8988,302.5895 C1002.9558,302.5895 996.3508,293.4745 996.3508,284.2305 C996.3508,268.7795 1010.0868,260.3265 1034.7858,260.4575 L1034.7858,259.1355 C1034.7858,253.8545 1033.3318,244.3435 1020.2568,244.3435 C1014.8788,244.3435 1009.2858,245.8575 1004.9438,248.2975 C1003.8588,246.4355 1000.9748,241.4395 1000.9748,241.4395 C1006.2578,238.0035 1013.9168,235.7585 1021.9748,235.7585 Z M667.6739,210.6643 C678.7689,210.6643 685.7699,213.0413 688.8059,214.6273 C688.8059,214.6273 685.2959,220.7313 683.8579,223.0563 C679.7059,221.4363 674.3119,220.3073 668.0699,220.3073 C647.2019,220.3073 633.3349,233.6453 633.3349,257.0233 C633.3349,278.8143 645.8819,292.8153 667.5419,292.8153 C673.4529,292.8153 679.4589,291.7783 683.9679,290.1043 C685.0149,291.9303 688.6739,298.2313 688.6739,298.2313 C684.4469,300.3443 675.9939,302.4583 665.1649,302.4583 C640.0699,302.4583 621.1839,286.6073 621.1839,257.4183 C621.1839,229.5513 640.0699,210.6643 667.6739,210.6643 Z M581.3101,235.7587 C602.1781,235.7587 607.7251,254.1177 607.7251,265.8707 C607.7251,268.2477 607.4611,270.0977 607.3291,271.2877 L562.4221,271.2877 C562.6871,287.0037 572.7251,293.4747 584.3481,293.4747 C591.2021,293.4747 595.8161,292.4897 599.6671,291.1097 C600.7341,292.8687 604.0271,298.4957 604.0271,298.4957 C599.9331,300.3447 592.9321,302.4577 582.7621,302.4577 C563.0831,302.4577 551.3291,289.5157 551.3291,270.2297 C551.3291,250.9467 562.6871,235.7587 581.3101,235.7587 Z M864.959,218.8534 L864.959,237.2124 L881.601,237.2124 L881.601,246.0614 L864.959,246.0614 L864.959,280.5324 C864.959,288.4574 867.205,292.9474 873.677,292.9474 C874.627,292.9474 875.5,292.9084 876.296,292.8424 C877.66,295.1384 880.939,300.8734 880.939,300.8734 C878.694,301.7954 875.129,302.4574 870.639,302.4574 C865.224,302.4574 860.866,300.7414 858.092,297.5694 C854.79,294.1374 853.602,288.4574 853.602,280.9274 L853.602,246.0614 L843.695,246.0614 L843.695,237.2124 L853.602,237.2124 L853.602,218.8534 L864.959,218.8534 Z M953.0387,211.4585 C964.3977,211.4585 972.7187,214.0995 978.0017,218.8535 C982.8897,223.0795 985.7937,229.5515 985.7937,237.4765 C985.7937,245.5345 983.4167,251.8725 978.9267,256.4955 C972.8507,262.9665 962.9457,266.2675 951.7187,266.2675 C948.2847,266.2675 945.1157,266.1345 942.4727,265.4755 L942.4727,301.1365 L930.9827,301.1365 L930.9827,213.1735 C936.5307,212.2495 943.7947,211.4585 953.0387,211.4585 Z M449.1173,212.1176 L459.6833,257.1556 C462.3253,268.2476 464.7023,279.3446 466.2883,287.9296 L466.5513,287.9296 C468.0043,279.0806 470.7783,268.5156 473.8163,257.0236 L485.7023,212.1176 L497.7203,212.1176 L508.5513,257.2866 C511.0603,267.8526 513.4383,278.4186 514.7583,287.7976 L515.0233,287.7976 C516.8713,278.0236 519.3823,268.1156 522.1563,257.0236 L533.9103,212.1176 L545.6643,212.1176 L520.4383,301.1366 L508.4183,301.1366 L497.1933,254.7786 C494.4193,243.4206 492.5713,234.7036 491.3813,225.7206 L491.1173,225.7206 C489.5333,234.5726 487.5513,243.2886 484.2503,254.7786 L471.5713,301.1366 L459.5513,301.1366 L436.9673,212.1176 L449.1173,212.1176 Z M718.2471,207.3641 L718.2471,247.2511 L718.5111,247.2511 C720.3601,243.9481 723.2661,241.0441 726.8311,239.0621 C730.2671,237.0811 734.3591,235.7591 738.7201,235.7591 C747.3041,235.7591 761.0401,241.0441 761.0401,263.0981 L761.0401,301.1361 L749.4171,301.1361 L749.4171,264.4211 C749.4171,254.1181 745.5871,245.4011 734.6251,245.4011 C727.0951,245.4011 721.1521,250.6831 719.0391,257.0231 C718.3791,258.6081 718.2471,260.3261 718.2471,262.5711 L718.2471,301.1361 L706.6241,301.1361 L706.6241,207.3641 L718.2471,207.3641 Z M790.4788,282.9095 C790.4788,290.4385 795.4968,294.0055 801.4418,294.0055 C809.7618,294.0055 815.0448,288.7205 816.8928,283.3075 C817.2898,282.1175 817.5538,280.7955 817.5538,279.6085 L817.5538,268.5155 C804.8748,268.2475 790.4788,270.4935 790.4788,282.9095 Z M1007.9738,282.9095 C1007.9738,290.4385 1012.9928,294.0055 1018.9368,294.0055 C1027.2578,294.0055 1032.5408,288.7205 1034.3888,283.3075 C1034.7858,282.1175 1035.0498,280.7955 1035.0498,279.6085 L1035.0498,268.5155 C1022.3698,268.2475 1007.9738,270.4935 1007.9738,282.9095 Z M580.3851,244.0797 C568.6301,244.0797 563.4791,254.9097 562.5541,262.9667 L596.4991,262.9667 C596.6311,255.5697 593.4611,244.0797 580.3851,244.0797 Z M953.3047,220.5715 C948.2847,220.5715 944.4537,220.9665 942.4727,221.4945 L942.4727,256.0995 C944.9837,256.7585 948.1537,257.0235 951.9827,257.0235 C965.8517,257.0235 974.3047,250.2875 974.3047,238.0035 C974.3047,226.2505 965.9837,220.5715 953.3047,220.5715 Z M875.0926,19.8839 L875.0926,43.2729 L944.2626,43.2729 L944.2626,55.4239 L875.0926,55.4239 L875.0926,80.8179 L930.9236,80.8179 C930.9236,80.8179 923.7576,117.3029 881.9136,148.0219 C898.8406,156.9379 921.1416,163.2529 948.3316,167.5089 C948.3316,167.5089 943.9226,175.3289 940.1656,181.3769 C910.4276,176.2079 887.1836,167.1439 868.9766,156.5249 C850.6336,167.4119 826.8986,176.8929 796.2176,182.2329 C794.0786,179.0809 788.2626,168.7589 788.2626,168.7589 C816.0716,164.4079 838.9776,157.3689 856.0806,148.1869 C814.0266,118.0269 805.9336,80.8179 805.9336,80.8179 L805.9336,80.8179 L861.6046,80.8179 L861.6046,55.4239 L789.7616,55.4239 L789.7616,43.2729 L861.6046,43.2729 L861.6046,19.8839 L875.0926,19.8839 Z M465.336,64.5745 L476.12,70.3015 C471.003,82.4815 466.225,90.7685 464.919,93.3705 L464.919,181.7245 L452.768,181.7245 L452.768,112.4515 C445.816,121.7825 441.734,126.6675 439.7,128.9715 C438.27,126.4925 432.855,117.1135 432.855,117.1135 C445.902,103.3355 457.402,84.4115 465.336,64.5745 Z M999.8895,20.3705 L1014.0565,23.5185 L1013.6175,24.6705 C1007.8795,39.6675 1002.5085,52.4345 997.6495,62.6195 L997.6495,181.7245 L984.1615,181.7245 L984.1615,88.2655 C979.5235,95.8465 974.1285,103.5955 968.0705,111.3835 L960.5975,98.3535 C976.4865,76.7355 989.8575,50.4595 999.5865,21.2795 L999.8895,20.3705 Z M645.1584,20.3385 L657.9304,23.5305 C657.9304,23.5305 649.7974,49.1555 643.5784,62.6345 L643.6094,181.7245 L630.1214,181.7245 L630.1214,88.7455 C624.7174,98.9285 621.0974,105.6175 616.5124,111.6085 L609.2124,98.9635 C628.1324,75.0765 645.1584,20.3385 645.1584,20.3385 Z M559.2697,19.6995 L571.4207,22.1325 L571.1367,23.2225 C568.6327,32.8245 565.8617,42.2585 562.8907,51.2915 L562.8907,51.2915 L599.2377,51.2915 L599.2377,62.7755 L590.4807,62.7755 C588.2177,95.3905 582.4467,120.6525 573.3227,137.8835 C580.5587,151.9695 594.5167,165.1805 598.4517,168.7485 C597.5697,170.4225 591.4957,180.8305 591.4957,180.8305 C591.4957,180.8305 571.2957,160.1395 566.7207,150.1315 C561.5837,158.7635 552.0997,169.9555 539.2437,181.4295 L539.2437,181.4295 L532.7017,170.0115 C532.7017,170.0115 550.2867,155.4185 560.2457,137.8125 C554.0477,121.9825 549.9347,104.9925 548.0057,87.2455 C545.8787,90.9975 544.7137,93.0115 542.5747,96.2205 C542.5747,96.2205 536.9007,86.3595 535.7487,84.5155 C545.9467,66.5735 553.5987,45.4345 559.0447,20.7195 L559.0447,20.7195 L559.2697,19.6995 Z M1098.535,21.0769 L1098.535,59.3105 L1121.945,59.311 L1121.945,72.131 L1098.535,72.1305 L1098.535,155.3809 C1098.535,168.6319 1087.754,179.4149 1074.501,179.4149 L1058.785,179.4149 L1058.785,165.3749 L1074.501,165.3749 C1080.013,165.3749 1084.499,160.8909 1084.499,155.3809 L1084.499,72.1305 L1009.555,72.131 L1009.555,59.311 L1084.499,59.3105 L1084.499,21.0769 L1098.535,21.0769 Z M762.558,122.795 L762.558,178.723 L667.543,178.723 L667.543,122.795 L762.558,122.795 Z M529.0715,116.1126 L529.0715,146.9956 C531.3385,145.0726 538.3005,138.9516 540.6385,136.8706 L546.2325,146.5606 L520.5895,168.2066 C520.5895,168.2066 515.1655,158.8406 514.0705,157.0676 C515.5795,155.3936 517.5905,151.9236 517.5905,145.3156 L517.5875,127.5956 L494.3225,127.5956 C494.3225,154.0126 493.2625,163.5786 475.6405,177.3526 C475.6405,177.3526 471.3885,169.8556 469.5025,166.7206 C484.6345,154.7626 482.8385,138.4256 482.8385,116.1126 L529.0715,116.1126 Z M749.738,134.946 L681.031,134.946 L681.031,167.239 L749.738,167.239 L749.738,134.946 Z M912.0406,92.7919 L825.1866,92.7919 C830.1576,103.1339 842.4786,123.1049 869.0266,140.4639 C895.4516,122.8259 907.3976,102.7299 912.0406,92.7919 L912.0406,92.7919 Z M1036.893,91.9621 L1061.359,130.8501 L1048.582,137.8231 L1025.633,98.6251 L1036.893,91.9621 Z M578.9967,62.7755 L559.0037,62.7755 C558.8027,63.5835 556.9117,68.3265 556.4947,69.2465 C558.9827,93.1655 562.6697,111.4965 567.4647,123.7975 C573.4047,109.5405 577.2827,89.0365 578.9967,62.7755 L578.9967,62.7755 Z M763.895,96.065 L763.895,107.548 L666.207,107.548 L666.207,96.065 L763.895,96.065 Z M535.086,90.05 L535.086,101.533 L480.167,101.533 L480.167,90.05 L535.086,90.05 Z M763.895,69.335 L763.895,80.818 L666.207,80.818 L666.207,69.335 L763.895,69.335 Z M514.3698,22.5571 L514.3698,64.6571 L526.7788,64.6571 L526.7788,34.5851 L537.5938,34.5851 L537.5938,75.4721 L479.0068,75.4721 L479.0068,35.2541 L490.4898,35.2541 L490.4898,64.6571 L502.8858,64.6571 L502.8858,22.5571 L514.3698,22.5571 Z M465.9679,19.7648 L476.5679,26.7078 C468.5349,43.6748 456.0279,61.2068 441.3849,74.5898 L434.9849,63.5048 C446.6019,52.2968 457.5949,36.5118 465.9679,19.7648 Z M714.9828,20.3387 L724.515,41.9365 L773.25,41.937 L773.25,54.088 L657.52,54.088 L657.52,41.937 L710.991,41.9365 L704.0528,25.0907 L714.9828,20.3387 Z" id="形状结合" fill="#4D4D4D"></path>
8
+ <path d="M136.3106,209.1757 C134.6186,210.0287 132.7146,210.5227 130.6896,210.5227 C126.0036,210.5227 121.9326,207.9457 119.7906,204.1297 L118.9726,202.3377 L84.8556,127.4737 C84.4876,126.6577 84.2596,125.7377 84.2596,124.8407 C84.2596,121.3917 87.0566,118.5947 90.5066,118.5947 C91.9076,118.5947 93.2016,119.0607 94.2426,119.8347 L134.5036,148.4997 C137.4446,150.4237 140.9586,151.5527 144.7386,151.5527 C146.9926,151.5527 149.1426,151.1307 151.1446,150.4037 L340.4756,66.1377 C306.5386,26.1397 250.6466,0.0007 187.3966,0.0007 C83.8966,0.0007 -0.0004,69.9177 -0.0004,156.1707 C-0.0004,203.2247 25.2416,245.5827 64.7496,274.2127 C67.9196,276.4757 69.9946,280.1937 69.9946,284.3897 C69.9946,285.7767 69.6986,287.0447 69.3356,288.3677 C66.1796,300.1387 61.1306,318.9887 60.8936,319.8707 C60.5006,321.3497 59.8856,322.8907 59.8856,324.4367 C59.8856,327.8867 62.6816,330.6817 66.1366,330.6817 C67.4886,330.6817 68.5986,330.1787 69.7416,329.5197 L110.7676,305.8337 C113.8546,304.0537 117.1206,302.9487 120.7216,302.9487 C122.6366,302.9487 124.4866,303.2447 126.2266,303.7777 C145.3676,309.2817 166.0156,312.3407 187.3966,312.3407 C290.8926,312.3407 374.8006,242.4187 374.8006,156.1707 C374.8006,130.0457 367.0596,105.4437 353.4536,83.8007 L137.6776,208.3857 L136.3106,209.1757 Z" id="Fill-29" fill="#1AAD19"></path>
9
+ </g>
10
+ </g>
11
+ </g>
12
+ </svg>
assets/js/admin/admin-settings.js CHANGED
@@ -1,251 +1,251 @@
1
- jQuery(function ($) {
2
-
3
- function Settings() {
4
- this.params = wc_stripe_setting_params;
5
- this.prefix = '#' + $('#wc_stripe_prefix').val();
6
- this.init();
7
- }
8
-
9
- /**
10
- * [init description]
11
- * @return {[type]} [description]
12
- */
13
- Settings.prototype.init = function () {
14
- $('[name^="woocommerce_stripe"]').on('change', this.display_children.bind(this));
15
-
16
- $('select.stripe-accepted-cards').on('select2:select', this.reorder_multiselect);
17
-
18
- $('.api-register-domain').on('click', this.register_domain.bind(this));
19
-
20
- $('.wc-stripe-create-webhook').on('click', this.manage_webhook.bind(this));
21
-
22
- $('.wc-stripe-connection-test').on('click', this.do_connection_test.bind(this));
23
-
24
- $('.stripe-delete-connection').on('click', this.do_delete_connection.bind(this));
25
-
26
- if (typeof (wc_stripe_admin_notices) != 'undefined') {
27
- this.display_notices();
28
- }
29
-
30
- this.display_children();
31
-
32
- if (window.location.search.match(/_stripe_connect_nonce/)) {
33
- history.pushState({}, '', window.location.pathname + '?page=wc-settings&tab=checkout&section=stripe_api');
34
- }
35
- }
36
-
37
- /**
38
- * [display_children description]
39
- * @param {[type]} e [description]
40
- * @return {[type]} [description]
41
- */
42
- Settings.prototype.display_children = function (e) {
43
- $('[data-show-if]').each(function (i, el) {
44
- var $this = $(el);
45
- var values = $this.data('show-if');
46
- var hidden = [];
47
- $.each(values, function (k, v) {
48
- var $key = $(this.prefix + k);
49
- if (hidden.indexOf($this.attr('id')) == -1) {
50
- if ($key.is(':checkbox')) {
51
- if ($key.is(':checked') == v) {
52
- $this.closest('tr').show();
53
- } else {
54
- $this.closest('tr').hide();
55
- hidden.push($this.attr('id'));
56
- }
57
- } else {
58
- if ($key.val() == v) {
59
- $this.closest('tr').show();
60
- } else {
61
- $this.closest('tr').hide();
62
- hidden.push($this.attr('id'));
63
- }
64
- }
65
- } else {
66
- $this.closest('tr').hide();
67
- hidden.push($this.attr('id'));
68
- }
69
- }.bind(this));
70
- }.bind(this));
71
- }
72
-
73
- /**
74
- * [reorder_multiselect description]
75
- * @param {[type]} e [description]
76
- * @return {[type]} [description]
77
- */
78
- Settings.prototype.reorder_multiselect = function (e) {
79
- var element = e.params.data.element;
80
- var $element = $(element);
81
- $element.detach();
82
- $(this).append($element);
83
- $(this).trigger('change');
84
- }
85
-
86
- /**
87
- * [register_domain description]
88
- * @return {[type]} [description]
89
- */
90
- Settings.prototype.register_domain = function (e) {
91
- e.preventDefault();
92
- this.block();
93
- $.ajax({
94
- url: this.params.routes.apple_domain,
95
- dataType: 'json',
96
- method: 'POST',
97
- data: {_wpnonce: this.params.rest_nonce, hostname: window.location.hostname}
98
- }).done(function (response) {
99
- this.unblock();
100
- if (response.code) {
101
- window.alert(response.message);
102
- } else {
103
- window.alert(response.message);
104
- }
105
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
106
- this.unblock();
107
- window.alert(errorThrown);
108
- }.bind(this))
109
- }
110
-
111
- Settings.prototype.manage_webhook = function (e) {
112
- e.preventDefault();
113
- if ($(e.currentTarget).is('.wc-stripe-delete-webhook')) {
114
- this.delete_webhook();
115
- } else {
116
- this.create_webhook();
117
- }
118
- }
119
-
120
- Settings.prototype.create_webhook = function () {
121
- this.block();
122
- var env = $('#woocommerce_stripe_api_mode').val();
123
- $.ajax({
124
- url: this.params.routes.create_webhook,
125
- dataType: 'json',
126
- method: 'POST',
127
- data: {_wpnonce: this.params.rest_nonce, environment: env}
128
- }).done(function (response) {
129
- this.unblock();
130
- if (response.code) {
131
- window.alert(response.message);
132
- } else {
133
- $('#woocommerce_stripe_api_webhook_secret_' + env).val(response.secret);
134
- window.alert(response.message);
135
- window.location.reload();
136
- }
137
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
138
- this.unblock();
139
- window.alert(errorThrown);
140
- }.bind(this))
141
- }
142
-
143
- Settings.prototype.delete_webhook = function () {
144
- this.block();
145
- var mode = $('#woocommerce_stripe_api_mode').val();
146
- $.ajax({
147
- url: this.params.routes.delete_webhook,
148
- dataType: 'json',
149
- method: 'POST',
150
- data: {_wpnonce: this.params.rest_nonce, mode: mode}
151
- }).done(function (response) {
152
- this.unblock();
153
- if (response.code) {
154
- window.alert(response.message);
155
- } else {
156
- $('#woocommerce_stripe_api_webhook_secret_' + mode).val('');
157
- window.location.reload();
158
- }
159
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
160
- this.unblock();
161
- window.alert(errorThrown);
162
- }.bind(this))
163
- }
164
-
165
- Settings.prototype.do_connection_test = function (e) {
166
- e.preventDefault();
167
- this.block();
168
- var mode = $('#woocommerce_stripe_api_mode').val();
169
- $.ajax({
170
- url: this.params.routes.connection_test,
171
- dataType: 'json',
172
- method: 'POST',
173
- data: (function () {
174
- var data = {
175
- _wpnonce: this.params.rest_nonce,
176
- mode: mode
177
- };
178
- if (mode === 'test') {
179
- data.secret_key = $('#woocommerce_stripe_api_secret_key_test').val();
180
- data.publishable_key = $('#woocommerce_stripe_api_publishable_key_test').val();
181
- }
182
- return data;
183
- }.bind(this)())
184
- }).done(function (response) {
185
- this.unblock();
186
- if (response.code) {
187
- window.alert(response.message);
188
- } else {
189
- window.alert(response.message);
190
- }
191
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
192
- this.unblock();
193
- window.alert(errorThrown);
194
- }.bind(this))
195
- }
196
-
197
- Settings.prototype.display_notices = function () {
198
- $.each(wc_stripe_admin_notices, function (idx, notice) {
199
- $('.woo-nav-tab-wrapper').after(notice);
200
- }.bind(this))
201
- }
202
-
203
- /**
204
- * [block description]
205
- * @param {[type]} $el [description]
206
- * @return {[type]} [description]
207
- */
208
- Settings.prototype.block = function () {
209
- $('.wc-stripe-settings-container').block({
210
- message: null,
211
- overlayCSS: {
212
- background: '#fff',
213
- opacity: 0.6
214
- }
215
- });
216
- }
217
-
218
- /**
219
- * [unblock description]
220
- * @param {[type]} $el [description]
221
- * @return {[type]} [description]
222
- */
223
- Settings.prototype.unblock = function () {
224
- $('.wc-stripe-settings-container').unblock();
225
- }
226
-
227
- Settings.prototype.do_delete_connection = function (e) {
228
- e.preventDefault();
229
- if (confirm(this.params.messages.delete_connection)) {
230
- this.block();
231
- $.ajax({
232
- method: 'POST',
233
- url: this.params.routes.delete_connection,
234
- dataType: 'json',
235
- data: {_wpnonce: this.params.rest_nonce}
236
- }).done(function (response) {
237
- this.unblock();
238
- if (!response.code) {
239
- window.location.reload();
240
- } else {
241
- window.alert(response.message);
242
- }
243
- }.bind(this)).fail(function () {
244
- this.unblock();
245
- }.bind(this));
246
- }
247
- }
248
-
249
- new Settings();
250
-
251
  });
1
+ jQuery(function ($) {
2
+
3
+ function Settings() {
4
+ this.params = wc_stripe_setting_params;
5
+ this.prefix = '#' + $('#wc_stripe_prefix').val();
6
+ this.init();
7
+ }
8
+
9
+ /**
10
+ * [init description]
11
+ * @return {[type]} [description]
12
+ */
13
+ Settings.prototype.init = function () {
14
+ $('[name^="woocommerce_stripe"]').on('change', this.display_children.bind(this));
15
+
16
+ $('select.stripe-accepted-cards').on('select2:select', this.reorder_multiselect);
17
+
18
+ $('.api-register-domain').on('click', this.register_domain.bind(this));
19
+
20
+ $('.wc-stripe-create-webhook').on('click', this.manage_webhook.bind(this));
21
+
22
+ $('.wc-stripe-connection-test').on('click', this.do_connection_test.bind(this));
23
+
24
+ $('.stripe-delete-connection').on('click', this.do_delete_connection.bind(this));
25
+
26
+ if (typeof (wc_stripe_admin_notices) != 'undefined') {
27
+ this.display_notices();
28
+ }
29
+
30
+ this.display_children();
31
+
32
+ if (window.location.search.match(/_stripe_connect_nonce/)) {
33
+ history.pushState({}, '', window.location.pathname + '?page=wc-settings&tab=checkout&section=stripe_api');
34
+ }
35
+ }
36
+
37
+ /**
38
+ * [display_children description]
39
+ * @param {[type]} e [description]
40
+ * @return {[type]} [description]
41
+ */
42
+ Settings.prototype.display_children = function (e) {
43
+ $('[data-show-if]').each(function (i, el) {
44
+ var $this = $(el);
45
+ var values = $this.data('show-if');
46
+ var hidden = [];
47
+ $.each(values, function (k, v) {
48
+ var $key = $(this.prefix + k);
49
+ if (hidden.indexOf($this.attr('id')) == -1) {
50
+ if ($key.is(':checkbox')) {
51
+ if ($key.is(':checked') == v) {
52
+ $this.closest('tr').show();
53
+ } else {
54
+ $this.closest('tr').hide();
55
+ hidden.push($this.attr('id'));
56
+ }
57
+ } else {
58
+ if ($key.val() == v) {
59
+ $this.closest('tr').show();
60
+ } else {
61
+ $this.closest('tr').hide();
62
+ hidden.push($this.attr('id'));
63
+ }
64
+ }
65
+ } else {
66
+ $this.closest('tr').hide();
67
+ hidden.push($this.attr('id'));
68
+ }
69
+ }.bind(this));
70
+ }.bind(this));
71
+ }
72
+
73
+ /**
74
+ * [reorder_multiselect description]
75
+ * @param {[type]} e [description]
76
+ * @return {[type]} [description]
77
+ */
78
+ Settings.prototype.reorder_multiselect = function (e) {
79
+ var element = e.params.data.element;
80
+ var $element = $(element);
81
+ $element.detach();
82
+ $(this).append($element);
83
+ $(this).trigger('change');
84
+ }
85
+
86
+ /**
87
+ * [register_domain description]
88
+ * @return {[type]} [description]
89
+ */
90
+ Settings.prototype.register_domain = function (e) {
91
+ e.preventDefault();
92
+ this.block();
93
+ $.ajax({
94
+ url: this.params.routes.apple_domain,
95
+ dataType: 'json',
96
+ method: 'POST',
97
+ data: {_wpnonce: this.params.rest_nonce, hostname: window.location.hostname}
98
+ }).done(function (response) {
99
+ this.unblock();
100
+ if (response.code) {
101
+ window.alert(response.message);
102
+ } else {
103
+ window.alert(response.message);
104
+ }
105
+ }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
106
+ this.unblock();
107
+ window.alert(errorThrown);
108
+ }.bind(this))
109
+ }
110
+
111
+ Settings.prototype.manage_webhook = function (e) {
112
+ e.preventDefault();
113
+ if ($(e.currentTarget).is('.wc-stripe-delete-webhook')) {
114
+ this.delete_webhook();
115
+ } else {
116
+ this.create_webhook();
117
+ }
118
+ }
119
+
120
+ Settings.prototype.create_webhook = function () {
121
+ this.block();
122
+ var env = $('#woocommerce_stripe_api_mode').val();
123
+ $.ajax({
124
+ url: this.params.routes.create_webhook,
125
+ dataType: 'json',
126
+ method: 'POST',
127
+ data: {_wpnonce: this.params.rest_nonce, environment: env}
128
+ }).done(function (response) {
129
+ this.unblock();
130
+ if (response.code) {
131
+ window.alert(response.message);
132
+ } else {
133
+ $('#woocommerce_stripe_api_webhook_secret_' + env).val(response.secret);
134
+ window.alert(response.message);
135
+ window.location.reload();
136
+ }
137
+ }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
138
+ this.unblock();
139
+ window.alert(errorThrown);
140
+ }.bind(this))
141
+ }
142
+
143
+ Settings.prototype.delete_webhook = function () {
144
+ this.block();
145
+ var mode = $('#woocommerce_stripe_api_mode').val();
146
+ $.ajax({
147
+ url: this.params.routes.delete_webhook,
148
+ dataType: 'json',
149
+ method: 'POST',
150
+ data: {_wpnonce: this.params.rest_nonce, mode: mode}
151
+ }).done(function (response) {
152
+ this.unblock();
153
+ if (response.code) {
154
+ window.alert(response.message);
155
+ } else {
156
+ $('#woocommerce_stripe_api_webhook_secret_' + mode).val('');
157
+ window.location.reload();
158
+ }
159
+ }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
160
+ this.unblock();
161
+ window.alert(errorThrown);
162
+ }.bind(this))
163
+ }
164
+
165
+ Settings.prototype.do_connection_test = function (e) {
166
+ e.preventDefault();
167
+ this.block();
168
+ var mode = $('#woocommerce_stripe_api_mode').val();
169
+ $.ajax({
170
+ url: this.params.routes.connection_test,
171
+ dataType: 'json',
172
+ method: 'POST',
173
+ data: (function () {
174
+ var data = {
175
+ _wpnonce: this.params.rest_nonce,
176
+ mode: mode
177
+ };
178
+ if (mode === 'test') {
179
+ data.secret_key = $('#woocommerce_stripe_api_secret_key_test').val();
180
+ data.publishable_key = $('#woocommerce_stripe_api_publishable_key_test').val();
181
+ }
182
+ return data;
183
+ }.bind(this)())
184
+ }).done(function (response) {
185
+ this.unblock();
186
+ if (response.code) {
187
+ window.alert(response.message);
188
+ } else {
189
+ window.alert(response.message);
190
+ }
191
+ }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
192
+ this.unblock();
193
+ window.alert(errorThrown);
194
+ }.bind(this))
195
+ }
196
+
197
+ Settings.prototype.display_notices = function () {
198
+ $.each(wc_stripe_admin_notices, function (idx, notice) {
199
+ $('.woo-nav-tab-wrapper').after(notice);
200
+ }.bind(this))
201
+ }
202
+
203
+ /**
204
+ * [block description]
205
+ * @param {[type]} $el [description]
206
+ * @return {[type]} [description]
207
+ */
208
+ Settings.prototype.block = function () {
209
+ $('.wc-stripe-settings-container').block({
210
+ message: null,
211
+ overlayCSS: {
212
+ background: '#fff',
213
+ opacity: 0.6
214
+ }
215
+ });
216
+ }
217
+
218
+ /**
219
+ * [unblock description]
220
+ * @param {[type]} $el [description]
221
+ * @return {[type]} [description]
222
+ */
223
+ Settings.prototype.unblock = function () {
224
+ $('.wc-stripe-settings-container').unblock();
225
+ }
226
+
227
+ Settings.prototype.do_delete_connection = function (e) {
228
+ e.preventDefault();
229
+ if (confirm(this.params.messages.delete_connection)) {
230
+ this.block();
231
+ $.ajax({
232
+ method: 'POST',
233
+ url: this.params.routes.delete_connection,
234
+ dataType: 'json',
235
+ data: {_wpnonce: this.params.rest_nonce}
236
+ }).done(function (response) {
237
+ this.unblock();
238
+ if (!response.code) {
239
+ window.location.reload();
240
+ } else {
241
+ window.alert(response.message);
242
+ }
243
+ }.bind(this)).fail(function () {
244
+ this.unblock();
245
+ }.bind(this));
246
+ }
247
+ }
248
+
249
+ new Settings();
250
+
251
  });
assets/js/admin/feedback.js CHANGED
@@ -1,95 +1,95 @@
1
- import {useState, useCallback, useEffect, render} from '@wordpress/element';
2
- import {Modal, Button, RadioControl, TextareaControl} from '@wordpress/components';
3
- import apiFetch from '@wordpress/api-fetch';
4
-
5
- window.addEventListener('load', () => {
6
- const app = document.createElement('div');
7
- app.id = 'stripe-app';
8
- document.getElementById('wpbody')?.append(app);
9
- const el = document.getElementById('deactivate-woo-stripe-payment');
10
- render(<App el={el}/>, document.getElementById('stripe-app'));
11
- });
12
-
13
- const App = ({el}) => {
14
- const [open, setOpen] = useState(false);
15
- const openModal = useCallback((e) => {
16
- e.preventDefault();
17
- setOpen(true)
18
- }, []);
19
- useEffect(() => {
20
- el.addEventListener('click', openModal);
21
- return () => el.removeEventListener('click', openModal);
22
- }, [openModal]);
23
- const submit = () => {
24
- el.removeEventListener('click', openModal);
25
- el.click();
26
- setOpen(false);
27
- }
28
- return <FeedbackModal submit={submit} deactivateLink={el.href} open={open} setOpen={setOpen} data={stripeFeedbackParams}/>
29
- }
30
-
31
- const FeedbackModal = ({deactivateLink, open, setOpen, data, submit}) => {
32
- const [reasonCode, setReasonCode] = useState(false);
33
- const [reasonText, setReasonText] = useState('');
34
- const [processing, setProcessing] = useState();
35
- const [placeholder, setPlaceHolder] = useState('');
36
- const onClose = () => setOpen(false);
37
- const options = Object.keys(data.options).map(id => ({
38
- label: data.options[id],
39
- value: id
40
- }));
41
- const onSubmit = async () => {
42
- setProcessing(true);
43
- try {
44
- await apiFetch({
45
- method: 'POST',
46
- url: data.route,
47
- data: {
48
- reason_code: reasonCode,
49
- reason_text: reasonText
50
- }
51
- })
52
- } catch (error) {
53
-
54
- } finally {
55
- setProcessing(false);
56
- submit();
57
- }
58
- }
59
-
60
- useEffect(() => {
61
- if (data.placeholders.hasOwnProperty(reasonCode)) {
62
- setPlaceHolder(data.placeholders[reasonCode]);
63
- } else {
64
- setPlaceHolder('');
65
- }
66
- }, [reasonCode]);
67
-
68
- const props = {
69
- title: data.title,
70
- isDismissible: true,
71
- focusOnMount: true,
72
- isFullScreen: false,
73
- onRequestClose: onClose
74
- }
75
- if (open) {
76
- return (
77
- <Modal {...props}>
78
- <div className='stripe-modal-content'>
79
- <p>{data.description}</p>
80
- <div className='options-container'>
81
- <RadioControl selected={reasonCode} options={options} onChange={setReasonCode}/>
82
- </div>
83
- <div className='stripe-deactivation__text'>
84
- <TextareaControl placeholder={placeholder} label={data.reasonTextLabel} value={reasonText} onChange={setReasonText}/>
85
- </div>
86
- </div>
87
- <div className='stripe-modal-actions'>
88
- <Button variant='primary' onClick={onSubmit} isBusy={processing} disabled={processing}>{data.buttons.primary}</Button>
89
- <Button href={deactivateLink} className='stripe-skip-deactivate' variant='tertiary' onClick={onClose}>{data.buttons.secondary}</Button>
90
- </div>
91
- </Modal>
92
- )
93
- }
94
- return null;
95
  }
1
+ import {useState, useCallback, useEffect, render} from '@wordpress/element';
2
+ import {Modal, Button, RadioControl, TextareaControl} from '@wordpress/components';
3
+ import apiFetch from '@wordpress/api-fetch';
4
+
5
+ window.addEventListener('load', () => {
6
+ const app = document.createElement('div');
7
+ app.id = 'stripe-app';
8
+ document.getElementById('wpbody')?.append(app);
9
+ const el = document.getElementById('deactivate-woo-stripe-payment');
10
+ render(<App el={el}/>, document.getElementById('stripe-app'));
11
+ });
12
+
13
+ const App = ({el}) => {
14
+ const [open, setOpen] = useState(false);
15
+ const openModal = useCallback((e) => {
16
+ e.preventDefault();
17
+ setOpen(true)
18
+ }, []);
19
+ useEffect(() => {
20
+ el.addEventListener('click', openModal);
21
+ return () => el.removeEventListener('click', openModal);
22
+ }, [openModal]);
23
+ const submit = () => {
24
+ el.removeEventListener('click', openModal);
25
+ el.click();
26
+ setOpen(false);
27
+ }
28
+ return <FeedbackModal submit={submit} deactivateLink={el.href} open={open} setOpen={setOpen} data={stripeFeedbackParams}/>
29
+ }
30
+
31
+ const FeedbackModal = ({deactivateLink, open, setOpen, data, submit}) => {
32
+ const [reasonCode, setReasonCode] = useState(false);
33
+ const [reasonText, setReasonText] = useState('');
34
+ const [processing, setProcessing] = useState();
35
+ const [placeholder, setPlaceHolder] = useState('');
36
+ const onClose = () => setOpen(false);
37
+ const options = Object.keys(data.options).map(id => ({
38
+ label: data.options[id],
39
+ value: id
40
+ }));
41
+ const onSubmit = async () => {
42
+ setProcessing(true);
43
+ try {
44
+ await apiFetch({
45
+ method: 'POST',
46
+ url: data.route,
47
+ data: {
48
+ reason_code: reasonCode,
49
+ reason_text: reasonText
50
+ }
51
+ })
52
+ } catch (error) {
53
+
54
+ } finally {
55
+ setProcessing(false);
56
+ submit();
57
+ }
58
+ }
59
+
60
+ useEffect(() => {
61
+ if (data.placeholders.hasOwnProperty(reasonCode)) {
62
+ setPlaceHolder(data.placeholders[reasonCode]);
63
+ } else {
64
+ setPlaceHolder('');
65
+ }
66
+ }, [reasonCode]);
67
+
68
+ const props = {
69
+ title: data.title,
70
+ isDismissible: true,
71
+ focusOnMount: true,
72
+ isFullScreen: false,
73
+ onRequestClose: onClose
74
+ }
75
+ if (open) {
76
+ return (
77
+ <Modal {...props}>
78
+ <div className='stripe-modal-content'>
79
+ <p>{data.description}</p>
80
+ <div className='options-container'>
81
+ <RadioControl selected={reasonCode} options={options} onChange={setReasonCode}/>
82
+ </div>
83
+ <div className='stripe-deactivation__text'>
84
+ <TextareaControl placeholder={placeholder} label={data.reasonTextLabel} value={reasonText} onChange={setReasonText}/>
85
+ </div>
86
+ </div>
87
+ <div className='stripe-modal-actions'>
88
+ <Button variant='primary' onClick={onSubmit} isBusy={processing} disabled={processing}>{data.buttons.primary}</Button>
89
+ <Button href={deactivateLink} className='stripe-skip-deactivate' variant='tertiary' onClick={onClose}>{data.buttons.secondary}</Button>
90
+ </div>
91
+ </Modal>
92
+ )
93
+ }
94
+ return null;
95
  }
assets/js/admin/googlepay.js CHANGED
@@ -1,37 +1,37 @@
1
- (function($) {
2
-
3
- /**
4
- * @constructor
5
- */
6
- function Settings() {
7
- $(document.body).on('change', '.gpay-button-option', this.update_button.bind(this));
8
- this.init();
9
- }
10
-
11
- Settings.prototype.init = function() {
12
- this.create_payments_client();
13
- this.update_button();
14
- }
15
-
16
- Settings.prototype.create_payments_client = function() {
17
- this.paymentsClient = new google.payments.api.PaymentsClient({ environment: "TEST" });
18
- }
19
-
20
- /**
21
- * @return {[type]}
22
- */
23
- Settings.prototype.update_button = function() {
24
- if (this.$button) {
25
- this.$button.remove();
26
- }
27
- this.$button = $(this.paymentsClient.createButton({
28
- onClick: function() {},
29
- buttonColor: $('.button-color').val(),
30
- buttonType: $('.button-style').val()
31
- }));
32
- $('#gpay-button').append(this.$button);
33
- }
34
-
35
- new Settings();
36
-
37
  }(jQuery))
1
+ (function($) {
2
+
3
+ /**
4
+ * @constructor
5
+ */
6
+ function Settings() {
7
+ $(document.body).on('change', '.gpay-button-option', this.update_button.bind(this));
8
+ this.init();
9
+ }
10
+
11
+ Settings.prototype.init = function() {
12
+ this.create_payments_client();
13
+ this.update_button();
14
+ }
15
+
16
+ Settings.prototype.create_payments_client = function() {
17
+ this.paymentsClient = new google.payments.api.PaymentsClient({ environment: "TEST" });
18
+ }
19
+
20
+ /**
21
+ * @return {[type]}
22
+ */
23
+ Settings.prototype.update_button = function() {
24
+ if (this.$button) {
25
+ this.$button.remove();
26
+ }
27
+ this.$button = $(this.paymentsClient.createButton({
28
+ onClick: function() {},
29
+ buttonColor: $('.button-color').val(),
30
+ buttonType: $('.button-style').val()
31
+ }));
32
+ $('#gpay-button').append(this.$button);
33
+ }
34
+
35
+ new Settings();
36
+
37
  }(jQuery))
assets/js/admin/help-widget.js CHANGED
@@ -1,69 +1,69 @@
1
- window.zESettings = {
2
- webWidget: {
3
- color: {
4
- theme: '#6772e5'
5
- },
6
- position: {horizontal: 'right', vertical: 'bottom'},
7
- zIndex: 9999999999,
8
- launcher: {
9
- label: {
10
- 'en-US': 'Contact Us'
11
- }
12
- },
13
- contactForm: {
14
- title: {
15
- 'en-US': 'Contact Payment Plugins',
16
- },
17
- fields: [
18
- {id: '360024242873', prefill: {'*': 'Stripe'}},
19
- {id: '4423709831443', prefill: {'*': JSON.stringify(wcStripeSupportParams.report, null, 2)}}
20
- ]
21
- },
22
- helpCenter: {
23
- suppress: true
24
- }
25
- }
26
- }
27
-
28
- window.zEmbed || function (e, t) {
29
- var n, o, d, i, s, a = [], r = document.createElement("iframe");
30
- window.zEmbed = function () {
31
- a.push(arguments)
32
- }, window.zE = window.zE || window.zEmbed, r.src = "javascript:false", r.title = "", r.role = "presentation", (r.frameElement || r).style.cssText = "display: none", d = document.getElementsByTagName("script"), d = d[d.length - 1], d.parentNode.insertBefore(r, d), i = r.contentWindow, s = i.document;
33
- try {
34
- o = s
35
- } catch (e) {
36
- n = document.domain, r.src = 'javascript:var d=document.open();d.domain="' + n + '";void(0);', o = s
37
- }
38
- o.open()._l = function () {
39
- var o = this.createElement("script");
40
- n && (this.domain = n), o.id = "js-iframe-async", o.src = e, this.t = +new Date, this.zendeskHost = t, this.zEQueue = a, this.body.appendChild(o)
41
- }, o.write('<body onload="document._l();">'), o.close()
42
- }("https://assets.zendesk.com/embeddable_framework/main.js", "paymentplugins.zendesk.com");
43
-
44
- jQuery(function ($) {
45
- zE(function () {
46
- zE.hide();
47
- });
48
- zE('webWidget', 'prefill', {
49
- name: {
50
- value: wcStripeSupportParams.name
51
- },
52
- email: {
53
- value: wcStripeSupportParams.email
54
- }
55
- });
56
- $(document.body).on('click', '#stripeSupportButton', function (e) {
57
- e.preventDefault();
58
- zE("webWidget", "updateSettings", {
59
- webWidget: {
60
- offset: {
61
- horizontal: $('.wc-stripe-support__page').outerWidth() / 2 - (374 / 2) + 'px'
62
- }
63
- }
64
- });
65
- zE(function () {
66
- zE.activate();
67
- });
68
- })
69
  });
1
+ window.zESettings = {
2
+ webWidget: {
3
+ color: {
4
+ theme: '#6772e5'
5
+ },
6
+ position: {horizontal: 'right', vertical: 'bottom'},
7
+ zIndex: 9999999999,
8
+ launcher: {
9
+ label: {
10
+ 'en-US': 'Contact Us'
11
+ }
12
+ },
13
+ contactForm: {
14
+ title: {
15
+ 'en-US': 'Contact Payment Plugins',
16
+ },
17
+ fields: [
18
+ {id: '360024242873', prefill: {'*': 'Stripe'}},
19
+ {id: '4423709831443', prefill: {'*': JSON.stringify(wcStripeSupportParams.report, null, 2)}}
20
+ ]
21
+ },
22
+ helpCenter: {
23
+ suppress: true
24
+ }
25
+ }
26
+ }
27
+
28
+ window.zEmbed || function (e, t) {
29
+ var n, o, d, i, s, a = [], r = document.createElement("iframe");
30
+ window.zEmbed = function () {
31
+ a.push(arguments)
32
+ }, window.zE = window.zE || window.zEmbed, r.src = "javascript:false", r.title = "", r.role = "presentation", (r.frameElement || r).style.cssText = "display: none", d = document.getElementsByTagName("script"), d = d[d.length - 1], d.parentNode.insertBefore(r, d), i = r.contentWindow, s = i.document;
33
+ try {
34
+ o = s
35
+ } catch (e) {
36
+ n = document.domain, r.src = 'javascript:var d=document.open();d.domain="' + n + '";void(0);', o = s
37
+ }
38
+ o.open()._l = function () {
39
+ var o = this.createElement("script");
40
+ n && (this.domain = n), o.id = "js-iframe-async", o.src = e, this.t = +new Date, this.zendeskHost = t, this.zEQueue = a, this.body.appendChild(o)
41
+ }, o.write('<body onload="document._l();">'), o.close()
42
+ }("https://assets.zendesk.com/embeddable_framework/main.js", "paymentplugins.zendesk.com");
43
+
44
+ jQuery(function ($) {
45
+ zE(function () {
46
+ zE.hide();
47
+ });
48
+ zE('webWidget', 'prefill', {
49
+ name: {
50
+ value: wcStripeSupportParams.name
51
+ },
52
+ email: {
53
+ value: wcStripeSupportParams.email
54
+ }
55
+ });
56
+ $(document.body).on('click', '#stripeSupportButton', function (e) {
57
+ e.preventDefault();
58
+ zE("webWidget", "updateSettings", {
59
+ webWidget: {
60
+ offset: {
61
+ horizontal: $('.wc-stripe-support__page').outerWidth() / 2 - (374 / 2) + 'px'
62
+ }
63
+ }
64
+ });
65
+ zE(function () {
66
+ zE.activate();
67
+ });
68
+ })
69
  });
assets/js/admin/main.js CHANGED
@@ -1,67 +1,67 @@
1
- (function ($) {
2
- var params = wcStripeSignupParams;
3
- $(document.body).on('click', '#wc-stripe-signup', function (e) {
4
- e.preventDefault();
5
- submitSigupData($(e.currentTarget));
6
- }).on('click', '.wc-stripe-notice .dismiss', removeNotice);
7
-
8
- function getLoaderHtml() {
9
- return '<div class="wc-stripe-loader">' +
10
- '<div></div>' +
11
- '<div></div>' +
12
- '<div></div>' +
13
- '</div>';
14
- }
15
-
16
- function removeLoader(el) {
17
- $(el).find('.wc-stripe-loader').remove();
18
- }
19
-
20
- function addSuccessNotice(msg) {
21
- addNotice('<span class="dashicons dashicons-yes"></span><div>' + msg + '</div>', 'success');
22
- }
23
-
24
- function addErrorNotice(msg, className) {
25
- addNotice('<span class="dashicons dashicons-info"></span><div>' + msg + '</div>', 'error');
26
- }
27
-
28
- function addNotice(msg, className) {
29
- $(document.body).append('<div class="wc-stripe-notice ' + className + '">' + msg + '<div class="dismiss"><span class="dashicons dashicons-dismiss"></span></div></div>');
30
- setTimeout(removeNotice.bind(null, {
31
- currentTarget: $('.wc-stripe-notice').last()[0]
32
- }), 5000);
33
- }
34
-
35
- function removeNotice(e) {
36
- $(e.currentTarget).closest('.wc-stripe-notice').remove();
37
- }
38
-
39
- function submitSigupData(el) {
40
- el.prop('disabled', true).prepend(getLoaderHtml());
41
- var data = el.closest('form').serialize();
42
- $.ajax({
43
- url: params.routes.signup,
44
- dataType: 'json',
45
- method: 'POST',
46
- data: data
47
- }).done(function (response) {
48
- el.prop('disabled', false);
49
- removeLoader(el);
50
- if (response.code) {
51
- addErrorNotice(response.message);
52
- } else {
53
- addSuccessNotice(response.message);
54
- $('.wc-stripe-signup-container').remove();
55
- }
56
- }).fail(function (xhr, textStatus, errorThrown) {
57
- el.prop('disabled', false);
58
- removeLoader(el);
59
- if (xhr.hasOwnProperty('responseJSON')) {
60
- addErrorNotice(xhr.responseJSON.message);
61
- } else {
62
- addErrorNotice(errorThrown);
63
- }
64
- });
65
- }
66
-
67
  }(jQuery));
1
+ (function ($) {
2
+ var params = wcStripeSignupParams;
3
+ $(document.body).on('click', '#wc-stripe-signup', function (e) {
4
+ e.preventDefault();
5
+ submitSigupData($(e.currentTarget));
6
+ }).on('click', '.wc-stripe-notice .dismiss', removeNotice);
7
+
8
+ function getLoaderHtml() {
9
+ return '<div class="wc-stripe-loader">' +
10
+ '<div></div>' +
11
+ '<div></div>' +
12
+ '<div></div>' +
13
+ '</div>';
14
+ }
15
+
16
+ function removeLoader(el) {
17
+ $(el).find('.wc-stripe-loader').remove();
18
+ }
19
+
20
+ function addSuccessNotice(msg) {
21
+ addNotice('<span class="dashicons dashicons-yes"></span><div>' + msg + '</div>', 'success');
22
+ }
23
+
24
+ function addErrorNotice(msg, className) {
25
+ addNotice('<span class="dashicons dashicons-info"></span><div>' + msg + '</div>', 'error');
26
+ }
27
+
28
+ function addNotice(msg, className) {
29
+ $(document.body).append('<div class="wc-stripe-notice ' + className + '">' + msg + '<div class="dismiss"><span class="dashicons dashicons-dismiss"></span></div></div>');
30
+ setTimeout(removeNotice.bind(null, {
31
+ currentTarget: $('.wc-stripe-notice').last()[0]
32
+ }), 5000);
33
+ }
34
+
35
+ function removeNotice(e) {
36
+ $(e.currentTarget).closest('.wc-stripe-notice').remove();
37
+ }
38
+
39
+ function submitSigupData(el) {
40
+ el.prop('disabled', true).prepend(getLoaderHtml());
41
+ var data = el.closest('form').serialize();
42
+ $.ajax({
43
+ url: params.routes.signup,
44
+ dataType: 'json',
45
+ method: 'POST',
46
+ data: data
47
+ }).done(function (response) {
48
+ el.prop('disabled', false);
49
+ removeLoader(el);
50
+ if (response.code) {
51
+ addErrorNotice(response.message);
52
+ } else {
53
+ addSuccessNotice(response.message);
54
+ $('.wc-stripe-signup-container').remove();
55
+ }
56
+ }).fail(function (xhr, textStatus, errorThrown) {
57
+ el.prop('disabled', false);
58
+ removeLoader(el);
59
+ if (xhr.hasOwnProperty('responseJSON')) {
60
+ addErrorNotice(xhr.responseJSON.message);
61
+ } else {
62
+ addErrorNotice(errorThrown);
63
+ }
64
+ });
65
+ }
66
+
67
  }(jQuery));
assets/js/admin/meta-boxes-order.js CHANGED
@@ -1,194 +1,194 @@
1
- (function ($) {
2
- if (typeof wc_stripe_order_metabox_params === 'undefined') {
3
- return;
4
- }
5
-
6
- /**
7
- * @constructor
8
- */
9
- function MetaBox() {
10
- this.params = wc_stripe_order_metabox_params;
11
- this.initialize();
12
- }
13
-
14
- MetaBox.prototype.initialize = function () {
15
- $(document.body).on('click', '.do-stripe-transaction-view', this.render_charge_view.bind(this))
16
- .on('click', '.do-api-capture', this.do_api_capture.bind(this))
17
- .on('click', '.do-api-cancel', this.do_api_cancel.bind(this))
18
- .on('click', '.wc-stripe-pay-order', this.open_pay_order_modal.bind(this))
19
- .on('change', '#customer_user', this.fetch_payment_methods.bind(this))
20
- .on('order-totals-recalculate-success', this.clear_transaction_data.bind(this))
21
- .on('keyup', '[name="capture_amount"]', this.validate_capture_amount.bind(this))
22
- .on('items_saved', this.clear_transaction_data.bind(this))
23
- }
24
-
25
- MetaBox.prototype.clear_transaction_data = function () {
26
- $('.do-stripe-transaction-view').data('charge', null);
27
- }
28
-
29
- MetaBox.prototype.validate_capture_amount = function (e) {
30
- var value = $(e.currentTarget).val();
31
- value = parseFloat(value);
32
- if (!Number.isNaN(value)) {
33
- var data = $('.do-stripe-transaction-view').data('charge');
34
- if (data && value < parseFloat(data.order_total)) {
35
- if (typeof woocommerce_admin !== 'undefined') {
36
- woocommerce_admin.capture_notice = this.params.messages.capture_amount;
37
- $(document.body).triggerHandler('wc_add_error_tip', [$(e.currentTarget), 'capture_notice']);
38
- }
39
- } else {
40
- $(document.body).triggerHandler('wc_remove_error_tip', [$(e.currentTarget), 'capture_notice']);
41
- }
42
- }
43
- }
44
-
45
- /**
46
- * Fetch the charge view data and render the modal.
47
- */
48
- MetaBox.prototype.render_charge_view = function (e) {
49
- e.preventDefault();
50
- var $icon = $(e.currentTarget);
51
- if (!$icon.data('charge')) {
52
- $icon.addClass('disabled');
53
- $.when($.ajax({
54
- method: 'GET',
55
- dataType: 'json',
56
- url: this.params.routes.charge_view,
57
- data: {
58
- order_id: $icon.data('order'),
59
- _wpnonce: this.params._wpnonce
60
- }
61
- })).done(function (response) {
62
- if (!response.code) {
63
- $icon.data('charge', response.data);
64
- $icon.removeClass('disabled');
65
- $icon.WCBackboneModal({
66
- template: 'wc-stripe-view-transaction',
67
- variable: response.data
68
- });
69
- } else {
70
- window.alert(response.message);
71
- }
72
- }.bind(this)).fail(function (jqXHR, textStatus, errorThrown) {
73
- $icon.removeClass('disabled');
74
- window.alert(errorThrown);
75
- }.bind(this))
76
- } else {
77
- $icon.WCBackboneModal({
78
- template: 'wc-stripe-view-transaction',
79
- variable: $icon.data('charge')
80
- });
81
- }
82
- }
83
-
84
- /**
85
- *
86
- */
87
- MetaBox.prototype.do_api_capture = function (e) {
88
- e.preventDefault();
89
- var $modal = $('.wc-transaction-data');
90
- this.block($modal);
91
- $.when($.ajax({
92
- method: 'POST',
93
- dataType: 'json',
94
- url: this.params.routes.capture,
95
- data: {
96
- _wpnonce: this.params._wpnonce,
97
- order_id: $('#post_ID').val(),
98
- amount: $('[name="capture_amount"]').val()
99
- },
100
- }).done(function (response) {
101
- if (!response.code) {
102
- window.location.reload();
103
- } else {
104
- this.unblock($modal);
105
- window.alert(response.message);
106
- }
107
- }.bind(this))).fail(function (jqXHR, textStatus, errorThrown) {
108
- this.unblock($modal);
109
- window.alert(errorThrown);
110
- }.bind(this));
111
- }
112
-
113
- /**
114
- *
115
- */
116
- MetaBox.prototype.do_api_cancel = function (e) {
117
- e.preventDefault();
118
- var $modal = $('.wc-transaction-data');
119
- this.block($modal);
120
- $.when($.ajax({
121
- method: 'POST',
122
- dataType: 'json',
123
- url: this.params.routes.void,
124
- data: {
125
- _wpnonce: this.params._wpnonce,
126
- order_id: $('#post_ID').val()
127
- },
128
- }).done(function (response) {
129
- if (!response.code) {
130
- window.location.reload();
131
- } else {
132
- this.unblock($modal);
133
- window.alert(response.message);
134
- }
135
- }.bind(this))).fail(function (jqXHR, textStatus, errorThrown) {
136
- this.unblock($modal);
137
- window.alert(errorThrown);
138
- }.bind(this));
139
- }
140
-
141
- MetaBox.prototype.open_pay_order_modal = function (e) {
142
- e.preventDefault();
143
- $(e.target).WCStripePayOrderBackboneModal({
144
- template: 'wc-stripe-modal-pay-order',
145
- params: {
146
- customer_id: $('#customer_user').val(),
147
- payment_methods: wc_stripe_order_pay_params.payment_methods,
148
- order_id: $('#post_ID').val()
149
- }
150
- })
151
- }
152
-
153
- MetaBox.prototype.fetch_payment_methods = function (e) {
154
- wc_stripe_order_pay_params.payment_methods = [];
155
- var customer_id = $('#customer_user').val();
156
- if (customer_id) {
157
- $.ajax({
158
- method: 'GET',
159
- dataType: 'json',
160
- url: this.params.routes.payment_methods,
161
- data: {
162
- _wpnonce: this.params._wpnonce,
163
- customer_id: customer_id
164
- }
165
- }).done(function (response) {
166
- wc_stripe_order_pay_params.payment_methods = response.payment_methods;
167
- }.bind(this)).fail(function () {
168
-
169
- }.bind(this))
170
- }
171
- }
172
-
173
- /**
174
- *
175
- */
176
- MetaBox.prototype.block = function ($el) {
177
- $el.block({
178
- message: null,
179
- overlayCSS: {
180
- background: '#fff',
181
- opacity: 0.6
182
- }
183
- });
184
- }
185
-
186
- /**
187
- *
188
- */
189
- MetaBox.prototype.unblock = function ($el) {
190
- $el.unblock();
191
- }
192
-
193
- new MetaBox();
194
  }(jQuery))
1
+ (function ($) {
2
+ if (typeof wc_stripe_order_metabox_params === 'undefined') {
3
+ return;
4
+ }
5
+
6
+ /**
7
+ * @constructor
8
+ */
9
+ function MetaBox() {
10
+ this.params = wc_stripe_order_metabox_params;
11
+ this.initialize();
12
+ }
13
+
14
+ MetaBox.prototype.initialize = function () {
15
+ $(document.body).on('click', '.do-stripe-transaction-view', this.render_charge_view.bind(this))
16
+ .on('click', '.do-api-capture', this.do_api_capture.bind(this))
17
+ .on('click', '.do-api-cancel', this.do_api_cancel.bind(this))
18
+ .on('click', '.wc-stripe-pay-order', this.open_pay_order_modal.bind(this))
19
+ .on('change', '#customer_user', this.fetch_payment_methods.bind(this))
20
+ .on('order-totals-recalculate-success', this.clear_transaction_data.bind(this))
21
+ .on('keyup', '[name="capture_amount"]', this.validate_capture_amount.bind(this))
22
+ .on('items_saved', this.clear_transaction_data.bind(this))
23
+ }
24
+
25
+ MetaBox.prototype.clear_transaction_data = function () {
26
+ $('.do-stripe-transaction-view').data('charge', null);
27
+ }
28
+
29
+ MetaBox.prototype.validate_capture_amount = function (e) {
30
+ var value = $(e.currentTarget).val();
31
+ value = parseFloat(value);
32
+ if (!Number.isNaN(value)) {
33
+ var data = $('.do-stripe-transaction-view').data('charge');
34
+ if (data && value < parseFloat(data.order_total)) {
35
+ if (typeof woocommerce_admin !== 'undefined') {
36
+ woocommerce_admin.capture_notice = this.params.messages.capture_amount;
37
+ $(document.body).triggerHandler('wc_add_error_tip', [$(e.currentTarget), 'capture_notice']);
38
+ }
39
+ } else {
40
+ $(document.body).triggerHandler('wc_remove_error_tip', [$(e.currentTarget), 'capture_notice']);
41
+ }
42
+ }
43
+ }
44
+
45
+ /**
46
+ * Fetch the charge view data and render the modal.
47
+ */
48
+ MetaBox.prototype.render_charge_view = function (e) {
49
+ e.preventDefault();
50
+ var $icon = $(e.currentTarget);
51
+ if (!$icon.data('charge')) {
52
+ $icon.addClass('disabled');
53
+ $.when($.ajax({
54
+ method: 'GET',
55
+ dataType: 'json',
56
+ url: this.params.routes.charge_view,
57
+ data: {
58
+ order_id: $icon.data('order'),
59
+ _wpnonce: this.params._wpnonce
60
+ }
61
+ })).done(function (response) {
62
+ if (!response.code) {
63
+ $icon.data('charge', response.data);
64
+ $icon.removeClass('disabled');
65
+ $icon.WCBackboneModal({
66
+ template: 'wc-stripe-view-transaction',
67
+ variable: response.data
68
+ });
69
+ } else {
70
+ window.alert(response.message);
71
+ }
72
+ }.bind(this)).fail(function (jqXHR, textStatus, errorThrown) {
73
+ $icon.removeClass('disabled');
74
+ window.alert(errorThrown);
75
+ }.bind(this))
76
+ } else {
77
+ $icon.WCBackboneModal({
78
+ template: 'wc-stripe-view-transaction',
79
+ variable: $icon.data('charge')
80
+ });
81
+ }
82
+ }
83
+
84
+ /**
85
+ *
86
+ */
87
+ MetaBox.prototype.do_api_capture = function (e) {
88
+ e.preventDefault();
89
+ var $modal = $('.wc-transaction-data');
90
+ this.block($modal);
91
+ $.when($.ajax({
92
+ method: 'POST',
93
+ dataType: 'json',
94
+ url: this.params.routes.capture,
95
+ data: {
96
+ _wpnonce: this.params._wpnonce,
97
+ order_id: $('#post_ID').val(),
98
+ amount: $('[name="capture_amount"]').val()
99
+ },
100
+ }).done(function (response) {
101
+ if (!response.code) {
102
+ window.location.reload();
103
+ } else {
104
+ this.unblock($modal);
105
+ window.alert(response.message);
106
+ }
107
+ }.bind(this))).fail(function (jqXHR, textStatus, errorThrown) {
108
+ this.unblock($modal);
109
+ window.alert(errorThrown);
110
+ }.bind(this));
111
+ }
112
+
113
+ /**
114
+ *
115
+ */
116
+ MetaBox.prototype.do_api_cancel = function (e) {
117
+ e.preventDefault();
118
+ var $modal = $('.wc-transaction-data');
119
+ this.block($modal);
120
+ $.when($.ajax({
121
+ method: 'POST',
122
+ dataType: 'json',
123
+ url: this.params.routes.void,
124
+ data: {
125
+ _wpnonce: this.params._wpnonce,
126
+ order_id: $('#post_ID').val()
127
+ },
128
+ }).done(function (response) {
129
+ if (!response.code) {
130
+ window.location.reload();
131
+ } else {
132
+ this.unblock($modal);
133
+ window.alert(response.message);
134
+ }
135
+ }.bind(this))).fail(function (jqXHR, textStatus, errorThrown) {
136
+ this.unblock($modal);
137
+ window.alert(errorThrown);
138
+ }.bind(this));
139
+ }
140
+
141
+ MetaBox.prototype.open_pay_order_modal = function (e) {
142
+ e.preventDefault();
143
+ $(e.target).WCStripePayOrderBackboneModal({
144
+ template: 'wc-stripe-modal-pay-order',
145
+ params: {
146
+ customer_id: $('#customer_user').val(),
147
+ payment_methods: wc_stripe_order_pay_params.payment_methods,
148
+ order_id: $('#post_ID').val()
149
+ }
150
+ })
151
+ }
152
+
153
+ MetaBox.prototype.fetch_payment_methods = function (e) {
154
+ wc_stripe_order_pay_params.payment_methods = [];
155
+ var customer_id = $('#customer_user').val();
156
+ if (customer_id) {
157
+ $.ajax({
158
+ method: 'GET',
159
+ dataType: 'json',
160
+ url: this.params.routes.payment_methods,
161
+ data: {
162
+ _wpnonce: this.params._wpnonce,
163
+ customer_id: customer_id
164
+ }
165
+ }).done(function (response) {
166
+ wc_stripe_order_pay_params.payment_methods = response.payment_methods;
167
+ }.bind(this)).fail(function () {
168
+
169
+ }.bind(this))
170
+ }
171
+ }
172
+
173
+ /**
174
+ *
175
+ */
176
+ MetaBox.prototype.block = function ($el) {
177
+ $el.block({
178
+ message: null,
179
+ overlayCSS: {
180
+ background: '#fff',
181
+ opacity: 0.6
182
+ }
183
+ });
184
+ }
185
+
186
+ /**
187
+ *
188
+ */
189
+ MetaBox.prototype.unblock = function ($el) {
190
+ $el.unblock();
191
+ }
192
+
193
+ new MetaBox();
194
  }(jQuery))
assets/js/admin/meta-boxes-product-data.js CHANGED
@@ -1,136 +1,136 @@
1
- (function ($) {
2
- function Product() {
3
- this.init();
4
- }
5
-
6
- Product.prototype.params = {
7
- loadingClass: 'woocommerce-input-toggle--loading',
8
- enabledClass: 'woocommerce-input-toggle--enabled',
9
- disabledClass: 'woocommerce-input-toggle--disabled'
10
- }
11
-
12
- Product.prototype.init = function () {
13
- $('table.wc_gateways').sortable({
14
- items: 'tr',
15
- axis: 'y',
16
- cursor: 'move',
17
- scrollSensitivity: 40,
18
- forcePlaceholderSize: true,
19
- helper: 'clone',
20
- opacity: 0.65,
21
- placeholder: 'wc-metabox-sortable-placeholder',
22
- start: function (event, ui) {
23
- ui.item.css('background-color', '#f6f6f6');
24
- },
25
- stop: function (event, ui) {
26
- ui.item.removeAttr('style');
27
- },
28
- change: function () {
29
- this.setting_changed();
30
- }.bind(this)
31
- });
32
-
33
- $('table.wc_gateways').find('.wc-move-down, .wc-move-up').on('click', this.move_gateway.bind(this));
34
- $('table.wc_gateways .wc-stripe-product-gateway-enabled').on('click', this.enable_gateway.bind(this));
35
- $('.wc-stripe-save-product-data').on('click', this.save.bind(this));
36
- $('#stripe_product_data select').on('change', this.setting_changed.bind(this));
37
- }
38
-
39
- /**
40
- * [Move the payment gateway up or down]
41
- * @return {[type]} [description]
42
- */
43
- Product.prototype.move_gateway = function (e) {
44
- var $this = $(e.currentTarget);
45
- var $row = $this.closest('tr');
46
-
47
- var moveDown = $this.is('.wc-move-down');
48
-
49
- if (moveDown) {
50
- var $next = $row.next('tr');
51
- if ($next && $next.length) {
52
- $next.after($row);
53
- }
54
- } else {
55
- var $prev = $row.prev('tr');
56
- if ($prev && $prev.length) {
57
- $prev.before($row);
58
- }
59
- }
60
- this.setting_changed();
61
- }
62
-
63
- Product.prototype.setting_changed = function () {
64
- $('#wc_stripe_update_product').val('true');
65
- }
66
-
67
- /**
68
- * [enable_gateway description]
69
- * @param {[type]} e [description]
70
- * @return {[type]} [description]
71
- */
72
- Product.prototype.enable_gateway = function (e) {
73
- e.preventDefault();
74
- var $el = $(e.currentTarget),
75
- $row = $el.closest('tr'),
76
- $toggle = $el.find('.woocommerce-input-toggle');
77
- $toggle.addClass(this.params.loadingClass);
78
- $.ajax({
79
- url: wc_stripe_product_params.routes.enable_gateway,
80
- method: 'POST',
81
- dataType: 'json',
82
- data: {
83
- _wpnonce: wc_stripe_product_params._wpnonce,
84
- product_id: $('#post_ID').val(),
85
- gateway_id: $row.data('gateway_id')
86
- }
87
- }).done(function (response) {
88
- $toggle.removeClass(this.params.loadingClass);
89
- if (response.enabled) {
90
- $toggle.addClass(this.params.enabledClass).removeClass(this.params.disabledClass);
91
- } else {
92
- $toggle.removeClass(this.params.enabledClass).addClass(this.params.disabledClass);
93
- }
94
- }.bind(this)).fail(function (xhr, errorStatus, errorThrown) {
95
- $toggle.removeClass(this.params.loadingClass);
96
- }.bind(this))
97
- }
98
-
99
- Product.prototype.save = function (e) {
100
- e.preventDefault();
101
- var $button = $(e.currentTarget);
102
- var gateways = [],
103
- charge_types = [];
104
- $('[name^="stripe_gateway_order"]').each(function (idx, el) {
105
- gateways.push($(el).val());
106
- });
107
- $('[name^="stripe_capture_type"]').each(function (idx, el) {
108
- charge_types.push({
109
- gateway: $(el).closest('tr').data('gateway_id'),
110
- value: $(el).val()
111
- });
112
- })
113
- $button.toggleClass('disabled').prop('disabled', true);
114
- $button.next('.spinner').toggleClass('is-active');
115
- $.ajax({
116
- url: wc_stripe_product_params.routes.save,
117
- method: 'POST',
118
- dataType: 'json',
119
- data: {
120
- _wpnonce: wc_stripe_product_params._wpnonce,
121
- gateways: gateways,
122
- charge_types: charge_types,
123
- product_id: $('#post_ID').val(),
124
- position: $('#_stripe_button_position').val()
125
- }
126
- }).done(function (response) {
127
- $button.toggleClass('disabled').prop('disabled', false);
128
- $button.next('.spinner').toggleClass('is-active');
129
- }).fail(function (xhr, errorStatus, errorthrown) {
130
- $button.toggleClass('disabled').prop('disabled', false);
131
- $button.next('.spinner').toggleClass('is-active');
132
- }.bind(this))
133
- }
134
-
135
- new Product();
136
  }(jQuery))
1
+ (function ($) {
2
+ function Product() {
3
+ this.init();
4
+ }
5
+
6
+ Product.prototype.params = {
7
+ loadingClass: 'woocommerce-input-toggle--loading',
8
+ enabledClass: 'woocommerce-input-toggle--enabled',
9
+ disabledClass: 'woocommerce-input-toggle--disabled'
10
+ }
11
+
12
+ Product.prototype.init = function () {
13
+ $('table.wc_gateways').sortable({
14
+ items: 'tr',
15
+ axis: 'y',
16
+ cursor: 'move',
17
+ scrollSensitivity: 40,
18
+ forcePlaceholderSize: true,
19
+ helper: 'clone',
20
+ opacity: 0.65,
21
+ placeholder: 'wc-metabox-sortable-placeholder',
22
+ start: function (event, ui) {
23
+ ui.item.css('background-color', '#f6f6f6');
24
+ },
25
+ stop: function (event, ui) {
26
+ ui.item.removeAttr('style');
27
+ },
28
+ change: function () {
29
+ this.setting_changed();
30
+ }.bind(this)
31
+ });
32
+
33
+ $('table.wc_gateways').find('.wc-move-down, .wc-move-up').on('click', this.move_gateway.bind(this));
34
+ $('table.wc_gateways .wc-stripe-product-gateway-enabled').on('click', this.enable_gateway.bind(this));
35
+ $('.wc-stripe-save-product-data').on('click', this.save.bind(this));
36
+ $('#stripe_product_data select').on('change', this.setting_changed.bind(this));
37
+ }
38
+
39
+ /**
40
+ * [Move the payment gateway up or down]
41
+ * @return {[type]} [description]
42
+ */
43
+ Product.prototype.move_gateway = function (e) {
44
+ var $this = $(e.currentTarget);
45
+ var $row = $this.closest('tr');
46
+
47
+ var moveDown = $this.is('.wc-move-down');
48
+
49
+ if (moveDown) {
50
+ var $next = $row.next('tr');
51
+ if ($next && $next.length) {
52
+ $next.after($row);
53
+ }
54
+ } else {
55
+ var $prev = $row.prev('tr');
56
+ if ($prev && $prev.length) {
57
+ $prev.before($row);
58
+ }
59
+ }
60
+ this.setting_changed();
61
+ }
62
+
63
+ Product.prototype.setting_changed = function () {
64
+ $('#wc_stripe_update_product').val('true');
65
+ }
66
+
67
+ /**
68
+ * [enable_gateway description]
69
+ * @param {[type]} e [description]
70
+ * @return {[type]} [description]
71
+ */
72
+ Product.prototype.enable_gateway = function (e) {
73
+ e.preventDefault();
74
+ var $el = $(e.currentTarget),
75
+ $row = $el.closest('tr'),
76
+ $toggle = $el.find('.woocommerce-input-toggle');
77
+ $toggle.addClass(this.params.loadingClass);
78
+ $.ajax({
79
+ url: wc_stripe_product_params.routes.enable_gateway,
80
+ method: 'POST',
81
+ dataType: 'json',
82
+ data: {
83
+ _wpnonce: wc_stripe_product_params._wpnonce,
84
+ product_id: $('#post_ID').val(),
85
+ gateway_id: $row.data('gateway_id')
86
+ }
87
+ }).done(function (response) {
88
+ $toggle.removeClass(this.params.loadingClass);
89
+ if (response.enabled) {
90
+ $toggle.addClass(this.params.enabledClass).removeClass(this.params.disabledClass);
91
+ } else {
92
+ $toggle.removeClass(this.params.enabledClass).addClass(this.params.disabledClass);
93
+ }
94
+ }.bind(this)).fail(function (xhr, errorStatus, errorThrown) {
95
+ $toggle.removeClass(this.params.loadingClass);
96
+ }.bind(this))
97
+ }
98
+
99
+ Product.prototype.save = function (e) {
100
+ e.preventDefault();
101
+ var $button = $(e.currentTarget);
102
+ var gateways = [],
103
+ charge_types = [];
104
+ $('[name^="stripe_gateway_order"]').each(function (idx, el) {
105
+ gateways.push($(el).val());
106
+ });
107
+ $('[name^="stripe_capture_type"]').each(function (idx, el) {
108
+ charge_types.push({
109
+ gateway: $(el).closest('tr').data('gateway_id'),
110
+ value: $(el).val()
111
+ });
112
+ })
113
+ $button.toggleClass('disabled').prop('disabled', true);
114
+ $button.next('.spinner').toggleClass('is-active');
115
+ $.ajax({
116
+ url: wc_stripe_product_params.routes.save,
117
+ method: 'POST',
118
+ dataType: 'json',
119
+ data: {
120
+ _wpnonce: wc_stripe_product_params._wpnonce,
121
+ gateways: gateways,
122
+ charge_types: charge_types,
123
+ product_id: $('#post_ID').val(),
124
+ position: $('#_stripe_button_position').val()
125
+ }
126
+ }).done(function (response) {
127
+ $button.toggleClass('disabled').prop('disabled', false);
128
+ $button.next('.spinner').toggleClass('is-active');
129
+ }).fail(function (xhr, errorStatus, errorthrown) {
130
+ $button.toggleClass('disabled').prop('disabled', false);
131
+ $button.next('.spinner').toggleClass('is-active');
132
+ }.bind(this))
133
+ }
134
+
135
+ new Product();
136
  }(jQuery))
assets/js/admin/modals.js CHANGED
@@ -1,137 +1,137 @@
1
- (function ($) {
2
-
3
- $.fn.WCStripePayOrderBackboneModal = function (options) {
4
- return this.each(function () {
5
- new $.WCStripePayOrderBackboneModal($(this), options);
6
- })
7
- }
8
-
9
- $.WCStripePayOrderBackboneModal = function (element, options) {
10
- var settings = $.extend({}, $.WCBackboneModal.defaultOptions, options);
11
-
12
- if (settings.template) {
13
- new $.WCStripePayOrderBackboneModal.View({
14
- target: settings.template,
15
- string: settings.params
16
- });
17
- }
18
- }
19
-
20
- $.WCStripePayOrderBackboneModal.View = $.WCBackboneModal.View.extend({
21
- events: _.extend($.WCBackboneModal.View.prototype.events, {
22
- 'click #pay-order': 'pay_order',
23
- 'change [name="payment_type"]': 'payment_type'
24
- }),
25
- render: function () {
26
- $.WCBackboneModal.View.prototype.render.apply(this, arguments);
27
- this.$el.find('.wc-select2').select2();
28
- this.init_card_element();
29
- this.payment_type();
30
- },
31
- init_card_element: function () {
32
- this.stripe = Stripe(wc_stripe_order_pay_params.api_key);
33
- var elements = this.stripe.elements();
34
- this.card = elements.create('card', {
35
- style: {
36
- 'base': {
37
- 'color': '#32325d',
38
- 'fontFamily': '"Helvetica Neue", Helvetica, sans-serif',
39
- 'fontSmoothing': 'antialiased',
40
- 'fontSize': '18px',
41
- '::placeholder': {
42
- 'color': '#aab7c4'
43
- }
44
-
45
- }
46
- },
47
- hidePostalCode: true
48
- });
49
- this.card.mount('#card-element');
50
- },
51
- pay_order: function (e) {
52
- e.preventDefault();
53
- if (!this.use_token()) {
54
- this.stripe.createPaymentMethod({
55
- type: 'card',
56
- card: this.card,
57
- billing_details: {
58
- name: $('#_billing_first_name').val() + ' ' + $('#_billing_last_name').val(),
59
- email: $('#_billing_email').val(),
60
- phone: $('#_billing_phone').val(),
61
- address: {
62
- city: $('#_billing_city').val(),
63
- country: $('#_billing_country').val(),
64
- line1: $('#_billing_address_1').val(),
65
- line2: $('#_billing_address_2').val(),
66
- state: $('#_billing_state').val(),
67
- postal_code: $('#_billing_postcode').val()
68
- }
69
- }
70
- }).then(function (result) {
71
- if (result.error) {
72
- this.add_messages(result.error.message);
73
- } else {
74
- $('[name="payment_nonce"]').val(result.paymentMethod.id);
75
- this.api_pay_order();
76
- }
77
- }.bind(this));
78
- } else {
79
- this.api_pay_order()
80
- }
81
- },
82
- api_pay_order: function () {
83
- this.block();
84
- $.ajax({
85
- url: wc_stripe_order_metabox_params.routes.pay,
86
- dataType: 'json',
87
- method: 'POST',
88
- data: $('#wc-stripe-pay-order-form').serialize(),
89
- beforeSend: function (xhr) {
90
- xhr.setRequestHeader('X-WP-Nonce', wc_stripe_order_metabox_params._wpnonce);
91
- }
92
- }).done(function (response) {
93
- if (response.code) {
94
- this.unblock();
95
- this.add_messages(response.message);
96
- } else {
97
- window.location.href = window.location.href;
98
- }
99
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
100
- this.add_messages(errorThrown);
101
- this.unblock();
102
- }.bind(this))
103
- },
104
- payment_type: function (e) {
105
- var val = this.$el.find('[name="payment_type"]:checked').val();
106
- var show_if = '.show_if_' + val,
107
- hide_if = '.hide_if_' + val;
108
- this.$el.find(show_if).show();
109
- this.$el.find(hide_if).hide();
110
- },
111
- block: function () {
112
- this.$el.find('.wc-backbone-modal-content').block({
113
- message: null,
114
- overlayCSS: {
115
- background: '#fff',
116
- opacity: 0.6
117
- }
118
- });
119
- },
120
- unblock: function () {
121
- this.$el.find('.wc-backbone-modal-content').unblock();
122
- },
123
- add_messages: function (messages) {
124
- this.$el.find('.woocommerce-error').remove();
125
- if (messages.indexOf('woocommerce-error') == -1) {
126
- messages = '<div class="woocommerce-error">' + messages + '</div>';
127
- }
128
- this.$el.find('form').prepend(messages);
129
- },
130
- use_token: function () {
131
- return this.$el.find('[name="payment_type"]:checked').val() === 'token';
132
- },
133
- set_nonce: function (value) {
134
- this.$el.find('[name="payment_nonce"]').val(value);
135
- }
136
- });
137
  }(jQuery));
1
+ (function ($) {
2
+
3
+ $.fn.WCStripePayOrderBackboneModal = function (options) {
4
+ return this.each(function () {
5
+ new $.WCStripePayOrderBackboneModal($(this), options);
6
+ })
7
+ }
8
+
9
+ $.WCStripePayOrderBackboneModal = function (element, options) {
10
+ var settings = $.extend({}, $.WCBackboneModal.defaultOptions, options);
11
+
12
+ if (settings.template) {
13
+ new $.WCStripePayOrderBackboneModal.View({
14
+ target: settings.template,
15
+ string: settings.params
16
+ });
17
+ }
18
+ }
19
+
20
+ $.WCStripePayOrderBackboneModal.View = $.WCBackboneModal.View.extend({
21
+ events: _.extend($.WCBackboneModal.View.prototype.events, {
22
+ 'click #pay-order': 'pay_order',
23
+ 'change [name="payment_type"]': 'payment_type'
24
+ }),
25
+ render: function () {
26
+ $.WCBackboneModal.View.prototype.render.apply(this, arguments);
27
+ this.$el.find('.wc-select2').select2();
28
+ this.init_card_element();
29
+ this.payment_type();
30
+ },
31
+ init_card_element: function () {
32
+ this.stripe = Stripe(wc_stripe_order_pay_params.api_key);
33
+ var elements = this.stripe.elements();
34
+ this.card = elements.create('card', {
35
+ style: {
36
+ 'base': {
37
+ 'color': '#32325d',
38
+ 'fontFamily': '"Helvetica Neue", Helvetica, sans-serif',
39
+ 'fontSmoothing': 'antialiased',
40
+ 'fontSize': '18px',
41
+ '::placeholder': {
42
+ 'color': '#aab7c4'
43
+ }
44
+
45
+ }
46
+ },
47
+ hidePostalCode: true
48
+ });
49
+ this.card.mount('#card-element');
50
+ },
51
+ pay_order: function (e) {
52
+ e.preventDefault();
53
+ if (!this.use_token()) {
54
+ this.stripe.createPaymentMethod({
55
+ type: 'card',
56
+ card: this.card,
57
+ billing_details: {
58
+ name: $('#_billing_first_name').val() + ' ' + $('#_billing_last_name').val(),
59
+ email: $('#_billing_email').val(),
60
+ phone: $('#_billing_phone').val(),
61
+ address: {
62
+ city: $('#_billing_city').val(),
63
+ country: $('#_billing_country').val(),
64
+ line1: $('#_billing_address_1').val(),
65
+ line2: $('#_billing_address_2').val(),
66
+ state: $('#_billing_state').val(),
67
+ postal_code: $('#_billing_postcode').val()
68
+ }
69
+ }
70
+ }).then(function (result) {
71
+ if (result.error) {
72
+ this.add_messages(result.error.message);
73
+ } else {
74
+ $('[name="payment_nonce"]').val(result.paymentMethod.id);
75
+ this.api_pay_order();
76
+ }
77
+ }.bind(this));
78
+ } else {
79
+ this.api_pay_order()
80
+ }
81
+ },
82
+ api_pay_order: function () {
83
+ this.block();
84
+ $.ajax({
85
+ url: wc_stripe_order_metabox_params.routes.pay,
86
+ dataType: 'json',
87
+ method: 'POST',
88
+ data: $('#wc-stripe-pay-order-form').serialize(),
89
+ beforeSend: function (xhr) {
90
+ xhr.setRequestHeader('X-WP-Nonce', wc_stripe_order_metabox_params._wpnonce);
91
+ }
92
+ }).done(function (response) {
93
+ if (response.code) {
94
+ this.unblock();
95
+ this.add_messages(response.message);
96
+ } else {
97
+ window.location.href = window.location.href;
98
+ }
99
+ }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
100
+ this.add_messages(errorThrown);
101
+ this.unblock();
102
+ }.bind(this))
103
+ },
104
+ payment_type: function (e) {
105
+ var val = this.$el.find('[name="payment_type"]:checked').val();
106
+ var show_if = '.show_if_' + val,
107
+ hide_if = '.hide_if_' + val;
108
+ this.$el.find(show_if).show();
109
+ this.$el.find(hide_if).hide();
110
+ },
111
+ block: function () {
112
+ this.$el.find('.wc-backbone-modal-content').block({
113
+ message: null,
114
+ overlayCSS: {
115
+ background: '#fff',
116
+ opacity: 0.6
117
+ }
118
+ });
119
+ },
120
+ unblock: function () {
121
+ this.$el.find('.wc-backbone-modal-content').unblock();
122
+ },
123
+ add_messages: function (messages) {
124
+ this.$el.find('.woocommerce-error').remove();
125
+ if (messages.indexOf('woocommerce-error') == -1) {
126
+ messages = '<div class="woocommerce-error">' + messages + '</div>';
127
+ }
128
+ this.$el.find('form').prepend(messages);
129
+ },
130
+ use_token: function () {
131
+ return this.$el.find('[name="payment_type"]:checked').val() === 'token';
132
+ },
133
+ set_nonce: function (value) {
134
+ this.$el.find('[name="payment_nonce"]').val(value);
135
+ }
136
+ });
137
  }(jQuery));
assets/js/frontend/afterpay.js CHANGED
@@ -1,128 +1,128 @@
1
- (function ($, wc_stripe) {
2
-
3
- function Utils() {
4
- }
5
-
6
- Utils.prototype.is_currency_supported = function () {
7
- return this.params.currencies.indexOf(this.get_currency()) > -1;
8
- }
9
-
10
- /**
11
- * Product page integration
12
- * @constructor
13
- */
14
- function AfterpayProduct(params) {
15
- wc_stripe.BaseGateway.call(this, params);
16
- wc_stripe.ProductGateway.call(this);
17
- $(document.body).on('change', '[name="quantity"]', this.mount_message.bind(this, true));
18
- }
19
-
20
- AfterpayProduct.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.ProductGateway.prototype, Utils.prototype, wc_stripe.Afterpay.prototype);
21
-
22
- AfterpayProduct.prototype.initialize = function () {
23
- if (!this.msgElement && this.is_currency_supported()) {
24
- this.create_element();
25
- this.mount_message();
26
- this.add_eligibility('#wc-stripe-afterpay-product-msg', this.get_product_price());
27
- }
28
- }
29
-
30
- AfterpayProduct.prototype.get_product_price = function (cents) {
31
- var qty = $('[name="quantity"]').val();
32
- if (!qty) {
33
- qty = 0;
34
- }
35
- if (cents) {
36
- return (this.get_product_data().price * Math.pow(10, 2)) * parseInt(qty);
37
- }
38
- return this.get_product_data().price * parseInt(qty);
39
- }
40
-
41
- AfterpayProduct.prototype.create_element = function () {
42
- this.msgElement = this.elements.create('afterpayClearpayMessage', $.extend({}, this.params.msg_options, {
43
- amount: this.get_product_price(true),
44
- currency: this.get_currency()
45
- }));
46
- }
47
-
48
- AfterpayProduct.prototype.mount_message = function (update) {
49
- if (this.msgElement) {
50
- if (update) {
51
- this.msgElement.update({
52
- amount: this.get_product_price(true),
53
- currency: this.get_currency(),
54
- isEligible: this.is_eligible(this.get_product_price())
55
- })
56
- }
57
- ;
58
- var $el = $('#wc-stripe-afterpay-product-msg');
59
- if (!$el.length) {
60
- if ($('.summary .price').length) {
61
- $('.summary .price').append('<div id="wc-stripe-afterpay-product-msg"></div>');
62
- } else {
63
- if ($('.price').length) {
64
- $($('.price')[0]).append('<div id="wc-stripe-afterpay-product-msg"></div>');
65
- }
66
- }
67
- }
68
- this.msgElement.mount('#wc-stripe-afterpay-product-msg');
69
- }
70
-
71
- }
72
-
73
- /**
74
- * Cart page integration
75
- * @constructor
76
- */
77
- function AfterpayCart(params) {
78
- wc_stripe.BaseGateway.call(this, params);
79
- wc_stripe.CartGateway.call(this);
80
- }
81
-
82
- AfterpayCart.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CartGateway.prototype, Utils.prototype, wc_stripe.Afterpay.prototype);
83
-
84
- AfterpayCart.prototype.initialize = function () {
85
- if (!this.msgElement && $(this.container).length && this.is_currency_supported()) {
86
- this.create_element();
87
- this.mount_message();
88
- this.add_eligibility('#wc-stripe-afterpay-cart-container', this.get_total_price());
89
- }
90
- }
91
-
92
- AfterpayCart.prototype.create_element = function () {
93
- this.msgElement = this.elements.create('afterpayClearpayMessage', $.extend({}, this.params.msg_options, {
94
- amount: this.get_total_price_cents(),
95
- currency: this.get_currency()
96
- }));
97
- }
98
-
99
- AfterpayCart.prototype.mount_message = function (update) {
100
- if (update && this.msgElement) {
101
- this.msgElement.update({
102
- amount: this.get_total_price_cents(),
103
- currency: this.get_currency(),
104
- isEligible: true
105
- })
106
- }
107
- var $el = $('#wc-stripe-afterpay-cart-container');
108
- if (!$el.length) {
109
- $('.cart_totals table.shop_table > tbody').append('<tr id="wc-stripe-afterpay-cart-container"><td colspan="2"><div id="wc-stripe-afterpay-cart-msg"></div></td></tr>');
110
- }
111
- this.msgElement.mount('#wc-stripe-afterpay-cart-msg');
112
- }
113
-
114
- AfterpayCart.prototype.updated_html = function () {
115
- if (!$(this.container).length || !this.is_currency_supported()) {
116
- return;
117
- }
118
- this.mount_message(true);
119
- this.add_eligibility('#wc-stripe-afterpay-cart-container', this.get_total_price());
120
- }
121
-
122
- if (typeof wc_stripe_afterpay_product_params !== 'undefined') {
123
- new AfterpayProduct(wc_stripe_afterpay_product_params);
124
- } else if (typeof wc_stripe_afterpay_cart_params !== 'undefined') {
125
- new AfterpayCart(wc_stripe_afterpay_cart_params);
126
- }
127
-
128
  })(jQuery, window.wc_stripe);
1
+ (function ($, wc_stripe) {
2
+
3
+ function Utils() {
4
+ }
5
+
6
+ Utils.prototype.is_currency_supported = function () {
7
+ return this.params.currencies.indexOf(this.get_currency()) > -1;
8
+ }
9
+
10
+ /**
11
+ * Product page integration
12
+ * @constructor
13
+ */
14
+ function AfterpayProduct(params) {
15
+ wc_stripe.BaseGateway.call(this, params);
16
+ wc_stripe.ProductGateway.call(this);
17
+ $(document.body).on('change', '[name="quantity"]', this.mount_message.bind(this, true));
18
+ }
19
+
20
+ AfterpayProduct.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.ProductGateway.prototype, Utils.prototype, wc_stripe.Afterpay.prototype);
21
+
22
+ AfterpayProduct.prototype.initialize = function () {
23
+ if (!this.msgElement && this.is_currency_supported()) {
24
+ this.create_element();
25
+ this.mount_message();
26
+ this.add_eligibility('#wc-stripe-afterpay-product-msg', this.get_product_price());
27
+ }
28
+ }
29
+
30
+ AfterpayProduct.prototype.get_product_price = function (cents) {
31
+ var qty = $('[name="quantity"]').val();
32
+ if (!qty) {
33
+ qty = 0;
34
+ }
35
+ if (cents) {
36
+ return (this.get_product_data().price * Math.pow(10, 2)) * parseInt(qty);
37
+ }
38
+ return this.get_product_data().price * parseInt(qty);
39
+ }
40
+
41
+ AfterpayProduct.prototype.create_element = function () {
42
+ this.msgElement = this.elements.create('afterpayClearpayMessage', $.extend({}, this.params.msg_options, {
43
+ amount: this.get_product_price(true),
44
+ currency: this.get_currency()
45
+ }));
46
+ }
47
+
48
+ AfterpayProduct.prototype.mount_message = function (update) {
49
+ if (this.msgElement) {
50
+ if (update) {
51
+ this.msgElement.update({
52
+ amount: this.get_product_price(true),
53
+ currency: this.get_currency(),
54
+ isEligible: this.is_eligible(this.get_product_price())
55
+ })
56
+ }
57
+ ;
58
+ var $el = $('#wc-stripe-afterpay-product-msg');
59
+ if (!$el.length) {
60
+ if ($('.summary .price').length) {
61
+ $('.summary .price').append('<div id="wc-stripe-afterpay-product-msg"></div>');
62
+ } else {
63
+ if ($('.price').length) {
64
+ $($('.price')[0]).append('<div id="wc-stripe-afterpay-product-msg"></div>');
65
+ }
66
+ }
67
+ }
68
+ this.msgElement.mount('#wc-stripe-afterpay-product-msg');
69
+ }
70
+
71
+ }
72
+
73
+ /**
74
+ * Cart page integration
75
+ * @constructor
76
+ */
77
+ function AfterpayCart(params) {
78
+ wc_stripe.BaseGateway.call(this, params);
79
+ wc_stripe.CartGateway.call(this);
80
+ }
81
+
82
+ AfterpayCart.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CartGateway.prototype, Utils.prototype, wc_stripe.Afterpay.prototype);
83
+
84
+ AfterpayCart.prototype.initialize = function () {
85
+ if (!this.msgElement && $(this.container).length && this.is_currency_supported()) {
86
+ this.create_element();
87
+ this.mount_message();
88
+ this.add_eligibility('#wc-stripe-afterpay-cart-container', this.get_total_price());
89
+ }
90
+ }
91
+
92
+ AfterpayCart.prototype.create_element = function () {
93
+ this.msgElement = this.elements.create('afterpayClearpayMessage', $.extend({}, this.params.msg_options, {
94
+ amount: this.get_total_price_cents(),
95
+ currency: this.get_currency()
96
+ }));
97
+ }
98
+
99
+ AfterpayCart.prototype.mount_message = function (update) {
100
+ if (update && this.msgElement) {
101
+ this.msgElement.update({
102
+ amount: this.get_total_price_cents(),
103
+ currency: this.get_currency(),
104
+ isEligible: true
105
+ })
106
+ }
107
+ var $el = $('#wc-stripe-afterpay-cart-container');
108
+ if (!$el.length) {
109
+ $('.cart_totals table.shop_table > tbody').append('<tr id="wc-stripe-afterpay-cart-container"><td colspan="2"><div id="wc-stripe-afterpay-cart-msg"></div></td></tr>');
110
+ }
111
+ this.msgElement.mount('#wc-stripe-afterpay-cart-msg');
112
+ }
113
+
114
+ AfterpayCart.prototype.updated_html = function () {
115
+ if (!$(this.container).length || !this.is_currency_supported()) {
116
+ return;
117
+ }
118
+ this.mount_message(true);
119
+ this.add_eligibility('#wc-stripe-afterpay-cart-container', this.get_total_price());
120
+ }
121
+
122
+ if (typeof wc_stripe_afterpay_product_params !== 'undefined') {
123
+ new AfterpayProduct(wc_stripe_afterpay_product_params);
124
+ } else if (typeof wc_stripe_afterpay_cart_params !== 'undefined') {
125
+ new AfterpayCart(wc_stripe_afterpay_cart_params);
126
+ }
127
+
128
  })(jQuery, window.wc_stripe);
assets/js/frontend/applepay-cart.js CHANGED
@@ -1,57 +1,57 @@
1
- (function ($, wc_stripe) {
2
-
3
- /**
4
- * @constructor
5
- */
6
- function ApplePay() {
7
- wc_stripe.BaseGateway.call(this, wc_stripe_applepay_cart_params);
8
- }
9
-
10
- /**
11
- * [prototype description]
12
- * @type {[type]}
13
- */
14
- ApplePay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CartGateway.prototype, wc_stripe.ApplePay.prototype);
15
-
16
- ApplePay.prototype.initialize = function () {
17
- wc_stripe.CartGateway.call(this);
18
- wc_stripe.ApplePay.prototype.initialize.call(this);
19
- this.canMakePayment().then(function () {
20
- $(this.container).addClass('active').parent().addClass('active');
21
- this.add_cart_totals_class();
22
- }.bind(this));
23
- }
24
-
25
- /**
26
- * @return {[type]}
27
- */
28
- ApplePay.prototype.append_button = function () {
29
- $('#wc-stripe-applepay-container').append(this.$button);
30
- }
31
-
32
- /**
33
- * @return {[type]}
34
- */
35
- ApplePay.prototype.updated_html = function () {
36
- if (!$(this.container).length) {
37
- this.can_pay = false;
38
- }
39
- if (this.can_pay) {
40
- this.create_button();
41
- $(this.container).show().addClass('active').parent().addClass('active');
42
- this.add_cart_totals_class();
43
- }
44
- }
45
-
46
- /**
47
- * Called when the cart has been emptied
48
- * @param {[type]} e [description]
49
- * @return {[type]} [description]
50
- */
51
- ApplePay.prototype.cart_emptied = function (e) {
52
- this.can_pay = false;
53
- }
54
-
55
- new ApplePay();
56
-
57
  }(jQuery, window.wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ /**
4
+ * @constructor
5
+ */
6
+ function ApplePay() {
7
+ wc_stripe.BaseGateway.call(this, wc_stripe_applepay_cart_params);
8
+ }
9
+
10
+ /**
11
+ * [prototype description]
12
+ * @type {[type]}
13
+ */
14
+ ApplePay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CartGateway.prototype, wc_stripe.ApplePay.prototype);
15
+
16
+ ApplePay.prototype.initialize = function () {
17
+ wc_stripe.CartGateway.call(this);
18
+ wc_stripe.ApplePay.prototype.initialize.call(this);
19
+ this.canMakePayment().then(function () {
20
+ $(this.container).addClass('active').parent().addClass('active');
21
+ this.add_cart_totals_class();
22
+ }.bind(this));
23
+ }
24
+
25
+ /**
26
+ * @return {[type]}
27
+ */
28
+ ApplePay.prototype.append_button = function () {
29
+ $('#wc-stripe-applepay-container').append(this.$button);
30
+ }
31
+
32
+ /**
33
+ * @return {[type]}
34
+ */
35
+ ApplePay.prototype.updated_html = function () {
36
+ if (!$(this.container).length) {
37
+ this.can_pay = false;
38
+ }
39
+ if (this.can_pay) {
40
+ this.create_button();
41
+ $(this.container).show().addClass('active').parent().addClass('active');
42
+ this.add_cart_totals_class();
43
+ }
44
+ }
45
+
46
+ /**
47
+ * Called when the cart has been emptied
48
+ * @param {[type]} e [description]
49
+ * @return {[type]} [description]
50
+ */
51
+ ApplePay.prototype.cart_emptied = function (e) {
52
+ this.can_pay = false;
53
+ }
54
+
55
+ new ApplePay();
56
+
57
  }(jQuery, window.wc_stripe))
assets/js/frontend/applepay-checkout.js CHANGED
@@ -1,82 +1,82 @@
1
- (function ($, wc_stripe) {
2
-
3
- /**
4
- * @constructor
5
- */
6
- function ApplePay() {
7
- wc_stripe.BaseGateway.call(this, wc_stripe_applepay_checkout_params);
8
- }
9
-
10
- /**
11
- * [prototype description]
12
- * @type {[type]}
13
- */
14
- ApplePay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype, wc_stripe.ApplePay.prototype);
15
-
16
- ApplePay.prototype.initialize = function () {
17
- wc_stripe.CheckoutGateway.call(this);
18
- $('form.checkout').on('change', '.form-row:not(.address-field) .input-text', this.update_payment_request.bind(this));
19
- if ($(this.container).length) {
20
- wc_stripe.ApplePay.prototype.initialize.call(this);
21
- }
22
- }
23
-
24
- ApplePay.prototype.canMakePayment = function () {
25
- wc_stripe.ApplePay.prototype.canMakePayment.apply(this, arguments).then(function () {
26
- if (this.banner_enabled()) {
27
- var $button = $(this.params.button);
28
- $button.addClass('banner-checkout');
29
- $button.on('click', this.start.bind(this));
30
- $(this.banner_container).empty().append($button);
31
- $(this.banner_container).show().addClass('active').closest('.wc-stripe-banner-checkout').addClass('active');
32
- }
33
- }.bind(this))
34
- }
35
-
36
- /**
37
- * @return {[type]}
38
- */
39
- ApplePay.prototype.append_button = function () {
40
- $('#place_order').after(this.$button);
41
- this.trigger_payment_method_selected();
42
- }
43
-
44
- ApplePay.prototype.updated_checkout = function () {
45
- if ($(this.container).length) {
46
- wc_stripe.ApplePay.prototype.initialize.call(this);
47
- }
48
- }
49
-
50
- /**
51
- * [Wrapper for main start function]
52
- * @param {[@event]} e [description]
53
- */
54
- ApplePay.prototype.start = function (e) {
55
- if ($(e.target).is('.banner-checkout')) {
56
- this.set_payment_method(this.gateway_id);
57
- this.set_use_new_option(true);
58
- $('[name="terms"]').prop('checked', true);
59
- }
60
- wc_stripe.ApplePay.prototype.start.apply(this, arguments);
61
- }
62
-
63
- ApplePay.prototype.on_token_received = function () {
64
- wc_stripe.CheckoutGateway.prototype.on_token_received.apply(this, arguments);
65
- if (this.payment_request_options.requestShipping) {
66
- this.maybe_set_ship_to_different();
67
- }
68
- this.fields.toFormFields({update_shipping_method: false});
69
- if (this.checkout_fields_valid()) {
70
- this.get_form().trigger('submit');
71
- }
72
- }
73
-
74
- ApplePay.prototype.update_payment_request = function () {
75
- if ($(this.container).length) {
76
- wc_stripe.ApplePay.prototype.initialize.call(this);
77
- }
78
- }
79
-
80
- new ApplePay();
81
-
82
  }(jQuery, window.wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ /**
4
+ * @constructor
5
+ */
6
+ function ApplePay() {
7
+ wc_stripe.BaseGateway.call(this, wc_stripe_applepay_checkout_params);
8
+ }
9
+
10
+ /**
11
+ * [prototype description]
12
+ * @type {[type]}
13
+ */
14
+ ApplePay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype, wc_stripe.ApplePay.prototype);
15
+
16
+ ApplePay.prototype.initialize = function () {
17
+ wc_stripe.CheckoutGateway.call(this);
18
+ $('form.checkout').on('change', '.form-row:not(.address-field) .input-text', this.update_payment_request.bind(this));
19
+ if ($(this.container).length) {
20
+ wc_stripe.ApplePay.prototype.initialize.call(this);
21
+ }
22
+ }
23
+
24
+ ApplePay.prototype.canMakePayment = function () {
25
+ wc_stripe.ApplePay.prototype.canMakePayment.apply(this, arguments).then(function () {
26
+ if (this.banner_enabled()) {
27
+ var $button = $(this.params.button);
28
+ $button.addClass('banner-checkout');
29
+ $button.on('click', this.start.bind(this));
30
+ $(this.banner_container).empty().append($button);
31
+ $(this.banner_container).show().addClass('active').closest('.wc-stripe-banner-checkout').addClass('active');
32
+ }
33
+ }.bind(this))
34
+ }
35
+
36
+ /**
37
+ * @return {[type]}
38
+ */
39
+ ApplePay.prototype.append_button = function () {
40
+ $('#place_order').after(this.$button);
41
+ this.trigger_payment_method_selected();
42
+ }
43
+
44
+ ApplePay.prototype.updated_checkout = function () {
45
+ if ($(this.container).length) {
46
+ wc_stripe.ApplePay.prototype.initialize.call(this);
47
+ }
48
+ }
49
+
50
+ /**
51
+ * [Wrapper for main start function]
52
+ * @param {[@event]} e [description]
53
+ */
54
+ ApplePay.prototype.start = function (e) {
55
+ if ($(e.target).is('.banner-checkout')) {
56
+ this.set_payment_method(this.gateway_id);
57
+ this.set_use_new_option(true);
58
+ $('[name="terms"]').prop('checked', true);
59
+ }
60
+ wc_stripe.ApplePay.prototype.start.apply(this, arguments);
61
+ }
62
+
63
+ ApplePay.prototype.on_token_received = function () {
64
+ wc_stripe.CheckoutGateway.prototype.on_token_received.apply(this, arguments);
65
+ if (this.payment_request_options.requestShipping) {
66
+ this.maybe_set_ship_to_different();
67
+ }
68
+ this.fields.toFormFields({update_shipping_method: false});
69
+ if (this.checkout_fields_valid()) {
70
+ this.get_form().trigger('submit');
71
+ }
72
+ }
73
+
74
+ ApplePay.prototype.update_payment_request = function () {
75
+ if ($(this.container).length) {
76
+ wc_stripe.ApplePay.prototype.initialize.call(this);
77
+ }
78
+ }
79
+
80
+ new ApplePay();
81
+
82
  }(jQuery, window.wc_stripe))
assets/js/frontend/applepay-product.js CHANGED
@@ -1,90 +1,90 @@
1
- (function ($, wc_stripe) {
2
-
3
- function ApplePay() {
4
- wc_stripe.BaseGateway.call(this, wc_stripe_applepay_product_params);
5
- this.old_qty = this.get_quantity();
6
- }
7
-
8
- /**
9
- * [prototype description]
10
- * @type {[type]}
11
- */
12
- ApplePay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.ProductGateway.prototype, wc_stripe.ApplePay.prototype);
13
-
14
- ApplePay.prototype.initialize = function () {
15
- if (!$('.wc_stripe_product_payment_methods ' + this.container).length) {
16
- setTimeout(this.initialize.bind(this), 1000);
17
- return;
18
- }
19
- this.container = '.wc_stripe_product_payment_methods ' + this.container;
20
- wc_stripe.ProductGateway.call(this);
21
- wc_stripe.ApplePay.prototype.initialize.call(this);
22
- }
23
-
24
- /**
25
- * @return {[type]}
26
- */
27
- ApplePay.prototype.canMakePayment = function () {
28
- wc_stripe.ApplePay.prototype.canMakePayment.call(this).then(function () {
29
- $(document.body).on('change', '[name="quantity"]', this.add_to_cart.bind(this));
30
- $(this.container).parent().parent().addClass('active');
31
- if (!this.is_variable_product()) {
32
- this.cart_calculation();
33
- } else {
34
- if (this.variable_product_selected()) {
35
- this.cart_calculation(this.get_product_data().variation.variation_id);
36
- } else {
37
- this.disable_payment_button();
38
- }
39
- }
40
- }.bind(this))
41
- }
42
-
43
- /**
44
- * @param {[type]}
45
- * @return {[type]}
46
- */
47
- ApplePay.prototype.start = function (e) {
48
- if (this.get_quantity() === 0) {
49
- e.preventDefault();
50
- this.submit_error(this.params.messages.invalid_amount);
51
- } else {
52
- wc_stripe.ApplePay.prototype.start.apply(this, arguments);
53
- }
54
- }
55
-
56
- /**
57
- * @return {[type]}
58
- */
59
- ApplePay.prototype.append_button = function () {
60
- $('#wc-stripe-applepay-container').append(this.$button);
61
- }
62
-
63
- ApplePay.prototype.add_to_cart = function () {
64
- this.disable_payment_button();
65
- this.old_qty = this.get_quantity();
66
- var variation = this.get_product_data().variation;
67
- if (!this.processing_calculation && (!this.is_variable_product() || this.variable_product_selected())) {
68
- this.cart_calculation(variation.variation_id).then(function () {
69
- if (this.is_variable_product()) {
70
- this.createPaymentRequest();
71
- wc_stripe.ApplePay.prototype.canMakePayment.apply(this, arguments).then(function () {
72
- this.enable_payment_button();
73
- }.bind(this));
74
- } else {
75
- this.enable_payment_button();
76
- }
77
- }.bind(this));
78
- }
79
- }
80
-
81
- ApplePay.prototype.found_variation = function (e) {
82
- wc_stripe.ProductGateway.prototype.found_variation.apply(this, arguments);
83
- if (this.can_pay) {
84
- this.add_to_cart();
85
- }
86
- }
87
-
88
- new ApplePay();
89
-
90
  }(jQuery, wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ function ApplePay() {
4
+ wc_stripe.BaseGateway.call(this, wc_stripe_applepay_product_params);
5
+ this.old_qty = this.get_quantity();
6
+ }
7
+
8
+ /**
9
+ * [prototype description]
10
+ * @type {[type]}
11
+ */
12
+ ApplePay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.ProductGateway.prototype, wc_stripe.ApplePay.prototype);
13
+
14
+ ApplePay.prototype.initialize = function () {
15
+ if (!$('.wc_stripe_product_payment_methods ' + this.container).length) {
16
+ setTimeout(this.initialize.bind(this), 1000);
17
+ return;
18
+ }
19
+ this.container = '.wc_stripe_product_payment_methods ' + this.container;
20
+ wc_stripe.ProductGateway.call(this);
21
+ wc_stripe.ApplePay.prototype.initialize.call(this);
22
+ }
23
+
24
+ /**
25
+ * @return {[type]}
26
+ */
27
+ ApplePay.prototype.canMakePayment = function () {
28
+ wc_stripe.ApplePay.prototype.canMakePayment.call(this).then(function () {
29
+ $(document.body).on('change', '[name="quantity"]', this.add_to_cart.bind(this));
30
+ $(this.container).parent().parent().addClass('active');
31
+ if (!this.is_variable_product()) {
32
+ this.cart_calculation();
33
+ } else {
34
+ if (this.variable_product_selected()) {
35
+ this.cart_calculation(this.get_product_data().variation.variation_id);
36
+ } else {
37
+ this.disable_payment_button();
38
+ }
39
+ }
40
+ }.bind(this))
41
+ }
42
+
43
+ /**
44
+ * @param {[type]}
45
+ * @return {[type]}
46
+ */
47
+ ApplePay.prototype.start = function (e) {
48
+ if (this.get_quantity() === 0) {
49
+ e.preventDefault();
50
+ this.submit_error(this.params.messages.invalid_amount);
51
+ } else {
52
+ wc_stripe.ApplePay.prototype.start.apply(this, arguments);
53
+ }
54
+ }
55
+
56
+ /**
57
+ * @return {[type]}
58
+ */
59
+ ApplePay.prototype.append_button = function () {
60
+ $('#wc-stripe-applepay-container').append(this.$button);
61
+ }
62
+
63
+ ApplePay.prototype.add_to_cart = function () {
64
+ this.disable_payment_button();
65
+ this.old_qty = this.get_quantity();
66
+ var variation = this.get_product_data().variation;
67
+ if (!this.processing_calculation && (!this.is_variable_product() || this.variable_product_selected())) {
68
+ this.cart_calculation(variation.variation_id).then(function () {
69
+ if (this.is_variable_product()) {
70
+ this.createPaymentRequest();
71
+ wc_stripe.ApplePay.prototype.canMakePayment.apply(this, arguments).then(function () {
72
+ this.enable_payment_button();
73
+ }.bind(this));
74
+ } else {
75
+ this.enable_payment_button();
76
+ }
77
+ }.bind(this));
78
+ }
79
+ }
80
+
81
+ ApplePay.prototype.found_variation = function (e) {
82
+ wc_stripe.ProductGateway.prototype.found_variation.apply(this, arguments);
83
+ if (this.can_pay) {
84
+ this.add_to_cart();
85
+ }
86
+ }
87
+
88
+ new ApplePay();
89
+
90
  }(jQuery, wc_stripe))
assets/js/frontend/cc-forms.js CHANGED
@@ -1,71 +1,71 @@
1
- (function($) {
2
- function minimalist() {
3
- this.index = 1;
4
- this.total_steps = $('.wc-stripe-steps').data('steps');
5
- this.updateSteppers();
6
- this.updateStyles();
7
- $(document.body).on('click', '.wc-stripe-back', this.prev.bind(this))
8
- .on('click', '.wc-stripe-next', this.next.bind(this))
9
- .on('updated_checkout', this.updated_checkout.bind(this));
10
- }
11
-
12
- minimalist.prototype.next = function(e) {
13
- e.preventDefault();
14
- this.index++;
15
- $('.wc-stripe-minimalist-form .field-container[data-index="' + this.index + '"]').removeClass('field-container--hidden');
16
- $('.wc-stripe-minimalist-form .field-container[data-index="' + (this.index - 1) + '"]').addClass('field-container--hidden');
17
- this.updateSteppers();
18
- }
19
-
20
- minimalist.prototype.prev = function(e) {
21
- e.preventDefault();
22
- this.index--;
23
- $('.wc-stripe-minimalist-form .field-container[data-index="' + (this.index + 1) + '"]').addClass('field-container--hidden');
24
- $('.wc-stripe-minimalist-form .field-container[data-index="' + this.index + '"]').removeClass('field-container--hidden');
25
- this.updateSteppers();
26
- }
27
-
28
- minimalist.prototype.updateText = function() {
29
- var text = $('.wc-stripe-step').data('text');
30
- $('.wc-stripe-step').text(text.replace('%s', this.index));
31
- }
32
-
33
- minimalist.prototype.updateSteppers = function() {
34
- if (this.index == 1) {
35
- $('.wc-stripe-back').hide();
36
- } else if (this.index == this.total_steps) {
37
- $('.wc-stripe-next').hide();
38
- } else {
39
- $('.wc-stripe-next').show();
40
- $('.wc-stripe-back').show();
41
- }
42
- this.updateText();
43
- }
44
-
45
- minimalist.prototype.updated_checkout = function() {
46
- $('.wc-stripe-minimalist-form .field-container[data-index="' + this.index + '"]').removeClass('field-container--hidden');
47
- this.updateSteppers();
48
- this.updateStyles();
49
- }
50
-
51
- minimalist.prototype.updateStyles = function() {
52
- if (wc_stripe.credit_card) {
53
- var width = $('ul.payment_methods').outerWidth();
54
- if ($('ul.payment_methods').outerWidth() < 400) {
55
- var options = {
56
- style: {
57
- base: {
58
- fontSize: '18px'
59
- }
60
- }
61
- };
62
- wc_stripe.credit_card.cardNumber.update(options);
63
- wc_stripe.credit_card.cardExpiry.update(options);
64
- wc_stripe.credit_card.cardCvc.update(options);
65
- $('ul.payment_methods').addClass('wc-stripe-sm');
66
- }
67
- }
68
- }
69
-
70
- new minimalist();
71
  }(jQuery))
1
+ (function($) {
2
+ function minimalist() {
3
+ this.index = 1;
4
+ this.total_steps = $('.wc-stripe-steps').data('steps');
5
+ this.updateSteppers();
6
+ this.updateStyles();
7
+ $(document.body).on('click', '.wc-stripe-back', this.prev.bind(this))
8
+ .on('click', '.wc-stripe-next', this.next.bind(this))
9
+ .on('updated_checkout', this.updated_checkout.bind(this));
10
+ }
11
+
12
+ minimalist.prototype.next = function(e) {
13
+ e.preventDefault();
14
+ this.index++;
15
+ $('.wc-stripe-minimalist-form .field-container[data-index="' + this.index + '"]').removeClass('field-container--hidden');
16
+ $('.wc-stripe-minimalist-form .field-container[data-index="' + (this.index - 1) + '"]').addClass('field-container--hidden');
17
+ this.updateSteppers();
18
+ }
19
+
20
+ minimalist.prototype.prev = function(e) {
21
+ e.preventDefault();
22
+ this.index--;
23
+ $('.wc-stripe-minimalist-form .field-container[data-index="' + (this.index + 1) + '"]').addClass('field-container--hidden');
24
+ $('.wc-stripe-minimalist-form .field-container[data-index="' + this.index + '"]').removeClass('field-container--hidden');
25
+ this.updateSteppers();
26
+ }
27
+
28
+ minimalist.prototype.updateText = function() {
29
+ var text = $('.wc-stripe-step').data('text');
30
+ $('.wc-stripe-step').text(text.replace('%s', this.index));
31
+ }
32
+
33
+ minimalist.prototype.updateSteppers = function() {
34
+ if (this.index == 1) {
35
+ $('.wc-stripe-back').hide();
36
+ } else if (this.index == this.total_steps) {
37
+ $('.wc-stripe-next').hide();
38
+ } else {
39
+ $('.wc-stripe-next').show();
40
+ $('.wc-stripe-back').show();
41
+ }
42
+ this.updateText();
43
+ }
44
+
45
+ minimalist.prototype.updated_checkout = function() {
46
+ $('.wc-stripe-minimalist-form .field-container[data-index="' + this.index + '"]').removeClass('field-container--hidden');
47
+ this.updateSteppers();
48
+ this.updateStyles();
49
+ }
50
+
51
+ minimalist.prototype.updateStyles = function() {
52
+ if (wc_stripe.credit_card) {
53
+ var width = $('ul.payment_methods').outerWidth();
54
+ if ($('ul.payment_methods').outerWidth() < 400) {
55
+ var options = {
56
+ style: {
57
+ base: {
58
+ fontSize: '18px'
59
+ }
60
+ }
61
+ };
62
+ wc_stripe.credit_card.cardNumber.update(options);
63
+ wc_stripe.credit_card.cardExpiry.update(options);
64
+ wc_stripe.credit_card.cardCvc.update(options);
65
+ $('ul.payment_methods').addClass('wc-stripe-sm');
66
+ }
67
+ }
68
+ }
69
+
70
+ new minimalist();
71
  }(jQuery))
assets/js/frontend/credit-card.js CHANGED
@@ -1,667 +1,667 @@
1
- (function ($, wc_stripe) {
2
-
3
- /**
4
- * Credit card class.
5
- *
6
- * @constructor
7
- */
8
- function CC() {
9
- this.elementStatus = {};
10
- wc_stripe.BaseGateway.call(this, wc_stripe_credit_card_params);
11
- wc_stripe.CheckoutGateway.call(this);
12
- this.message_container = this.params.notice_selector;
13
- window.addEventListener('hashchange', this.hashchange.bind(this));
14
- wc_stripe.credit_card = this;
15
- this.confirmedSetupIntent = false;
16
- this.has3DSecureParams();
17
- this.handle_create_account_change();
18
- $(document.body).on('change', '[name="stripe_cc_saved_method_key"]', this.maybe_initialize_installments.bind(this));
19
- $(document.body).on('wc_stripe_saved_method_' + this.gateway_id, this.maybe_initialize_installments.bind(this));
20
- }
21
-
22
- var elementClasses = {
23
- focus: 'focused',
24
- empty: 'empty',
25
- invalid: 'invalid'
26
- }
27
-
28
- CC.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype);
29
-
30
- CC.prototype.mappings = {
31
- cardNumber: '#stripe-card-number',
32
- cardExpiry: '#stripe-exp',
33
- cardCvc: '#stripe-cvv'
34
- }
35
-
36
- CC.prototype.handleActionMethod = 'handleCardAction';
37
- CC.prototype.setupActionMethod = 'confirmCardSetup';
38
-
39
- /**
40
- *
41
- */
42
- CC.prototype.initialize = function () {
43
- $(document.body).on('click', '#place_order', this.place_order.bind(this));
44
- $(document.body).on('change', '#createaccount', this.handle_create_account_change.bind(this));
45
- this.setup_card();
46
-
47
- if (this.can_create_setup_intent() && !this.is_payment_element_enabled()) {
48
- this.create_setup_intent();
49
- }
50
- if (this.is_payment_element_enabled()) {
51
- this.handleActionMethod = 'confirmCardPayment';
52
- }
53
- this.maybe_initialize_installments();
54
- }
55
-
56
- /**
57
- *
58
- */
59
- CC.prototype.setup_card = function () {
60
- if (this.is_custom_form()) {
61
- var options = $.extend(true, {
62
- classes: elementClasses
63
- }, this.params.cardOptions);
64
- // create individual card sections
65
- ['cardNumber', 'cardExpiry', 'cardCvc'].forEach(function (type) {
66
- this[type] = this.elements.create(type, $.extend(true, {}, options, this.params.customFieldOptions[type]));
67
- this.elementStatus[type] = {};
68
- this[type].on('change', this.on_card_element_change.bind(this));
69
- }.bind(this));
70
- this.cardNumber.on('change', this.card_number_change.bind(this));
71
- this.cardNumber.on('change', this.on_input_change.bind(this));
72
- this.cardExpiry.on('change', this.on_input_change.bind(this));
73
- this.cardCvc.on('change', this.on_input_change.bind(this));
74
- if (this.fields.required('billing_postcode') && '' !== this.fields.get('billing_postcode')) {
75
- if ($('#stripe-postal-code').length > 0) {
76
- $('#stripe-postal-code').val(this.fields.get('billing_postcode'));
77
- this.validate_postal_field();
78
- }
79
- }
80
- $(document.body).on('change', '#billing_postcode', function (e) {
81
- var val = $('#billing_postcode').val();
82
- $('#stripe-postal-code').val(val).trigger('keyup');
83
- }.bind(this));
84
- } else {
85
- if (this.is_payment_element_enabled()) {
86
- this.card = this.elements.create('payment', {
87
- fields: {
88
- billingDetails: this.is_current_page('checkout') ? {address: 'never'} : 'auto'
89
- },
90
- wallets: {applePay: 'never', googlePay: 'never'}
91
- });
92
- this.elementStatus.payment = {};
93
- } else {
94
- this.card = this.elements.create('card', $.extend(true, {}, {
95
- value: {
96
- postalCode: this.fields.get('billing_postcode', '')
97
- },
98
- hidePostalCode: this.fields.required('billing_postcode'),
99
- iconStyle: 'default'
100
- }, this.params.cardOptions));
101
- $(document.body).on('change', '#billing_postcode', function (e) {
102
- if (this.card) {
103
- this.card.update({value: $('#billing_postcode').val()});
104
- }
105
- }.bind(this));
106
- this.elementStatus.card = {};
107
- }
108
- this.card.on('change', this.on_card_element_change.bind(this));
109
- }
110
- // setup a timeout so CC element is always rendered.
111
- setInterval(this.create_card_element.bind(this), 2000);
112
- }
113
-
114
- CC.prototype.validate_postal_field = function () {
115
- if ($('#billing_postcode').length && $('#stripe-postal-code').length) {
116
- // validate postal code
117
- if (this.params.postal_regex[this.fields.get('billing_country')]) {
118
- var regex = this.params.postal_regex[this.fields.get('billing_country')],
119
- postal = $('#stripe-postal-code').val(),
120
- regExp = new RegExp(regex, "i");
121
- if (postal !== '') {
122
- if (regExp.exec(postal) !== null) {
123
- $('#stripe-postal-code').addClass('StripeElement--complete').removeClass('invalid');
124
- } else {
125
- $('#stripe-postal-code').removeClass('StripeElement--complete').addClass('invalid');
126
- }
127
- } else {
128
- $('#stripe-postal-code').removeClass('StripeElement--complete').removeClass('invalid');
129
- }
130
- } else {
131
- if ($('#stripe-postal-code').val() != 0) {
132
- $('#stripe-postal-code').addClass('StripeElement--complete');
133
- } else {
134
- $('#stripe-postal-code').removeClass('StripeElement--complete');
135
- }
136
- }
137
- } else if ($('#stripe-postal-code').length) {
138
- if ($('#stripe-postal-code').val() != '') {
139
- $('#stripe-postal-code').addClass('StripeElement--complete');
140
- } else {
141
- $('#stripe-postal-code').removeClass('StripeElement--complete');
142
- }
143
- }
144
- }
145
-
146
- /**
147
- *
148
- */
149
- CC.prototype.create_card_element = function () {
150
- if (this.is_custom_form()) {
151
- if ($('#wc-stripe-cc-custom-form').length && $('#wc-stripe-cc-custom-form').find('iframe').length == 0) {
152
- if ($(this.mappings.cardNumber).length) {
153
- this.cardNumber.mount(this.mappings.cardNumber);
154
- $(this.mappings.cardNumber).prepend(this.params.html.card_brand);
155
- }
156
- if ($(this.mappings.cardExpiry).length) {
157
- this.cardExpiry.mount(this.mappings.cardExpiry);
158
- }
159
- if ($(this.mappings.cardCvc).length) {
160
- this.cardCvc.mount(this.mappings.cardCvc);
161
- }
162
- if ($('#stripe-postal-code').length) {
163
- $('#stripe-postal-code, .postalCode').on('focus', function (e) {
164
- $('#stripe-postal-code').addClass('focused');
165
- }.bind(this));
166
- $('#stripe-postal-code, .postalCode').on('blur', function (e) {
167
- $('#stripe-postal-code').removeClass('focused').trigger('keyup');
168
- }.bind(this));
169
- $('#stripe-postal-code').on('keyup', function (e) {
170
- if ($('#stripe-postal-code').val() == 0) {
171
- $('#stripe-postal-code').addClass('empty');
172
- } else {
173
- $('#stripe-postal-code').removeClass('empty');
174
- }
175
- }.bind(this));
176
- $('#stripe-postal-code').on('change', this.validate_postal_field.bind(this));
177
- $('#stripe-postal-code').trigger('change');
178
- }
179
- }
180
- } else {
181
- if ($('#wc-stripe-card-element').length) {
182
- if ($('#wc-stripe-card-element').find('iframe').length == 0) {
183
- this.card.unmount();
184
- this.card.mount('#wc-stripe-card-element');
185
- if (!this.is_payment_element_enabled()) {
186
- this.card.update({
187
- value: {
188
- postalCode: this.fields.get('billing_postcode', '')
189
- },
190
- hidePostalCode: this.fields.required('billing_postcode')
191
- });
192
- }
193
- }
194
- }
195
- }
196
- if ($(this.container).outerWidth(true) < 450) {
197
- $(this.container).addClass('stripe-small-container');
198
- } else {
199
- $(this.container).removeClass('stripe-small-container');
200
- }
201
- }
202
-
203
- CC.prototype.place_order = function (e) {
204
- this.fields.syncCheckoutFieldsWithDOM();
205
- if (this.is_gateway_selected()) {
206
- if (this.can_create_setup_intent() && !this.is_saved_method_selected() && this.checkout_fields_valid()) {
207
- e.preventDefault();
208
- if (this.confirmedSetupIntent) {
209
- return this.on_setup_intent_received(this.confirmedSetupIntent);
210
- }
211
- if (this.is_payment_element_enabled()) {
212
- this.stripe.confirmSetup({
213
- elements: this.elements,
214
- confirmParams: (function () {
215
- var params = {return_url: ''};
216
- if (this.is_current_page('checkout')) {
217
- params.payment_method_data = {
218
- billing_details: this.get_billing_details()
219
- };
220
- }
221
- return params;
222
- }.bind(this)()), redirect: 'if_required'
223
- }).then(function (result) {
224
- if (result.error) {
225
- return this.submit_card_error(result.error);
226
- }
227
- this.confirmedSetupIntent = result.setupIntent;
228
- this.on_setup_intent_received(result.setupIntent);
229
- }.bind(this));
230
- } else {
231
- this.stripe.confirmCardSetup(this.client_secret, {
232
- payment_method: {
233
- card: this.is_custom_form() ? this.cardNumber : this.card,
234
- billing_details: (function () {
235
- if (this.is_current_page('checkout')) {
236
- return this.get_billing_details();
237
- }
238
- return $.extend({}, this.is_custom_form() ? {address: {postal_code: $('#stripe-postal-code').val()}} : {});
239
- }.bind(this)())
240
- }
241
- }).then(function (result) {
242
- if (result.error) {
243
- this.submit_card_error(result.error);
244
- return;
245
- }
246
- this.confirmedSetupIntent = result.setupIntent;
247
- this.on_setup_intent_received(result.setupIntent);
248
- }.bind(this))
249
- }
250
- } else {
251
- if (!this.payment_token_received && !this.is_saved_method_selected()) {
252
- e.preventDefault();
253
- if (this.checkout_fields_valid()) {
254
- if (this.is_payment_element_enabled()) {
255
- this.stripe.updatePaymentIntent({
256
- elements: this.elements,
257
- params: {
258
- payment_method_data: {
259
- billing_details: this.get_billing_details()
260
- }
261
- }
262
- }).then(function (result) {
263
- if (result.error) {
264
- return this.submit_card_error(result.error);
265
- }
266
- if (this.is_current_page('order_pay')) {
267
- this.set_nonce(result.paymentIntent.payment_method);
268
- return this.process_order_pay();
269
- }
270
- this.on_token_received(result.paymentIntent.payment_method);
271
- }.bind(this)).catch(function (error) {
272
- return this.submit_card_error(error);
273
- }.bind(this));
274
- } else {
275
- this.stripe.createPaymentMethod({
276
- type: 'card',
277
- card: this.is_custom_form() ? this.cardNumber : this.card,
278
- billing_details: this.get_billing_details()
279
- }).then(function (result) {
280
- if (result.error) {
281
- return this.submit_card_error(result.error);
282
- }
283
- if (this.is_current_page('order_pay')) {
284
- this.set_nonce(result.paymentMethod.id);
285
- this.process_order_pay();
286
- } else {
287
- this.on_token_received(result.paymentMethod);
288
- }
289
- }.bind(this))
290
- }
291
- }
292
- }
293
- }
294
- }
295
- }
296
-
297
- /**
298
- * @since 3.1.8 - added to ensure 3rd party plugin's can't stop the tokenization process
299
- * if e.preventDefault is called on place_order
300
- * @returns {boolean}
301
- */
302
- CC.prototype.checkout_place_order = function () {
303
- if (!this.is_saved_method_selected() && !this.payment_token_received) {
304
- this.place_order.apply(this, arguments);
305
- return false;
306
- }
307
- return wc_stripe.CheckoutGateway.prototype.checkout_place_order.apply(this, arguments);
308
- }
309
-
310
- /**
311
- *
312
- */
313
- CC.prototype.on_token_received = function (paymentMethod) {
314
- this.payment_token_received = true;
315
- if (paymentMethod.hasOwnProperty('id')) {
316
- this.set_nonce(paymentMethod.id);
317
- } else {
318
- this.set_nonce(paymentMethod);
319
- }
320
- this.get_form().trigger('submit');
321
- }
322
-
323
- /**
324
- *
325
- */
326
- CC.prototype.on_setup_intent_received = function (setup_intent) {
327
- this.payment_token_received = true;
328
- this.set_nonce(setup_intent.payment_method);
329
- this.set_intent(setup_intent.id);
330
- this.get_form().trigger('submit');
331
- }
332
-
333
- /**
334
- *
335
- */
336
- CC.prototype.updated_checkout = function (e, data) {
337
- if (typeof data !== 'undefined' && data.fragments && data.fragments.hasOwnProperty('.wc-stripe-intent-secret')) {
338
- // if client secret has changed, update the elements
339
- if (this.params.elementOptions.clientSecret !== data.fragments['.wc-stripe-intent-secret']) {
340
- this.params.elementOptions.clientSecret = data.fragments['.wc-stripe-intent-secret'];
341
- this.params.cardFormType = 'payment';
342
- this.elements = this.create_stripe_elements();
343
- this.setup_card();
344
- }
345
- }
346
- this.create_card_element();
347
- this.handle_create_account_change();
348
- if (this.can_create_setup_intent() && !this.client_secret && !this.is_payment_element_enabled()) {
349
- this.create_setup_intent();
350
- }
351
- }
352
-
353
- /**
354
- *
355
- */
356
- CC.prototype.update_checkout = function () {
357
- this.clear_card_elements();
358
- }
359
-
360
- CC.prototype.show_payment_button = function () {
361
- wc_stripe.CheckoutGateway.prototype.show_place_order.apply(this, arguments);
362
- }
363
-
364
- /**
365
- * [Leave empty so that the place order button is not hidden]
366
- * @return {[type]} [description]
367
- */
368
- CC.prototype.hide_place_order = function () {
369
-
370
- }
371
-
372
- /**
373
- * Returns true if a custom form is being used.
374
- * @return {Boolean} [description]
375
- */
376
- CC.prototype.is_custom_form = function () {
377
- return this.params.custom_form === "1";
378
- }
379
-
380
- CC.prototype.get_postal_code = function () {
381
- if (this.is_custom_form()) {
382
- if ($('#stripe-postal-code').length > 0) {
383
- return $('#stripe-postal-code').val();
384
- }
385
- }
386
- return this.fields.get(this.get_billing_prefix() + '_postcode', null);
387
- }
388
-
389
- CC.prototype.card_number_change = function (data) {
390
- if (data.brand === "unknown") {
391
- $('#wc-stripe-card').removeClass('active');
392
- } else {
393
- $('#wc-stripe-card').addClass('active');
394
- }
395
- $('#wc-stripe-card').attr('src', this.params.cards[data.brand]);
396
- }
397
-
398
- CC.prototype.on_input_change = function (event) {
399
- if (event.complete) {
400
- var $elements = $('#wc-stripe-cc-custom-form').find('.StripeElement, #stripe-postal-code');
401
- var order = [];
402
- $elements.each(function (idx, el) {
403
- order.push('#' + $(el).attr('id'));
404
- }.bind(this));
405
- var selector = this.mappings[event.elementType];
406
- var idx = order.indexOf(selector);
407
- if (typeof order[idx + 1] !== 'undefined') {
408
- if (order[idx + 1] === '#stripe-postal-code') {
409
- document.getElementById('stripe-postal-code').focus();
410
- } else {
411
- for (var k in this.mappings) {
412
- if (this.mappings[k] === order[idx + 1]) {
413
- this[k].focus();
414
- }
415
- }
416
- }
417
- }
418
- }
419
- }
420
-
421
- CC.prototype.clear_card_elements = function () {
422
- var elements = ['cardNumber', 'cardExpiry', 'cardCvc'];
423
- for (var i = 0; i < elements.length; i++) {
424
- if (this[elements[i]]) {
425
- this[elements[i]].clear();
426
- }
427
- }
428
- }
429
-
430
- CC.prototype.checkout_error = function () {
431
- if (this.is_gateway_selected()) {
432
- this.payment_token_received = false;
433
- }
434
- wc_stripe.CheckoutGateway.prototype.checkout_error.call(this);
435
- }
436
-
437
- CC.prototype.get_billing_details = function () {
438
- var details = wc_stripe.BaseGateway.prototype.get_billing_details.call(this);
439
- details.address.postal_code = this.get_postal_code();
440
- return details;
441
- }
442
-
443
- CC.prototype.can_create_setup_intent = function () {
444
- return this.is_add_payment_method_page() || this.is_change_payment_method() ||
445
- (this.is_current_page('checkout') && this.cart_contains_subscription() && this.get_gateway_data() && this.get_total_price_cents() == 0) ||
446
- (this.is_current_page(['checkout', 'product']) && typeof wc_stripe_preorder_exists !== 'undefined') ||
447
- (this.is_current_page('order_pay') && 'pre_order' in this.get_gateway_data() && this.get_gateway_data().pre_order === true) ||
448
- (this.is_current_page('product') && this.get_total_price_cents() == 0);
449
- }
450
-
451
- CC.prototype.handle_create_account_change = function () {
452
- if ($('#createaccount').length) {
453
- if ($('#createaccount').is(':checked') && !this.linkPaymentEnabled) {
454
- this.show_save_card();
455
- } else {
456
- this.hide_save_card();
457
- }
458
- }
459
- }
460
-
461
- CC.prototype.hide_save_card = function () {
462
- $('.wc-stripe-save-source').hide();
463
- }
464
-
465
- CC.prototype.show_save_card = function () {
466
- $('.wc-stripe-save-source').show();
467
- }
468
-
469
- CC.prototype.submit_card_error = function (error) {
470
- if (this.params.notice_location === 'bcf') {
471
- $('.wc-stripe-card-notice').remove();
472
- $('.wc-stripe_cc-new-method-container').append('<div class="wc-stripe-card-notice"></div>');
473
- }
474
- wc_stripe.BaseGateway.prototype.submit_error.call(this, error, true);
475
- }
476
-
477
- CC.prototype.container_styles = function () {
478
- wc_stripe.CheckoutGateway.prototype.container_styles.apply(this, arguments);
479
- if (this.is_custom_form()) {
480
- $(this.container).find('.payment_box').addClass('custom-form__' + this.params.custom_form_name);
481
- }
482
- }
483
-
484
- CC.prototype.checkout_fields_valid = function () {
485
- var valid = this.is_valid_checkout();
486
- if (!valid) {
487
- this.submit_error(this.params.messages.terms);
488
- }
489
- return valid;
490
- }
491
-
492
- CC.prototype.is_installments_available = function () {
493
- var data = this.get_gateway_data();
494
- if (data) {
495
- return !!data.installments.enabled
496
- }
497
- return false;
498
- }
499
-
500
- CC.prototype.update_element_status = function (event) {
501
- this.elementStatus[event.elementType] = event;
502
- }
503
-
504
- CC.prototype.is_card_form_complete = function () {
505
- return Object.keys(this.elementStatus).filter(function (key) {
506
- return !!this.elementStatus[key].complete;
507
- }.bind(this)).length == Object.keys(this.elementStatus).length;
508
- }
509
-
510
- CC.prototype.on_card_element_change = function (event) {
511
- this.update_element_status(event);
512
- if (this.is_current_page(['checkout', 'order_pay']) && this.is_card_form_complete() && this.is_installments_available()) {
513
- this.initialize_installments();
514
- }
515
- }
516
-
517
- CC.prototype.initialize_installments = function (paymentMethodId) {
518
- if (this.installmentTimeoutId) {
519
- clearTimeout(this.installmentTimeoutId);
520
- }
521
- this.installmentTimeoutId = setTimeout(function (paymentMethodId) {
522
- if (paymentMethodId) {
523
- this.show_installment_loader();
524
- this.fetch_installment_plans(paymentMethodId).finally(function () {
525
- this.hide_installment_loader();
526
- }.bind(this));
527
- } else {
528
- if (this.is_payment_element_enabled()) {
529
- this.stripe.updatePaymentIntent({
530
- elements: this.elements,
531
- params: {
532
- payment_method_data: {
533
- billing_details: this.get_billing_details()
534
- }
535
- }
536
- }).then(function (result) {
537
- if (!result.error) {
538
- this.show_installment_loader();
539
- this.fetch_installment_plans(result.paymentIntent.payment_method).finally(function () {
540
- this.hide_installment_loader();
541
- }.bind(this));
542
- } else {
543
- this.hide_installment_loader();
544
- }
545
- }.bind(this)).catch(this.hide_installment_loader.bind(this));
546
- } else {
547
- this.stripe.createPaymentMethod({
548
- type: 'card',
549
- card: this.is_custom_form() ? this.cardNumber : this.card,
550
- billing_details: this.get_billing_details()
551
- }).then(function (result) {
552
- if (!result.error) {
553
- this.show_installment_loader();
554
- this.fetch_installment_plans(result.paymentMethod.id).finally(function () {
555
- this.hide_installment_loader();
556
- }.bind(this));
557
- } else {
558
- this.hide_installment_loader();
559
- }
560
- }.bind(this)).catch(this.hide_installment_loader.bind(this));
561
- }
562
- }
563
- }.bind(this, paymentMethodId), 250);
564
- }
565
-
566
- CC.prototype.fetch_installment_plans = function (paymentMethodId) {
567
- return this.fetch_payment_intent(paymentMethodId).then(function (response) {
568
- if (response.installments_html) {
569
- $('.wc-stripe-installment-container').replaceWith(response.installments_html);
570
- }
571
- }.bind(this)).catch(function (response) {
572
- return this.submit_card_error(response);
573
- }.bind(this)).finally(function () {
574
-
575
- }.bind(this));
576
- }
577
-
578
- CC.prototype.fetch_payment_intent = function (payment_method_id) {
579
- return new Promise(function (resolve, reject) {
580
- var url = this.params.routes.create_payment_intent;
581
- var order_pay = false;
582
- if (this.is_current_page('order_pay')) {
583
- var url = this.params.routes.order_create_payment_intent;
584
- order_pay = true;
585
- }
586
- $.ajax({
587
- url: url,
588
- method: 'POST',
589
- dataType: 'json',
590
- data: !order_pay ? $.extend({}, this.serialize_fields(), {
591
- payment_method_id: payment_method_id,
592
- payment_method: this.gateway_id,
593
- page_id: this.get_page()
594
- }) : {
595
- payment_method_id: payment_method_id,
596
- payment_method: this.gateway_id,
597
- order_id: this.get_gateway_data().order.id,
598
- order_key: this.get_gateway_data().order.key
599
- },
600
- beforeSend: this.ajax_before_send.bind(this)
601
- }).done(function (response) {
602
- if (response.code) {
603
- reject(response);
604
- } else {
605
- resolve(response);
606
- }
607
- }.bind(this)).fail(function (xhr) {
608
- reject()
609
- }.bind(this))
610
- }.bind(this))
611
- }
612
-
613
- CC.prototype.show_installment_loader = function () {
614
- $('.wc-stripe-installment-options').addClass('loading-installments');
615
- var $option = $('[name="_stripe_installment_plan"] option:selected').eq(0);
616
- $option.text(this.params.installments.loading);
617
- $('.wc-stripe-installment-loader').show();
618
- }
619
-
620
- CC.prototype.hide_installment_loader = function (has_error) {
621
- $('.wc-stripe-installment-options').removeClass('loading-installments');
622
- $('.wc-stripe-installment-loader').hide();
623
- }
624
-
625
- CC.prototype.maybe_initialize_installments = function () {
626
- if (this.is_installments_available() && this.is_saved_method_selected()) {
627
- this.initialize_installments(this.get_selected_payment_method());
628
- }
629
- }
630
-
631
- CC.prototype.is_payment_element_enabled = function () {
632
- return this.params.cardFormType === 'payment'
633
- }
634
-
635
- CC.prototype.handle_payment_method_setup = function (obj) {
636
- if (this.is_payment_element_enabled()) {
637
- this.stripe.confirmSetup({
638
- elements: this.elements,
639
- confirmParams: {
640
- payment_method_data: {
641
- billing_details: this.get_billing_details()
642
- }
643
- },
644
- redirect: 'if_required'
645
- }).then(function (result) {
646
- if (result.error) {
647
- this.unblock();
648
- this.payment_token_received = false;
649
- this.submit_error(result.error);
650
- } else {
651
- if (this.is_current_page('order_pay')) {
652
- this.get_form().trigger('submit');
653
- } else {
654
- this.set_nonce(result.setupIntent.payment_method);
655
- this.set_intent(result.setupIntent.id);
656
- this.process_payment(obj.order_id, obj.order_key);
657
- }
658
- }
659
- }.bind(this));
660
- } else {
661
- wc_stripe.BaseGateway.prototype.handle_payment_method_setup.apply(this, arguments);
662
- }
663
- }
664
-
665
- new CC();
666
-
667
  }(jQuery, window.wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ /**
4
+ * Credit card class.
5
+ *
6
+ * @constructor
7
+ */
8
+ function CC() {
9
+ this.elementStatus = {};
10
+ wc_stripe.BaseGateway.call(this, wc_stripe_credit_card_params);
11
+ wc_stripe.CheckoutGateway.call(this);
12
+ this.message_container = this.params.notice_selector;
13
+ window.addEventListener('hashchange', this.hashchange.bind(this));
14
+ wc_stripe.credit_card = this;
15
+ this.confirmedSetupIntent = false;
16
+ this.has3DSecureParams();
17
+ this.handle_create_account_change();
18
+ $(document.body).on('change', '[name="stripe_cc_saved_method_key"]', this.maybe_initialize_installments.bind(this));
19
+ $(document.body).on('wc_stripe_saved_method_' + this.gateway_id, this.maybe_initialize_installments.bind(this));
20
+ }
21
+
22
+ var elementClasses = {
23
+ focus: 'focused',
24
+ empty: 'empty',
25
+ invalid: 'invalid'
26
+ }
27
+
28
+ CC.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype);
29
+
30
+ CC.prototype.mappings = {
31
+ cardNumber: '#stripe-card-number',
32
+ cardExpiry: '#stripe-exp',
33
+ cardCvc: '#stripe-cvv'
34
+ }
35
+
36
+ CC.prototype.handleActionMethod = 'handleCardAction';
37
+ CC.prototype.setupActionMethod = 'confirmCardSetup';
38
+
39
+ /**
40
+ *
41
+ */
42
+ CC.prototype.initialize = function () {
43
+ $(document.body).on('click', '#place_order', this.place_order.bind(this));
44
+ $(document.body).on('change', '#createaccount', this.handle_create_account_change.bind(this));
45
+ this.setup_card();
46
+
47
+ if (this.can_create_setup_intent() && !this.is_payment_element_enabled()) {
48
+ this.create_setup_intent();
49
+ }
50
+ if (this.is_payment_element_enabled()) {
51
+ this.handleActionMethod = 'confirmCardPayment';
52
+ }
53
+ this.maybe_initialize_installments();
54
+ }
55
+
56
+ /**
57
+ *
58
+ */
59
+ CC.prototype.setup_card = function () {
60
+ if (this.is_custom_form()) {
61
+ var options = $.extend(true, {
62
+ classes: elementClasses
63
+ }, this.params.cardOptions);
64
+ // create individual card sections
65
+ ['cardNumber', 'cardExpiry', 'cardCvc'].forEach(function (type) {
66
+ this[type] = this.elements.create(type, $.extend(true, {}, options, this.params.customFieldOptions[type]));
67
+ this.elementStatus[type] = {};
68
+ this[type].on('change', this.on_card_element_change.bind(this));
69
+ }.bind(this));
70
+ this.cardNumber.on('change', this.card_number_change.bind(this));
71
+ this.cardNumber.on('change', this.on_input_change.bind(this));
72
+ this.cardExpiry.on('change', this.on_input_change.bind(this));
73
+ this.cardCvc.on('change', this.on_input_change.bind(this));
74
+ if (this.fields.required('billing_postcode') && '' !== this.fields.get('billing_postcode')) {
75
+ if ($('#stripe-postal-code').length > 0) {
76
+ $('#stripe-postal-code').val(this.fields.get('billing_postcode'));
77
+ this.validate_postal_field();
78
+ }
79
+ }
80
+ $(document.body).on('change', '#billing_postcode', function (e) {
81
+ var val = $('#billing_postcode').val();
82
+ $('#stripe-postal-code').val(val).trigger('keyup');
83
+ }.bind(this));
84
+ } else {
85
+ if (this.is_payment_element_enabled()) {
86
+ this.card = this.elements.create('payment', {
87
+ fields: {
88
+ billingDetails: this.is_current_page('checkout') ? {address: 'never'} : 'auto'
89
+ },
90
+ wallets: {applePay: 'never', googlePay: 'never'}
91
+ });
92
+ this.elementStatus.payment = {};
93
+ } else {
94
+ this.card = this.elements.create('card', $.extend(true, {}, {
95
+ value: {
96
+ postalCode: this.fields.get('billing_postcode', '')
97
+ },
98
+ hidePostalCode: this.fields.required('billing_postcode'),
99
+ iconStyle: 'default'
100
+ }, this.params.cardOptions));
101
+ $(document.body).on('change', '#billing_postcode', function (e) {
102
+ if (this.card) {
103
+ this.card.update({value: $('#billing_postcode').val()});
104
+ }
105
+ }.bind(this));
106
+ this.elementStatus.card = {};
107
+ }
108
+ this.card.on('change', this.on_card_element_change.bind(this));
109
+ }
110
+ // setup a timeout so CC element is always rendered.
111
+ setInterval(this.create_card_element.bind(this), 2000);
112
+ }
113
+
114
+ CC.prototype.validate_postal_field = function () {
115
+ if ($('#billing_postcode').length && $('#stripe-postal-code').length) {
116
+ // validate postal code
117
+ if (this.params.postal_regex[this.fields.get('billing_country')]) {
118
+ var regex = this.params.postal_regex[this.fields.get('billing_country')],
119
+ postal = $('#stripe-postal-code').val(),
120
+ regExp = new RegExp(regex, "i");
121
+ if (postal !== '') {
122
+ if (regExp.exec(postal) !== null) {
123
+ $('#stripe-postal-code').addClass('StripeElement--complete').removeClass('invalid');
124
+ } else {
125
+ $('#stripe-postal-code').removeClass('StripeElement--complete').addClass('invalid');
126
+ }
127
+ } else {
128
+ $('#stripe-postal-code').removeClass('StripeElement--complete').removeClass('invalid');
129
+ }
130
+ } else {
131
+ if ($('#stripe-postal-code').val() != 0) {
132
+ $('#stripe-postal-code').addClass('StripeElement--complete');
133
+ } else {
134
+ $('#stripe-postal-code').removeClass('StripeElement--complete');
135
+ }
136
+ }
137
+ } else if ($('#stripe-postal-code').length) {
138
+ if ($('#stripe-postal-code').val() != '') {
139
+ $('#stripe-postal-code').addClass('StripeElement--complete');
140
+ } else {
141
+ $('#stripe-postal-code').removeClass('StripeElement--complete');
142
+ }
143
+ }
144
+ }
145
+
146
+ /**
147
+ *
148
+ */
149
+ CC.prototype.create_card_element = function () {
150
+ if (this.is_custom_form()) {
151
+ if ($('#wc-stripe-cc-custom-form').length && $('#wc-stripe-cc-custom-form').find('iframe').length == 0) {
152
+ if ($(this.mappings.cardNumber).length) {
153
+ this.cardNumber.mount(this.mappings.cardNumber);
154
+ $(this.mappings.cardNumber).prepend(this.params.html.card_brand);
155
+ }
156
+ if ($(this.mappings.cardExpiry).length) {
157
+ this.cardExpiry.mount(this.mappings.cardExpiry);
158
+ }
159
+ if ($(this.mappings.cardCvc).length) {
160
+ this.cardCvc.mount(this.mappings.cardCvc);
161
+ }
162
+ if ($('#stripe-postal-code').length) {
163
+ $('#stripe-postal-code, .postalCode').on('focus', function (e) {
164
+ $('#stripe-postal-code').addClass('focused');
165
+ }.bind(this));
166
+ $('#stripe-postal-code, .postalCode').on('blur', function (e) {
167
+ $('#stripe-postal-code').removeClass('focused').trigger('keyup');
168
+ }.bind(this));
169
+ $('#stripe-postal-code').on('keyup', function (e) {
170
+ if ($('#stripe-postal-code').val() == 0) {
171
+ $('#stripe-postal-code').addClass('empty');
172
+ } else {
173
+ $('#stripe-postal-code').removeClass('empty');
174
+ }
175
+ }.bind(this));
176
+ $('#stripe-postal-code').on('change', this.validate_postal_field.bind(this));
177
+ $('#stripe-postal-code').trigger('change');
178
+ }
179
+ }
180
+ } else {
181
+ if ($('#wc-stripe-card-element').length) {
182
+ if ($('#wc-stripe-card-element').find('iframe').length == 0) {
183
+ this.card.unmount();
184
+ this.card.mount('#wc-stripe-card-element');
185
+ if (!this.is_payment_element_enabled()) {
186
+ this.card.update({
187
+ value: {
188
+ postalCode: this.fields.get('billing_postcode', '')
189
+ },
190
+ hidePostalCode: this.fields.required('billing_postcode')
191
+ });
192
+ }
193
+ }
194
+ }
195
+ }
196
+ if ($(this.container).outerWidth(true) < 450) {
197
+ $(this.container).addClass('stripe-small-container');
198
+ } else {
199
+ $(this.container).removeClass('stripe-small-container');
200
+ }
201
+ }
202
+
203
+ CC.prototype.place_order = function (e) {
204
+ this.fields.syncCheckoutFieldsWithDOM();
205
+ if (this.is_gateway_selected()) {
206
+ if (this.can_create_setup_intent() && !this.is_saved_method_selected() && this.checkout_fields_valid()) {
207
+ e.preventDefault();
208
+ if (this.confirmedSetupIntent) {
209
+ return this.on_setup_intent_received(this.confirmedSetupIntent);
210
+ }
211
+ if (this.is_payment_element_enabled()) {
212
+ this.stripe.confirmSetup({
213
+ elements: this.elements,
214
+ confirmParams: (function () {
215
+ var params = {return_url: ''};
216
+ if (this.is_current_page('checkout')) {
217
+ params.payment_method_data = {
218
+ billing_details: this.get_billing_details()
219
+ };
220
+ }
221
+ return params;
222
+ }.bind(this)()), redirect: 'if_required'
223
+ }).then(function (result) {
224
+ if (result.error) {
225
+ return this.submit_card_error(result.error);
226
+ }
227
+ this.confirmedSetupIntent = result.setupIntent;
228
+ this.on_setup_intent_received(result.setupIntent);
229
+ }.bind(this));
230
+ } else {
231
+ this.stripe.confirmCardSetup(this.client_secret, {
232
+ payment_method: {
233
+ card: this.is_custom_form() ? this.cardNumber : this.card,
234
+ billing_details: (function () {
235
+ if (this.is_current_page('checkout')) {
236
+ return this.get_billing_details();
237
+ }
238
+ return $.extend({}, this.is_custom_form() ? {address: {postal_code: $('#stripe-postal-code').val()}} : {});
239
+ }.bind(this)())
240
+ }
241
+ }).then(function (result) {
242
+ if (result.error) {
243
+ this.submit_card_error(result.error);
244
+ return;
245
+ }
246
+ this.confirmedSetupIntent = result.setupIntent;
247
+ this.on_setup_intent_received(result.setupIntent);
248
+ }.bind(this))
249
+ }
250
+ } else {
251
+ if (!this.payment_token_received && !this.is_saved_method_selected()) {
252
+ e.preventDefault();
253
+ if (this.checkout_fields_valid()) {
254
+ if (this.is_payment_element_enabled()) {
255
+ this.stripe.updatePaymentIntent({
256
+ elements: this.elements,
257
+ params: {
258
+ payment_method_data: {
259
+ billing_details: this.get_billing_details()
260
+ }
261
+ }
262
+ }).then(function (result) {
263
+ if (result.error) {
264
+ return this.submit_card_error(result.error);
265
+ }
266
+ if (this.is_current_page('order_pay')) {
267
+ this.set_nonce(result.paymentIntent.payment_method);
268
+ return this.process_order_pay();
269
+ }
270
+ this.on_token_received(result.paymentIntent.payment_method);
271
+ }.bind(this)).catch(function (error) {
272
+ return this.submit_card_error(error);
273
+ }.bind(this));
274
+ } else {
275
+ this.stripe.createPaymentMethod({
276
+ type: 'card',
277
+ card: this.is_custom_form() ? this.cardNumber : this.card,
278
+ billing_details: this.get_billing_details()
279
+ }).then(function (result) {
280
+ if (result.error) {
281
+ return this.submit_card_error(result.error);
282
+ }
283
+ if (this.is_current_page('order_pay')) {
284
+ this.set_nonce(result.paymentMethod.id);
285
+ this.process_order_pay();
286
+ } else {
287
+ this.on_token_received(result.paymentMethod);
288
+ }
289
+ }.bind(this))
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+
297
+ /**
298
+ * @since 3.1.8 - added to ensure 3rd party plugin's can't stop the tokenization process
299
+ * if e.preventDefault is called on place_order
300
+ * @returns {boolean}
301
+ */
302
+ CC.prototype.checkout_place_order = function () {
303
+ if (!this.is_saved_method_selected() && !this.payment_token_received) {
304
+ this.place_order.apply(this, arguments);
305
+ return false;
306
+ }
307
+ return wc_stripe.CheckoutGateway.prototype.checkout_place_order.apply(this, arguments);
308
+ }
309
+
310
+ /**
311
+ *
312
+ */
313
+ CC.prototype.on_token_received = function (paymentMethod) {
314
+ this.payment_token_received = true;
315
+ if (paymentMethod.hasOwnProperty('id')) {
316
+ this.set_nonce(paymentMethod.id);
317
+ } else {
318
+ this.set_nonce(paymentMethod);
319
+ }
320
+ this.get_form().trigger('submit');
321
+ }
322
+
323
+ /**
324
+ *
325
+ */
326
+ CC.prototype.on_setup_intent_received = function (setup_intent) {
327
+ this.payment_token_received = true;
328
+ this.set_nonce(setup_intent.payment_method);
329
+ this.set_intent(setup_intent.id);
330
+ this.get_form().trigger('submit');
331
+ }
332
+
333
+ /**
334
+ *
335
+ */
336
+ CC.prototype.updated_checkout = function (e, data) {
337
+ if (typeof data !== 'undefined' && data.fragments && data.fragments.hasOwnProperty('.wc-stripe-intent-secret')) {
338
+ // if client secret has changed, update the elements
339
+ if (this.params.elementOptions.clientSecret !== data.fragments['.wc-stripe-intent-secret']) {
340
+ this.params.elementOptions.clientSecret = data.fragments['.wc-stripe-intent-secret'];
341
+ this.params.cardFormType = 'payment';
342
+ this.elements = this.create_stripe_elements();
343
+ this.setup_card();
344
+ }
345
+ }
346
+ this.create_card_element();
347
+ this.handle_create_account_change();
348
+ if (this.can_create_setup_intent() && !this.client_secret && !this.is_payment_element_enabled()) {
349
+ this.create_setup_intent();
350
+ }
351
+ }
352
+
353
+ /**
354
+ *
355
+ */
356
+ CC.prototype.update_checkout = function () {
357
+ this.clear_card_elements();
358
+ }
359
+
360
+ CC.prototype.show_payment_button = function () {
361
+ wc_stripe.CheckoutGateway.prototype.show_place_order.apply(this, arguments);
362
+ }
363
+
364
+ /**
365
+ * [Leave empty so that the place order button is not hidden]
366
+ * @return {[type]} [description]
367
+ */
368
+ CC.prototype.hide_place_order = function () {
369
+
370
+ }
371
+
372
+ /**
373
+ * Returns true if a custom form is being used.
374
+ * @return {Boolean} [description]
375
+ */
376
+ CC.prototype.is_custom_form = function () {
377
+ return this.params.custom_form === "1";
378
+ }
379
+
380
+ CC.prototype.get_postal_code = function () {
381
+ if (this.is_custom_form()) {
382
+ if ($('#stripe-postal-code').length > 0) {
383
+ return $('#stripe-postal-code').val();
384
+ }
385
+ }
386
+ return this.fields.get(this.get_billing_prefix() + '_postcode', null);
387
+ }
388
+
389
+ CC.prototype.card_number_change = function (data) {
390
+ if (data.brand === "unknown") {
391
+ $('#wc-stripe-card').removeClass('active');
392
+ } else {
393
+ $('#wc-stripe-card').addClass('active');
394
+ }
395
+ $('#wc-stripe-card').attr('src', this.params.cards[data.brand]);
396
+ }
397
+
398
+ CC.prototype.on_input_change = function (event) {
399
+ if (event.complete) {
400
+ var $elements = $('#wc-stripe-cc-custom-form').find('.StripeElement, #stripe-postal-code');
401
+ var order = [];
402
+ $elements.each(function (idx, el) {
403
+ order.push('#' + $(el).attr('id'));
404
+ }.bind(this));
405
+ var selector = this.mappings[event.elementType];
406
+ var idx = order.indexOf(selector);
407
+ if (typeof order[idx + 1] !== 'undefined') {
408
+ if (order[idx + 1] === '#stripe-postal-code') {
409
+ document.getElementById('stripe-postal-code').focus();
410
+ } else {
411
+ for (var k in this.mappings) {
412
+ if (this.mappings[k] === order[idx + 1]) {
413
+ this[k].focus();
414
+ }
415
+ }
416
+ }
417
+ }
418
+ }
419
+ }
420
+
421
+ CC.prototype.clear_card_elements = function () {
422
+ var elements = ['cardNumber', 'cardExpiry', 'cardCvc'];
423
+ for (var i = 0; i < elements.length; i++) {
424
+ if (this[elements[i]]) {
425
+ this[elements[i]].clear();
426
+ }
427
+ }
428
+ }
429
+
430
+ CC.prototype.checkout_error = function () {
431
+ if (this.is_gateway_selected()) {
432
+ this.payment_token_received = false;
433
+ }
434
+ wc_stripe.CheckoutGateway.prototype.checkout_error.call(this);
435
+ }
436
+
437
+ CC.prototype.get_billing_details = function () {
438
+ var details = wc_stripe.BaseGateway.prototype.get_billing_details.call(this);
439
+ details.address.postal_code = this.get_postal_code();
440
+ return details;
441
+ }
442
+
443
+ CC.prototype.can_create_setup_intent = function () {
444
+ return this.is_add_payment_method_page() || this.is_change_payment_method() ||
445
+ (this.is_current_page('checkout') && this.cart_contains_subscription() && this.get_gateway_data() && this.get_total_price_cents() == 0) ||
446
+ (this.is_current_page(['checkout', 'product']) && typeof wc_stripe_preorder_exists !== 'undefined') ||
447
+ (this.is_current_page('order_pay') && 'pre_order' in this.get_gateway_data() && this.get_gateway_data().pre_order === true) ||
448
+ (this.is_current_page('product') && this.get_total_price_cents() == 0);
449
+ }
450
+
451
+ CC.prototype.handle_create_account_change = function () {
452
+ if ($('#createaccount').length) {
453
+ if ($('#createaccount').is(':checked') && !this.linkPaymentEnabled) {
454
+ this.show_save_card();
455
+ } else {
456
+ this.hide_save_card();
457
+ }
458
+ }
459
+ }
460
+
461
+ CC.prototype.hide_save_card = function () {
462
+ $('.wc-stripe-save-source').hide();
463
+ }
464
+
465
+ CC.prototype.show_save_card = function () {
466
+ $('.wc-stripe-save-source').show();
467
+ }
468
+
469
+ CC.prototype.submit_card_error = function (error) {
470
+ if (this.params.notice_location === 'bcf') {
471
+ $('.wc-stripe-card-notice').remove();
472
+ $('.wc-stripe_cc-new-method-container').append('<div class="wc-stripe-card-notice"></div>');
473
+ }
474
+ wc_stripe.BaseGateway.prototype.submit_error.call(this, error, true);
475
+ }
476
+
477
+ CC.prototype.container_styles = function () {
478
+ wc_stripe.CheckoutGateway.prototype.container_styles.apply(this, arguments);
479
+ if (this.is_custom_form()) {
480
+ $(this.container).find('.payment_box').addClass('custom-form__' + this.params.custom_form_name);
481
+ }
482
+ }
483
+
484
+ CC.prototype.checkout_fields_valid = function () {
485
+ var valid = this.is_valid_checkout();
486
+ if (!valid) {
487
+ this.submit_error(this.params.messages.terms);
488
+ }
489
+ return valid;
490
+ }
491
+
492
+ CC.prototype.is_installments_available = function () {
493
+ var data = this.get_gateway_data();
494
+ if (data) {
495
+ return !!data.installments.enabled
496
+ }
497
+ return false;
498
+ }
499
+
500
+ CC.prototype.update_element_status = function (event) {
501
+ this.elementStatus[event.elementType] = event;
502
+ }
503
+
504
+ CC.prototype.is_card_form_complete = function () {
505
+ return Object.keys(this.elementStatus).filter(function (key) {
506
+ return !!this.elementStatus[key].complete;
507
+ }.bind(this)).length == Object.keys(this.elementStatus).length;
508
+ }
509
+
510
+ CC.prototype.on_card_element_change = function (event) {
511
+ this.update_element_status(event);
512
+ if (this.is_current_page(['checkout', 'order_pay']) && this.is_card_form_complete() && this.is_installments_available()) {
513
+ this.initialize_installments();
514
+ }
515
+ }
516
+
517
+ CC.prototype.initialize_installments = function (paymentMethodId) {
518
+ if (this.installmentTimeoutId) {
519
+ clearTimeout(this.installmentTimeoutId);
520
+ }
521
+ this.installmentTimeoutId = setTimeout(function (paymentMethodId) {
522
+ if (paymentMethodId) {
523
+ this.show_installment_loader();
524
+ this.fetch_installment_plans(paymentMethodId).finally(function () {
525
+ this.hide_installment_loader();
526
+ }.bind(this));
527
+ } else {
528
+ if (this.is_payment_element_enabled()) {
529
+ this.stripe.updatePaymentIntent({
530
+ elements: this.elements,
531
+ params: {
532
+ payment_method_data: {
533
+ billing_details: this.get_billing_details()
534
+ }
535
+ }
536
+ }).then(function (result) {
537
+ if (!result.error) {
538
+ this.show_installment_loader();
539
+ this.fetch_installment_plans(result.paymentIntent.payment_method).finally(function () {
540
+ this.hide_installment_loader();
541
+ }.bind(this));
542
+ } else {
543
+ this.hide_installment_loader();
544
+ }
545
+ }.bind(this)).catch(this.hide_installment_loader.bind(this));
546
+ } else {
547
+ this.stripe.createPaymentMethod({
548
+ type: 'card',
549
+ card: this.is_custom_form() ? this.cardNumber : this.card,
550
+ billing_details: this.get_billing_details()
551
+ }).then(function (result) {
552
+ if (!result.error) {
553
+ this.show_installment_loader();
554
+ this.fetch_installment_plans(result.paymentMethod.id).finally(function () {
555
+ this.hide_installment_loader();
556
+ }.bind(this));
557
+ } else {
558
+ this.hide_installment_loader();
559
+ }
560
+ }.bind(this)).catch(this.hide_installment_loader.bind(this));
561
+ }
562
+ }
563
+ }.bind(this, paymentMethodId), 250);
564
+ }
565
+
566
+ CC.prototype.fetch_installment_plans = function (paymentMethodId) {
567
+ return this.fetch_payment_intent(paymentMethodId).then(function (response) {
568
+ if (response.installments_html) {
569
+ $('.wc-stripe-installment-container').replaceWith(response.installments_html);
570
+ }
571
+ }.bind(this)).catch(function (response) {
572
+ return this.submit_card_error(response);
573
+ }.bind(this)).finally(function () {
574
+
575
+ }.bind(this));
576
+ }
577
+
578
+ CC.prototype.fetch_payment_intent = function (payment_method_id) {
579
+ return new Promise(function (resolve, reject) {
580
+ var url = this.params.routes.create_payment_intent;
581
+ var order_pay = false;
582
+ if (this.is_current_page('order_pay')) {
583
+ var url = this.params.routes.order_create_payment_intent;
584
+ order_pay = true;
585
+ }
586
+ $.ajax({
587
+ url: url,
588
+ method: 'POST',
589
+ dataType: 'json',
590
+ data: !order_pay ? $.extend({}, this.serialize_fields(), {
591
+ payment_method_id: payment_method_id,
592
+ payment_method: this.gateway_id,
593
+ page_id: this.get_page()
594
+ }) : {
595
+ payment_method_id: payment_method_id,
596
+ payment_method: this.gateway_id,
597
+ order_id: this.get_gateway_data().order.id,
598
+ order_key: this.get_gateway_data().order.key
599
+ },
600
+ beforeSend: this.ajax_before_send.bind(this)
601
+ }).done(function (response) {
602
+ if (response.code) {
603
+ reject(response);
604
+ } else {
605
+ resolve(response);
606
+ }
607
+ }.bind(this)).fail(function (xhr) {
608
+ reject()
609
+ }.bind(this))
610
+ }.bind(this))
611
+ }
612
+
613
+ CC.prototype.show_installment_loader = function () {
614
+ $('.wc-stripe-installment-options').addClass('loading-installments');
615
+ var $option = $('[name="_stripe_installment_plan"] option:selected').eq(0);
616
+ $option.text(this.params.installments.loading);
617
+ $('.wc-stripe-installment-loader').show();
618
+ }
619
+
620
+ CC.prototype.hide_installment_loader = function (has_error) {
621
+ $('.wc-stripe-installment-options').removeClass('loading-installments');
622
+ $('.wc-stripe-installment-loader').hide();
623
+ }
624
+
625
+ CC.prototype.maybe_initialize_installments = function () {
626
+ if (this.is_installments_available() && this.is_saved_method_selected()) {
627
+ this.initialize_installments(this.get_selected_payment_method());
628
+ }
629
+ }
630
+
631
+ CC.prototype.is_payment_element_enabled = function () {
632
+ return this.params.cardFormType === 'payment'
633
+ }
634
+
635
+ CC.prototype.handle_payment_method_setup = function (obj) {
636
+ if (this.is_payment_element_enabled()) {
637
+ this.stripe.confirmSetup({
638
+ elements: this.elements,
639
+ confirmParams: {
640
+ payment_method_data: {
641
+ billing_details: this.get_billing_details()
642
+ }
643
+ },
644
+ redirect: 'if_required'
645
+ }).then(function (result) {
646
+ if (result.error) {
647
+ this.unblock();
648
+ this.payment_token_received = false;
649
+ this.submit_error(result.error);
650
+ } else {
651
+ if (this.is_current_page('order_pay')) {
652
+ this.get_form().trigger('submit');
653
+ } else {
654
+ this.set_nonce(result.setupIntent.payment_method);
655
+ this.set_intent(result.setupIntent.id);
656
+ this.process_payment(obj.order_id, obj.order_key);
657
+ }
658
+ }
659
+ }.bind(this));
660
+ } else {
661
+ wc_stripe.BaseGateway.prototype.handle_payment_method_setup.apply(this, arguments);
662
+ }
663
+ }
664
+
665
+ new CC();
666
+
667
  }(jQuery, window.wc_stripe))
assets/js/frontend/form-handler.js CHANGED
@@ -1,165 +1,165 @@
1
- jQuery(function ($) {
2
-
3
- /**
4
- * @constructor
5
- */
6
- function Handler() {
7
- this.init();
8
- }
9
-
10
- /**
11
- * Initialize functionality.
12
- * @return {[type]}
13
- */
14
- Handler.prototype.init = function () {
15
-
16
- // event emitted from WC checkout.js
17
- $(document.body).on('payment_method_selected', this.payment_method_selected.bind(this));
18
- $(document.body).on('change', '[name="payment_method"]', this.payment_method_selected.bind(this));
19
- $(document.body).on('updated_checkout', this.updated_checkout.bind(this));
20
- $(document.body).on('change', '.wc-stripe-payment-type', this.payment_type_change.bind(this));
21
- $(document.body).on('updated_wc_div, updated_cart_totals', this.cart_html.bind(this));
22
-
23
- this.saved_payment_methods();
24
-
25
- if ('MutationObserver' in window && null !== document.querySelector('form.checkout')) {
26
- var observer = new MutationObserver(this.observer_callback.bind(this));
27
- observer.observe(document.querySelector('form.checkout'), {
28
- attributes: false,
29
- childList: true,
30
- subtree: true
31
- });
32
- }
33
-
34
- if ($(document.body).is('.woocommerce-cart')) {
35
- $(window).on('resize', this.cart_html);
36
- this.cart_html();
37
- }
38
- }
39
-
40
- Handler.prototype.observer_callback = function (records, observer) {
41
- try {
42
- if (records.length > 0) {
43
- for (var i = 0; i < records.length; i++) {
44
- if (records[i].addedNodes && records[i].addedNodes.length > 0) {
45
- var nodes = records[i].addedNodes;
46
- for (var n = 0; n < nodes.length; n++) {
47
- if (nodes[n].nodeName === 'UL' && nodes[n].classList && nodes[n].classList.value.indexOf('payment_methods')) {
48
- // destroy the select2 elements so they can be re-added since previous events are orphaned
49
- $('select.wc-stripe-saved-methods').removeClass('enhanced');
50
- $('select.wc-stripe-saved-methods + .select2').remove();
51
- this.saved_payment_methods();
52
- }
53
- }
54
- }
55
- }
56
- }
57
- } catch (err) {
58
- //fail gracefully
59
- }
60
- }
61
-
62
- /**
63
- * @return {[type]}
64
- */
65
- Handler.prototype.payment_method_selected = function () {
66
- var gateway = this.get_payment_method();
67
- $(document.body).triggerHandler('wc_stripe_payment_method_selected', gateway);
68
- }
69
-
70
- /**
71
- * @return {[type]}
72
- */
73
- Handler.prototype.updated_checkout = function () {
74
- this.saved_payment_methods();
75
-
76
- if ($(document.body).hasClass('woocommerce-checkout')) {
77
- if ($('.payment_methods').width() < 475) {
78
- $('.payment_methods').addClass('stripe-small');
79
- }
80
- }
81
- }
82
-
83
- /**
84
- * @return {[type]}
85
- */
86
- Handler.prototype.payment_type_change = function () {
87
- var gateway = this.get_payment_method();
88
- var $input = $('[name="' + gateway + '_payment_type_key"]:checked');
89
- if ($input.length === 0 || $input.val() === "new") {
90
- $('.wc-' + gateway + '-saved-methods-container').slideUp(400, function () {
91
- $('.wc-' + gateway + '-new-method-container').slideDown(400);
92
- });
93
- $(document.body).triggerHandler('wc_stripe_new_method_' + gateway);
94
- } else {
95
- $('.wc-' + gateway + '-new-method-container').slideUp(400, function () {
96
- $('.wc-' + gateway + '-saved-methods-container').slideDown(400);
97
- });
98
- $(document.body).triggerHandler('wc_stripe_saved_method_' + gateway);
99
- }
100
- }
101
-
102
- /**
103
- * @return {[type]}
104
- */
105
- Handler.prototype.saved_payment_methods = function () {
106
- if ($().selectWoo) {
107
- if ($('select.wc-stripe-saved-methods').length && !$('select.wc-stripe-saved-methods').hasClass('enhanced')) {
108
- $('select.wc-stripe-saved-methods').selectWoo({
109
- width: "100%",
110
- templateResult: this.output_template,
111
- templateSelection: this.output_template,
112
- language: {
113
- noResults: function () {
114
- return wc_stripe_form_handler_params.no_results;
115
- }.bind(this)
116
- }
117
- }).addClass('enhanced').trigger('change');
118
- }
119
- }
120
- }
121
-
122
- /**
123
- * @return {[type]}
124
- */
125
- Handler.prototype.get_payment_method = function () {
126
- return $('[name="payment_method"]:checked').val();
127
- }
128
-
129
- /**
130
- * @param {[type]}
131
- * @return {[type]}
132
- */
133
- Handler.prototype.get_payment_type = function (gateway) {
134
- return $('[name="' + gateway + '"]:checked').val();
135
- }
136
-
137
- /**
138
- * @param {[type]}
139
- * @param {[type]}
140
- * @return {[type]}
141
- */
142
- Handler.prototype.output_template = function (data, container) {
143
- var classes = $(data.element).attr('class');
144
- $.each($(data.element).parent().find('option'), function () {
145
- $(container).removeClass($(this).attr('class'));
146
- })
147
- $(container).addClass('wc-stripe-select2-container ' + classes);
148
- $(document.body).triggerHandler('wc_stripe_payment_method_template', [data, container]);
149
- return data.text;
150
- }
151
-
152
- Handler.prototype.cart_html = function () {
153
- var $button = $('.checkout-button'),
154
- width = $button.outerWidth();
155
- if (width && $('.wc_stripe_cart_payment_methods').length) {
156
- $('.wc_stripe_cart_payment_methods ').width(width);
157
- }
158
- if ($button.css('float') !== 'none') {
159
- $('.wc_stripe_cart_payment_methods ').css('float', $button.css('float'));
160
- }
161
- }
162
-
163
- new Handler();
164
-
165
  })
1
+ jQuery(function ($) {
2
+
3
+ /**
4
+ * @constructor
5
+ */
6
+ function Handler() {
7
+ this.init();
8
+ }
9
+
10
+ /**
11
+ * Initialize functionality.
12
+ * @return {[type]}
13
+ */
14
+ Handler.prototype.init = function () {
15
+
16
+ // event emitted from WC checkout.js
17
+ $(document.body).on('payment_method_selected', this.payment_method_selected.bind(this));
18
+ $(document.body).on('change', '[name="payment_method"]', this.payment_method_selected.bind(this));
19
+ $(document.body).on('updated_checkout', this.updated_checkout.bind(this));
20
+ $(document.body).on('change', '.wc-stripe-payment-type', this.payment_type_change.bind(this));
21
+ $(document.body).on('updated_wc_div, updated_cart_totals', this.cart_html.bind(this));
22
+
23
+ this.saved_payment_methods();
24
+
25
+ if ('MutationObserver' in window && null !== document.querySelector('form.checkout')) {
26
+ var observer = new MutationObserver(this.observer_callback.bind(this));
27
+ observer.observe(document.querySelector('form.checkout'), {
28
+ attributes: false,
29
+ childList: true,
30
+ subtree: true
31
+ });
32
+ }
33
+
34
+ if ($(document.body).is('.woocommerce-cart')) {
35
+ $(window).on('resize', this.cart_html);
36
+ this.cart_html();
37
+ }
38
+ }
39
+
40
+ Handler.prototype.observer_callback = function (records, observer) {
41
+ try {
42
+ if (records.length > 0) {
43
+ for (var i = 0; i < records.length; i++) {
44
+ if (records[i].addedNodes && records[i].addedNodes.length > 0) {
45
+ var nodes = records[i].addedNodes;
46
+ for (var n = 0; n < nodes.length; n++) {
47
+ if (nodes[n].nodeName === 'UL' && nodes[n].classList && nodes[n].classList.value.indexOf('payment_methods')) {
48
+ // destroy the select2 elements so they can be re-added since previous events are orphaned
49
+ $('select.wc-stripe-saved-methods').removeClass('enhanced');
50
+ $('select.wc-stripe-saved-methods + .select2').remove();
51
+ this.saved_payment_methods();
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ } catch (err) {
58
+ //fail gracefully
59
+ }
60
+ }
61
+
62
+ /**
63
+ * @return {[type]}
64
+ */
65
+ Handler.prototype.payment_method_selected = function () {
66
+ var gateway = this.get_payment_method();
67
+ $(document.body).triggerHandler('wc_stripe_payment_method_selected', gateway);
68
+ }
69
+
70
+ /**
71
+ * @return {[type]}
72
+ */
73
+ Handler.prototype.updated_checkout = function () {
74
+ this.saved_payment_methods();
75
+
76
+ if ($(document.body).hasClass('woocommerce-checkout')) {
77
+ if ($('.payment_methods').width() < 475) {
78
+ $('.payment_methods').addClass('stripe-small');
79
+ }
80
+ }
81
+ }
82
+
83
+ /**
84
+ * @return {[type]}
85
+ */
86
+ Handler.prototype.payment_type_change = function () {
87
+ var gateway = this.get_payment_method();
88
+ var $input = $('[name="' + gateway + '_payment_type_key"]:checked');
89
+ if ($input.length === 0 || $input.val() === "new") {
90
+ $('.wc-' + gateway + '-saved-methods-container').slideUp(400, function () {
91
+ $('.wc-' + gateway + '-new-method-container').slideDown(400);
92
+ });
93
+ $(document.body).triggerHandler('wc_stripe_new_method_' + gateway);
94
+ } else {
95
+ $('.wc-' + gateway + '-new-method-container').slideUp(400, function () {
96
+ $('.wc-' + gateway + '-saved-methods-container').slideDown(400);
97
+ });
98
+ $(document.body).triggerHandler('wc_stripe_saved_method_' + gateway);
99
+ }
100
+ }
101
+
102
+ /**
103
+ * @return {[type]}
104
+ */
105
+ Handler.prototype.saved_payment_methods = function () {
106
+ if ($().selectWoo) {
107
+ if ($('select.wc-stripe-saved-methods').length && !$('select.wc-stripe-saved-methods').hasClass('enhanced')) {
108
+ $('select.wc-stripe-saved-methods').selectWoo({
109
+ width: "100%",
110
+ templateResult: this.output_template,
111
+ templateSelection: this.output_template,
112
+ language: {
113
+ noResults: function () {
114
+ return wc_stripe_form_handler_params.no_results;
115
+ }.bind(this)
116
+ }
117
+ }).addClass('enhanced').trigger('change');
118
+ }
119
+ }
120
+ }
121
+
122
+ /**
123
+ * @return {[type]}
124
+ */
125
+ Handler.prototype.get_payment_method = function () {
126
+ return $('[name="payment_method"]:checked').val();
127
+ }
128
+
129
+ /**
130
+ * @param {[type]}
131
+ * @return {[type]}
132
+ */
133
+ Handler.prototype.get_payment_type = function (gateway) {
134
+ return $('[name="' + gateway + '"]:checked').val();
135
+ }
136
+
137
+ /**
138
+ * @param {[type]}
139
+ * @param {[type]}
140
+ * @return {[type]}
141
+ */
142
+ Handler.prototype.output_template = function (data, container) {
143
+ var classes = $(data.element).attr('class');
144
+ $.each($(data.element).parent().find('option'), function () {
145
+ $(container).removeClass($(this).attr('class'));
146
+ })
147
+ $(container).addClass('wc-stripe-select2-container ' + classes);
148
+ $(document.body).triggerHandler('wc_stripe_payment_method_template', [data, container]);
149
+ return data.text;
150
+ }
151
+
152
+ Handler.prototype.cart_html = function () {
153
+ var $button = $('.checkout-button'),
154
+ width = $button.outerWidth();
155
+ if (width && $('.wc_stripe_cart_payment_methods').length) {
156
+ $('.wc_stripe_cart_payment_methods ').width(width);
157
+ }
158
+ if ($button.css('float') !== 'none') {
159
+ $('.wc_stripe_cart_payment_methods ').css('float', $button.css('float'));
160
+ }
161
+ }
162
+
163
+ new Handler();
164
+
165
  })
assets/js/frontend/googlepay-cart.js CHANGED
@@ -1,60 +1,60 @@
1
- (function ($, wc_stripe) {
2
-
3
- /**
4
- * @constructor
5
- */
6
- function GPay() {
7
- wc_stripe.BaseGateway.call(this, wc_stripe_googlepay_cart_params);
8
- wc_stripe.CartGateway.call(this);
9
- window.addEventListener('hashchange', this.hashchange.bind(this));
10
- }
11
-
12
- /**
13
- * [prototype description]
14
- * @type {[type]}
15
- */
16
- GPay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CartGateway.prototype, wc_stripe.GooglePay.prototype);
17
-
18
- /**
19
- * @return {[type]}
20
- */
21
- GPay.prototype.initialize = function () {
22
- this.createPaymentsClient();
23
- this.isReadyToPay().then(function () {
24
- $(this.container).show().addClass('active').parent().addClass('active');
25
- this.add_cart_totals_class();
26
- }.bind(this))
27
- }
28
-
29
- /**
30
- * @return {[type]}
31
- */
32
- GPay.prototype.create_button = function () {
33
- wc_stripe.GooglePay.prototype.create_button.apply(this, arguments);
34
- $('#wc-stripe-googlepay-container').append(this.$button);
35
- }
36
-
37
- /**
38
- * @return {[type]}
39
- */
40
- GPay.prototype.updated_html = function () {
41
- if (this.can_pay) {
42
- this.create_button();
43
- $(this.container).show().addClass('active').parent().addClass('active');
44
- this.add_cart_totals_class();
45
- }
46
- }
47
-
48
- /**
49
- * @param {[type]}
50
- * @return {[null]}
51
- */
52
- GPay.prototype.payment_data_updated = function (response, event) {
53
- if (event.callbackTrigger === "SHIPPING_ADDRESS") {
54
- $(document.body).trigger('wc_update_cart');
55
- }
56
- }
57
-
58
- new GPay();
59
-
60
  }(jQuery, window.wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ /**
4
+ * @constructor
5
+ */
6
+ function GPay() {
7
+ wc_stripe.BaseGateway.call(this, wc_stripe_googlepay_cart_params);
8
+ wc_stripe.CartGateway.call(this);
9
+ window.addEventListener('hashchange', this.hashchange.bind(this));
10
+ }
11
+
12
+ /**
13
+ * [prototype description]
14
+ * @type {[type]}
15
+ */
16
+ GPay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CartGateway.prototype, wc_stripe.GooglePay.prototype);
17
+
18
+ /**
19
+ * @return {[type]}
20
+ */
21
+ GPay.prototype.initialize = function () {
22
+ this.createPaymentsClient();
23
+ this.isReadyToPay().then(function () {
24
+ $(this.container).show().addClass('active').parent().addClass('active');
25
+ this.add_cart_totals_class();
26
+ }.bind(this))
27
+ }
28
+
29
+ /**
30
+ * @return {[type]}
31
+ */
32
+ GPay.prototype.create_button = function () {
33
+ wc_stripe.GooglePay.prototype.create_button.apply(this, arguments);
34
+ $('#wc-stripe-googlepay-container').append(this.$button);
35
+ }
36
+
37
+ /**
38
+ * @return {[type]}
39
+ */
40
+ GPay.prototype.updated_html = function () {
41
+ if (this.can_pay) {
42
+ this.create_button();
43
+ $(this.container).show().addClass('active').parent().addClass('active');
44
+ this.add_cart_totals_class();
45
+ }
46
+ }
47
+
48
+ /**
49
+ * @param {[type]}
50
+ * @return {[null]}
51
+ */
52
+ GPay.prototype.payment_data_updated = function (response, event) {
53
+ if (event.callbackTrigger === "SHIPPING_ADDRESS") {
54
+ $(document.body).trigger('wc_update_cart');
55
+ }
56
+ }
57
+
58
+ new GPay();
59
+
60
  }(jQuery, window.wc_stripe))
assets/js/frontend/googlepay-checkout.js CHANGED
@@ -1,88 +1,88 @@
1
- (function ($, wc_stripe) {
2
-
3
- /**
4
- * @construct
5
- */
6
- function GPay() {
7
- this.can_pay = false;
8
- wc_stripe.BaseGateway.call(this, wc_stripe_googlepay_checkout_params);
9
- wc_stripe.CheckoutGateway.call(this);
10
- window.addEventListener('hashchange', this.hashchange.bind(this));
11
- this.has3DSecureParams();
12
- }
13
-
14
- /**
15
- * [prototype description]
16
- * @type {[type]}
17
- */
18
- GPay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype, wc_stripe.GooglePay.prototype);
19
-
20
- /**
21
- * @return {[type]}
22
- */
23
- GPay.prototype.initialize = function () {
24
- if (!$(this.container).length) {
25
- return;
26
- }
27
- // create payments client
28
- this.createPaymentsClient();
29
- this.isReadyToPay().then(function () {
30
- $(this.container).show();
31
- if (this.banner_enabled()) {
32
- var $button = $(this.paymentsClient.createButton({
33
- onClick: this.banner_checkout.bind(this),
34
- buttonColor: this.params.button_color,
35
- buttonType: this.params.button_style
36
- }));
37
- $(this.banner_container).show().addClass('active').closest('.wc-stripe-banner-checkout').addClass('active');
38
- $(this.banner_container).empty().append($button);
39
- }
40
- }.bind(this))
41
- }
42
-
43
- /**
44
- * @return {[type]}
45
- */
46
- GPay.prototype.create_button = function () {
47
- wc_stripe.GooglePay.prototype.create_button.apply(this, arguments);
48
- $('#place_order').after(this.$button);
49
- this.trigger_payment_method_selected();
50
- }
51
-
52
- /**
53
- * @return {[type]}
54
- */
55
- GPay.prototype.updated_checkout = function () {
56
- this.initialize();
57
- }
58
-
59
- /**
60
- * [banner_checkout description]
61
- * @return {[type]} [description]
62
- */
63
- GPay.prototype.banner_checkout = function () {
64
- this.set_payment_method(this.gateway_id);
65
- this.set_use_new_option(true);
66
- $('[name="terms"]').prop('checked', true);
67
- wc_stripe.GooglePay.prototype.start.apply(this, arguments);
68
- }
69
-
70
- GPay.prototype.on_token_received = function () {
71
- wc_stripe.CheckoutGateway.prototype.on_token_received.apply(this, arguments);
72
- if (this.payment_request_options.shippingAddressRequired) {
73
- this.maybe_set_ship_to_different();
74
- }
75
- this.fields.toFormFields({update_shipping_method: false});
76
- if (this.checkout_fields_valid()) {
77
- this.get_form().trigger('submit');
78
- }
79
- }
80
-
81
- GPay.prototype.payment_data_updated = function (response) {
82
- this.populate_billing_fields(response.address);
83
- this.fields.toFormFields({update_shipping_method: false});
84
- }
85
-
86
- new GPay();
87
-
88
  }(jQuery, window.wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ /**
4
+ * @construct
5
+ */
6
+ function GPay() {
7
+ this.can_pay = false;
8
+ wc_stripe.BaseGateway.call(this, wc_stripe_googlepay_checkout_params);
9
+ wc_stripe.CheckoutGateway.call(this);
10
+ window.addEventListener('hashchange', this.hashchange.bind(this));
11
+ this.has3DSecureParams();
12
+ }
13
+
14
+ /**
15
+ * [prototype description]
16
+ * @type {[type]}
17
+ */
18
+ GPay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype, wc_stripe.GooglePay.prototype);
19
+
20
+ /**
21
+ * @return {[type]}
22
+ */
23
+ GPay.prototype.initialize = function () {
24
+ if (!$(this.container).length) {
25
+ return;
26
+ }
27
+ // create payments client
28
+ this.createPaymentsClient();
29
+ this.isReadyToPay().then(function () {
30
+ $(this.container).show();
31
+ if (this.banner_enabled()) {
32
+ var $button = $(this.paymentsClient.createButton({
33
+ onClick: this.banner_checkout.bind(this),
34
+ buttonColor: this.params.button_color,
35
+ buttonType: this.params.button_style
36
+ }));
37
+ $(this.banner_container).show().addClass('active').closest('.wc-stripe-banner-checkout').addClass('active');
38
+ $(this.banner_container).empty().append($button);
39
+ }
40
+ }.bind(this))
41
+ }
42
+
43
+ /**
44
+ * @return {[type]}
45
+ */
46
+ GPay.prototype.create_button = function () {
47
+ wc_stripe.GooglePay.prototype.create_button.apply(this, arguments);
48
+ $('#place_order').after(this.$button);
49
+ this.trigger_payment_method_selected();
50
+ }
51
+
52
+ /**
53
+ * @return {[type]}
54
+ */
55
+ GPay.prototype.updated_checkout = function () {
56
+ this.initialize();
57
+ }
58
+
59
+ /**
60
+ * [banner_checkout description]
61
+ * @return {[type]} [description]
62
+ */
63
+ GPay.prototype.banner_checkout = function () {
64
+ this.set_payment_method(this.gateway_id);
65
+ this.set_use_new_option(true);
66
+ $('[name="terms"]').prop('checked', true);
67
+ wc_stripe.GooglePay.prototype.start.apply(this, arguments);
68
+ }
69
+
70
+ GPay.prototype.on_token_received = function () {
71
+ wc_stripe.CheckoutGateway.prototype.on_token_received.apply(this, arguments);
72
+ if (this.payment_request_options.shippingAddressRequired) {
73
+ this.maybe_set_ship_to_different();
74
+ }
75
+ this.fields.toFormFields({update_shipping_method: false});
76
+ if (this.checkout_fields_valid()) {
77
+ this.get_form().trigger('submit');
78
+ }
79
+ }
80
+
81
+ GPay.prototype.payment_data_updated = function (response) {
82
+ this.populate_billing_fields(response.address);
83
+ this.fields.toFormFields({update_shipping_method: false});
84
+ }
85
+
86
+ new GPay();
87
+
88
  }(jQuery, window.wc_stripe))
assets/js/frontend/googlepay-product.js CHANGED
@@ -1,76 +1,76 @@
1
- (function ($, wc_stripe) {
2
-
3
- /**
4
- * @constructor
5
- */
6
- function GPay() {
7
- wc_stripe.BaseGateway.call(this, wc_stripe_googlepay_product_params);
8
- window.addEventListener('hashchange', this.hashchange.bind(this));
9
- }
10
-
11
- /**
12
- * [prototype description]
13
- * @type {[type]}
14
- */
15
- GPay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.ProductGateway.prototype, wc_stripe.GooglePay.prototype);
16
-
17
- /**
18
- * @return {[type]}
19
- */
20
- GPay.prototype.initialize = function () {
21
- if (!$(this.container).length) {
22
- return setTimeout(this.initialize.bind(this), 1000);
23
- }
24
- wc_stripe.ProductGateway.call(this);
25
- this.createPaymentsClient();
26
- this.isReadyToPay().then(function () {
27
- $(this.container).show();
28
- $(this.container).parent().parent().addClass('active');
29
- }.bind(this))
30
- }
31
-
32
- /**
33
- * @return {[type]}
34
- */
35
- GPay.prototype.create_button = function () {
36
- wc_stripe.GooglePay.prototype.create_button.apply(this, arguments);
37
- $('#wc-stripe-googlepay-container').append(this.$button);
38
-
39
- // check for variations
40
- if (this.is_variable_product()) {
41
- if (!this.variable_product_selected()) {
42
- this.disable_payment_button();
43
- } else {
44
- this.enable_payment_button();
45
- }
46
- }
47
- }
48
-
49
- /**
50
- * @return {[type]}
51
- */
52
- GPay.prototype.get_button = function () {
53
- return this.$button.find('button');
54
- }
55
-
56
- /**
57
- * @return {[type]}
58
- */
59
- GPay.prototype.start = function () {
60
- if (this.get_quantity() > 0) {
61
- this.add_to_cart().then(function () {
62
- wc_stripe.GooglePay.prototype.start.apply(this, arguments);
63
- }.bind(this))
64
- } else {
65
- this.submit_error(this.params.messages.invalid_amount);
66
- }
67
- }
68
-
69
- GPay.prototype.found_variation = function () {
70
- wc_stripe.ProductGateway.prototype.found_variation.apply(this, arguments);
71
- this.enable_payment_button();
72
- }
73
-
74
- new GPay();
75
-
76
  }(jQuery, wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ /**
4
+ * @constructor
5
+ */
6
+ function GPay() {
7
+ wc_stripe.BaseGateway.call(this, wc_stripe_googlepay_product_params);
8
+ window.addEventListener('hashchange', this.hashchange.bind(this));
9
+ }
10
+
11
+ /**
12
+ * [prototype description]
13
+ * @type {[type]}
14
+ */
15
+ GPay.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.ProductGateway.prototype, wc_stripe.GooglePay.prototype);
16
+
17
+ /**
18
+ * @return {[type]}
19
+ */
20
+ GPay.prototype.initialize = function () {
21
+ if (!$(this.container).length) {
22
+ return setTimeout(this.initialize.bind(this), 1000);
23
+ }
24
+ wc_stripe.ProductGateway.call(this);
25
+ this.createPaymentsClient();
26
+ this.isReadyToPay().then(function () {
27
+ $(this.container).show();
28
+ $(this.container).parent().parent().addClass('active');
29
+ }.bind(this))
30
+ }
31
+
32
+ /**
33
+ * @return {[type]}
34
+ */
35
+ GPay.prototype.create_button = function () {
36
+ wc_stripe.GooglePay.prototype.create_button.apply(this, arguments);
37
+ $('#wc-stripe-googlepay-container').append(this.$button);
38
+
39
+ // check for variations
40
+ if (this.is_variable_product()) {
41
+ if (!this.variable_product_selected()) {
42
+ this.disable_payment_button();
43
+ } else {
44
+ this.enable_payment_button();
45
+ }
46
+ }
47
+ }
48
+
49
+ /**
50
+ * @return {[type]}
51
+ */
52
+ GPay.prototype.get_button = function () {
53
+ return this.$button.find('button');
54
+ }
55
+
56
+ /**
57
+ * @return {[type]}
58
+ */
59
+ GPay.prototype.start = function () {
60
+ if (this.get_quantity() > 0) {
61
+ this.add_to_cart().then(function () {
62
+ wc_stripe.GooglePay.prototype.start.apply(this, arguments);
63
+ }.bind(this))
64
+ } else {
65
+ this.submit_error(this.params.messages.invalid_amount);
66
+ }
67
+ }
68
+
69
+ GPay.prototype.found_variation = function () {
70
+ wc_stripe.ProductGateway.prototype.found_variation.apply(this, arguments);
71
+ this.enable_payment_button();
72
+ }
73
+
74
+ new GPay();
75
+
76
  }(jQuery, wc_stripe))
assets/js/frontend/link-checkout.js CHANGED
@@ -1,46 +1,46 @@
1
- import $ from 'jquery';
2
-
3
- $(() => {
4
- if (wcStripeLinkParams === 'undefined') {
5
- return false;
6
- }
7
- try {
8
- const creditCard = wc_stripe.credit_card;
9
- const stripe = creditCard.stripe;
10
- const link = stripe.linkAutofillModal(creditCard.elements);
11
-
12
- $(document.body).on('keyup', '[name="billing_email"]', (e) => {
13
- link.launch({email: e.currentTarget.value});
14
- });
15
-
16
- if (wcStripeLinkParams.launchLink) {
17
- link.launch({email: $('[name="billing_email"]').val()});
18
- }
19
-
20
- link.on('autofill', (event) => {
21
- const {shippingAddress = null, billingAddress} = event.value;
22
- // populate the address fields
23
- if (shippingAddress) {
24
- const address = {name: shippingAddress.name, ...shippingAddress.address};
25
- creditCard.populate_shipping_fields(address);
26
- }
27
- if (billingAddress) {
28
- const address = {name: billingAddress.name, ...billingAddress.address};
29
- creditCard.populate_billing_fields(address);
30
- }
31
- creditCard.fields.toFormFields();
32
- creditCard.set_payment_method(creditCard.gateway_id);
33
- creditCard.show_new_payment_method();
34
- creditCard.hide_save_card();
35
- if (shippingAddress) {
36
- creditCard.maybe_set_ship_to_different();
37
- }
38
- $('[name="terms"]').prop('checked', true);
39
- if (!creditCard.fields.required('billing_phone') || !creditCard.fields.isEmpty('billing_phone')) {
40
- creditCard.get_form().trigger('submit');
41
- }
42
- });
43
- } catch (error) {
44
- console.log(error);
45
- }
46
  });
1
+ import $ from 'jquery';
2
+
3
+ $(() => {
4
+ if (wcStripeLinkParams === 'undefined') {
5
+ return false;
6
+ }
7
+ try {
8
+ const creditCard = wc_stripe.credit_card;
9
+ const stripe = creditCard.stripe;
10
+ const link = stripe.linkAutofillModal(creditCard.elements);
11
+
12
+ $(document.body).on('keyup', '[name="billing_email"]', (e) => {
13
+ link.launch({email: e.currentTarget.value});
14
+ });
15
+
16
+ if (wcStripeLinkParams.launchLink) {
17
+ link.launch({email: $('[name="billing_email"]').val()});
18
+ }
19
+
20
+ link.on('autofill', (event) => {
21
+ const {shippingAddress = null, billingAddress} = event.value;
22
+ // populate the address fields
23
+ if (shippingAddress) {
24
+ const address = {name: shippingAddress.name, ...shippingAddress.address};
25
+ creditCard.populate_shipping_fields(address);
26
+ }
27
+ if (billingAddress) {
28
+ const address = {name: billingAddress.name, ...billingAddress.address};
29
+ creditCard.populate_billing_fields(address);
30
+ }
31
+ creditCard.fields.toFormFields();
32
+ creditCard.set_payment_method(creditCard.gateway_id);
33
+ creditCard.show_new_payment_method();
34
+ creditCard.hide_save_card();
35
+ if (shippingAddress) {
36
+ creditCard.maybe_set_ship_to_different();
37
+ }
38
+ $('[name="terms"]').prop('checked', true);
39
+ if (!creditCard.fields.required('billing_phone') || !creditCard.fields.isEmpty('billing_phone')) {
40
+ creditCard.get_form().trigger('submit');
41
+ }
42
+ });
43
+ } catch (error) {
44
+ console.log(error);
45
+ }
46
  });
assets/js/frontend/local-payment.js CHANGED
@@ -1,602 +1,602 @@
1
- (function ($, wc_stripe) {
2
-
3
- /**
4
- * [LocalPayment description]
5
- */
6
- function LocalPayment(params) {
7
- wc_stripe.BaseGateway.call(this, params);
8
- wc_stripe.CheckoutGateway.call(this);
9
-
10
- $(document.body).on('click', '#place_order', this.place_order.bind(this));
11
-
12
- if (this.is_current_page('order_pay')) {
13
- $('#order_review').on('submit', this.process_order_pay.bind(this));
14
- }
15
-
16
- this.maybe_hide_gateway();
17
- }
18
-
19
- LocalPayment.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype);
20
-
21
-
22
- LocalPayment.prototype.initialize = function () {
23
- this.mount_button();
24
- }
25
-
26
- LocalPayment.prototype.elementType = null;
27
-
28
- LocalPayment.prototype.is_active = function () {
29
- return $('#wc_stripe_local_payment_' + this.gateway_id).data('active');
30
- }
31
-
32
- LocalPayment.prototype.maybe_hide_gateway = function () {
33
- if (!this.is_active()) {
34
- $(this.container).hide();
35
- if (this.is_gateway_selected()) {
36
- $('li[class*="payment_method_stripe_"]').filter(':visible').eq(0).find('[name="payment_method"]').prop('checked', true).trigger('click');
37
- }
38
- } else {
39
- $(this.container).show();
40
- }
41
- }
42
-
43
- /**
44
- * [createSource description]
45
- * @return {[type]} [description]
46
- */
47
- LocalPayment.prototype.createSource = function () {
48
- return new Promise(function (resolve, reject) {
49
- var handler = function (result) {
50
- if (result.error) {
51
- this.submit_error(result.error);
52
- } else {
53
- this.payment_token_received = true;
54
- this.set_nonce(result.source.id);
55
- this.get_form().trigger('submit');
56
- }
57
- resolve();
58
- }.bind(this);
59
- if (this.elementType != null) {
60
- if (this.confirmation_method) {
61
- if (this.confirmation_obj) {
62
- this.processConfirmation(this.confirmation_obj);
63
- } else {
64
- if (this.isValidElement()) {
65
- this.payment_token_received = true;
66
- this.get_form().trigger('submit');
67
- } else {
68
- return this.submit_error({
69
- code: 'empty_element_' + this.params.local_payment_type,
70
- message: wc_stripe_messages.empty_element
71
- });
72
- }
73
- }
74
- } else {
75
- this.stripe.createSource(this.element, this.getSourceArgs()).then(handler).catch(function (e) {
76
- this.submit_error(e.message);
77
- }.bind(this))
78
- }
79
- } else {
80
- this.payment_token_received = true;
81
- this.get_form().trigger('submit');
82
- }
83
- }.bind(this));
84
- }
85
-
86
- LocalPayment.prototype.place_order = function (e) {
87
- if (this.is_gateway_selected()) {
88
- if (!this.payment_token_received && !this.is_saved_method_selected()) {
89
- e.preventDefault();
90
- if (this.is_change_payment_method()) {
91
- this.process_setup_intent();
92
- } else {
93
- this.createSource();
94
- }
95
- }
96
- }
97
- }
98
-
99
- LocalPayment.prototype.process_setup_intent = function () {
100
- // create the setup intent
101
- this.block();
102
- this.create_setup_intent().then(function () {
103
- this.stripe[this.setupActionMethod](this.client_secret, this.get_confirmation_args()).then(function (result) {
104
- if (result.error) {
105
- return this.submit_error(result.error.message);
106
- }
107
- this.set_nonce(result.setupIntent.payment_method);
108
- this.set_intent(result.setupIntent.id);
109
- this.payment_token_received = true;
110
- this.get_form().trigger('submit');
111
- }.bind(this));
112
- }.bind(this)).catch(function (error) {
113
- this.submit_error(error);
114
- }.bind(this)).finally(function () {
115
- this.unblock();
116
- }.bind(this))
117
- }
118
-
119
- LocalPayment.prototype.checkout_place_order = function (e) {
120
- if (!this.is_saved_method_selected() && !this.payment_token_received) {
121
- this.place_order.apply(this, arguments);
122
- return false;
123
- }
124
- return wc_stripe.CheckoutGateway.prototype.checkout_place_order.apply(this, arguments);
125
- }
126
-
127
- LocalPayment.prototype.process_order_pay = function (e) {
128
- if (this.is_gateway_selected()) {
129
- e.preventDefault();
130
- wc_stripe.CheckoutGateway.prototype.process_order_pay.apply(this, arguments);
131
- }
132
- }
133
-
134
- LocalPayment.prototype.show_payment_button = function () {
135
- this.show_place_order();
136
- }
137
-
138
- /**
139
- * [Leave empty so that the place order button is not hidden]
140
- * @return {[type]} [description]
141
- */
142
- LocalPayment.prototype.hide_place_order = function () {
143
-
144
- }
145
-
146
- LocalPayment.prototype.show_place_order = function () {
147
- wc_stripe.CheckoutGateway.prototype.show_place_order.apply(this, arguments);
148
- if (this.payment_token_received) {
149
- $('#place_order').text($('#place_order').data('value'));
150
- }
151
- }
152
-
153
- LocalPayment.prototype.getSourceArgs = function () {
154
- return {
155
- type: this.params.local_payment_type,
156
- amount: this.get_total_price_cents(),
157
- currency: this.get_currency(),
158
- owner: {
159
- name: this.get_customer_name(this.get_billing_prefix()),
160
- email: this.fields.get('billing_email', null)
161
- },
162
- redirect: {
163
- return_url: this.params.return_url
164
- }
165
- }
166
- }
167
-
168
- LocalPayment.prototype.updated_checkout = function () {
169
- this.mount_button();
170
- this.maybe_hide_gateway();
171
- }
172
-
173
- LocalPayment.prototype.mount_button = function () {
174
- var id = '#wc_stripe_local_payment_' + this.gateway_id;
175
- if ($(id).length && this.elementType != null) {
176
- $(id).empty();
177
- if (!this.element) {
178
- this.element = this.elements.create(this.elementType, this.params.element_params);
179
- this.element.on('change', this.handleElementChange.bind(this));
180
- }
181
- this.elementEmpty = true;
182
- this.element.mount(id);
183
- }
184
-
185
- }
186
-
187
- LocalPayment.prototype.handleElementChange = function (e) {
188
- this.elementEmpty = e.empty;
189
- }
190
-
191
- LocalPayment.prototype.load_external_script = function (url) {
192
- var script = document.createElement('script');
193
- script.type = "text/javascript";
194
- script.src = url;
195
- script.onload = function () {
196
- this.script_loaded = true;
197
- }.bind(this);
198
- document.body.appendChild(script);
199
- }
200
-
201
- LocalPayment.prototype.hashChange = function (e) {
202
- if (this.is_gateway_selected()) {
203
- var match = window.location.hash.match(/response=(.*)/);
204
- if (match) {
205
- history.pushState({}, '', window.location.pathname);
206
- var obj = JSON.parse(window.atob(decodeURIComponent(match[1])));
207
- this.processConfirmation(obj);
208
- }
209
- }
210
- }
211
-
212
- LocalPayment.prototype.handle_next_action = function (data) {
213
- this.processConfirmation(data);
214
- }
215
-
216
- LocalPayment.prototype.processConfirmation = function (obj) {
217
- if (obj.type === 'payment_intent') {
218
- this.stripe[this.confirmation_method](obj.client_secret, this.get_confirmation_args(obj)).then(function (result) {
219
- if (result.error) {
220
- this.confirmation_obj = obj;
221
- this.payment_token_received = false;
222
- return this.submit_error(result.error.message);
223
- }
224
- var redirect = decodeURI(obj.order_received_url);
225
- if (result.paymentIntent.status === 'processing') {
226
- redirect += '&' + $.param({
227
- '_stripe_local_payment': this.gateway_id,
228
- payment_intent: result.paymentIntent.id,
229
- payment_intent_client_secret: result.paymentIntent.client_secret
230
- });
231
- }
232
- window.location.href = decodeURI(redirect);
233
- }.bind(this))
234
- } else {
235
- this.stripe[this.setupActionMethod](obj.client_secret, this.get_confirmation_args(obj)).then(function (result) {
236
- if (result.error) {
237
- return this.submit_error(result.error.message);
238
- }
239
- this.set_nonce(result.setupIntent.payment_method);
240
- this.set_intent(result.setupIntent.id);
241
- return this.process_payment(obj.order_id, obj.order_key);
242
- }.bind(this));
243
- }
244
- }
245
-
246
- LocalPayment.prototype.get_confirmation_args = function (obj) {
247
- obj = typeof obj === 'undefined' ? {} : obj;
248
- var args = {
249
- payment_method: {
250
- billing_details: this.get_billing_details()
251
- },
252
- return_url: obj.return_url
253
- };
254
- if (this.elementType) {
255
- args.payment_method[this.params.local_payment_type] = this.element;
256
- }
257
- return args;
258
- }
259
-
260
- LocalPayment.prototype.isValidElement = function () {
261
- if (this.element) {
262
- return !this.elementEmpty;
263
- }
264
- return true;
265
- }
266
-
267
- LocalPayment.prototype.delete_order_source = function () {
268
- return new Promise(function (resolve, reject) {
269
- $.ajax({
270
- url: this.params.routes.delete_order_source,
271
- method: 'DELETE',
272
- dataType: 'json',
273
- beforeSend: this.ajax_before_send.bind(this)
274
- }).done(function (response) {
275
- resolve(response);
276
- }.bind(this)).fail(function () {
277
- reject();
278
- }.bind(this))
279
- }.bind(this))
280
- }
281
-
282
- LocalPayment.prototype.update_source = function (args) {
283
- return new Promise(function (resolve, reject) {
284
- if (this.updateSourceXhr) {
285
- this.updateSourceXhr.abort();
286
- }
287
- this.updateSourceXhr = $.ajax({
288
- url: this.params.routes.update_source,
289
- method: 'POST',
290
- dataType: 'json',
291
- data: {
292
- _wpnonce: this.params.rest_nonce,
293
- updates: args,
294
- source_id: this.source.id,
295
- client_secret: this.source.client_secret,
296
- payment_method: this.gateway_id
297
- }
298
- }).done(function (response) {
299
- resolve(response.source);
300
- }.bind(this)).fail(function () {
301
- reject();
302
- });
303
- }.bind(this));
304
- }
305
-
306
- /*********** iDEAL ***********/
307
- function IDEAL(params) {
308
- this.elementType = 'idealBank';
309
- this.confirmation_method = 'confirmIdealPayment';
310
- LocalPayment.call(this, params);
311
- window.addEventListener('hashchange', this.hashChange.bind(this));
312
- }
313
-
314
- /*********** P24 ***********/
315
- function P24(params) {
316
- this.elementType = 'p24Bank';
317
- this.confirmation_method = 'confirmP24Payment';
318
- LocalPayment.call(this, params);
319
- window.addEventListener('hashchange', this.hashChange.bind(this));
320
- }
321
-
322
- /******* Sepa *******/
323
- function Sepa(params) {
324
- this.elementType = 'iban';
325
- this.confirmation_method = 'confirmSepaDebitPayment';
326
- this.setupActionMethod = 'confirmSepaDebitSetup';
327
- LocalPayment.call(this, params);
328
- window.addEventListener('hashchange', this.hashChange.bind(this));
329
- }
330
-
331
- /****** Klarna ******/
332
- function Klarna(params) {
333
- this.confirmation_method = 'confirmKlarnaPayment';
334
- LocalPayment.call(this, params);
335
- window.addEventListener('hashchange', this.hashChange.bind(this));
336
- }
337
-
338
- function FPX(params) {
339
- this.elementType = 'fpxBank';
340
- this.confirmation_method = 'confirmFpxPayment';
341
- LocalPayment.call(this, params);
342
- window.addEventListener('hashchange', this.hashChange.bind(this));
343
- }
344
-
345
- function WeChat(params) {
346
- LocalPayment.call(this, params);
347
- window.addEventListener('hashchange', this.hashChange.bind(this));
348
- }
349
-
350
- function BECS(params) {
351
- this.elementType = 'auBankAccount';
352
- this.confirmation_method = 'confirmAuBecsDebitPayment';
353
- this.setupActionMethod = 'confirmAuBecsDebitSetup';
354
- LocalPayment.call(this, params);
355
- window.addEventListener('hashchange', this.hashChange.bind(this));
356
- }
357
-
358
- function GrabPay(params) {
359
- this.confirmation_method = 'confirmGrabPayPayment';
360
- LocalPayment.call(this, params);
361
- window.addEventListener('hashchange', this.hashChange.bind(this));
362
- }
363
-
364
- function Afterpay(params) {
365
- this.confirmation_method = 'confirmAfterpayClearpayPayment';
366
- LocalPayment.call(this, params);
367
- window.addEventListener('hashchange', this.hashChange.bind(this));
368
- }
369
-
370
- function Boleto(params) {
371
- this.confirmation_method = 'confirmBoletoPayment';
372
- LocalPayment.call(this, params);
373
- window.addEventListener('hashchange', this.hashChange.bind(this));
374
- }
375
-
376
- function OXXO(params) {
377
- this.confirmation_method = 'confirmOxxoPayment';
378
- LocalPayment.call(this, params);
379
- window.addEventListener('hashchange', this.hashChange.bind(this));
380
- }
381
-
382
- function GiroPay(params) {
383
- this.confirmation_method = 'confirmGiropayPayment';
384
- LocalPayment.call(this, params);
385
- window.addEventListener('hashchange', this.hashChange.bind(this));
386
- }
387
-
388
- function Bancontact(params) {
389
- this.confirmation_method = 'confirmBancontactPayment';
390
- LocalPayment.call(this, params);
391
- window.addEventListener('hashchange', this.hashChange.bind(this));
392
- }
393
-
394
- function EPS(params) {
395
- this.elementType = 'epsBank';
396
- this.confirmation_method = 'confirmEpsPayment';
397
- LocalPayment.call(this, params);
398
- window.addEventListener('hashchange', this.hashChange.bind(this));
399
- }
400
-
401
- function Alipay(params) {
402
- this.confirmation_method = 'confirmAlipayPayment';
403
- LocalPayment.call(this, params);
404
- window.addEventListener('hashchange', this.hashChange.bind(this));
405
- }
406
-
407
- function Sofort(params) {
408
- this.confirmation_method = 'confirmSofortPayment';
409
- LocalPayment.call(this, params);
410
- window.addEventListener('hashchange', this.hashChange.bind(this));
411
- }
412
-
413
- WeChat.prototype.updated_checkout = function () {
414
- if (!this.script_loaded && $(this.container).length) {
415
- this.load_external_script(this.params.qr_script);
416
- }
417
- LocalPayment.prototype.updated_checkout.apply(this, arguments);
418
- }
419
-
420
- WeChat.prototype.hashChange = function (e) {
421
- if (this.is_gateway_selected()) {
422
- var match = window.location.hash.match(/qrcode=(.*)/);
423
- if (match) {
424
- history.pushState({}, '', window.location.pathname);
425
- this.qrcode = JSON.parse(window.atob(decodeURIComponent(match[1])));
426
- this.get_form().unblock().removeClass('processing').addClass('wechat');
427
- var qrCode = new QRCode('wc_stripe_local_payment_stripe_wechat', {
428
- text: this.qrcode.code,
429
- width: parseInt(this.params.qr_size),
430
- height: parseInt(this.params.qr_size),
431
- colorDark: '#424770',
432
- colorLight: '#f8fbfd',
433
- correctLevel: QRCode.CorrectLevel.H,
434
- });
435
- $('#wc_stripe_local_payment_stripe_wechat').append('<p class="qrcode-message">' + this.params.qr_message + '</p>');
436
- this.payment_token_received = true;
437
- this.show_place_order();
438
- }
439
- }
440
- }
441
-
442
- WeChat.prototype.place_order = function (e) {
443
- if (this.qrcode && this.payment_token_received) {
444
- e.preventDefault();
445
- window.location = this.qrcode.redirect;
446
- } else {
447
- LocalPayment.prototype.place_order.apply(this, arguments);
448
- }
449
- }
450
-
451
- Afterpay.prototype.is_currency_supported = function () {
452
- return this.params.currencies.indexOf(this.get_currency()) > -1;
453
- }
454
-
455
- Afterpay.prototype.updated_checkout = function () {
456
- this.maybe_hide_gateway();
457
- if (this.has_gateway_data() && this.is_currency_supported()) {
458
- this.add_eligibility(this.container, parseFloat(this.get_total_price()));
459
- // re-insert the messaging
460
- // create new elements object since country code could have changed
461
- this.elements = this.stripe.elements(this.get_element_options());
462
- this.initialize_messaging();
463
- }
464
- }
465
-
466
- Afterpay.prototype.initialize = function () {
467
- if (this.has_gateway_data() && this.is_currency_supported()) {
468
- this.add_eligibility(this.container, parseFloat(this.get_total_price()));
469
- this.initialize_messaging();
470
- }
471
- }
472
-
473
- Afterpay.prototype.initialize_messaging = function () {
474
- this.msgElement = this.elements.create('afterpayClearpayMessage', $.extend({}, this.params.msg_options, {
475
- amount: this.get_total_price_cents(),
476
- currency: this.get_currency()
477
- }));
478
- this.mount_message();
479
- }
480
-
481
- Afterpay.prototype.mount_message = function (update) {
482
- if (update) {
483
- this.msgElement.update({
484
- amount: this.get_total_price_cents(),
485
- currency: this.get_currency()
486
- });
487
- }
488
- var $el = $('label[for="payment_method_stripe_afterpay"]').find('#wc-stripe-afterpay-msg');
489
- if (!$el.length) {
490
- $('label[for="payment_method_stripe_afterpay"]').append('<div id="wc-stripe-afterpay-msg"></div>');
491
- }
492
- this.msgElement.mount('#wc-stripe-afterpay-msg');
493
- }
494
-
495
- Afterpay.prototype.add_eligibility = function (selector, price) {
496
- wc_stripe.Afterpay.prototype.add_eligibility.apply(this, arguments);
497
- if (!this.is_eligible(price)) {
498
- $(this.container).find('.wc-stripe-afterpay__offsite').addClass('afterpay-ineligible');
499
- }
500
- }
501
-
502
- Boleto.prototype.get_confirmation_args = function (obj) {
503
- var args = LocalPayment.prototype.get_confirmation_args.call(this, obj);
504
- args.payment_method.boleto = {
505
- tax_id: this.get_tax_id()
506
- };
507
- return args;
508
- }
509
-
510
- Boleto.prototype.createSource = function () {
511
- var tax_id = this.get_tax_id();
512
- if (!tax_id || !tax_id.match(/^(\w{3}\.){2}\w{3}-\w{2}$|^(\w{11}|\w{14})$|^\w{2}\.\w{3}\.\w{3}\/\w{4}-\w{2}$/)) {
513
- return this.submit_error({code: 'incomplete_boleto_tax_id'});
514
- } else {
515
- this.payment_token_received = true;
516
- this.get_form().trigger('submit');
517
- }
518
- }
519
-
520
- Boleto.prototype.get_tax_id = function () {
521
- return $('#wc_stripe_boleto_tax_id').val();
522
- }
523
-
524
- Sepa.prototype.updated_checkout = function (e) {
525
- LocalPayment.prototype.updated_checkout.apply(this, arguments);
526
- var val = $('[name="billing_country"]').val();
527
- if (!!val && this.element) {
528
- this.element.update({placeholderCountry: val});
529
- }
530
- }
531
-
532
- Sofort.prototype.get_confirmation_args = function () {
533
- var args = LocalPayment.prototype.get_confirmation_args.apply(this, arguments);
534
- args.payment_method.sofort = {country: args.payment_method.billing_details.address.country};
535
- return args;
536
- }
537
-
538
- IDEAL.prototype = $.extend({}, LocalPayment.prototype, IDEAL.prototype);
539
-
540
- P24.prototype = $.extend({}, LocalPayment.prototype, P24.prototype);
541
-
542
- Sepa.prototype = $.extend({}, LocalPayment.prototype, Sepa.prototype);
543
-
544
- Klarna.prototype = $.extend({}, LocalPayment.prototype, Klarna.prototype);
545
-
546
- FPX.prototype = $.extend({}, LocalPayment.prototype, FPX.prototype);
547
-
548
- WeChat.prototype = $.extend({}, LocalPayment.prototype, WeChat.prototype);
549
-
550
- BECS.prototype = $.extend({}, LocalPayment.prototype, BECS.prototype);
551
-
552
- GrabPay.prototype = $.extend({}, LocalPayment.prototype, GrabPay.prototype);
553
-
554
- Afterpay.prototype = $.extend({}, LocalPayment.prototype, wc_stripe.Afterpay.prototype, Afterpay.prototype);
555
-
556
- Boleto.prototype = $.extend({}, LocalPayment.prototype, Boleto.prototype);
557
-
558
- OXXO.prototype = $.extend({}, LocalPayment.prototype, OXXO.prototype);
559
-
560
- GiroPay.prototype = $.extend({}, LocalPayment.prototype, GiroPay.prototype);
561
-
562
- Bancontact.prototype = $.extend({}, LocalPayment.prototype, Bancontact.prototype);
563
-
564
- EPS.prototype = $.extend({}, LocalPayment.prototype, EPS.prototype);
565
-
566
- Alipay.prototype = $.extend({}, LocalPayment.prototype, Alipay.prototype);
567
-
568
- Sofort.prototype = $.extend({}, LocalPayment.prototype, Sofort.prototype);
569
-
570
- /**
571
- * Local payment types that require JS integration
572
- * @type {Object}
573
- */
574
- var types = {
575
- 'ideal': IDEAL,
576
- 'p24': P24,
577
- 'sepa_debit': Sepa,
578
- 'klarna': Klarna,
579
- 'fpx': FPX,
580
- 'wechat': WeChat,
581
- 'au_becs_debit': BECS,
582
- 'grabpay': GrabPay,
583
- 'afterpay_clearpay': Afterpay,
584
- 'boleto': Boleto,
585
- 'oxxo': OXXO,
586
- 'giropay': GiroPay,
587
- 'bancontact': Bancontact,
588
- 'eps': EPS,
589
- 'alipay': Alipay,
590
- 'sofort': Sofort
591
- }
592
-
593
- for (var i in wc_stripe_local_payment_params.gateways) {
594
- var params = wc_stripe_local_payment_params.gateways[i];
595
- if (types[params.local_payment_type]) {
596
- new types[params.local_payment_type](params);
597
- } else {
598
- new LocalPayment(params);
599
- }
600
- }
601
-
602
  }(jQuery, window.wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ /**
4
+ * [LocalPayment description]
5
+ */
6
+ function LocalPayment(params) {
7
+ wc_stripe.BaseGateway.call(this, params);
8
+ wc_stripe.CheckoutGateway.call(this);
9
+
10
+ $(document.body).on('click', '#place_order', this.place_order.bind(this));
11
+
12
+ if (this.is_current_page('order_pay')) {
13
+ $('#order_review').on('submit', this.process_order_pay.bind(this));
14
+ }
15
+
16
+ this.maybe_hide_gateway();
17
+ }
18
+
19
+ LocalPayment.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype);
20
+
21
+
22
+ LocalPayment.prototype.initialize = function () {
23
+ this.mount_button();
24
+ }
25
+
26
+ LocalPayment.prototype.elementType = null;
27
+
28
+ LocalPayment.prototype.is_active = function () {
29
+ return $('#wc_stripe_local_payment_' + this.gateway_id).data('active');
30
+ }
31
+
32
+ LocalPayment.prototype.maybe_hide_gateway = function () {
33
+ if (!this.is_active()) {
34
+ $(this.container).hide();
35
+ if (this.is_gateway_selected()) {
36
+ $('li[class*="payment_method_stripe_"]').filter(':visible').eq(0).find('[name="payment_method"]').prop('checked', true).trigger('click');
37
+ }
38
+ } else {
39
+ $(this.container).show();
40
+ }
41
+ }
42
+
43
+ /**
44
+ * [createSource description]
45
+ * @return {[type]} [description]
46
+ */
47
+ LocalPayment.prototype.createSource = function () {
48
+ return new Promise(function (resolve, reject) {
49
+ var handler = function (result) {
50
+ if (result.error) {
51
+ this.submit_error(result.error);
52
+ } else {
53
+ this.payment_token_received = true;
54
+ this.set_nonce(result.source.id);
55
+ this.get_form().trigger('submit');
56
+ }
57
+ resolve();
58
+ }.bind(this);
59
+ if (this.elementType != null) {
60
+ if (this.confirmation_method) {
61
+ if (this.confirmation_obj) {
62
+ this.processConfirmation(this.confirmation_obj);
63
+ } else {
64
+ if (this.isValidElement()) {
65
+ this.payment_token_received = true;
66
+ this.get_form().trigger('submit');
67
+ } else {
68
+ return this.submit_error({
69
+ code: 'empty_element_' + this.params.local_payment_type,
70
+ message: wc_stripe_messages.empty_element
71
+ });
72
+ }
73
+ }
74
+ } else {
75
+ this.stripe.createSource(this.element, this.getSourceArgs()).then(handler).catch(function (e) {
76
+ this.submit_error(e.message);
77
+ }.bind(this))
78
+ }
79
+ } else {
80
+ this.payment_token_received = true;
81
+ this.get_form().trigger('submit');
82
+ }
83
+ }.bind(this));
84
+ }
85
+
86
+ LocalPayment.prototype.place_order = function (e) {
87
+ if (this.is_gateway_selected()) {
88
+ if (!this.payment_token_received && !this.is_saved_method_selected()) {
89
+ e.preventDefault();
90
+ if (this.is_change_payment_method()) {
91
+ this.process_setup_intent();
92
+ } else {
93
+ this.createSource();
94
+ }
95
+ }
96
+ }
97
+ }
98
+
99
+ LocalPayment.prototype.process_setup_intent = function () {
100
+ // create the setup intent
101
+ this.block();
102
+ this.create_setup_intent().then(function () {
103
+ this.stripe[this.setupActionMethod](this.client_secret, this.get_confirmation_args()).then(function (result) {
104
+ if (result.error) {
105
+ return this.submit_error(result.error.message);
106
+ }
107
+ this.set_nonce(result.setupIntent.payment_method);
108
+ this.set_intent(result.setupIntent.id);
109
+ this.payment_token_received = true;
110
+ this.get_form().trigger('submit');
111
+ }.bind(this));
112
+ }.bind(this)).catch(function (error) {
113
+ this.submit_error(error);
114
+ }.bind(this)).finally(function () {
115
+ this.unblock();
116
+ }.bind(this))
117
+ }
118
+
119
+ LocalPayment.prototype.checkout_place_order = function (e) {
120
+ if (!this.is_saved_method_selected() && !this.payment_token_received) {
121
+ this.place_order.apply(this, arguments);
122
+ return false;
123
+ }
124
+ return wc_stripe.CheckoutGateway.prototype.checkout_place_order.apply(this, arguments);
125
+ }
126
+
127
+ LocalPayment.prototype.process_order_pay = function (e) {
128
+ if (this.is_gateway_selected()) {
129
+ e.preventDefault();
130
+ wc_stripe.CheckoutGateway.prototype.process_order_pay.apply(this, arguments);
131
+ }
132
+ }
133
+
134
+ LocalPayment.prototype.show_payment_button = function () {
135
+ this.show_place_order();
136
+ }
137
+
138
+ /**
139
+ * [Leave empty so that the place order button is not hidden]
140
+ * @return {[type]} [description]
141
+ */
142
+ LocalPayment.prototype.hide_place_order = function () {
143
+
144
+ }
145
+
146
+ LocalPayment.prototype.show_place_order = function () {
147
+ wc_stripe.CheckoutGateway.prototype.show_place_order.apply(this, arguments);
148
+ if (this.payment_token_received) {
149
+ $('#place_order').text($('#place_order').data('value'));
150
+ }
151
+ }
152
+
153
+ LocalPayment.prototype.getSourceArgs = function () {
154
+ return {
155
+ type: this.params.local_payment_type,
156
+ amount: this.get_total_price_cents(),
157
+ currency: this.get_currency(),
158
+ owner: {
159
+ name: this.get_customer_name(this.get_billing_prefix()),
160
+ email: this.fields.get('billing_email', null)
161
+ },
162
+ redirect: {
163
+ return_url: this.params.return_url
164
+ }
165
+ }
166
+ }
167
+
168
+ LocalPayment.prototype.updated_checkout = function () {
169
+ this.mount_button();
170
+ this.maybe_hide_gateway();
171
+ }
172
+
173
+ LocalPayment.prototype.mount_button = function () {
174
+ var id = '#wc_stripe_local_payment_' + this.gateway_id;
175
+ if ($(id).length && this.elementType != null) {
176
+ $(id).empty();
177
+ if (!this.element) {
178
+ this.element = this.elements.create(this.elementType, this.params.element_params);
179
+ this.element.on('change', this.handleElementChange.bind(this));
180
+ }
181
+ this.elementEmpty = true;
182
+ this.element.mount(id);
183
+ }
184
+
185
+ }
186
+
187
+ LocalPayment.prototype.handleElementChange = function (e) {
188
+ this.elementEmpty = e.empty;
189
+ }
190
+
191
+ LocalPayment.prototype.load_external_script = function (url) {
192
+ var script = document.createElement('script');
193
+ script.type = "text/javascript";
194
+ script.src = url;
195
+ script.onload = function () {
196
+ this.script_loaded = true;
197
+ }.bind(this);
198
+ document.body.appendChild(script);
199
+ }
200
+
201
+ LocalPayment.prototype.hashChange = function (e) {
202
+ if (this.is_gateway_selected()) {
203
+ var match = window.location.hash.match(/response=(.*)/);
204
+ if (match) {
205
+ history.pushState({}, '', window.location.pathname);
206
+ var obj = JSON.parse(window.atob(decodeURIComponent(match[1])));
207
+ this.processConfirmation(obj);
208
+ }
209
+ }
210
+ }
211
+
212
+ LocalPayment.prototype.handle_next_action = function (data) {
213
+ this.processConfirmation(data);
214
+ }
215
+
216
+ LocalPayment.prototype.processConfirmation = function (obj) {
217
+ if (obj.type === 'payment_intent') {
218
+ this.stripe[this.confirmation_method](obj.client_secret, this.get_confirmation_args(obj)).then(function (result) {
219
+ if (result.error) {
220
+ this.confirmation_obj = obj;
221
+ this.payment_token_received = false;
222
+ return this.submit_error(result.error.message);
223
+ }
224
+ var redirect = decodeURI(obj.order_received_url);
225
+ if (result.paymentIntent.status === 'processing') {
226
+ redirect += '&' + $.param({
227
+ '_stripe_local_payment': this.gateway_id,
228
+ payment_intent: result.paymentIntent.id,
229
+ payment_intent_client_secret: result.paymentIntent.client_secret
230
+ });
231
+ }
232
+ window.location.href = decodeURI(redirect);
233
+ }.bind(this))
234
+ } else {
235
+ this.stripe[this.setupActionMethod](obj.client_secret, this.get_confirmation_args(obj)).then(function (result) {
236
+ if (result.error) {
237
+ return this.submit_error(result.error.message);
238
+ }
239
+ this.set_nonce(result.setupIntent.payment_method);
240
+ this.set_intent(result.setupIntent.id);
241
+ return this.process_payment(obj.order_id, obj.order_key);
242
+ }.bind(this));
243
+ }
244
+ }
245
+
246
+ LocalPayment.prototype.get_confirmation_args = function (obj) {
247
+ obj = typeof obj === 'undefined' ? {} : obj;
248
+ var args = {
249
+ payment_method: {
250
+ billing_details: this.get_billing_details()
251
+ },
252
+ return_url: obj.return_url
253
+ };
254
+ if (this.elementType) {
255
+ args.payment_method[this.params.local_payment_type] = this.element;
256
+ }
257
+ return args;
258
+ }
259
+
260
+ LocalPayment.prototype.isValidElement = function () {
261
+ if (this.element) {
262
+ return !this.elementEmpty;
263
+ }
264
+ return true;
265
+ }
266
+
267
+ LocalPayment.prototype.delete_order_source = function () {
268
+ return new Promise(function (resolve, reject) {
269
+ $.ajax({
270
+ url: this.params.routes.delete_order_source,
271
+ method: 'DELETE',
272
+ dataType: 'json',
273
+ beforeSend: this.ajax_before_send.bind(this)
274
+ }).done(function (response) {
275
+ resolve(response);
276
+ }.bind(this)).fail(function () {
277
+ reject();
278
+ }.bind(this))
279
+ }.bind(this))
280
+ }
281
+
282
+ LocalPayment.prototype.update_source = function (args) {
283
+ return new Promise(function (resolve, reject) {
284
+ if (this.updateSourceXhr) {
285
+ this.updateSourceXhr.abort();
286
+ }
287
+ this.updateSourceXhr = $.ajax({
288
+ url: this.params.routes.update_source,
289
+ method: 'POST',
290
+ dataType: 'json',
291
+ data: {
292
+ _wpnonce: this.params.rest_nonce,
293
+ updates: args,
294
+ source_id: this.source.id,
295
+ client_secret: this.source.client_secret,
296
+ payment_method: this.gateway_id
297
+ }
298
+ }).done(function (response) {
299
+ resolve(response.source);
300
+ }.bind(this)).fail(function () {
301
+ reject();
302
+ });
303
+ }.bind(this));
304
+ }
305
+
306
+ /*********** iDEAL ***********/
307
+ function IDEAL(params) {
308
+ this.elementType = 'idealBank';
309
+ this.confirmation_method = 'confirmIdealPayment';
310
+ LocalPayment.call(this, params);
311
+ window.addEventListener('hashchange', this.hashChange.bind(this));
312
+ }
313
+
314
+ /*********** P24 ***********/
315
+ function P24(params) {
316
+ this.elementType = 'p24Bank';
317
+ this.confirmation_method = 'confirmP24Payment';
318
+ LocalPayment.call(this, params);
319
+ window.addEventListener('hashchange', this.hashChange.bind(this));
320
+ }
321
+
322
+ /******* Sepa *******/
323
+ function Sepa(params) {
324
+ this.elementType = 'iban';
325
+ this.confirmation_method = 'confirmSepaDebitPayment';
326
+ this.setupActionMethod = 'confirmSepaDebitSetup';
327
+ LocalPayment.call(this, params);
328
+ window.addEventListener('hashchange', this.hashChange.bind(this));
329
+ }
330
+
331
+ /****** Klarna ******/
332
+ function Klarna(params) {
333
+ this.confirmation_method = 'confirmKlarnaPayment';
334
+ LocalPayment.call(this, params);
335
+ window.addEventListener('hashchange', this.hashChange.bind(this));
336
+ }
337
+
338
+ function FPX(params) {
339
+ this.elementType = 'fpxBank';
340
+ this.confirmation_method = 'confirmFpxPayment';
341
+ LocalPayment.call(this, params);
342
+ window.addEventListener('hashchange', this.hashChange.bind(this));
343
+ }
344
+
345
+ function WeChat(params) {
346
+ LocalPayment.call(this, params);
347
+ window.addEventListener('hashchange', this.hashChange.bind(this));
348
+ }
349
+
350
+ function BECS(params) {
351
+ this.elementType = 'auBankAccount';
352
+ this.confirmation_method = 'confirmAuBecsDebitPayment';
353
+ this.setupActionMethod = 'confirmAuBecsDebitSetup';
354
+ LocalPayment.call(this, params);
355
+ window.addEventListener('hashchange', this.hashChange.bind(this));
356
+ }
357
+
358
+ function GrabPay(params) {
359
+ this.confirmation_method = 'confirmGrabPayPayment';
360
+ LocalPayment.call(this, params);
361
+ window.addEventListener('hashchange', this.hashChange.bind(this));
362
+ }
363
+
364
+ function Afterpay(params) {
365
+ this.confirmation_method = 'confirmAfterpayClearpayPayment';
366
+ LocalPayment.call(this, params);
367
+ window.addEventListener('hashchange', this.hashChange.bind(this));
368
+ }
369
+
370
+ function Boleto(params) {
371
+ this.confirmation_method = 'confirmBoletoPayment';
372
+ LocalPayment.call(this, params);
373
+ window.addEventListener('hashchange', this.hashChange.bind(this));
374
+ }
375
+
376
+ function OXXO(params) {
377
+ this.confirmation_method = 'confirmOxxoPayment';
378
+ LocalPayment.call(this, params);
379
+ window.addEventListener('hashchange', this.hashChange.bind(this));
380
+ }
381
+
382
+ function GiroPay(params) {
383
+ this.confirmation_method = 'confirmGiropayPayment';
384
+ LocalPayment.call(this, params);
385
+ window.addEventListener('hashchange', this.hashChange.bind(this));
386
+ }
387
+
388
+ function Bancontact(params) {
389
+ this.confirmation_method = 'confirmBancontactPayment';
390
+ LocalPayment.call(this, params);
391
+ window.addEventListener('hashchange', this.hashChange.bind(this));
392
+ }
393
+
394
+ function EPS(params) {
395
+ this.elementType = 'epsBank';
396
+ this.confirmation_method = 'confirmEpsPayment';
397
+ LocalPayment.call(this, params);
398
+ window.addEventListener('hashchange', this.hashChange.bind(this));
399
+ }
400
+
401
+ function Alipay(params) {
402
+ this.confirmation_method = 'confirmAlipayPayment';
403
+ LocalPayment.call(this, params);
404
+ window.addEventListener('hashchange', this.hashChange.bind(this));
405
+ }
406
+
407
+ function Sofort(params) {
408
+ this.confirmation_method = 'confirmSofortPayment';
409
+ LocalPayment.call(this, params);
410
+ window.addEventListener('hashchange', this.hashChange.bind(this));
411
+ }
412
+
413
+ WeChat.prototype.updated_checkout = function () {
414
+ if (!this.script_loaded && $(this.container).length) {
415
+ this.load_external_script(this.params.qr_script);
416
+ }
417
+ LocalPayment.prototype.updated_checkout.apply(this, arguments);
418
+ }
419
+
420
+ WeChat.prototype.hashChange = function (e) {
421
+ if (this.is_gateway_selected()) {
422
+ var match = window.location.hash.match(/qrcode=(.*)/);
423
+ if (match) {
424
+ history.pushState({}, '', window.location.pathname);
425
+ this.qrcode = JSON.parse(window.atob(decodeURIComponent(match[1])));
426
+ this.get_form().unblock().removeClass('processing').addClass('wechat');
427
+ var qrCode = new QRCode('wc_stripe_local_payment_stripe_wechat', {
428
+ text: this.qrcode.code,
429
+ width: parseInt(this.params.qr_size),
430
+ height: parseInt(this.params.qr_size),
431
+ colorDark: '#424770',
432
+ colorLight: '#f8fbfd',
433
+ correctLevel: QRCode.CorrectLevel.H,
434
+ });
435
+ $('#wc_stripe_local_payment_stripe_wechat').append('<p class="qrcode-message">' + this.params.qr_message + '</p>');
436
+ this.payment_token_received = true;
437
+ this.show_place_order();
438
+ }
439
+ }
440
+ }
441
+
442
+ WeChat.prototype.place_order = function (e) {
443
+ if (this.qrcode && this.payment_token_received) {
444
+ e.preventDefault();
445
+ window.location = this.qrcode.redirect;
446
+ } else {
447
+ LocalPayment.prototype.place_order.apply(this, arguments);
448
+ }
449
+ }
450
+
451
+ Afterpay.prototype.is_currency_supported = function () {
452
+ return this.params.currencies.indexOf(this.get_currency()) > -1;
453
+ }
454
+
455
+ Afterpay.prototype.updated_checkout = function () {
456
+ this.maybe_hide_gateway();
457
+ if (this.has_gateway_data() && this.is_currency_supported()) {
458
+ this.add_eligibility(this.container, parseFloat(this.get_total_price()));
459
+ // re-insert the messaging
460
+ // create new elements object since country code could have changed
461
+ this.elements = this.stripe.elements(this.get_element_options());
462
+ this.initialize_messaging();
463
+ }
464
+ }
465
+
466
+ Afterpay.prototype.initialize = function () {
467
+ if (this.has_gateway_data() && this.is_currency_supported()) {
468
+ this.add_eligibility(this.container, parseFloat(this.get_total_price()));
469
+ this.initialize_messaging();
470
+ }
471
+ }
472
+
473
+ Afterpay.prototype.initialize_messaging = function () {
474
+ this.msgElement = this.elements.create('afterpayClearpayMessage', $.extend({}, this.params.msg_options, {
475
+ amount: this.get_total_price_cents(),
476
+ currency: this.get_currency()
477
+ }));
478
+ this.mount_message();
479
+ }
480
+
481
+ Afterpay.prototype.mount_message = function (update) {
482
+ if (update) {
483
+ this.msgElement.update({
484
+ amount: this.get_total_price_cents(),
485
+ currency: this.get_currency()
486
+ });
487
+ }
488
+ var $el = $('label[for="payment_method_stripe_afterpay"]').find('#wc-stripe-afterpay-msg');
489
+ if (!$el.length) {
490
+ $('label[for="payment_method_stripe_afterpay"]').append('<div id="wc-stripe-afterpay-msg"></div>');
491
+ }
492
+ this.msgElement.mount('#wc-stripe-afterpay-msg');
493
+ }
494
+
495
+ Afterpay.prototype.add_eligibility = function (selector, price) {
496
+ wc_stripe.Afterpay.prototype.add_eligibility.apply(this, arguments);
497
+ if (!this.is_eligible(price)) {
498
+ $(this.container).find('.wc-stripe-afterpay__offsite').addClass('afterpay-ineligible');
499
+ }
500
+ }
501
+
502
+ Boleto.prototype.get_confirmation_args = function (obj) {
503
+ var args = LocalPayment.prototype.get_confirmation_args.call(this, obj);
504
+ args.payment_method.boleto = {
505
+ tax_id: this.get_tax_id()
506
+ };
507
+ return args;
508
+ }
509
+
510
+ Boleto.prototype.createSource = function () {
511
+ var tax_id = this.get_tax_id();
512
+ if (!tax_id || !tax_id.match(/^(\w{3}\.){2}\w{3}-\w{2}$|^(\w{11}|\w{14})$|^\w{2}\.\w{3}\.\w{3}\/\w{4}-\w{2}$/)) {
513
+ return this.submit_error({code: 'incomplete_boleto_tax_id'});
514
+ } else {
515
+ this.payment_token_received = true;
516
+ this.get_form().trigger('submit');
517
+ }
518
+ }
519
+
520
+ Boleto.prototype.get_tax_id = function () {
521
+ return $('#wc_stripe_boleto_tax_id').val();
522
+ }
523
+
524
+ Sepa.prototype.updated_checkout = function (e) {
525
+ LocalPayment.prototype.updated_checkout.apply(this, arguments);
526
+ var val = $('[name="billing_country"]').val();
527
+ if (!!val && this.element) {
528
+ this.element.update({placeholderCountry: val});
529
+ }
530
+ }
531
+
532
+ Sofort.prototype.get_confirmation_args = function () {
533
+ var args = LocalPayment.prototype.get_confirmation_args.apply(this, arguments);
534
+ args.payment_method.sofort = {country: args.payment_method.billing_details.address.country};
535
+ return args;
536
+ }
537
+
538
+ IDEAL.prototype = $.extend({}, LocalPayment.prototype, IDEAL.prototype);
539
+
540
+ P24.prototype = $.extend({}, LocalPayment.prototype, P24.prototype);
541
+
542
+ Sepa.prototype = $.extend({}, LocalPayment.prototype, Sepa.prototype);
543
+
544
+ Klarna.prototype = $.extend({}, LocalPayment.prototype, Klarna.prototype);
545
+
546
+ FPX.prototype = $.extend({}, LocalPayment.prototype, FPX.prototype);
547
+
548
+ WeChat.prototype = $.extend({}, LocalPayment.prototype, WeChat.prototype);
549
+
550
+ BECS.prototype = $.extend({}, LocalPayment.prototype, BECS.prototype);
551
+
552
+ GrabPay.prototype = $.extend({}, LocalPayment.prototype, GrabPay.prototype);
553
+
554
+ Afterpay.prototype = $.extend({}, LocalPayment.prototype, wc_stripe.Afterpay.prototype, Afterpay.prototype);
555
+
556
+ Boleto.prototype = $.extend({}, LocalPayment.prototype, Boleto.prototype);
557
+
558
+ OXXO.prototype = $.extend({}, LocalPayment.prototype, OXXO.prototype);
559
+
560
+ GiroPay.prototype = $.extend({}, LocalPayment.prototype, GiroPay.prototype);
561
+
562
+ Bancontact.prototype = $.extend({}, LocalPayment.prototype, Bancontact.prototype);
563
+
564
+ EPS.prototype = $.extend({}, LocalPayment.prototype, EPS.prototype);
565
+
566
+ Alipay.prototype = $.extend({}, LocalPayment.prototype, Alipay.prototype);
567
+
568
+ Sofort.prototype = $.extend({}, LocalPayment.prototype, Sofort.prototype);
569
+
570
+ /**
571
+ * Local payment types that require JS integration
572
+ * @type {Object}
573
+ */
574
+ var types = {
575
+ 'ideal': IDEAL,
576
+ 'p24': P24,
577
+ 'sepa_debit': Sepa,
578
+ 'klarna': Klarna,
579
+ 'fpx': FPX,
580
+ 'wechat': WeChat,
581
+ 'au_becs_debit': BECS,
582
+ 'grabpay': GrabPay,
583
+ 'afterpay_clearpay': Afterpay,
584
+ 'boleto': Boleto,
585
+ 'oxxo': OXXO,
586
+ 'giropay': GiroPay,
587
+ 'bancontact': Bancontact,
588
+ 'eps': EPS,
589
+ 'alipay': Alipay,
590
+ 'sofort': Sofort
591
+ }
592
+
593
+ for (var i in wc_stripe_local_payment_params.gateways) {
594
+ var params = wc_stripe_local_payment_params.gateways[i];
595
+ if (types[params.local_payment_type]) {
596
+ new types[params.local_payment_type](params);
597
+ } else {
598
+ new LocalPayment(params);
599
+ }
600
+ }
601
+
602
  }(jQuery, window.wc_stripe))
assets/js/frontend/mini-cart.js CHANGED
@@ -1,182 +1,182 @@
1
- (function ($, wc_stripe) {
2
-
3
- /**
4
- *
5
- * @param container
6
- * @constructor
7
- */
8
- function MiniCart(params) {
9
- this.message_container = '.widget_shopping_cart_content';
10
- wc_stripe.BaseGateway.call(this, params, container);
11
- }
12
-
13
- MiniCart.prototype.on_token_received = function () {
14
- this.block();
15
- this.block_cart();
16
- wc_stripe.BaseGateway.prototype.on_token_received.apply(this, arguments);
17
- }
18
-
19
- MiniCart.prototype.block_cart = function () {
20
- $(this.container).find('.wc-stripe-minicart-overlay').addClass('active');
21
- }
22
-
23
- MiniCart.prototype.unblock_cart = function () {
24
- $(this.container).find('.wc-stripe-minicart-overlay').removeClass('active');
25
- }
26
-
27
- MiniCart.prototype.get_gateway_data = function () {
28
- var key = ".woocommerce_" + this.gateway_id + "_gateway_data";
29
- var data = $('.woocommerce-mini-cart__buttons').find(key).data('gateway');
30
- if (!data) {
31
- data = $(key).data('gateway');
32
- }
33
- return !!data ? data : {};
34
- }
35
-
36
- /*------------------------- GPay -------------------------*/
37
- function GPay(params) {
38
- MiniCart.apply(this, arguments);
39
- }
40
-
41
- GPay.prototype = Object.assign({}, wc_stripe.BaseGateway.prototype, MiniCart.prototype, wc_stripe.GooglePay.prototype);
42
-
43
- GPay.prototype.initialize = function () {
44
- this.createPaymentsClient();
45
- this.isReadyToPay().then(function () {
46
- this.append_button();
47
- }.bind(this));
48
- }
49
-
50
- /**
51
- * @return {[type]}
52
- */
53
- GPay.prototype.create_button = function () {
54
- wc_stripe.GooglePay.prototype.create_button.apply(this, arguments);
55
- this.append_button();
56
- }
57
-
58
- GPay.prototype.append_button = function () {
59
- $(this.container).find('.wc-stripe-gpay-mini-cart').empty();
60
- $(this.container).find('.wc-stripe-gpay-mini-cart').append(this.$button).show();
61
- }
62
-
63
- /*------------------------- ApplePay -------------------------*/
64
- function ApplePay(params) {
65
- MiniCart.apply(this, arguments);
66
- }
67
-
68
- ApplePay.prototype = Object.assign({}, wc_stripe.BaseGateway.prototype, MiniCart.prototype, wc_stripe.ApplePay.prototype);
69
-
70
-
71
- ApplePay.prototype.initialize = function () {
72
- wc_stripe.ApplePay.prototype.initialize.apply(this, arguments);
73
- }
74
-
75
- ApplePay.prototype.append_button = function () {
76
- $(this.container).find('.wc-stripe-applepay-mini-cart').empty();
77
- $(this.container).find('.wc-stripe-applepay-mini-cart').append(this.$button).show();
78
- }
79
-
80
- /*------------------------- PaymentRequest -------------------------*/
81
- function PaymentRequest(params) {
82
- MiniCart.apply(this, arguments);
83
- }
84
-
85
- PaymentRequest.prototype = Object.assign({}, wc_stripe.BaseGateway.prototype, MiniCart.prototype, wc_stripe.PaymentRequest.prototype);
86
-
87
- PaymentRequest.prototype.initialize = function () {
88
- wc_stripe.PaymentRequest.prototype.initialize.apply(this, arguments);
89
- }
90
-
91
- PaymentRequest.prototype.create_button = function () {
92
- this.append_button();
93
- }
94
-
95
- PaymentRequest.prototype.append_button = function () {
96
- $(this.container).find('.wc-stripe-payment-request-mini-cart').empty().show();
97
- this.paymentRequestButton.mount($(this.container).find('.wc-stripe-payment-request-mini-cart').first()[0]);
98
- }
99
-
100
- function Afterpay(params) {
101
- MiniCart.apply(this, arguments);
102
- }
103
-
104
- Afterpay.prototype = Object.assign({}, wc_stripe.BaseGateway.prototype, MiniCart.prototype, wc_stripe.Afterpay.prototype);
105
-
106
- Afterpay.prototype.is_currency_supported = function () {
107
- return this.params.currencies.indexOf(this.get_currency()) > -1;
108
- }
109
-
110
- Afterpay.prototype.initialize = function () {
111
- if ($(this.container).length && this.is_currency_supported()) {
112
- this.create_element();
113
- this.mount_message();
114
- }
115
- }
116
-
117
- Afterpay.prototype.create_element = function () {
118
- return this.elements.create('afterpayClearpayMessage', $.extend({}, this.params.msg_options, {
119
- amount: this.get_total_price_cents(),
120
- currency: this.get_currency(),
121
- isEligible: this.is_eligible(parseFloat(this.get_total_price()))
122
- }));
123
- }
124
-
125
- Afterpay.prototype.mount_message = function () {
126
- var $el = $('.wc-stripe-afterpay-minicart-msg');
127
- if (!$el.length) {
128
- $('.woocommerce-mini-cart__total').after('<p class="wc-stripe-afterpay-minicart-msg buttons"></p>');
129
- }
130
- var elements = document.querySelectorAll('.wc-stripe-afterpay-minicart-msg');
131
- if (elements) {
132
- elements.forEach(function (el) {
133
- this.create_element().mount(el);
134
- this.add_eligibility(el, parseFloat(this.get_total_price()));
135
- }.bind(this));
136
- }
137
- }
138
-
139
- /*-------------------------------------------------------------------------*/
140
-
141
- var gateways = [], container = null;
142
-
143
- if (typeof wc_stripe_googlepay_mini_cart_params !== 'undefined') {
144
- gateways.push([GPay, wc_stripe_googlepay_mini_cart_params]);
145
- }
146
- if (typeof wc_stripe_applepay_mini_cart_params !== 'undefined') {
147
- gateways.push([ApplePay, wc_stripe_applepay_mini_cart_params]);
148
- }
149
- if (typeof wc_stripe_payment_request_mini_cart_params !== 'undefined') {
150
- gateways.push([PaymentRequest, wc_stripe_payment_request_mini_cart_params]);
151
- }
152
- if (typeof wc_stripe_afterpay_mini_cart_params !== 'undefined') {
153
- gateways.push([Afterpay, wc_stripe_afterpay_mini_cart_params]);
154
- }
155
-
156
- function load_mini_cart() {
157
- $('.woocommerce-mini-cart__buttons').each(function (idx, el) {
158
- if ($(el).find('.wc_stripe_mini_cart_payment_methods').length) {
159
- var $parent = $(el).parent();
160
- if ($parent.length) {
161
- var class_name = 'wc-stripe-mini-cart-idx-' + idx;
162
- $parent.addClass(class_name);
163
- if(!$parent.find('.wc-stripe-minicart-overlay').length){
164
- $parent.prepend('<div class="wc-stripe-minicart-overlay"></div>');
165
- }
166
-
167
- container = '.' + class_name + ' .woocommerce-mini-cart__buttons';
168
- gateways.forEach(function (gateway) {
169
- new gateway[0](gateway[1]);
170
- })
171
- }
172
- }
173
- });
174
- }
175
-
176
- $(document.body).on('wc_fragments_refreshed wc_fragments_loaded', function () {
177
- setTimeout(load_mini_cart, 250);
178
- });
179
-
180
- setTimeout(load_mini_cart, 500);
181
-
182
  }(jQuery, window.wc_stripe));
1
+ (function ($, wc_stripe) {
2
+
3
+ /**
4
+ *
5
+ * @param container
6
+ * @constructor
7
+ */
8
+ function MiniCart(params) {
9
+ this.message_container = '.widget_shopping_cart_content';
10
+ wc_stripe.BaseGateway.call(this, params, container);
11
+ }
12
+
13
+ MiniCart.prototype.on_token_received = function () {
14
+ this.block();
15
+ this.block_cart();
16
+ wc_stripe.BaseGateway.prototype.on_token_received.apply(this, arguments);
17
+ }
18
+
19
+ MiniCart.prototype.block_cart = function () {
20
+ $(this.container).find('.wc-stripe-minicart-overlay').addClass('active');
21
+ }
22
+
23
+ MiniCart.prototype.unblock_cart = function () {
24
+ $(this.container).find('.wc-stripe-minicart-overlay').removeClass('active');
25
+ }
26
+
27
+ MiniCart.prototype.get_gateway_data = function () {
28
+ var key = ".woocommerce_" + this.gateway_id + "_gateway_data";
29
+ var data = $('.woocommerce-mini-cart__buttons').find(key).data('gateway');
30
+ if (!data) {
31
+ data = $(key).data('gateway');
32
+ }
33
+ return !!data ? data : {};
34
+ }
35
+
36
+ /*------------------------- GPay -------------------------*/
37
+ function GPay(params) {
38
+ MiniCart.apply(this, arguments);
39
+ }
40
+
41
+ GPay.prototype = Object.assign({}, wc_stripe.BaseGateway.prototype, MiniCart.prototype, wc_stripe.GooglePay.prototype);
42
+
43
+ GPay.prototype.initialize = function () {
44
+ this.createPaymentsClient();
45
+ this.isReadyToPay().then(function () {
46
+ this.append_button();
47
+ }.bind(this));
48
+ }
49
+
50
+ /**
51
+ * @return {[type]}
52
+ */
53
+ GPay.prototype.create_button = function () {
54
+ wc_stripe.GooglePay.prototype.create_button.apply(this, arguments);
55
+ this.append_button();
56
+ }
57
+
58
+ GPay.prototype.append_button = function () {
59
+ $(this.container).find('.wc-stripe-gpay-mini-cart').empty();
60
+ $(this.container).find('.wc-stripe-gpay-mini-cart').append(this.$button).show();
61
+ }
62
+
63
+ /*------------------------- ApplePay -------------------------*/
64
+ function ApplePay(params) {
65
+ MiniCart.apply(this, arguments);
66
+ }
67
+
68
+ ApplePay.prototype = Object.assign({}, wc_stripe.BaseGateway.prototype, MiniCart.prototype, wc_stripe.ApplePay.prototype);
69
+
70
+
71
+ ApplePay.prototype.initialize = function () {
72
+ wc_stripe.ApplePay.prototype.initialize.apply(this, arguments);
73
+ }
74
+
75
+ ApplePay.prototype.append_button = function () {
76
+ $(this.container).find('.wc-stripe-applepay-mini-cart').empty();
77
+ $(this.container).find('.wc-stripe-applepay-mini-cart').append(this.$button).show();
78
+ }
79
+
80
+ /*------------------------- PaymentRequest -------------------------*/
81
+ function PaymentRequest(params) {
82
+ MiniCart.apply(this, arguments);
83
+ }
84
+
85
+ PaymentRequest.prototype = Object.assign({}, wc_stripe.BaseGateway.prototype, MiniCart.prototype, wc_stripe.PaymentRequest.prototype);
86
+
87
+ PaymentRequest.prototype.initialize = function () {
88
+ wc_stripe.PaymentRequest.prototype.initialize.apply(this, arguments);
89
+ }
90
+
91
+ PaymentRequest.prototype.create_button = function () {
92
+ this.append_button();
93
+ }
94
+
95
+ PaymentRequest.prototype.append_button = function () {
96
+ $(this.container).find('.wc-stripe-payment-request-mini-cart').empty().show();
97
+ this.paymentRequestButton.mount($(this.container).find('.wc-stripe-payment-request-mini-cart').first()[0]);
98
+ }
99
+
100
+ function Afterpay(params) {
101
+ MiniCart.apply(this, arguments);
102
+ }
103
+
104
+ Afterpay.prototype = Object.assign({}, wc_stripe.BaseGateway.prototype, MiniCart.prototype, wc_stripe.Afterpay.prototype);
105
+
106
+ Afterpay.prototype.is_currency_supported = function () {
107
+ return this.params.currencies.indexOf(this.get_currency()) > -1;
108
+ }
109
+
110
+ Afterpay.prototype.initialize = function () {
111
+ if ($(this.container).length && this.is_currency_supported()) {
112
+ this.create_element();
113
+ this.mount_message();
114
+ }
115
+ }
116
+
117
+ Afterpay.prototype.create_element = function () {
118
+ return this.elements.create('afterpayClearpayMessage', $.extend({}, this.params.msg_options, {
119
+ amount: this.get_total_price_cents(),
120
+ currency: this.get_currency(),
121
+ isEligible: this.is_eligible(parseFloat(this.get_total_price()))
122
+ }));
123
+ }
124
+
125
+ Afterpay.prototype.mount_message = function () {
126
+ var $el = $('.wc-stripe-afterpay-minicart-msg');
127
+ if (!$el.length) {
128
+ $('.woocommerce-mini-cart__total').after('<p class="wc-stripe-afterpay-minicart-msg buttons"></p>');
129
+ }
130
+ var elements = document.querySelectorAll('.wc-stripe-afterpay-minicart-msg');
131
+ if (elements) {
132
+ elements.forEach(function (el) {
133
+ this.create_element().mount(el);
134
+ this.add_eligibility(el, parseFloat(this.get_total_price()));
135
+ }.bind(this));
136
+ }
137
+ }
138
+
139
+ /*-------------------------------------------------------------------------*/
140
+
141
+ var gateways = [], container = null;
142
+
143
+ if (typeof wc_stripe_googlepay_mini_cart_params !== 'undefined') {
144
+ gateways.push([GPay, wc_stripe_googlepay_mini_cart_params]);
145
+ }
146
+ if (typeof wc_stripe_applepay_mini_cart_params !== 'undefined') {
147
+ gateways.push([ApplePay, wc_stripe_applepay_mini_cart_params]);
148
+ }
149
+ if (typeof wc_stripe_payment_request_mini_cart_params !== 'undefined') {
150
+ gateways.push([PaymentRequest, wc_stripe_payment_request_mini_cart_params]);
151
+ }
152
+ if (typeof wc_stripe_afterpay_mini_cart_params !== 'undefined') {
153
+ gateways.push([Afterpay, wc_stripe_afterpay_mini_cart_params]);
154
+ }
155
+
156
+ function load_mini_cart() {
157
+ $('.woocommerce-mini-cart__buttons').each(function (idx, el) {
158
+ if ($(el).find('.wc_stripe_mini_cart_payment_methods').length) {
159
+ var $parent = $(el).parent();
160
+ if ($parent.length) {
161
+ var class_name = 'wc-stripe-mini-cart-idx-' + idx;
162
+ $parent.addClass(class_name);
163
+ if(!$parent.find('.wc-stripe-minicart-overlay').length){
164
+ $parent.prepend('<div class="wc-stripe-minicart-overlay"></div>');
165
+ }
166
+
167
+ container = '.' + class_name + ' .woocommerce-mini-cart__buttons';
168
+ gateways.forEach(function (gateway) {
169
+ new gateway[0](gateway[1]);
170
+ })
171
+ }
172
+ }
173
+ });
174
+ }
175
+
176
+ $(document.body).on('wc_fragments_refreshed wc_fragments_loaded', function () {
177
+ setTimeout(load_mini_cart, 250);
178
+ });
179
+
180
+ setTimeout(load_mini_cart, 500);
181
+
182
  }(jQuery, window.wc_stripe));
assets/js/frontend/payment-request.js CHANGED
@@ -1,280 +1,280 @@
1
- (function ($, wc_stripe) {
2
-
3
- var PaymentRequest;
4
-
5
- // Product page functionality
6
- if ($(document.body).is('.single-product')) {
7
- /**
8
- * [PaymentRequest description]
9
- */
10
- PaymentRequest = function () {
11
- wc_stripe.BaseGateway.call(this, wc_stripe_payment_request_params);
12
- window.addEventListener('hashchange', this.hashchange.bind(this));
13
- this.old_qty = this.get_quantity();
14
- }
15
-
16
- PaymentRequest.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.ProductGateway.prototype, wc_stripe.PaymentRequest.prototype);
17
-
18
- PaymentRequest.prototype.initialize = function () {
19
- if (!$(this.container).length) {
20
- return setTimeout(this.initialize.bind(this), 1000);
21
- }
22
- wc_stripe.ProductGateway.call(this);
23
- wc_stripe.PaymentRequest.prototype.initialize.call(this);
24
- }
25
-
26
- /**
27
- * [canMakePayment description]
28
- * @return {[type]} [description]
29
- */
30
- PaymentRequest.prototype.canMakePayment = function () {
31
- wc_stripe.PaymentRequest.prototype.canMakePayment.apply(this, arguments).then(function () {
32
- $(document.body).on('change', '[name="quantity"]', this.add_to_cart.bind(this));
33
- $(this.container).parent().parent().addClass('active');
34
- if (!this.is_variable_product()) {
35
- this.cart_calculation();
36
- } else {
37
- if (this.variable_product_selected()) {
38
- this.cart_calculation(this.get_product_data().variation.variation_id);
39
- $(this.container).removeClass('processingFoundVariation');
40
- } else {
41
- this.disable_payment_button();
42
- }
43
- }
44
- }.bind(this))
45
- }
46
-
47
- /**
48
- * [add_to_cart description]
49
- */
50
- PaymentRequest.prototype.add_to_cart = function (e) {
51
- this.disable_payment_button();
52
- this.old_qty = this.get_quantity();
53
- var variation = this.get_product_data().variation;
54
- if (!this.processing_calculation && (!this.is_variable_product() || this.variable_product_selected())) {
55
- this.cart_calculation(variation.variation_id).then(function () {
56
- if (this.is_variable_product()) {
57
- this.createPaymentRequest();
58
- this.createPaymentRequestButton();
59
- wc_stripe.PaymentRequest.prototype.canMakePayment.apply(this, arguments).then(function () {
60
- this.enable_payment_button();
61
- }.bind(this));
62
- } else {
63
- this.enable_payment_button();
64
- }
65
- }.bind(this));
66
- }
67
- }
68
-
69
- PaymentRequest.prototype.cart_calculation = function () {
70
- return wc_stripe.ProductGateway.prototype.cart_calculation.apply(this, arguments).then(function () {
71
- this.paymentRequest.update(this.get_payment_request_update({
72
- total: {
73
- pending: false
74
- }
75
- }));
76
- }.bind(this)).catch(function () {
77
-
78
- }.bind(this));
79
- }
80
-
81
- PaymentRequest.prototype.create_button = function () {
82
- $('#wc-stripe-payment-request-container').empty();
83
- wc_stripe.PaymentRequest.prototype.create_button.apply(this, arguments);
84
- this.$button = $('#wc-stripe-payment-request-container');
85
- }
86
-
87
- PaymentRequest.prototype.button_click = function (e) {
88
- if (this.$button.is('.disabled')) {
89
- e.preventDefault();
90
- } else if (this.get_quantity() == 0) {
91
- e.preventDefault();
92
- this.submit_error(this.params.messages.invalid_amount);
93
- }
94
- }
95
-
96
- PaymentRequest.prototype.found_variation = function () {
97
- wc_stripe.ProductGateway.prototype.found_variation.apply(this, arguments);
98
- if (this.can_pay) {
99
- this.add_to_cart();
100
- }
101
- }
102
-
103
- /**
104
- * [block description]
105
- * @return {[type]} [description]
106
- */
107
- PaymentRequest.prototype.block = function () {
108
- $.blockUI({
109
- message: this.adding_to_cart ? this.params.messages.add_to_cart : null,
110
- overlayCSS: {
111
- background: '#fff',
112
- opacity: 0.6
113
- }
114
- });
115
- }
116
-
117
- }
118
-
119
- // Cart page functionality
120
- if ($(document.body).is('.woocommerce-cart')) {
121
- /**
122
- * [PaymentRequest description]
123
- */
124
- PaymentRequest = function () {
125
- wc_stripe.BaseGateway.call(this, wc_stripe_payment_request_params);
126
- window.addEventListener('hashchange', this.hashchange.bind(this));
127
- }
128
-
129
- PaymentRequest.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CartGateway.prototype, wc_stripe.PaymentRequest.prototype);
130
-
131
- PaymentRequest.prototype.initialize = function () {
132
- wc_stripe.CartGateway.call(this);
133
- wc_stripe.PaymentRequest.prototype.initialize.call(this);
134
- }
135
-
136
- PaymentRequest.prototype.canMakePayment = function () {
137
- wc_stripe.PaymentRequest.prototype.canMakePayment.apply(this, arguments).then(function () {
138
- $(this.container).addClass('active').parent().addClass('active');
139
- }.bind(this))
140
- }
141
-
142
- /**
143
- * [updated_html description]
144
- * @return {[type]} [description]
145
- */
146
- PaymentRequest.prototype.updated_html = function () {
147
- if (!$(this.container).length) {
148
- this.can_pay = false;
149
- }
150
- if (this.can_pay) {
151
- this.initialize();
152
- }
153
- }
154
-
155
- PaymentRequest.prototype.button_click = function (e) {
156
- this.paymentRequest.update(this.get_payment_request_update({
157
- total: {
158
- pending: false
159
- }
160
- }));
161
- }
162
-
163
- /**
164
- * Called when the cart has been emptied
165
- * @param {[type]} e [description]
166
- * @return {[type]} [description]
167
- */
168
- PaymentRequest.prototype.cart_emptied = function (e) {
169
- this.can_pay = false;
170
- }
171
- }
172
-
173
- // Checkout page functionality
174
- if ($(document.body).is('.woocommerce-checkout')) {
175
- /**
176
- * [PaymentRequest description]
177
- */
178
- PaymentRequest = function () {
179
- wc_stripe.BaseGateway.call(this, wc_stripe_payment_request_params);
180
- window.addEventListener('hashchange', this.hashchange.bind(this));
181
- }
182
-
183
- PaymentRequest.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype, wc_stripe.PaymentRequest.prototype);
184
-
185
- PaymentRequest.prototype.initialize = function () {
186
- wc_stripe.CheckoutGateway.call(this);
187
- $('form.checkout').on('change', '.form-row:not(.address-field) .input-text', this.update_payment_request.bind(this));
188
- if ($(this.container).length) {
189
- wc_stripe.PaymentRequest.prototype.initialize.call(this);
190
- }
191
- }
192
- /**
193
- * [canMakePayment description]
194
- * @return {[type]} [description]
195
- */
196
- PaymentRequest.prototype.canMakePayment = function () {
197
- wc_stripe.PaymentRequest.prototype.canMakePayment.apply(this, arguments).then(function () {
198
- this.show_icons();
199
- if (this.banner_enabled()) {
200
- $(this.banner_container).empty().show().append('<div id="wc-stripe-payment-request-banner"></div>');
201
- $(this.banner_container).show().addClass('active').closest('.wc-stripe-banner-checkout').addClass('active');
202
- var elements = this.stripe.elements();
203
- var button = elements.create("paymentRequestButton", {
204
- paymentRequest: this.paymentRequest,
205
- style: {
206
- paymentRequestButton: {
207
- type: this.params.button.type,
208
- theme: this.params.button.theme,
209
- height: this.params.button.height
210
- }
211
- }
212
- });
213
- button.on('click', this.banner_checkout.bind(this));
214
- button.mount("#wc-stripe-payment-request-banner");
215
- }
216
- }.bind(this))
217
- }
218
-
219
- /**
220
- * [create_button description]
221
- * @return {[type]} [description]
222
- */
223
- PaymentRequest.prototype.create_button = function () {
224
- if (this.$button) {
225
- this.$button.remove();
226
- }
227
- this.$button = $('<div id="wc-stripe-payment-request-container"></div>');
228
- $('#place_order').after(this.$button);
229
- wc_stripe.PaymentRequest.prototype.create_button.call(this);
230
- this.trigger_payment_method_selected();
231
- }
232
-
233
- /**
234
- * [updated_checkout description]
235
- * @return {[type]} [description]
236
- */
237
- PaymentRequest.prototype.updated_checkout = function () {
238
- if ($(this.container).length) {
239
- wc_stripe.PaymentRequest.prototype.initialize.call(this);
240
- }
241
- }
242
-
243
- /**
244
- * [button_click description]
245
- * @param {[type]} e [description]
246
- * @return {[type]} [description]
247
- */
248
- PaymentRequest.prototype.banner_checkout = function (e) {
249
- this.set_payment_method(this.gateway_id);
250
- this.set_use_new_option(true);
251
- $('[name="terms"]').prop('checked', true);
252
- }
253
-
254
- PaymentRequest.prototype.on_token_received = function () {
255
- wc_stripe.CheckoutGateway.prototype.on_token_received.apply(this, arguments);
256
- this.fields.toFormFields();
257
- if (this.payment_request_options.requestShipping) {
258
- this.maybe_set_ship_to_different();
259
- }
260
- if (this.checkout_fields_valid()) {
261
- this.get_form().trigger('submit');
262
- }
263
- }
264
-
265
- PaymentRequest.prototype.update_payment_request = function () {
266
- if ($(this.container).length) {
267
- wc_stripe.PaymentRequest.prototype.initialize.call(this);
268
- }
269
- }
270
-
271
- PaymentRequest.prototype.show_icons = function () {
272
- if ($(this.container).length) {
273
- $(this.container).find('.wc-stripe-paymentRequest-icon.gpay').show();
274
- }
275
- }
276
- }
277
-
278
- new PaymentRequest();
279
-
280
  }(jQuery, window.wc_stripe))
1
+ (function ($, wc_stripe) {
2
+
3
+ var PaymentRequest;
4
+
5
+ // Product page functionality
6
+ if ($(document.body).is('.single-product')) {
7
+ /**
8
+ * [PaymentRequest description]
9
+ */
10
+ PaymentRequest = function () {
11
+ wc_stripe.BaseGateway.call(this, wc_stripe_payment_request_params);
12
+ window.addEventListener('hashchange', this.hashchange.bind(this));
13
+ this.old_qty = this.get_quantity();
14
+ }
15
+
16
+ PaymentRequest.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.ProductGateway.prototype, wc_stripe.PaymentRequest.prototype);
17
+
18
+ PaymentRequest.prototype.initialize = function () {
19
+ if (!$(this.container).length) {
20
+ return setTimeout(this.initialize.bind(this), 1000);
21
+ }
22
+ wc_stripe.ProductGateway.call(this);
23
+ wc_stripe.PaymentRequest.prototype.initialize.call(this);
24
+ }
25
+
26
+ /**
27
+ * [canMakePayment description]
28
+ * @return {[type]} [description]
29
+ */
30
+ PaymentRequest.prototype.canMakePayment = function () {
31
+ wc_stripe.PaymentRequest.prototype.canMakePayment.apply(this, arguments).then(function () {
32
+ $(document.body).on('change', '[name="quantity"]', this.add_to_cart.bind(this));
33
+ $(this.container).parent().parent().addClass('active');
34
+ if (!this.is_variable_product()) {
35
+ this.cart_calculation();
36
+ } else {
37
+ if (this.variable_product_selected()) {
38
+ this.cart_calculation(this.get_product_data().variation.variation_id);
39
+ $(this.container).removeClass('processingFoundVariation');
40
+ } else {
41
+ this.disable_payment_button();
42
+ }
43
+ }
44
+ }.bind(this))
45
+ }
46
+
47
+ /**
48
+ * [add_to_cart description]
49
+ */
50
+ PaymentRequest.prototype.add_to_cart = function (e) {
51
+ this.disable_payment_button();
52
+ this.old_qty = this.get_quantity();
53
+ var variation = this.get_product_data().variation;
54
+ if (!this.processing_calculation && (!this.is_variable_product() || this.variable_product_selected())) {
55
+ this.cart_calculation(variation.variation_id).then(function () {
56
+ if (this.is_variable_product()) {
57
+ this.createPaymentRequest();
58
+ this.createPaymentRequestButton();
59
+ wc_stripe.PaymentRequest.prototype.canMakePayment.apply(this, arguments).then(function () {
60
+ this.enable_payment_button();
61
+ }.bind(this));
62
+ } else {
63
+ this.enable_payment_button();
64
+ }
65
+ }.bind(this));
66
+ }
67
+ }
68
+
69
+ PaymentRequest.prototype.cart_calculation = function () {
70
+ return wc_stripe.ProductGateway.prototype.cart_calculation.apply(this, arguments).then(function () {
71
+ this.paymentRequest.update(this.get_payment_request_update({
72
+ total: {
73
+ pending: false
74
+ }
75
+ }));
76
+ }.bind(this)).catch(function () {
77
+
78
+ }.bind(this));
79
+ }
80
+
81
+ PaymentRequest.prototype.create_button = function () {
82
+ $('#wc-stripe-payment-request-container').empty();
83
+ wc_stripe.PaymentRequest.prototype.create_button.apply(this, arguments);
84
+ this.$button = $('#wc-stripe-payment-request-container');
85
+ }
86
+
87
+ PaymentRequest.prototype.button_click = function (e) {
88
+ if (this.$button.is('.disabled')) {
89
+ e.preventDefault();
90
+ } else if (this.get_quantity() == 0) {
91
+ e.preventDefault();
92
+ this.submit_error(this.params.messages.invalid_amount);
93
+ }
94
+ }
95
+
96
+ PaymentRequest.prototype.found_variation = function () {
97
+ wc_stripe.ProductGateway.prototype.found_variation.apply(this, arguments);
98
+ if (this.can_pay) {
99
+ this.add_to_cart();
100
+ }
101
+ }
102
+
103
+ /**
104
+ * [block description]
105
+ * @return {[type]} [description]
106
+ */
107
+ PaymentRequest.prototype.block = function () {
108
+ $.blockUI({
109
+ message: this.adding_to_cart ? this.params.messages.add_to_cart : null,
110
+ overlayCSS: {
111
+ background: '#fff',
112
+ opacity: 0.6
113
+ }
114
+ });
115
+ }
116
+
117
+ }
118
+
119
+ // Cart page functionality
120
+ if ($(document.body).is('.woocommerce-cart')) {
121
+ /**
122
+ * [PaymentRequest description]
123
+ */
124
+ PaymentRequest = function () {
125
+ wc_stripe.BaseGateway.call(this, wc_stripe_payment_request_params);
126
+ window.addEventListener('hashchange', this.hashchange.bind(this));
127
+ }
128
+
129
+ PaymentRequest.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CartGateway.prototype, wc_stripe.PaymentRequest.prototype);
130
+
131
+ PaymentRequest.prototype.initialize = function () {
132
+ wc_stripe.CartGateway.call(this);
133
+ wc_stripe.PaymentRequest.prototype.initialize.call(this);
134
+ }
135
+
136
+ PaymentRequest.prototype.canMakePayment = function () {
137
+ wc_stripe.PaymentRequest.prototype.canMakePayment.apply(this, arguments).then(function () {
138
+ $(this.container).addClass('active').parent().addClass('active');
139
+ }.bind(this))
140
+ }
141
+
142
+ /**
143
+ * [updated_html description]
144
+ * @return {[type]} [description]
145
+ */
146
+ PaymentRequest.prototype.updated_html = function () {
147
+ if (!$(this.container).length) {
148
+ this.can_pay = false;
149
+ }
150
+ if (this.can_pay) {
151
+ this.initialize();
152
+ }
153
+ }
154
+
155
+ PaymentRequest.prototype.button_click = function (e) {
156
+ this.paymentRequest.update(this.get_payment_request_update({
157
+ total: {
158
+ pending: false
159
+ }
160
+ }));
161
+ }
162
+
163
+ /**
164
+ * Called when the cart has been emptied
165
+ * @param {[type]} e [description]
166
+ * @return {[type]} [description]
167
+ */
168
+ PaymentRequest.prototype.cart_emptied = function (e) {
169
+ this.can_pay = false;
170
+ }
171
+ }
172
+
173
+ // Checkout page functionality
174
+ if ($(document.body).is('.woocommerce-checkout')) {
175
+ /**
176
+ * [PaymentRequest description]
177
+ */
178
+ PaymentRequest = function () {
179
+ wc_stripe.BaseGateway.call(this, wc_stripe_payment_request_params);
180
+ window.addEventListener('hashchange', this.hashchange.bind(this));
181
+ }
182
+
183
+ PaymentRequest.prototype = $.extend({}, wc_stripe.BaseGateway.prototype, wc_stripe.CheckoutGateway.prototype, wc_stripe.PaymentRequest.prototype);
184
+
185
+ PaymentRequest.prototype.initialize = function () {
186
+ wc_stripe.CheckoutGateway.call(this);
187
+ $('form.checkout').on('change', '.form-row:not(.address-field) .input-text', this.update_payment_request.bind(this));
188
+ if ($(this.container).length) {
189
+ wc_stripe.PaymentRequest.prototype.initialize.call(this);
190
+ }
191
+ }
192
+ /**
193
+ * [canMakePayment description]
194
+ * @return {[type]} [description]
195
+ */
196
+ PaymentRequest.prototype.canMakePayment = function () {
197
+ wc_stripe.PaymentRequest.prototype.canMakePayment.apply(this, arguments).then(function () {
198
+ this.show_icons();
199
+ if (this.banner_enabled()) {
200
+ $(this.banner_container).empty().show().append('<div id="wc-stripe-payment-request-banner"></div>');
201
+ $(this.banner_container).show().addClass('active').closest('.wc-stripe-banner-checkout').addClass('active');
202
+ var elements = this.stripe.elements();
203
+ var button = elements.create("paymentRequestButton", {
204
+ paymentRequest: this.paymentRequest,
205
+ style: {
206
+ paymentRequestButton: {
207
+ type: this.params.button.type,
208
+ theme: this.params.button.theme,
209
+ height: this.params.button.height
210
+ }
211
+ }
212
+ });
213
+ button.on('click', this.banner_checkout.bind(this));
214
+ button.mount("#wc-stripe-payment-request-banner");
215
+ }
216
+ }.bind(this))
217
+ }
218
+
219
+ /**
220
+ * [create_button description]
221
+ * @return {[type]} [description]
222
+ */
223
+ PaymentRequest.prototype.create_button = function () {
224
+ if (this.$button) {
225
+ this.$button.remove();
226
+ }
227
+ this.$button = $('<div id="wc-stripe-payment-request-container"></div>');
228
+ $('#place_order').after(this.$button);
229
+ wc_stripe.PaymentRequest.prototype.create_button.call(this);
230
+ this.trigger_payment_method_selected();
231
+ }
232
+
233
+ /**
234
+ * [updated_checkout description]
235
+ * @return {[type]} [description]
236
+ */
237
+ PaymentRequest.prototype.updated_checkout = function () {
238
+ if ($(this.container).length) {
239
+ wc_stripe.PaymentRequest.prototype.initialize.call(this);
240
+ }
241
+ }
242
+
243
+ /**
244
+ * [button_click description]
245
+ * @param {[type]} e [description]
246
+ * @return {[type]} [description]
247
+ */
248
+ PaymentRequest.prototype.banner_checkout = function (e) {
249
+ this.set_payment_method(this.gateway_id);
250
+ this.set_use_new_option(true);
251
+ $('[name="terms"]').prop('checked', true);
252
+ }
253
+
254
+ PaymentRequest.prototype.on_token_received = function () {
255
+ wc_stripe.CheckoutGateway.prototype.on_token_received.apply(this, arguments);
256
+ this.fields.toFormFields();
257
+ if (this.payment_request_options.requestShipping) {
258
+ this.maybe_set_ship_to_different();
259
+ }
260
+ if (this.checkout_fields_valid()) {
261
+ this.get_form().trigger('submit');
262
+ }
263
+ }
264
+
265
+ PaymentRequest.prototype.update_payment_request = function () {
266
+ if ($(this.container).length) {
267
+ wc_stripe.PaymentRequest.prototype.initialize.call(this);
268
+ }
269
+ }
270
+
271
+ PaymentRequest.prototype.show_icons = function () {
272
+ if ($(this.container).length) {
273
+ $(this.container).find('.wc-stripe-paymentRequest-icon.gpay').show();
274
+ }
275
+ }
276
+ }
277
+
278
+ new PaymentRequest();
279
+
280
  }(jQuery, window.wc_stripe))
assets/js/frontend/wc-stripe.js CHANGED
@@ -1,2188 +1,2191 @@
1
- (function (window, $) {
2
- window.wc_stripe = {};
3
- var stripe = null;
4
-
5
- if (typeof wc_stripe_checkout_fields === 'undefined') {
6
- window.wc_stripe_checkout_fields = [];
7
- }
8
-
9
- wc_stripe.BaseGateway = function (params, container) {
10
- this.params = params;
11
- this.gateway_id = this.params.gateway_id;
12
- this.container = typeof container === 'undefined' ? 'li.payment_method_'.concat(this.gateway_id) : container;
13
-
14
- if (!$(this.container).length) {
15
- this.container = '.payment_method_'.concat(this.gateway_id);
16
- }
17
-
18
- this.token_selector = this.params.token_selector;
19
- this.saved_method_selector = this.params.saved_method_selector;
20
- this.payment_token_received = false;
21
- this.stripe = stripe;
22
- this.fields = checkoutFields;
23
- this.elements = this.create_stripe_elements();
24
- this.initialize();
25
- };
26
-
27
- wc_stripe.BaseGateway.prototype.create_stripe_elements = function () {
28
- return stripe.elements($.extend({}, {
29
- locale: 'auto'
30
- }, this.get_element_options()));
31
- }
32
-
33
- wc_stripe.BaseGateway.prototype.is_user_logged_in = function () {
34
- return this.params.user_id > 0;
35
- }
36
-
37
- wc_stripe.BaseGateway.prototype.get_page = function () {
38
- var page = wc_stripe_params_v3.page;
39
- if ('cart' === page && $(document.body).is('.woocommerce-checkout')) {
40
- page = 'checkout';
41
- }
42
- return page;
43
- };
44
-
45
- wc_stripe.BaseGateway.prototype.set_nonce = function (value) {
46
- this.fields.set(this.gateway_id + '_token_key', value);
47
- $(this.token_selector).val(value);
48
- };
49
-
50
- wc_stripe.BaseGateway.prototype.set_intent = function (value) {
51
- this.fields.set(this.gateway_id + '_payment_intent_key', value);
52
- $('#' + this.gateway_id + '_payment_intent_key').val(value);
53
- };
54
-
55
- wc_stripe.BaseGateway.prototype.get_element_options = function () {
56
- return this.params.elementOptions;
57
- };
58
-
59
- wc_stripe.BaseGateway.prototype.initialize = function () {
60
- };
61
-
62
-
63
- wc_stripe.BaseGateway.prototype.create_button = function () {
64
- };
65
-
66
- wc_stripe.BaseGateway.prototype.is_gateway_selected = function () {
67
- return $('[name="payment_method"]:checked').val() === this.gateway_id;
68
- };
69
-
70
- wc_stripe.BaseGateway.prototype.is_saved_method_selected = function () {
71
- return this.is_gateway_selected() && $('[name="' + this.gateway_id + '_payment_type_key"]:checked').val() === 'saved';
72
- };
73
-
74
- wc_stripe.BaseGateway.prototype.has_checkout_error = function () {
75
- return $('#wc_stripe_checkout_error').length > 0 && this.is_gateway_selected();
76
- };
77
-
78
- wc_stripe.BaseGateway.prototype.submit_error = function (error, skip_form) {
79
- var message = this.get_error_message(error);
80
-
81
- if (message.indexOf('</ul>') < 0) {
82
- var classes = (function () {
83
- var classes = 'woocommerce-NoticeGroup';
84
- if (this.is_current_page('checkout')) {
85
- classes += ' woocommerce-NoticeGroup-checkout';
86
- }
87
- return classes;
88
- }.bind(this)());
89
- message = '<div class="' + classes + '"><ul class="woocommerce-error"><li>' + message + '</li></ul></div>';
90
- }
91
- var custom_message = $(document.body).triggerHandler('wc_stripe_submit_error', [message, error, this]);
92
- message = typeof custom_message === 'undefined' ? message : custom_message;
93
- this.submit_message(message, skip_form);
94
- };
95
-
96
- wc_stripe.BaseGateway.prototype.submit_error_code = function (code) {
97
- console.log(code);
98
- };
99
-
100
- wc_stripe.BaseGateway.prototype.get_error_message = function (message) {
101
- if (typeof message == 'object') {
102
- if (message.hasOwnProperty('message')) {
103
- if (message.message.indexOf('server_side_confirmation_beta=v1') > -1) {
104
- message.code = 'server_side_confirmation_beta';
105
- } else if (message.message.indexOf('params.payment_method_data.billing_details.phone') > -1) {
106
- message.code = 'phone_required';
107
- }
108
- }
109
- if (message.code && wc_stripe_messages[message.code]) {
110
- message = wc_stripe_messages[message.code];
111
- } else {
112
- message = message.message;
113
- }
114
- }
115
-
116
- return message;
117
- };
118
-
119
- wc_stripe.BaseGateway.prototype.submit_message = function (message, skip_form) {
120
- $('.woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message').remove();
121
- var $container = $(this.message_container);
122
-
123
- if (!$container.length || (!skip_form && $container.closest('form').length)) {
124
- if (!$container.length) {
125
- $container = $(this.container);
126
- }
127
- $container = $container.closest('form');
128
- }
129
-
130
- $container.prepend(message);
131
- $container.removeClass('processing').unblock();
132
- $container.find('.input-text, select, input:checkbox').trigger('blur');
133
-
134
- if ($.scroll_to_notices) {
135
- $.scroll_to_notices($container);
136
- } else {
137
- $('html, body').animate({
138
- scrollTop: $container.offset().top - 100
139
- }, 1000);
140
- }
141
- };
142
-
143
- wc_stripe.BaseGateway.prototype.get_billing_details = function () {
144
- var prefix = this.get_billing_prefix();
145
- var details = {
146
- name: this.get_customer_name(prefix),
147
- address: {
148
- city: this.fields.get(prefix + '_city', null),
149
- country: this.fields.get(prefix + '_country', null),
150
- line1: this.fields.get(prefix + '_address_1', null),
151
- line2: this.fields.get(prefix + '_address_2', null),
152
- postal_code: this.fields.get(prefix + '_postcode', null),
153
- state: this.fields.get(prefix + '_state', null)
154
- }
155
- }
156
- if (!details.name || details.name === ' ') {
157
- delete details.name;
158
- }
159
- if (this.fields.get('billing_email') != '') {
160
- details.email = this.fields.get('billing_email');
161
- }
162
- if (this.fields.get('billing_phone') != '') {
163
- details.phone = this.fields.get('billing_phone');
164
- }
165
- return details;
166
- }
167
-
168
- wc_stripe.BaseGateway.prototype.get_first_name = function (prefix) {
169
- return $('#' + prefix + '_first_name').val();
170
- };
171
-
172
- wc_stripe.BaseGateway.prototype.get_last_name = function (prefix) {
173
- return $('#' + prefix + '_last_name').val();
174
- };
175
-
176
- wc_stripe.BaseGateway.prototype.get_shipping_prefix = function () {
177
- if (this.needs_shipping() && $('[name="ship_to_different_address"]').length > 0 && $('[name="ship_to_different_address"]').is(':checked')) {
178
- return 'shipping';
179
- }
180
- return 'billing';
181
- }
182
-
183
- /**
184
- * Some 3rd party plugins give priority to the shipping address over the billing address
185
- */
186
- wc_stripe.BaseGateway.prototype.get_billing_prefix = function () {
187
- var prefix = 'billing';
188
- if ($('[name="billing_same_as_shipping"]').length && $('[name="billing_same_as_shipping"]').is(':checked')) {
189
- prefix = 'shipping';
190
- }
191
- if ($('[name="bill_to_different_address"]').length) {
192
- if ($('[name="bill_to_different_address"]').length > 1) {
193
- if ($('[name="bill_to_different_address"]:checked').val() === 'same_as_shipping') {
194
- prefix = 'shipping';
195
- }
196
- } else if (!$('[name="bill_to_different_address"]').is(':checked')) {
197
- prefix = 'shipping';
198
- }
199
- }
200
- var filtered_prefix = $(document.body).triggerHandler('wc_stripe_get_billing_prefix', [prefix]);
201
- return typeof filtered_prefix === 'undefined' ? prefix : filtered_prefix;
202
- }
203
-
204
- wc_stripe.BaseGateway.prototype.should_save_method = function () {
205
- return $('#' + this.gateway_id + '_save_source_key').is(':checked');
206
- };
207
-
208
- wc_stripe.BaseGateway.prototype.is_add_payment_method_page = function () {
209
- return this.get_page() === 'add_payment_method' || $(document.body).hasClass('woocommerce-add-payment-method');
210
- };
211
-
212
- wc_stripe.BaseGateway.prototype.is_change_payment_method = function () {
213
- return this.get_page() === 'change_payment_method';
214
- };
215
-
216
- wc_stripe.BaseGateway.prototype.get_selected_payment_method = function () {
217
- return $(this.saved_method_selector).val();
218
- };
219
-
220
- wc_stripe.BaseGateway.prototype.needs_shipping = function () {
221
- return this.get_gateway_data().needs_shipping;
222
- };
223
-
224
- wc_stripe.BaseGateway.prototype.get_currency = function () {
225
- return this.get_gateway_data().currency;
226
- };
227
-
228
- wc_stripe.BaseGateway.prototype.get_gateway_data = function () {
229
- var data = $(this.container).find(".woocommerce_".concat(this.gateway_id, "_gateway_data")).data('gateway');
230
- if (typeof data === 'undefined' && this.is_current_page('checkout')) {
231
- data = $('form.checkout').find(".woocommerce_".concat(this.gateway_id, "_gateway_data")).data('gateway');
232
- if (typeof data === 'undefined') {
233
- data = $('.woocommerce_' + this.gateway_id + '_gateway_data').data('gateway');
234
- }
235
- }
236
- return data;
237
- };
238
-
239
- wc_stripe.BaseGateway.prototype.set_gateway_data = function (data) {
240
- $(this.container).find(".woocommerce_".concat(this.gateway_id, "_gateway_data")).data('gateway', data);
241
- };
242
-
243
- wc_stripe.BaseGateway.prototype.has_gateway_data = function () {
244
- var data = this.get_gateway_data();
245
- return typeof data !== 'undefined';
246
- }
247
-
248
- wc_stripe.BaseGateway.prototype.get_customer_name = function (prefix) {
249
- return this.fields.get(prefix + '_first_name') + ' ' + this.fields.get(prefix + '_last_name');
250
- };
251
-
252
- wc_stripe.BaseGateway.prototype.get_customer_email = function () {
253
- return this.fields.get('billing_email');
254
- };
255
-
256
- wc_stripe.BaseGateway.prototype.get_address_field_hash = function (prefix) {
257
- var params = ['_first_name', '_last_name', '_address_1', '_address_2', '_postcode', '_city', '_state', '_country'];
258
- var hash = '';
259
-
260
- for (var i = 0; i < params.length; i++) {
261
- hash += this.fields.get(prefix + params[i]) + '_';
262
- }
263
-
264
- return hash;
265
- };
266
-
267
- wc_stripe.BaseGateway.prototype.block = function () {
268
- if ($().block) {
269
- $.blockUI({
270
- message: null,
271
- overlayCSS: {
272
- background: '#fff',
273
- opacity: 0.6
274
- }
275
- });
276
- }
277
- }
278
-
279
- wc_stripe.BaseGateway.prototype.unblock = function () {
280
- if ($().block) {
281
- $.unblockUI();
282
- }
283
- };
284
-
285
- wc_stripe.BaseGateway.prototype.get_form = function () {
286
- return $(this.token_selector).closest('form');
287
- };
288
-
289
- wc_stripe.BaseGateway.prototype.get_total_price = function () {
290
- return this.get_gateway_data().total;
291
- };
292
-
293
- wc_stripe.BaseGateway.prototype.get_total_price_cents = function () {
294
- return this.get_gateway_data().total_cents;
295
- };
296
-
297
- wc_stripe.BaseGateway.prototype.set_total_price = function (total) {
298
- var data = this.get_gateway_data();
299
- data.total = total;
300
- this.set_gateway_data(data);
301
- };
302
-
303
- wc_stripe.BaseGateway.prototype.set_total_price_cents = function (total) {
304
- var data = this.get_gateway_data();
305
- data.total_cents = total;
306
- this.set_gateway_data(data);
307
- };
308
-
309
- wc_stripe.BaseGateway.prototype.set_payment_method = function (payment_method) {
310
- $('[name="payment_method"][value="' + payment_method + '"]').prop("checked", true).trigger('click');
311
- };
312
-
313
- wc_stripe.BaseGateway.prototype.set_selected_shipping_methods = function (shipping_methods) {
314
- this.fields.set('shipping_method', shipping_methods);
315
-
316
- if (shipping_methods && $('[name^="shipping_method"]').length) {
317
- for (var i in shipping_methods) {
318
- var method = shipping_methods[i];
319
- $('[name="shipping_method[' + i + ']"][value="' + method + '"]').prop("checked", true).trigger('change');
320
- }
321
- }
322
- };
323
-
324
- wc_stripe.BaseGateway.prototype.on_token_received = function (paymentMethod) {
325
- this.payment_token_received = true;
326
- this.set_nonce(paymentMethod.id);
327
- this.process_checkout();
328
- };
329
-
330
- wc_stripe.BaseGateway.prototype.createPaymentRequest = function () {
331
- try {
332
- this.payment_request_options = this.get_payment_request_options();
333
- this.paymentRequest = stripe.paymentRequest(this.payment_request_options);
334
- if (this.payment_request_options.requestShipping) {
335
- this.paymentRequest.on('shippingaddresschange', this.update_shipping_address.bind(this));
336
- this.paymentRequest.on('shippingoptionchange', this.update_shipping_method.bind(this));
337
- }
338
-
339
- this.paymentRequest.on('paymentmethod', this.on_payment_method_received.bind(this));
340
- } catch (err) {
341
- this.submit_error(err.message);
342
- return;
343
- }
344
- };
345
-
346
- wc_stripe.BaseGateway.prototype.get_payment_request_options = function () {
347
- var options = {
348
- country: this.params.country_code,
349
- currency: this.get_currency().toLowerCase(),
350
- total: {
351
- amount: this.get_total_price_cents(),
352
- label: this.params.total_label,
353
- pending: true
354
- },
355
- requestPayerName: (function () {
356
- if (this.is_current_page('checkout')) {
357
- // if billing address is already filled out, then don't request it in wallet
358
- return !this.is_valid_address(this.get_address_object('billing'), 'billing', ['email', 'phone']);
359
- }
360
- return true;
361
- }.bind(this)()),
362
- requestPayerEmail: this.fields.requestFieldInWallet('billing_email'),
363
- requestPayerPhone: this.fields.requestFieldInWallet('billing_phone'),
364
- requestShipping: (function () {
365
- if (this.needs_shipping()) {
366
- var prefix = this.get_shipping_prefix();
367
- if ((this.is_current_page('checkout') && !this.is_valid_address(this.get_address_object(prefix), prefix, ['email', 'phone'])) || !this.is_current_page('checkout')) {
368
- return true;
369
- }
370
- }
371
- return false;
372
- }.bind(this))()
373
- };
374
- var displayItems = this.get_display_items(),
375
- shippingOptions = this.get_shipping_options();
376
-
377
- if (displayItems) {
378
- options.displayItems = displayItems;
379
- }
380
-
381
- if (options.requestShipping && shippingOptions) {
382
- options.shippingOptions = shippingOptions;
383
- }
384
-
385
- return options;
386
- };
387
-
388
- wc_stripe.BaseGateway.prototype.get_payment_request_update = function (data) {
389
- var options = {
390
- currency: this.get_currency().toLowerCase(),
391
- total: {
392
- amount: parseInt(this.get_total_price_cents()),
393
- label: this.params.total_label,
394
- pending: true
395
- }
396
- };
397
- var displayItems = this.get_display_items(),
398
- shippingOptions = this.get_shipping_options();
399
-
400
- if (displayItems) {
401
- options.displayItems = displayItems;
402
- }
403
-
404
- if (this.payment_request_options.requestShipping && shippingOptions) {
405
- options.shippingOptions = shippingOptions;
406
- }
407
-
408
- if (data) {
409
- options = $.extend(true, {}, options, data);
410
- }
411
-
412
- return options;
413
- };
414
-
415
- wc_stripe.BaseGateway.prototype.get_display_items = function () {
416
- return this.get_gateway_data().items;
417
- };
418
-
419
- wc_stripe.BaseGateway.prototype.set_display_items = function (items) {
420
- var data = this.get_gateway_data();
421
- data.items = items;
422
- this.set_gateway_data(data);
423
- };
424
-
425
- wc_stripe.BaseGateway.prototype.get_shipping_options = function () {
426
- return this.get_gateway_data().shipping_options;
427
- };
428
-
429
- wc_stripe.BaseGateway.prototype.set_shipping_options = function (items) {
430
- var data = this.get_gateway_data();
431
- data.shipping_options = items;
432
- this.set_gateway_data(data);
433
- };
434
-
435
- wc_stripe.BaseGateway.prototype.map_address = function (address) {
436
- return {
437
- city: address.city,
438
- postcode: address.postalCode,
439
- state: address.region,
440
- country: address.country
441
- };
442
- };
443
-
444
- wc_stripe.BaseGateway.prototype.on_payment_method_received = function (paymentResponse) {
445
- try {
446
- this.payment_response = paymentResponse;
447
- this.populate_checkout_fields(paymentResponse);
448
- paymentResponse.complete("success");
449
- this.on_token_received(paymentResponse.paymentMethod);
450
- } catch (err) {
451
- window.alert(err);
452
- }
453
- };
454
-
455
- wc_stripe.BaseGateway.prototype.populate_checkout_fields = function (data) {
456
- this.set_nonce(data.paymentMethod.id);
457
- this.update_addresses(data);
458
- };
459
-
460
- wc_stripe.BaseGateway.prototype.update_addresses = function (data) {
461
- if (data.payerName) {
462
- this.fields.set('name', data.payerName, 'billing');
463
- }
464
-
465
- if (data.payerEmail) {
466
- this.fields.set('email', data.payerEmail, 'billing');
467
- }
468
-
469
- if (data.payerPhone) {
470
- this.fields.set('phone', data.payerPhone, 'billing');
471
- if (this.fields.exists('shipping_phone') && this.fields.isEmpty('shipping_phone')) {
472
- this.fields.set('shipping_phone', data.payerPhone);
473
- }
474
- }
475
-
476
- if (data.shippingAddress) {
477
- this.populate_shipping_fields(data.shippingAddress);
478
- }
479
-
480
- if (data.paymentMethod.billing_details.address) {
481
- this.populate_billing_fields(data.paymentMethod.billing_details.address);
482
- }
483
- };
484
-
485
- wc_stripe.BaseGateway.prototype.populate_address_fields = function (address, prefix) {
486
- for (var k in address) {
487
- if (null !== address[k]) {
488
- this.fields.set(k, address[k], prefix);
489
- }
490
- }
491
- }
492
-
493
- wc_stripe.BaseGateway.prototype.populate_billing_fields = function (address) {
494
- this.populate_address_fields(address, 'billing');
495
- }
496
-
497
- wc_stripe.BaseGateway.prototype.populate_shipping_fields = function (address) {
498
- this.populate_address_fields(address, 'shipping');
499
- }
500
-
501
- wc_stripe.BaseGateway.prototype.get_address_fields = function () {
502
- return ['first_name', 'last_name', 'country', 'address_1', 'address_2', 'city', 'state', 'postcode', 'phone', 'email'];
503
- }
504
-
505
- wc_stripe.BaseGateway.prototype.get_address_object = function (prefix) {
506
- var address = {};
507
- this.get_address_fields().forEach(function (k) {
508
- address[k] = this.fields.get(k, prefix);
509
- }.bind(this));
510
- return address;
511
- }
512
-
513
- wc_stripe.BaseGateway.prototype.is_current_page = function (page) {
514
- if (Array.isArray(page)) {
515
- return page.indexOf(this.get_page()) > -1;
516
- }
517
- return this.get_page() === page;
518
- }
519
-
520
- wc_stripe.BaseGateway.prototype.is_valid_address = function (address, prefix, exclude) {
521
- if ($.isEmptyObject(address)) {
522
- return false;
523
- }
524
-
525
- var mappings = this.get_address_fields();
526
- if (typeof exclude !== 'undefined') {
527
- exclude.forEach(function (k) {
528
- if (mappings.indexOf(k) > -1) {
529
- mappings.splice(mappings.indexOf(k), 1);
530
- }
531
- });
532
- }
533
- for (var i = 0; i < mappings.length; i++) {
534
- var k = mappings[i];
535
- var required = this.fields.required(prefix + '_' + k);
536
- if (required) {
537
- if (!address[k] || typeof address[k] === 'undefined' || !this.fields.isValid(k, address[k], address)) {
538
- return false;
539
- }
540
- }
541
- }
542
- return true;
543
- }
544
-
545
- wc_stripe.BaseGateway.prototype.ajax_before_send = function (xhr) {
546
- if (this.is_user_logged_in()) {
547
- xhr.setRequestHeader('X-WP-Nonce', this.params.rest_nonce);
548
- }
549
- };
550
-
551
- wc_stripe.BaseGateway.prototype.process_checkout = function () {
552
- return new Promise(function () {
553
- this.block();
554
- $.ajax({
555
- url: this.params.routes.checkout,
556
- method: 'POST',
557
- dataType: 'json',
558
- data: $.extend({}, this.serialize_fields(), {
559
- payment_method: this.gateway_id,
560
- page_id: this.get_page(),
561
- currency: this.get_currency(),
562
- }),
563
- beforeSend: this.ajax_before_send.bind(this)
564
- }).done(function (result) {
565
- if (result.reload) {
566
- window.location.reload();
567
- return;
568
- }
569
-
570
- if (result.result === 'success') {
571
- window.location = result.redirect;
572
- } else {
573
- if (result.messages) {
574
- this.submit_error(result.messages);
575
- }
576
-
577
- this.unblock();
578
- }
579
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
580
- this.unblock();
581
- this.submit_error(errorThrown);
582
- }.bind(this));
583
- }.bind(this));
584
- };
585
-
586
- wc_stripe.BaseGateway.prototype.process_payment = function (order_id, order_key) {
587
- $.ajax({
588
- method: 'POST',
589
- url: this.params.routes.checkout_payment,
590
- dataType: 'json',
591
- data: $.extend({}, this.fields.toJson(), {order_id: order_id, order_key: order_key}),
592
- beforeSend: this.ajax_before_send.bind(this)
593
- }).done(function (result) {
594
- if (result.result && result.result === 'success') {
595
- window.location = result.redirect;
596
- } else {
597
- if (result.reload) {
598
- return window.location.reload();
599
- }
600
- if (result.messages) {
601
- this.payment_token_received = false;
602
- this.submit_error(result.messages);
603
- } else {
604
- this.submit_error(wc_checkout_params.i18n_checkout_error);
605
- }
606
- }
607
- }.bind(this)).fail(function () {
608
-
609
- }.bind(this))
610
- }
611
-
612
- wc_stripe.BaseGateway.prototype.handle_next_action = function (obj) {
613
- try {
614
- this.stripe[this.handleActionMethod](obj.client_secret).then(function (result) {
615
- if (result.error) {
616
- this.unblock();
617
- this.payment_token_received = false;
618
- return this.submit_error(result.error);
619
- }
620
- if (this.is_current_page('order_pay')) {
621
- this.get_form().trigger('submit');
622
- } else {
623
- this.process_payment(obj.order_id, obj.order_key);
624
- }
625
- }.bind(this)).catch(function (error) {
626
- this.submit_error(error.message);
627
- }.bind(this))
628
- return false;
629
- } catch (err) {
630
-
631
- }
632
- }
633
-
634
- wc_stripe.BaseGateway.prototype.handle_payment_method_setup = function (obj) {
635
- try {
636
- this.stripe[this.setupActionMethod](obj.client_secret).then(function (result) {
637
- if (result.error) {
638
- this.payment_token_received = false;
639
- return this.submit_error(result.error);
640
- }
641
- if (this.is_current_page('order_pay')) {
642
- this.get_form().trigger('submit');
643
- } else {
644
- this.process_payment(obj.order_id, obj.order_key);
645
- }
646
- }.bind(this)).catch(function (error) {
647
- this.submit_error(error.message);
648
- }.bind(this))
649
- return false;
650
- } catch (err) {
651
-
652
- }
653
- }
654
-
655
- wc_stripe.BaseGateway.prototype.hashchange = function (e) {
656
- var match = window.location.hash.match(/response=(.*)/);
657
- if (match) {
658
- try {
659
- var obj = JSON.parse(window.atob(decodeURIComponent(match[1])));
660
- if (obj && obj.hasOwnProperty('client_secret') && obj.gateway_id === this.gateway_id) {
661
- history.pushState({}, '', window.location.pathname);
662
- if (obj.type === 'intent') {
663
- this.handle_next_action(obj);
664
- } else {
665
- this.handle_payment_method_setup(obj);
666
- }
667
- }
668
- } catch (err) {
669
-
670
- }
671
- }
672
- return true;
673
- }
674
-
675
- /**
676
- * [sync_payment_intent description]
677
- * @param {[type]} order_id [description]
678
- * @param {[type]} client_secret [description]
679
- * @return {[type]} [description]
680
- */
681
- wc_stripe.BaseGateway.prototype.sync_payment_intent = function (order_id, client_secret) {
682
- return new Promise(function (resolve, reject) {
683
- // call intent api
684
- $.ajax({
685
- method: 'POST',
686
- dataType: 'json',
687
- url: this.params.routes.sync_intent,
688
- data: {order_id: order_id, client_secret: client_secret},
689
- beforeSend: this.ajax_before_send.bind(this)
690
- }).done(function (response) {
691
- if (response.code) {
692
- reject(response);
693
- } else {
694
- resolve(response);
695
- }
696
- }).fail(function (xhr, textStatus, errorThrown) {
697
- this.submit_error(errorThrown);
698
- }.bind(this));
699
- }.bind(this))
700
- }
701
-
702
- wc_stripe.BaseGateway.prototype.create_setup_intent = function () {
703
- return new Promise(function (resolve, reject) {
704
- $.ajax({
705
- method: 'POST',
706
- dataType: 'json',
707
- data: {payment_method: this.gateway_id},
708
- url: this.params.routes.setup_intent,
709
- beforeSend: this.ajax_before_send.bind(this)
710
- }).done(function (response) {
711
- if (response.code) {
712
- reject(response.message);
713
- } else {
714
- this.client_secret = response.intent.client_secret;
715
- resolve(response);
716
- }
717
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
718
- this.submit_error(errorThrown);
719
- }.bind(this));
720
- }.bind(this))
721
- }
722
-
723
- wc_stripe.BaseGateway.prototype.serialize_form = function ($form) {
724
- var formData = $form.find('input').filter(function (i, e) {
725
- if ($(e).is('[name^="add-to-cart"]')) {
726
- return false;
727
- }
728
-
729
- return true;
730
- }.bind(this)).serializeArray(),
731
- data = {};
732
-
733
- for (var i in formData) {
734
- var obj = formData[i];
735
- data[obj.name] = obj.value;
736
- }
737
-
738
- data.payment_method = this.gateway_id;
739
- return data;
740
- };
741
-
742
- wc_stripe.BaseGateway.prototype.serialize_fields = function () {
743
- return $.extend({}, this.fields.toJson(), $(document.body).triggerHandler('wc_stripe_process_checkout_data', [this, this.fields]));
744
- };
745
-
746
- wc_stripe.BaseGateway.prototype.map_shipping_methods = function (shippingData) {
747
- var methods = {};
748
-
749
- if (shippingData !== "default") {
750
- var matches = shippingData.match(/^([\w+]):(.+)$/);
751
-
752
- if (matches.length > 1) {
753
- methods[matches[1]] = matches[2];
754
- }
755
- }
756
-
757
- return methods;
758
- };
759
-
760
- wc_stripe.BaseGateway.prototype.maybe_set_ship_to_different = function () {
761
- // if shipping and billing address are different,
762
- // set the ship to different address option.
763
- if ($('[name="ship_to_different_address"]').length) {
764
- $('[name="ship_to_different_address"]').prop('checked', this.get_address_field_hash("billing") !== this.get_address_field_hash("shipping")).trigger('change');
765
- }
766
- };
767
-
768
- wc_stripe.BaseGateway.prototype.update_shipping_address = function (ev) {
769
- return new Promise(function (resolve, reject) {
770
- $.ajax({
771
- url: this.params.routes.shipping_address,
772
- method: 'POST',
773
- dataType: 'json',
774
- data: {
775
- address: this.map_address(ev.shippingAddress),
776
- payment_method: this.gateway_id,
777
- page_id: this.get_page(),
778
- currency: this.get_currency()
779
- },
780
- beforeSend: this.ajax_before_send.bind(this)
781
- }).done(function (response) {
782
- if (response.code) {
783
- ev.updateWith(response.data.newData);
784
- reject(response.data);
785
- } else {
786
- ev.updateWith(response.data.newData);
787
- this.fields.set('shipping_method', response.data.shipping_method);
788
- resolve(response.data);
789
- }
790
- }.bind(this)).fail(function () {
791
- }.bind(this));
792
- }.bind(this));
793
- };
794
-
795
- wc_stripe.BaseGateway.prototype.update_shipping_method = function (ev) {
796
- return new Promise(function (resolve, reject) {
797
- $.ajax({
798
- url: this.params.routes.shipping_method,
799
- method: 'POST',
800
- dataType: 'json',
801
- data: {
802
- shipping_method: ev.shippingOption.id,
803
- payment_method: this.gateway_id,
804
- currency: this.get_currency(),
805
- page_id: this.get_page()
806
- },
807
- beforeSend: this.ajax_before_send.bind(this)
808
- }).done(function (response) {
809
- if (response.code) {
810
- ev.updateWith(response.data.newData);
811
- reject(response.data);
812
- } else {
813
- this.set_selected_shipping_methods(response.data.shipping_methods);
814
- ev.updateWith(response.data.newData);
815
- resolve(response.data);
816
- }
817
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
818
- this.submit_error(errorThrown);
819
- }.bind(this));
820
- }.bind(this));
821
- };
822
- /********** Checkout Gateway ********/
823
-
824
- wc_stripe.CheckoutGateway = function () {
825
- this.message_container = 'li.payment_method_' + this.gateway_id;
826
- this.banner_container = 'li.banner_payment_method_' + this.gateway_id;
827
- $(document.body).on('update_checkout', this.update_checkout.bind(this));
828
- $(document.body).on('updated_checkout', this.updated_checkout.bind(this));
829
- $(document.body).on('updated_checkout', this.container_styles.bind(this));
830
- $(document.body).on('checkout_error', this.checkout_error.bind(this));
831
- $(this.token_selector).closest('form').on('checkout_place_order_' + this.gateway_id, this.checkout_place_order.bind(this)); // events for showing gateway payment buttons
832
-
833
- $(document.body).on('wc_stripe_new_method_' + this.gateway_id, this.on_show_new_methods.bind(this));
834
- $(document.body).on('wc_stripe_saved_method_' + this.gateway_id, this.on_show_saved_methods.bind(this));
835
- $(document.body).on('wc_stripe_payment_method_selected', this.on_payment_method_selected.bind(this));
836
-
837
- if (this.banner_enabled()) {
838
- if ($('.woocommerce-billing-fields').length) {
839
- $('.wc-stripe-banner-checkout').css('max-width', $('.woocommerce-billing-fields').outerWidth(true));
840
- }
841
- }
842
-
843
- this.container_styles();
844
-
845
- this.hasOrderReviewParams();
846
- };
847
-
848
- wc_stripe.CheckoutGateway.prototype.container_styles = function () {
849
- if (!this.params.description) {
850
- $(this.container).addClass('wc-stripe-no-desc');
851
- }
852
- if (!$(this.container).find('.wc-stripe-saved-methods').length) {
853
- $(this.container).find('.payment_box').addClass('wc-stripe-no-methods');
854
- }
855
- }
856
-
857
- wc_stripe.CheckoutGateway.prototype.hasOrderReviewParams = function () {
858
- var params = window.location.search;
859
- var match = params.match(/_stripe_order_review=(.+)/);
860
-
861
- if (match && match.length > 1) {
862
- try {
863
- var obj = JSON.parse(window.atob(decodeURIComponent(match[1])));
864
- if (this.gateway_id === obj.payment_method) {
865
- $(function () {
866
- this.payment_token_received = true;
867
- this.set_nonce(obj.payment_nonce);
868
- this.set_use_new_option(true);
869
- }.bind(this));
870
- history.pushState({}, '', window.location.pathname);
871
- }
872
- } catch (err) {
873
- }
874
- }
875
- };
876
-
877
- wc_stripe.CheckoutGateway.prototype.has3DSecureParams = function () {
878
- if (this.is_current_page('order_pay') || this.is_current_page('checkout') || this.is_change_payment_method()) {
879
- if (window.location.hash && typeof window.location.hash === 'string') {
880
- var match = window.location.hash.match(/response=(.*)/);
881
- if (match) {
882
- try {
883
- var obj = JSON.parse(window.atob(decodeURIComponent(match[1])));
884
- if (obj && obj.hasOwnProperty('client_secret') && obj.gateway_id === this.gateway_id) {
885
- $(function () {
886
- this.set_payment_method(this.gateway_id);
887
- this.set_use_new_option(true);
888
- this.set_nonce(obj.pm);
889
- if (obj.save_method === true) {
890
- this.set_save_payment_method(true);
891
- }
892
- $('[name="terms"]').prop('checked', true);
893
- }.bind(this));
894
- history.pushState({}, '', window.location.pathname + window.location.search);
895
- this.handle_next_action(obj);
896
- }
897
- } catch (err) {
898
-
899
- }
900
- }
901
- }
902
- }
903
- }
904
-
905
- wc_stripe.CheckoutGateway.prototype.update_shipping_address = function () {
906
- return wc_stripe.BaseGateway.prototype.update_shipping_address.apply(this, arguments).then(function (data) {
907
- // populate the checkout fields with the address
908
- this.populate_address_fields(data.address, this.get_shipping_prefix());
909
- this.fields.toFormFields({update_shipping_method: false});
910
- }.bind(this));
911
- }
912
-
913
- /**
914
- * Called on the WC updated_checkout event
915
- */
916
- wc_stripe.CheckoutGateway.prototype.updated_checkout = function () {
917
- };
918
-
919
- /**
920
- * Called on the WC update_checkout event
921
- */
922
- wc_stripe.CheckoutGateway.prototype.update_checkout = function () {
923
- };
924
- /**
925
- * Called on the WC checkout_error event
926
- */
927
-
928
-
929
- wc_stripe.CheckoutGateway.prototype.checkout_error = function () {
930
- if (this.has_checkout_error()) {
931
- this.payment_token_received = false;
932
- this.payment_response = null;
933
- this.show_payment_button();
934
- this.hide_place_order();
935
- }
936
- };
937
-
938
- wc_stripe.CheckoutGateway.prototype.is_valid_checkout = function () {
939
- if ($('[name="terms"]').length && $('[name="terms"]').is(':visible')) {
940
- if (!$('[name="terms"]').is(':checked')) {
941
- return false;
942
- }
943
- }
944
-
945
- return true;
946
- };
947
-
948
- wc_stripe.CheckoutGateway.prototype.get_payment_method = function () {
949
- return $('[name="payment_method"]:checked').val();
950
- };
951
-
952
- wc_stripe.CheckoutGateway.prototype.set_use_new_option = function (bool) {
953
- $('#' + this.gateway_id + '_use_new').prop('checked', bool).trigger('change');
954
- };
955
-
956
- wc_stripe.CheckoutGateway.prototype.checkout_place_order = function () {
957
- if (!this.is_valid_checkout()) {
958
- this.submit_error(this.params.messages.terms);
959
- return false;
960
- } else if (this.is_saved_method_selected()) {
961
- return true;
962
- }
963
-
964
- return this.payment_token_received;
965
- };
966
-
967
- wc_stripe.CheckoutGateway.prototype.on_token_received = function (paymentMethod) {
968
- this.payment_token_received = true;
969
- this.set_nonce(paymentMethod.id);
970
- this.hide_payment_button();
971
- this.show_place_order();
972
- };
973
-
974
- wc_stripe.CheckoutGateway.prototype.block = function () {
975
- if ($().block) {
976
- this.get_form().block({
977
- message: null,
978
- overlayCSS: {
979
- background: '#fff',
980
- opacity: 0.6
981
- }
982
- });
983
- }
984
-
985
- };
986
-
987
- wc_stripe.CheckoutGateway.prototype.unblock = function () {
988
- if ($().block) {
989
- this.get_form().unblock();
990
- }
991
- };
992
-
993
- wc_stripe.CheckoutGateway.prototype.hide_place_order = function () {
994
- $('#place_order').addClass('wc-stripe-hide');
995
- };
996
-
997
- wc_stripe.CheckoutGateway.prototype.show_place_order = function () {
998
- $('#place_order').removeClass('wc-stripe-hide');
999
- };
1000
-
1001
- wc_stripe.CheckoutGateway.prototype.on_show_new_methods = function () {
1002
- if (this.payment_token_received) {
1003
- this.show_place_order();
1004
- this.hide_payment_button();
1005
- } else {
1006
- this.hide_place_order();
1007
- this.show_payment_button();
1008
- }
1009
- };
1010
-
1011
- wc_stripe.CheckoutGateway.prototype.on_show_saved_methods = function () {
1012
- this.hide_payment_button();
1013
- this.show_place_order();
1014
- };
1015
-
1016
- wc_stripe.CheckoutGateway.prototype.show_payment_button = function () {
1017
- if (this.$button) {
1018
- this.$button.show();
1019
- }
1020
- };
1021
-
1022
- wc_stripe.CheckoutGateway.prototype.hide_payment_button = function () {
1023
- if (this.$button) {
1024
- this.$button.hide();
1025
- }
1026
- };
1027
-
1028
- wc_stripe.CheckoutGateway.prototype.trigger_payment_method_selected = function () {
1029
- this.on_payment_method_selected(null, $('[name="payment_method"]:checked').val());
1030
- };
1031
-
1032
- wc_stripe.CheckoutGateway.prototype.show_new_payment_method = function () {
1033
- $('[name="' + this.gateway_id + '_payment_type_key"][value="new"').trigger('click');
1034
- }
1035
-
1036
- wc_stripe.CheckoutGateway.prototype.on_payment_method_selected = function (e, payment_method) {
1037
- if (payment_method === this.gateway_id) {
1038
- if (this.payment_token_received || this.is_saved_method_selected()) {
1039
- this.hide_payment_button();
1040
- this.show_place_order();
1041
- } else {
1042
- this.show_payment_button();
1043
- this.hide_place_order();
1044
- }
1045
- } else {
1046
- this.hide_payment_button();
1047
-
1048
- if (payment_method && payment_method.indexOf('stripe_') < 0) {
1049
- this.show_place_order();
1050
- }
1051
- }
1052
- };
1053
-
1054
- wc_stripe.CheckoutGateway.prototype.banner_enabled = function () {
1055
- return this.params.banner_enabled === '1';
1056
- };
1057
-
1058
- wc_stripe.CheckoutGateway.prototype.checkout_fields_valid = function () {
1059
- if (['checkout', 'order_pay'].indexOf(this.get_page()) < 0) {
1060
- return true;
1061
- }
1062
-
1063
- var valid = true;
1064
-
1065
- if (!(valid = this.fields.validateFields('billing'))) {
1066
- this.submit_error(this.params.messages.required_field);
1067
- } else if (this.needs_shipping() && $('#ship-to-different-address-checkbox').is(':checked')) {
1068
- if (!(valid = this.fields.validateFields('shipping'))) {
1069
- this.submit_error(this.params.messages.required_field);
1070
- }
1071
- } else if (!(valid = this.is_valid_checkout())) {
1072
- this.submit_error(this.params.messages.terms);
1073
- }
1074
-
1075
- return valid;
1076
- };
1077
-
1078
- wc_stripe.CheckoutGateway.prototype.cart_contains_subscription = function () {
1079
- return typeof wc_stripe_cart_contains_subscription !== 'undefined' && wc_stripe_cart_contains_subscription === true;
1080
- }
1081
-
1082
- wc_stripe.CheckoutGateway.prototype.set_save_payment_method = function (bool) {
1083
- $('[name="' + this.gateway_id + '_save_source_key' + '"]').prop('checked', bool);
1084
- }
1085
-
1086
- wc_stripe.CheckoutGateway.prototype.process_order_pay = function () {
1087
- var data = this.get_form().serializeArray();
1088
- data.push({name: '_wpnonce', value: this.params.rest_nonce});
1089
- data.push({name: 'order_id', value: this.params.order_id});
1090
- data.push({name: 'order_key', value: this.params.order_key});
1091
- this.block();
1092
- $.ajax({
1093
- url: this.params.routes.order_pay,
1094
- method: 'POST',
1095
- dataType: 'json',
1096
- data: $.param(data)
1097
- }).done(function (response) {
1098
- if (response.success) {
1099
- if (response.needs_confirmation) {
1100
- if (response.data) {
1101
- this.handle_next_action(response.data);
1102
- } else {
1103
- window.location.href = response.redirect;
1104
- }
1105
- } else {
1106
- this.get_form().trigger('submit');
1107
- }
1108
- } else {
1109
- this.submit_error(response.message);
1110
- }
1111
- }.bind(this)).fail(function (jqXHR, textStatus, errorThrown) {
1112
- this.unblock();
1113
- this.submit_error(errorThrown);
1114
- }.bind(this))
1115
- }
1116
-
1117
- /************** Product Gateway ***************/
1118
-
1119
- wc_stripe.ProductGateway = function () {
1120
- this.message_container = 'div.product'; // events
1121
-
1122
- $('form.cart').on('found_variation', this.found_variation.bind(this));
1123
- $('form.cart').on('reset_data', this.reset_variation_data.bind(this));
1124
- this.buttonWidth = $('form.cart div.quantity').outerWidth(true) + $('.single_add_to_cart_button').outerWidth();
1125
- var marginLeft = $('.single_add_to_cart_button').css('marginLeft');
1126
-
1127
- if (marginLeft) {
1128
- this.buttonWidth += parseInt(marginLeft.replace('px', ''));
1129
- }
1130
-
1131
- $(this.container).css('max-width', this.buttonWidth + 'px');
1132
- };
1133
-
1134
- wc_stripe.ProductGateway.prototype.get_quantity = function () {
1135
- return parseInt($('[name="quantity"]').val());
1136
- };
1137
-
1138
- wc_stripe.ProductGateway.prototype.set_rest_nonce = function (e, nonce) {
1139
- this.params.rest_nonce = nonce;
1140
- };
1141
-
1142
- wc_stripe.ProductGateway.prototype.found_variation = function (e, variation) {
1143
- var data = this.get_gateway_data();
1144
- data.product.price = variation.display_price;
1145
- data.needs_shipping = !variation.is_virtual;
1146
- data.product.variation = variation;
1147
- this.set_gateway_data(data);
1148
- };
1149
-
1150
- wc_stripe.ProductGateway.prototype.reset_variation_data = function () {
1151
- var data = this.get_product_data();
1152
- data.variation = false;
1153
- this.set_product_data(data);
1154
- this.disable_payment_button();
1155
- };
1156
-
1157
- wc_stripe.ProductGateway.prototype.disable_payment_button = function () {
1158
- if (this.$button) {
1159
- this.get_button().prop('disabled', true).addClass('disabled');
1160
- }
1161
- };
1162
-
1163
- wc_stripe.ProductGateway.prototype.enable_payment_button = function () {
1164
- if (this.$button) {
1165
- this.get_button().prop('disabled', false).removeClass('disabled');
1166
- }
1167
- };
1168
-
1169
- wc_stripe.ProductGateway.prototype.get_button = function () {
1170
- return this.$button;
1171
- };
1172
-
1173
- wc_stripe.ProductGateway.prototype.is_variable_product = function () {
1174
- var variation = this.get_product_data().variation;
1175
- return !!variation || $('[name="variation_id"]').length > 0;
1176
- };
1177
-
1178
- wc_stripe.ProductGateway.prototype.variable_product_selected = function () {
1179
- var variation = this.get_product_data().variation
1180
- var val = $('input[name="variation_id"]').val();
1181
- return !!variation || (!!val && "0" != val);
1182
- };
1183
-
1184
- wc_stripe.ProductGateway.prototype.get_product_data = function () {
1185
- return this.get_gateway_data().product;
1186
- };
1187
-
1188
- wc_stripe.ProductGateway.prototype.set_product_data = function (product) {
1189
- var data = this.get_gateway_data();
1190
- data.product = product;
1191
- this.set_gateway_data(data);
1192
- };
1193
-
1194
- wc_stripe.ProductGateway.prototype.get_form = function () {
1195
- return $(this.container).closest('form');
1196
- }
1197
-
1198
- wc_stripe.ProductGateway.prototype.add_to_cart = function () {
1199
- return new Promise(function (resolve, reject) {
1200
- this.block();
1201
- var data = {
1202
- product_id: this.get_product_data().id,
1203
- variation_id: this.is_variable_product() ? $('[name="variation_id"]').val() : 0,
1204
- qty: $('[name="quantity"]').val(),
1205
- payment_method: this.gateway_id,
1206
- currency: this.get_currency(),
1207
- page_id: this.get_page()
1208
- };
1209
- var fields = this.get_form().find(':not([name="add-to-cart"],[name="quantity"],[name^="attribute_"],[name="variation_id"])').serializeArray();
1210
- if (fields) {
1211
- for (var i in fields) {
1212
- data[fields[i].name] = fields[i].value;
1213
- }
1214
- }
1215
- $.ajax({
1216
- url: this.params.routes.add_to_cart,
1217
- method: 'POST',
1218
- dataType: 'json',
1219
- data: $.extend({}, data, this.get_product_variations()),
1220
- beforeSend: this.ajax_before_send.bind(this)
1221
- }).done(function (response) {
1222
- this.unblock();
1223
-
1224
- if (response.code) {
1225
- this.submit_error(response.message);
1226
- reject(response);
1227
- } else {
1228
- this.set_total_price(response.data.total);
1229
- this.set_total_price_cents(response.data.totalCents);
1230
- this.set_display_items(response.data.displayItems);
1231
- resolve(response.data);
1232
- }
1233
- }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
1234
- this.unblock();
1235
- this.submit_error(errorThrown);
1236
- }.bind(this));
1237
- }.bind(this));
1238
- };
1239
-
1240
- wc_stripe.ProductGateway.prototype.cart_calculation = function (variation_id) {
1241
- return new Promise(function (resolve, reject) {
1242
- this.processing_calculation = true;
1243
- $.ajax({
1244
- url: this.params.routes.cart_calculation,
1245
- method: 'POST',
1246
- dataType: 'json',
1247
- data: $.extend({}, {
1248
- product_id: this.get_product_data().id,
1249
- variation_id: this.is_variable_product() && variation_id ? variation_id : 0,
1250
- qty: $('[name="quantity"]').val(),
1251
- currency: this.get_currency(),
1252
- payment_method: this.gateway_id
1253
- }, this.get_product_variations()),
1254
- beforeSend: this.ajax_before_send.bind(this)
1255
- }).done(function (response) {
1256
- this.processing_calculation = false;
1257
- if (response.code) {
1258
- this.cart_calculation_error = true;
1259
- reject(response);
1260
- } else {
1261
- this.set_total_price(response.data.total);
1262
- this.set_total_price_cents(response.data.totalCents);
1263
- this.set_display_items(response.data.displayItems);
1264
- resolve(response.data);
1265
- }
1266
- }.bind(this)).fail(function () {
1267
- this.processing_calculation = false;
1268
- }.bind(this));
1269
- }.bind(this));
1270
- };
1271
-
1272
- wc_stripe.ProductGateway.prototype.get_product_variations = function () {
1273
- var variations = {};
1274
- if (this.is_variable_product()) {
1275
- $('.variations [name^="attribute_"]').each(function (index, el) {
1276
- var $el = $(el);
1277
- var name = $el.data('attribute_name') || $el.attr('name');
1278
- variations[name] = $el.val();
1279
- });
1280
- }
1281
- return variations;
1282
- }
1283
-
1284
- /************* Cart Gateway *************/
1285
-
1286
- wc_stripe.CartGateway = function () {
1287
- this.message_container = 'div.woocommerce';
1288
-
1289
- $(document.body).on('updated_wc_div', this.updated_html.bind(this));
1290
- $(document.body).on('updated_cart_totals', this.updated_html.bind(this));
1291
- $(document.body).on('wc_cart_emptied', this.cart_emptied.bind(this));
1292
- };
1293
-
1294
- wc_stripe.CartGateway.prototype.submit_error = function (message) {
1295
- this.submit_message(this.get_error_message(message));
1296
- };
1297
-
1298
- wc_stripe.CartGateway.prototype.updated_html = function (e) {
1299
- };
1300
-
1301
- wc_stripe.CartGateway.prototype.cart_emptied = function (e) {
1302
- };
1303
-
1304
- wc_stripe.CartGateway.prototype.add_cart_totals_class = function () {
1305
- $('.cart_totals').addClass('stripe_cart_gateway_active');
1306
- };
1307
-
1308
- /************* Google Pay Mixins **************/
1309
-
1310
- wc_stripe.GooglePay = function () {
1311
- };
1312
-
1313
- wc_stripe.GooglePay.prototype.handleActionMethod = 'handleCardAction';
1314
- wc_stripe.GooglePay.prototype.setupActionMethod = 'confirmCardSetup';
1315
-
1316
- var googlePayBaseRequest = {
1317
- apiVersion: 2,
1318
- apiVersionMinor: 0
1319
- };
1320
-
1321
- var baseCardPaymentMethod = {
1322
- type: 'CARD',
1323
- parameters: {
1324
- allowedAuthMethods: ["PAN_ONLY"],
1325
- allowedCardNetworks: ["AMEX", "DISCOVER", "INTERAC", "JCB", "MASTERCARD", "VISA"],
1326
- assuranceDetailsRequired: true
1327
- }
1328
- };
1329
-
1330
- /**
1331
- * Populate the WC checkout fields.
1332
- * @param {[type]}
1333
- * @return {[type]}
1334
- */
1335
- wc_stripe.GooglePay.prototype.update_addresses = function (paymentData) {
1336
- if (paymentData.paymentMethodData.info.billingAddress) {
1337
- var billing_address = paymentData.paymentMethodData.info.billingAddress;
1338
- if (this.is_current_page('checkout') && this.is_valid_address(this.billing_address_object, 'billing', ['phone', 'email'])) {
1339
- billing_address = {phoneNumber: billing_address.phoneNumber};
1340
- }
1341
- this.populate_billing_fields(billing_address);
1342
- if (billing_address.phoneNumber && this.fields.exists('shipping_phone') && this.fields.isEmpty('shipping_phone')) {
1343
- this.fields.set('shipping_phone', billing_address.phoneNumber);
1344
- }
1345
- }
1346
-
1347
- if (paymentData.shippingAddress) {
1348
- this.populate_shipping_fields(paymentData.shippingAddress);
1349
- }
1350
-
1351
- if (paymentData.email) {
1352
- this.fields.set('email', paymentData.email, 'billing');
1353
- }
1354
- };
1355
-
1356
- wc_stripe.GooglePay.prototype.map_address = function (address) {
1357
- return {
1358
- city: address.locality,
1359
- postcode: address.postalCode,
1360
- state: address.administrativeArea,
1361
- country: address.countryCode
1362
- };
1363
- };
1364
-
1365
- wc_stripe.GooglePay.prototype.update_payment_data = function (data) {
1366
- return new Promise(function (resolve, reject) {
1367
- var shipping_method = data.shippingOptionData.id == 'default' ? null : data.shippingOptionData.id;
1368
- $.when($.ajax({
1369
- url: this.params.routes.payment_data,
1370
- dataType: 'json',
1371
- method: 'POST',
1372
- data: {
1373
- address: this.map_address(data.shippingAddress),
1374
- shipping_method: shipping_method,
1375
- page_id: this.get_page(),
1376
- currency: this.get_currency()
1377
- },
1378
- beforeSend: this.ajax_before_send.bind(this)
1379
- })).done(function (response) {
1380
- if (response.code) {
1381
- reject(response.data.data);
1382
- } else {
1383
- resolve(response.data);
1384
- }
1385
- }.bind(this)).fail(function () {
1386
- reject();
1387
- }.bind(this));
1388
- }.bind(this));
1389
- };
1390
-
1391
- wc_stripe.GooglePay.prototype.on_payment_data_changed = function (address) {
1392
- return new Promise(function (resolve) {
1393
- this.update_payment_data(address).then(function (response) {
1394
- resolve(response.paymentRequestUpdate);
1395
- this.set_selected_shipping_methods(response.shipping_methods);
1396
- this.payment_data_updated(response, address);
1397
- }.bind(this))['catch'](function (data) {
1398
- resolve(data);
1399
- }.bind(this));
1400
- }.bind(this));
1401
- };
1402
-
1403
- wc_stripe.GooglePay.prototype.payment_data_updated = function (response) {
1404
- };
1405
-
1406
- wc_stripe.GooglePay.prototype.get_merchant_info = function () {
1407
- var options = {
1408
- merchantId: this.params.merchant_id,
1409
- merchantName: this.params.merchant_name
1410
- };
1411
-
1412
- if (this.params.environment === 'TEST') {
1413
- delete options.merchantId;
1414
- }
1415
-
1416
- return options;
1417
- };
1418
-
1419
- wc_stripe.GooglePay.prototype.get_payment_options = function () {
1420
- var options = {
1421
- environment: this.params.environment,
1422
- merchantInfo: this.get_merchant_info(),
1423
- paymentDataCallbacks: {
1424
- onPaymentAuthorized: function onPaymentAuthorized() {
1425
- return new Promise(function (resolve) {
1426
- resolve({
1427
- transactionState: "SUCCESS"
1428
- });
1429
- }.bind(this));
1430
- }
1431
- }
1432
- };
1433
-
1434
- if (this.needs_shipping()) {
1435
- var prefix = this.get_shipping_prefix();
1436
- if ((this.is_current_page('checkout') && !this.is_valid_address(this.get_address_object(prefix), prefix, ['email', 'phone'])) || !this.is_current_page('checkout')) {
1437
- options.paymentDataCallbacks.onPaymentDataChanged = this.on_payment_data_changed.bind(this);
1438
- }
1439
- }
1440
-
1441
- return options;
1442
- };
1443
-
1444
- wc_stripe.GooglePay.prototype.build_payment_request = function () {
1445
- var request = $.extend({}, googlePayBaseRequest, {
1446
- emailRequired: this.fields.requestFieldInWallet('billing_email'),
1447
- merchantInfo: this.get_merchant_info(),
1448
- allowedPaymentMethods: [$.extend({
1449
- type: "CARD",
1450
- tokenizationSpecification: {
1451
- type: "PAYMENT_GATEWAY",
1452
- parameters: {
1453
- gateway: 'stripe',
1454
- "stripe:version": "2018-10-31",
1455
- "stripe:publishableKey": this.params.api_key
1456
- }
1457
- }
1458
- }, baseCardPaymentMethod)],
1459
- shippingAddressRequired: (function () {
1460
- if (this.needs_shipping()) {
1461
- var prefix = this.get_shipping_prefix();
1462
- if ((this.is_current_page('checkout') && !this.is_valid_address(this.get_address_object(prefix), prefix, ['email', 'phone'])) || !this.is_current_page('checkout')) {
1463
- return true;
1464
- }
1465
- }
1466
- return false;
1467
- }.bind(this))(),
1468
- transactionInfo: {
1469
- countryCode: this.params.processing_country,
1470
- currencyCode: this.get_currency(),
1471
- totalPriceStatus: "ESTIMATED",
1472
- totalPrice: this.get_total_price().toString(),
1473
- displayItems: this.get_display_items(),
1474
- totalPriceLabel: this.params.total_price_label
1475
- }
1476
- });
1477
- request.allowedPaymentMethods[0].parameters.billingAddressRequired = (function () {
1478
- if (this.is_current_page('checkout')) {
1479
- var address = this.billing_address_object = this.get_address_object('billing');
1480
- // phone is in address object, so if phone is required and empty, request address. If address is not filled out, then request it.
1481
- if (this.fields.requestFieldInWallet('billing_phone') || !this.is_valid_address(address, 'billing', ['email'])) {
1482
- return true;
1483
- }
1484
- return false;
1485
- }
1486
- return true;
1487
- }.bind(this)());
1488
- if (request.allowedPaymentMethods[0].parameters.billingAddressRequired) {
1489
- request.allowedPaymentMethods[0].parameters.billingAddressParameters = {
1490
- format: "FULL",
1491
- phoneNumberRequired: this.fields.requestFieldInWallet('billing_phone')
1492
- };
1493
- }
1494
-
1495
- if (request.shippingAddressRequired) {
1496
- request.shippingAddressParameters = {};
1497
- request.shippingOptionRequired = true;
1498
- request.shippingOptionParameters = {
1499
- shippingOptions: this.get_shipping_options()
1500
- };
1501
- request.callbackIntents = ["SHIPPING_ADDRESS", "SHIPPING_OPTION", "PAYMENT_AUTHORIZATION"];
1502
- } else {
1503
- request.callbackIntents = ["PAYMENT_AUTHORIZATION"];
1504
- }
1505
- this.payment_request_options = request;
1506
- return request;
1507
- };
1508
-
1509
- wc_stripe.GooglePay.prototype.createPaymentsClient = function () {
1510
- this.paymentsClient = new google.payments.api.PaymentsClient(this.get_payment_options());
1511
- };
1512
-
1513
- wc_stripe.GooglePay.prototype.isReadyToPay = function () {
1514
- return new Promise(function (resolve) {
1515
- var isReadyToPayRequest = $.extend({}, googlePayBaseRequest);
1516
- isReadyToPayRequest.allowedPaymentMethods = [baseCardPaymentMethod];
1517
- this.paymentsClient.isReadyToPay(isReadyToPayRequest).then(function () {
1518
- this.can_pay = true;
1519
- this.create_button();
1520
- resolve();
1521
- }.bind(this))["catch"](function (err) {
1522
- if (err && err.message && err.message.indexOf('ShadowRoot') > -1) {
1523
- console.log('GPay is not supported on this browser.');
1524
- } else {
1525
- this.submit_error(err);
1526
- }
1527
- }.bind(this));
1528
- }.bind(this));
1529
- };
1530
-
1531
- wc_stripe.GooglePay.prototype.create_button = function () {
1532
- if (this.$button) {
1533
- this.$button.remove();
1534
- }
1535
-
1536
- this.$button = $(this.paymentsClient.createButton(this.get_button_options()));
1537
- this.$button.addClass('gpay-button-container');
1538
- };
1539
-
1540
- wc_stripe.GooglePay.prototype.get_button_options = function () {
1541
- var options = {
1542
- onClick: this.start.bind(this),
1543
- buttonColor: this.params.button_color,
1544
- buttonType: this.params.button_style,
1545
- buttonSizeMode: this.params.button_size_mode
1546
- };
1547
- if (this.params.button_locale !== null) {
1548
- options.buttonLocale = this.params.button_locale;
1549
- }
1550
- return options;
1551
- }
1552
-
1553
- wc_stripe.GooglePay.prototype.start = function () {
1554
- // always recreate the paymentClient to ensure latest data is used.
1555
- this.createPaymentsClient();
1556
- this.paymentsClient.loadPaymentData(this.build_payment_request()).then(function (paymentData) {
1557
- var data = JSON.parse(paymentData.paymentMethodData.tokenizationData.token);
1558
- this.update_addresses(paymentData);
1559
- // convert token to payment method
1560
- this.stripe.createPaymentMethod({
1561
- type: 'card',
1562
- card: {token: data.id},
1563
- billing_details: this.get_billing_details()
1564
- }).then(function (result) {
1565
- if (result.error) {
1566
- return this.submit_error(result.error);
1567
- }
1568
- this.on_token_received(result.paymentMethod);
1569
- }.bind(this));
1570
- }.bind(this))["catch"](function (err) {
1571
- if (err.statusCode === "CANCELED") {
1572
- return;
1573
- }
1574
-
1575
- if (err.statusMessage && err.statusMessage.indexOf("paymentDataRequest.callbackIntent") > -1) {
1576
- this.submit_error_code("DEVELOPER_ERROR_WHITELIST");
1577
- } else {
1578
- this.submit_error(err.statusMessage);
1579
- }
1580
- }.bind(this));
1581
- };
1582
-
1583
- wc_stripe.ApplePay = function () {
1584
- };
1585
-
1586
- wc_stripe.ApplePay.prototype.handleActionMethod = 'handleCardAction';
1587
- wc_stripe.ApplePay.prototype.setupActionMethod = 'confirmCardSetup';
1588
-
1589
- wc_stripe.ApplePay.prototype.initialize = function () {
1590
- this.createPaymentRequest();
1591
- this.canMakePayment();
1592
- };
1593
-
1594
- wc_stripe.ApplePay.prototype.get_payment_request_options = function () {
1595
- return $.extend({}, wc_stripe.BaseGateway.prototype.get_payment_request_options.apply(this, arguments), {
1596
- disableWallets: ['googlePay']
1597
- });
1598
- }
1599
-
1600
- wc_stripe.ApplePay.prototype.create_button = function () {
1601
- if (this.$button) {
1602
- this.$button.remove();
1603
- }
1604
-
1605
- this.$button = $(this.params.button);
1606
- this.$button.on('click', this.start.bind(this));
1607
- this.append_button();
1608
- };
1609
-
1610
- wc_stripe.ApplePay.prototype.canMakePayment = function () {
1611
- return new Promise(function (resolve) {
1612
- this.paymentRequest.canMakePayment().then(function (result) {
1613
- if (result && result.applePay) {
1614
- this.can_pay = true;
1615
- this.create_button();
1616
- $(this.container).show();
1617
- resolve(result);
1618
- }
1619
- }.bind(this));
1620
- }.bind(this));
1621
- };
1622
-
1623
- wc_stripe.ApplePay.prototype.start = function (e) {
1624
- e.preventDefault();
1625
- this.paymentRequest.update(this.get_payment_request_update({
1626
- total: {
1627
- pending: false
1628
- }
1629
- }));
1630
- this.paymentRequest.show();
1631
- };
1632
-
1633
- /*********** PaymentRequest *********/
1634
- wc_stripe.PaymentRequest = function () {
1635
- };
1636
-
1637
- wc_stripe.PaymentRequest.prototype.handleActionMethod = 'handleCardAction';
1638
- wc_stripe.PaymentRequest.prototype.setupActionMethod = 'confirmCardSetup';
1639
-
1640
- wc_stripe.PaymentRequest.prototype.initialize = function () {
1641
- this.createPaymentRequest();
1642
- this.createPaymentRequestButton();
1643
- this.canMakePayment();
1644
- this.paymentRequestButton.on('click', this.button_click.bind(this));
1645
- };
1646
-
1647
- wc_stripe.PaymentRequest.prototype.button_click = function (event) {
1648
- };
1649
-
1650
- wc_stripe.PaymentRequest.prototype.createPaymentRequestButton = function () {
1651
- if (this.paymentRequestButton) {
1652
- this.paymentRequestButton.destroy();
1653
- }
1654
- this.paymentRequestButton = this.elements.create("paymentRequestButton", {
1655
- paymentRequest: this.paymentRequest,
1656
- style: {
1657
- paymentRequestButton: {
1658
- type: this.params.button.type,
1659
- theme: this.params.button.theme,
1660
- height: this.params.button.height
1661
- }
1662
- }
1663
- });
1664
- };
1665
-
1666
- wc_stripe.PaymentRequest.prototype.canMakePayment = function () {
1667
- return new Promise(function (resolve) {
1668
- var paymentRequest = this.paymentRequest;
1669
- this.paymentRequest.canMakePayment().then(function (result) {
1670
- if (result && !result.applePay && paymentRequest === this.paymentRequest) {
1671
- this.can_pay = true;
1672
- this.create_button();
1673
- $(this.container).show();
1674
- resolve(result);
1675
- }
1676
- }.bind(this));
1677
- }.bind(this));
1678
- };
1679
-
1680
- wc_stripe.PaymentRequest.prototype.create_button = function () {
1681
- this.paymentRequestButton.mount('#wc-stripe-payment-request-container');
1682
- };
1683
-
1684
- wc_stripe.Afterpay = function () {
1685
- };
1686
-
1687
- wc_stripe.Afterpay.prototype.is_eligible = function (price) {
1688
- return (price >= this.get_min() && price <= this.get_max());
1689
- }
1690
-
1691
- wc_stripe.Afterpay.prototype.get_min = function () {
1692
- var currency = this.get_currency();
1693
- var params = this.params.requirements[currency];
1694
- return params ? params[1] : 0;
1695
- }
1696
-
1697
- wc_stripe.Afterpay.prototype.get_max = function () {
1698
- var currency = this.get_currency();
1699
- var params = this.params.requirements[currency];
1700
- return params ? params[2] : 0;
1701
- }
1702
-
1703
- wc_stripe.Afterpay.prototype.add_eligibility = function (selector, price) {
1704
- if ($(selector).length) {
1705
- if (this.is_eligible(price)) {
1706
- $(selector).removeClass('afterpay-ineligible');
1707
- } else {
1708
- if (this.hide_ineligible_active()) {
1709
- $(selector).addClass('afterpay-ineligible');
1710
- }
1711
- }
1712
- }
1713
- }
1714
-
1715
- wc_stripe.Afterpay.prototype.hide_ineligible_active = function () {
1716
- return this.params.hide_ineligible === 'yes';
1717
- }
1718
-
1719
- wc_stripe.CheckoutFields = function (params, page) {
1720
- this.params = params;
1721
- this.page = page;
1722
- this.session_values = this.supportsSessionStorage() && sessionStorage.getItem('wc_stripe_checkout_fields') ? JSON.parse(sessionStorage.getItem('wc_stripe_checkout_fields')) : {};
1723
- this.fields = new Map(Object.keys(this.params).map(function (k) {
1724
- if (this.params[k].value === null) {
1725
- if (k in this.session_values && this.session_values[k] !== null) {
1726
- this.params[k].value = this.session_values[k];
1727
- } else {
1728
- this.params[k].value = "";
1729
- }
1730
- }
1731
- return [k, this.params[k].value];
1732
- }.bind(this)));
1733
-
1734
- if ('checkout' === page || ('cart' === page && $(document.body).is('.woocommerce-checkout')) || $('form.woocommerce-checkout').length > 0) {
1735
- $(document.body).on('updated_checkout', this.updated_checkout.bind(this));
1736
- $(document.body).on('change', '[name^="billing_"], [name^="shipping_"]', this.onChange.bind(this));
1737
- $('form.checkout').on('change', '.input-text:not([name^="billing_"], [name^="shipping_"], [name="account_password"]), select:not([name^="billing_"], [name^="shipping_"])', this.onChange.bind(this));
1738
- $('form.checkout').on('change', '[name="ship_to_different_address"]', this.on_ship_to_address_change.bind(this));
1739
- this.init_i18n();
1740
- if ($('[name="ship_to_different_address"]').is(':checked')) {
1741
- this.update_required_fields($('#shipping_country').val(), 'shipping_country');
1742
- } else {
1743
- this.update_required_fields($('#billing_country').val(), 'billing_country');
1744
- }
1745
- }
1746
- };
1747
-
1748
- wc_stripe.CheckoutFields.prototype.supportsSessionStorage = function () {
1749
- if ('sessionStorage' in window && window.sessionStorage !== null) {
1750
- return ['getItem', 'setItem'].reduce(function (exists, method) {
1751
- return !exists ? exists : method in sessionStorage;
1752
- }.bind(this), true);
1753
- }
1754
- return false;
1755
- }
1756
-
1757
- wc_stripe.CheckoutFields.prototype.init_i18n = function () {
1758
- if (typeof wc_address_i18n_params !== 'undefined') {
1759
- this.locales = JSON.parse(wc_address_i18n_params.locale.replace(/&quot;/g, '"'));
1760
- } else {
1761
- this.locales = null;
1762
- }
1763
- };
1764
-
1765
- /**
1766
- * Triggered when the WC checkout.js updated_checkout event is fired.
1767
- */
1768
- wc_stripe.CheckoutFields.prototype.updated_checkout = function () {
1769
- this.syncCheckoutFieldsWithDOM();
1770
- }
1771
-
1772
- wc_stripe.CheckoutFields.prototype.syncCheckoutFieldsWithDOM = function () {
1773
- for (var k in this.params) {
1774
- if ($('#' + k).length) {
1775
- this.fields.set(k, $('#' + k).val());
1776
- }
1777
- }
1778
- }
1779
-
1780
- wc_stripe.CheckoutFields.prototype.onChange = function (e) {
1781
- try {
1782
- var name = e.currentTarget.name,
1783
- value = e.currentTarget.value;
1784
- this.fields.set(name, value);
1785
-
1786
- if (name === 'billing_country' || name === 'shipping_country') {
1787
- this.update_required_fields(value, name);
1788
- }
1789
- if (this.supportsSessionStorage()) {
1790
- sessionStorage.setItem('wc_stripe_checkout_fields', JSON.stringify(this.toJson()));
1791
- }
1792
- } catch (err) {
1793
- console.log(err);
1794
- }
1795
- };
1796
-
1797
- wc_stripe.CheckoutFields.prototype.update_required_fields = function (country, name) {
1798
- if (this.locales) {
1799
- var prefix = name.indexOf('billing_') > -1 ? 'billing_' : 'shipping_';
1800
- var locale = typeof this.locales[country] !== 'undefined' ? this.locales[country] : this.locales['default'];
1801
- var fields = $.extend(true, {}, this.locales['default'], locale);
1802
-
1803
- for (var k in fields) {
1804
- var k2 = prefix + k;
1805
-
1806
- if (this.params[k2]) {
1807
- this.params[k2] = $.extend(true, {}, this.params[k2], fields[k]);
1808
- }
1809
- }
1810
- }
1811
- };
1812
-
1813
- wc_stripe.CheckoutFields.prototype.on_ship_to_address_change = function (e) {
1814
- if ($(e.currentTarget).is(':checked')) {
1815
- this.update_required_fields($('#shipping_country').val(), 'shipping_country');
1816
- }
1817
- };
1818
-
1819
- wc_stripe.CheckoutFields.prototype.requestFieldInWallet = function (key) {
1820
- if ('checkout' === this.page) {
1821
- return this.required(key) && this.isEmpty(key);
1822
- } else if ('order_pay' === this.page) {
1823
- return false;
1824
- }
1825
-
1826
- return this.required(key);
1827
- };
1828
-
1829
- wc_stripe.CheckoutFields.prototype.set = function (k, v, prefix) {
1830
- if (this[k] && typeof this[k] === 'function') {
1831
- this[k]().set.call(this, v, prefix);
1832
- } else {
1833
- this.fields.set(k, v);
1834
- }
1835
- };
1836
-
1837
- wc_stripe.CheckoutFields.prototype.get = function (k, prefix) {
1838
- var value;
1839
- if (this[k] && typeof this[k] === 'function') {
1840
- value = this[k]().get.call(this, prefix);
1841
- } else {
1842
- value = this.fields.get(k);
1843
-
1844
- if (typeof value === 'undefined' || value === null || value === '') {
1845
- if (typeof prefix !== 'undefined') {
1846
- value = prefix;
1847
- }
1848
- }
1849
- }
1850
-
1851
- return typeof value === 'undefined' ? '' : value;
1852
- };
1853
-
1854
- wc_stripe.CheckoutFields.prototype.required = function (k) {
1855
- if (this.params[k]) {
1856
- if (typeof this.params[k].required !== 'undefined') {
1857
- return this.params[k].required;
1858
- }
1859
- }
1860
-
1861
- return false;
1862
- };
1863
-
1864
- wc_stripe.CheckoutFields.prototype.exists = function (k) {
1865
- return k in this.params;
1866
- }
1867
-
1868
- wc_stripe.CheckoutFields.prototype.isEmpty = function (k) {
1869
- if (this.fields.has(k)) {
1870
- var value = this.fields.get(k);
1871
- return typeof value === 'undefined' || value === null || typeof value === 'string' && value.trim().length === 0;
1872
- }
1873
-
1874
- return true;
1875
- };
1876
-
1877
- wc_stripe.CheckoutFields.prototype.isValid = function (k) {
1878
- if (this[k] && typeof this[k] === 'function') {
1879
- return this[k]().isValid.apply(this, Array.prototype.slice.call(arguments, 1));
1880
- }
1881
- }
1882
-
1883
- wc_stripe.CheckoutFields.prototype.first_name = function () {
1884
- return {
1885
- set: function (v, prefix) {
1886
- this.fields.set(prefix + '_first_name', v);
1887
- },
1888
- get: function (prefix) {
1889
- return this.fields.get(prefix + '_first_name');
1890
- },
1891
- isValid: function (v) {
1892
- return typeof v === 'string' && v.length > 0;
1893
- }
1894
- }
1895
- }
1896
-
1897
- wc_stripe.CheckoutFields.prototype.last_name = function () {
1898
- return {
1899
- set: function (v, prefix) {
1900
- this.fields.set(prefix + '_last_name', v);
1901
- },
1902
- get: function (prefix) {
1903
- return this.fields.get(prefix + '_last_name');
1904
- },
1905
- isValid: function (v) {
1906
- return typeof v === 'string' && v.length > 0;
1907
- }
1908
- }
1909
- }
1910
-
1911
- wc_stripe.CheckoutFields.prototype.address_1 = function () {
1912
- return {
1913
- set: function set(v, prefix) {
1914
- this.fields.set(prefix + '_address_1', v);
1915
- },
1916
- get: function get(prefix) {
1917
- return this.fields.get(prefix + '_address_1');
1918
- },
1919
- isValid: function (v) {
1920
- return typeof v === 'string' && v.length > 0;
1921
- }
1922
- };
1923
- };
1924
-
1925
- wc_stripe.CheckoutFields.prototype.address_2 = function () {
1926
- return {
1927
- set: function set(v, prefix) {
1928
- this.fields.set(prefix + '_address_2', v);
1929
- },
1930
- get: function get(prefix) {
1931
- return this.fields.get(prefix + '_address_2');
1932
- },
1933
- isValid: function (v) {
1934
- return typeof v === 'string' && v.length > 0;
1935
- }
1936
- };
1937
- };
1938
-
1939
- wc_stripe.CheckoutFields.prototype.name = function () {
1940
- return {
1941
- set: function set(v, prefix) {
1942
- this.fields.set(prefix + '_full_name', v);
1943
- var name = v.split(" ");
1944
- if (name.length > 1) {
1945
- var last_name = name.pop();
1946
- this.fields.set(prefix + '_first_name', name.join(' '));
1947
- this.fields.set(prefix + '_last_name', last_name);
1948
- } else if (name.length == 1) {
1949
- this.fields.set(prefix + '_first_name', name[0]);
1950
- }
1951
- },
1952
- get: function get(prefix) {
1953
- return this.fields.get(prefix + '_first_name') + ' ' + this.fields.get(prefix + '_last_name');
1954
- }
1955
- };
1956
- };
1957
-
1958
- wc_stripe.CheckoutFields.prototype.email = function () {
1959
- return {
1960
- set: function set(v, prefix) {
1961
- this.fields.set(prefix + '_email', v);
1962
- },
1963
- get: function get(prefix) {
1964
- return this.fields.get(prefix + '_email');
1965
- },
1966
- isValid: function (v) {
1967
- return typeof v === 'string' && v.length > 0;
1968
- }
1969
- };
1970
- };
1971
-
1972
- wc_stripe.CheckoutFields.prototype.phone = function () {
1973
- return {
1974
- set: function set(v, prefix) {
1975
- this.fields.set(prefix + '_phone', v);
1976
- },
1977
- get: function get(prefix) {
1978
- return this.fields.get(prefix + '_phone');
1979
- },
1980
- isValid: function (v) {
1981
- return typeof v === 'string' && v.length > 0;
1982
- }
1983
- };
1984
- };
1985
-
1986
- wc_stripe.CheckoutFields.prototype.country = function () {
1987
- return {
1988
- set: function set(v, prefix) {
1989
- this.fields.set(prefix + '_country', v);
1990
- },
1991
- get: function get(prefix) {
1992
- return this.fields.get(prefix + '_country');
1993
- },
1994
- isValid: function (v) {
1995
- return typeof v === 'string' && v.length === 2;
1996
- }
1997
- };
1998
- };
1999
-
2000
- wc_stripe.CheckoutFields.prototype.state = function () {
2001
- return {
2002
- set: function set(v, prefix) {
2003
- v = v.toUpperCase();
2004
- if (v.length > 2 && this.page === 'checkout') {
2005
- $('#' + prefix + '_state option').each(function () {
2006
- var $option = $(this);
2007
- var state = $option.text().toUpperCase();
2008
- if (v === state) {
2009
- v = $option.val();
2010
- }
2011
- });
2012
- }
2013
- this.fields.set(prefix + '_state', v);
2014
- },
2015
- get: function get(prefix) {
2016
- return this.fields.get(prefix + '_state');
2017
- },
2018
- isValid: function (v) {
2019
- return typeof v === 'string' && v.length > 0;
2020
- }
2021
- };
2022
- };
2023
-
2024
- wc_stripe.CheckoutFields.prototype.city = function () {
2025
- return {
2026
- set: function set(v, prefix) {
2027
- this.fields.set(prefix + '_city', v);
2028
- },
2029
- get: function get(prefix) {
2030
- return this.fields.get(prefix + '_city');
2031
- },
2032
- isValid: function (v) {
2033
- return typeof v === 'string' && v.length > 0;
2034
- }
2035
- };
2036
- };
2037
-
2038
- wc_stripe.CheckoutFields.prototype.postcode = function () {
2039
- return {
2040
- set: function set(v, prefix) {
2041
- this.fields.set(prefix + '_postcode', v);
2042
- },
2043
- get: function get(prefix) {
2044
- return this.fields.get(prefix + '_postcode');
2045
- },
2046
- isValid: function (v) {
2047
- return typeof v === 'string' && v.length > 0;
2048
- }
2049
- };
2050
- };
2051
-
2052
- wc_stripe.CheckoutFields.prototype.recipient = function () {
2053
- return wc_stripe.CheckoutFields.prototype.name.apply(this, arguments);
2054
- }
2055
-
2056
- wc_stripe.CheckoutFields.prototype.payerName = function () {
2057
- return wc_stripe.CheckoutFields.prototype.name.apply(this, arguments);
2058
- };
2059
-
2060
- wc_stripe.CheckoutFields.prototype.payerEmail = function () {
2061
- return wc_stripe.CheckoutFields.prototype.email.apply(this, arguments);
2062
- };
2063
-
2064
- wc_stripe.CheckoutFields.prototype.payerPhone = function () {
2065
- return wc_stripe.CheckoutFields.prototype.phone.apply(this, arguments);
2066
- };
2067
-
2068
- wc_stripe.CheckoutFields.prototype.phoneNumber = function () {
2069
- return wc_stripe.CheckoutFields.prototype.phone.apply(this, arguments);
2070
- };
2071
-
2072
- wc_stripe.CheckoutFields.prototype.countryCode = function () {
2073
- return wc_stripe.CheckoutFields.prototype.country.apply(this, arguments);
2074
- };
2075
-
2076
- wc_stripe.CheckoutFields.prototype.address1 = function () {
2077
- return wc_stripe.CheckoutFields.prototype.address_1.apply(this, arguments);
2078
- };
2079
-
2080
- wc_stripe.CheckoutFields.prototype.address2 = function () {
2081
- return wc_stripe.CheckoutFields.prototype.address_2.apply(this, arguments);
2082
- };
2083
-
2084
- wc_stripe.CheckoutFields.prototype.line1 = function () {
2085
- return wc_stripe.CheckoutFields.prototype.address_1.apply(this, arguments);
2086
- };
2087
-
2088
- wc_stripe.CheckoutFields.prototype.line2 = function () {
2089
- return wc_stripe.CheckoutFields.prototype.address_2.apply(this, arguments);
2090
- };
2091
-
2092
- wc_stripe.CheckoutFields.prototype.addressLine = function () {
2093
- return {
2094
- set: function set(v, prefix) {
2095
- if (v.length > 0) {
2096
- this.fields.set(prefix + '_address_1', v[0]);
2097
- }
2098
-
2099
- if (v.length > 1) {
2100
- this.fields.set(prefix + '_address_2', v[1]);
2101
- }
2102
- },
2103
- get: function get(prefix) {
2104
- return [this.fields.get(prefix + '_address_1'), this.fields.get(prefix + '_address_2')];
2105
- },
2106
- isValid: function (v) {
2107
- if (v.length > 0) {
2108
- return typeof v[0] === 'string' && v[0].length > 0;
2109
- }
2110
- return false;
2111
- }
2112
- };
2113
- };
2114
-
2115
- wc_stripe.CheckoutFields.prototype.region = function () {
2116
- return wc_stripe.CheckoutFields.prototype.state.apply(this, arguments);
2117
- };
2118
-
2119
- wc_stripe.CheckoutFields.prototype.administrativeArea = function () {
2120
- return wc_stripe.CheckoutFields.prototype.state.apply(this, arguments);
2121
- };
2122
-
2123
- wc_stripe.CheckoutFields.prototype.locality = function () {
2124
- return wc_stripe.CheckoutFields.prototype.city.apply(this, arguments);
2125
- };
2126
-
2127
- wc_stripe.CheckoutFields.prototype.postal_code = function () {
2128
- return wc_stripe.CheckoutFields.prototype.postcode.apply(this, arguments);
2129
- }
2130
-
2131
- wc_stripe.CheckoutFields.prototype.postalCode = function () {
2132
- return wc_stripe.CheckoutFields.prototype.postcode.apply(this, arguments);
2133
- };
2134
-
2135
- wc_stripe.CheckoutFields.prototype.toJson = function () {
2136
- var data = {};
2137
- this.fields.forEach(function (value, key) {
2138
- data[key] = value;
2139
- });
2140
- return data;
2141
- };
2142
-
2143
- wc_stripe.CheckoutFields.prototype.toFormFields = function (args) {
2144
- var changes = [];
2145
- this.fields.forEach(function (value, key) {
2146
- var name = '[name="' + key + '"]';
2147
-
2148
- if ($(name).length && value !== '') {
2149
- if ($(name).val() !== value && $(name).is('select')) {
2150
- changes.push(name);
2151
- }
2152
-
2153
- $(name).val(value);
2154
- }
2155
- });
2156
- if (changes.length > 0) {
2157
- $(changes.join(',')).trigger('change');
2158
- }
2159
- if (typeof args !== 'undefined') {
2160
- $(document.body).trigger('update_checkout', args);
2161
- }
2162
- };
2163
-
2164
- wc_stripe.CheckoutFields.prototype.validateFields = function (prefix) {
2165
- for (var k in this.params) {
2166
- var field = this.params[k];
2167
- if (k.indexOf(prefix) > -1 && field.required) {
2168
- if ($('#' + k).length && $('#' + k).is(':visible')) {
2169
- var val = $('#' + k).val();
2170
- if (typeof val === 'undefined' || val === null || val.length === 0) {
2171
- return false;
2172
- }
2173
- }
2174
- }
2175
- }
2176
- return true;
2177
- }
2178
-
2179
- try {
2180
- stripe = Stripe(wc_stripe_params_v3.api_key, wc_stripe_params_v3.stripeParams);
2181
- } catch (error) {
2182
- window.alert(error);
2183
- console.log(error);
2184
- return;
2185
- }
2186
-
2187
- var checkoutFields = new wc_stripe.CheckoutFields(wc_stripe_checkout_fields, wc_stripe_params_v3.page);
2188
- })(window, jQuery);
1
+ (function (window, $) {
2
+ window.wc_stripe = {};
3
+ var stripe = null;
4
+
5
+ if (typeof wc_stripe_checkout_fields === 'undefined') {
6
+ window.wc_stripe_checkout_fields = [];
7
+ }
8
+
9
+ wc_stripe.BaseGateway = function (params, container) {
10
+ this.params = params;
11
+ this.gateway_id = this.params.gateway_id;
12
+ this.container = typeof container === 'undefined' ? 'li.payment_method_'.concat(this.gateway_id) : container;
13
+
14
+ if (!$(this.container).length) {
15
+ this.container = '.payment_method_'.concat(this.gateway_id);
16
+ }
17
+
18
+ this.token_selector = this.params.token_selector;
19
+ this.saved_method_selector = this.params.saved_method_selector;
20
+ this.payment_token_received = false;
21
+ this.stripe = stripe;
22
+ this.fields = checkoutFields;
23
+ this.elements = this.create_stripe_elements();
24
+ this.initialize();
25
+ };
26
+
27
+ wc_stripe.BaseGateway.prototype.create_stripe_elements = function () {
28
+ return stripe.elements($.extend({}, {
29
+ locale: 'auto'
30
+ }, this.get_element_options()));
31
+ }
32
+
33
+ wc_stripe.BaseGateway.prototype.is_user_logged_in = function () {
34
+ return this.params.user_id > 0;
35
+ }
36
+
37
+ wc_stripe.BaseGateway.prototype.get_page = function () {
38
+ var page = wc_stripe_params_v3.page;
39
+ if ('cart' === page && $(document.body).is('.woocommerce-checkout')) {
40
+ page = 'checkout';
41
+ }
42
+ return page;
43
+ };
44
+
45
+ wc_stripe.BaseGateway.prototype.set_nonce = function (value) {
46
+ this.fields.set(this.gateway_id + '_token_key', value);
47
+ $(this.token_selector).val(value);
48
+ };
49
+
50
+ wc_stripe.BaseGateway.prototype.set_intent = function (value) {
51
+ this.fields.set(this.gateway_id + '_payment_intent_key', value);
52
+ $('#' + this.gateway_id + '_payment_intent_key').val(value);
53
+ };
54
+
55
+ wc_stripe.BaseGateway.prototype.get_element_options = function () {
56
+ return this.params.elementOptions;
57
+ };
58
+
59
+ wc_stripe.BaseGateway.prototype.initialize = function () {
60
+ };
61
+
62
+
63
+ wc_stripe.BaseGateway.prototype.create_button = function () {
64
+ };
65
+
66
+ wc_stripe.BaseGateway.prototype.is_gateway_selected = function () {
67
+ return $('[name="payment_method"]:checked').val() === this.gateway_id;
68
+ };
69
+
70
+ wc_stripe.BaseGateway.prototype.is_saved_method_selected = function () {
71
+ return this.is_gateway_selected() && $('[name="' + this.gateway_id + '_payment_type_key"]:checked').val() === 'saved';
72
+ };
73
+
74
+ wc_stripe.BaseGateway.prototype.has_checkout_error = function () {
75
+ return $('#wc_stripe_checkout_error').length > 0 && this.is_gateway_selected();
76
+ };
77
+
78
+ wc_stripe.BaseGateway.prototype.submit_error = function (error, skip_form) {
79
+ var message = this.get_error_message(error);
80
+
81
+ if (message.indexOf('</ul>') < 0) {
82
+ var classes = (function () {
83
+ var classes = 'woocommerce-NoticeGroup';
84
+ if (this.is_current_page('checkout')) {
85
+ classes += ' woocommerce-NoticeGroup-checkout';
86
+ }
87
+ return classes;
88
+ }.bind(this)());
89
+ message = '<div class="' + classes + '"><ul class="woocommerce-error"><li>' + message + '</li></ul></div>';
90
+ }
91
+ var custom_message = $(document.body).triggerHandler('wc_stripe_submit_error', [message, error, this]);
92
+ message = typeof custom_message === 'undefined' ? message : custom_message;
93
+ this.submit_message(message, skip_form);
94
+ };
95
+
96
+ wc_stripe.BaseGateway.prototype.submit_error_code = function (code) {
97
+ console.log(code);
98
+ };
99
+
100
+ wc_stripe.BaseGateway.prototype.get_error_message = function (message) {
101
+ if (typeof message == 'object') {
102
+ if (message.hasOwnProperty('message')) {
103
+ if (message.message.indexOf('server_side_confirmation_beta=v1') > -1) {
104
+ message.code = 'server_side_confirmation_beta';
105
+ } else if (message.message.indexOf('params.payment_method_data.billing_details.phone') > -1) {
106
+ message.code = 'phone_required';
107
+ }
108
+ }
109
+ if (message.code && wc_stripe_messages[message.code]) {
110
+ message = wc_stripe_messages[message.code];
111
+ } else {
112
+ message = message.message;
113
+ }
114
+ }
115
+
116
+ return message;
117
+ };
118
+
119
+ wc_stripe.BaseGateway.prototype.submit_message = function (message, skip_form) {
120
+ $('.woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message').remove();
121
+ var $container = $(this.message_container);
122
+
123
+ if (!$container.length || (!skip_form && $container.closest('form').length)) {
124
+ if (!$container.length) {
125
+ $container = $(this.container);
126
+ }
127
+ $container = $container.closest('form');
128
+ }
129
+
130
+ $container.prepend(message);
131
+ $container.removeClass('processing')
132
+ if ($().unblock) {
133
+ $container.unblock();
134
+ }
135
+ $container.find('.input-text, select, input:checkbox').trigger('blur');
136
+
137
+ if ($.scroll_to_notices) {
138
+ $.scroll_to_notices($container);
139
+ } else {
140
+ $('html, body').animate({
141
+ scrollTop: $container.offset().top - 100
142
+ }, 1000);
143
+ }
144
+ };
145
+
146
+ wc_stripe.BaseGateway.prototype.get_billing_details = function () {
147
+ var prefix = this.get_billing_prefix();
148
+ var details = {
149
+ name: this.get_customer_name(prefix),
150
+ address: {
151
+ city: this.fields.get(prefix + '_city', null),
152
+ country: this.fields.get(prefix + '_country', null),
153
+ line1: this.fields.get(prefix + '_address_1', null),
154
+ line2: this.fields.get(prefix + '_address_2', null),
155
+ postal_code: this.fields.get(prefix + '_postcode', null),
156
+ state: this.fields.get(prefix + '_state', null)
157
+ }
158
+ }
159
+ if (!details.name || details.name === ' ') {
160
+ delete details.name;
161
+ }
162
+ if (this.fields.get('billing_email') != '') {
163
+ details.email = this.fields.get('billing_email');
164
+ }
165
+ if (this.fields.get('billing_phone') != '') {
166
+ details.phone = this.fields.get('billing_phone');
167
+ }
168
+ return details;
169
+ }
170
+
171
+ wc_stripe.BaseGateway.prototype.get_first_name = function (prefix) {
172
+ return $('#' + prefix + '_first_name').val();
173
+ };
174
+
175
+ wc_stripe.BaseGateway.prototype.get_last_name = function (prefix) {
176
+ return $('#' + prefix + '_last_name').val();
177
+ };
178
+
179
+ wc_stripe.BaseGateway.prototype.get_shipping_prefix = function () {
180
+ if (this.needs_shipping() && $('[name="ship_to_different_address"]').length > 0 && $('[name="ship_to_different_address"]').is(':checked')) {
181
+ return 'shipping';
182
+ }
183
+ return 'billing';
184
+ }
185
+
186
+ /**
187
+ * Some 3rd party plugins give priority to the shipping address over the billing address
188
+ */
189
+ wc_stripe.BaseGateway.prototype.get_billing_prefix = function () {
190
+ var prefix = 'billing';
191
+ if ($('[name="billing_same_as_shipping"]').length && $('[name="billing_same_as_shipping"]').is(':checked')) {
192
+ prefix = 'shipping';
193
+ }
194
+ if ($('[name="bill_to_different_address"]').length) {
195
+ if ($('[name="bill_to_different_address"]').length > 1) {
196
+ if ($('[name="bill_to_different_address"]:checked').val() === 'same_as_shipping') {
197
+ prefix = 'shipping';
198
+ }
199
+ } else if (!$('[name="bill_to_different_address"]').is(':checked')) {
200
+ prefix = 'shipping';
201
+ }
202
+ }
203
+ var filtered_prefix = $(document.body).triggerHandler('wc_stripe_get_billing_prefix', [prefix]);
204
+ return typeof filtered_prefix === 'undefined' ? prefix : filtered_prefix;
205
+ }
206
+
207
+ wc_stripe.BaseGateway.prototype.should_save_method = function () {
208
+ return $('#' + this.gateway_id + '_save_source_key').is(':checked');
209
+ };
210
+
211
+ wc_stripe.BaseGateway.prototype.is_add_payment_method_page = function () {
212
+ return this.get_page() === 'add_payment_method' || $(document.body).hasClass('woocommerce-add-payment-method');
213
+ };
214
+
215
+ wc_stripe.BaseGateway.prototype.is_change_payment_method = function () {
216
+ return this.get_page() === 'change_payment_method';
217
+ };
218
+
219
+ wc_stripe.BaseGateway.prototype.get_selected_payment_method = function () {
220
+ return $(this.saved_method_selector).val();
221
+ };
222
+
223
+ wc_stripe.BaseGateway.prototype.needs_shipping = function () {
224
+ return this.get_gateway_data().needs_shipping;
225
+ };
226
+
227
+ wc_stripe.BaseGateway.prototype.get_currency = function () {
228
+ return this.get_gateway_data().currency;
229
+ };
230
+
231
+ wc_stripe.BaseGateway.prototype.get_gateway_data = function () {
232
+ var data = $(this.container).find(".woocommerce_".concat(this.gateway_id, "_gateway_data")).data('gateway');
233
+ if (typeof data === 'undefined' && this.is_current_page('checkout')) {
234
+ data = $('form.checkout').find(".woocommerce_".concat(this.gateway_id, "_gateway_data")).data('gateway');
235
+ if (typeof data === 'undefined') {
236
+ data = $('.woocommerce_' + this.gateway_id + '_gateway_data').data('gateway');
237
+ }
238
+ }
239
+ return data;
240
+ };
241
+
242
+ wc_stripe.BaseGateway.prototype.set_gateway_data = function (data) {
243
+ $(this.container).find(".woocommerce_".concat(this.gateway_id, "_gateway_data")).data('gateway', data);
244
+ };
245
+
246
+ wc_stripe.BaseGateway.prototype.has_gateway_data = function () {
247
+ var data = this.get_gateway_data();
248
+ return typeof data !== 'undefined';
249
+ }
250
+
251
+ wc_stripe.BaseGateway.prototype.get_customer_name = function (prefix) {
252
+ return this.fields.get(prefix + '_first_name') + ' ' + this.fields.get(prefix + '_last_name');
253
+ };
254
+
255
+ wc_stripe.BaseGateway.prototype.get_customer_email = function () {
256
+ return this.fields.get('billing_email');
257
+ };
258
+
259
+ wc_stripe.BaseGateway.prototype.get_address_field_hash = function (prefix) {
260
+ var params = ['_first_name', '_last_name', '_address_1', '_address_2', '_postcode', '_city', '_state', '_country'];
261
+ var hash = '';
262
+
263
+ for (var i = 0; i < params.length; i++) {
264
+ hash += this.fields.get(prefix + params[i]) + '_';
265
+ }
266
+
267
+ return hash;
268
+ };
269
+
270
+ wc_stripe.BaseGateway.prototype.block = function () {
271
+ if ($().block) {
272
+ $.blockUI({
273
+ message: null,
274
+ overlayCSS: {
275
+ background: '#fff',
276
+ opacity: 0.6
277
+ }
278
+ });
279
+ }
280
+ }
281
+
282
+ wc_stripe.BaseGateway.prototype.unblock = function () {
283
+ if ($().block) {
284
+ $.unblockUI();
285
+ }
286
+ };
287
+
288
+ wc_stripe.BaseGateway.prototype.get_form = function () {
289
+ return $(this.token_selector).closest('form');
290
+ };
291
+
292
+ wc_stripe.BaseGateway.prototype.get_total_price = function () {
293
+ return this.get_gateway_data().total;
294
+ };
295
+
296
+ wc_stripe.BaseGateway.prototype.get_total_price_cents = function () {
297
+ return this.get_gateway_data().total_cents;
298
+ };
299
+
300
+ wc_stripe.BaseGateway.prototype.set_total_price = function (total) {
301
+ var data = this.get_gateway_data();
302
+ data.total = total;
303
+ this.set_gateway_data(data);
304
+ };
305
+
306
+ wc_stripe.BaseGateway.prototype.set_total_price_cents = function (total) {
307
+ var data = this.get_gateway_data();
308
+ data.total_cents = total;
309
+ this.set_gateway_data(data);
310
+ };
311
+
312
+ wc_stripe.BaseGateway.prototype.set_payment_method = function (payment_method) {
313
+ $('[name="payment_method"][value="' + payment_method + '"]').prop("checked", true).trigger('click');
314
+ };
315
+
316
+ wc_stripe.BaseGateway.prototype.set_selected_shipping_methods = function (shipping_methods) {
317
+ this.fields.set('shipping_method', shipping_methods);
318
+
319
+ if (shipping_methods && $('[name^="shipping_method"]').length) {
320
+ for (var i in shipping_methods) {
321
+ var method = shipping_methods[i];
322
+ $('[name="shipping_method[' + i + ']"][value="' + method + '"]').prop("checked", true).trigger('change');
323
+ }
324
+ }
325
+ };
326
+
327
+ wc_stripe.BaseGateway.prototype.on_token_received = function (paymentMethod) {
328
+ this.payment_token_received = true;
329
+ this.set_nonce(paymentMethod.id);
330
+ this.process_checkout();
331
+ };
332
+
333
+ wc_stripe.BaseGateway.prototype.createPaymentRequest = function () {
334
+ try {
335
+ this.payment_request_options = this.get_payment_request_options();
336
+ this.paymentRequest = stripe.paymentRequest(this.payment_request_options);
337
+ if (this.payment_request_options.requestShipping) {
338
+ this.paymentRequest.on('shippingaddresschange', this.update_shipping_address.bind(this));
339
+ this.paymentRequest.on('shippingoptionchange', this.update_shipping_method.bind(this));
340
+ }
341
+
342
+ this.paymentRequest.on('paymentmethod', this.on_payment_method_received.bind(this));
343
+ } catch (err) {
344
+ this.submit_error(err.message);
345
+ return;
346
+ }
347
+ };
348
+
349
+ wc_stripe.BaseGateway.prototype.get_payment_request_options = function () {
350
+ var options = {
351
+ country: this.params.country_code,
352
+ currency: this.get_currency().toLowerCase(),
353
+ total: {
354
+ amount: this.get_total_price_cents(),
355
+ label: this.params.total_label,
356
+ pending: true
357
+ },
358
+ requestPayerName: (function () {
359
+ if (this.is_current_page('checkout')) {
360
+ // if billing address is already filled out, then don't request it in wallet
361
+ return !this.is_valid_address(this.get_address_object('billing'), 'billing', ['email', 'phone']);
362
+ }
363
+ return true;
364
+ }.bind(this)()),
365
+ requestPayerEmail: this.fields.requestFieldInWallet('billing_email'),
366
+ requestPayerPhone: this.fields.requestFieldInWallet('billing_phone'),
367
+ requestShipping: (function () {
368
+ if (this.needs_shipping()) {
369
+ var prefix = this.get_shipping_prefix();
370
+ if ((this.is_current_page('checkout') && !this.is_valid_address(this.get_address_object(prefix), prefix, ['email', 'phone'])) || !this.is_current_page('checkout')) {
371
+ return true;
372
+ }
373
+ }
374
+ return false;
375
+ }.bind(this))()
376
+ };
377
+ var displayItems = this.get_display_items(),
378
+ shippingOptions = this.get_shipping_options();
379
+
380
+ if (displayItems) {
381
+ options.displayItems = displayItems;
382
+ }
383
+
384
+ if (options.requestShipping && shippingOptions) {
385
+ options.shippingOptions = shippingOptions;
386
+ }
387
+
388
+ return options;
389
+ };
390
+
391
+ wc_stripe.BaseGateway.prototype.get_payment_request_update = function (data) {
392
+ var options = {
393
+ currency: this.get_currency().toLowerCase(),
394
+ total: {
395
+ amount: parseInt(this.get_total_price_cents()),
396
+ label: this.params.total_label,
397
+ pending: true
398
+ }
399
+ };
400
+ var displayItems = this.get_display_items(),
401
+ shippingOptions = this.get_shipping_options();
402
+
403
+ if (displayItems) {
404
+ options.displayItems = displayItems;
405
+ }
406
+
407
+ if (this.payment_request_options.requestShipping && shippingOptions) {
408
+ options.shippingOptions = shippingOptions;
409
+ }
410
+
411
+ if (data) {
412
+ options = $.extend(true, {}, options, data);
413
+ }
414
+
415
+ return options;
416
+ };
417
+
418
+ wc_stripe.BaseGateway.prototype.get_display_items = function () {
419
+ return this.get_gateway_data().items;
420
+ };
421
+
422
+ wc_stripe.BaseGateway.prototype.set_display_items = function (items) {
423
+ var data = this.get_gateway_data();
424
+ data.items = items;
425
+ this.set_gateway_data(data);
426
+ };
427
+
428
+ wc_stripe.BaseGateway.prototype.get_shipping_options = function () {
429
+ return this.get_gateway_data().shipping_options;
430
+ };
431
+
432
+ wc_stripe.BaseGateway.prototype.set_shipping_options = function (items) {
433
+ var data = this.get_gateway_data();
434
+ data.shipping_options = items;
435
+ this.set_gateway_data(data);
436
+ };
437
+
438
+ wc_stripe.BaseGateway.prototype.map_address = function (address) {
439
+ return {
440
+ city: address.city,
441
+ postcode: address.postalCode,
442
+ state: address.region,
443
+ country: address.country
444
+ };
445
+ };
446
+
447
+ wc_stripe.BaseGateway.prototype.on_payment_method_received = function (paymentResponse) {
448
+ try {
449
+ this.payment_response = paymentResponse;
450
+ this.populate_checkout_fields(paymentResponse);
451
+ paymentResponse.complete("success");
452
+ this.on_token_received(paymentResponse.paymentMethod);
453
+ } catch (err) {
454
+ window.alert(err);
455
+ }
456
+ };
457
+
458
+ wc_stripe.BaseGateway.prototype.populate_checkout_fields = function (data) {
459
+ this.set_nonce(data.paymentMethod.id);
460
+ this.update_addresses(data);
461
+ };
462
+
463
+ wc_stripe.BaseGateway.prototype.update_addresses = function (data) {
464
+ if (data.payerName) {
465
+ this.fields.set('name', data.payerName, 'billing');
466
+ }
467
+
468
+ if (data.payerEmail) {
469
+ this.fields.set('email', data.payerEmail, 'billing');
470
+ }
471
+
472
+ if (data.payerPhone) {
473
+ this.fields.set('phone', data.payerPhone, 'billing');
474
+ if (this.fields.exists('shipping_phone') && this.fields.isEmpty('shipping_phone')) {
475
+ this.fields.set('shipping_phone', data.payerPhone);
476
+ }
477
+ }
478
+
479
+ if (data.shippingAddress) {
480
+ this.populate_shipping_fields(data.shippingAddress);
481
+ }
482
+
483
+ if (data.paymentMethod.billing_details.address) {
484
+ this.populate_billing_fields(data.paymentMethod.billing_details.address);
485
+ }
486
+ };
487
+
488
+ wc_stripe.BaseGateway.prototype.populate_address_fields = function (address, prefix) {
489
+ for (var k in address) {
490
+ if (null !== address[k]) {
491
+ this.fields.set(k, address[k], prefix);
492
+ }
493
+ }
494
+ }
495
+
496
+ wc_stripe.BaseGateway.prototype.populate_billing_fields = function (address) {
497
+ this.populate_address_fields(address, 'billing');
498
+ }
499
+
500
+ wc_stripe.BaseGateway.prototype.populate_shipping_fields = function (address) {
501
+ this.populate_address_fields(address, 'shipping');
502
+ }
503
+
504
+ wc_stripe.BaseGateway.prototype.get_address_fields = function () {
505
+ return ['first_name', 'last_name', 'country', 'address_1', 'address_2', 'city', 'state', 'postcode', 'phone', 'email'];
506
+ }
507
+
508
+ wc_stripe.BaseGateway.prototype.get_address_object = function (prefix) {
509
+ var address = {};
510
+ this.get_address_fields().forEach(function (k) {
511
+ address[k] = this.fields.get(k, prefix);
512
+ }.bind(this));
513
+ return address;
514
+ }
515
+
516
+ wc_stripe.BaseGateway.prototype.is_current_page = function (page) {
517
+ if (Array.isArray(page)) {
518
+ return page.indexOf(this.get_page()) > -1;
519
+ }
520
+ return this.get_page() === page;
521
+ }
522
+
523
+ wc_stripe.BaseGateway.prototype.is_valid_address = function (address, prefix, exclude) {
524
+ if ($.isEmptyObject(address)) {
525
+ return false;
526
+ }
527
+
528
+ var mappings = this.get_address_fields();
529
+ if (typeof exclude !== 'undefined') {
530
+ exclude.forEach(function (k) {
531
+ if (mappings.indexOf(k) > -1) {
532
+ mappings.splice(mappings.indexOf(k), 1);
533
+ }
534
+ });
535
+ }
536
+ for (var i = 0; i < mappings.length; i++) {
537
+ var k = mappings[i];
538
+ var required = this.fields.required(prefix + '_' + k);
539
+ if (required) {
540
+ if (!address[k] || typeof address[k] === 'undefined' || !this.fields.isValid(k, address[k], address)) {
541
+ return false;
542
+ }
543
+ }
544
+ }
545
+ return true;
546
+ }
547
+
548
+ wc_stripe.BaseGateway.prototype.ajax_before_send = function (xhr) {
549
+ if (this.is_user_logged_in()) {
550
+ xhr.setRequestHeader('X-WP-Nonce', this.params.rest_nonce);
551
+ }
552
+ };
553
+
554
+ wc_stripe.BaseGateway.prototype.process_checkout = function () {
555
+ return new Promise(function () {
556
+ this.block();
557
+ $.ajax({
558
+ url: this.params.routes.checkout,
559
+ method: 'POST',
560
+ dataType: 'json',
561
+ data: $.extend({}, this.serialize_fields(), {
562
+ payment_method: this.gateway_id,
563
+ page_id: this.get_page(),
564
+ currency: this.get_currency(),
565
+ }),
566
+ beforeSend: this.ajax_before_send.bind(this)
567
+ }).done(function (result) {
568
+ if (result.reload) {
569
+ window.location.reload();
570
+ return;
571
+ }
572
+
573
+ if (result.result === 'success') {
574
+ window.location = result.redirect;
575
+ } else {
576
+ if (result.messages) {
577
+ this.submit_error(result.messages);
578
+ }
579
+
580
+ this.unblock();
581
+ }
582
+ }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
583
+ this.unblock();
584
+ this.submit_error(errorThrown);
585
+ }.bind(this));
586
+ }.bind(this));
587
+ };
588
+
589
+ wc_stripe.BaseGateway.prototype.process_payment = function (order_id, order_key) {
590
+ $.ajax({
591
+ method: 'POST',
592
+ url: this.params.routes.checkout_payment,
593
+ dataType: 'json',
594
+ data: $.extend({}, this.fields.toJson(), {order_id: order_id, order_key: order_key}),
595
+ beforeSend: this.ajax_before_send.bind(this)
596
+ }).done(function (result) {
597
+ if (result.result && result.result === 'success') {
598
+ window.location = result.redirect;
599
+ } else {
600
+ if (result.reload) {
601
+ return window.location.reload();
602
+ }
603
+ if (result.messages) {
604
+ this.payment_token_received = false;
605
+ this.submit_error(result.messages);
606
+ } else {
607
+ this.submit_error(wc_checkout_params.i18n_checkout_error);
608
+ }
609
+ }
610
+ }.bind(this)).fail(function () {
611
+
612
+ }.bind(this))
613
+ }
614
+
615
+ wc_stripe.BaseGateway.prototype.handle_next_action = function (obj) {
616
+ try {
617
+ this.stripe[this.handleActionMethod](obj.client_secret).then(function (result) {
618
+ if (result.error) {
619
+ this.unblock();
620
+ this.payment_token_received = false;
621
+ return this.submit_error(result.error);
622
+ }
623
+ if (this.is_current_page('order_pay')) {
624
+ this.get_form().trigger('submit');
625
+ } else {
626
+ this.process_payment(obj.order_id, obj.order_key);
627
+ }
628
+ }.bind(this)).catch(function (error) {
629
+ this.submit_error(error.message);
630
+ }.bind(this))
631
+ return false;
632
+ } catch (err) {
633
+
634
+ }
635
+ }
636
+
637
+ wc_stripe.BaseGateway.prototype.handle_payment_method_setup = function (obj) {
638
+ try {
639
+ this.stripe[this.setupActionMethod](obj.client_secret).then(function (result) {
640
+ if (result.error) {
641
+ this.payment_token_received = false;
642
+ return this.submit_error(result.error);
643
+ }
644
+ if (this.is_current_page('order_pay')) {
645
+ this.get_form().trigger('submit');
646
+ } else {
647
+ this.process_payment(obj.order_id, obj.order_key);
648
+ }
649
+ }.bind(this)).catch(function (error) {
650
+ this.submit_error(error.message);
651
+ }.bind(this))
652
+ return false;
653
+ } catch (err) {
654
+
655
+ }
656
+ }
657
+
658
+ wc_stripe.BaseGateway.prototype.hashchange = function (e) {
659
+ var match = window.location.hash.match(/response=(.*)/);
660
+ if (match) {
661
+ try {
662
+ var obj = JSON.parse(window.atob(decodeURIComponent(match[1])));
663
+ if (obj && obj.hasOwnProperty('client_secret') && obj.gateway_id === this.gateway_id) {
664
+ history.pushState({}, '', window.location.pathname);
665
+ if (obj.type === 'intent') {
666
+ this.handle_next_action(obj);
667
+ } else {
668
+ this.handle_payment_method_setup(obj);
669
+ }
670
+ }
671
+ } catch (err) {
672
+
673
+ }
674
+ }
675
+ return true;
676
+ }
677
+
678
+ /**
679
+ * [sync_payment_intent description]
680
+ * @param {[type]} order_id [description]
681
+ * @param {[type]} client_secret [description]
682
+ * @return {[type]} [description]
683
+ */
684
+ wc_stripe.BaseGateway.prototype.sync_payment_intent = function (order_id, client_secret) {
685
+ return new Promise(function (resolve, reject) {
686
+ // call intent api
687
+ $.ajax({
688
+ method: 'POST',
689
+ dataType: 'json',
690
+ url: this.params.routes.sync_intent,
691
+ data: {order_id: order_id, client_secret: client_secret},
692
+ beforeSend: this.ajax_before_send.bind(this)
693
+ }).done(function (response) {
694
+ if (response.code) {
695
+ reject(response);
696
+ } else {
697
+ resolve(response);
698
+ }
699
+ }).fail(function (xhr, textStatus, errorThrown) {
700
+ this.submit_error(errorThrown);
701
+ }.bind(this));
702
+ }.bind(this))
703
+ }
704
+
705
+ wc_stripe.BaseGateway.prototype.create_setup_intent = function () {
706
+ return new Promise(function (resolve, reject) {
707
+ $.ajax({
708
+ method: 'POST',
709
+ dataType: 'json',
710
+ data: {payment_method: this.gateway_id},
711
+ url: this.params.routes.setup_intent,
712
+ beforeSend: this.ajax_before_send.bind(this)
713
+ }).done(function (response) {
714
+ if (response.code) {
715
+ reject(response.message);
716
+ } else {
717
+ this.client_secret = response.intent.client_secret;
718
+ resolve(response);
719
+ }
720
+ }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
721
+ this.submit_error(errorThrown);
722
+ }.bind(this));
723
+ }.bind(this))
724
+ }
725
+
726
+ wc_stripe.BaseGateway.prototype.serialize_form = function ($form) {
727
+ var formData = $form.find('input').filter(function (i, e) {
728
+ if ($(e).is('[name^="add-to-cart"]')) {
729
+ return false;
730
+ }
731
+
732
+ return true;
733
+ }.bind(this)).serializeArray(),
734
+ data = {};
735
+
736
+ for (var i in formData) {
737
+ var obj = formData[i];
738
+ data[obj.name] = obj.value;
739
+ }
740
+
741
+ data.payment_method = this.gateway_id;
742
+ return data;
743
+ };
744
+
745
+ wc_stripe.BaseGateway.prototype.serialize_fields = function () {
746
+ return $.extend({}, this.fields.toJson(), $(document.body).triggerHandler('wc_stripe_process_checkout_data', [this, this.fields]));
747
+ };
748
+
749
+ wc_stripe.BaseGateway.prototype.map_shipping_methods = function (shippingData) {
750
+ var methods = {};
751
+
752
+ if (shippingData !== "default") {
753
+ var matches = shippingData.match(/^([\w+]):(.+)$/);
754
+
755
+ if (matches.length > 1) {
756
+ methods[matches[1]] = matches[2];
757
+ }
758
+ }
759
+
760
+ return methods;
761
+ };
762
+
763
+ wc_stripe.BaseGateway.prototype.maybe_set_ship_to_different = function () {
764
+ // if shipping and billing address are different,
765
+ // set the ship to different address option.
766
+ if ($('[name="ship_to_different_address"]').length) {
767
+ $('[name="ship_to_different_address"]').prop('checked', this.get_address_field_hash("billing") !== this.get_address_field_hash("shipping")).trigger('change');
768
+ }
769
+ };
770
+
771
+ wc_stripe.BaseGateway.prototype.update_shipping_address = function (ev) {
772
+ return new Promise(function (resolve, reject) {
773
+ $.ajax({
774
+ url: this.params.routes.shipping_address,
775
+ method: 'POST',
776
+ dataType: 'json',
777
+ data: {
778
+ address: this.map_address(ev.shippingAddress),
779
+ payment_method: this.gateway_id,
780
+ page_id: this.get_page(),
781
+ currency: this.get_currency()
782
+ },
783
+ beforeSend: this.ajax_before_send.bind(this)
784
+ }).done(function (response) {
785
+ if (response.code) {
786
+ ev.updateWith(response.data.newData);
787
+ reject(response.data);
788
+ } else {
789
+ ev.updateWith(response.data.newData);
790
+ this.fields.set('shipping_method', response.data.shipping_method);
791
+ resolve(response.data);
792
+ }
793
+ }.bind(this)).fail(function () {
794
+ }.bind(this));
795
+ }.bind(this));
796
+ };
797
+
798
+ wc_stripe.BaseGateway.prototype.update_shipping_method = function (ev) {
799
+ return new Promise(function (resolve, reject) {
800
+ $.ajax({
801
+ url: this.params.routes.shipping_method,
802
+ method: 'POST',
803
+ dataType: 'json',
804
+ data: {
805
+ shipping_method: ev.shippingOption.id,
806
+ payment_method: this.gateway_id,
807
+ currency: this.get_currency(),
808
+ page_id: this.get_page()
809
+ },
810
+ beforeSend: this.ajax_before_send.bind(this)
811
+ }).done(function (response) {
812
+ if (response.code) {
813
+ ev.updateWith(response.data.newData);
814
+ reject(response.data);
815
+ } else {
816
+ this.set_selected_shipping_methods(response.data.shipping_methods);
817
+ ev.updateWith(response.data.newData);
818
+ resolve(response.data);
819
+ }
820
+ }.bind(this)).fail(function (xhr, textStatus, errorThrown) {
821
+ this.submit_error(errorThrown);
822
+ }.bind(this));
823
+ }.bind(this));
824
+ };
825
+ /********** Checkout Gateway ********/
826
+
827
+ wc_stripe.CheckoutGateway = function () {
828
+ this.message_container = 'li.payment_method_' + this.gateway_id;
829
+ this.banner_container = 'li.banner_payment_method_' + this.gateway_id;
830
+ $(document.body).on('update_checkout', this.update_checkout.bind(this));
831
+ $(document.body).on('updated_checkout', this.updated_checkout.bind(this));
832
+ $(document.body).on('updated_checkout', this.container_styles.bind(this));
833
+ $(document.body).on('checkout_error', this.checkout_error.bind(this));
834
+ $(this.token_selector).closest('form').on('checkout_place_order_' + this.gateway_id, this.checkout_place_order.bind(this)); // events for showing gateway payment buttons
835
+
836
+ $(document.body).on('wc_stripe_new_method_' + this.gateway_id, this.on_show_new_methods.bind(this));
837
+ $(document.body).on('wc_stripe_saved_method_' + this.gateway_id, this.on_show_saved_methods.bind(this));
838
+ $(document.body).on('wc_stripe_payment_method_selected', this.on_payment_method_selected.bind(this));
839
+
840
+ if (this.banner_enabled()) {
841
+ if ($('.woocommerce-billing-fields').length) {
842
+ $('.wc-stripe-banner-checkout').css('max-width', $('.woocommerce-billing-fields').outerWidth(true));
843
+ }
844
+ }
845
+
846
+ this.container_styles();
847
+
848
+ this.hasOrderReviewParams();
849
+ };
850
+
851
+ wc_stripe.CheckoutGateway.prototype.container_styles = function () {
852
+ if (!this.params.description) {
853
+ $(this.container).addClass('wc-stripe-no-desc');
854
+ }
855
+ if (!$(this.container).find('.wc-stripe-saved-methods').length) {
856
+ $(this.container).find('.payment_box').addClass('wc-stripe-no-methods');
857
+ }
858
+ }
859
+
860
+ wc_stripe.CheckoutGateway.prototype.has