Plugin Directory

Changeset 3202084


Ignore:
Timestamp:
12/04/2024 06:22:33 AM (16 months ago)
Author:
abubacker
Message:

Tagging version 8.0.1 with Added a configuration to hide the Terms and Conditions, and introduced a configuration to sync with QuickBooks

Location:
valorpos
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • valorpos/tags/8.0.1/README.txt

    r3182913 r3202084  
    33Tags: payment, payment gateway, credit card, valor pay, valor paytech
    44Requires at least: 5.0
    5 Tested up to: 6.6
     5Tested up to: 6.7
    66Requires PHP: 7.0
    7 Stable tag: 8.0.0
     7Stable tag: 8.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4343
    4444== Changelog ==
     45= 8.0.1 =
     46* Added a configuration to hide the Terms and Conditions, and introduced a configuration to sync with QuickBooks.
     47
    4548= 8.0.0 =
    4649* Added support for the new checkout block and implemented functionality to update checkbox text of terms. Also made several major code changes.
  • valorpos/tags/8.0.1/includes/class-wc-valorpay-api.php

    r3182885 r3202084  
    467467                }
    468468            }
     469            // Add QB sync data.
     470            if ( 'yes' === $this->gateway->enable_qb_sync ) {
     471                $data['is_sync_qb']    = 1;
     472                $data['customer_name'] = sprintf( '%s %s', wc_clean( $billing_first_name ), wc_clean( $billing_last_name ) );
     473                // For QB sync invoice number required, if not set then set order id as invoice number.
     474                if ( ! isset( $data['invoicenumber'] ) || ! $data['invoicenumber'] ) {
     475                    $data['invoicenumber'] = $order->get_id();
     476                }
     477            }
    469478        } elseif ( 'refund' === $transaction_type ) {
    470479            $valorpay_order_meta = $order->get_meta( '_valorpay_transaction' );
  • valorpos/tags/8.0.1/includes/class-wc-valorpay-gateway-addons-blocks-support.php

    r3184450 r3202084  
    101101        }
    102102        return array(
    103             'title'             => $this->get_setting( 'title' ),
    104             'is_not_blocked'    => ! Wc_Valorpay_Gateway_Loader::is_payment_gateway_blocked(),
    105             'avs_type'          => $this->get_setting( 'avs_type' ),
    106             'supports'          => $this->get_supported_features(),
    107             'is_sandbox_mode'   => $this->get_setting( 'sandbox' ) === 'yes',
    108             'logo_url'          => WC_VALORPAY_URL . 'admin/images/valorpaytech.png',
    109             'card_types'        => $icons,
    110             'terms_label'       => $terms_label,
    111             'card_type_allowed' => $this->get_setting( 'card_type_allowed' ),
     103            'title'                      => $this->get_setting( 'title' ),
     104            'is_not_blocked'             => ! Wc_Valorpay_Gateway_Loader::is_payment_gateway_blocked(),
     105            'avs_type'                   => $this->get_setting( 'avs_type' ),
     106            'supports'                   => $this->get_supported_features(),
     107            'is_sandbox_mode'            => $this->get_setting( 'sandbox' ) === 'yes',
     108            'logo_url'                   => WC_VALORPAY_URL . 'admin/images/valorpaytech.png',
     109            'card_types'                 => $icons,
     110            'terms_label'                => $terms_label,
     111            'card_type_allowed'          => $this->get_setting( 'card_type_allowed' ),
     112            'is_terms_conditions_enable' => $this->get_setting( 'enable_terms_conditions' ) === 'yes',
    112113        );
    113114    }
  • valorpos/tags/8.0.1/includes/class-wc-valorpay-gateway.php

    r3182885 r3202084  
    160160     */
    161161    public $enable_l2_l3;
     162
     163    /**
     164     * Enable terms and conditions.
     165     *
     166     * @var string
     167     */
     168    public $enable_terms_conditions;
     169
     170    /**
     171     * Enable Quick Book Sync.
     172     *
     173     * @var string
     174     */
     175    public $enable_qb_sync;
    162176
    163177    /**
     
    210224        $this->enable_l2_l3                  = $this->get_option( 'enable_l2_l3' );
    211225        // $this->vault                         = $this->get_option( 'vault' );
    212         $this->vault = 'no';
     226        $this->vault                   = 'no';
     227        $this->enable_terms_conditions = $this->get_option( 'enable_terms_conditions' );
     228        $this->enable_qb_sync          = $this->get_option( 'enable_qb_sync' );
    213229
    214230        // Add test mode warning if sandbox.
     
    444460     */
    445461    public function valorpay_acknowledgement_form() {
     462        if ( 'yes' !== $this->enable_terms_conditions ) {
     463            return false;
     464        }
    446465        $terms_url = esc_url( 'https://valorpaytech.com/privacy-policy/' );
    447466        $label     = sprintf(
     
    652671            // 'description' => __( 'The Vault is a secure system for managing and safeguarding sensitive data, particularly payment card details. Please note that enabling this feature may impact the loading of existing saved cards.', 'wc-valorpay' ),
    653672            // ),
     673            'enable_terms_conditions'       => array(
     674                'title'       => __( 'Enable Terms and Conditions', 'wc-valorpay' ),
     675                'label'       => __( 'Enable Terms and Conditions', 'wc-valorpay' ),
     676                'type'        => 'checkbox',
     677                'description' => __( 'Enable Terms and Conditions on checkout page', 'wc-valorpay' ),
     678                'default'     => 'yes',
     679            ),
     680            'enable_qb_sync'                => array(
     681                'title'       => __( 'Enable QuickBooks Sync', 'wc-valorpay' ),
     682                'label'       => __( 'Enable QuickBooks Sync', 'wc-valorpay' ),
     683                'type'        => 'checkbox',
     684                'description' => __( 'Sync transactions with QuickBooks. Ensure QuickBooks details are added in ValorPay merchant portal <b>Settings > QuickBooks</b> before enabling.', 'wc-valorpay' ),
     685                'default'     => 'no',
     686            ),
    654687            'disable_payment_on_failed'     => array(
    655688                'title'       => __( 'Payment Failed Tracker', 'wc-valorpay' ),
  • valorpos/tags/8.0.1/languages/wc-valorpay.pot

    r3182885 r3202084  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Valor Pay 8.0.0\n"
     5"Project-Id-Version: Valor Pay 8.0.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/valorpos\n"
    77"Last-Translator: Valor Paytech LLC <isvsupport@valorpaytech.com>\n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"POT-Creation-Date: 2024-11-05T11:19:31+05:30\n"
    13 "PO-Revision-Date: 2024-11-05T11:19:31+05:30\n"
     13"PO-Revision-Date: 2024-12-04T06:04:56+00:00\n"
    1414"X-Generator: WP-CLI 2.7.1\n"
    1515"X-Domain: wc-valorpay\n"
    1616
    1717#. Plugin Name of the plugin
    18 #: includes/class-wc-valorpay-gateway.php:533
     18#: includes/class-wc-valorpay-gateway.php:552
    1919#: public/js/build/wc-valorpay.js:5114
    2020#: public/js/build/wc-valorpay.js:4565
     
    7272
    7373#: admin/partials/wc-valorpay-admin-failure-tracker.php:18
    74 #: includes/class-wc-valorpay-gateway.php:655
     74#: includes/class-wc-valorpay-gateway.php:688
    7575msgid "Payment Failed Tracker"
    7676msgstr ""
     
    140140#: includes/class-wc-valorpay-api.php:317
    141141#: includes/class-wc-valorpay-api.php:324
    142 #: includes/class-wc-valorpay-api.php:661
    143 #: includes/class-wc-valorpay-api.php:671
    144 #: includes/class-wc-valorpay-api.php:699
    145 #: includes/class-wc-valorpay-api.php:705
     142#: includes/class-wc-valorpay-api.php:670
     143#: includes/class-wc-valorpay-api.php:680
     144#: includes/class-wc-valorpay-api.php:708
     145#: includes/class-wc-valorpay-api.php:714
    146146msgid "Sorry, we're unable to create a card token right now."
    147147msgstr ""
     
    152152msgstr ""
    153153
    154 #: includes/class-wc-valorpay-api.php:595
    155 #: includes/class-wc-valorpay-api.php:600
    156 #: includes/class-wc-valorpay-api.php:608
    157 #: includes/class-wc-valorpay-api.php:612
    158 #: includes/class-wc-valorpay-api.php:855
     154#: includes/class-wc-valorpay-api.php:604
     155#: includes/class-wc-valorpay-api.php:609
     156#: includes/class-wc-valorpay-api.php:617
     157#: includes/class-wc-valorpay-api.php:621
     158#: includes/class-wc-valorpay-api.php:864
    159159msgid "There was a problem connecting to the payment gateway."
    160160msgstr ""
     
    162162#. translators: 1: Terms and Conditions URL.
    163163#: includes/class-wc-valorpay-gateway-addons-blocks-support.php:90
    164 #: includes/class-wc-valorpay-gateway.php:449
     164#: includes/class-wc-valorpay-gateway.php:468
    165165msgid "I agree to the <a href=\"%s\" target=\"_blank\">Terms and Conditions</a>"
    166166msgstr ""
     
    204204msgstr ""
    205205
    206 #: includes/class-wc-valorpay-gateway.php:171
     206#: includes/class-wc-valorpay-gateway.php:185
    207207msgid "ValorPay Plugin"
    208208msgstr ""
    209209
    210 #: includes/class-wc-valorpay-gateway.php:172
     210#: includes/class-wc-valorpay-gateway.php:186
    211211msgid "Take payments via Valorpay."
    212212msgstr ""
    213213
    214 #: includes/class-wc-valorpay-gateway.php:216
    215 #: public/js/build/wc-valorpay.js:5223
    216 #: public/js/build/wc-valorpay.js:4696
     214#: includes/class-wc-valorpay-gateway.php:232
     215#: public/js/build/wc-valorpay.js:5226
     216#: public/js/build/wc-valorpay.js:4699
    217217msgid "TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date."
    218218msgstr ""
    219219
    220 #: includes/class-wc-valorpay-gateway.php:240
     220#: includes/class-wc-valorpay-gateway.php:256
    221221msgid "Unsupported currency:"
    222222msgstr ""
    223223
    224 #: includes/class-wc-valorpay-gateway.php:243
     224#: includes/class-wc-valorpay-gateway.php:259
    225225msgid "Valor Pay accepts only USD."
    226226msgstr ""
    227227
    228228#. translators: %s: Settings URL.
    229 #: includes/class-wc-valorpay-gateway.php:255
     229#: includes/class-wc-valorpay-gateway.php:271
    230230msgid "Valor Pay error: The APP ID is required.  %s"
    231231msgstr ""
    232232
    233 #: includes/class-wc-valorpay-gateway.php:256
    234 #: includes/class-wc-valorpay-gateway.php:267
    235 #: includes/class-wc-valorpay-gateway.php:276
     233#: includes/class-wc-valorpay-gateway.php:272
     234#: includes/class-wc-valorpay-gateway.php:283
     235#: includes/class-wc-valorpay-gateway.php:292
    236236msgid "Click here to update your Valor Pay settings."
    237237msgstr ""
    238238
    239239#. translators: %s: Settings URL.
    240 #: includes/class-wc-valorpay-gateway.php:266
     240#: includes/class-wc-valorpay-gateway.php:282
    241241msgid "Valor Pay error: The APP KEY is required.  %s"
    242242msgstr ""
    243243
    244244#. translators: %s: Settings URL.
    245 #: includes/class-wc-valorpay-gateway.php:275
     245#: includes/class-wc-valorpay-gateway.php:291
    246246msgid "Valor Pay error: The EPI is required.  %s"
    247247msgstr ""
    248248
    249 #: includes/class-wc-valorpay-gateway.php:305
     249#: includes/class-wc-valorpay-gateway.php:321
    250250msgid "Only debit cards are allowed"
    251251msgstr ""
    252252
    253 #: includes/class-wc-valorpay-gateway.php:307
     253#: includes/class-wc-valorpay-gateway.php:323
    254254msgid "Only credit cards are allowed"
    255255msgstr ""
    256256
    257 #: includes/class-wc-valorpay-gateway.php:374
     257#: includes/class-wc-valorpay-gateway.php:390
    258258msgid "The payment gateway is disabled due to multiple failed transactions."
    259259msgstr ""
    260260
    261 #: includes/class-wc-valorpay-gateway.php:378
     261#: includes/class-wc-valorpay-gateway.php:394
    262262msgid "Only debit cards are allowed."
    263263msgstr ""
    264264
    265 #: includes/class-wc-valorpay-gateway.php:380
     265#: includes/class-wc-valorpay-gateway.php:396
    266266msgid "Only credit cards are allowed."
    267267msgstr ""
    268268
    269 #: includes/class-wc-valorpay-gateway.php:385
     269#: includes/class-wc-valorpay-gateway.php:401
    270270msgid "Zip Code is required."
    271271msgstr ""
    272272
    273 #: includes/class-wc-valorpay-gateway.php:388
     273#: includes/class-wc-valorpay-gateway.php:404
    274274msgid "Enter a valid Zip Code."
    275275msgstr ""
    276276
    277 #: includes/class-wc-valorpay-gateway.php:393
     277#: includes/class-wc-valorpay-gateway.php:409
    278278msgid "Street Address is required."
    279279msgstr ""
    280280
    281 #: includes/class-wc-valorpay-gateway.php:396
     281#: includes/class-wc-valorpay-gateway.php:412
    282282msgid "Enter a valid Street Address."
    283283msgstr ""
    284284
    285 #: includes/class-wc-valorpay-gateway.php:407
     285#: includes/class-wc-valorpay-gateway.php:423
    286286msgid "Card number is invalid"
    287287msgstr ""
    288288
    289 #: includes/class-wc-valorpay-gateway.php:411
     289#: includes/class-wc-valorpay-gateway.php:427
    290290msgid "Not a valid card"
    291291msgstr ""
    292292
    293 #: includes/class-wc-valorpay-gateway.php:414
     293#: includes/class-wc-valorpay-gateway.php:430
    294294msgid "Card number  expired"
    295295msgstr ""
    296296
    297 #: includes/class-wc-valorpay-gateway.php:417
     297#: includes/class-wc-valorpay-gateway.php:433
    298298msgid "Card security code is invalid (only digits are allowed)"
    299299msgstr ""
    300300
    301 #: includes/class-wc-valorpay-gateway.php:487
    302 #: includes/class-wc-valorpay-gateway.php:488
     301#: includes/class-wc-valorpay-gateway.php:506
     302#: includes/class-wc-valorpay-gateway.php:507
    303303msgid "Zip Code"
    304304msgstr ""
    305305
    306 #: includes/class-wc-valorpay-gateway.php:501
    307 #: includes/class-wc-valorpay-gateway.php:502
     306#: includes/class-wc-valorpay-gateway.php:520
     307#: includes/class-wc-valorpay-gateway.php:521
    308308msgid "Street Address"
    309309msgstr ""
    310310
    311 #: includes/class-wc-valorpay-gateway.php:523
     311#: includes/class-wc-valorpay-gateway.php:542
    312312msgid "Enable/Disable"
    313313msgstr ""
    314314
    315 #: includes/class-wc-valorpay-gateway.php:524
     315#: includes/class-wc-valorpay-gateway.php:543
    316316msgid "Enable Valor Pay"
    317317msgstr ""
    318318
    319 #: includes/class-wc-valorpay-gateway.php:530
     319#: includes/class-wc-valorpay-gateway.php:549
    320320msgid "Title"
    321321msgstr ""
    322322
    323 #: includes/class-wc-valorpay-gateway.php:532
     323#: includes/class-wc-valorpay-gateway.php:551
    324324msgid "This controls the title which the user sees during checkout."
    325325msgstr ""
    326326
    327 #: includes/class-wc-valorpay-gateway.php:537
     327#: includes/class-wc-valorpay-gateway.php:556
    328328msgid "Use Sandbox"
    329329msgstr ""
    330330
    331 #: includes/class-wc-valorpay-gateway.php:538
     331#: includes/class-wc-valorpay-gateway.php:557
    332332msgid "Enable sandbox mode - live payments will not be taken if enabled."
    333333msgstr ""
    334334
    335 #: includes/class-wc-valorpay-gateway.php:544
     335#: includes/class-wc-valorpay-gateway.php:563
    336336msgid "APP ID"
    337337msgstr ""
    338338
    339 #: includes/class-wc-valorpay-gateway.php:546
     339#: includes/class-wc-valorpay-gateway.php:565
    340340msgid "Please email isvsupport@valorpaytech.com to get to know about your APP ID, ( In demo mode APP ID is not needed )"
    341341msgstr ""
    342342
    343 #: includes/class-wc-valorpay-gateway.php:550
     343#: includes/class-wc-valorpay-gateway.php:569
    344344msgid "APP KEY"
    345345msgstr ""
    346346
    347 #: includes/class-wc-valorpay-gateway.php:552
     347#: includes/class-wc-valorpay-gateway.php:571
    348348msgid "Please email isvsupport@valorpaytech.com to get to know about your APP KEY, ( In demo mode APP KEY is not needed )"
    349349msgstr ""
    350350
    351 #: includes/class-wc-valorpay-gateway.php:556
     351#: includes/class-wc-valorpay-gateway.php:575
    352352msgid "EPI"
    353353msgstr ""
    354354
    355 #: includes/class-wc-valorpay-gateway.php:558
     355#: includes/class-wc-valorpay-gateway.php:577
    356356msgid "Please email isvsupport@valorpaytech.com to get to know about your EPI ID, ( In demo mode EPI ID is not needed )"
    357357msgstr ""
    358358
    359 #: includes/class-wc-valorpay-gateway.php:562
     359#: includes/class-wc-valorpay-gateway.php:581
    360360msgid "Allowed Card Type"
    361361msgstr ""
    362362
    363 #: includes/class-wc-valorpay-gateway.php:565
     363#: includes/class-wc-valorpay-gateway.php:584
    364364msgid "Select the allowed card type for transactions"
    365365msgstr ""
    366366
    367 #: includes/class-wc-valorpay-gateway.php:568
     367#: includes/class-wc-valorpay-gateway.php:587
    368368msgid "Both"
    369369msgstr ""
    370370
    371 #: includes/class-wc-valorpay-gateway.php:569
     371#: includes/class-wc-valorpay-gateway.php:588
    372372msgid "Credit"
    373373msgstr ""
    374374
    375 #: includes/class-wc-valorpay-gateway.php:570
     375#: includes/class-wc-valorpay-gateway.php:589
    376376msgid "Debit"
    377377msgstr ""
    378378
    379 #: includes/class-wc-valorpay-gateway.php:575
     379#: includes/class-wc-valorpay-gateway.php:594
    380380msgid "Payment Method"
    381381msgstr ""
    382382
    383 #: includes/class-wc-valorpay-gateway.php:585
     383#: includes/class-wc-valorpay-gateway.php:604
    384384msgid "Surcharge Mode"
    385385msgstr ""
    386386
    387 #: includes/class-wc-valorpay-gateway.php:586
    388 #: includes/class-wc-valorpay-gateway.php:593
     387#: includes/class-wc-valorpay-gateway.php:605
     388#: includes/class-wc-valorpay-gateway.php:612
    389389msgid "Enable Surcharge Mode"
    390390msgstr ""
    391391
    392 #: includes/class-wc-valorpay-gateway.php:588
     392#: includes/class-wc-valorpay-gateway.php:607
    393393msgid "Enable only if you want all transactions to be fall on surcharge mode, Merchant must have got an Surcharge MID inorder to work"
    394394msgstr ""
    395395
    396 #: includes/class-wc-valorpay-gateway.php:592
     396#: includes/class-wc-valorpay-gateway.php:611
    397397msgid "Surcharge Type"
    398398msgstr ""
    399399
    400 #: includes/class-wc-valorpay-gateway.php:602
    401 #: includes/class-wc-valorpay-gateway.php:603
     400#: includes/class-wc-valorpay-gateway.php:621
     401#: includes/class-wc-valorpay-gateway.php:622
    402402msgid "Surcharge Label"
    403403msgstr ""
    404404
    405 #: includes/class-wc-valorpay-gateway.php:608
     405#: includes/class-wc-valorpay-gateway.php:627
    406406msgid "Surcharge %"
    407407msgstr ""
    408408
    409 #: includes/class-wc-valorpay-gateway.php:612
     409#: includes/class-wc-valorpay-gateway.php:631
    410410msgid "Percentage will apply only on enabling on surcharge Indicator to true and Surcharge type is set fo Surcharge %"
    411411msgstr ""
    412412
    413 #: includes/class-wc-valorpay-gateway.php:615
     413#: includes/class-wc-valorpay-gateway.php:634
    414414msgid "Flat Rate $"
    415415msgstr ""
    416416
    417 #: includes/class-wc-valorpay-gateway.php:618
     417#: includes/class-wc-valorpay-gateway.php:637
    418418msgid "Flat rate  will apply only on if Enable surcharge mode is true and Surcharge type is set to Flat Rate $"
    419419msgstr ""
    420420
    421 #: includes/class-wc-valorpay-gateway.php:621
     421#: includes/class-wc-valorpay-gateway.php:640
    422422msgid "Surcharge For Debit"
    423423msgstr ""
    424424
    425 #: includes/class-wc-valorpay-gateway.php:622
     425#: includes/class-wc-valorpay-gateway.php:641
    426426msgid "Enable Surcharge For Debit"
    427427msgstr ""
    428428
    429 #: includes/class-wc-valorpay-gateway.php:624
     429#: includes/class-wc-valorpay-gateway.php:643
    430430msgid "Enable surcharge for debit"
    431431msgstr ""
    432432
    433 #: includes/class-wc-valorpay-gateway.php:628
     433#: includes/class-wc-valorpay-gateway.php:647
    434434msgid "AVS"
    435435msgstr ""
    436436
    437 #: includes/class-wc-valorpay-gateway.php:638
     437#: includes/class-wc-valorpay-gateway.php:657
    438438msgid "The address verification service will add a text field to the checkout page based on the above option."
    439439msgstr ""
    440440
    441 #: includes/class-wc-valorpay-gateway.php:641
    442 #: includes/class-wc-valorpay-gateway.php:642
     441#: includes/class-wc-valorpay-gateway.php:660
     442#: includes/class-wc-valorpay-gateway.php:661
    443443msgid "Enable L2 & L3 Processing"
    444444msgstr ""
    445445
    446 #: includes/class-wc-valorpay-gateway.php:644
     446#: includes/class-wc-valorpay-gateway.php:663
    447447msgid "Enable L2 & L3 processing for detailed data"
    448448msgstr ""
    449449
    450 #: includes/class-wc-valorpay-gateway.php:656
     450#: includes/class-wc-valorpay-gateway.php:674
     451#: includes/class-wc-valorpay-gateway.php:675
     452msgid "Enable Terms and Conditions"
     453msgstr ""
     454
     455#: includes/class-wc-valorpay-gateway.php:677
     456msgid "Enable Terms and Conditions on checkout page"
     457msgstr ""
     458
     459#: includes/class-wc-valorpay-gateway.php:681
     460#: includes/class-wc-valorpay-gateway.php:682
     461msgid "Enable QuickBooks Sync"
     462msgstr ""
     463
     464#: includes/class-wc-valorpay-gateway.php:684
     465msgid "Sync transactions with QuickBooks. Ensure QuickBooks details are added in ValorPay merchant portal <b>Settings > QuickBooks</b> before enabling."
     466msgstr ""
     467
     468#: includes/class-wc-valorpay-gateway.php:689
    451469msgid "Enable Protection"
    452470msgstr ""
    453471
    454472#. translators: 1: Tracker URL.
    455 #: includes/class-wc-valorpay-gateway.php:660
     473#: includes/class-wc-valorpay-gateway.php:693
    456474msgid "Disable the payment method in the checkout page for failed transactions. <a id=\"valorpay-goto-tracker\" href=\"%s\">Unblock IP</a>"
    457475msgstr ""
    458476
    459 #: includes/class-wc-valorpay-gateway.php:666
     477#: includes/class-wc-valorpay-gateway.php:699
    460478msgid "Declined Transaction Count"
    461479msgstr ""
    462480
    463 #: includes/class-wc-valorpay-gateway.php:667
     481#: includes/class-wc-valorpay-gateway.php:700
    464482msgid "Number of declined transaction count."
    465483msgstr ""
    466484
    467 #: includes/class-wc-valorpay-gateway.php:671
     485#: includes/class-wc-valorpay-gateway.php:704
    468486msgid "3"
    469487msgstr ""
    470488
    471 #: includes/class-wc-valorpay-gateway.php:672
     489#: includes/class-wc-valorpay-gateway.php:705
    472490msgid "5"
    473491msgstr ""
    474492
    475 #: includes/class-wc-valorpay-gateway.php:673
     493#: includes/class-wc-valorpay-gateway.php:706
    476494msgid "6"
    477495msgstr ""
    478496
    479 #: includes/class-wc-valorpay-gateway.php:677
     497#: includes/class-wc-valorpay-gateway.php:710
    480498msgid "Block Payment For"
    481499msgstr ""
    482500
    483 #: includes/class-wc-valorpay-gateway.php:678
     501#: includes/class-wc-valorpay-gateway.php:711
    484502msgid "Minutes to block payment gateway in checkout."
    485503msgstr ""
    486504
    487 #: includes/class-wc-valorpay-gateway.php:682
     505#: includes/class-wc-valorpay-gateway.php:715
    488506msgid "1 min"
    489507msgstr ""
    490508
    491 #: includes/class-wc-valorpay-gateway.php:683
     509#: includes/class-wc-valorpay-gateway.php:716
    492510msgid "5 min"
    493511msgstr ""
    494512
    495 #: includes/class-wc-valorpay-gateway.php:684
     513#: includes/class-wc-valorpay-gateway.php:717
    496514msgid "10 min"
    497515msgstr ""
    498516
    499 #: includes/class-wc-valorpay-gateway.php:685
     517#: includes/class-wc-valorpay-gateway.php:718
    500518msgid "1 hour"
    501519msgstr ""
    502520
    503 #: includes/class-wc-valorpay-gateway.php:686
     521#: includes/class-wc-valorpay-gateway.php:719
    504522msgid "3 hour"
    505523msgstr ""
    506524
    507 #: includes/class-wc-valorpay-gateway.php:687
     525#: includes/class-wc-valorpay-gateway.php:720
    508526msgid "5 hour"
    509527msgstr ""
    510528
    511 #: includes/class-wc-valorpay-gateway.php:688
     529#: includes/class-wc-valorpay-gateway.php:721
    512530msgid "10 hour"
    513531msgstr ""
    514532
    515 #: includes/class-wc-valorpay-gateway.php:689
     533#: includes/class-wc-valorpay-gateway.php:722
    516534msgid "1 day"
    517535msgstr ""
    518536
    519 #: includes/class-wc-valorpay-gateway.php:693
     537#: includes/class-wc-valorpay-gateway.php:726
    520538msgid "Accepted Cards"
    521539msgstr ""
    522540
    523 #: includes/class-wc-valorpay-gateway.php:697
     541#: includes/class-wc-valorpay-gateway.php:730
    524542msgid "Select the card types to accept."
    525543msgstr ""
    526544
    527545#. translators: 1: Maximum percentage.
    528 #: includes/class-wc-valorpay-gateway.php:722
     546#: includes/class-wc-valorpay-gateway.php:755
    529547msgid "Surcharge percentage cannot be more than %s"
    530548msgstr ""
    531549
    532550#. translators: 1: Maximum flat rate.
    533 #: includes/class-wc-valorpay-gateway.php:727
     551#: includes/class-wc-valorpay-gateway.php:760
    534552msgid "Surcharge flat rate cannot be more than %s"
    535553msgstr ""
    536554
    537 #: includes/class-wc-valorpay-gateway.php:773
     555#: includes/class-wc-valorpay-gateway.php:806
    538556msgid "Token ID is missing."
    539557msgstr ""
    540558
    541 #: includes/class-wc-valorpay-gateway.php:779
     559#: includes/class-wc-valorpay-gateway.php:812
    542560msgid "Invalid card information."
    543561msgstr ""
    544562
    545 #: includes/class-wc-valorpay-gateway.php:835
     563#: includes/class-wc-valorpay-gateway.php:868
    546564msgid "Valor Pay: Card token added to subscription."
    547565msgstr ""
    548566
    549567#. translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number.
    550 #: includes/class-wc-valorpay-gateway.php:852
     568#: includes/class-wc-valorpay-gateway.php:885
    551569msgid "Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s"
    552570msgstr ""
    553571
    554572#. translators: %s: API Error Message.
    555 #: includes/class-wc-valorpay-gateway.php:897
    556 #: includes/class-wc-valorpay-gateway.php:900
     573#: includes/class-wc-valorpay-gateway.php:930
     574#: includes/class-wc-valorpay-gateway.php:933
    557575msgid "Payment error: %s"
    558576msgstr ""
    559577
    560 #: includes/class-wc-valorpay-gateway.php:902
     578#: includes/class-wc-valorpay-gateway.php:935
    561579msgid "Unable to process the transaction using Valor Pay, please try again."
    562580msgstr ""
    563581
    564582#. translators: 1: Disable Time, 2: Unblock IP URL, 3: Customer IP.
    565 #: includes/class-wc-valorpay-gateway.php:994
     583#: includes/class-wc-valorpay-gateway.php:1027
    566584msgid "Valor Pay method is disabled for %1$s. <a target=\"_blank\" href=\"%2$s\">To Unblock IP</a> %3$s"
    567585msgstr ""
    568586
    569 #: includes/class-wc-valorpay-gateway.php:1057
     587#: includes/class-wc-valorpay-gateway.php:1090
    570588msgid "Refund failed."
    571589msgstr ""
    572590
    573591#. translators: 1: Amount, 2: Line Break, 3: Approval code, 4: Line Break, 5: RRN Code
    574 #: includes/class-wc-valorpay-gateway.php:1069
     592#: includes/class-wc-valorpay-gateway.php:1102
    575593msgid "Valor Pay Refund for %1$s.%2$s <strong>Approval Code:</strong> %3$s.%4$s <strong>RRN:</strong> %5$s"
    576594msgstr ""
    577595
    578 #: includes/class-wc-valorpay-gateway.php:1095
     596#: includes/class-wc-valorpay-gateway.php:1128
    579597msgid "Initial card can only be added from the checkout page."
    580598msgstr ""
    581599
    582600#. translators: %s: Error add payment profile from API.
    583 #: includes/class-wc-valorpay-gateway.php:1109
    584 #: includes/class-wc-valorpay-gateway.php:1184
     601#: includes/class-wc-valorpay-gateway.php:1142
     602#: includes/class-wc-valorpay-gateway.php:1217
    585603msgid "Error Vault Card Add: %s"
    586604msgstr ""
    587605
    588606#. translators: %s: Error add payment profile from API.
    589 #: includes/class-wc-valorpay-gateway.php:1167
     607#: includes/class-wc-valorpay-gateway.php:1200
    590608msgid "Error Vault Customer Add: %s"
    591609msgstr ""
    592610
    593611#. translators: %s: Vault ID.
    594 #: includes/class-wc-valorpay-gateway.php:1171
     612#: includes/class-wc-valorpay-gateway.php:1204
    595613msgid "Vault customer added to vault id: %s"
    596614msgstr ""
    597615
    598 #: includes/class-wc-valorpay-gateway.php:1186
     616#: includes/class-wc-valorpay-gateway.php:1219
    599617msgid "Card added to vault."
    600618msgstr ""
    601619
    602620#. translators: 1: Card Brand 2: Last 4 digits 3:
    603 #: includes/class-wc-valorpay-gateway.php:1238
     621#: includes/class-wc-valorpay-gateway.php:1271
    604622msgid "%1$s ending in %2$s"
    605623msgstr ""
     
    701719msgstr ""
    702720
    703 #: public/js/build/wc-valorpay.js:5199
    704 #: public/js/build/wc-valorpay.js:5325
    705 #: public/js/build/wc-valorpay.js:4660
    706 #: public/js/build/wc-valorpay.js:4813
     721#: public/js/build/wc-valorpay.js:5202
     722#: public/js/build/wc-valorpay.js:5331
     723#: public/js/build/wc-valorpay.js:4663
     724#: public/js/build/wc-valorpay.js:4819
    707725msgid "Please provide payment information"
    708726msgstr ""
    709727
    710 #: public/js/build/wc-valorpay.js:5227
    711 #: public/js/build/wc-valorpay.js:4705
     728#: public/js/build/wc-valorpay.js:5230
     729#: public/js/build/wc-valorpay.js:4708
    712730msgid "Fetching Card Type..."
    713731msgstr ""
  • valorpos/tags/8.0.1/public/js/build/wc-valorpay.asset.php

    r3182885 r3202084  
    1 <?php return array('dependencies' => array('react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-data', 'wp-html-entities', 'wp-i18n'), 'version' => '1c55ea9d9025c6fba3ad');
     1<?php return array('dependencies' => array('react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-data', 'wp-html-entities', 'wp-i18n'), 'version' => 'bca284e383054392e18a');
  • valorpos/tags/8.0.1/public/js/build/wc-valorpay.js

    r3182885 r3202084  
    51575157    paymentStatus
    51585158  } = props;
    5159   const [isTermsChecked, setTermsChecked] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true);
     5159  const [isTermsChecked, setIsTermsChecked] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true);
    51605160  const {
    51615161    onPaymentSetup,
    51625162    onCheckoutAfterProcessingWithError
    51635163  } = eventRegistration;
     5164  const handleCheckboxChange = () => {
     5165    setIsTermsChecked(prev => !prev);
     5166  };
    51645167  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    51655168    const unsubscribe = onPaymentSetup(async () => {
     
    52455248        })]
    52465249      })
    5247     }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.TermsCheckbox, {
     5250    }), settings.is_terms_conditions_enable && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.TermsCheckbox, {
    52485251      id: "valorpay-terms-new-card",
    52495252      checked: isTermsChecked,
    5250       onChange: setTermsChecked,
     5253      onChange: handleCheckboxChange,
    52515254      label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
    52525255        dangerouslySetInnerHTML: {
     
    52895292    onCheckoutAfterProcessingWithError
    52905293  } = eventRegistration;
    5291   const [isTermsChecked, setTermsChecked] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true);
     5294  const [isTermsChecked, setIsTermsChecked] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true);
     5295  const handleCheckboxChange = () => {
     5296    setIsTermsChecked(prev => !prev);
     5297  };
    52925298  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    52935299    const unsubscribe = onPaymentSetup(async () => {
     
    53565362        })]
    53575363      })
    5358     }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.TermsCheckbox, {
     5364    }), settings.is_terms_conditions_enable && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.TermsCheckbox, {
    53595365      id: "valorpay-terms-saved-token",
    53605366      checked: isTermsChecked,
    5361       onChange: setTermsChecked,
     5367      onChange: handleCheckboxChange,
    53625368      label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
    53635369        dangerouslySetInnerHTML: {
  • valorpos/tags/8.0.1/public/js/build/wc-valorpay.js.map

    r3182885 r3202084  
    1 {"version":3,"file":"wc-valorpay.js","mappings":";;;;;;;;;;;;;;;AAAuC;;AAEvC,igIAAigI;;AAEjgI,iCAAiC,4DAAO;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkC;;;;;;;;;;;;;;;;ACdlC;AACA;AACA;AACA;AACA;AACA;AACA;;AAE8B;;;;;;;;;;;;;;;;ACR9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEmC;;;;;;;;;;;;;;;;;AClDS;AAE7B,SAASC,sBAAsBA,CAAEC,KAAK,EAAG;EACvD,MAAMC,aAAa,GAAGH,wDAAgB,CAAEE,KAAM,CAAC;EAC/C,OAAOA,KAAK,CAACE,QAAQ,CAAED,aAAc,CAAC;AACvC;;;;;;;;;;;;;;;;;;;ACL0B;AACsB;;AAEhD;AAAA;AACA,MAAMS,YAAY,GAAGN,yDAAM,CAACO,GAAG,CAACC,UAAU,CAAE;EAC3CC,iBAAiB,EAAIC,IAAI,IACxB,CAAE,CAAE,YAAY,EAAE,QAAQ,CAAE,CAACC,QAAQ,CAAED,IAAK;AAC9C,CAAE,CAAC;AACH;AACA;AACA;AACA;AACA,IAAOd,KAAK,IACTA,KAAK,CAACgB,UAAU,IAAIhB,KAAK,CAACiB,MAAM,CAACC,YAAY,GAC1ClB,KAAK,CAACiB,MAAM,CAACC,YAAY,CAACC,OAAO,GACjCC,SAAS;AACf;AACA;AACA,GAAMpB,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACC,YAAY,GACtBlB,KAAK,CAACiB,MAAM,CAACC,YAAY,CAACG,IAAI,GAC9BD,SAAS;AACd,CAAC;AAED,MAAME,YAAY,GAAGlB,yDAAM,CAACO,GAAG,CAACC,UAAU,CAAE;EAC3CC,iBAAiB,EAAIC,IAAI,IACxB,CAAE,CAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,CAAE,CAACC,QAAQ,CAAED,IAAK;AACzD,CAAE,CAAC;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAOd,KAAK,IACTA,KAAK,CAACgB,UAAU,IAChBX,sDAAG;AACN;AACA;AACA,MAASL,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACM,YAAY,IACzBvB,KAAK,CAACiB,MAAM,CAACM,YAAY,CAACJ,OAAO;AACtC,IAAI;AACJ;AACA;AACA;AACA,IAAOnB,KAAK,IACTA,KAAK,CAACwB,OAAO,IACbnB,sDAAG;AACN;AACA;AACA,MAASL,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACM,YAAY,IACzBvB,KAAK,CAACiB,MAAM,CAACM,YAAY,CAACC,OAAO;AACtC,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAQxB,KAAK,IACTA,KAAK,CAACgB,UAAU,IAAIhB,KAAK,CAACiB,MAAM,CAACQ,KAAK,GACnCzB,KAAK,CAACiB,MAAM,CAACQ,KAAK,CAACN,OAAO,GAC1BC,SAAS;AAChB;AACA;AACA,IAAOpB,KAAK,IAAMA,KAAK,CAACiB,MAAM,CAACQ,KAAK,IAAIzB,KAAK,CAACiB,MAAM,CAACQ,KAAK,CAACJ,IAAI;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAQrB,KAAK,IAAMA,KAAK,CAACiB,MAAM,CAACS,SAAS;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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AAa,CAAC8N,QAAQ,IAAIjC,SAAS;EAC3C;EACA,IAAK/E,GAAG,CAACf,MAAM,IAAI,CAAC,EAAG;IACtB,OAAO/F,aAAa,CAAC+N,cAAc,IAAI7B,WAAW;EACnD;EACA;AACD,CAAC;AAEM,MAAMxE,eAAe,GAAGA,CAAEsG,OAAO,EAAE;EAAEhO,aAAa,GAAG,CAAC;AAAE,CAAC,GAAG,CAAC,CAAC,KAAM;EAC1E,IAAK,CAAEgO,OAAO,EAAG;IAChB,OAAOhO,aAAa,CAACiO,YAAY,IAAInC,aAAa;EACnD;EACA;AACD,CAAC;;;;;;;;;;;AC/ID;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,oBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gDAAgD,gDAAgD,MAAM,aAAa;;AAEnH;AACA,iDAAiD,kCAAkC,OAAO;;AAE1F,yGAAyG,cAAc,UAAU,gGAAgG,kBAAkB,UAAU,UAAU;;AAEvQ;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAsC;AACtC;;AAEA;;AAEA,gBAAgB;AAChB,WAAW;AACX,Y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A;AACA;;AAEA;AACO;AACP,gDAAgD,QAAQ;AACxD,uCAAuC,QAAQ;AAC/C,uDAAuD,QAAQ;AAC/D;AACA;AACA;;AAEO;AACP,2EAA2E,OAAO;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;;AAEO;AACP;AACA;AACA,eAAe,uFAAuF,cAAc;AACpH,qBAAqB,gCAAgC,qCAAqC,2CAA2C;AACrI,0BAA0B,MAAM,iBAAiB,YAAY;AAC7D,qBAAqB;AACrB,4BAA4B;AAC5B,2BAA2B;AAC3B,0BAA0B;AAC1B;;AAEO;AACP;AACA,eAAe,6CAA6C,UAAU,sDAAsD,cAAc;AAC1I,wBAAwB,6BAA6B,oBAAoB,uCAAuC,kBAAkB;AAClI;;AAEO;AACP;AACA;AACA,yGAAyG,uFAAuF,cAAc;AAC9M,qBAAqB,8BAA8B,gDAAgD,wDAAwD;AAC3J,2CAA2C,sCAAsC,UAAU,mBAAmB,IAAI;AAClH;;AAEO;AACP,+BAA+B,uCAAuC,YAAY,KAAK,OAAO;AAC9F;AACA;;AAEA;AACA,wCAAwC,4BAA4B;AACpE,CAAC;AACD;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,2CAA2C;AAC3C;;AAEO;AACP;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAA8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,SAAS,gBAAgB;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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Y;AACZ;AACO;AACP;AACA;;AAEA;AACA,YAAY;AACZ;AACO;AACP,4BAA4B,mDAAM;;AAElC;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACO;AACP,iCAAiC,mDAAM;;AAEvC;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACO;AACP,QAAQ,mDAAM;AACd;;AAEA;AACA,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP,QAAQ,mDAAM;AACd;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP,oCAAoC,mDAAM;AAC1C;;AAEA;AACA,WAAW,KAAK;AAChB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP,QAAQ,iDAAI;AACZ;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;AACA,WAAW,mDAAM;AACjB;AACA,WAAW,oDAAM;AACjB;AACA,YAAY,oDAAM,CAAC,iDAAI;AACvB;;AAEA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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B;MAC5B/R,KAAK,eACJ/B,uDAAA;QACCwV,uBAAuB,EAAG;UACzBC,MAAM,EAAE9D,QAAQ,CAAC+D;QAClB;MAAG,CACH;IACD,CACD,CAAC;EAAA,CACD,CAAC;AAEL,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,MAAMG,KAAK,GAAKpW,KAAK,IAAM;EAC1B,MAAM;IAAEqW,kBAAkB;IAAEC;EAAmB,CAAC,GAAGtW,KAAK,CAAC+T,UAAU;EACnE,oBACCtT,wDAAA,CAAAwR,wDAAA;IAAA/R,QAAA,gBACCK,uDAAA,CAAC8V,kBAAkB;MAACE,IAAI,EAAGjU;IAAO,CAAE,CAAC,eACrC/B,uDAAA,CAAC+V,kBAAkB;MAACE,KAAK,EAAGtE,QAAQ,CAACuE,UAAY;MAACC,KAAK,EAAC;IAAO,CAAE,CAAC;EAAA,CACjE,CAAC;AAEL,CAAC;;AAED;AACA;AACA;AACA,MAAMC,QAAQ,GAAG;EAChBtO,IAAI,EAAE,aAAa;EACnB/F,KAAK,eAAE/B,uDAAA,CAAC6V,KAAK,IAAE,CAAC;EAChBQ,SAAS,EAAE,aAAa;EACxBC,OAAO,eAAEtW,uDAAA,CAACmT,OAAO,IAAE,CAAC;EACpBoD,IAAI,eAAEvW,uDAAA,CAACmT,OAAO,IAAE,CAAC;EACjBqD,cAAc,EAAEA,CAAA,KAAM7E,QAAQ,CAACC,cAAc;EAC7C6E,mBAAmB,eAAEzW,uDAAA,CAAC2V,UAAU,IAAE,CAAC;EACnCe,SAAS,EAAE3U,KAAK;EAChB4U,QAAQ,EAAE;IACTC,QAAQ,EAAEjF,QAAQ,CAACgF,QAAQ;IAC3BE,cAAc,EAAE;EACjB;AACD,CAAC;AAED3F,mFAAqB,CAAEkF,QAAS,CAAC,C","sources":["webpack://wc-valorpay/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack://wc-valorpay/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://wc-valorpay/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://wc-valorpay/./blocks/components/PaymentInputsContainer.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsWrapper.jsx","webpack://wc-valorpay/./blocks/components/TermsCheckbox.jsx","webpack://wc-valorpay/./blocks/components/index.js","webpack://wc-valorpay/./blocks/hooks/usePaymentInputs.jsx","webpack://wc-valorpay/./blocks/images/amex.jsx","webpack://wc-valorpay/./blocks/images/dinersclub.jsx","webpack://wc-valorpay/./blocks/images/discover.jsx","webpack://wc-valorpay/./blocks/images/hipercard.jsx","webpack://wc-valorpay/./blocks/images/index.jsx","webpack://wc-valorpay/./blocks/images/jcb.jsx","webpack://wc-valorpay/./blocks/images/mastercard.jsx","webpack://wc-valorpay/./blocks/images/placeholder.jsx","webpack://wc-valorpay/./blocks/images/troy.jsx","webpack://wc-valorpay/./blocks/images/unionpay.jsx","webpack://wc-valorpay/./blocks/images/visa.jsx","webpack://wc-valorpay/./blocks/utils/cardTypes.js","webpack://wc-valorpay/./blocks/utils/formatter.js","webpack://wc-valorpay/./blocks/utils/index.js","webpack://wc-valorpay/./blocks/utils/validator.js","webpack://wc-valorpay/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://wc-valorpay/./node_modules/react/jsx-runtime.js","webpack://wc-valorpay/./node_modules/shallowequal/index.js","webpack://wc-valorpay/./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack://wc-valorpay/external window \"React\"","webpack://wc-valorpay/external window [\"wc\",\"blocksCheckout\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksData\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksRegistry\"]","webpack://wc-valorpay/external window [\"wc\",\"wcSettings\"]","webpack://wc-valorpay/external window [\"wp\",\"data\"]","webpack://wc-valorpay/external window [\"wp\",\"htmlEntities\"]","webpack://wc-valorpay/external window [\"wp\",\"i18n\"]","webpack://wc-valorpay/./node_modules/styled-components/node_modules/tslib/tslib.es6.mjs","webpack://wc-valorpay/./node_modules/stylis/src/Enum.js","webpack://wc-valorpay/./node_modules/stylis/src/Middleware.js","webpack://wc-valorpay/./node_modules/stylis/src/Parser.js","webpack://wc-valorpay/./node_modules/stylis/src/Prefixer.js","webpack://wc-valorpay/./node_modules/stylis/src/Serializer.js","webpack://wc-valorpay/./node_modules/stylis/src/Tokenizer.js","webpack://wc-valorpay/./node_modules/stylis/src/Utility.js","webpack://wc-valorpay/webpack/bootstrap","webpack://wc-valorpay/webpack/runtime/compat get default export","webpack://wc-valorpay/webpack/runtime/define property getters","webpack://wc-valorpay/webpack/runtime/hasOwnProperty shorthand","webpack://wc-valorpay/webpack/runtime/make namespace object","webpack://wc-valorpay/webpack/runtime/nonce","webpack://wc-valorpay/./blocks/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n  /* o */\n  && prop.charCodeAt(1) === 110\n  /* n */\n  && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n  var cache = Object.create(null);\n  return function (arg) {\n    if (cache[arg] === undefined) cache[arg] = fn(arg);\n    return cache[arg];\n  };\n}\n\nexport { memoize as default };\n","var unitlessKeys = {\n  animationIterationCount: 1,\n  aspectRatio: 1,\n  borderImageOutset: 1,\n  borderImageSlice: 1,\n  borderImageWidth: 1,\n  boxFlex: 1,\n  boxFlexGroup: 1,\n  boxOrdinalGroup: 1,\n  columnCount: 1,\n  columns: 1,\n  flex: 1,\n  flexGrow: 1,\n  flexPositive: 1,\n  flexShrink: 1,\n  flexNegative: 1,\n  flexOrder: 1,\n  gridRow: 1,\n  gridRowEnd: 1,\n  gridRowSpan: 1,\n  gridRowStart: 1,\n  gridColumn: 1,\n  gridColumnEnd: 1,\n  gridColumnSpan: 1,\n  gridColumnStart: 1,\n  msGridRow: 1,\n  msGridRowSpan: 1,\n  msGridColumn: 1,\n  msGridColumnSpan: 1,\n  fontWeight: 1,\n  lineHeight: 1,\n  opacity: 1,\n  order: 1,\n  orphans: 1,\n  tabSize: 1,\n  widows: 1,\n  zIndex: 1,\n  zoom: 1,\n  WebkitLineClamp: 1,\n  // SVG-related properties\n  fillOpacity: 1,\n  floodOpacity: 1,\n  stopOpacity: 1,\n  strokeDasharray: 1,\n  strokeDashoffset: 1,\n  strokeMiterlimit: 1,\n  strokeOpacity: 1,\n  strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import { usePaymentInputs } from '../hooks';\n\nexport default function PaymentInputsContainer( props ) {\n\tconst paymentInputs = usePaymentInputs( props );\n\treturn props.children( paymentInputs );\n}\n","import React from 'react';\nimport styled, { css } from 'styled-components';\n\n// Preventing hasErrored and other internal props from being passed to DOM\nconst FieldWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'styles' ].includes( prop ),\n} )`\n\tdisplay: inline-flex;\n\tflex-direction: column;\n\twidth: 100%;\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored && props.styles.fieldWrapper\n\t\t\t\t? props.styles.fieldWrapper.errored\n\t\t\t\t: undefined };\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.fieldWrapper\n\t\t\t? props.styles.fieldWrapper.base\n\t\t\t: undefined };\n`;\n\nconst InputWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\talign-items: center;\n\tbackground-color: white;\n\tborder: 1px solid #bdbdbd;\n\tbox-shadow: inset 0px 1px 2px #e5e5e5;\n\tborder-radius: 0.2em;\n\tdisplay: flex;\n\theight: 2.5em;\n\tpadding: 0.4em 0.6em;\n\twidth: 100%; /* Ensure the wrapper takes the full width */\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored &&\n\t\t\tcss`\n\t\t\t\tborder-color: #c9444d;\n\t\t\t\tbox-shadow: #c9444d 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.errored };\n\t\t\t` };\n\t}\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.focused &&\n\t\t\tcss`\n\t\t\t\tborder-color: #444bc9;\n\t\t\t\tbox-shadow: #444bc9 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.focused };\n\t\t\t` };\n\t}\n\n\t& input {\n\t\tborder: unset;\n\t\tmargin: unset;\n\t\tpadding: unset;\n\t\toutline: unset;\n\t\tfont-size: inherit;\n\t\twidth: 100%; /* Take full width by default */\n\t\tmin-width: 11em; /* Default minimum width */\n\t\tflex-grow: 1; /* Allow input to grow */\n\n\t\t& {\n\t\t\t${ ( props ) =>\n\t\t\t\tprops.hasErrored && props.styles.input\n\t\t\t\t\t? props.styles.input.errored\n\t\t\t\t\t: undefined };\n\t\t}\n\n\t\t${ ( props ) => props.styles.input && props.styles.input.base };\n\n\t\t&:focus {\n\t\t\twidth: 15em; /* Increase width on focus */\n\t\t\ttransition: width 0.3s ease;\n\t\t}\n\t}\n\n\t& svg {\n\t\tmargin-right: 0.6em;\n\t\t& {\n\t\t\t${ ( props ) => props.styles.cardImage };\n\t\t}\n\t}\n\n\t& input#cardNumber {\n\t\twidth: 10em;\n\t\tmin-width: 10em;\n\n\t\t&:focus {\n\t\t\twidth: 13em;\n\t\t}\n\t}\n\n\t& input#expiryDate {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\n\t& input#cvc {\n\t\twidth: 2.5em;\n\t\tmin-width: 2.5em;\n\n\t\t&:focus {\n\t\t\twidth: 3.5em;\n\t\t}\n\t}\n\n\t& input#zip {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\t& input#streetaddress {\n\t\twidth: 8em;\n\t\tmin-width: 8em;\n\n\t\t&:focus {\n\t\t\twidth: 9em;\n\t\t}\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.inputWrapper\n\t\t\t? props.styles.inputWrapper.base\n\t\t\t: undefined };\n`;\n\nconst ErrorText = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\tcolor: #c9444d;\n\tfont-size: 0.75rem;\n\tmargin-top: 0.25rem;\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.styles.errorText ? props.styles.errorText.base : undefined };\n\t}\n`;\n\nfunction PaymentInputsWrapper( {\n\tchildren,\n\terror,\n\terrorTextProps,\n\tfocused,\n\tinputWrapperProps,\n\tisTouched,\n\tstyles = {}, // Set default value for styles here\n\tisInitPay,\n\t...restProps\n} ) {\n\tconst hasErrored = error && ( isTouched || ( ! focused && isInitPay ) );\n\n\treturn (\n\t\t<FieldWrapper\n\t\t\thasErrored={ hasErrored }\n\t\t\tstyles={ styles }\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t<InputWrapper\n\t\t\t\tfocused={ focused }\n\t\t\t\thasErrored={ hasErrored }\n\t\t\t\tstyles={ styles }\n\t\t\t\t{ ...inputWrapperProps }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</InputWrapper>\n\t\t\t{ hasErrored && (\n\t\t\t\t<ErrorText styles={ styles } { ...errorTextProps }>\n\t\t\t\t\t{ error }\n\t\t\t\t</ErrorText>\n\t\t\t) }\n\t\t</FieldWrapper>\n\t);\n}\n\nexport default PaymentInputsWrapper;\n","export default function TermsCheckbox( { id, label, checked, onChange } ) {\n    return (\n\t\t<div className=\"wc-block-components-checkbox\">\n\t\t\t<label htmlFor={ id }>\n\t\t\t\t<input\n\t\t\t\t\tid={ id }\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\taria-invalid=\"false\"\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t/>\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__mark\"\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<span class=\"wc-block-components-checkbox__label\">\n\t\t\t\t\t{ label }\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t);\n}","export { default as PaymentInputsContainer } from './PaymentInputsContainer';\nexport { default as PaymentInputsWrapper } from './PaymentInputsWrapper';\nexport { default as TermsCheckbox } from './TermsCheckbox';\n","import React from 'react';\n\nimport utils from '../utils';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function usePaymentInputs( {\n\tautoFocus = true,\n\terrorMessages,\n\tonBlur,\n\tonChange,\n\tonError,\n\tonTouch,\n\tcardNumberValidator,\n\tcvcValidator,\n\texpiryValidator,\n\tavsType,\n\tsetIsFetchingCardType,\n\tpaymentFields,\n} = {} ) {\n\tconst cardNumberField = React.useRef();\n\tconst expiryDateField = React.useRef();\n\tconst cvcField = React.useRef();\n\tconst zipField = React.useRef();\n\tconst addressField = React.useRef();\n\n\t/** ====== START: META STUFF ====== */\n\tconst [ touchedInputs, setTouchedInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = false;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ isTouched, setIsTouched ] = React.useState( false );\n\tconst [ erroredInputs, setErroredInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = undefined;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ error, setError ] = React.useState();\n\tconst [ cardType, setCardType ] = React.useState();\n\tconst [ focused, setFocused ] = React.useState();\n\n\tconst setInputError = React.useCallback( ( input, error ) => {\n\t\tsetErroredInputs( ( erroredInputs ) => {\n\t\t\tif ( erroredInputs[ input ] === error ) return erroredInputs;\n\n\t\t\tlet newError = error;\n\t\t\tconst newErroredInputs = { ...erroredInputs, [ input ]: error };\n\t\t\tif ( error ) {\n\t\t\t\tsetError( error );\n\t\t\t} else {\n\t\t\t\tnewError = Object.values( newErroredInputs ).find( Boolean );\n\t\t\t\tsetError( newError );\n\t\t\t}\n\t\t\tonError && onError( newError, newErroredInputs );\n\t\t\treturn newErroredInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\n\tconst setInputTouched = React.useCallback( ( input, value ) => {\n\t\trequestAnimationFrame( () => {\n\t\t\tif ( document.activeElement.tagName !== 'INPUT' ) {\n\t\t\t\tsetIsTouched( true );\n\t\t\t} else if ( value === false ) {\n\t\t\t\tsetIsTouched( false );\n\t\t\t}\n\t\t} );\n\n\t\tsetTouchedInputs( ( touchedInputs ) => {\n\t\t\tif ( touchedInputs[ input ] === value ) return touchedInputs;\n\n\t\t\tconst newTouchedInputs = { ...touchedInputs, [ input ]: value };\n\t\t\tonTouch && onTouch( { [ input ]: value }, newTouchedInputs );\n\t\t\treturn newTouchedInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\t/** ====== END: META STUFF ====== */\n\n\t/** ====== START: CARD NUMBER STUFF ====== */\n\tconst handleBlurCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cardNumber', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\t\t\t\tlet cursorPosition = cardNumberField.current.selectionStart;\n\n\t\t\t\tconst cardType =\n\t\t\t\t\tutils.cardTypes.getCardTypeByValue( cardNumber );\n\t\t\t\tsetCardType( cardType );\n\n\t\t\t\tsetInputTouched( 'cardNumber', false );\n\n\t\t\t\t// @ts-ignore\n\t\t\t\tcardNumberField.current.value =\n\t\t\t\t\tutils.formatter.formatCardNumber( cardNumber );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\t// Due to the card number formatting, the selection cursor will fall to the end of\n\t\t\t\t// the input field. Here, we want to reposition the cursor to the correct place.\n\t\t\t\trequestAnimationFrame( () => {\n\t\t\t\t\tif ( document.activeElement !== cardNumberField.current )\n\t\t\t\t\t\treturn;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcardNumberField.current.value[ cursorPosition - 1 ] ===\n\t\t\t\t\t\t' '\n\t\t\t\t\t) {\n\t\t\t\t\t\tcursorPosition = cursorPosition + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcardNumberField.current.setSelectionRange(\n\t\t\t\t\t\tcursorPosition,\n\t\t\t\t\t\tcursorPosition\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\t\tcardNumber,\n\t\t\t\t\tcardNumberValidator,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cardNumberError && autoFocus ) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t\tsetIsFetchingCardType( true );\n\t\t\t\t\textensionCartUpdate( {\n\t\t\t\t\t\tnamespace: 'wc-valorpay-fee-update',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction_type: 'bin_lookup',\n\t\t\t\t\t\t\tbin: cardNumber.slice( 0, 6 ),\n\t\t\t\t\t\t},\n\t\t\t\t\t} ).then( () => {\n\t\t\t\t\t\tsetIsFetchingCardType( false );\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t\t\tprops.onError && props.onError( cardNumberError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcardNumberValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cardNumber' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyPressCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tutils.validator.hasCardNumberReachedMaxLength( cardNumber )\n\t\t\t\t) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getCardNumberProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Card number',\n\t\t\tautoComplete: 'cc-number',\n\t\t\tid: 'cardNumber',\n\t\t\tname: 'cardNumber',\n\t\t\tplaceholder: 'Card number',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cardNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCardNumber( props ),\n\t\t\tonChange: handleChangeCardNumber( props ),\n\t\t\tonFocus: handleFocusCardNumber( props ),\n\t\t\tonKeyPress: handleKeyPressCardNumber( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurCardNumber,\n\t\t\thandleChangeCardNumber,\n\t\t\thandleFocusCardNumber,\n\t\t\thandleKeyPressCardNumber,\n\t\t]\n\t);\n\t/** ====== END: CARD NUMBER STUFF ====== */\n\n\t/** ====== START: EXPIRY DATE STUFF ====== */\n\tconst handleBlurExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'expiryDate', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tsetInputTouched( 'expiryDate', false );\n\n\t\t\t\texpiryDateField.current.value =\n\t\t\t\t\tutils.formatter.formatExpiry( e );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\t\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\t\texpiryDateField.current.value,\n\t\t\t\t\texpiryValidator,\n\t\t\t\t\t{\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif ( ! expiryDateError && autoFocus ) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t\t\tprops.onError && props.onError( expiryDateError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\terrorMessages,\n\t\t\texpiryValidator,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'expiryDate' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcardNumberField.current && cardNumberField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedExpiryDate = e.target.value || '';\n\t\t\tconst expiryDate = formattedExpiryDate.replace( ' / ', '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif ( expiryDate.length >= 4 ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getExpiryDateProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Expiry date in format MM YY',\n\t\t\tautoComplete: 'cc-exp',\n\t\t\tid: 'expiryDate',\n\t\t\tname: 'expiryDate',\n\t\t\tplaceholder: 'MM/YY',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: expiryDateField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurExpiryDate( props ),\n\t\t\tonChange: handleChangeExpiryDate( props ),\n\t\t\tonFocus: handleFocusExpiryDate( props ),\n\t\t\tonKeyDown: handleKeyDownExpiryDate( props ),\n\t\t\tonKeyPress: handleKeyPressExpiryDate( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurExpiryDate,\n\t\t\thandleChangeExpiryDate,\n\t\t\thandleFocusExpiryDate,\n\t\t\thandleKeyDownExpiryDate,\n\t\t\thandleKeyPressExpiryDate,\n\t\t]\n\t);\n\t/** ====== END: EXPIRY DATE STUFF ====== */\n\n\t/** ====== START: CVC STUFF ====== */\n\tconst handleBlurCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cvc', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCVC = React.useCallback(\n\t\t( props = {}, { cardType } = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst cvc = e.target.value;\n\n\t\t\t\tsetInputTouched( 'cvc', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\t\tcvc,\n\t\t\t\t\tcvcValidator,\n\t\t\t\t\t{ cardType, errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cvcError && autoFocus ) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cvc', cvcError );\n\t\t\t\tprops.onError && props.onError( cvcError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcvcValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCVC = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cvc' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressCVC = React.useCallback(\n\t\t( props = {}, { cardType } ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCVC = e.target.value || '';\n\t\t\t\tconst cvc = formattedCVC.replace( ' / ', '' );\n\n\t\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cardType && cvc.length >= cardType.code.length ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cvc.length >= 4 ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst getCVCProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'CVC',\n\t\t\tautoComplete: 'cc-csc',\n\t\t\tid: 'cvc',\n\t\t\tname: 'cvc',\n\t\t\tplaceholder: cardType ? cardType.code.name : 'CVC',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cvcField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCVC( props ),\n\t\t\tonChange: handleChangeCVC( props, { cardType } ),\n\t\t\tonFocus: handleFocusCVC( props ),\n\t\t\tonKeyDown: handleKeyDownCVC( props ),\n\t\t\tonKeyPress: handleKeyPressCVC( props, { cardType } ),\n\t\t} ),\n\t\t[\n\t\t\tcardType,\n\t\t\thandleBlurCVC,\n\t\t\thandleChangeCVC,\n\t\t\thandleFocusCVC,\n\t\t\thandleKeyDownCVC,\n\t\t\thandleKeyPressCVC,\n\t\t]\n\t);\n\t/** ====== END: CVC STUFF ====== */\n\n\t/** ====== START: ZIP STUFF ====== */\n\tconst handleBlurZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'zip', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst zip = e.target.value;\n\n\t\t\t\tsetInputTouched( 'zip', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst zipError = utils.validator.getZIPError( zip, {\n\t\t\t\t\terrorMessages,\n\t\t\t\t} );\n\t\t\t\tif ( ! zipError && autoFocus && zip.length >= 6 ) {\n\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'zip', zipError );\n\t\t\t\tprops.onError && props.onError( zipError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'zip' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getZIPProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'zip',\n\t\t\tmaxLength: '6',\n\t\t\tname: 'zip',\n\t\t\tplaceholder: 'ZIP',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: zipField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurZIP( props ),\n\t\t\tonChange: handleChangeZIP( props ),\n\t\t\tonFocus: handleFocusZIP( props ),\n\t\t\tonKeyDown: handleKeyDownZIP( props ),\n\t\t\tonKeyPress: handleKeyPressZIP( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurZIP,\n\t\t\thandleChangeZIP,\n\t\t\thandleFocusZIP,\n\t\t\thandleKeyDownZIP,\n\t\t\thandleKeyPressZIP,\n\t\t]\n\t);\n\n\t/** ====== END: ZIP STUFF ====== */\n\n\t/** ====== START: ADDRESS STUFF ====== */\n\tconst handleBlurAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'streetaddress', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\tconst handleChangeAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst streetaddress = e.target.value;\n\n\t\t\t\tsetInputTouched( 'streetaddress', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\t\tstreetaddress,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t\t\tprops.onError && props.onError( addressError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusAddress = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'streetaddress' );\n\t\t};\n\t}, [] );\n\tconst handleKeyDownAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\tconst getStreetAddressProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'streetaddress',\n\t\t\tmaxLength: '25',\n\t\t\tname: 'streetaddress',\n\t\t\tplaceholder: 'STREET ADDRESS',\n\t\t\ttype: 'text',\n\t\t\t[ refKey || 'ref' ]: addressField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurAddress( props ),\n\t\t\tonChange: handleChangeAddress( props ),\n\t\t\tonFocus: handleFocusAddress( props ),\n\t\t\tonKeyDown: handleKeyDownAddress( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurAddress,\n\t\t\thandleChangeAddress,\n\t\t\thandleFocusAddress,\n\t\t\thandleKeyDownAddress,\n\t\t]\n\t);\n\t/** ====== END: ADDRESS STUFF ====== */\n\t/** ====== START: CARD IMAGE STUFF ====== */\n\tconst getCardImageProps = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\tconst images = props.images || {};\n\t\t\treturn {\n\t\t\t\t'aria-label': cardType\n\t\t\t\t\t? cardType.displayName\n\t\t\t\t\t: 'Placeholder card',\n\t\t\t\tchildren:\n\t\t\t\t\timages[ cardType ? cardType.type : 'placeholder' ] ||\n\t\t\t\t\timages.placeholder,\n\t\t\t\twidth: '3em',\n\t\t\t\theight: '2em',\n\t\t\t\tviewBox: '0 0 24 16',\n\t\t\t};\n\t\t},\n\t\t[ cardType ]\n\t);\n\t/** ====== END: CARD IMAGE STUFF ====== */\n\n\t// Set default field errors\n\tReact.useLayoutEffect( () => {\n\t\tif ( addressField.current ) {\n\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\taddressField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t}\n\t\tif ( zipField.current ) {\n\t\t\tconst zipError = utils.validator.getZIPError(\n\t\t\t\tzipField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'zip', zipError );\n\t\t}\n\t\tif ( cvcField.current ) {\n\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\tcvcField.current.value,\n\t\t\t\tcvcValidator,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'cvc', cvcError );\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\texpiryDateField.current.value,\n\t\t\t\texpiryValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t}\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\tcardNumberField.current.value,\n\t\t\t\tcardNumberValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t}\n\t}, [\n\t\tcardNumberValidator,\n\t\tcvcValidator,\n\t\terrorMessages,\n\t\texpiryValidator,\n\t\tsetInputError,\n\t] );\n\n\t// Format default values\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tcardNumberField.current.value = utils.formatter.formatCardNumber(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\texpiryDateField.current.value = utils.formatter.formatExpiry( {\n\t\t\t\ttarget: expiryDateField.current,\n\t\t\t} );\n\t\t}\n\t}, [] );\n\n\t// Set default card type\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardType = utils.cardTypes.getCardTypeByValue(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t\tsetCardType( cardType );\n\t\t}\n\t}, [] );\n\n\treturn {\n\t\tgetCardImageProps,\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps: {\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t},\n\n\t\tmeta: {\n\t\t\tcardType,\n\t\t\terroredInputs,\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t\ttouchedInputs,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t};\n}\n","export default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<path\n\t\t\td=\"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<g fill=\"#016fd0\">\n\t\t\t<path d=\"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z\" />\n\t\t\t<path d=\"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z\" />\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-320.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Diners-Club\"\n\t\t\t\t\t\ttransform=\"translate(280.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#0165AC\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-280.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Discover\"\n\t\t\t\t\t\ttransform=\"translate(240.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.8054455 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#000000\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g id=\"Group-2\">\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#B3131B\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"2\"\n\t\t\t/>\n\t\t\t<g\n\t\t\t\tid=\"Hipercard_logo\"\n\t\t\t\ttransform=\"translate(2.000000, 6.000000)\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tfillRule=\"nonzero\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M4.45845797,4.72911206 L4.71934477,4.72911206 L4.72670967,4.71021617 C4.73076043,4.69982332 4.73407456,4.67539055 4.73407456,4.65592007 C4.73407456,4.63644958 4.74267391,4.56566228 4.75318417,4.49861521 C4.76369454,4.43156695 4.78836018,4.27726169 4.80799675,4.15571305 C4.82763331,4.0341644 4.85703646,3.85139347 4.87333717,3.74955542 C4.88963776,3.64771736 4.90953167,3.51735868 4.91754595,3.45986946 C4.92556023,3.40238023 4.93534271,3.3553436 4.93928464,3.3553436 C4.94322668,3.3553436 4.96009268,3.38074637 4.9767648,3.41179473 L5.0070776,3.46824705 L5.07434118,3.5349692 L5.14160488,3.60169134 L5.22440039,3.63432372 L5.30719578,3.66695609 L5.40587279,3.67955056 L5.5045498,3.69214384 L5.62980554,3.68457856 L5.75506139,3.67701327 L5.8906751,3.64246001 L6.02628894,3.60790675 L6.09908975,3.57519075 C6.13913019,3.55719677 6.21011098,3.51796553 6.25682484,3.48801021 L6.34175912,3.43354447 L6.42095111,3.35561954 C6.46450662,3.31276155 6.5259323,3.24403729 6.55745263,3.20290069 C6.58897283,3.16176409 6.61476215,3.12510239 6.61476215,3.12143264 C6.61476215,3.11776169 6.63024834,3.09228724 6.64917582,3.06482382 C6.66810343,3.0373592 6.70683989,2.96113177 6.73525696,2.8954298 C6.76367415,2.82972783 6.80808531,2.71146429 6.83394853,2.63262192 L6.88097263,2.48927217 L6.90527961,2.36510142 C6.91864839,2.29680721 6.93584673,2.18391928 6.94349809,2.11423935 L6.95740984,1.98754804 L6.9493753,1.88003572 L6.94134076,1.77252341 L6.91602234,1.66501109 L6.89070392,1.55749878 L6.84971924,1.47700311 L6.80873457,1.39650745 L6.72956721,1.31388424 L6.65039973,1.23125983 L6.55674682,1.18360201 L6.4630938,1.13594299 L6.35995932,1.11163207 L6.25682484,1.08732115 L6.15369036,1.07986696 L6.05055588,1.07241397 L5.93566831,1.0854122 L5.82078075,1.09840925 L5.7270093,1.12198192 L5.63323773,1.1455534 L5.55177641,1.18267501 C5.50697261,1.2030916 5.44177912,1.23776791 5.40690207,1.25973387 C5.3720249,1.28169983 5.33604735,1.30697239 5.32695174,1.31589472 C5.31785613,1.32481824 5.29608043,1.34134766 5.27856116,1.3526257 L5.24670802,1.37313308 L5.26898276,1.26820942 C5.28123392,1.21050159 5.29147275,1.15656744 5.2917358,1.14835469 L5.29221386,1.13342243 L5.06976516,1.13342243 L4.84731634,1.13342243 L4.80831003,1.37532513 C4.78685648,1.50837162 4.75298372,1.71398893 4.73303727,1.83225247 C4.7130907,1.95051602 4.68301183,2.12791134 4.66619545,2.22646429 C4.64937895,2.32501725 4.61938307,2.49972476 4.59953794,2.61470321 C4.5796928,2.72968165 4.54689191,2.91245259 4.52664697,3.02086084 C4.50640216,3.12926909 4.47674372,3.28784975 4.46073931,3.37326231 C4.44473502,3.45867488 4.41461296,3.61994335 4.39380151,3.7316367 C4.37299019,3.84333005 4.33954562,4.02072536 4.31948026,4.12584852 C4.29941502,4.23097167 4.26676167,4.39761576 4.24691738,4.49616871 C4.2270731,4.59472167 4.20785211,4.68745104 4.20420394,4.70223398 L4.19757093,4.72911206 L4.45845773,4.72911206 L4.45845797,4.72911206 Z M5.58158434,3.34795511 L5.48028286,3.35395071 L5.41406652,3.34244331 L5.34785018,3.33093472 L5.28059837,3.30070464 L5.21334656,3.27047457 L5.16636177,3.22630134 L5.11937709,3.18212931 L5.09225746,3.12240025 C5.07734166,3.08954926 5.0581828,3.0337432 5.04968233,2.99838718 L5.03422684,2.93410437 L5.04041916,2.8311458 L5.04661147,2.72818843 L5.07787505,2.56691995 C5.09507,2.47822229 5.12594421,2.31157821 5.14648436,2.19659976 C5.1670245,2.08162131 5.19812318,1.9131519 5.21559259,1.82222277 L5.24735509,1.6568975 L5.3169102,1.5999088 C5.35516545,1.56856538 5.41576424,1.52655673 5.45157423,1.50655705 L5.51668327,1.470194 L5.60161755,1.44430981 L5.68655183,1.41842563 L5.79575304,1.41211346 L5.90495426,1.40580129 L5.99387134,1.42445946 L6.08278843,1.44311762 L6.1455397,1.47157016 L6.20829096,1.50002269 L6.2609103,1.55210763 L6.31352963,1.60419138 L6.34191746,1.65934519 C6.3575308,1.68968039 6.37946059,1.74905705 6.39065044,1.79129506 L6.41099548,1.86808991 L6.40476348,2.09506035 L6.39853137,2.32203079 L6.36736983,2.45618705 C6.35023095,2.52997394 6.31760514,2.64286188 6.29486799,2.70704912 L6.25352781,2.82375493 L6.20290006,2.91822719 C6.17505485,2.9701879 6.1321162,3.04040419 6.10748089,3.07426459 C6.08284558,3.10812381 6.04357913,3.15198525 6.0202222,3.17173287 C5.99686528,3.19148049 5.95774892,3.22234369 5.93329695,3.24031617 L5.8888387,3.27299275 L5.7858622,3.30747553 L5.6828857,3.34195951 L5.58158434,3.34795511 Z M8.10111202,3.67635864 L8.23458018,3.67786023 L8.36804833,3.665875 C8.44145581,3.6592833 8.56157715,3.64555995 8.63498463,3.63537973 C8.70839211,3.62519831 8.83520336,3.60240928 8.91678734,3.58473665 L9.06512179,3.5526048 L9.07250973,3.498771 C9.07657311,3.4691621 9.093232,3.38101873 9.10952955,3.3028967 L9.1391613,3.16085621 L9.1326233,3.1544198 L9.12608543,3.1479822 L9.0807372,3.1695444 C9.05579576,3.181403 8.97811171,3.20969069 8.90810597,3.23240685 L8.78082285,3.27370711 L8.6472364,3.29918394 L8.51364995,3.32466077 L8.30131425,3.32506693 L8.08897856,3.32547309 L8.01617775,3.30258252 C7.9761373,3.28999283 7.91724557,3.26695772 7.88530737,3.25139472 L7.82723768,3.22309628 L7.7793106,3.18046765 L7.73138352,3.13783782 L7.69398963,3.07349051 L7.65659562,3.00914319 L7.63315109,2.92843011 L7.60970656,2.84771703 L7.60953911,2.69835615 L7.60937167,2.54899526 L7.63018579,2.41575047 L7.65099978,2.28250449 L7.83358895,2.27410658 L8.01617823,2.26570748 L8.69111697,2.26997453 L9.3660557,2.27424157 L9.38643459,2.18913124 C9.39764288,2.14232038 9.41477886,2.04555929 9.42451439,1.97410661 L9.44221542,1.84419231 L9.44258913,1.73490963 L9.44296284,1.62562694 L9.42374501,1.54404301 L9.40452717,1.46245909 L9.37275132,1.40843654 C9.35527451,1.37872491 9.32448062,1.33566504 9.3043205,1.31274938 C9.28416037,1.28983373 9.24816377,1.25752509 9.22432794,1.24095266 C9.20049222,1.22438023 9.15368992,1.19652977 9.12032288,1.17906499 L9.05965554,1.14730824 L8.95365525,1.12215633 L8.84765497,1.09700442 L8.71705262,1.08471099 L8.58645027,1.07241636 L8.46511559,1.08019547 L8.34378091,1.08797458 L8.19817929,1.11550012 L8.05257767,1.14302686 L7.96157665,1.17884877 C7.9115261,1.198551 7.83508525,1.23447922 7.7917081,1.2586898 C7.74833095,1.28290038 7.68827028,1.32231081 7.65823994,1.34626814 C7.62820961,1.37022427 7.57621515,1.4167998 7.54269681,1.44976786 C7.50917834,1.48273591 7.45959784,1.54196325 7.43251788,1.58138443 C7.40543792,1.62080561 7.36392374,1.69068862 7.34026433,1.73668 C7.31660479,1.78267138 7.28577559,1.84717876 7.27175488,1.88002975 C7.25773417,1.91288073 7.23225571,1.98007593 7.21513599,2.02935241 C7.1980164,2.07862889 7.17110667,2.17270216 7.15533656,2.23840413 C7.13956645,2.3041061 7.11795686,2.41225991 7.10731533,2.47874552 L7.08796742,2.59963476 L7.08814699,2.77739681 L7.08832657,2.95515887 L7.10676835,3.03280665 C7.11691132,3.07551293 7.13630473,3.14002032 7.14986473,3.1761564 C7.16342485,3.21229249 7.18849963,3.26604864 7.20558671,3.29561453 C7.22267367,3.32518042 7.2591652,3.37278329 7.28667905,3.40139948 C7.31419278,3.43001568 7.36400431,3.47343751 7.39737135,3.49789178 C7.43073838,3.52234606 7.49013972,3.55674044 7.52937438,3.57432587 L7.60070995,3.60629765 L7.70017273,3.62996947 C7.75487732,3.64298921 7.83743756,3.65841484 7.88363999,3.66425037 C7.92984242,3.6700847 8.02770503,3.67553319 8.10111251,3.67635864 L8.10111202,3.67635864 Z M8.32965888,1.99352094 C7.99374575,1.99352094 7.71890777,1.99115328 7.71890777,1.98826001 C7.71890777,1.98536673 7.73323995,1.94370571 7.75075703,1.89567996 C7.76827412,1.84765421 7.79903902,1.77617166 7.81912342,1.73682932 L7.85564031,1.66529779 L7.93590903,1.58670271 L8.01617775,1.50810762 L8.09504529,1.47097884 C8.13842244,1.45055747 8.19575308,1.42832273 8.22244671,1.42156738 C8.24914034,1.41481202 8.32558119,1.40585027 8.39231526,1.40165251 L8.51364995,1.39401794 L8.60682685,1.40580726 L8.70000364,1.41759659 L8.76771701,1.44811814 L8.8354305,1.4786385 L8.87257529,1.51806804 C8.89300502,1.53975447 8.9173507,1.5716916 8.92667697,1.58903811 L8.94363374,1.62057745 L8.95483159,1.69057752 L8.96602945,1.76057759 L8.95321966,1.87704927 L8.94040987,1.99352094 L8.32965888,1.99352094 Z M11.959629,3.67642315 L12.0931723,3.67788054 L12.2447655,3.66019237 C12.328143,3.6504637 12.4391291,3.63434164 12.4914025,3.62436569 C12.5436771,3.61438974 12.628308,3.59458597 12.6794712,3.58035851 C12.7306357,3.56612985 12.7769248,3.55074723 12.7823351,3.54617318 C12.7877455,3.54159912 12.8022037,3.48738425 12.8144634,3.42569488 C12.826723,3.3640055 12.8421665,3.28127956 12.8487817,3.24185837 C12.8553968,3.20243719 12.858816,3.16807267 12.8563809,3.16549477 C12.8539445,3.16291567 12.8449948,3.16624735 12.8364917,3.1728952 C12.8279885,3.17954304 12.7684545,3.20420995 12.7041944,3.22770736 L12.5873588,3.27043156 L12.420981,3.302168 L12.2546045,3.33390325 L12.1131465,3.32915121 L11.9716884,3.32439797 L11.8913406,3.29696441 L11.8109916,3.26953085 L11.7489046,3.21605781 L11.6868164,3.16258596 L11.6456318,3.08873695 L11.6044472,3.01488793 L11.5848322,2.91609248 L11.5652172,2.81729702 L11.5653386,2.68912203 L11.5654599,2.56094705 L11.5892961,2.40565148 L11.6131335,2.25035592 L11.6383541,2.16673523 C11.6522263,2.12074385 11.6679222,2.06698769 11.6732342,2.0472771 C11.678545,2.02756651 11.7007978,1.97112254 11.722683,1.92184607 C11.7445681,1.87256959 11.7836087,1.79641025 11.8094409,1.75260257 L11.8564059,1.67295267 L11.9140896,1.61410998 L11.9717721,1.5552673 L12.0328581,1.51796531 L12.0939452,1.48066331 L12.172393,1.45687442 C12.2155396,1.44379137 12.2917924,1.42680322 12.3418429,1.41912326 L12.4328439,1.40516219 L12.5663121,1.41175628 L12.6997802,1.41835037 L12.8575153,1.44943457 L13.0152504,1.48051877 L13.0794061,1.50407591 C13.1146915,1.51703353 13.145104,1.52763425 13.1469871,1.52763425 C13.1488715,1.52763425 13.1573345,1.48328542 13.1657928,1.42908129 C13.1742522,1.37487717 13.1893087,1.28569809 13.1992508,1.23090743 C13.209193,1.17611557 13.2149333,1.12892841 13.2120067,1.12604708 C13.2090789,1.12316575 13.1616662,1.11575337 13.1066446,1.109575 C13.0516217,1.10339663 12.9020779,1.09242679 12.7743246,1.08519718 L12.5420452,1.0720532 L12.3782433,1.08442906 L12.2144415,1.09680493 L12.0931068,1.12190786 L11.9717721,1.14701198 L11.8936314,1.17778201 C11.8506546,1.19470683 11.787705,1.2252463 11.7537446,1.24564856 C11.7197843,1.26605201 11.6765552,1.29349632 11.6576803,1.30663671 C11.6388043,1.3197771 11.5815404,1.37104495 11.5304257,1.42056632 L11.4374894,1.5106043 L11.3856128,1.58542809 C11.3570809,1.62658022 11.3077232,1.71239058 11.2759299,1.77611671 L11.2181236,1.89198153 L11.1738182,2.01741257 C11.1494494,2.08639964 11.1154271,2.19928757 11.098211,2.26827464 L11.0669102,2.39370567 L11.0555485,2.50719089 L11.0441879,2.62067611 L11.0443092,2.76999877 L11.0444306,2.91932143 L11.0558894,3.0061878 L11.0673483,3.09305536 L11.1036916,3.18241243 L11.1400338,3.27176949 L11.1820095,3.33637364 L11.2239841,3.4009766 L11.2907327,3.46565123 L11.3574813,3.53032586 L11.4280836,3.56706401 L11.4986858,3.60380216 L11.591451,3.6291691 C11.642471,3.64312061 11.7161818,3.65913278 11.7552528,3.6647509 C11.7943226,3.67037021 11.8863841,3.67562278 11.9598316,3.67642315 L11.959629,3.67642315 Z M13.9555105,3.67201037 L14.1193123,3.66738973 L14.2224468,3.64140161 L14.3255813,3.6154123 L14.3923154,3.5843508 C14.4290191,3.56726709 14.4890798,3.53354287 14.5257835,3.50940874 C14.5624872,3.48527462 14.6192998,3.43939314 14.6520322,3.40745004 C14.6847659,3.37550574 14.7333071,3.32100536 14.7599012,3.28633861 C14.7864953,3.25167066 14.8098571,3.22488337 14.8118155,3.22681143 C14.8137726,3.22873948 14.8076537,3.2839817 14.7982163,3.34957257 C14.7887801,3.41516345 14.7809516,3.50242641 14.7808217,3.54349015 L14.7805912,3.61815148 L15.003278,3.61815148 L15.2259647,3.61815148 L15.2327728,3.44792364 L15.2395797,3.27769581 L15.2713548,3.05669828 C15.2888318,2.93514963 15.3170592,2.75506651 15.3340824,2.65651355 C15.3511044,2.55796059 15.3806943,2.39131651 15.3998373,2.28619336 C15.4189803,2.1810702 15.4493055,2.01711392 15.4672278,1.92184607 L15.4998135,1.74863178 L15.5009055,1.59901287 L15.5019975,1.44939515 L15.4676343,1.38024561 L15.4332723,1.31109728 L15.3866749,1.26705665 L15.3400776,1.22301602 L15.2635748,1.18484915 L15.1870721,1.14668347 L15.0730551,1.12171553 L14.9590393,1.09674639 L14.8020602,1.08498574 L14.645081,1.07322389 L14.4428707,1.08554122 C14.3316553,1.09231569 14.1751408,1.10569261 14.0950599,1.11526718 L13.9494583,1.13267701 L13.8502272,1.13304733 L13.750996,1.13341765 L13.7365584,1.20210607 C13.7286171,1.2398847 13.7065499,1.32964076 13.687521,1.40156411 C13.6684909,1.47348627 13.6546854,1.53406946 13.6568415,1.53619223 C13.6589976,1.538315 13.7120682,1.52645639 13.7747764,1.50983976 C13.8374846,1.49322194 13.9706919,1.4658947 14.070793,1.44911203 L14.252795,1.41859765 L14.4165969,1.411951 L14.5803987,1.40530435 L14.6859089,1.42351335 L14.7914191,1.44172116 L14.8618442,1.47594352 L14.9322693,1.51016469 L14.971703,1.56803021 L15.0111368,1.62589572 L15.0105787,1.7171259 L15.0100205,1.80835607 L14.989117,1.90846915 L14.9682134,2.00858342 L14.5316331,2.01013398 L14.0950539,2.01168455 L13.9521677,2.05025639 C13.8735792,2.07147095 13.786558,2.09963679 13.7587857,2.11284647 C13.7310146,2.12605735 13.7032351,2.13686592 13.6970543,2.13686592 C13.6908735,2.13686592 13.6441232,2.16238934 13.5931651,2.19358344 L13.5005139,2.25030097 L13.4275457,2.32200093 C13.387413,2.36143645 13.3361406,2.42057897 13.3136063,2.45342996 C13.2910733,2.48628094 13.2544617,2.55490844 13.232249,2.60593498 L13.1918603,2.69871094 L13.173324,2.80304089 L13.1547877,2.90737084 L13.1547877,3.01681838 L13.1547877,3.12626711 L13.1724965,3.21739215 L13.1902065,3.3085184 L13.2230615,3.3679524 C13.2411331,3.40064092 13.2742951,3.44852332 13.2967566,3.47435973 L13.3375954,3.52133305 L13.4101681,3.56473577 L13.4827396,3.60813849 L13.5658078,3.63128231 C13.6114963,3.64401177 13.6810332,3.65942187 13.720336,3.66552618 L13.7917948,3.67662623 L13.9555966,3.67200559 L13.9555105,3.67201037 Z M14.1071788,3.33797677 L14.0101111,3.34295937 L13.9458219,3.32683969 C13.9104626,3.31797351 13.8568096,3.2982008 13.8265924,3.2829006 L13.771652,3.25508 L13.7416666,3.21999634 C13.7251748,3.20069908 13.6999809,3.16278307 13.6856804,3.13573655 L13.6596808,3.08656281 L13.6545823,2.97172771 L13.649485,2.85689381 L13.6700525,2.78723658 C13.6813657,2.74892516 13.7079052,2.68244671 13.7290308,2.6395051 L13.7674417,2.56143085 L13.840996,2.48951348 L13.9145503,2.4175973 L13.9926644,2.38056886 L14.0707784,2.34354042 L14.1678462,2.3208398 L14.2649139,2.29813917 L14.5682506,2.29813917 L14.8715874,2.29813917 L14.8907789,2.30595173 L14.9099692,2.31376429 L14.8938183,2.40749114 C14.8849342,2.4590409 14.8637479,2.55228633 14.8467356,2.61470321 C14.8297232,2.67712008 14.7996905,2.76887348 14.7799954,2.81860031 C14.7603004,2.86832714 14.7441859,2.91229012 14.7441859,2.91629675 C14.7441859,2.92030338 14.7242458,2.95653742 14.6998745,2.99681631 L14.6555643,3.07005131 L14.5828035,3.14102257 C14.5427861,3.18005671 14.5056371,3.21199384 14.5002523,3.21199384 C14.4948674,3.21199384 14.4703372,3.22543885 14.4457427,3.24187151 L14.4010235,3.27174799 L14.3026357,3.30237108 L14.2042466,3.33299417 L14.1071788,3.33797677 Z M18.0566228,3.67628099 L18.1718907,3.67771091 L18.281092,3.66026166 C18.3411526,3.65066439 18.4175935,3.63520412 18.4509605,3.6259067 C18.4843276,3.61660808 18.5443882,3.59247515 18.5844287,3.57227836 L18.6572295,3.53555693 L18.7198576,3.48128471 L18.7824857,3.4270125 L18.8484444,3.34040775 C18.8847223,3.29277621 18.9175725,3.24574076 18.9214467,3.23588547 L18.9284889,3.21796675 L18.922364,3.27769581 C18.9189945,3.3105468 18.9114402,3.36430295 18.9055761,3.39715394 C18.8997132,3.43000492 18.8913059,3.49316841 18.8868942,3.53751724 L18.8788715,3.61815148 L19.1168877,3.61815148 L19.3549039,3.61815148 L19.3549039,3.53751724 L19.3549039,3.456883 L19.391166,3.15226478 C19.411111,2.98472475 19.4406038,2.7616367 19.4567061,2.65651355 C19.4728085,2.5513904 19.4976627,2.40087316 19.5119389,2.32203079 C19.5262139,2.24318843 19.5514964,2.10073461 19.5681205,2.00546676 C19.5847433,1.9101989 19.6147725,1.74355481 19.6348497,1.63514656 C19.654927,1.52673831 19.68706,1.35471861 19.7062552,1.25288055 C19.7254515,1.1510425 19.7552865,0.992461836 19.7725549,0.900479078 C19.7898244,0.80849632 19.8207636,0.647227848 19.841308,0.542104696 C19.8618536,0.436981544 19.8918657,0.289152111 19.9080008,0.213594845 C19.9241371,0.13803758 19.9373165,0.0721862871 19.9372885,0.0672586394 L19.9372886,0.0582992798 L19.6776105,0.0582992798 L19.4179324,0.0582992798 L19.4102629,0.132960609 C19.4060453,0.174024341 19.386167,0.309758638 19.3660873,0.434592381 C19.3460089,0.559426124 19.3132764,0.758323906 19.2933496,0.876587452 C19.2734228,0.994850998 19.2542119,1.109532 19.2506592,1.13143345 L19.2442006,1.17125601 L19.2237071,1.16267653 C19.2124364,1.15795674 19.1513431,1.14127321 19.0879458,1.12560031 L18.9726778,1.09710477 L18.8149427,1.08501083 L18.6572076,1.07291569 L18.5237395,1.08516015 L18.3902713,1.09740461 L18.2689366,1.12760004 L18.147602,1.15779547 L18.032334,1.21314639 L17.9170661,1.26849731 L17.8321318,1.33040529 L17.7471975,1.39231447 L17.6738471,1.46974245 C17.6335045,1.51232808 17.5752238,1.58276537 17.5443344,1.62626963 L17.488171,1.70537002 L17.4222183,1.84048553 C17.3859453,1.91479923 17.3418026,2.01323153 17.3241241,2.05922291 C17.3064456,2.10521429 17.2752675,2.20716464 17.2548384,2.28577884 L17.2176966,2.42871287 L17.1993969,2.61428869 L17.1810984,2.7998633 L17.1948396,2.94918596 L17.2085795,3.09850862 L17.224825,3.15226478 C17.2337589,3.18183067 17.2525985,3.23450692 17.2666891,3.26932419 L17.2923089,3.33262744 L17.3390179,3.39487707 L17.3857281,3.45712789 L17.4390608,3.5001364 L17.4923947,3.54314491 L17.5651955,3.57873388 C17.6052359,3.59830709 17.6724044,3.62360354 17.714459,3.63494729 C17.7565136,3.64629103 17.8247643,3.65990926 17.8661273,3.66521081 C17.9074903,3.67051236 17.9932036,3.67549377 18.056601,3.67628099 L18.0566228,3.67628099 Z M18.2635057,3.33735678 L18.1718907,3.34214706 L18.1100549,3.33118916 C18.0760448,3.3251625 18.0216226,3.30900698 17.989117,3.29528841 L17.9300149,3.27034555 L17.8802835,3.23022554 L17.830552,3.19010433 L17.7935947,3.12041485 L17.7566361,3.05072537 L17.7397949,2.97307759 L17.7229524,2.8954298 L17.7243805,2.74013424 L17.7258074,2.58483867 L17.7453666,2.44746183 L17.7649257,2.31008498 L17.7953249,2.21451848 C17.8120436,2.1619569 17.8258042,2.11236625 17.8259049,2.10431836 C17.8260262,2.09627046 17.8425132,2.05326554 17.8625892,2.00875185 C17.8826665,1.96423817 17.9162082,1.89556528 17.9371288,1.8561441 C17.9580481,1.81672291 17.9971506,1.75526768 18.0240226,1.71957718 C18.0508934,1.68388667 18.0987648,1.63013051 18.1304016,1.60011905 C18.1620384,1.57010758 18.2123656,1.53074374 18.2422382,1.51264345 L18.2965536,1.47973512 L18.3919567,1.44723295 L18.4873609,1.41473079 L18.6875631,1.41461133 L18.8877654,1.41461133 L19.0030333,1.44609571 C19.0664307,1.46341117 19.1337447,1.48349327 19.1526184,1.49072169 L19.1869367,1.50386327 L19.1802341,1.53665453 C19.176548,1.55468912 19.1621274,1.63395198 19.1481884,1.71279434 C19.1342495,1.79163671 19.1067842,1.94215395 19.0871522,2.0472771 C19.0675203,2.15240025 19.0373589,2.31098092 19.0201245,2.39967858 C19.0028914,2.48837624 18.9779292,2.60126417 18.9646527,2.65054064 C18.9513763,2.69981712 18.9326471,2.76806952 18.9230301,2.80221304 C18.9134143,2.83635657 18.890516,2.89548834 18.872146,2.93361698 C18.8537759,2.97174563 18.8216307,3.02713239 18.8007126,3.05669828 C18.7797957,3.08626416 18.7444145,3.12722038 18.7220889,3.14771103 C18.6997633,3.16820288 18.6514661,3.2046173 18.6147623,3.22863316 L18.5480283,3.2722975 L18.4515745,3.30243201 L18.3551207,3.33256771 L18.2635057,3.33735798 L18.2635057,3.33735678 Z M0.406035224,3.61815148 L0.700846957,3.61815148 L0.721999232,3.48973399 C0.733631588,3.41910437 0.756352721,3.28337007 0.772489021,3.18810222 C0.78862532,3.09283436 0.818658081,2.91543904 0.839229163,2.7938904 C0.859799032,2.67234175 0.890636242,2.49225862 0.907755352,2.39370567 C0.924874463,2.29515271 0.952074059,2.14227379 0.968198225,2.05397392 C0.984323604,1.96567525 1.00057639,1.89041663 1.00431713,1.88673254 L1.01111794,1.88003572 L1.80383747,1.88003572 L2.596557,1.88003572 L2.60535861,1.88869883 L2.61416145,1.89736193 L2.60041544,1.96634661 C2.59285507,2.0042877 2.57049188,2.12134114 2.55072039,2.22646429 C2.53094769,2.33158744 2.49770806,2.50898276 2.47685426,2.62067611 C2.45600047,2.73236946 2.42584638,2.89095012 2.40984597,2.97307759 C2.39384435,3.05520505 2.36146377,3.22722475 2.33788965,3.3553436 C2.31431432,3.48346244 2.29507549,3.59500646 2.29513616,3.60321921 L2.2952575,3.61815148 L2.59128136,3.61815148 L2.88730644,3.61815148 L2.90040452,3.54349015 C2.90760938,3.50242641 2.91920048,3.4285117 2.92616388,3.37923522 C2.93312606,3.32995874 2.9499115,3.22513424 2.96346337,3.14629187 C2.97701646,3.06744951 3.00409472,2.91155665 3.02363688,2.7998633 C3.04317905,2.68816995 3.07588966,2.4973356 3.09632728,2.37578695 C3.11676368,2.25423831 3.14708242,2.07684299 3.16370127,1.98157513 C3.18032,1.88630727 3.2099327,1.7250388 3.22950738,1.62320075 C3.24908194,1.52136269 3.28168651,1.34934299 3.30196202,1.24093474 C3.32223741,1.13252649 3.3526127,0.96857021 3.36946269,0.876587452 C3.3863128,0.784604694 3.41703596,0.617960606 3.43773662,0.506267257 C3.45843729,0.394573908 3.48457667,0.264215227 3.49582403,0.216581299 L3.5162739,0.129974156 L3.21654665,0.129974156 L2.91681989,0.129974156 L2.90866742,0.186716767 C2.9041841,0.217925202 2.88970402,0.305278958 2.87649067,0.380836224 C2.86327611,0.456393489 2.83924092,0.590783883 2.82307672,0.679481542 C2.80691251,0.768179202 2.77737358,0.937511097 2.75743465,1.05577464 C2.73749451,1.17403819 2.7120846,1.33059045 2.7009667,1.40366896 L2.68075113,1.53653985 L2.24076366,1.54530688 L1.80077498,1.55407391 L1.43224272,1.54546337 C1.22954949,1.54072805 1.0625869,1.53591269 1.06121339,1.53476231 C1.05983988,1.53361551 1.06674383,1.4871905 1.07655495,1.43160066 C1.08636486,1.37601082 1.10492543,1.27945999 1.11780025,1.21704312 C1.13067507,1.15462624 1.15508154,1.03098708 1.17203685,0.942289422 C1.18899095,0.853591763 1.20819702,0.74339164 1.21471511,0.697400261 C1.22123321,0.651408882 1.23489429,0.574806358 1.24507305,0.52717243 C1.25525061,0.479538501 1.27456709,0.379202037 1.28799762,0.304203835 C1.30142816,0.229204439 1.31573716,0.159321434 1.3197958,0.148908269 L1.32717538,0.129974156 L1.02986779,0.129974156 L0.732560203,0.129974156 L0.713517938,0.234500018 C0.703043115,0.291989241 0.689078706,0.373967381 0.682484166,0.416673662 C0.675889626,0.459379942 0.653744833,0.596458144 0.633273245,0.721291887 C0.612802871,0.84612563 0.582582041,1.03158437 0.566118138,1.13342243 C0.549653021,1.23526048 0.519668795,1.42071922 0.499487197,1.54555297 C0.479305599,1.67038671 0.446005295,1.86390887 0.4254876,1.97560222 C0.404969905,2.08729557 0.375264748,2.24587624 0.359476679,2.3280037 C0.343687397,2.41013116 0.313600035,2.56602402 0.292613988,2.67443227 C0.271629155,2.78284052 0.241013987,2.93604557 0.224581631,3.01488793 C0.208148062,3.0937303 0.189981833,3.18511576 0.184209942,3.21796675 C0.178439265,3.25081773 0.159657869,3.34556595 0.142475664,3.42851887 C0.125292247,3.51147178 0.111233197,3.58807431 0.111233197,3.5987467 L0.111233197,3.61815148 L0.40604493,3.61815148 L0.406035224,3.61815148 Z M3.6696828,3.61815148 L3.93066933,3.61815148 L3.93803423,3.59925559 C3.94208498,3.58886273 3.94539912,3.56160239 3.94539912,3.53867598 C3.94539912,3.51574958 3.96181061,3.39658174 3.98186905,3.27385882 C4.00192749,3.1511347 4.03506982,2.95127648 4.0555186,2.82972783 C4.07596737,2.70817919 4.10616636,2.53078387 4.12262747,2.43551601 C4.13908859,2.34024816 4.16836313,2.18166749 4.18768216,2.08311454 C4.20700119,1.98456158 4.23665805,1.83135654 4.2535863,1.74265888 C4.27051468,1.65396122 4.3038043,1.48521228 4.32756345,1.3676607 C4.3513226,1.25010912 4.37372499,1.14921121 4.37734671,1.14344138 L4.38393166,1.13295176 L4.1200058,1.13617355 L3.85607993,1.13939533 L3.83409918,1.2946909 C3.82200988,1.38010346 3.79557869,1.54943535 3.77536324,1.670984 C3.75514791,1.79253264 3.72457012,1.97799139 3.70741291,2.08311454 C3.69025558,2.18823769 3.66033444,2.35756959 3.64092138,2.45940764 C3.62150844,2.56124569 3.59175924,2.71713855 3.57481193,2.80583621 C3.55786476,2.89453387 3.52745513,3.05042672 3.50723495,3.15226478 C3.48701476,3.25410283 3.45988239,3.38849323 3.44694071,3.4509101 C3.43399891,3.51332697 3.42009966,3.57649045 3.41605327,3.5912734 L3.40869626,3.61815148 L3.6696828,3.61815148 Z M9.77371379,3.61815148 L10.0327662,3.61815148 L10.0405474,3.5102342 C10.0448257,3.45088023 10.0594866,3.33127278 10.0731246,3.24443986 C10.0867638,3.15760695 10.1146878,2.98442611 10.1351788,2.85959237 C10.155671,2.73475862 10.1937543,2.52697555 10.2198085,2.39785326 C10.2458627,2.26872977 10.2753155,2.14038396 10.2852589,2.11263742 C10.295201,2.08489208 10.3033365,2.05482685 10.3033365,2.04582568 C10.3033365,2.03682332 10.3228132,1.98777501 10.346619,1.9368285 C10.3704237,1.885882 10.4147873,1.80786868 10.4452047,1.76346729 L10.5005078,1.6827351 L10.5745377,1.61525798 L10.6485665,1.54777966 L10.7398538,1.50485597 L10.8311424,1.46193228 L10.9706773,1.46264903 L11.1102122,1.46336577 L11.1788136,1.48354942 C11.216545,1.49465186 11.2506704,1.50373426 11.2546478,1.50373426 C11.2586263,1.50373426 11.2618805,1.49103467 11.2618805,1.47551228 C11.2618805,1.45999108 11.2755307,1.38130521 11.2922142,1.30065544 C11.3088977,1.22000687 11.3225479,1.15061842 11.3225479,1.14646009 C11.3225479,1.14230175 11.2829624,1.12704814 11.2345802,1.11256384 C11.186198,1.09807954 11.1193123,1.08290836 11.0859452,1.07885156 L11.0252779,1.07147502 L10.9464103,1.08520913 C10.9030332,1.09276246 10.8385341,1.10943762 10.8030789,1.12226504 C10.7676249,1.13509245 10.7090846,1.16418528 10.6729899,1.18691816 C10.6368953,1.20964985 10.5807489,1.25394851 10.5482203,1.28535763 C10.5156916,1.31676676 10.4609794,1.3800951 10.4266368,1.42608648 C10.392293,1.47207786 10.356378,1.5204584 10.3468229,1.53359879 L10.3294514,1.55749042 L10.339999,1.50970717 C10.3458012,1.48342638 10.3619594,1.39741653 10.375908,1.31857416 C10.3898566,1.2397318 10.4041729,1.16581708 10.4077208,1.15431924 L10.4141733,1.13341406 L10.1828196,1.13341406 L9.95146594,1.13341406 L9.95146594,1.16220945 C9.95146594,1.1780472 9.93781118,1.27346438 9.92112208,1.37424762 C9.90443298,1.47503205 9.87691282,1.64350027 9.85996613,1.74862342 C9.84301943,1.85374657 9.8129425,2.03651751 9.79312843,2.15478105 C9.77331448,2.2730446 9.74322906,2.44237649 9.72627205,2.53107415 C9.70931504,2.61977181 9.67920475,2.77566467 9.65936022,2.87750272 C9.63951569,2.97934078 9.60656725,3.14598486 9.58614129,3.24782292 C9.56571544,3.34966097 9.54127633,3.46992783 9.53183225,3.515083 C9.52238804,3.56023818 9.51466108,3.6018992 9.51466108,3.60766305 L9.51466108,3.61815148 L9.77371379,3.61814311 L9.77371379,3.61815148 Z M15.9231926,3.61815148 L16.1880687,3.61815148 L16.1880687,3.53834508 L16.1880687,3.4585375 L16.2185916,3.26060494 C16.2353807,3.15174036 16.2630766,2.97934914 16.2801399,2.87751109 C16.2972031,2.77567303 16.3184719,2.64665825 16.3274021,2.59081158 C16.3363336,2.53496491 16.3600011,2.41401355 16.3799983,2.32203079 C16.3999955,2.23004804 16.4249722,2.13059914 16.4355041,2.10103326 C16.4460347,2.07146737 16.4547308,2.04044768 16.4548278,2.03210114 C16.4549492,2.0237546 16.4775041,1.97007848 16.5050034,1.9128222 L16.555003,1.80871922 L16.6209641,1.72243342 L16.6869253,1.63614762 L16.7591146,1.58271997 C16.7988189,1.55333566 16.862664,1.51433975 16.9009912,1.49606385 L16.9706774,1.46283419 L17.1223457,1.46386153 L17.2740141,1.46488886 L17.3337192,1.48376564 L17.3934244,1.50264122 L17.4034867,1.49651779 L17.413549,1.49039556 L17.4140586,1.45227648 C17.4143376,1.43131157 17.4273241,1.35330183 17.4429192,1.27892123 L17.4712752,1.14368388 L17.4393799,1.13139044 C17.4218386,1.12462911 17.3801856,1.1106334 17.3468185,1.10028833 L17.2861512,1.08147964 L17.17695,1.0817544 L17.0677488,1.08202915 L16.9787546,1.11285532 L16.8897605,1.1436803 L16.8229391,1.18334995 L16.7561176,1.22301961 L16.669242,1.3126132 L16.5823676,1.4022068 L16.5356913,1.47170873 C16.5100193,1.50993414 16.4874171,1.53950002 16.4854648,1.5374107 C16.4835113,1.53532018 16.4974648,1.45566431 16.5164719,1.36039645 C16.535479,1.2651286 16.5512658,1.17508703 16.5515534,1.16030409 L16.5520751,1.1334272 L16.327606,1.1334272 L16.1031368,1.1334272 L16.1031368,1.14103908 C16.1031368,1.14522489 16.0919461,1.22182741 16.0782681,1.31126691 C16.0645912,1.40070521 16.0371283,1.57333176 16.0172416,1.6948804 C15.9973536,1.81642905 15.9647218,2.01263902 15.9447271,2.13090257 C15.9247312,2.24916611 15.894588,2.41849801 15.8777419,2.50719567 C15.8608958,2.59589333 15.8309746,2.75178618 15.8112517,2.85362424 C15.7915287,2.95546229 15.7591214,3.11941857 15.7392359,3.21797153 C15.7193504,3.31652448 15.6930086,3.44688316 15.6806992,3.50765749 L15.6583178,3.61815625 L15.9231951,3.61815625 L15.9231926,3.61815148 Z M4.18287366,0.70311036 L4.25654638,0.703373168 L4.31510626,0.683728279 L4.37366602,0.664083389 L4.42549425,0.612324572 L4.47732236,0.56056456 L4.50462182,0.491606161 L4.53192127,0.422646568 L4.5328968,0.32110716 L4.53387233,0.219567752 L4.5096054,0.179918405 L4.48533846,0.140270252 L4.4430896,0.114516275 L4.40084074,0.0887622969 L4.30962145,0.0887622969 L4.21840216,0.0887611023 L4.15629991,0.116134932 L4.09419767,0.143508762 L4.05814865,0.181538257 L4.0220995,0.219567752 L3.99378945,0.285269722 L3.96547928,0.350971692 L3.96012782,0.453313859 L3.95477635,0.555656026 L3.98113328,0.606521296 L4.00749008,0.657385372 L4.05834557,0.680117059 L4.10920094,0.702848746 L4.18287366,0.703111554 L4.18287366,0.70311036 Z\"\n\t\t\t\t\tid=\"path2997\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import amex from './amex';\nimport dinersclub from './dinersclub';\nimport discover from './discover';\nimport hipercard from './hipercard';\nimport jcb from './jcb';\nimport unionpay from './unionpay';\nimport mastercard from './mastercard';\nimport placeholder from './placeholder';\nimport visa from './visa';\nimport troy from './troy';\n\nexport default {\n\tamex,\n\tdinersclub,\n\tdiscover,\n\thipercard,\n\tjcb,\n\tunionpay,\n\tmastercard,\n\tplaceholder,\n\tvisa,\n\ttroy,\n};\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z\"\n\t\t\tfill=\"#047ab1\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z\"\n\t\t\tfill=\"#d42d06\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z\"\n\t\t\tfill=\"#67b637\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\n\t\t<circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\n\t\t<path\n\t\t\td=\"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z\"\n\t\t\tfill=\"#ff5f00\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#D8D8D8\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"0.923076923\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tx=\"16.6153846\"\n\t\t\t\ty=\"3.76470588\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"2.82352941\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"6.46153846\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"11.9230769\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"5.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"18.4615385\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g>\n\t\t<path\n\t\t\ttransform=\"scale(0.6)\"\n\t\t\td=\"m33.6 24h-31.2c-1.325 0-2.4-1.075-2.4-2.4v-19.2c0-1.325 1.075-2.4 2.4-2.4h31.2c1.325 0 2.4 1.075 2.4 2.4v19.2c0 1.325-1.075 2.4-2.4 2.4zm-8.689-15.321c-.07-.002-.151-.004-.233-.004-.213 0-.424.01-.632.028l.027-.002c-.01.03.542 1.996 1.066 3.83l.064.224c1.114 3.896 1.114 3.896.937 4.274-.153.313-.392.565-.686.729l-.008.004-.231.116-.994.019c-.96.02-.998.024-1.12.111-.228.164-.315.425-.489 1.467-.09.55-.16.982-.16 1.006.148.031.318.049.492.049.084 0 .167-.004.249-.012l-.01.001c.214 0 .48 0 .812-.006.17.016.367.025.566.025.484 0 .956-.054 1.409-.157l-.043.008c1.072-.313 1.958-.975 2.55-1.852l.01-.016c.197-.286 5.257-9.732 5.257-9.814-.167-.024-.359-.038-.555-.038-.09 0-.178.003-.267.009l.012-.001h-.594l-1.4.011-.266.132c-.149.071-.277.163-.385.274-.067.08-.528 1.088-1.12 2.445-.344.887-.691 1.622-1.083 2.33l.049-.096c-.022-.046-.218-1.266-.378-2.282-.187-1.218-.366-2.27-.4-2.346-.065-.168-.191-.3-.349-.372l-.004-.002c-.151-.08-.223-.08-1.539-.095h-.553zm-3.77.131c-.043 0-.052.027-.062.071-.027.123-.418 2.354-.418 2.386.042.047.092.087.148.117l.003.001c.41.281.69.725.746 1.237l.001.008c.003.04.005.087.005.134 0 .787-.538 1.448-1.266 1.637l-.012.003c-.136.032-.19.067-.203.131-.035.168-.418 2.357-.418 2.39 0 .006.023.015.179.015.07 0 .16 0 .25-.007 1.958-.11 3.55-1.545 3.9-3.417l.004-.026c.026-.2.041-.431.041-.665 0-.321-.028-.636-.082-.942l.005.032c-.291-1.35-1.207-2.439-2.423-2.964l-.027-.01c-.108-.056-.232-.101-.364-.129l-.01-.002zm-16.966-.136c-.167 0-.603 0-.612.008s-.025.13-.058.32l-.137.758c-.104.588-.179 1.074-.167 1.082s.32.012.621.012h.596l-.012.091c0 .026-.037.211-.085.489l-.185 1.058c-.172.615-.271 1.322-.271 2.051 0 .156.005.31.013.464l-.001-.021c.182 1.082 1.114 1.766 2.624 1.925.198.021.466.031.701.031.038.003.081.004.125.004.138 0 .273-.016.403-.046l-.012.002c.022-.027.413-2.182.418-2.306 0-.052-.069-.068-.386-.088-.778-.043-1.126-.297-1.126-.823 0-.16.367-2.381.457-2.763.013-.059.032-.075.433-.075h.606c.053.003.116.004.179.004.174 0 .344-.012.512-.034l-.019.002c.025-.042.378-2 .378-2.099 0-.037-.198-.047-.847-.047h-.846l.107-.609c.195-1.063.149-1.32-.278-1.527-.214-.107-.231-.107-1.152-.123l-.953-.012-.024.111c-.012.064-.096.525-.183 1.03s-.171.96-.183 1.022l-.024.112zm6-.008-.025.111c-.04.186-1.415 8.014-1.415 8.053.294.026.637.042.983.042.135 0 .27-.002.404-.007l-.019.001h1.369l.04-.21c.025-.111.16-.871.302-1.686.14-.8.297-1.6.342-1.75.238-.867.892-1.541 1.727-1.805l.018-.005c.2-.061.43-.096.668-.096.056 0 .111.002.165.006h-.007c.499 0 .53-.005.545-.08.045-.195.452-2.57.445-2.593-.066-.021-.141-.034-.22-.034-.024 0-.048.001-.072.003h.003c-.006 0-.014 0-.021 0-.16 0-.317.013-.47.038l.017-.002c-.622.133-1.164.417-1.603.813l.003-.003c-.292.27-.546.576-.756.912l-.011.019c-.022.056-.054.104-.094.144.015-.157.037-.297.066-.435l-.004.024c.166-.885.076-1.192-.4-1.371-.269-.047-.578-.074-.894-.074-.058 0-.115.001-.173.003h.008zm9.704-.026h-.141c-.236 0-.467.022-.691.064l.023-.004c-1.274.263-2.314 1.086-2.869 2.195l-.011.024c-.272.488-.432 1.07-.432 1.689 0 .051.001.101.003.151v-.007c-.001.041-.002.09-.002.139 0 .262.024.518.069.767l-.004-.026c.249 1.142.939 2.09 1.879 2.674l.018.01c.276.177.595.325.933.427l.027.007c.025-.018.139-.633.247-1.233l.218-1.213-.103-.08c-.27-.187-.487-.434-.635-.721l-.005-.011c-.099-.162-.157-.359-.157-.569 0-.052.004-.103.01-.153l-.001.006c-.006-.044-.009-.095-.009-.147 0-.2.051-.387.14-.551l-.003.006c.228-.47.651-.815 1.161-.931l.011-.002c.08-.008.151-.031.151-.052 0-.054.4-2.314.422-2.394-.015-.056-.07-.064-.249-.064z\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981\"\n\t\t\tfill=\"#dd2423\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981\"\n\t\t\tfill=\"#16315e\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981\"\n\t\t\tfill=\"#036862\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.42760986.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z\"\n\t\t\tfill=\"#fefefe\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-80.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g id=\"Visa\" transform=\"translate(40.000000, 0.000000)\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t\tx=\"0.25\"\n\t\t\t\t\t\t\ty=\"0.25\"\n\t\t\t\t\t\t\twidth=\"23.5\"\n\t\t\t\t\t\t\theight=\"15.5\"\n\t\t\t\t\t\t\trx=\"2\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.1118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z\"\n\t\t\t\t\t\t\tid=\"Shape\"\n\t\t\t\t\t\t\tfill=\"#171E6C\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","export const DEFAULT_CVC_LENGTH = 3;\nexport const DEFAULT_ZIP_LENGTH = 5;\nexport const DEFAULT_CARD_FORMAT = /(\\d{1,4})/g;\nexport const CARD_TYPES = [\n\t{\n\t\tdisplayName: 'Visa',\n\t\ttype: 'visa',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^4/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Mastercard',\n\t\ttype: 'mastercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'American Express',\n\t\ttype: 'amex',\n\t\tformat: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n\t\tstartPattern: /^3[47]/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 15 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 4,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Diners Club',\n\t\ttype: 'dinersclub',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(36|38|30[0-5])/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 14, 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Discover',\n\t\ttype: 'discover',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(6011|65|64[4-9]|622)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'JCB',\n\t\ttype: 'jcb',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^35/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'UnionPay',\n\t\ttype: 'unionpay',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^62/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVN',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Maestro',\n\t\ttype: 'maestro',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5018|5020|5038|6304|6703|6708|6759|676[1-3])/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 12, 13, 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Elo',\n\t\ttype: 'elo',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern:\n\t\t\t/^(4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVE',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Hipercard',\n\t\ttype: 'hipercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Troy',\n\t\ttype: 'troy',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^9792/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n];\n\nexport const getCardTypeByValue = ( value ) =>\n\tCARD_TYPES.filter( ( cardType ) =>\n\t\tcardType.startPattern.test( value )\n\t)[ 0 ];\nexport const getCardTypeByType = ( type ) =>\n\tCARD_TYPES.filter( ( cardType ) => cardType.type === type )[ 0 ];\n","import * as cardTypes from './cardTypes';\n\nexport const formatCardNumber = ( cardNumber ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( cardNumber );\n\n\tif ( ! cardType ) return ( cardNumber.match( /\\d+/g ) || [] ).join( '' );\n\n\tconst format = cardType.format;\n\tif ( format && format.global ) {\n\t\treturn ( cardNumber.match( format ) || [] ).join( ' ' );\n\t}\n\n\tif ( format ) {\n\t\tconst execResult = format.exec( cardNumber.split( ' ' ).join( '' ) );\n\t\tif ( execResult ) {\n\t\t\treturn execResult\n\t\t\t\t.splice( 1, 3 )\n\t\t\t\t.filter( ( x ) => x )\n\t\t\t\t.join( ' ' );\n\t\t}\n\t}\n\n\treturn cardNumber;\n};\n\nexport const formatExpiry = ( event ) => {\n\tconst eventData = event.nativeEvent && event.nativeEvent.data;\n\tconst prevExpiry = event.target.value.split( ' / ' ).join( '/' );\n\n\tif ( ! prevExpiry ) return null;\n\tlet expiry = prevExpiry;\n\tif ( /^[2-9]$/.test( expiry ) ) {\n\t\texpiry = `0${ expiry }`;\n\t}\n\n\tif ( prevExpiry.length === 2 && +prevExpiry > 12 ) {\n\t\tconst [ head, ...tail ] = prevExpiry.split( '' );\n\t\texpiry = `0${ head }/${ tail.join( '' ) }`;\n\t}\n\n\tif ( /^1[/-]$/.test( expiry ) ) {\n\t\treturn `01 / `;\n\t}\n\n\texpiry = expiry.match( /(\\d{1,2})/g ) || [];\n\tif ( expiry.length === 1 ) {\n\t\tif ( ! eventData && prevExpiry.includes( '/' ) ) {\n\t\t\treturn expiry[ 0 ];\n\t\t}\n\t\tif ( /\\d{2}/.test( expiry ) ) {\n\t\t\treturn `${ expiry[ 0 ] } / `;\n\t\t}\n\t}\n\tif ( expiry.length > 2 ) {\n\t\tconst [ , month = null, year = null ] =\n\t\t\texpiry.join( '' ).match( /^(\\d{2}).*(\\d{2})$/ ) || [];\n\t\treturn [ month, year ].join( ' / ' );\n\t}\n\treturn expiry.join( ' / ' );\n};\n","import * as cardTypes from './cardTypes';\nimport * as formatter from './formatter';\nimport * as validator from './validator';\n\nexport const BACKSPACE_KEY_CODE = 'Backspace';\nexport const ENTER_KEY_CODE = 'Enter';\n\nexport const isHighlighted = () =>\n\t( window.getSelection() || { type: undefined } ).type === 'Range';\n\nexport default {\n\tcardTypes,\n\tformatter,\n\tvalidator,\n\tBACKSPACE_KEY_CODE,\n\tENTER_KEY_CODE,\n\tisHighlighted,\n};\n","import * as cardTypes from './cardTypes';\n\nconst MONTH_REGEX = /(0[1-9]|1[0-2])/;\n\nexport const EMPTY_CARD_NUMBER = 'Enter a card number';\nexport const EMPTY_EXPIRY_DATE = 'Enter an expiry date';\nexport const EMPTY_CVC = 'Enter a CVC';\nexport const EMPTY_ZIP = 'Enter a ZIP code';\nexport const EMPTY_ADDRESS = 'Enter an Address';\n\nexport const INVALID_CARD_NUMBER = 'Card number is invalid';\nexport const INVALID_EXPIRY_DATE = 'Expiry date is invalid';\nexport const INVALID_CVC = 'CVC is invalid';\nexport const INVALID_ZIP = 'Zip is invalid';\n\nexport const MONTH_OUT_OF_RANGE = 'Expiry month must be between 01 and 12';\nexport const YEAR_OUT_OF_RANGE = 'Expiry year cannot be in the past';\nexport const DATE_OUT_OF_RANGE = 'Expiry date cannot be in the past';\n\nexport const hasCardNumberReachedMaxLength = ( currentValue ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( currentValue );\n\treturn (\n\t\tcardType &&\n\t\tcurrentValue.length >= cardType.lengths[ cardType.lengths.length - 1 ]\n\t);\n};\n\nexport const isNumeric = ( e ) => {\n\treturn /^\\d*$/.test( e.key );\n};\n\nexport const validateLuhn = ( cardNumber ) => {\n\treturn (\n\t\tcardNumber\n\t\t\t.split( '' )\n\t\t\t.reverse()\n\t\t\t.map( ( digit ) => parseInt( digit, 10 ) )\n\t\t\t.map( ( digit, idx ) => ( idx % 2 ? digit * 2 : digit ) )\n\t\t\t.map( ( digit ) => ( digit > 9 ? ( digit % 10 ) + 1 : digit ) )\n\t\t\t.reduce( ( accum, digit ) => ( accum += digit ) ) %\n\t\t\t10 ===\n\t\t0\n\t);\n};\nexport const getCardNumberError = (\n\tcardNumber,\n\tcardNumberValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! cardNumber ) {\n\t\treturn errorMessages.emptyCardNumber || EMPTY_CARD_NUMBER;\n\t}\n\n\tconst rawCardNumber = cardNumber.replace( /\\s/g, '' );\n\tconst cardType = cardTypes.getCardTypeByValue( rawCardNumber );\n\tif ( cardType && cardType.lengths ) {\n\t\tconst doesCardNumberMatchLength = cardType.lengths.includes(\n\t\t\trawCardNumber.length\n\t\t);\n\t\tif ( doesCardNumberMatchLength ) {\n\t\t\tconst isLuhnValid = validateLuhn( rawCardNumber );\n\t\t\tif ( isLuhnValid ) {\n\t\t\t\tif ( cardNumberValidator ) {\n\t\t\t\t\treturn cardNumberValidator( {\n\t\t\t\t\t\tcardNumber: rawCardNumber,\n\t\t\t\t\t\tcardType,\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\treturn errorMessages.invalidCardNumber || INVALID_CARD_NUMBER;\n};\nexport const getExpiryDateError = (\n\texpiryDate,\n\texpiryValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! expiryDate ) {\n\t\treturn errorMessages.emptyExpiryDate || EMPTY_EXPIRY_DATE;\n\t}\n\tconst rawExpiryDate = expiryDate.replace( ' / ', '' ).replace( '/', '' );\n\tif ( rawExpiryDate.length === 4 ) {\n\t\tconst month = rawExpiryDate.slice( 0, 2 );\n\t\tconst year = `20${ rawExpiryDate.slice( 2, 4 ) }`;\n\t\tif ( ! MONTH_REGEX.test( month ) ) {\n\t\t\treturn errorMessages.monthOutOfRange || MONTH_OUT_OF_RANGE;\n\t\t}\n\t\tif ( parseInt( year ) < new Date().getFullYear() ) {\n\t\t\treturn errorMessages.yearOutOfRange || YEAR_OUT_OF_RANGE;\n\t\t}\n\t\tif (\n\t\t\tparseInt( year ) === new Date().getFullYear() &&\n\t\t\tparseInt( month ) < new Date().getMonth() + 1\n\t\t) {\n\t\t\treturn errorMessages.dateOutOfRange || DATE_OUT_OF_RANGE;\n\t\t}\n\t\tif ( expiryValidator ) {\n\t\t\treturn expiryValidator( {\n\t\t\t\texpiryDate: { month, year },\n\t\t\t\terrorMessages,\n\t\t\t} );\n\t\t}\n\t\treturn;\n\t}\n\treturn errorMessages.invalidExpiryDate || INVALID_EXPIRY_DATE;\n};\nexport const getCVCError = (\n\tcvc,\n\tcvcValidator,\n\t{ cardType, errorMessages = {} } = {}\n) => {\n\tif ( ! cvc ) {\n\t\treturn errorMessages.emptyCVC || EMPTY_CVC;\n\t}\n\tif ( cvc.length < 3 ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cardType && cvc.length !== cardType.code.length ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cvcValidator ) {\n\t\treturn cvcValidator( { cvc, cardType, errorMessages } );\n\t}\n\treturn;\n};\nexport const getZIPError = ( zip, { errorMessages = {} } = {} ) => {\n\tif ( ! zip ) {\n\t\treturn errorMessages.emptyZIP || EMPTY_ZIP;\n\t}\n\tif ( zip.length <= 3 ) {\n\t\treturn errorMessages.invalidAddress || INVALID_ZIP;\n\t}\n\treturn;\n};\n\nexport const getAddressError = ( address, { errorMessages = {} } = {} ) => {\n\tif ( ! address ) {\n\t\treturn errorMessages.emptyAddress || EMPTY_ADDRESS;\n\t}\n\treturn;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n  (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n  if (maybeIterable === null || typeof maybeIterable !== 'object') {\n    return null;\n  }\n\n  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n  if (typeof maybeIterator === 'function') {\n    return maybeIterator;\n  }\n\n  return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n  {\n    {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      printWarning('error', format, args);\n    }\n  }\n}\n\nfunction printWarning(level, format, args) {\n  // When changing this logic, you might want to also\n  // update consoleWithStackDev.www.js as well.\n  {\n    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n    var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n    if (stack !== '') {\n      format += '%s';\n      args = args.concat([stack]);\n    } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n    var argsWithFormat = args.map(function (item) {\n      return String(item);\n    }); // Careful: RN currently depends on this prefix\n\n    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n    // breaks IE9: https://github.com/facebook/react/issues/13610\n    // eslint-disable-next-line react-internal/no-production-logging\n\n    Function.prototype.apply.call(console[level], console, argsWithFormat);\n  }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n    // types supported by any Flight configuration anywhere since\n    // we don't know which Flight build this will end up being used\n    // with.\n    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n  var displayName = outerType.displayName;\n\n  if (displayName) {\n    return displayName;\n  }\n\n  var functionName = innerType.displayName || innerType.name || '';\n  return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n  return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n  if (type == null) {\n    // Host root, text node or just invalid type.\n    return null;\n  }\n\n  {\n    if (typeof type.tag === 'number') {\n      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n    }\n  }\n\n  if (typeof type === 'function') {\n    return type.displayName || type.name || null;\n  }\n\n  if (typeof type === 'string') {\n    return type;\n  }\n\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return 'Fragment';\n\n    case REACT_PORTAL_TYPE:\n      return 'Portal';\n\n    case REACT_PROFILER_TYPE:\n      return 'Profiler';\n\n    case REACT_STRICT_MODE_TYPE:\n      return 'StrictMode';\n\n    case REACT_SUSPENSE_TYPE:\n      return 'Suspense';\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return 'SuspenseList';\n\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_CONTEXT_TYPE:\n        var context = type;\n        return getContextName(context) + '.Consumer';\n\n      case REACT_PROVIDER_TYPE:\n        var provider = type;\n        return getContextName(provider._context) + '.Provider';\n\n      case REACT_FORWARD_REF_TYPE:\n        return getWrappedName(type, type.render, 'ForwardRef');\n\n      case REACT_MEMO_TYPE:\n        var outerName = type.displayName || null;\n\n        if (outerName !== null) {\n          return outerName;\n        }\n\n        return getComponentNameFromType(type.type) || 'Memo';\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            return getComponentNameFromType(init(payload));\n          } catch (x) {\n            return null;\n          }\n        }\n\n      // eslint-disable-next-line no-fallthrough\n    }\n  }\n\n  return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n  {\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      prevLog = console.log;\n      prevInfo = console.info;\n      prevWarn = console.warn;\n      prevError = console.error;\n      prevGroup = console.group;\n      prevGroupCollapsed = console.groupCollapsed;\n      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n      var props = {\n        configurable: true,\n        enumerable: true,\n        value: disabledLog,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        info: props,\n        log: props,\n        warn: props,\n        error: props,\n        group: props,\n        groupCollapsed: props,\n        groupEnd: props\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    disabledDepth++;\n  }\n}\nfunction reenableLogs() {\n  {\n    disabledDepth--;\n\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      var props = {\n        configurable: true,\n        enumerable: true,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        log: assign({}, props, {\n          value: prevLog\n        }),\n        info: assign({}, props, {\n          value: prevInfo\n        }),\n        warn: assign({}, props, {\n          value: prevWarn\n        }),\n        error: assign({}, props, {\n          value: prevError\n        }),\n        group: assign({}, props, {\n          value: prevGroup\n        }),\n        groupCollapsed: assign({}, props, {\n          value: prevGroupCollapsed\n        }),\n        groupEnd: assign({}, props, {\n          value: prevGroupEnd\n        })\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    if (disabledDepth < 0) {\n      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n    }\n  }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n  {\n    if (prefix === undefined) {\n      // Extract the VM specific prefix used by each line.\n      try {\n        throw Error();\n      } catch (x) {\n        var match = x.stack.trim().match(/\\n( *(at )?)/);\n        prefix = match && match[1] || '';\n      }\n    } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n    return '\\n' + prefix + name;\n  }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n  componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n  // If something asked for a stack inside a fake render, it should get ignored.\n  if ( !fn || reentry) {\n    return '';\n  }\n\n  {\n    var frame = componentFrameCache.get(fn);\n\n    if (frame !== undefined) {\n      return frame;\n    }\n  }\n\n  var control;\n  reentry = true;\n  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n  Error.prepareStackTrace = undefined;\n  var previousDispatcher;\n\n  {\n    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n    // for warnings.\n\n    ReactCurrentDispatcher.current = null;\n    disableLogs();\n  }\n\n  try {\n    // This should throw.\n    if (construct) {\n      // Something should be setting the props in the constructor.\n      var Fake = function () {\n        throw Error();\n      }; // $FlowFixMe\n\n\n      Object.defineProperty(Fake.prototype, 'props', {\n        set: function () {\n          // We use a throwing setter instead of frozen or non-writable props\n          // because that won't throw in a non-strict mode function.\n          throw Error();\n        }\n      });\n\n      if (typeof Reflect === 'object' && Reflect.construct) {\n        // We construct a different control for this case to include any extra\n        // frames added by the construct call.\n        try {\n          Reflect.construct(Fake, []);\n        } catch (x) {\n          control = x;\n        }\n\n        Reflect.construct(fn, [], Fake);\n      } else {\n        try {\n          Fake.call();\n        } catch (x) {\n          control = x;\n        }\n\n        fn.call(Fake.prototype);\n      }\n    } else {\n      try {\n        throw Error();\n      } catch (x) {\n        control = x;\n      }\n\n      fn();\n    }\n  } catch (sample) {\n    // This is inlined manually because closure doesn't do it for us.\n    if (sample && control && typeof sample.stack === 'string') {\n      // This extracts the first frame from the sample that isn't also in the control.\n      // Skipping one frame that we assume is the frame that calls the two.\n      var sampleLines = sample.stack.split('\\n');\n      var controlLines = control.stack.split('\\n');\n      var s = sampleLines.length - 1;\n      var c = controlLines.length - 1;\n\n      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n        // We expect at least one stack frame to be shared.\n        // Typically this will be the root most one. However, stack frames may be\n        // cut off due to maximum stack limits. In this case, one maybe cut off\n        // earlier than the other. We assume that the sample is longer or the same\n        // and there for cut off earlier. So we should find the root most frame in\n        // the sample somewhere in the control.\n        c--;\n      }\n\n      for (; s >= 1 && c >= 0; s--, c--) {\n        // Next we find the first one that isn't the same which should be the\n        // frame that called our sample function and the control.\n        if (sampleLines[s] !== controlLines[c]) {\n          // In V8, the first line is describing the message but other VMs don't.\n          // If we're about to return the first line, and the control is also on the same\n          // line, that's a pretty good indicator that our sample threw at same line as\n          // the control. I.e. before we entered the sample frame. So we ignore this result.\n          // This can happen if you passed a class to function component, or non-function.\n          if (s !== 1 || c !== 1) {\n            do {\n              s--;\n              c--; // We may still have similar intermediate frames from the construct call.\n              // The next one that isn't the same should be our match though.\n\n              if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n                // but we have a user-provided \"displayName\"\n                // splice it in to make the stack more readable.\n\n\n                if (fn.displayName && _frame.includes('<anonymous>')) {\n                  _frame = _frame.replace('<anonymous>', fn.displayName);\n                }\n\n                {\n                  if (typeof fn === 'function') {\n                    componentFrameCache.set(fn, _frame);\n                  }\n                } // Return the line we found.\n\n\n                return _frame;\n              }\n            } while (s >= 1 && c >= 0);\n          }\n\n          break;\n        }\n      }\n    }\n  } finally {\n    reentry = false;\n\n    {\n      ReactCurrentDispatcher.current = previousDispatcher;\n      reenableLogs();\n    }\n\n    Error.prepareStackTrace = previousPrepareStackTrace;\n  } // Fallback to just using the name if we couldn't make it throw.\n\n\n  var name = fn ? fn.displayName || fn.name : '';\n  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n  {\n    if (typeof fn === 'function') {\n      componentFrameCache.set(fn, syntheticFrame);\n    }\n  }\n\n  return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n  {\n    return describeNativeComponentFrame(fn, false);\n  }\n}\n\nfunction shouldConstruct(Component) {\n  var prototype = Component.prototype;\n  return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n  if (type == null) {\n    return '';\n  }\n\n  if (typeof type === 'function') {\n    {\n      return describeNativeComponentFrame(type, shouldConstruct(type));\n    }\n  }\n\n  if (typeof type === 'string') {\n    return describeBuiltInComponentFrame(type);\n  }\n\n  switch (type) {\n    case REACT_SUSPENSE_TYPE:\n      return describeBuiltInComponentFrame('Suspense');\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return describeBuiltInComponentFrame('SuspenseList');\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_FORWARD_REF_TYPE:\n        return describeFunctionComponentFrame(type.render);\n\n      case REACT_MEMO_TYPE:\n        // Memo may contain any component type so we recursively resolve it.\n        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            // Lazy may contain any component type so we recursively resolve it.\n            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n          } catch (x) {}\n        }\n    }\n  }\n\n  return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame.setExtraStackFrame(null);\n    }\n  }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n  {\n    // $FlowFixMe This is okay but Flow doesn't know it.\n    var has = Function.call.bind(hasOwnProperty);\n\n    for (var typeSpecName in typeSpecs) {\n      if (has(typeSpecs, typeSpecName)) {\n        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            // eslint-disable-next-line react-internal/prod-error-codes\n            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n\n          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n        } catch (ex) {\n          error$1 = ex;\n        }\n\n        if (error$1 && !(error$1 instanceof Error)) {\n          setCurrentlyValidatingElement(element);\n\n          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n          setCurrentlyValidatingElement(null);\n        }\n\n        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error$1.message] = true;\n          setCurrentlyValidatingElement(element);\n\n          error('Failed %s type: %s', location, error$1.message);\n\n          setCurrentlyValidatingElement(null);\n        }\n      }\n    }\n  }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n  return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n  {\n    // toStringTag is needed for namespaced types like Temporal.Instant\n    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n    return type;\n  }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n  {\n    try {\n      testStringCoercion(value);\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n}\n\nfunction testStringCoercion(value) {\n  // If you ended up here by following an exception call stack, here's what's\n  // happened: you supplied an object or symbol value to React (as a prop, key,\n  // DOM attribute, CSS property, string ref, etc.) and when React tried to\n  // coerce it to a string using `'' + value`, an exception was thrown.\n  //\n  // The most common types that will cause this exception are `Symbol` instances\n  // and Temporal objects like `Temporal.Instant`. But any object that has a\n  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n  // exception. (Library authors do this to prevent users from using built-in\n  // numeric operators like `+` or comparison operators like `>=` because custom\n  // methods are needed to perform accurate arithmetic or comparison.)\n  //\n  // To fix the problem, coerce this object or symbol value to a string before\n  // passing it to React. The most reliable way is usually `String(value)`.\n  //\n  // To find which value is throwing, check the browser or debugger console.\n  // Before this exception was thrown, there should be `console.error` output\n  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n  // problem and how that type was used: key, atrribute, input value prop, etc.\n  // In most cases, this console output also shows the component and its\n  // ancestor components where the exception happened.\n  //\n  // eslint-disable-next-line react-internal/safe-string-coercion\n  return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n  {\n    if (willCoercionThrow(value)) {\n      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n    }\n  }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n  key: true,\n  ref: true,\n  __self: true,\n  __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n  didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n  {\n    if (hasOwnProperty.call(config, 'ref')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n  {\n    if (hasOwnProperty.call(config, 'key')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n  {\n    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n      if (!didWarnAboutStringRefs[componentName]) {\n        error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n        didWarnAboutStringRefs[componentName] = true;\n      }\n    }\n  }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingKey = function () {\n      if (!specialPropKeyWarningShown) {\n        specialPropKeyWarningShown = true;\n\n        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, 'key', {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingRef = function () {\n      if (!specialPropRefWarningShown) {\n        specialPropRefWarningShown = true;\n\n        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, 'ref', {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n  var element = {\n    // This tag allows us to uniquely identify this as a React Element\n    $$typeof: REACT_ELEMENT_TYPE,\n    // Built-in properties that belong on the element\n    type: type,\n    key: key,\n    ref: ref,\n    props: props,\n    // Record the component responsible for creating this element.\n    _owner: owner\n  };\n\n  {\n    // The validation flag is currently mutative. We put it on\n    // an external backing store so that we can freeze the whole object.\n    // This can be replaced with a WeakMap once they are implemented in\n    // commonly used development environments.\n    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n    // the validation flag non-enumerable (where possible, which should\n    // include every environment we run tests in), so the test framework\n    // ignores it.\n\n    Object.defineProperty(element._store, 'validated', {\n      configurable: false,\n      enumerable: false,\n      writable: true,\n      value: false\n    }); // self and source are DEV only properties.\n\n    Object.defineProperty(element, '_self', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: self\n    }); // Two elements created in two different places should be considered\n    // equal for testing purposes and therefore we hide it from enumeration.\n\n    Object.defineProperty(element, '_source', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: source\n    });\n\n    if (Object.freeze) {\n      Object.freeze(element.props);\n      Object.freeze(element);\n    }\n  }\n\n  return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n  {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n    // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n    // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n    // but as an intermediary step, we will use jsxDEV for everything except\n    // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n    // key is explicitly declared to be undefined or not.\n\n    if (maybeKey !== undefined) {\n      {\n        checkKeyStringCoercion(maybeKey);\n      }\n\n      key = '' + maybeKey;\n    }\n\n    if (hasValidKey(config)) {\n      {\n        checkKeyStringCoercion(config.key);\n      }\n\n      key = '' + config.key;\n    }\n\n    if (hasValidRef(config)) {\n      ref = config.ref;\n      warnIfStringRefCannotBeAutoConverted(config, self);\n    } // Remaining properties are added to a new props object\n\n\n    for (propName in config) {\n      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n        props[propName] = config[propName];\n      }\n    } // Resolve default props\n\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n\n    if (key || ref) {\n      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n      if (key) {\n        defineKeyPropWarningGetter(props, displayName);\n      }\n\n      if (ref) {\n        defineRefPropWarningGetter(props, displayName);\n      }\n    }\n\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n    }\n  }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n  propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n  {\n    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n}\n\nfunction getDeclarationErrorAddendum() {\n  {\n    if (ReactCurrentOwner$1.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n      if (name) {\n        return '\\n\\nCheck the render method of `' + name + '`.';\n      }\n    }\n\n    return '';\n  }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n  {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n      var lineNumber = source.lineNumber;\n      return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n    }\n\n    return '';\n  }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n  {\n    var info = getDeclarationErrorAddendum();\n\n    if (!info) {\n      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n\n    return info;\n  }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n  {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = '';\n\n    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n\n    setCurrentlyValidatingElement$1(element);\n\n    error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n    setCurrentlyValidatingElement$1(null);\n  }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n  {\n    if (typeof node !== 'object') {\n      return;\n    }\n\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n\n      if (typeof iteratorFn === 'function') {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n  {\n    var type = element.type;\n\n    if (type === null || type === undefined || typeof type === 'string') {\n      return;\n    }\n\n    var propTypes;\n\n    if (typeof type === 'function') {\n      propTypes = type.propTypes;\n    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n    // Inner props are checked in the reconciler.\n    type.$$typeof === REACT_MEMO_TYPE)) {\n      propTypes = type.propTypes;\n    } else {\n      return;\n    }\n\n    if (propTypes) {\n      // Intentionally inside to avoid triggering lazy initializers:\n      var name = getComponentNameFromType(type);\n      checkPropTypes(propTypes, element.props, 'prop', name, element);\n    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n      var _name = getComponentNameFromType(type);\n\n      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n    }\n\n    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n    }\n  }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n  {\n    var keys = Object.keys(fragment.props);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n\n      if (key !== 'children' && key !== 'key') {\n        setCurrentlyValidatingElement$1(fragment);\n\n        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n        setCurrentlyValidatingElement$1(null);\n        break;\n      }\n    }\n\n    if (fragment.ref !== null) {\n      setCurrentlyValidatingElement$1(fragment);\n\n      error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n  {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = '';\n\n      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n        info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n\n      var sourceInfo = getSourceInfoErrorAddendum(source);\n\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n\n      var typeString;\n\n      if (type === null) {\n        typeString = 'null';\n      } else if (isArray(type)) {\n        typeString = 'array';\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n        info = ' Did you accidentally export a JSX literal instead of a component?';\n      } else {\n        typeString = typeof type;\n      }\n\n      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n    }\n\n    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n\n    if (validType) {\n      var children = props.children;\n\n      if (children !== undefined) {\n        if (isStaticChildren) {\n          if (isArray(children)) {\n            for (var i = 0; i < children.length; i++) {\n              validateChildKeys(children[i], type);\n            }\n\n            if (Object.freeze) {\n              Object.freeze(children);\n            }\n          } else {\n            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n          }\n        } else {\n          validateChildKeys(children, type);\n        }\n      }\n    }\n\n    {\n      if (hasOwnProperty.call(props, 'key')) {\n        var componentName = getComponentNameFromType(type);\n        var keys = Object.keys(props).filter(function (k) {\n          return k !== 'key';\n        });\n        var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n        if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n          var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n          error('A props object containing a \"key\" prop is being spread into JSX:\\n' + '  let props = %s;\\n' + '  <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + '  let props = %s;\\n' + '  <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n          didWarnAboutKeySpread[componentName + beforeExample] = true;\n        }\n      }\n    }\n\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n\n    return element;\n  }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, true);\n  }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, false);\n  }\n}\n\nvar jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs =  jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n  })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n  var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n  if (ret !== void 0) {\n    return !!ret;\n  }\n\n  if (objA === objB) {\n    return true;\n  }\n\n  if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n    return false;\n  }\n\n  var keysA = Object.keys(objA);\n  var keysB = Object.keys(objB);\n\n  if (keysA.length !== keysB.length) {\n    return false;\n  }\n\n  var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n  // Test for A's keys different from B.\n  for (var idx = 0; idx < keysA.length; idx++) {\n    var key = keysA[idx];\n\n    if (!bHasOwnProperty(key)) {\n      return false;\n    }\n\n    var valueA = objA[key];\n    var valueB = objB[key];\n\n    ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n    if (ret === false || (ret === void 0 && valueA !== valueB)) {\n      return false;\n    }\n  }\n\n  return true;\n};\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.13\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,e([t],n,!1))},r(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"use\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"tspan\"]),O=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}function se(e){return\"object\"==typeof e&&\"styledComponentId\"in e}function ie(e,t){return e&&t?\"\".concat(e,\" \").concat(t):e||t||\"\"}function ae(e,t){if(0===e.length)return\"\";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,\"toString\",{value:t})}var pe=\"production\"!==process.env.NODE_ENV?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`\"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return\"production\"===process.env.NODE_ENV?new Error(\"An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#\".concat(t,\" for more information.\").concat(n.length>0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=\"\".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if(\"production\"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,\"\".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),Ee=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ne=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement(\"style\"),r=function(e){var t=Array.from(e.querySelectorAll(\"style[\".concat(f,\"]\")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute(\"nonce\",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:\"\"},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:\"\"},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=t(t({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o=\"\",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return\"continue\";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return\"continue\";var a=\"\".concat(f,\".g\").concat(n,'[id=\"').concat(r,'\"]'),c=\"\";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(t(t({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\\s*\\/\\/.*$/gm;function Ve(e,t){return e.map(function(e){return\"rule\"===e.type&&(e.value=\"\".concat(t,\" \").concat(e.value),e.value=e.value.replaceAll(\",\",\",\".concat(t,\" \")),e.props=e.props.map(function(e){return\"\".concat(t,\" \").concat(e)})),Array.isArray(e.children)&&\"@keyframes\"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,\"\").length>0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(xe,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=o.createContext(void 0);function Ge(){return c($e)}function Ye(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement($e.Provider,{value:d},o.createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>=\"A\"&&e<=\"Z\"};function He(e){for(var t=\"\",n=0;n<e.length;n++){var o=e[n];if(1===n&&\"-\"===o&&\"-\"===e[0])return e;qe(o)?t+=\"-\"+o.toLowerCase():t+=o}return t.startsWith(\"ms-\")?\"-\"+t:t}var Ue=function(e){return null==e||!1===e||\"\"===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push(\"\".concat(He(s),\":\"),i,\";\"):ce(i)?r.push.apply(r,e(e([\"\".concat(s,\" {\")],Je(i),!1),[\"}\"],!1)):r.push(\"\".concat(He(s),\": \").concat((n=s,null==(o=i)||\"boolean\"==typeof o||\"\"===o?\"\":\"number\"!=typeof o||0===o||n in h||n.startsWith(\"--\")?String(o).trim():\"\".concat(o,\"px\")),\";\")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[\".\".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return\"production\"===process.env.NODE_ENV||\"object\"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error(\"\".concat(B(e),\" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId=\"\",this.isStatic=\"production\"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l<this.rules.length;l++){var u=this.rules[l];if(\"string\"==typeof u)c+=u,\"production\"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=o.createContext(void 0),tt=et.Consumer;function nt(){var e=c(et);if(!e)throw he(18);return e}function ot(e){var n=o.useContext(et),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);rt[n]=(rt[n]||0)+1;var o=\"\".concat(n,\"-\").concat($(v+n+rt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]=\"className\"===c?ie(s[c],a[c]):\"style\"===c?t(t({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||\"$\"===b[0]||\"as\"===b||\"theme\"===b&&g.theme===v||(\"forwardedAs\"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||\"development\"!==process.env.NODE_ENV||n(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop \"'.concat(b,'\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}),\"production\"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n  const Component = styled.div.attrs(props => ({\\n    style: {\\n      background: props.background,\\n    },\\n  }))`width: 100%;`\\n\\n  <Component />\"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,e([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&\"string\"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,e([t],s,!1)))};return s.attrs=function(e){return ut(n,o,t(t({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,t(t({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),\"\"),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,e([n],r,!1)),a=\"sc-global-\".concat($(JSON.stringify(i))),c=new ht(i,a);\"production\"!==process.env.NODE_ENV&&P(a);var l=function(e){var t=Ge(),n=o.useContext(et),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return\"production\"!==process.env.NODE_ENV&&o.Children.count(e.children)&&console.warn(\"The global style component \".concat(a,\" was given child JSX. createGlobalStyle does not render children.\")),\"production\"!==process.env.NODE_ENV&&i.some(function(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@import\")})&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");var r=ae(lt.apply(void 0,e([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=o.forwardRef(function(n,r){var s=I(n,o.useContext(et),e.defaultProps);return\"production\"!==process.env.NODE_ENV&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"'.concat(B(e),'\"')),o.createElement(e,t({},n,{theme:s,ref:r}))});return n.displayName=\"WithTheme(\".concat(B(e),\")\"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=Ce(),o=ae([n&&'nonce=\"'.concat(n,'\"'),\"\".concat(f,'=\"true\"'),\"\".concat(y,'=\"').concat(v,'\"')].filter(Boolean),\" \");return\"<style \".concat(o,\">\").concat(t,\"</style>\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[o.createElement(\"style\",t({},s,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var St=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[St]+=1);export{vt as ServerStyleSheet,Be as StyleSheetConsumer,$e as StyleSheetContext,Ye as StyleSheetManager,tt as ThemeConsumer,et as ThemeContext,ot as ThemeProvider,gt as __PRIVATE__,ft as createGlobalStyle,lt as css,dt as default,se as isStyledComponent,mt as keyframes,dt as styled,nt as useTheme,v as version,yt as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","module.exports = window[\"React\"];","module.exports = window[\"wc\"][\"blocksCheckout\"];","module.exports = window[\"wc\"][\"wcBlocksData\"];","module.exports = window[\"wc\"][\"wcBlocksRegistry\"];","module.exports = window[\"wc\"][\"wcSettings\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"htmlEntities\"];","module.exports = window[\"wp\"][\"i18n\"];","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf ||\n      ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n      function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n  return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n      throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() { this.constructor = d; }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n  __assign = Object.assign || function __assign(t) {\n      for (var s, i = 1, n = arguments.length; i < n; i++) {\n          s = arguments[i];\n          for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n      }\n      return t;\n  }\n  return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n      for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n          if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n              t[p[i]] = s[p[i]];\n      }\n  return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n  return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n  function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n  var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n  var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n  var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n  var _, done = false;\n  for (var i = decorators.length - 1; i >= 0; i--) {\n      var context = {};\n      for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n      for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n      context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n      var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n      if (kind === \"accessor\") {\n          if (result === void 0) continue;\n          if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n          if (_ = accept(result.get)) descriptor.get = _;\n          if (_ = accept(result.set)) descriptor.set = _;\n          if (_ = accept(result.init)) initializers.unshift(_);\n      }\n      else if (_ = accept(result)) {\n          if (kind === \"field\") initializers.unshift(_);\n          else descriptor[key] = _;\n      }\n  }\n  if (target) Object.defineProperty(target, contextIn.name, descriptor);\n  done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n  var useValue = arguments.length > 2;\n  for (var i = 0; i < initializers.length; i++) {\n      value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n  }\n  return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n  return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n  if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n  return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n  if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n  return new (P || (P = Promise))(function (resolve, reject) {\n      function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n      function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n      function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\n\nexport function __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n  return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n  function verb(n) { return function (v) { return step([n, v]); }; }\n  function step(op) {\n      if (f) throw new TypeError(\"Generator is already executing.\");\n      while (g && (g = 0, op[0] && (_ = 0)), _) try {\n          if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n          if (y = 0, t) op = [op[0] & 2, t.value];\n          switch (op[0]) {\n              case 0: case 1: t = op; break;\n              case 4: _.label++; return { value: op[1], done: false };\n              case 5: _.label++; y = op[1]; op = [0]; continue;\n              case 7: op = _.ops.pop(); _.trys.pop(); continue;\n              default:\n                  if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                  if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                  if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                  if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                  if (t[2]) _.ops.pop();\n                  _.trys.pop(); continue;\n          }\n          op = body.call(thisArg, _);\n      } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n      if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  var desc = Object.getOwnPropertyDescriptor(m, k);\n  if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n  }\n  Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n  for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m) return m.call(o);\n  if (o && typeof o.length === \"number\") return {\n      next: function () {\n          if (o && i >= o.length) o = void 0;\n          return { value: o && o[i++], done: !o };\n      }\n  };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m) return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n      while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n  }\n  catch (error) { e = { error: error }; }\n  finally {\n      try {\n          if (r && !r.done && (m = i[\"return\"])) m.call(i);\n      }\n      finally { if (e) throw e.error; }\n  }\n  return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n  for (var ar = [], i = 0; i < arguments.length; i++)\n      ar = ar.concat(__read(arguments[i]));\n  return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n  for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n  for (var r = Array(s), k = 0, i = 0; i < il; i++)\n      for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n          r[k] = a[j];\n  return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n          if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n          ar[i] = from[i];\n      }\n  }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n  return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var g = generator.apply(thisArg, _arguments || []), i, q = [];\n  return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n  function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n  function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n  function fulfill(value) { resume(\"next\", value); }\n  function reject(value) { resume(\"throw\", value); }\n  function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n  var i, p;\n  return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n  function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var m = o[Symbol.asyncIterator], i;\n  return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n  function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n  function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n  if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n  return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n  Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n  o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n  if (mod && mod.__esModule) return mod;\n  var result = {};\n  if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n  __setModuleDefault(result, mod);\n  return result;\n}\n\nexport function __importDefault(mod) {\n  return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n  return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n  if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n  return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n  if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n  return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n  if (value !== null && value !== void 0) {\n    if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n    var dispose;\n    if (async) {\n        if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n        dispose = value[Symbol.asyncDispose];\n    }\n    if (dispose === void 0) {\n        if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n        dispose = value[Symbol.dispose];\n    }\n    if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n    env.stack.push({ value: value, dispose: dispose, async: async });\n  }\n  else if (async) {\n    env.stack.push({ async: true });\n  }\n  return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n  function fail(e) {\n    env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n    env.hasError = true;\n  }\n  function next() {\n    while (env.stack.length) {\n      var rec = env.stack.pop();\n      try {\n        var result = rec.dispose && rec.dispose.call(rec.value);\n        if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n      }\n      catch (e) {\n          fail(e);\n      }\n    }\n    if (env.hasError) throw env.error;\n  }\n  return next();\n}\n\nexport default {\n  __extends,\n  __assign,\n  __rest,\n  __decorate,\n  __param,\n  __metadata,\n  __awaiter,\n  __generator,\n  __createBinding,\n  __exportStar,\n  __values,\n  __read,\n  __spread,\n  __spreadArrays,\n  __spreadArray,\n  __await,\n  __asyncGenerator,\n  __asyncDelegator,\n  __asyncValues,\n  __makeTemplateObject,\n  __importStar,\n  __importDefault,\n  __classPrivateFieldGet,\n  __classPrivateFieldSet,\n  __classPrivateFieldIn,\n  __addDisposableResource,\n  __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","import { useEffect, useState } from 'react';\nimport { sprintf, __ } from '@wordpress/i18n';\nimport { registerPaymentMethod } from '@woocommerce/blocks-registry';\nimport { decodeEntities } from '@wordpress/html-entities';\nimport { getSetting } from '@woocommerce/settings';\nimport { usePaymentInputs } from './hooks';\nimport { PaymentInputsWrapper, TermsCheckbox } from './components';\nimport images from './images';\nimport { PAYMENT_STORE_KEY } from '@woocommerce/block-data';\nimport { subscribe, select, dispatch } from '@wordpress/data';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nconst settings = getSetting( 'wc_valorpay_data', {} );\nif ( settings && ! settings.is_not_blocked ) {\n\tdispatch( 'core/notices' ).createErrorNotice(\n\t\t__(\n\t\t\t'Valor Pay is disabled due to multiple payment failures.',\n\t\t\t'wc-valorpay'\n\t\t),\n\t\t{\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t}\n\t);\n}\nif ( settings && settings.card_type_allowed ) {\n\tlet noticeMsg = null;\n\tif ( 'debit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only debit card allowed', 'wc-valorpay' );\n\t}\n\tif ( 'credit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only credit card allowed', 'wc-valorpay' );\n\t}\n\tif ( noticeMsg ) {\n\t\tdispatch( 'core/notices' ).createInfoNotice( noticeMsg, {\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t} );\n\t}\n}\nsubscribe( function () {\n\tconst paymentMethodState = select( PAYMENT_STORE_KEY );\n\tconst chosenPaymentMethod = paymentMethodState.getActivePaymentMethod();\n\tconst savedPaymentMethods = paymentMethodState.getSavedPaymentMethods();\n\tconst selectedPaymentTokenId = +paymentMethodState.getActiveSavedToken();\n\tlet selectedCardType = '';\n\tif ( selectedPaymentTokenId ) {\n\t\tconst foundMethod = savedPaymentMethods.cc.find(\n\t\t\t( method ) =>\n\t\t\t\tmethod.tokenId === selectedPaymentTokenId &&\n\t\t\t\tmethod.method.gateway === 'wc_valorpay'\n\t\t);\n\t\tif ( foundMethod ) {\n\t\t\tselectedCardType = foundMethod.method.card_type;\n\t\t}\n\t}\n\n\textensionCartUpdate( {\n\t\tnamespace: 'wc-valorpay-fee-update',\n\t\tdata: {\n\t\t\taction_type: 'update_payment',\n\t\t\tpayment_method: chosenPaymentMethod,\n\t\t\tcard_type: selectedCardType,\n\t\t},\n\t} );\n}, PAYMENT_STORE_KEY );\n\nconst defaultLabel = __( 'Valor Pay', 'wc-valorpay' );\n\nconst label = decodeEntities( settings.title ) || defaultLabel;\n/**\n * Content component\n */\nconst Content = ( props ) => {\n\tconst [ isFetchingCardType, setIsFetchingCardType ] = useState( false );\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [ 'cardNumber', 'expiryDate', 'cvc' ];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetCardImageProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: {\n\t\t\terroredInputs,\n\t\t\tisTouched,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tsetIsFetchingCardType,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst {\n\t\tcomponents: { LoadingMask },\n\t\teventRegistration,\n\t\temitResponse,\n\t\tpaymentStatus,\n\t} = props;\n\tconst [ isTermsChecked, setTermsChecked ] = useState( true );\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc_valorpay-card-number': cardNumberField.current.value,\n\t\t\t\t\t'wc_valorpay-card-expiry': expiryDateField.current.value,\n\t\t\t\t\t'wc_valorpay-card-cvc': cvcField.current.value,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\tonCheckoutAfterProcessingWithError,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.is_sandbox_mode && (\n\t\t\t\t<p>\n\t\t\t\t\t{ __(\n\t\t\t\t\t\t'TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date.',\n\t\t\t\t\t\t'wc-valorpay'\n\t\t\t\t\t) }\n\t\t\t\t</p>\n\t\t\t) }\n\t\t\t<LoadingMask\n\t\t\t\tshowSpinner={ isFetchingCardType }\n\t\t\t\tisLoading={ isFetchingCardType }\n\t\t\t\tscreenReaderLabel={ __(\n\t\t\t\t\t'Fetching Card Type...',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t) }\n\t\t\t>\n\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t>\n\t\t\t\t\t<svg { ...getCardImageProps( { images } ) } />\n\t\t\t\t\t<input { ...getCardNumberProps() } />\n\t\t\t\t\t<input { ...getExpiryDateProps() } />\n\t\t\t\t\t<input { ...getCVCProps() } />\n\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t) }\n\t\t\t\t</PaymentInputsWrapper>\n\t\t\t</LoadingMask>\n\t\t\t<TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-new-card\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ setTermsChecked }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>\n\t\t</>\n\t);\n};\n\nconst SavedToken = ( props ) => {\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: { erroredInputs, zipField, addressField },\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst { eventRegistration, emitResponse, paymentStatus, token } = props;\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst [ isTermsChecked, setTermsChecked ] = useState( true );\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc-wc_valorpay-payment-token': token,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\ttoken,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.avs_type !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t</PaymentInputsWrapper>\n\t\t\t\t</>\n\t\t\t) }\n\t\t\t<TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-saved-token\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ setTermsChecked }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>\n\t\t</>\n\t);\n};\n\n/**\n * Label component\n *\n * @param {*} props Props from payment API.\n */\nconst Label = ( props ) => {\n\tconst { PaymentMethodLabel, PaymentMethodIcons } = props.components;\n\treturn (\n\t\t<>\n\t\t\t<PaymentMethodLabel text={ label } />\n\t\t\t<PaymentMethodIcons icons={ settings.card_types } align=\"right\" />\n\t\t</>\n\t);\n};\n\n/**\n * ValorPay payment method config object.\n */\nconst ValorPay = {\n\tname: 'wc_valorpay',\n\tlabel: <Label />,\n\tgatewayId: 'wc_valorpay',\n\tcontent: <Content />,\n\tedit: <Content />,\n\tcanMakePayment: () => settings.is_not_blocked,\n\tsavedTokenComponent: <SavedToken />,\n\tariaLabel: label,\n\tsupports: {\n\t\tfeatures: settings.supports,\n\t\tshowSaveOption: true,\n\t},\n};\n\nregisterPaymentMethod( ValorPay );\n"],"names":["usePaymentInputs","PaymentInputsContainer","props","paymentInputs","children","React","styled","css","jsx","_jsx","jsxs","_jsxs","FieldWrapper","div","withConfig","shouldForwardProp","prop","includes","hasErrored","styles","fieldWrapper","errored","undefined","base","InputWrapper","inputWrapper","focused","input","cardImage","ErrorText","errorText","PaymentInputsWrapper","error","errorTextProps","inputWrapperProps","isTouched","isInitPay","restProps","TermsCheckbox","id","label","checked","onChange","className","htmlFor","type","xmlns","viewBox","d","class","default","utils","extensionCartUpdate","autoFocus","errorMessages","onBlur","onError","onTouch","cardNumberValidator","cvcValidator","expiryValidator","avsType","setIsFetchingCardType","paymentFields","cardNumberField","useRef","expiryDateField","cvcField","zipField","addressField","touchedInputs","setTouchedInputs","useState","reduce","acc","field","setIsTouched","erroredInputs","setErroredInputs","setError","cardType","setCardType","setFocused","setInputError","useCallback","newError","newErroredInputs","Object","values","find","Boolean","setInputTouched","value","requestAnimationFrame","document","activeElement","tagName","newTouchedInputs","handleBlurCardNumber","e","handleChangeCardNumber","formattedCardNumber","target","cardNumber","replace","cursorPosition","current","selectionStart","cardTypes","getCardTypeByValue","formatter","formatCardNumber","setSelectionRange","cardNumberError","validator","getCardNumberError","focus","namespace","data","action_type","bin","slice","then","handleFocusCardNumber","onFocus","handleKeyPressCardNumber","onKeyPress","key","ENTER_KEY_CODE","isNumeric","preventDefault","hasCardNumberReachedMaxLength","getCardNumberProps","refKey","autoComplete","name","placeholder","handleBlurExpiryDate","handleChangeExpiryDate","formatExpiry","expiryDateError","getExpiryDateError","handleFocusExpiryDate","handleKeyDownExpiryDate","onKeyDown","BACKSPACE_KEY_CODE","handleKeyPressExpiryDate","formattedExpiryDate","expiryDate","length","getExpiryDateProps","handleBlurCVC","handleChangeCVC","cvc","cvcError","getCVCError","handleFocusCVC","handleKeyDownCVC","handleKeyPressCVC","formattedCVC","code","getCVCProps","handleBlurZIP","handleChangeZIP","zip","zipError","getZIPError","handleFocusZIP","handleKeyDownZIP","handleKeyPressZIP","getZIPProps","maxLength","handleBlurAddress","handleChangeAddress","streetaddress","addressError","getAddressError","handleFocusAddress","handleKeyDownAddress","getStreetAddressProps","getCardImageProps","images","displayName","width","height","useLayoutEffect","wrapperProps","meta","fill","fillRule","rx","stroke","strokeWidth","transform","strokeOpacity","x","y","amex","dinersclub","discover","hipercard","jcb","unionpay","mastercard","visa","troy","cx","cy","r","DEFAULT_CVC_LENGTH","DEFAULT_ZIP_LENGTH","DEFAULT_CARD_FORMAT","CARD_TYPES","format","startPattern","gaps","lengths","filter","test","getCardTypeByType","match","join","global","execResult","exec","split","splice","event","eventData","nativeEvent","prevExpiry","expiry","head","tail","month","year","isHighlighted","window","getSelection","MONTH_REGEX","EMPTY_CARD_NUMBER","EMPTY_EXPIRY_DATE","EMPTY_CVC","EMPTY_ZIP","EMPTY_ADDRESS","INVALID_CARD_NUMBER","INVALID_EXPIRY_DATE","INVALID_CVC","INVALID_ZIP","MONTH_OUT_OF_RANGE","YEAR_OUT_OF_RANGE","DATE_OUT_OF_RANGE","currentValue","validateLuhn","reverse","map","digit","parseInt","idx","accum","emptyCardNumber","rawCardNumber","doesCardNumberMatchLength","isLuhnValid","invalidCardNumber","emptyExpiryDate","rawExpiryDate","monthOutOfRange","Date","getFullYear","yearOutOfRange","getMonth","dateOutOfRange","invalidExpiryDate","emptyCVC","invalidCVC","emptyZIP","invalidAddress","address","emptyAddress","useEffect","sprintf","__","registerPaymentMethod","decodeEntities","getSetting","PAYMENT_STORE_KEY","subscribe","select","dispatch","Fragment","_Fragment","settings","is_not_blocked","createErrorNotice","context","card_type_allowed","noticeMsg","createInfoNotice","paymentMethodState","chosenPaymentMethod","getActivePaymentMethod","savedPaymentMethods","getSavedPaymentMethods","selectedPaymentTokenId","getActiveSavedToken","selectedCardType","foundMethod","cc","method","tokenId","gateway","card_type","payment_method","defaultLabel","title","Content","isFetchingCardType","setIsInitPay","avs_type","push","components","LoadingMask","eventRegistration","emitResponse","paymentStatus","isTermsChecked","setTermsChecked","onPaymentSetup","onCheckoutAfterProcessingWithError","unsubscribe","isValid","errorInput","paymentMethodData","valorpay_avs_type","valorpay_terms","valorpay_avs_zip","valorpay_avs_street","responseTypes","SUCCESS","ERROR","message","unsubscribeErrorMsg","processingResponse","paymentDetails","errorMessage","messageContext","noticeContexts","PAYMENTS","is_sandbox_mode","showSpinner","isLoading","screenReaderLabel","dangerouslySetInnerHTML","__html","terms_label","SavedToken","token","Label","PaymentMethodLabel","PaymentMethodIcons","text","icons","card_types","align","ValorPay","gatewayId","content","edit","canMakePayment","savedTokenComponent","ariaLabel","supports","features","showSaveOption"],"sourceRoot":""}
     1{"version":3,"file":"wc-valorpay.js","mappings":";;;;;;;;;;;;;;;AAAuC;;AAEvC,igIAAigI;;AAEjgI,iCAAiC,4DAAO;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkC;;;;;;;;;;;;;;;;ACdlC;AACA;AACA;AACA;AACA;AACA;AACA;;AAE8B;;;;;;;;;;;;;;;;ACR9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEmC;;;;;;;;;;;;;;;;;AClDS;AAE7B,SAASC,sBAAsBA,CAAEC,KAAK,EAAG;EACvD,MAAMC,aAAa,GAAGH,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AY,CAACC,OAAO;AACtC,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAQxB,KAAK,IACTA,KAAK,CAACgB,UAAU,IAAIhB,KAAK,CAACiB,MAAM,CAACQ,KAAK,GACnCzB,KAAK,CAACiB,MAAM,CAACQ,KAAK,CAACN,OAAO,GAC1BC,SAAS;AAChB;AACA;AACA,IAAOpB,KAAK,IAAMA,KAAK,CAACiB,MAAM,CAACQ,KAAK,IAAIzB,KAAK,CAACiB,MAAM,CAACQ,KAAK,CAACJ,IAAI;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAQrB,KAAK,IAAMA,KAAK,CAACiB,MAAM,CAACS,SAAS;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAM1B,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACM,YAAY,GACtBvB,KAAK,CAACiB,MAAM,CAACM,YAAY,CAACF,IAAI,GAC9BD,SAAS;AACd,CAAC;AAED,MAAMO,SAAS,GAAGvB,yDAAM,CAACO,GAAG,CAACC,UAAU,CAAE;EACxCC,iBAAiB,EAAIC,IAAI,IACxB,CAAE,CAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,CAAE,CAACC,QAAQ,CAAED,IAAK;AACzD,CAAE,CAAC;AACH;AACA;AACA;AACA;AACA;AACA,IAAOd,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACW,SAAS,GAAG5B,KAAK,CAACiB,MAAM,CAACW,SAAS,CAACP,IAAI,GAAGD,SAAS;AACnE;AACA,CAAC;AAED,SAASS,oBAAoBA,CAAE;EAC9B3B,QAAQ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;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;A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AAC9F;AACA;;AAEA;AACA,wCAAwC,4BAA4B;AACpE,CAAC;AACD;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,2CAA2C;AAC3C;;AAEO;AACP;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAA8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,SAAS,gBAAgB;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjXK;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACrBmE;AAC0B;AACjD;AACV;AACL;;AAEpC;AACA,WAAW,YAAY;AACvB,YAAY;AACZ;AACO;AACP,cAAc,mDAAM;;AAEpB;AACA;;AAEA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB;AACO;AACP;AACA;AACA;AACA,SAAS,iDAAW,mBAAmB,oDAAM;AAC7C;AACA,SAAS,+CAAS;AAClB,YAAY,yDAAS,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AA,gBACCK,uDAAA,CAACiW,kBAAkB;MAACE,IAAI,EAAGpU;IAAO,CAAE,CAAC,eACrC/B,uDAAA,CAACkW,kBAAkB;MAACE,KAAK,EAAGzE,QAAQ,CAAC0E,UAAY;MAACC,KAAK,EAAC;IAAO,CAAE,CAAC;EAAA,CACjE,CAAC;AAEL,CAAC;;AAED;AACA;AACA;AACA,MAAMC,QAAQ,GAAG;EAChBzO,IAAI,EAAE,aAAa;EACnB/F,KAAK,eAAE/B,uDAAA,CAACgW,KAAK,IAAE,CAAC;EAChBQ,SAAS,EAAE,aAAa;EACxBC,OAAO,eAAEzW,uDAAA,CAACmT,OAAO,IAAE,CAAC;EACpBuD,IAAI,eAAE1W,uDAAA,CAACmT,OAAO,IAAE,CAAC;EACjBwD,cAAc,EAAEA,CAAA,KAAMhF,QAAQ,CAACC,cAAc;EAC7CgF,mBAAmB,eAAE5W,uDAAA,CAAC8V,UAAU,IAAE,CAAC;EACnCe,SAAS,EAAE9U,KAAK;EAChB+U,QAAQ,EAAE;IACTC,QAAQ,EAAEpF,QAAQ,CAACmF,QAAQ;IAC3BE,cAAc,EAAE;EACjB;AACD,CAAC;AAED9F,mFAAqB,CAAEqF,QAAS,CAAC,C","sources":["webpack://wc-valorpay/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack://wc-valorpay/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://wc-valorpay/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://wc-valorpay/./blocks/components/PaymentInputsContainer.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsWrapper.jsx","webpack://wc-valorpay/./blocks/components/TermsCheckbox.jsx","webpack://wc-valorpay/./blocks/components/index.js","webpack://wc-valorpay/./blocks/hooks/usePaymentInputs.jsx","webpack://wc-valorpay/./blocks/images/amex.jsx","webpack://wc-valorpay/./blocks/images/dinersclub.jsx","webpack://wc-valorpay/./blocks/images/discover.jsx","webpack://wc-valorpay/./blocks/images/hipercard.jsx","webpack://wc-valorpay/./blocks/images/index.jsx","webpack://wc-valorpay/./blocks/images/jcb.jsx","webpack://wc-valorpay/./blocks/images/mastercard.jsx","webpack://wc-valorpay/./blocks/images/placeholder.jsx","webpack://wc-valorpay/./blocks/images/troy.jsx","webpack://wc-valorpay/./blocks/images/unionpay.jsx","webpack://wc-valorpay/./blocks/images/visa.jsx","webpack://wc-valorpay/./blocks/utils/cardTypes.js","webpack://wc-valorpay/./blocks/utils/formatter.js","webpack://wc-valorpay/./blocks/utils/index.js","webpack://wc-valorpay/./blocks/utils/validator.js","webpack://wc-valorpay/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://wc-valorpay/./node_modules/react/jsx-runtime.js","webpack://wc-valorpay/./node_modules/shallowequal/index.js","webpack://wc-valorpay/./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack://wc-valorpay/external window \"React\"","webpack://wc-valorpay/external window [\"wc\",\"blocksCheckout\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksData\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksRegistry\"]","webpack://wc-valorpay/external window [\"wc\",\"wcSettings\"]","webpack://wc-valorpay/external window [\"wp\",\"data\"]","webpack://wc-valorpay/external window [\"wp\",\"htmlEntities\"]","webpack://wc-valorpay/external window [\"wp\",\"i18n\"]","webpack://wc-valorpay/./node_modules/styled-components/node_modules/tslib/tslib.es6.mjs","webpack://wc-valorpay/./node_modules/stylis/src/Enum.js","webpack://wc-valorpay/./node_modules/stylis/src/Middleware.js","webpack://wc-valorpay/./node_modules/stylis/src/Parser.js","webpack://wc-valorpay/./node_modules/stylis/src/Prefixer.js","webpack://wc-valorpay/./node_modules/stylis/src/Serializer.js","webpack://wc-valorpay/./node_modules/stylis/src/Tokenizer.js","webpack://wc-valorpay/./node_modules/stylis/src/Utility.js","webpack://wc-valorpay/webpack/bootstrap","webpack://wc-valorpay/webpack/runtime/compat get default export","webpack://wc-valorpay/webpack/runtime/define property getters","webpack://wc-valorpay/webpack/runtime/hasOwnProperty shorthand","webpack://wc-valorpay/webpack/runtime/make namespace object","webpack://wc-valorpay/webpack/runtime/nonce","webpack://wc-valorpay/./blocks/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n  /* o */\n  && prop.charCodeAt(1) === 110\n  /* n */\n  && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n  var cache = Object.create(null);\n  return function (arg) {\n    if (cache[arg] === undefined) cache[arg] = fn(arg);\n    return cache[arg];\n  };\n}\n\nexport { memoize as default };\n","var unitlessKeys = {\n  animationIterationCount: 1,\n  aspectRatio: 1,\n  borderImageOutset: 1,\n  borderImageSlice: 1,\n  borderImageWidth: 1,\n  boxFlex: 1,\n  boxFlexGroup: 1,\n  boxOrdinalGroup: 1,\n  columnCount: 1,\n  columns: 1,\n  flex: 1,\n  flexGrow: 1,\n  flexPositive: 1,\n  flexShrink: 1,\n  flexNegative: 1,\n  flexOrder: 1,\n  gridRow: 1,\n  gridRowEnd: 1,\n  gridRowSpan: 1,\n  gridRowStart: 1,\n  gridColumn: 1,\n  gridColumnEnd: 1,\n  gridColumnSpan: 1,\n  gridColumnStart: 1,\n  msGridRow: 1,\n  msGridRowSpan: 1,\n  msGridColumn: 1,\n  msGridColumnSpan: 1,\n  fontWeight: 1,\n  lineHeight: 1,\n  opacity: 1,\n  order: 1,\n  orphans: 1,\n  tabSize: 1,\n  widows: 1,\n  zIndex: 1,\n  zoom: 1,\n  WebkitLineClamp: 1,\n  // SVG-related properties\n  fillOpacity: 1,\n  floodOpacity: 1,\n  stopOpacity: 1,\n  strokeDasharray: 1,\n  strokeDashoffset: 1,\n  strokeMiterlimit: 1,\n  strokeOpacity: 1,\n  strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import { usePaymentInputs } from '../hooks';\n\nexport default function PaymentInputsContainer( props ) {\n\tconst paymentInputs = usePaymentInputs( props );\n\treturn props.children( paymentInputs );\n}\n","import React from 'react';\nimport styled, { css } from 'styled-components';\n\n// Preventing hasErrored and other internal props from being passed to DOM\nconst FieldWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'styles' ].includes( prop ),\n} )`\n\tdisplay: inline-flex;\n\tflex-direction: column;\n\twidth: 100%;\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored && props.styles.fieldWrapper\n\t\t\t\t? props.styles.fieldWrapper.errored\n\t\t\t\t: undefined };\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.fieldWrapper\n\t\t\t? props.styles.fieldWrapper.base\n\t\t\t: undefined };\n`;\n\nconst InputWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\talign-items: center;\n\tbackground-color: white;\n\tborder: 1px solid #bdbdbd;\n\tbox-shadow: inset 0px 1px 2px #e5e5e5;\n\tborder-radius: 0.2em;\n\tdisplay: flex;\n\theight: 2.5em;\n\tpadding: 0.4em 0.6em;\n\twidth: 100%; /* Ensure the wrapper takes the full width */\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored &&\n\t\t\tcss`\n\t\t\t\tborder-color: #c9444d;\n\t\t\t\tbox-shadow: #c9444d 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.errored };\n\t\t\t` };\n\t}\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.focused &&\n\t\t\tcss`\n\t\t\t\tborder-color: #444bc9;\n\t\t\t\tbox-shadow: #444bc9 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.focused };\n\t\t\t` };\n\t}\n\n\t& input {\n\t\tborder: unset;\n\t\tmargin: unset;\n\t\tpadding: unset;\n\t\toutline: unset;\n\t\tfont-size: inherit;\n\t\twidth: 100%; /* Take full width by default */\n\t\tmin-width: 11em; /* Default minimum width */\n\t\tflex-grow: 1; /* Allow input to grow */\n\n\t\t& {\n\t\t\t${ ( props ) =>\n\t\t\t\tprops.hasErrored && props.styles.input\n\t\t\t\t\t? props.styles.input.errored\n\t\t\t\t\t: undefined };\n\t\t}\n\n\t\t${ ( props ) => props.styles.input && props.styles.input.base };\n\n\t\t&:focus {\n\t\t\twidth: 15em; /* Increase width on focus */\n\t\t\ttransition: width 0.3s ease;\n\t\t}\n\t}\n\n\t& svg {\n\t\tmargin-right: 0.6em;\n\t\t& {\n\t\t\t${ ( props ) => props.styles.cardImage };\n\t\t}\n\t}\n\n\t& input#cardNumber {\n\t\twidth: 10em;\n\t\tmin-width: 10em;\n\n\t\t&:focus {\n\t\t\twidth: 13em;\n\t\t}\n\t}\n\n\t& input#expiryDate {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\n\t& input#cvc {\n\t\twidth: 2.5em;\n\t\tmin-width: 2.5em;\n\n\t\t&:focus {\n\t\t\twidth: 3.5em;\n\t\t}\n\t}\n\n\t& input#zip {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\t& input#streetaddress {\n\t\twidth: 8em;\n\t\tmin-width: 8em;\n\n\t\t&:focus {\n\t\t\twidth: 9em;\n\t\t}\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.inputWrapper\n\t\t\t? props.styles.inputWrapper.base\n\t\t\t: undefined };\n`;\n\nconst ErrorText = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\tcolor: #c9444d;\n\tfont-size: 0.75rem;\n\tmargin-top: 0.25rem;\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.styles.errorText ? props.styles.errorText.base : undefined };\n\t}\n`;\n\nfunction PaymentInputsWrapper( {\n\tchildren,\n\terror,\n\terrorTextProps,\n\tfocused,\n\tinputWrapperProps,\n\tisTouched,\n\tstyles = {}, // Set default value for styles here\n\tisInitPay,\n\t...restProps\n} ) {\n\tconst hasErrored = error && ( isTouched || ( ! focused && isInitPay ) );\n\n\treturn (\n\t\t<FieldWrapper\n\t\t\thasErrored={ hasErrored }\n\t\t\tstyles={ styles }\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t<InputWrapper\n\t\t\t\tfocused={ focused }\n\t\t\t\thasErrored={ hasErrored }\n\t\t\t\tstyles={ styles }\n\t\t\t\t{ ...inputWrapperProps }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</InputWrapper>\n\t\t\t{ hasErrored && (\n\t\t\t\t<ErrorText styles={ styles } { ...errorTextProps }>\n\t\t\t\t\t{ error }\n\t\t\t\t</ErrorText>\n\t\t\t) }\n\t\t</FieldWrapper>\n\t);\n}\n\nexport default PaymentInputsWrapper;\n","export default function TermsCheckbox( { id, label, checked, onChange } ) {\n    return (\n\t\t<div className=\"wc-block-components-checkbox\">\n\t\t\t<label htmlFor={ id }>\n\t\t\t\t<input\n\t\t\t\t\tid={ id }\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\taria-invalid=\"false\"\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t/>\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__mark\"\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<span class=\"wc-block-components-checkbox__label\">\n\t\t\t\t\t{ label }\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t);\n}","export { default as PaymentInputsContainer } from './PaymentInputsContainer';\nexport { default as PaymentInputsWrapper } from './PaymentInputsWrapper';\nexport { default as TermsCheckbox } from './TermsCheckbox';\n","import React from 'react';\n\nimport utils from '../utils';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function usePaymentInputs( {\n\tautoFocus = true,\n\terrorMessages,\n\tonBlur,\n\tonChange,\n\tonError,\n\tonTouch,\n\tcardNumberValidator,\n\tcvcValidator,\n\texpiryValidator,\n\tavsType,\n\tsetIsFetchingCardType,\n\tpaymentFields,\n} = {} ) {\n\tconst cardNumberField = React.useRef();\n\tconst expiryDateField = React.useRef();\n\tconst cvcField = React.useRef();\n\tconst zipField = React.useRef();\n\tconst addressField = React.useRef();\n\n\t/** ====== START: META STUFF ====== */\n\tconst [ touchedInputs, setTouchedInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = false;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ isTouched, setIsTouched ] = React.useState( false );\n\tconst [ erroredInputs, setErroredInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = undefined;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ error, setError ] = React.useState();\n\tconst [ cardType, setCardType ] = React.useState();\n\tconst [ focused, setFocused ] = React.useState();\n\n\tconst setInputError = React.useCallback( ( input, error ) => {\n\t\tsetErroredInputs( ( erroredInputs ) => {\n\t\t\tif ( erroredInputs[ input ] === error ) return erroredInputs;\n\n\t\t\tlet newError = error;\n\t\t\tconst newErroredInputs = { ...erroredInputs, [ input ]: error };\n\t\t\tif ( error ) {\n\t\t\t\tsetError( error );\n\t\t\t} else {\n\t\t\t\tnewError = Object.values( newErroredInputs ).find( Boolean );\n\t\t\t\tsetError( newError );\n\t\t\t}\n\t\t\tonError && onError( newError, newErroredInputs );\n\t\t\treturn newErroredInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\n\tconst setInputTouched = React.useCallback( ( input, value ) => {\n\t\trequestAnimationFrame( () => {\n\t\t\tif ( document.activeElement.tagName !== 'INPUT' ) {\n\t\t\t\tsetIsTouched( true );\n\t\t\t} else if ( value === false ) {\n\t\t\t\tsetIsTouched( false );\n\t\t\t}\n\t\t} );\n\n\t\tsetTouchedInputs( ( touchedInputs ) => {\n\t\t\tif ( touchedInputs[ input ] === value ) return touchedInputs;\n\n\t\t\tconst newTouchedInputs = { ...touchedInputs, [ input ]: value };\n\t\t\tonTouch && onTouch( { [ input ]: value }, newTouchedInputs );\n\t\t\treturn newTouchedInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\t/** ====== END: META STUFF ====== */\n\n\t/** ====== START: CARD NUMBER STUFF ====== */\n\tconst handleBlurCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cardNumber', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\t\t\t\tlet cursorPosition = cardNumberField.current.selectionStart;\n\n\t\t\t\tconst cardType =\n\t\t\t\t\tutils.cardTypes.getCardTypeByValue( cardNumber );\n\t\t\t\tsetCardType( cardType );\n\n\t\t\t\tsetInputTouched( 'cardNumber', false );\n\n\t\t\t\t// @ts-ignore\n\t\t\t\tcardNumberField.current.value =\n\t\t\t\t\tutils.formatter.formatCardNumber( cardNumber );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\t// Due to the card number formatting, the selection cursor will fall to the end of\n\t\t\t\t// the input field. Here, we want to reposition the cursor to the correct place.\n\t\t\t\trequestAnimationFrame( () => {\n\t\t\t\t\tif ( document.activeElement !== cardNumberField.current )\n\t\t\t\t\t\treturn;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcardNumberField.current.value[ cursorPosition - 1 ] ===\n\t\t\t\t\t\t' '\n\t\t\t\t\t) {\n\t\t\t\t\t\tcursorPosition = cursorPosition + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcardNumberField.current.setSelectionRange(\n\t\t\t\t\t\tcursorPosition,\n\t\t\t\t\t\tcursorPosition\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\t\tcardNumber,\n\t\t\t\t\tcardNumberValidator,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cardNumberError && autoFocus ) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t\tsetIsFetchingCardType( true );\n\t\t\t\t\textensionCartUpdate( {\n\t\t\t\t\t\tnamespace: 'wc-valorpay-fee-update',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction_type: 'bin_lookup',\n\t\t\t\t\t\t\tbin: cardNumber.slice( 0, 6 ),\n\t\t\t\t\t\t},\n\t\t\t\t\t} ).then( () => {\n\t\t\t\t\t\tsetIsFetchingCardType( false );\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t\t\tprops.onError && props.onError( cardNumberError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcardNumberValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cardNumber' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyPressCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tutils.validator.hasCardNumberReachedMaxLength( cardNumber )\n\t\t\t\t) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getCardNumberProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Card number',\n\t\t\tautoComplete: 'cc-number',\n\t\t\tid: 'cardNumber',\n\t\t\tname: 'cardNumber',\n\t\t\tplaceholder: 'Card number',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cardNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCardNumber( props ),\n\t\t\tonChange: handleChangeCardNumber( props ),\n\t\t\tonFocus: handleFocusCardNumber( props ),\n\t\t\tonKeyPress: handleKeyPressCardNumber( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurCardNumber,\n\t\t\thandleChangeCardNumber,\n\t\t\thandleFocusCardNumber,\n\t\t\thandleKeyPressCardNumber,\n\t\t]\n\t);\n\t/** ====== END: CARD NUMBER STUFF ====== */\n\n\t/** ====== START: EXPIRY DATE STUFF ====== */\n\tconst handleBlurExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'expiryDate', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tsetInputTouched( 'expiryDate', false );\n\n\t\t\t\texpiryDateField.current.value =\n\t\t\t\t\tutils.formatter.formatExpiry( e );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\t\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\t\texpiryDateField.current.value,\n\t\t\t\t\texpiryValidator,\n\t\t\t\t\t{\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif ( ! expiryDateError && autoFocus ) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t\t\tprops.onError && props.onError( expiryDateError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\terrorMessages,\n\t\t\texpiryValidator,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'expiryDate' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcardNumberField.current && cardNumberField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedExpiryDate = e.target.value || '';\n\t\t\tconst expiryDate = formattedExpiryDate.replace( ' / ', '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif ( expiryDate.length >= 4 ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getExpiryDateProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Expiry date in format MM YY',\n\t\t\tautoComplete: 'cc-exp',\n\t\t\tid: 'expiryDate',\n\t\t\tname: 'expiryDate',\n\t\t\tplaceholder: 'MM/YY',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: expiryDateField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurExpiryDate( props ),\n\t\t\tonChange: handleChangeExpiryDate( props ),\n\t\t\tonFocus: handleFocusExpiryDate( props ),\n\t\t\tonKeyDown: handleKeyDownExpiryDate( props ),\n\t\t\tonKeyPress: handleKeyPressExpiryDate( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurExpiryDate,\n\t\t\thandleChangeExpiryDate,\n\t\t\thandleFocusExpiryDate,\n\t\t\thandleKeyDownExpiryDate,\n\t\t\thandleKeyPressExpiryDate,\n\t\t]\n\t);\n\t/** ====== END: EXPIRY DATE STUFF ====== */\n\n\t/** ====== START: CVC STUFF ====== */\n\tconst handleBlurCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cvc', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCVC = React.useCallback(\n\t\t( props = {}, { cardType } = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst cvc = e.target.value;\n\n\t\t\t\tsetInputTouched( 'cvc', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\t\tcvc,\n\t\t\t\t\tcvcValidator,\n\t\t\t\t\t{ cardType, errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cvcError && autoFocus ) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cvc', cvcError );\n\t\t\t\tprops.onError && props.onError( cvcError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcvcValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCVC = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cvc' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressCVC = React.useCallback(\n\t\t( props = {}, { cardType } ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCVC = e.target.value || '';\n\t\t\t\tconst cvc = formattedCVC.replace( ' / ', '' );\n\n\t\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cardType && cvc.length >= cardType.code.length ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cvc.length >= 4 ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst getCVCProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'CVC',\n\t\t\tautoComplete: 'cc-csc',\n\t\t\tid: 'cvc',\n\t\t\tname: 'cvc',\n\t\t\tplaceholder: cardType ? cardType.code.name : 'CVC',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cvcField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCVC( props ),\n\t\t\tonChange: handleChangeCVC( props, { cardType } ),\n\t\t\tonFocus: handleFocusCVC( props ),\n\t\t\tonKeyDown: handleKeyDownCVC( props ),\n\t\t\tonKeyPress: handleKeyPressCVC( props, { cardType } ),\n\t\t} ),\n\t\t[\n\t\t\tcardType,\n\t\t\thandleBlurCVC,\n\t\t\thandleChangeCVC,\n\t\t\thandleFocusCVC,\n\t\t\thandleKeyDownCVC,\n\t\t\thandleKeyPressCVC,\n\t\t]\n\t);\n\t/** ====== END: CVC STUFF ====== */\n\n\t/** ====== START: ZIP STUFF ====== */\n\tconst handleBlurZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'zip', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst zip = e.target.value;\n\n\t\t\t\tsetInputTouched( 'zip', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst zipError = utils.validator.getZIPError( zip, {\n\t\t\t\t\terrorMessages,\n\t\t\t\t} );\n\t\t\t\tif ( ! zipError && autoFocus && zip.length >= 6 ) {\n\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'zip', zipError );\n\t\t\t\tprops.onError && props.onError( zipError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'zip' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getZIPProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'zip',\n\t\t\tmaxLength: '6',\n\t\t\tname: 'zip',\n\t\t\tplaceholder: 'ZIP',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: zipField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurZIP( props ),\n\t\t\tonChange: handleChangeZIP( props ),\n\t\t\tonFocus: handleFocusZIP( props ),\n\t\t\tonKeyDown: handleKeyDownZIP( props ),\n\t\t\tonKeyPress: handleKeyPressZIP( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurZIP,\n\t\t\thandleChangeZIP,\n\t\t\thandleFocusZIP,\n\t\t\thandleKeyDownZIP,\n\t\t\thandleKeyPressZIP,\n\t\t]\n\t);\n\n\t/** ====== END: ZIP STUFF ====== */\n\n\t/** ====== START: ADDRESS STUFF ====== */\n\tconst handleBlurAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'streetaddress', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\tconst handleChangeAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst streetaddress = e.target.value;\n\n\t\t\t\tsetInputTouched( 'streetaddress', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\t\tstreetaddress,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t\t\tprops.onError && props.onError( addressError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusAddress = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'streetaddress' );\n\t\t};\n\t}, [] );\n\tconst handleKeyDownAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\tconst getStreetAddressProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'streetaddress',\n\t\t\tmaxLength: '25',\n\t\t\tname: 'streetaddress',\n\t\t\tplaceholder: 'STREET ADDRESS',\n\t\t\ttype: 'text',\n\t\t\t[ refKey || 'ref' ]: addressField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurAddress( props ),\n\t\t\tonChange: handleChangeAddress( props ),\n\t\t\tonFocus: handleFocusAddress( props ),\n\t\t\tonKeyDown: handleKeyDownAddress( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurAddress,\n\t\t\thandleChangeAddress,\n\t\t\thandleFocusAddress,\n\t\t\thandleKeyDownAddress,\n\t\t]\n\t);\n\t/** ====== END: ADDRESS STUFF ====== */\n\t/** ====== START: CARD IMAGE STUFF ====== */\n\tconst getCardImageProps = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\tconst images = props.images || {};\n\t\t\treturn {\n\t\t\t\t'aria-label': cardType\n\t\t\t\t\t? cardType.displayName\n\t\t\t\t\t: 'Placeholder card',\n\t\t\t\tchildren:\n\t\t\t\t\timages[ cardType ? cardType.type : 'placeholder' ] ||\n\t\t\t\t\timages.placeholder,\n\t\t\t\twidth: '3em',\n\t\t\t\theight: '2em',\n\t\t\t\tviewBox: '0 0 24 16',\n\t\t\t};\n\t\t},\n\t\t[ cardType ]\n\t);\n\t/** ====== END: CARD IMAGE STUFF ====== */\n\n\t// Set default field errors\n\tReact.useLayoutEffect( () => {\n\t\tif ( addressField.current ) {\n\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\taddressField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t}\n\t\tif ( zipField.current ) {\n\t\t\tconst zipError = utils.validator.getZIPError(\n\t\t\t\tzipField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'zip', zipError );\n\t\t}\n\t\tif ( cvcField.current ) {\n\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\tcvcField.current.value,\n\t\t\t\tcvcValidator,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'cvc', cvcError );\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\texpiryDateField.current.value,\n\t\t\t\texpiryValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t}\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\tcardNumberField.current.value,\n\t\t\t\tcardNumberValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t}\n\t}, [\n\t\tcardNumberValidator,\n\t\tcvcValidator,\n\t\terrorMessages,\n\t\texpiryValidator,\n\t\tsetInputError,\n\t] );\n\n\t// Format default values\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tcardNumberField.current.value = utils.formatter.formatCardNumber(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\texpiryDateField.current.value = utils.formatter.formatExpiry( {\n\t\t\t\ttarget: expiryDateField.current,\n\t\t\t} );\n\t\t}\n\t}, [] );\n\n\t// Set default card type\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardType = utils.cardTypes.getCardTypeByValue(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t\tsetCardType( cardType );\n\t\t}\n\t}, [] );\n\n\treturn {\n\t\tgetCardImageProps,\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps: {\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t},\n\n\t\tmeta: {\n\t\t\tcardType,\n\t\t\terroredInputs,\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t\ttouchedInputs,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t};\n}\n","export default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<path\n\t\t\td=\"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<g fill=\"#016fd0\">\n\t\t\t<path d=\"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z\" />\n\t\t\t<path d=\"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z\" />\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-320.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Diners-Club\"\n\t\t\t\t\t\ttransform=\"translate(280.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#0165AC\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-280.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Discover\"\n\t\t\t\t\t\ttransform=\"translate(240.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.8054455 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#000000\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g id=\"Group-2\">\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#B3131B\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"2\"\n\t\t\t/>\n\t\t\t<g\n\t\t\t\tid=\"Hipercard_logo\"\n\t\t\t\ttransform=\"translate(2.000000, 6.000000)\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tfillRule=\"nonzero\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M4.45845797,4.72911206 L4.71934477,4.72911206 L4.72670967,4.71021617 C4.73076043,4.69982332 4.73407456,4.67539055 4.73407456,4.65592007 C4.73407456,4.63644958 4.74267391,4.56566228 4.75318417,4.49861521 C4.76369454,4.43156695 4.78836018,4.27726169 4.80799675,4.15571305 C4.82763331,4.0341644 4.85703646,3.85139347 4.87333717,3.74955542 C4.88963776,3.64771736 4.90953167,3.51735868 4.91754595,3.45986946 C4.92556023,3.40238023 4.93534271,3.3553436 4.93928464,3.3553436 C4.94322668,3.3553436 4.96009268,3.38074637 4.9767648,3.41179473 L5.0070776,3.46824705 L5.07434118,3.5349692 L5.14160488,3.60169134 L5.22440039,3.63432372 L5.30719578,3.66695609 L5.40587279,3.67955056 L5.5045498,3.69214384 L5.62980554,3.68457856 L5.75506139,3.67701327 L5.8906751,3.64246001 L6.02628894,3.60790675 L6.09908975,3.57519075 C6.13913019,3.55719677 6.21011098,3.51796553 6.25682484,3.48801021 L6.34175912,3.43354447 L6.42095111,3.35561954 C6.46450662,3.31276155 6.5259323,3.24403729 6.55745263,3.20290069 C6.58897283,3.16176409 6.61476215,3.12510239 6.61476215,3.12143264 C6.61476215,3.11776169 6.63024834,3.09228724 6.64917582,3.06482382 C6.66810343,3.0373592 6.70683989,2.96113177 6.73525696,2.8954298 C6.76367415,2.82972783 6.80808531,2.71146429 6.83394853,2.63262192 L6.88097263,2.48927217 L6.90527961,2.36510142 C6.91864839,2.29680721 6.93584673,2.18391928 6.94349809,2.11423935 L6.95740984,1.98754804 L6.9493753,1.88003572 L6.94134076,1.77252341 L6.91602234,1.66501109 L6.89070392,1.55749878 L6.84971924,1.47700311 L6.80873457,1.39650745 L6.72956721,1.31388424 L6.65039973,1.23125983 L6.55674682,1.18360201 L6.4630938,1.13594299 L6.35995932,1.11163207 L6.25682484,1.08732115 L6.15369036,1.07986696 L6.05055588,1.07241397 L5.93566831,1.0854122 L5.82078075,1.09840925 L5.7270093,1.12198192 L5.63323773,1.1455534 L5.55177641,1.18267501 C5.50697261,1.2030916 5.44177912,1.23776791 5.40690207,1.25973387 C5.3720249,1.28169983 5.33604735,1.30697239 5.32695174,1.31589472 C5.31785613,1.32481824 5.29608043,1.34134766 5.27856116,1.3526257 L5.24670802,1.37313308 L5.26898276,1.26820942 C5.28123392,1.21050159 5.29147275,1.15656744 5.2917358,1.14835469 L5.29221386,1.13342243 L5.06976516,1.13342243 L4.84731634,1.13342243 L4.80831003,1.37532513 C4.78685648,1.50837162 4.75298372,1.71398893 4.73303727,1.83225247 C4.7130907,1.95051602 4.68301183,2.12791134 4.66619545,2.22646429 C4.64937895,2.32501725 4.61938307,2.49972476 4.59953794,2.61470321 C4.5796928,2.72968165 4.54689191,2.91245259 4.52664697,3.02086084 C4.50640216,3.12926909 4.47674372,3.28784975 4.46073931,3.37326231 C4.44473502,3.45867488 4.41461296,3.61994335 4.39380151,3.7316367 C4.37299019,3.84333005 4.33954562,4.02072536 4.31948026,4.12584852 C4.29941502,4.23097167 4.26676167,4.39761576 4.24691738,4.49616871 C4.2270731,4.59472167 4.20785211,4.68745104 4.20420394,4.70223398 L4.19757093,4.72911206 L4.45845773,4.72911206 L4.45845797,4.72911206 Z M5.58158434,3.34795511 L5.48028286,3.35395071 L5.41406652,3.34244331 L5.34785018,3.33093472 L5.28059837,3.30070464 L5.21334656,3.27047457 L5.16636177,3.22630134 L5.11937709,3.18212931 L5.09225746,3.12240025 C5.07734166,3.08954926 5.0581828,3.0337432 5.04968233,2.99838718 L5.03422684,2.93410437 L5.04041916,2.8311458 L5.04661147,2.72818843 L5.07787505,2.56691995 C5.09507,2.47822229 5.12594421,2.31157821 5.14648436,2.19659976 C5.1670245,2.08162131 5.19812318,1.9131519 5.21559259,1.82222277 L5.24735509,1.6568975 L5.3169102,1.5999088 C5.35516545,1.56856538 5.41576424,1.52655673 5.45157423,1.50655705 L5.51668327,1.470194 L5.60161755,1.44430981 L5.68655183,1.41842563 L5.79575304,1.41211346 L5.90495426,1.40580129 L5.99387134,1.42445946 L6.08278843,1.44311762 L6.1455397,1.47157016 L6.20829096,1.50002269 L6.2609103,1.55210763 L6.31352963,1.60419138 L6.34191746,1.65934519 C6.3575308,1.68968039 6.37946059,1.74905705 6.39065044,1.79129506 L6.41099548,1.86808991 L6.40476348,2.09506035 L6.39853137,2.32203079 L6.36736983,2.45618705 C6.35023095,2.52997394 6.31760514,2.64286188 6.29486799,2.70704912 L6.25352781,2.82375493 L6.20290006,2.91822719 C6.17505485,2.9701879 6.1321162,3.04040419 6.10748089,3.07426459 C6.08284558,3.10812381 6.04357913,3.15198525 6.0202222,3.17173287 C5.99686528,3.19148049 5.95774892,3.22234369 5.93329695,3.24031617 L5.8888387,3.27299275 L5.7858622,3.30747553 L5.6828857,3.34195951 L5.58158434,3.34795511 Z M8.10111202,3.67635864 L8.23458018,3.67786023 L8.36804833,3.665875 C8.44145581,3.6592833 8.56157715,3.64555995 8.63498463,3.63537973 C8.70839211,3.62519831 8.83520336,3.60240928 8.91678734,3.58473665 L9.06512179,3.5526048 L9.07250973,3.498771 C9.07657311,3.4691621 9.093232,3.38101873 9.10952955,3.3028967 L9.1391613,3.16085621 L9.1326233,3.1544198 L9.12608543,3.1479822 L9.0807372,3.1695444 C9.05579576,3.181403 8.97811171,3.20969069 8.90810597,3.23240685 L8.78082285,3.27370711 L8.6472364,3.29918394 L8.51364995,3.32466077 L8.30131425,3.32506693 L8.08897856,3.32547309 L8.01617775,3.30258252 C7.9761373,3.28999283 7.91724557,3.26695772 7.88530737,3.25139472 L7.82723768,3.22309628 L7.7793106,3.18046765 L7.73138352,3.13783782 L7.69398963,3.07349051 L7.65659562,3.00914319 L7.63315109,2.92843011 L7.60970656,2.84771703 L7.60953911,2.69835615 L7.60937167,2.54899526 L7.63018579,2.41575047 L7.65099978,2.28250449 L7.83358895,2.27410658 L8.01617823,2.26570748 L8.69111697,2.26997453 L9.3660557,2.27424157 L9.38643459,2.18913124 C9.39764288,2.14232038 9.41477886,2.04555929 9.42451439,1.97410661 L9.44221542,1.84419231 L9.44258913,1.73490963 L9.44296284,1.62562694 L9.42374501,1.54404301 L9.40452717,1.46245909 L9.37275132,1.40843654 C9.35527451,1.37872491 9.32448062,1.33566504 9.3043205,1.31274938 C9.28416037,1.28983373 9.24816377,1.25752509 9.22432794,1.24095266 C9.20049222,1.22438023 9.15368992,1.19652977 9.12032288,1.17906499 L9.05965554,1.14730824 L8.95365525,1.12215633 L8.84765497,1.09700442 L8.71705262,1.08471099 L8.58645027,1.07241636 L8.46511559,1.08019547 L8.34378091,1.08797458 L8.19817929,1.11550012 L8.05257767,1.14302686 L7.96157665,1.17884877 C7.9115261,1.198551 7.83508525,1.23447922 7.7917081,1.2586898 C7.74833095,1.28290038 7.68827028,1.32231081 7.65823994,1.34626814 C7.62820961,1.37022427 7.57621515,1.4167998 7.54269681,1.44976786 C7.50917834,1.48273591 7.45959784,1.54196325 7.43251788,1.58138443 C7.40543792,1.62080561 7.36392374,1.69068862 7.34026433,1.73668 C7.31660479,1.78267138 7.28577559,1.84717876 7.27175488,1.88002975 C7.25773417,1.91288073 7.23225571,1.98007593 7.21513599,2.02935241 C7.1980164,2.07862889 7.17110667,2.17270216 7.15533656,2.23840413 C7.13956645,2.3041061 7.11795686,2.41225991 7.10731533,2.47874552 L7.08796742,2.59963476 L7.08814699,2.77739681 L7.08832657,2.95515887 L7.10676835,3.03280665 C7.11691132,3.07551293 7.13630473,3.14002032 7.14986473,3.1761564 C7.16342485,3.21229249 7.18849963,3.26604864 7.20558671,3.29561453 C7.22267367,3.32518042 7.2591652,3.37278329 7.28667905,3.40139948 C7.31419278,3.43001568 7.36400431,3.47343751 7.39737135,3.49789178 C7.43073838,3.52234606 7.49013972,3.55674044 7.52937438,3.57432587 L7.60070995,3.60629765 L7.70017273,3.62996947 C7.75487732,3.64298921 7.83743756,3.65841484 7.88363999,3.66425037 C7.92984242,3.6700847 8.02770503,3.67553319 8.10111251,3.67635864 L8.10111202,3.67635864 Z M8.32965888,1.99352094 C7.99374575,1.99352094 7.71890777,1.99115328 7.71890777,1.98826001 C7.71890777,1.98536673 7.73323995,1.94370571 7.75075703,1.89567996 C7.76827412,1.84765421 7.79903902,1.77617166 7.81912342,1.73682932 L7.85564031,1.66529779 L7.93590903,1.58670271 L8.01617775,1.50810762 L8.09504529,1.47097884 C8.13842244,1.45055747 8.19575308,1.42832273 8.22244671,1.42156738 C8.24914034,1.41481202 8.32558119,1.40585027 8.39231526,1.40165251 L8.51364995,1.39401794 L8.60682685,1.40580726 L8.70000364,1.41759659 L8.76771701,1.44811814 L8.8354305,1.4786385 L8.87257529,1.51806804 C8.89300502,1.53975447 8.9173507,1.5716916 8.92667697,1.58903811 L8.94363374,1.62057745 L8.95483159,1.69057752 L8.96602945,1.76057759 L8.95321966,1.87704927 L8.94040987,1.99352094 L8.32965888,1.99352094 Z M11.959629,3.67642315 L12.0931723,3.67788054 L12.2447655,3.66019237 C12.328143,3.6504637 12.4391291,3.63434164 12.4914025,3.62436569 C12.5436771,3.61438974 12.628308,3.59458597 12.6794712,3.58035851 C12.7306357,3.56612985 12.7769248,3.55074723 12.7823351,3.54617318 C12.7877455,3.54159912 12.8022037,3.48738425 12.8144634,3.42569488 C12.826723,3.3640055 12.8421665,3.28127956 12.8487817,3.24185837 C12.8553968,3.20243719 12.858816,3.16807267 12.8563809,3.16549477 C12.8539445,3.16291567 12.8449948,3.16624735 12.8364917,3.1728952 C12.8279885,3.17954304 12.7684545,3.20420995 12.7041944,3.22770736 L12.5873588,3.27043156 L12.420981,3.302168 L12.2546045,3.33390325 L12.1131465,3.32915121 L11.9716884,3.32439797 L11.8913406,3.29696441 L11.8109916,3.26953085 L11.7489046,3.21605781 L11.6868164,3.16258596 L11.6456318,3.08873695 L11.6044472,3.01488793 L11.5848322,2.91609248 L11.5652172,2.81729702 L11.5653386,2.68912203 L11.5654599,2.56094705 L11.5892961,2.40565148 L11.6131335,2.25035592 L11.6383541,2.16673523 C11.6522263,2.12074385 11.6679222,2.06698769 11.6732342,2.0472771 C11.678545,2.02756651 11.7007978,1.97112254 11.722683,1.92184607 C11.7445681,1.87256959 11.7836087,1.79641025 11.8094409,1.75260257 L11.8564059,1.67295267 L11.9140896,1.61410998 L11.9717721,1.5552673 L12.0328581,1.51796531 L12.0939452,1.48066331 L12.172393,1.45687442 C12.2155396,1.44379137 12.2917924,1.42680322 12.3418429,1.41912326 L12.4328439,1.40516219 L12.5663121,1.41175628 L12.6997802,1.41835037 L12.8575153,1.44943457 L13.0152504,1.48051877 L13.0794061,1.50407591 C13.1146915,1.51703353 13.145104,1.52763425 13.1469871,1.52763425 C13.1488715,1.52763425 13.1573345,1.48328542 13.1657928,1.42908129 C13.1742522,1.37487717 13.1893087,1.28569809 13.1992508,1.23090743 C13.209193,1.17611557 13.2149333,1.12892841 13.2120067,1.12604708 C13.2090789,1.12316575 13.1616662,1.11575337 13.1066446,1.109575 C13.0516217,1.10339663 12.9020779,1.09242679 12.7743246,1.08519718 L12.5420452,1.0720532 L12.3782433,1.08442906 L12.2144415,1.09680493 L12.0931068,1.12190786 L11.9717721,1.14701198 L11.8936314,1.17778201 C11.8506546,1.19470683 11.787705,1.2252463 11.7537446,1.24564856 C11.7197843,1.26605201 11.6765552,1.29349632 11.6576803,1.30663671 C11.6388043,1.3197771 11.5815404,1.37104495 11.5304257,1.42056632 L11.4374894,1.5106043 L11.3856128,1.58542809 C11.3570809,1.62658022 11.3077232,1.71239058 11.2759299,1.77611671 L11.2181236,1.89198153 L11.1738182,2.01741257 C11.1494494,2.08639964 11.1154271,2.19928757 11.098211,2.26827464 L11.0669102,2.39370567 L11.0555485,2.50719089 L11.0441879,2.62067611 L11.0443092,2.76999877 L11.0444306,2.91932143 L11.0558894,3.0061878 L11.0673483,3.09305536 L11.1036916,3.18241243 L11.1400338,3.27176949 L11.1820095,3.33637364 L11.2239841,3.4009766 L11.2907327,3.46565123 L11.3574813,3.53032586 L11.4280836,3.56706401 L11.4986858,3.60380216 L11.591451,3.6291691 C11.642471,3.64312061 11.7161818,3.65913278 11.7552528,3.6647509 C11.7943226,3.67037021 11.8863841,3.67562278 11.9598316,3.67642315 L11.959629,3.67642315 Z M13.9555105,3.67201037 L14.1193123,3.66738973 L14.2224468,3.64140161 L14.3255813,3.6154123 L14.3923154,3.5843508 C14.4290191,3.56726709 14.4890798,3.53354287 14.5257835,3.50940874 C14.5624872,3.48527462 14.6192998,3.43939314 14.6520322,3.40745004 C14.6847659,3.37550574 14.7333071,3.32100536 14.7599012,3.28633861 C14.7864953,3.25167066 14.8098571,3.22488337 14.8118155,3.22681143 C14.8137726,3.22873948 14.8076537,3.2839817 14.7982163,3.34957257 C14.7887801,3.41516345 14.7809516,3.50242641 14.7808217,3.54349015 L14.7805912,3.61815148 L15.003278,3.61815148 L15.2259647,3.61815148 L15.2327728,3.44792364 L15.2395797,3.27769581 L15.2713548,3.05669828 C15.2888318,2.93514963 15.3170592,2.75506651 15.3340824,2.65651355 C15.3511044,2.55796059 15.3806943,2.39131651 15.3998373,2.28619336 C15.4189803,2.1810702 15.4493055,2.01711392 15.4672278,1.92184607 L15.4998135,1.74863178 L15.5009055,1.59901287 L15.5019975,1.44939515 L15.4676343,1.38024561 L15.4332723,1.31109728 L15.3866749,1.26705665 L15.3400776,1.22301602 L15.2635748,1.18484915 L15.1870721,1.14668347 L15.0730551,1.12171553 L14.9590393,1.09674639 L14.8020602,1.08498574 L14.645081,1.07322389 L14.4428707,1.08554122 C14.3316553,1.09231569 14.1751408,1.10569261 14.0950599,1.11526718 L13.9494583,1.13267701 L13.8502272,1.13304733 L13.750996,1.13341765 L13.7365584,1.20210607 C13.7286171,1.2398847 13.7065499,1.32964076 13.687521,1.40156411 C13.6684909,1.47348627 13.6546854,1.53406946 13.6568415,1.53619223 C13.6589976,1.538315 13.7120682,1.52645639 13.7747764,1.50983976 C13.8374846,1.49322194 13.9706919,1.4658947 14.070793,1.44911203 L14.252795,1.41859765 L14.4165969,1.411951 L14.5803987,1.40530435 L14.6859089,1.42351335 L14.7914191,1.44172116 L14.8618442,1.47594352 L14.9322693,1.51016469 L14.971703,1.56803021 L15.0111368,1.62589572 L15.0105787,1.7171259 L15.0100205,1.80835607 L14.989117,1.90846915 L14.9682134,2.00858342 L14.5316331,2.01013398 L14.0950539,2.01168455 L13.9521677,2.05025639 C13.8735792,2.07147095 13.786558,2.09963679 13.7587857,2.11284647 C13.7310146,2.12605735 13.7032351,2.13686592 13.6970543,2.13686592 C13.6908735,2.13686592 13.6441232,2.16238934 13.5931651,2.19358344 L13.5005139,2.25030097 L13.4275457,2.32200093 C13.387413,2.36143645 13.3361406,2.42057897 13.3136063,2.45342996 C13.2910733,2.48628094 13.2544617,2.55490844 13.232249,2.60593498 L13.1918603,2.69871094 L13.173324,2.80304089 L13.1547877,2.90737084 L13.1547877,3.01681838 L13.1547877,3.12626711 L13.1724965,3.21739215 L13.1902065,3.3085184 L13.2230615,3.3679524 C13.2411331,3.40064092 13.2742951,3.44852332 13.2967566,3.47435973 L13.3375954,3.52133305 L13.4101681,3.56473577 L13.4827396,3.60813849 L13.5658078,3.63128231 C13.6114963,3.64401177 13.6810332,3.65942187 13.720336,3.66552618 L13.7917948,3.67662623 L13.9555966,3.67200559 L13.9555105,3.67201037 Z M14.1071788,3.33797677 L14.0101111,3.34295937 L13.9458219,3.32683969 C13.9104626,3.31797351 13.8568096,3.2982008 13.8265924,3.2829006 L13.771652,3.25508 L13.7416666,3.21999634 C13.7251748,3.20069908 13.6999809,3.16278307 13.6856804,3.13573655 L13.6596808,3.08656281 L13.6545823,2.97172771 L13.649485,2.85689381 L13.6700525,2.78723658 C13.6813657,2.74892516 13.7079052,2.68244671 13.7290308,2.6395051 L13.7674417,2.56143085 L13.840996,2.48951348 L13.9145503,2.4175973 L13.9926644,2.38056886 L14.0707784,2.34354042 L14.1678462,2.3208398 L14.2649139,2.29813917 L14.5682506,2.29813917 L14.8715874,2.29813917 L14.8907789,2.30595173 L14.9099692,2.31376429 L14.8938183,2.40749114 C14.8849342,2.4590409 14.8637479,2.55228633 14.8467356,2.61470321 C14.8297232,2.67712008 14.7996905,2.76887348 14.7799954,2.81860031 C14.7603004,2.86832714 14.7441859,2.91229012 14.7441859,2.91629675 C14.7441859,2.92030338 14.7242458,2.95653742 14.6998745,2.99681631 L14.6555643,3.07005131 L14.5828035,3.14102257 C14.5427861,3.18005671 14.5056371,3.21199384 14.5002523,3.21199384 C14.4948674,3.21199384 14.4703372,3.22543885 14.4457427,3.24187151 L14.4010235,3.27174799 L14.3026357,3.30237108 L14.2042466,3.33299417 L14.1071788,3.33797677 Z M18.0566228,3.67628099 L18.1718907,3.67771091 L18.281092,3.66026166 C18.3411526,3.65066439 18.4175935,3.63520412 18.4509605,3.6259067 C18.4843276,3.61660808 18.5443882,3.59247515 18.5844287,3.57227836 L18.6572295,3.53555693 L18.7198576,3.48128471 L18.7824857,3.4270125 L18.8484444,3.34040775 C18.8847223,3.29277621 18.9175725,3.24574076 18.9214467,3.23588547 L18.9284889,3.21796675 L18.922364,3.27769581 C18.9189945,3.3105468 18.9114402,3.36430295 18.9055761,3.39715394 C18.8997132,3.43000492 18.8913059,3.49316841 18.8868942,3.53751724 L18.8788715,3.61815148 L19.1168877,3.61815148 L19.3549039,3.61815148 L19.3549039,3.53751724 L19.3549039,3.456883 L19.391166,3.15226478 C19.411111,2.98472475 19.4406038,2.7616367 19.4567061,2.65651355 C19.4728085,2.5513904 19.4976627,2.40087316 19.5119389,2.32203079 C19.5262139,2.24318843 19.5514964,2.10073461 19.5681205,2.00546676 C19.5847433,1.9101989 19.6147725,1.74355481 19.6348497,1.63514656 C19.654927,1.52673831 19.68706,1.35471861 19.7062552,1.25288055 C19.7254515,1.1510425 19.7552865,0.992461836 19.7725549,0.900479078 C19.7898244,0.80849632 19.8207636,0.647227848 19.841308,0.542104696 C19.8618536,0.436981544 19.8918657,0.289152111 19.9080008,0.213594845 C19.9241371,0.13803758 19.9373165,0.0721862871 19.9372885,0.0672586394 L19.9372886,0.0582992798 L19.6776105,0.0582992798 L19.4179324,0.0582992798 L19.4102629,0.132960609 C19.4060453,0.174024341 19.386167,0.309758638 19.3660873,0.434592381 C19.3460089,0.559426124 19.3132764,0.758323906 19.2933496,0.876587452 C19.2734228,0.994850998 19.2542119,1.109532 19.2506592,1.13143345 L19.2442006,1.17125601 L19.2237071,1.16267653 C19.2124364,1.15795674 19.1513431,1.14127321 19.0879458,1.12560031 L18.9726778,1.09710477 L18.8149427,1.08501083 L18.6572076,1.07291569 L18.5237395,1.08516015 L18.3902713,1.09740461 L18.2689366,1.12760004 L18.147602,1.15779547 L18.032334,1.21314639 L17.9170661,1.26849731 L17.8321318,1.33040529 L17.7471975,1.39231447 L17.6738471,1.46974245 C17.6335045,1.51232808 17.5752238,1.58276537 17.5443344,1.62626963 L17.488171,1.70537002 L17.4222183,1.84048553 C17.3859453,1.91479923 17.3418026,2.01323153 17.3241241,2.05922291 C17.3064456,2.10521429 17.2752675,2.20716464 17.2548384,2.28577884 L17.2176966,2.42871287 L17.1993969,2.61428869 L17.1810984,2.7998633 L17.1948396,2.94918596 L17.2085795,3.09850862 L17.224825,3.15226478 C17.2337589,3.18183067 17.2525985,3.23450692 17.2666891,3.26932419 L17.2923089,3.33262744 L17.3390179,3.39487707 L17.3857281,3.45712789 L17.4390608,3.5001364 L17.4923947,3.54314491 L17.5651955,3.57873388 C17.6052359,3.59830709 17.6724044,3.62360354 17.714459,3.63494729 C17.7565136,3.64629103 17.8247643,3.65990926 17.8661273,3.66521081 C17.9074903,3.67051236 17.9932036,3.67549377 18.056601,3.67628099 L18.0566228,3.67628099 Z M18.2635057,3.33735678 L18.1718907,3.34214706 L18.1100549,3.33118916 C18.0760448,3.3251625 18.0216226,3.30900698 17.989117,3.29528841 L17.9300149,3.27034555 L17.8802835,3.23022554 L17.830552,3.19010433 L17.7935947,3.12041485 L17.7566361,3.05072537 L17.7397949,2.97307759 L17.7229524,2.8954298 L17.7243805,2.74013424 L17.7258074,2.58483867 L17.7453666,2.44746183 L17.7649257,2.31008498 L17.7953249,2.21451848 C17.8120436,2.1619569 17.8258042,2.11236625 17.8259049,2.10431836 C17.8260262,2.09627046 17.8425132,2.05326554 17.8625892,2.00875185 C17.8826665,1.96423817 17.9162082,1.89556528 17.9371288,1.8561441 C17.9580481,1.81672291 17.9971506,1.75526768 18.0240226,1.71957718 C18.0508934,1.68388667 18.0987648,1.63013051 18.1304016,1.60011905 C18.1620384,1.57010758 18.2123656,1.53074374 18.2422382,1.51264345 L18.2965536,1.47973512 L18.3919567,1.44723295 L18.4873609,1.41473079 L18.6875631,1.41461133 L18.8877654,1.41461133 L19.0030333,1.44609571 C19.0664307,1.46341117 19.1337447,1.48349327 19.1526184,1.49072169 L19.1869367,1.50386327 L19.1802341,1.53665453 C19.176548,1.55468912 19.1621274,1.63395198 19.1481884,1.71279434 C19.1342495,1.79163671 19.1067842,1.94215395 19.0871522,2.0472771 C19.0675203,2.15240025 19.0373589,2.31098092 19.0201245,2.39967858 C19.0028914,2.48837624 18.9779292,2.60126417 18.9646527,2.65054064 C18.9513763,2.69981712 18.9326471,2.76806952 18.9230301,2.80221304 C18.9134143,2.83635657 18.890516,2.89548834 18.872146,2.93361698 C18.8537759,2.97174563 18.8216307,3.02713239 18.8007126,3.05669828 C18.7797957,3.08626416 18.7444145,3.12722038 18.7220889,3.14771103 C18.6997633,3.16820288 18.6514661,3.2046173 18.6147623,3.22863316 L18.5480283,3.2722975 L18.4515745,3.30243201 L18.3551207,3.33256771 L18.2635057,3.33735798 L18.2635057,3.33735678 Z M0.406035224,3.61815148 L0.700846957,3.61815148 L0.721999232,3.48973399 C0.733631588,3.41910437 0.756352721,3.28337007 0.772489021,3.18810222 C0.78862532,3.09283436 0.818658081,2.91543904 0.839229163,2.7938904 C0.859799032,2.67234175 0.890636242,2.49225862 0.907755352,2.39370567 C0.924874463,2.29515271 0.952074059,2.14227379 0.968198225,2.05397392 C0.984323604,1.96567525 1.00057639,1.89041663 1.00431713,1.88673254 L1.01111794,1.88003572 L1.80383747,1.88003572 L2.596557,1.88003572 L2.60535861,1.88869883 L2.61416145,1.89736193 L2.60041544,1.96634661 C2.59285507,2.0042877 2.57049188,2.12134114 2.55072039,2.22646429 C2.53094769,2.33158744 2.49770806,2.50898276 2.47685426,2.62067611 C2.45600047,2.73236946 2.42584638,2.89095012 2.40984597,2.97307759 C2.39384435,3.05520505 2.36146377,3.22722475 2.33788965,3.3553436 C2.31431432,3.48346244 2.29507549,3.59500646 2.29513616,3.60321921 L2.2952575,3.61815148 L2.59128136,3.61815148 L2.88730644,3.61815148 L2.90040452,3.54349015 C2.90760938,3.50242641 2.91920048,3.4285117 2.92616388,3.37923522 C2.93312606,3.32995874 2.9499115,3.22513424 2.96346337,3.14629187 C2.97701646,3.06744951 3.00409472,2.91155665 3.02363688,2.7998633 C3.04317905,2.68816995 3.07588966,2.4973356 3.09632728,2.37578695 C3.11676368,2.25423831 3.14708242,2.07684299 3.16370127,1.98157513 C3.18032,1.88630727 3.2099327,1.7250388 3.22950738,1.62320075 C3.24908194,1.52136269 3.28168651,1.34934299 3.30196202,1.24093474 C3.32223741,1.13252649 3.3526127,0.96857021 3.36946269,0.876587452 C3.3863128,0.784604694 3.41703596,0.617960606 3.43773662,0.506267257 C3.45843729,0.394573908 3.48457667,0.264215227 3.49582403,0.216581299 L3.5162739,0.129974156 L3.21654665,0.129974156 L2.91681989,0.129974156 L2.90866742,0.186716767 C2.9041841,0.217925202 2.88970402,0.305278958 2.87649067,0.380836224 C2.86327611,0.456393489 2.83924092,0.590783883 2.82307672,0.679481542 C2.80691251,0.768179202 2.77737358,0.937511097 2.75743465,1.05577464 C2.73749451,1.17403819 2.7120846,1.33059045 2.7009667,1.40366896 L2.68075113,1.53653985 L2.24076366,1.54530688 L1.80077498,1.55407391 L1.43224272,1.54546337 C1.22954949,1.54072805 1.0625869,1.53591269 1.06121339,1.53476231 C1.05983988,1.53361551 1.06674383,1.4871905 1.07655495,1.43160066 C1.08636486,1.37601082 1.10492543,1.27945999 1.11780025,1.21704312 C1.13067507,1.15462624 1.15508154,1.03098708 1.17203685,0.942289422 C1.18899095,0.853591763 1.20819702,0.74339164 1.21471511,0.697400261 C1.22123321,0.651408882 1.23489429,0.574806358 1.24507305,0.52717243 C1.25525061,0.479538501 1.27456709,0.379202037 1.28799762,0.304203835 C1.30142816,0.229204439 1.31573716,0.159321434 1.3197958,0.148908269 L1.32717538,0.129974156 L1.02986779,0.129974156 L0.732560203,0.129974156 L0.713517938,0.234500018 C0.703043115,0.291989241 0.689078706,0.373967381 0.682484166,0.416673662 C0.675889626,0.459379942 0.653744833,0.596458144 0.633273245,0.721291887 C0.612802871,0.84612563 0.582582041,1.03158437 0.566118138,1.13342243 C0.549653021,1.23526048 0.519668795,1.42071922 0.499487197,1.54555297 C0.479305599,1.67038671 0.446005295,1.86390887 0.4254876,1.97560222 C0.404969905,2.08729557 0.375264748,2.24587624 0.359476679,2.3280037 C0.343687397,2.41013116 0.313600035,2.56602402 0.292613988,2.67443227 C0.271629155,2.78284052 0.241013987,2.93604557 0.224581631,3.01488793 C0.208148062,3.0937303 0.189981833,3.18511576 0.184209942,3.21796675 C0.178439265,3.25081773 0.159657869,3.34556595 0.142475664,3.42851887 C0.125292247,3.51147178 0.111233197,3.58807431 0.111233197,3.5987467 L0.111233197,3.61815148 L0.40604493,3.61815148 L0.406035224,3.61815148 Z M3.6696828,3.61815148 L3.93066933,3.61815148 L3.93803423,3.59925559 C3.94208498,3.58886273 3.94539912,3.56160239 3.94539912,3.53867598 C3.94539912,3.51574958 3.96181061,3.39658174 3.98186905,3.27385882 C4.00192749,3.1511347 4.03506982,2.95127648 4.0555186,2.82972783 C4.07596737,2.70817919 4.10616636,2.53078387 4.12262747,2.43551601 C4.13908859,2.34024816 4.16836313,2.18166749 4.18768216,2.08311454 C4.20700119,1.98456158 4.23665805,1.83135654 4.2535863,1.74265888 C4.27051468,1.65396122 4.3038043,1.48521228 4.32756345,1.3676607 C4.3513226,1.25010912 4.37372499,1.14921121 4.37734671,1.14344138 L4.38393166,1.13295176 L4.1200058,1.13617355 L3.85607993,1.13939533 L3.83409918,1.2946909 C3.82200988,1.38010346 3.79557869,1.54943535 3.77536324,1.670984 C3.75514791,1.79253264 3.72457012,1.97799139 3.70741291,2.08311454 C3.69025558,2.18823769 3.66033444,2.35756959 3.64092138,2.45940764 C3.62150844,2.56124569 3.59175924,2.71713855 3.57481193,2.80583621 C3.55786476,2.89453387 3.52745513,3.05042672 3.50723495,3.15226478 C3.48701476,3.25410283 3.45988239,3.38849323 3.44694071,3.4509101 C3.43399891,3.51332697 3.42009966,3.57649045 3.41605327,3.5912734 L3.40869626,3.61815148 L3.6696828,3.61815148 Z M9.77371379,3.61815148 L10.0327662,3.61815148 L10.0405474,3.5102342 C10.0448257,3.45088023 10.0594866,3.33127278 10.0731246,3.24443986 C10.0867638,3.15760695 10.1146878,2.98442611 10.1351788,2.85959237 C10.155671,2.73475862 10.1937543,2.52697555 10.2198085,2.39785326 C10.2458627,2.26872977 10.2753155,2.14038396 10.2852589,2.11263742 C10.295201,2.08489208 10.3033365,2.05482685 10.3033365,2.04582568 C10.3033365,2.03682332 10.3228132,1.98777501 10.346619,1.9368285 C10.3704237,1.885882 10.4147873,1.80786868 10.4452047,1.76346729 L10.5005078,1.6827351 L10.5745377,1.61525798 L10.6485665,1.54777966 L10.7398538,1.50485597 L10.8311424,1.46193228 L10.9706773,1.46264903 L11.1102122,1.46336577 L11.1788136,1.48354942 C11.216545,1.49465186 11.2506704,1.50373426 11.2546478,1.50373426 C11.2586263,1.50373426 11.2618805,1.49103467 11.2618805,1.47551228 C11.2618805,1.45999108 11.2755307,1.38130521 11.2922142,1.30065544 C11.3088977,1.22000687 11.3225479,1.15061842 11.3225479,1.14646009 C11.3225479,1.14230175 11.2829624,1.12704814 11.2345802,1.11256384 C11.186198,1.09807954 11.1193123,1.08290836 11.0859452,1.07885156 L11.0252779,1.07147502 L10.9464103,1.08520913 C10.9030332,1.09276246 10.8385341,1.10943762 10.8030789,1.12226504 C10.7676249,1.13509245 10.7090846,1.16418528 10.6729899,1.18691816 C10.6368953,1.20964985 10.5807489,1.25394851 10.5482203,1.28535763 C10.5156916,1.31676676 10.4609794,1.3800951 10.4266368,1.42608648 C10.392293,1.47207786 10.356378,1.5204584 10.3468229,1.53359879 L10.3294514,1.55749042 L10.339999,1.50970717 C10.3458012,1.48342638 10.3619594,1.39741653 10.375908,1.31857416 C10.3898566,1.2397318 10.4041729,1.16581708 10.4077208,1.15431924 L10.4141733,1.13341406 L10.1828196,1.13341406 L9.95146594,1.13341406 L9.95146594,1.16220945 C9.95146594,1.1780472 9.93781118,1.27346438 9.92112208,1.37424762 C9.90443298,1.47503205 9.87691282,1.64350027 9.85996613,1.74862342 C9.84301943,1.85374657 9.8129425,2.03651751 9.79312843,2.15478105 C9.77331448,2.2730446 9.74322906,2.44237649 9.72627205,2.53107415 C9.70931504,2.61977181 9.67920475,2.77566467 9.65936022,2.87750272 C9.63951569,2.97934078 9.60656725,3.14598486 9.58614129,3.24782292 C9.56571544,3.34966097 9.54127633,3.46992783 9.53183225,3.515083 C9.52238804,3.56023818 9.51466108,3.6018992 9.51466108,3.60766305 L9.51466108,3.61815148 L9.77371379,3.61814311 L9.77371379,3.61815148 Z M15.9231926,3.61815148 L16.1880687,3.61815148 L16.1880687,3.53834508 L16.1880687,3.4585375 L16.2185916,3.26060494 C16.2353807,3.15174036 16.2630766,2.97934914 16.2801399,2.87751109 C16.2972031,2.77567303 16.3184719,2.64665825 16.3274021,2.59081158 C16.3363336,2.53496491 16.3600011,2.41401355 16.3799983,2.32203079 C16.3999955,2.23004804 16.4249722,2.13059914 16.4355041,2.10103326 C16.4460347,2.07146737 16.4547308,2.04044768 16.4548278,2.03210114 C16.4549492,2.0237546 16.4775041,1.97007848 16.5050034,1.9128222 L16.555003,1.80871922 L16.6209641,1.72243342 L16.6869253,1.63614762 L16.7591146,1.58271997 C16.7988189,1.55333566 16.862664,1.51433975 16.9009912,1.49606385 L16.9706774,1.46283419 L17.1223457,1.46386153 L17.2740141,1.46488886 L17.3337192,1.48376564 L17.3934244,1.50264122 L17.4034867,1.49651779 L17.413549,1.49039556 L17.4140586,1.45227648 C17.4143376,1.43131157 17.4273241,1.35330183 17.4429192,1.27892123 L17.4712752,1.14368388 L17.4393799,1.13139044 C17.4218386,1.12462911 17.3801856,1.1106334 17.3468185,1.10028833 L17.2861512,1.08147964 L17.17695,1.0817544 L17.0677488,1.08202915 L16.9787546,1.11285532 L16.8897605,1.1436803 L16.8229391,1.18334995 L16.7561176,1.22301961 L16.669242,1.3126132 L16.5823676,1.4022068 L16.5356913,1.47170873 C16.5100193,1.50993414 16.4874171,1.53950002 16.4854648,1.5374107 C16.4835113,1.53532018 16.4974648,1.45566431 16.5164719,1.36039645 C16.535479,1.2651286 16.5512658,1.17508703 16.5515534,1.16030409 L16.5520751,1.1334272 L16.327606,1.1334272 L16.1031368,1.1334272 L16.1031368,1.14103908 C16.1031368,1.14522489 16.0919461,1.22182741 16.0782681,1.31126691 C16.0645912,1.40070521 16.0371283,1.57333176 16.0172416,1.6948804 C15.9973536,1.81642905 15.9647218,2.01263902 15.9447271,2.13090257 C15.9247312,2.24916611 15.894588,2.41849801 15.8777419,2.50719567 C15.8608958,2.59589333 15.8309746,2.75178618 15.8112517,2.85362424 C15.7915287,2.95546229 15.7591214,3.11941857 15.7392359,3.21797153 C15.7193504,3.31652448 15.6930086,3.44688316 15.6806992,3.50765749 L15.6583178,3.61815625 L15.9231951,3.61815625 L15.9231926,3.61815148 Z M4.18287366,0.70311036 L4.25654638,0.703373168 L4.31510626,0.683728279 L4.37366602,0.664083389 L4.42549425,0.612324572 L4.47732236,0.56056456 L4.50462182,0.491606161 L4.53192127,0.422646568 L4.5328968,0.32110716 L4.53387233,0.219567752 L4.5096054,0.179918405 L4.48533846,0.140270252 L4.4430896,0.114516275 L4.40084074,0.0887622969 L4.30962145,0.0887622969 L4.21840216,0.0887611023 L4.15629991,0.116134932 L4.09419767,0.143508762 L4.05814865,0.181538257 L4.0220995,0.219567752 L3.99378945,0.285269722 L3.96547928,0.350971692 L3.96012782,0.453313859 L3.95477635,0.555656026 L3.98113328,0.606521296 L4.00749008,0.657385372 L4.05834557,0.680117059 L4.10920094,0.702848746 L4.18287366,0.703111554 L4.18287366,0.70311036 Z\"\n\t\t\t\t\tid=\"path2997\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import amex from './amex';\nimport dinersclub from './dinersclub';\nimport discover from './discover';\nimport hipercard from './hipercard';\nimport jcb from './jcb';\nimport unionpay from './unionpay';\nimport mastercard from './mastercard';\nimport placeholder from './placeholder';\nimport visa from './visa';\nimport troy from './troy';\n\nexport default {\n\tamex,\n\tdinersclub,\n\tdiscover,\n\thipercard,\n\tjcb,\n\tunionpay,\n\tmastercard,\n\tplaceholder,\n\tvisa,\n\ttroy,\n};\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z\"\n\t\t\tfill=\"#047ab1\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z\"\n\t\t\tfill=\"#d42d06\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z\"\n\t\t\tfill=\"#67b637\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\n\t\t<circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\n\t\t<path\n\t\t\td=\"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z\"\n\t\t\tfill=\"#ff5f00\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#D8D8D8\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"0.923076923\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tx=\"16.6153846\"\n\t\t\t\ty=\"3.76470588\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"2.82352941\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"6.46153846\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"11.9230769\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"5.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"18.4615385\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g>\n\t\t<path\n\t\t\ttransform=\"scale(0.6)\"\n\t\t\td=\"m33.6 24h-31.2c-1.325 0-2.4-1.075-2.4-2.4v-19.2c0-1.325 1.075-2.4 2.4-2.4h31.2c1.325 0 2.4 1.075 2.4 2.4v19.2c0 1.325-1.075 2.4-2.4 2.4zm-8.689-15.321c-.07-.002-.151-.004-.233-.004-.213 0-.424.01-.632.028l.027-.002c-.01.03.542 1.996 1.066 3.83l.064.224c1.114 3.896 1.114 3.896.937 4.274-.153.313-.392.565-.686.729l-.008.004-.231.116-.994.019c-.96.02-.998.024-1.12.111-.228.164-.315.425-.489 1.467-.09.55-.16.982-.16 1.006.148.031.318.049.492.049.084 0 .167-.004.249-.012l-.01.001c.214 0 .48 0 .812-.006.17.016.367.025.566.025.484 0 .956-.054 1.409-.157l-.043.008c1.072-.313 1.958-.975 2.55-1.852l.01-.016c.197-.286 5.257-9.732 5.257-9.814-.167-.024-.359-.038-.555-.038-.09 0-.178.003-.267.009l.012-.001h-.594l-1.4.011-.266.132c-.149.071-.277.163-.385.274-.067.08-.528 1.088-1.12 2.445-.344.887-.691 1.622-1.083 2.33l.049-.096c-.022-.046-.218-1.266-.378-2.282-.187-1.218-.366-2.27-.4-2.346-.065-.168-.191-.3-.349-.372l-.004-.002c-.151-.08-.223-.08-1.539-.095h-.553zm-3.77.131c-.043 0-.052.027-.062.071-.027.123-.418 2.354-.418 2.386.042.047.092.087.148.117l.003.001c.41.281.69.725.746 1.237l.001.008c.003.04.005.087.005.134 0 .787-.538 1.448-1.266 1.637l-.012.003c-.136.032-.19.067-.203.131-.035.168-.418 2.357-.418 2.39 0 .006.023.015.179.015.07 0 .16 0 .25-.007 1.958-.11 3.55-1.545 3.9-3.417l.004-.026c.026-.2.041-.431.041-.665 0-.321-.028-.636-.082-.942l.005.032c-.291-1.35-1.207-2.439-2.423-2.964l-.027-.01c-.108-.056-.232-.101-.364-.129l-.01-.002zm-16.966-.136c-.167 0-.603 0-.612.008s-.025.13-.058.32l-.137.758c-.104.588-.179 1.074-.167 1.082s.32.012.621.012h.596l-.012.091c0 .026-.037.211-.085.489l-.185 1.058c-.172.615-.271 1.322-.271 2.051 0 .156.005.31.013.464l-.001-.021c.182 1.082 1.114 1.766 2.624 1.925.198.021.466.031.701.031.038.003.081.004.125.004.138 0 .273-.016.403-.046l-.012.002c.022-.027.413-2.182.418-2.306 0-.052-.069-.068-.386-.088-.778-.043-1.126-.297-1.126-.823 0-.16.367-2.381.457-2.763.013-.059.032-.075.433-.075h.606c.053.003.116.004.179.004.174 0 .344-.012.512-.034l-.019.002c.025-.042.378-2 .378-2.099 0-.037-.198-.047-.847-.047h-.846l.107-.609c.195-1.063.149-1.32-.278-1.527-.214-.107-.231-.107-1.152-.123l-.953-.012-.024.111c-.012.064-.096.525-.183 1.03s-.171.96-.183 1.022l-.024.112zm6-.008-.025.111c-.04.186-1.415 8.014-1.415 8.053.294.026.637.042.983.042.135 0 .27-.002.404-.007l-.019.001h1.369l.04-.21c.025-.111.16-.871.302-1.686.14-.8.297-1.6.342-1.75.238-.867.892-1.541 1.727-1.805l.018-.005c.2-.061.43-.096.668-.096.056 0 .111.002.165.006h-.007c.499 0 .53-.005.545-.08.045-.195.452-2.57.445-2.593-.066-.021-.141-.034-.22-.034-.024 0-.048.001-.072.003h.003c-.006 0-.014 0-.021 0-.16 0-.317.013-.47.038l.017-.002c-.622.133-1.164.417-1.603.813l.003-.003c-.292.27-.546.576-.756.912l-.011.019c-.022.056-.054.104-.094.144.015-.157.037-.297.066-.435l-.004.024c.166-.885.076-1.192-.4-1.371-.269-.047-.578-.074-.894-.074-.058 0-.115.001-.173.003h.008zm9.704-.026h-.141c-.236 0-.467.022-.691.064l.023-.004c-1.274.263-2.314 1.086-2.869 2.195l-.011.024c-.272.488-.432 1.07-.432 1.689 0 .051.001.101.003.151v-.007c-.001.041-.002.09-.002.139 0 .262.024.518.069.767l-.004-.026c.249 1.142.939 2.09 1.879 2.674l.018.01c.276.177.595.325.933.427l.027.007c.025-.018.139-.633.247-1.233l.218-1.213-.103-.08c-.27-.187-.487-.434-.635-.721l-.005-.011c-.099-.162-.157-.359-.157-.569 0-.052.004-.103.01-.153l-.001.006c-.006-.044-.009-.095-.009-.147 0-.2.051-.387.14-.551l-.003.006c.228-.47.651-.815 1.161-.931l.011-.002c.08-.008.151-.031.151-.052 0-.054.4-2.314.422-2.394-.015-.056-.07-.064-.249-.064z\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981\"\n\t\t\tfill=\"#dd2423\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981\"\n\t\t\tfill=\"#16315e\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981\"\n\t\t\tfill=\"#036862\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.42760986.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z\"\n\t\t\tfill=\"#fefefe\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-80.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g id=\"Visa\" transform=\"translate(40.000000, 0.000000)\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t\tx=\"0.25\"\n\t\t\t\t\t\t\ty=\"0.25\"\n\t\t\t\t\t\t\twidth=\"23.5\"\n\t\t\t\t\t\t\theight=\"15.5\"\n\t\t\t\t\t\t\trx=\"2\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.1118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z\"\n\t\t\t\t\t\t\tid=\"Shape\"\n\t\t\t\t\t\t\tfill=\"#171E6C\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","export const DEFAULT_CVC_LENGTH = 3;\nexport const DEFAULT_ZIP_LENGTH = 5;\nexport const DEFAULT_CARD_FORMAT = /(\\d{1,4})/g;\nexport const CARD_TYPES = [\n\t{\n\t\tdisplayName: 'Visa',\n\t\ttype: 'visa',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^4/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Mastercard',\n\t\ttype: 'mastercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'American Express',\n\t\ttype: 'amex',\n\t\tformat: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n\t\tstartPattern: /^3[47]/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 15 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 4,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Diners Club',\n\t\ttype: 'dinersclub',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(36|38|30[0-5])/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 14, 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Discover',\n\t\ttype: 'discover',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(6011|65|64[4-9]|622)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'JCB',\n\t\ttype: 'jcb',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^35/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'UnionPay',\n\t\ttype: 'unionpay',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^62/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVN',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Maestro',\n\t\ttype: 'maestro',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5018|5020|5038|6304|6703|6708|6759|676[1-3])/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 12, 13, 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Elo',\n\t\ttype: 'elo',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern:\n\t\t\t/^(4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVE',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Hipercard',\n\t\ttype: 'hipercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Troy',\n\t\ttype: 'troy',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^9792/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n];\n\nexport const getCardTypeByValue = ( value ) =>\n\tCARD_TYPES.filter( ( cardType ) =>\n\t\tcardType.startPattern.test( value )\n\t)[ 0 ];\nexport const getCardTypeByType = ( type ) =>\n\tCARD_TYPES.filter( ( cardType ) => cardType.type === type )[ 0 ];\n","import * as cardTypes from './cardTypes';\n\nexport const formatCardNumber = ( cardNumber ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( cardNumber );\n\n\tif ( ! cardType ) return ( cardNumber.match( /\\d+/g ) || [] ).join( '' );\n\n\tconst format = cardType.format;\n\tif ( format && format.global ) {\n\t\treturn ( cardNumber.match( format ) || [] ).join( ' ' );\n\t}\n\n\tif ( format ) {\n\t\tconst execResult = format.exec( cardNumber.split( ' ' ).join( '' ) );\n\t\tif ( execResult ) {\n\t\t\treturn execResult\n\t\t\t\t.splice( 1, 3 )\n\t\t\t\t.filter( ( x ) => x )\n\t\t\t\t.join( ' ' );\n\t\t}\n\t}\n\n\treturn cardNumber;\n};\n\nexport const formatExpiry = ( event ) => {\n\tconst eventData = event.nativeEvent && event.nativeEvent.data;\n\tconst prevExpiry = event.target.value.split( ' / ' ).join( '/' );\n\n\tif ( ! prevExpiry ) return null;\n\tlet expiry = prevExpiry;\n\tif ( /^[2-9]$/.test( expiry ) ) {\n\t\texpiry = `0${ expiry }`;\n\t}\n\n\tif ( prevExpiry.length === 2 && +prevExpiry > 12 ) {\n\t\tconst [ head, ...tail ] = prevExpiry.split( '' );\n\t\texpiry = `0${ head }/${ tail.join( '' ) }`;\n\t}\n\n\tif ( /^1[/-]$/.test( expiry ) ) {\n\t\treturn `01 / `;\n\t}\n\n\texpiry = expiry.match( /(\\d{1,2})/g ) || [];\n\tif ( expiry.length === 1 ) {\n\t\tif ( ! eventData && prevExpiry.includes( '/' ) ) {\n\t\t\treturn expiry[ 0 ];\n\t\t}\n\t\tif ( /\\d{2}/.test( expiry ) ) {\n\t\t\treturn `${ expiry[ 0 ] } / `;\n\t\t}\n\t}\n\tif ( expiry.length > 2 ) {\n\t\tconst [ , month = null, year = null ] =\n\t\t\texpiry.join( '' ).match( /^(\\d{2}).*(\\d{2})$/ ) || [];\n\t\treturn [ month, year ].join( ' / ' );\n\t}\n\treturn expiry.join( ' / ' );\n};\n","import * as cardTypes from './cardTypes';\nimport * as formatter from './formatter';\nimport * as validator from './validator';\n\nexport const BACKSPACE_KEY_CODE = 'Backspace';\nexport const ENTER_KEY_CODE = 'Enter';\n\nexport const isHighlighted = () =>\n\t( window.getSelection() || { type: undefined } ).type === 'Range';\n\nexport default {\n\tcardTypes,\n\tformatter,\n\tvalidator,\n\tBACKSPACE_KEY_CODE,\n\tENTER_KEY_CODE,\n\tisHighlighted,\n};\n","import * as cardTypes from './cardTypes';\n\nconst MONTH_REGEX = /(0[1-9]|1[0-2])/;\n\nexport const EMPTY_CARD_NUMBER = 'Enter a card number';\nexport const EMPTY_EXPIRY_DATE = 'Enter an expiry date';\nexport const EMPTY_CVC = 'Enter a CVC';\nexport const EMPTY_ZIP = 'Enter a ZIP code';\nexport const EMPTY_ADDRESS = 'Enter an Address';\n\nexport const INVALID_CARD_NUMBER = 'Card number is invalid';\nexport const INVALID_EXPIRY_DATE = 'Expiry date is invalid';\nexport const INVALID_CVC = 'CVC is invalid';\nexport const INVALID_ZIP = 'Zip is invalid';\n\nexport const MONTH_OUT_OF_RANGE = 'Expiry month must be between 01 and 12';\nexport const YEAR_OUT_OF_RANGE = 'Expiry year cannot be in the past';\nexport const DATE_OUT_OF_RANGE = 'Expiry date cannot be in the past';\n\nexport const hasCardNumberReachedMaxLength = ( currentValue ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( currentValue );\n\treturn (\n\t\tcardType &&\n\t\tcurrentValue.length >= cardType.lengths[ cardType.lengths.length - 1 ]\n\t);\n};\n\nexport const isNumeric = ( e ) => {\n\treturn /^\\d*$/.test( e.key );\n};\n\nexport const validateLuhn = ( cardNumber ) => {\n\treturn (\n\t\tcardNumber\n\t\t\t.split( '' )\n\t\t\t.reverse()\n\t\t\t.map( ( digit ) => parseInt( digit, 10 ) )\n\t\t\t.map( ( digit, idx ) => ( idx % 2 ? digit * 2 : digit ) )\n\t\t\t.map( ( digit ) => ( digit > 9 ? ( digit % 10 ) + 1 : digit ) )\n\t\t\t.reduce( ( accum, digit ) => ( accum += digit ) ) %\n\t\t\t10 ===\n\t\t0\n\t);\n};\nexport const getCardNumberError = (\n\tcardNumber,\n\tcardNumberValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! cardNumber ) {\n\t\treturn errorMessages.emptyCardNumber || EMPTY_CARD_NUMBER;\n\t}\n\n\tconst rawCardNumber = cardNumber.replace( /\\s/g, '' );\n\tconst cardType = cardTypes.getCardTypeByValue( rawCardNumber );\n\tif ( cardType && cardType.lengths ) {\n\t\tconst doesCardNumberMatchLength = cardType.lengths.includes(\n\t\t\trawCardNumber.length\n\t\t);\n\t\tif ( doesCardNumberMatchLength ) {\n\t\t\tconst isLuhnValid = validateLuhn( rawCardNumber );\n\t\t\tif ( isLuhnValid ) {\n\t\t\t\tif ( cardNumberValidator ) {\n\t\t\t\t\treturn cardNumberValidator( {\n\t\t\t\t\t\tcardNumber: rawCardNumber,\n\t\t\t\t\t\tcardType,\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\treturn errorMessages.invalidCardNumber || INVALID_CARD_NUMBER;\n};\nexport const getExpiryDateError = (\n\texpiryDate,\n\texpiryValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! expiryDate ) {\n\t\treturn errorMessages.emptyExpiryDate || EMPTY_EXPIRY_DATE;\n\t}\n\tconst rawExpiryDate = expiryDate.replace( ' / ', '' ).replace( '/', '' );\n\tif ( rawExpiryDate.length === 4 ) {\n\t\tconst month = rawExpiryDate.slice( 0, 2 );\n\t\tconst year = `20${ rawExpiryDate.slice( 2, 4 ) }`;\n\t\tif ( ! MONTH_REGEX.test( month ) ) {\n\t\t\treturn errorMessages.monthOutOfRange || MONTH_OUT_OF_RANGE;\n\t\t}\n\t\tif ( parseInt( year ) < new Date().getFullYear() ) {\n\t\t\treturn errorMessages.yearOutOfRange || YEAR_OUT_OF_RANGE;\n\t\t}\n\t\tif (\n\t\t\tparseInt( year ) === new Date().getFullYear() &&\n\t\t\tparseInt( month ) < new Date().getMonth() + 1\n\t\t) {\n\t\t\treturn errorMessages.dateOutOfRange || DATE_OUT_OF_RANGE;\n\t\t}\n\t\tif ( expiryValidator ) {\n\t\t\treturn expiryValidator( {\n\t\t\t\texpiryDate: { month, year },\n\t\t\t\terrorMessages,\n\t\t\t} );\n\t\t}\n\t\treturn;\n\t}\n\treturn errorMessages.invalidExpiryDate || INVALID_EXPIRY_DATE;\n};\nexport const getCVCError = (\n\tcvc,\n\tcvcValidator,\n\t{ cardType, errorMessages = {} } = {}\n) => {\n\tif ( ! cvc ) {\n\t\treturn errorMessages.emptyCVC || EMPTY_CVC;\n\t}\n\tif ( cvc.length < 3 ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cardType && cvc.length !== cardType.code.length ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cvcValidator ) {\n\t\treturn cvcValidator( { cvc, cardType, errorMessages } );\n\t}\n\treturn;\n};\nexport const getZIPError = ( zip, { errorMessages = {} } = {} ) => {\n\tif ( ! zip ) {\n\t\treturn errorMessages.emptyZIP || EMPTY_ZIP;\n\t}\n\tif ( zip.length <= 3 ) {\n\t\treturn errorMessages.invalidAddress || INVALID_ZIP;\n\t}\n\treturn;\n};\n\nexport const getAddressError = ( address, { errorMessages = {} } = {} ) => {\n\tif ( ! address ) {\n\t\treturn errorMessages.emptyAddress || EMPTY_ADDRESS;\n\t}\n\treturn;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n  (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n  if (maybeIterable === null || typeof maybeIterable !== 'object') {\n    return null;\n  }\n\n  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n  if (typeof maybeIterator === 'function') {\n    return maybeIterator;\n  }\n\n  return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n  {\n    {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      printWarning('error', format, args);\n    }\n  }\n}\n\nfunction printWarning(level, format, args) {\n  // When changing this logic, you might want to also\n  // update consoleWithStackDev.www.js as well.\n  {\n    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n    var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n    if (stack !== '') {\n      format += '%s';\n      args = args.concat([stack]);\n    } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n    var argsWithFormat = args.map(function (item) {\n      return String(item);\n    }); // Careful: RN currently depends on this prefix\n\n    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n    // breaks IE9: https://github.com/facebook/react/issues/13610\n    // eslint-disable-next-line react-internal/no-production-logging\n\n    Function.prototype.apply.call(console[level], console, argsWithFormat);\n  }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n    // types supported by any Flight configuration anywhere since\n    // we don't know which Flight build this will end up being used\n    // with.\n    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n  var displayName = outerType.displayName;\n\n  if (displayName) {\n    return displayName;\n  }\n\n  var functionName = innerType.displayName || innerType.name || '';\n  return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n  return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n  if (type == null) {\n    // Host root, text node or just invalid type.\n    return null;\n  }\n\n  {\n    if (typeof type.tag === 'number') {\n      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n    }\n  }\n\n  if (typeof type === 'function') {\n    return type.displayName || type.name || null;\n  }\n\n  if (typeof type === 'string') {\n    return type;\n  }\n\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return 'Fragment';\n\n    case REACT_PORTAL_TYPE:\n      return 'Portal';\n\n    case REACT_PROFILER_TYPE:\n      return 'Profiler';\n\n    case REACT_STRICT_MODE_TYPE:\n      return 'StrictMode';\n\n    case REACT_SUSPENSE_TYPE:\n      return 'Suspense';\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return 'SuspenseList';\n\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_CONTEXT_TYPE:\n        var context = type;\n        return getContextName(context) + '.Consumer';\n\n      case REACT_PROVIDER_TYPE:\n        var provider = type;\n        return getContextName(provider._context) + '.Provider';\n\n      case REACT_FORWARD_REF_TYPE:\n        return getWrappedName(type, type.render, 'ForwardRef');\n\n      case REACT_MEMO_TYPE:\n        var outerName = type.displayName || null;\n\n        if (outerName !== null) {\n          return outerName;\n        }\n\n        return getComponentNameFromType(type.type) || 'Memo';\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            return getComponentNameFromType(init(payload));\n          } catch (x) {\n            return null;\n          }\n        }\n\n      // eslint-disable-next-line no-fallthrough\n    }\n  }\n\n  return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n  {\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      prevLog = console.log;\n      prevInfo = console.info;\n      prevWarn = console.warn;\n      prevError = console.error;\n      prevGroup = console.group;\n      prevGroupCollapsed = console.groupCollapsed;\n      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n      var props = {\n        configurable: true,\n        enumerable: true,\n        value: disabledLog,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        info: props,\n        log: props,\n        warn: props,\n        error: props,\n        group: props,\n        groupCollapsed: props,\n        groupEnd: props\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    disabledDepth++;\n  }\n}\nfunction reenableLogs() {\n  {\n    disabledDepth--;\n\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      var props = {\n        configurable: true,\n        enumerable: true,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        log: assign({}, props, {\n          value: prevLog\n        }),\n        info: assign({}, props, {\n          value: prevInfo\n        }),\n        warn: assign({}, props, {\n          value: prevWarn\n        }),\n        error: assign({}, props, {\n          value: prevError\n        }),\n        group: assign({}, props, {\n          value: prevGroup\n        }),\n        groupCollapsed: assign({}, props, {\n          value: prevGroupCollapsed\n        }),\n        groupEnd: assign({}, props, {\n          value: prevGroupEnd\n        })\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    if (disabledDepth < 0) {\n      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n    }\n  }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n  {\n    if (prefix === undefined) {\n      // Extract the VM specific prefix used by each line.\n      try {\n        throw Error();\n      } catch (x) {\n        var match = x.stack.trim().match(/\\n( *(at )?)/);\n        prefix = match && match[1] || '';\n      }\n    } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n    return '\\n' + prefix + name;\n  }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n  componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n  // If something asked for a stack inside a fake render, it should get ignored.\n  if ( !fn || reentry) {\n    return '';\n  }\n\n  {\n    var frame = componentFrameCache.get(fn);\n\n    if (frame !== undefined) {\n      return frame;\n    }\n  }\n\n  var control;\n  reentry = true;\n  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n  Error.prepareStackTrace = undefined;\n  var previousDispatcher;\n\n  {\n    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n    // for warnings.\n\n    ReactCurrentDispatcher.current = null;\n    disableLogs();\n  }\n\n  try {\n    // This should throw.\n    if (construct) {\n      // Something should be setting the props in the constructor.\n      var Fake = function () {\n        throw Error();\n      }; // $FlowFixMe\n\n\n      Object.defineProperty(Fake.prototype, 'props', {\n        set: function () {\n          // We use a throwing setter instead of frozen or non-writable props\n          // because that won't throw in a non-strict mode function.\n          throw Error();\n        }\n      });\n\n      if (typeof Reflect === 'object' && Reflect.construct) {\n        // We construct a different control for this case to include any extra\n        // frames added by the construct call.\n        try {\n          Reflect.construct(Fake, []);\n        } catch (x) {\n          control = x;\n        }\n\n        Reflect.construct(fn, [], Fake);\n      } else {\n        try {\n          Fake.call();\n        } catch (x) {\n          control = x;\n        }\n\n        fn.call(Fake.prototype);\n      }\n    } else {\n      try {\n        throw Error();\n      } catch (x) {\n        control = x;\n      }\n\n      fn();\n    }\n  } catch (sample) {\n    // This is inlined manually because closure doesn't do it for us.\n    if (sample && control && typeof sample.stack === 'string') {\n      // This extracts the first frame from the sample that isn't also in the control.\n      // Skipping one frame that we assume is the frame that calls the two.\n      var sampleLines = sample.stack.split('\\n');\n      var controlLines = control.stack.split('\\n');\n      var s = sampleLines.length - 1;\n      var c = controlLines.length - 1;\n\n      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n        // We expect at least one stack frame to be shared.\n        // Typically this will be the root most one. However, stack frames may be\n        // cut off due to maximum stack limits. In this case, one maybe cut off\n        // earlier than the other. We assume that the sample is longer or the same\n        // and there for cut off earlier. So we should find the root most frame in\n        // the sample somewhere in the control.\n        c--;\n      }\n\n      for (; s >= 1 && c >= 0; s--, c--) {\n        // Next we find the first one that isn't the same which should be the\n        // frame that called our sample function and the control.\n        if (sampleLines[s] !== controlLines[c]) {\n          // In V8, the first line is describing the message but other VMs don't.\n          // If we're about to return the first line, and the control is also on the same\n          // line, that's a pretty good indicator that our sample threw at same line as\n          // the control. I.e. before we entered the sample frame. So we ignore this result.\n          // This can happen if you passed a class to function component, or non-function.\n          if (s !== 1 || c !== 1) {\n            do {\n              s--;\n              c--; // We may still have similar intermediate frames from the construct call.\n              // The next one that isn't the same should be our match though.\n\n              if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n                // but we have a user-provided \"displayName\"\n                // splice it in to make the stack more readable.\n\n\n                if (fn.displayName && _frame.includes('<anonymous>')) {\n                  _frame = _frame.replace('<anonymous>', fn.displayName);\n                }\n\n                {\n                  if (typeof fn === 'function') {\n                    componentFrameCache.set(fn, _frame);\n                  }\n                } // Return the line we found.\n\n\n                return _frame;\n              }\n            } while (s >= 1 && c >= 0);\n          }\n\n          break;\n        }\n      }\n    }\n  } finally {\n    reentry = false;\n\n    {\n      ReactCurrentDispatcher.current = previousDispatcher;\n      reenableLogs();\n    }\n\n    Error.prepareStackTrace = previousPrepareStackTrace;\n  } // Fallback to just using the name if we couldn't make it throw.\n\n\n  var name = fn ? fn.displayName || fn.name : '';\n  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n  {\n    if (typeof fn === 'function') {\n      componentFrameCache.set(fn, syntheticFrame);\n    }\n  }\n\n  return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n  {\n    return describeNativeComponentFrame(fn, false);\n  }\n}\n\nfunction shouldConstruct(Component) {\n  var prototype = Component.prototype;\n  return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n  if (type == null) {\n    return '';\n  }\n\n  if (typeof type === 'function') {\n    {\n      return describeNativeComponentFrame(type, shouldConstruct(type));\n    }\n  }\n\n  if (typeof type === 'string') {\n    return describeBuiltInComponentFrame(type);\n  }\n\n  switch (type) {\n    case REACT_SUSPENSE_TYPE:\n      return describeBuiltInComponentFrame('Suspense');\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return describeBuiltInComponentFrame('SuspenseList');\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_FORWARD_REF_TYPE:\n        return describeFunctionComponentFrame(type.render);\n\n      case REACT_MEMO_TYPE:\n        // Memo may contain any component type so we recursively resolve it.\n        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            // Lazy may contain any component type so we recursively resolve it.\n            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n          } catch (x) {}\n        }\n    }\n  }\n\n  return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame.setExtraStackFrame(null);\n    }\n  }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n  {\n    // $FlowFixMe This is okay but Flow doesn't know it.\n    var has = Function.call.bind(hasOwnProperty);\n\n    for (var typeSpecName in typeSpecs) {\n      if (has(typeSpecs, typeSpecName)) {\n        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            // eslint-disable-next-line react-internal/prod-error-codes\n            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n\n          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n        } catch (ex) {\n          error$1 = ex;\n        }\n\n        if (error$1 && !(error$1 instanceof Error)) {\n          setCurrentlyValidatingElement(element);\n\n          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n          setCurrentlyValidatingElement(null);\n        }\n\n        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error$1.message] = true;\n          setCurrentlyValidatingElement(element);\n\n          error('Failed %s type: %s', location, error$1.message);\n\n          setCurrentlyValidatingElement(null);\n        }\n      }\n    }\n  }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n  return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n  {\n    // toStringTag is needed for namespaced types like Temporal.Instant\n    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n    return type;\n  }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n  {\n    try {\n      testStringCoercion(value);\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n}\n\nfunction testStringCoercion(value) {\n  // If you ended up here by following an exception call stack, here's what's\n  // happened: you supplied an object or symbol value to React (as a prop, key,\n  // DOM attribute, CSS property, string ref, etc.) and when React tried to\n  // coerce it to a string using `'' + value`, an exception was thrown.\n  //\n  // The most common types that will cause this exception are `Symbol` instances\n  // and Temporal objects like `Temporal.Instant`. But any object that has a\n  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n  // exception. (Library authors do this to prevent users from using built-in\n  // numeric operators like `+` or comparison operators like `>=` because custom\n  // methods are needed to perform accurate arithmetic or comparison.)\n  //\n  // To fix the problem, coerce this object or symbol value to a string before\n  // passing it to React. The most reliable way is usually `String(value)`.\n  //\n  // To find which value is throwing, check the browser or debugger console.\n  // Before this exception was thrown, there should be `console.error` output\n  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n  // problem and how that type was used: key, atrribute, input value prop, etc.\n  // In most cases, this console output also shows the component and its\n  // ancestor components where the exception happened.\n  //\n  // eslint-disable-next-line react-internal/safe-string-coercion\n  return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n  {\n    if (willCoercionThrow(value)) {\n      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n    }\n  }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n  key: true,\n  ref: true,\n  __self: true,\n  __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n  didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n  {\n    if (hasOwnProperty.call(config, 'ref')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n  {\n    if (hasOwnProperty.call(config, 'key')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n  {\n    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n      if (!didWarnAboutStringRefs[componentName]) {\n        error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n        didWarnAboutStringRefs[componentName] = true;\n      }\n    }\n  }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingKey = function () {\n      if (!specialPropKeyWarningShown) {\n        specialPropKeyWarningShown = true;\n\n        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, 'key', {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingRef = function () {\n      if (!specialPropRefWarningShown) {\n        specialPropRefWarningShown = true;\n\n        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, 'ref', {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n  var element = {\n    // This tag allows us to uniquely identify this as a React Element\n    $$typeof: REACT_ELEMENT_TYPE,\n    // Built-in properties that belong on the element\n    type: type,\n    key: key,\n    ref: ref,\n    props: props,\n    // Record the component responsible for creating this element.\n    _owner: owner\n  };\n\n  {\n    // The validation flag is currently mutative. We put it on\n    // an external backing store so that we can freeze the whole object.\n    // This can be replaced with a WeakMap once they are implemented in\n    // commonly used development environments.\n    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n    // the validation flag non-enumerable (where possible, which should\n    // include every environment we run tests in), so the test framework\n    // ignores it.\n\n    Object.defineProperty(element._store, 'validated', {\n      configurable: false,\n      enumerable: false,\n      writable: true,\n      value: false\n    }); // self and source are DEV only properties.\n\n    Object.defineProperty(element, '_self', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: self\n    }); // Two elements created in two different places should be considered\n    // equal for testing purposes and therefore we hide it from enumeration.\n\n    Object.defineProperty(element, '_source', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: source\n    });\n\n    if (Object.freeze) {\n      Object.freeze(element.props);\n      Object.freeze(element);\n    }\n  }\n\n  return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n  {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n    // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n    // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n    // but as an intermediary step, we will use jsxDEV for everything except\n    // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n    // key is explicitly declared to be undefined or not.\n\n    if (maybeKey !== undefined) {\n      {\n        checkKeyStringCoercion(maybeKey);\n      }\n\n      key = '' + maybeKey;\n    }\n\n    if (hasValidKey(config)) {\n      {\n        checkKeyStringCoercion(config.key);\n      }\n\n      key = '' + config.key;\n    }\n\n    if (hasValidRef(config)) {\n      ref = config.ref;\n      warnIfStringRefCannotBeAutoConverted(config, self);\n    } // Remaining properties are added to a new props object\n\n\n    for (propName in config) {\n      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n        props[propName] = config[propName];\n      }\n    } // Resolve default props\n\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n\n    if (key || ref) {\n      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n      if (key) {\n        defineKeyPropWarningGetter(props, displayName);\n      }\n\n      if (ref) {\n        defineRefPropWarningGetter(props, displayName);\n      }\n    }\n\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n    }\n  }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n  propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n  {\n    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n}\n\nfunction getDeclarationErrorAddendum() {\n  {\n    if (ReactCurrentOwner$1.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n      if (name) {\n        return '\\n\\nCheck the render method of `' + name + '`.';\n      }\n    }\n\n    return '';\n  }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n  {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n      var lineNumber = source.lineNumber;\n      return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n    }\n\n    return '';\n  }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n  {\n    var info = getDeclarationErrorAddendum();\n\n    if (!info) {\n      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n\n    return info;\n  }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n  {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = '';\n\n    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n\n    setCurrentlyValidatingElement$1(element);\n\n    error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n    setCurrentlyValidatingElement$1(null);\n  }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n  {\n    if (typeof node !== 'object') {\n      return;\n    }\n\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n\n      if (typeof iteratorFn === 'function') {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n  {\n    var type = element.type;\n\n    if (type === null || type === undefined || typeof type === 'string') {\n      return;\n    }\n\n    var propTypes;\n\n    if (typeof type === 'function') {\n      propTypes = type.propTypes;\n    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n    // Inner props are checked in the reconciler.\n    type.$$typeof === REACT_MEMO_TYPE)) {\n      propTypes = type.propTypes;\n    } else {\n      return;\n    }\n\n    if (propTypes) {\n      // Intentionally inside to avoid triggering lazy initializers:\n      var name = getComponentNameFromType(type);\n      checkPropTypes(propTypes, element.props, 'prop', name, element);\n    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n      var _name = getComponentNameFromType(type);\n\n      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n    }\n\n    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n    }\n  }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n  {\n    var keys = Object.keys(fragment.props);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n\n      if (key !== 'children' && key !== 'key') {\n        setCurrentlyValidatingElement$1(fragment);\n\n        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n        setCurrentlyValidatingElement$1(null);\n        break;\n      }\n    }\n\n    if (fragment.ref !== null) {\n      setCurrentlyValidatingElement$1(fragment);\n\n      error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n  {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = '';\n\n      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n        info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n\n      var sourceInfo = getSourceInfoErrorAddendum(source);\n\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n\n      var typeString;\n\n      if (type === null) {\n        typeString = 'null';\n      } else if (isArray(type)) {\n        typeString = 'array';\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n        info = ' Did you accidentally export a JSX literal instead of a component?';\n      } else {\n        typeString = typeof type;\n      }\n\n      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n    }\n\n    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n\n    if (validType) {\n      var children = props.children;\n\n      if (children !== undefined) {\n        if (isStaticChildren) {\n          if (isArray(children)) {\n            for (var i = 0; i < children.length; i++) {\n              validateChildKeys(children[i], type);\n            }\n\n            if (Object.freeze) {\n              Object.freeze(children);\n            }\n          } else {\n            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n          }\n        } else {\n          validateChildKeys(children, type);\n        }\n      }\n    }\n\n    {\n      if (hasOwnProperty.call(props, 'key')) {\n        var componentName = getComponentNameFromType(type);\n        var keys = Object.keys(props).filter(function (k) {\n          return k !== 'key';\n        });\n        var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n        if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n          var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n          error('A props object containing a \"key\" prop is being spread into JSX:\\n' + '  let props = %s;\\n' + '  <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + '  let props = %s;\\n' + '  <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n          didWarnAboutKeySpread[componentName + beforeExample] = true;\n        }\n      }\n    }\n\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n\n    return element;\n  }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, true);\n  }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, false);\n  }\n}\n\nvar jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs =  jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n  })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n  var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n  if (ret !== void 0) {\n    return !!ret;\n  }\n\n  if (objA === objB) {\n    return true;\n  }\n\n  if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n    return false;\n  }\n\n  var keysA = Object.keys(objA);\n  var keysB = Object.keys(objB);\n\n  if (keysA.length !== keysB.length) {\n    return false;\n  }\n\n  var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n  // Test for A's keys different from B.\n  for (var idx = 0; idx < keysA.length; idx++) {\n    var key = keysA[idx];\n\n    if (!bHasOwnProperty(key)) {\n      return false;\n    }\n\n    var valueA = objA[key];\n    var valueB = objB[key];\n\n    ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n    if (ret === false || (ret === void 0 && valueA !== valueB)) {\n      return false;\n    }\n  }\n\n  return true;\n};\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.13\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,e([t],n,!1))},r(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"use\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"tspan\"]),O=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}function se(e){return\"object\"==typeof e&&\"styledComponentId\"in e}function ie(e,t){return e&&t?\"\".concat(e,\" \").concat(t):e||t||\"\"}function ae(e,t){if(0===e.length)return\"\";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,\"toString\",{value:t})}var pe=\"production\"!==process.env.NODE_ENV?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`\"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return\"production\"===process.env.NODE_ENV?new Error(\"An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#\".concat(t,\" for more information.\").concat(n.length>0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=\"\".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if(\"production\"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,\"\".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),Ee=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ne=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement(\"style\"),r=function(e){var t=Array.from(e.querySelectorAll(\"style[\".concat(f,\"]\")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute(\"nonce\",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:\"\"},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:\"\"},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=t(t({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o=\"\",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return\"continue\";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return\"continue\";var a=\"\".concat(f,\".g\").concat(n,'[id=\"').concat(r,'\"]'),c=\"\";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(t(t({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\\s*\\/\\/.*$/gm;function Ve(e,t){return e.map(function(e){return\"rule\"===e.type&&(e.value=\"\".concat(t,\" \").concat(e.value),e.value=e.value.replaceAll(\",\",\",\".concat(t,\" \")),e.props=e.props.map(function(e){return\"\".concat(t,\" \").concat(e)})),Array.isArray(e.children)&&\"@keyframes\"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,\"\").length>0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(xe,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=o.createContext(void 0);function Ge(){return c($e)}function Ye(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement($e.Provider,{value:d},o.createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>=\"A\"&&e<=\"Z\"};function He(e){for(var t=\"\",n=0;n<e.length;n++){var o=e[n];if(1===n&&\"-\"===o&&\"-\"===e[0])return e;qe(o)?t+=\"-\"+o.toLowerCase():t+=o}return t.startsWith(\"ms-\")?\"-\"+t:t}var Ue=function(e){return null==e||!1===e||\"\"===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push(\"\".concat(He(s),\":\"),i,\";\"):ce(i)?r.push.apply(r,e(e([\"\".concat(s,\" {\")],Je(i),!1),[\"}\"],!1)):r.push(\"\".concat(He(s),\": \").concat((n=s,null==(o=i)||\"boolean\"==typeof o||\"\"===o?\"\":\"number\"!=typeof o||0===o||n in h||n.startsWith(\"--\")?String(o).trim():\"\".concat(o,\"px\")),\";\")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[\".\".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return\"production\"===process.env.NODE_ENV||\"object\"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error(\"\".concat(B(e),\" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId=\"\",this.isStatic=\"production\"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l<this.rules.length;l++){var u=this.rules[l];if(\"string\"==typeof u)c+=u,\"production\"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=o.createContext(void 0),tt=et.Consumer;function nt(){var e=c(et);if(!e)throw he(18);return e}function ot(e){var n=o.useContext(et),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);rt[n]=(rt[n]||0)+1;var o=\"\".concat(n,\"-\").concat($(v+n+rt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]=\"className\"===c?ie(s[c],a[c]):\"style\"===c?t(t({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||\"$\"===b[0]||\"as\"===b||\"theme\"===b&&g.theme===v||(\"forwardedAs\"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||\"development\"!==process.env.NODE_ENV||n(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop \"'.concat(b,'\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}),\"production\"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n  const Component = styled.div.attrs(props => ({\\n    style: {\\n      background: props.background,\\n    },\\n  }))`width: 100%;`\\n\\n  <Component />\"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,e([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&\"string\"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,e([t],s,!1)))};return s.attrs=function(e){return ut(n,o,t(t({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,t(t({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),\"\"),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,e([n],r,!1)),a=\"sc-global-\".concat($(JSON.stringify(i))),c=new ht(i,a);\"production\"!==process.env.NODE_ENV&&P(a);var l=function(e){var t=Ge(),n=o.useContext(et),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return\"production\"!==process.env.NODE_ENV&&o.Children.count(e.children)&&console.warn(\"The global style component \".concat(a,\" was given child JSX. createGlobalStyle does not render children.\")),\"production\"!==process.env.NODE_ENV&&i.some(function(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@import\")})&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");var r=ae(lt.apply(void 0,e([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=o.forwardRef(function(n,r){var s=I(n,o.useContext(et),e.defaultProps);return\"production\"!==process.env.NODE_ENV&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"'.concat(B(e),'\"')),o.createElement(e,t({},n,{theme:s,ref:r}))});return n.displayName=\"WithTheme(\".concat(B(e),\")\"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=Ce(),o=ae([n&&'nonce=\"'.concat(n,'\"'),\"\".concat(f,'=\"true\"'),\"\".concat(y,'=\"').concat(v,'\"')].filter(Boolean),\" \");return\"<style \".concat(o,\">\").concat(t,\"</style>\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[o.createElement(\"style\",t({},s,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var St=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[St]+=1);export{vt as ServerStyleSheet,Be as StyleSheetConsumer,$e as StyleSheetContext,Ye as StyleSheetManager,tt as ThemeConsumer,et as ThemeContext,ot as ThemeProvider,gt as __PRIVATE__,ft as createGlobalStyle,lt as css,dt as default,se as isStyledComponent,mt as keyframes,dt as styled,nt as useTheme,v as version,yt as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","module.exports = window[\"React\"];","module.exports = window[\"wc\"][\"blocksCheckout\"];","module.exports = window[\"wc\"][\"wcBlocksData\"];","module.exports = window[\"wc\"][\"wcBlocksRegistry\"];","module.exports = window[\"wc\"][\"wcSettings\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"htmlEntities\"];","module.exports = window[\"wp\"][\"i18n\"];","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf ||\n      ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n      function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n  return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n      throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() { this.constructor = d; }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n  __assign = Object.assign || function __assign(t) {\n      for (var s, i = 1, n = arguments.length; i < n; i++) {\n          s = arguments[i];\n          for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n      }\n      return t;\n  }\n  return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n      for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n          if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n              t[p[i]] = s[p[i]];\n      }\n  return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n  return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n  function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n  var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n  var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n  var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n  var _, done = false;\n  for (var i = decorators.length - 1; i >= 0; i--) {\n      var context = {};\n      for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n      for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n      context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n      var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n      if (kind === \"accessor\") {\n          if (result === void 0) continue;\n          if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n          if (_ = accept(result.get)) descriptor.get = _;\n          if (_ = accept(result.set)) descriptor.set = _;\n          if (_ = accept(result.init)) initializers.unshift(_);\n      }\n      else if (_ = accept(result)) {\n          if (kind === \"field\") initializers.unshift(_);\n          else descriptor[key] = _;\n      }\n  }\n  if (target) Object.defineProperty(target, contextIn.name, descriptor);\n  done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n  var useValue = arguments.length > 2;\n  for (var i = 0; i < initializers.length; i++) {\n      value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n  }\n  return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n  return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n  if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n  return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n  if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n  return new (P || (P = Promise))(function (resolve, reject) {\n      function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n      function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n      function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\n\nexport function __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n  return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n  function verb(n) { return function (v) { return step([n, v]); }; }\n  function step(op) {\n      if (f) throw new TypeError(\"Generator is already executing.\");\n      while (g && (g = 0, op[0] && (_ = 0)), _) try {\n          if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n          if (y = 0, t) op = [op[0] & 2, t.value];\n          switch (op[0]) {\n              case 0: case 1: t = op; break;\n              case 4: _.label++; return { value: op[1], done: false };\n              case 5: _.label++; y = op[1]; op = [0]; continue;\n              case 7: op = _.ops.pop(); _.trys.pop(); continue;\n              default:\n                  if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                  if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                  if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                  if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                  if (t[2]) _.ops.pop();\n                  _.trys.pop(); continue;\n          }\n          op = body.call(thisArg, _);\n      } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n      if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  var desc = Object.getOwnPropertyDescriptor(m, k);\n  if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n  }\n  Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n  for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m) return m.call(o);\n  if (o && typeof o.length === \"number\") return {\n      next: function () {\n          if (o && i >= o.length) o = void 0;\n          return { value: o && o[i++], done: !o };\n      }\n  };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m) return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n      while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n  }\n  catch (error) { e = { error: error }; }\n  finally {\n      try {\n          if (r && !r.done && (m = i[\"return\"])) m.call(i);\n      }\n      finally { if (e) throw e.error; }\n  }\n  return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n  for (var ar = [], i = 0; i < arguments.length; i++)\n      ar = ar.concat(__read(arguments[i]));\n  return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n  for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n  for (var r = Array(s), k = 0, i = 0; i < il; i++)\n      for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n          r[k] = a[j];\n  return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n          if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n          ar[i] = from[i];\n      }\n  }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n  return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var g = generator.apply(thisArg, _arguments || []), i, q = [];\n  return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n  function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n  function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n  function fulfill(value) { resume(\"next\", value); }\n  function reject(value) { resume(\"throw\", value); }\n  function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n  var i, p;\n  return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n  function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var m = o[Symbol.asyncIterator], i;\n  return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n  function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n  function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n  if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n  return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n  Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n  o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n  if (mod && mod.__esModule) return mod;\n  var result = {};\n  if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n  __setModuleDefault(result, mod);\n  return result;\n}\n\nexport function __importDefault(mod) {\n  return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n  return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n  if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n  return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n  if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n  return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n  if (value !== null && value !== void 0) {\n    if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n    var dispose;\n    if (async) {\n        if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n        dispose = value[Symbol.asyncDispose];\n    }\n    if (dispose === void 0) {\n        if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n        dispose = value[Symbol.dispose];\n    }\n    if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n    env.stack.push({ value: value, dispose: dispose, async: async });\n  }\n  else if (async) {\n    env.stack.push({ async: true });\n  }\n  return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n  function fail(e) {\n    env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n    env.hasError = true;\n  }\n  function next() {\n    while (env.stack.length) {\n      var rec = env.stack.pop();\n      try {\n        var result = rec.dispose && rec.dispose.call(rec.value);\n        if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n      }\n      catch (e) {\n          fail(e);\n      }\n    }\n    if (env.hasError) throw env.error;\n  }\n  return next();\n}\n\nexport default {\n  __extends,\n  __assign,\n  __rest,\n  __decorate,\n  __param,\n  __metadata,\n  __awaiter,\n  __generator,\n  __createBinding,\n  __exportStar,\n  __values,\n  __read,\n  __spread,\n  __spreadArrays,\n  __spreadArray,\n  __await,\n  __asyncGenerator,\n  __asyncDelegator,\n  __asyncValues,\n  __makeTemplateObject,\n  __importStar,\n  __importDefault,\n  __classPrivateFieldGet,\n  __classPrivateFieldSet,\n  __classPrivateFieldIn,\n  __addDisposableResource,\n  __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","import { useEffect, useState } from 'react';\nimport { sprintf, __ } from '@wordpress/i18n';\nimport { registerPaymentMethod } from '@woocommerce/blocks-registry';\nimport { decodeEntities } from '@wordpress/html-entities';\nimport { getSetting } from '@woocommerce/settings';\nimport { usePaymentInputs } from './hooks';\nimport { PaymentInputsWrapper, TermsCheckbox } from './components';\nimport images from './images';\nimport { PAYMENT_STORE_KEY } from '@woocommerce/block-data';\nimport { subscribe, select, dispatch } from '@wordpress/data';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nconst settings = getSetting( 'wc_valorpay_data', {} );\nif ( settings && ! settings.is_not_blocked ) {\n\tdispatch( 'core/notices' ).createErrorNotice(\n\t\t__(\n\t\t\t'Valor Pay is disabled due to multiple payment failures.',\n\t\t\t'wc-valorpay'\n\t\t),\n\t\t{\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t}\n\t);\n}\nif ( settings && settings.card_type_allowed ) {\n\tlet noticeMsg = null;\n\tif ( 'debit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only debit card allowed', 'wc-valorpay' );\n\t}\n\tif ( 'credit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only credit card allowed', 'wc-valorpay' );\n\t}\n\tif ( noticeMsg ) {\n\t\tdispatch( 'core/notices' ).createInfoNotice( noticeMsg, {\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t} );\n\t}\n}\nsubscribe( function () {\n\tconst paymentMethodState = select( PAYMENT_STORE_KEY );\n\tconst chosenPaymentMethod = paymentMethodState.getActivePaymentMethod();\n\tconst savedPaymentMethods = paymentMethodState.getSavedPaymentMethods();\n\tconst selectedPaymentTokenId = +paymentMethodState.getActiveSavedToken();\n\tlet selectedCardType = '';\n\tif ( selectedPaymentTokenId ) {\n\t\tconst foundMethod = savedPaymentMethods.cc.find(\n\t\t\t( method ) =>\n\t\t\t\tmethod.tokenId === selectedPaymentTokenId &&\n\t\t\t\tmethod.method.gateway === 'wc_valorpay'\n\t\t);\n\t\tif ( foundMethod ) {\n\t\t\tselectedCardType = foundMethod.method.card_type;\n\t\t}\n\t}\n\n\textensionCartUpdate( {\n\t\tnamespace: 'wc-valorpay-fee-update',\n\t\tdata: {\n\t\t\taction_type: 'update_payment',\n\t\t\tpayment_method: chosenPaymentMethod,\n\t\t\tcard_type: selectedCardType,\n\t\t},\n\t} );\n}, PAYMENT_STORE_KEY );\n\nconst defaultLabel = __( 'Valor Pay', 'wc-valorpay' );\n\nconst label = decodeEntities( settings.title ) || defaultLabel;\n/**\n * Content component\n */\nconst Content = ( props ) => {\n\tconst [ isFetchingCardType, setIsFetchingCardType ] = useState( false );\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [ 'cardNumber', 'expiryDate', 'cvc' ];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetCardImageProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: {\n\t\t\terroredInputs,\n\t\t\tisTouched,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tsetIsFetchingCardType,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst {\n\t\tcomponents: { LoadingMask },\n\t\teventRegistration,\n\t\temitResponse,\n\t\tpaymentStatus,\n\t} = props;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\t\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc_valorpay-card-number': cardNumberField.current.value,\n\t\t\t\t\t'wc_valorpay-card-expiry': expiryDateField.current.value,\n\t\t\t\t\t'wc_valorpay-card-cvc': cvcField.current.value,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\tonCheckoutAfterProcessingWithError,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.is_sandbox_mode && (\n\t\t\t\t<p>\n\t\t\t\t\t{ __(\n\t\t\t\t\t\t'TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date.',\n\t\t\t\t\t\t'wc-valorpay'\n\t\t\t\t\t) }\n\t\t\t\t</p>\n\t\t\t) }\n\t\t\t<LoadingMask\n\t\t\t\tshowSpinner={ isFetchingCardType }\n\t\t\t\tisLoading={ isFetchingCardType }\n\t\t\t\tscreenReaderLabel={ __(\n\t\t\t\t\t'Fetching Card Type...',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t) }\n\t\t\t>\n\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t>\n\t\t\t\t\t<svg { ...getCardImageProps( { images } ) } />\n\t\t\t\t\t<input { ...getCardNumberProps() } />\n\t\t\t\t\t<input { ...getExpiryDateProps() } />\n\t\t\t\t\t<input { ...getCVCProps() } />\n\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t) }\n\t\t\t\t</PaymentInputsWrapper>\n\t\t\t</LoadingMask>\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-new-card\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\nconst SavedToken = ( props ) => {\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: { erroredInputs, zipField, addressField },\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst { eventRegistration, emitResponse, paymentStatus, token } = props;\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\t\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc-wc_valorpay-payment-token': token,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\ttoken,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.avs_type !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t</PaymentInputsWrapper>\n\t\t\t\t</>\n\t\t\t) }\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-saved-token\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\n/**\n * Label component\n *\n * @param {*} props Props from payment API.\n */\nconst Label = ( props ) => {\n\tconst { PaymentMethodLabel, PaymentMethodIcons } = props.components;\n\treturn (\n\t\t<>\n\t\t\t<PaymentMethodLabel text={ label } />\n\t\t\t<PaymentMethodIcons icons={ settings.card_types } align=\"right\" />\n\t\t</>\n\t);\n};\n\n/**\n * ValorPay payment method config object.\n */\nconst ValorPay = {\n\tname: 'wc_valorpay',\n\tlabel: <Label />,\n\tgatewayId: 'wc_valorpay',\n\tcontent: <Content />,\n\tedit: <Content />,\n\tcanMakePayment: () => settings.is_not_blocked,\n\tsavedTokenComponent: <SavedToken />,\n\tariaLabel: label,\n\tsupports: {\n\t\tfeatures: settings.supports,\n\t\tshowSaveOption: true,\n\t},\n};\n\nregisterPaymentMethod( ValorPay );\n"],"names":["usePaymentInputs","PaymentInputsContainer","props","paymentInputs","children","React","styled","css","jsx","_jsx","jsxs","_jsxs","FieldWrapper","div","withConfig","shouldForwardProp","prop","includes","hasErrored","styles","fieldWrapper","errored","undefined","base","InputWrapper","inputWrapper","focused","input","cardImage","ErrorText","errorText","PaymentInputsWrapper","error","errorTextProps","inputWrapperProps","isTouched","isInitPay","restProps","TermsCheckbox","id","label","checked","onChange","className","htmlFor","type","xmlns","viewBox","d","class","default","utils","extensionCartUpdate","autoFocus","errorMessages","onBlur","onError","onTouch","cardNumberValidator","cvcValidator","expiryValidator","avsType","setIsFetchingCardType","paymentFields","cardNumberField","useRef","expiryDateField","cvcField","zipField","addressField","touchedInputs","setTouchedInputs","useState","reduce","acc","field","setIsTouched","erroredInputs","setErroredInputs","setError","cardType","setCardType","setFocused","setInputError","useCallback","newError","newErroredInputs","Object","values","find","Boolean","setInputTouched","value","requestAnimationFrame","document","activeElement","tagName","newTouchedInputs","handleBlurCardNumber","e","handleChangeCardNumber","formattedCardNumber","target","cardNumber","replace","cursorPosition","current","selectionStart","cardTypes","getCardTypeByValue","formatter","formatCardNumber","setSelectionRange","cardNumberError","validator","getCardNumberError","focus","namespace","data","action_type","bin","slice","then","handleFocusCardNumber","onFocus","handleKeyPressCardNumber","onKeyPress","key","ENTER_KEY_CODE","isNumeric","preventDefault","hasCardNumberReachedMaxLength","getCardNumberProps","refKey","autoComplete","name","placeholder","handleBlurExpiryDate","handleChangeExpiryDate","formatExpiry","expiryDateError","getExpiryDateError","handleFocusExpiryDate","handleKeyDownExpiryDate","onKeyDown","BACKSPACE_KEY_CODE","handleKeyPressExpiryDate","formattedExpiryDate","expiryDate","length","getExpiryDateProps","handleBlurCVC","handleChangeCVC","cvc","cvcError","getCVCError","handleFocusCVC","handleKeyDownCVC","handleKeyPressCVC","formattedCVC","code","getCVCProps","handleBlurZIP","handleChangeZIP","zip","zipError","getZIPError","handleFocusZIP","handleKeyDownZIP","handleKeyPressZIP","getZIPProps","maxLength","handleBlurAddress","handleChangeAddress","streetaddress","addressError","getAddressError","handleFocusAddress","handleKeyDownAddress","getStreetAddressProps","getCardImageProps","images","displayName","width","height","useLayoutEffect","wrapperProps","meta","fill","fillRule","rx","stroke","strokeWidth","transform","strokeOpacity","x","y","amex","dinersclub","discover","hipercard","jcb","unionpay","mastercard","visa","troy","cx","cy","r","DEFAULT_CVC_LENGTH","DEFAULT_ZIP_LENGTH","DEFAULT_CARD_FORMAT","CARD_TYPES","format","startPattern","gaps","lengths","filter","test","getCardTypeByType","match","join","global","execResult","exec","split","splice","event","eventData","nativeEvent","prevExpiry","expiry","head","tail","month","year","isHighlighted","window","getSelection","MONTH_REGEX","EMPTY_CARD_NUMBER","EMPTY_EXPIRY_DATE","EMPTY_CVC","EMPTY_ZIP","EMPTY_ADDRESS","INVALID_CARD_NUMBER","INVALID_EXPIRY_DATE","INVALID_CVC","INVALID_ZIP","MONTH_OUT_OF_RANGE","YEAR_OUT_OF_RANGE","DATE_OUT_OF_RANGE","currentValue","validateLuhn","reverse","map","digit","parseInt","idx","accum","emptyCardNumber","rawCardNumber","doesCardNumberMatchLength","isLuhnValid","invalidCardNumber","emptyExpiryDate","rawExpiryDate","monthOutOfRange","Date","getFullYear","yearOutOfRange","getMonth","dateOutOfRange","invalidExpiryDate","emptyCVC","invalidCVC","emptyZIP","invalidAddress","address","emptyAddress","useEffect","sprintf","__","registerPaymentMethod","decodeEntities","getSetting","PAYMENT_STORE_KEY","subscribe","select","dispatch","Fragment","_Fragment","settings","is_not_blocked","createErrorNotice","context","card_type_allowed","noticeMsg","createInfoNotice","paymentMethodState","chosenPaymentMethod","getActivePaymentMethod","savedPaymentMethods","getSavedPaymentMethods","selectedPaymentTokenId","getActiveSavedToken","selectedCardType","foundMethod","cc","method","tokenId","gateway","card_type","payment_method","defaultLabel","title","Content","isFetchingCardType","setIsInitPay","avs_type","push","components","LoadingMask","eventRegistration","emitResponse","paymentStatus","isTermsChecked","setIsTermsChecked","onPaymentSetup","onCheckoutAfterProcessingWithError","handleCheckboxChange","prev","unsubscribe","isValid","errorInput","paymentMethodData","valorpay_avs_type","valorpay_terms","valorpay_avs_zip","valorpay_avs_street","responseTypes","SUCCESS","ERROR","message","unsubscribeErrorMsg","processingResponse","paymentDetails","errorMessage","messageContext","noticeContexts","PAYMENTS","is_sandbox_mode","showSpinner","isLoading","screenReaderLabel","is_terms_conditions_enable","dangerouslySetInnerHTML","__html","terms_label","SavedToken","token","Label","PaymentMethodLabel","PaymentMethodIcons","text","icons","card_types","align","ValorPay","gatewayId","content","edit","canMakePayment","savedTokenComponent","ariaLabel","supports","features","showSaveOption"],"sourceRoot":""}
  • valorpos/tags/8.0.1/wc-valorpay.php

    r3182885 r3202084  
    1616 * Plugin URI:        https://valorpaytech.com
    1717 * Description:       Adds the Valor Payment Gateway to WooCommerce.
    18  * Version:           8.0.0
     18 * Version:           8.0.1
    1919 * Author:            Valor Paytech LLC
    2020 * Author URI:        https://valorpaytech.com
     
    3737 * Rename this for your plugin and update it as you release new versions.
    3838 */
    39 define( 'WC_VALORPAY_VERSION', '8.0.0' );
     39define( 'WC_VALORPAY_VERSION', '8.0.1' );
    4040// Directory i.e. /home/user/public_html...
    4141define( 'WC_VALORPAY_DIR', plugin_dir_path( __FILE__ ) );
  • valorpos/trunk/README.txt

    r3182913 r3202084  
    33Tags: payment, payment gateway, credit card, valor pay, valor paytech
    44Requires at least: 5.0
    5 Tested up to: 6.6
     5Tested up to: 6.7
    66Requires PHP: 7.0
    7 Stable tag: 8.0.0
     7Stable tag: 8.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4343
    4444== Changelog ==
     45= 8.0.1 =
     46* Added a configuration to hide the Terms and Conditions, and introduced a configuration to sync with QuickBooks.
     47
    4548= 8.0.0 =
    4649* Added support for the new checkout block and implemented functionality to update checkbox text of terms. Also made several major code changes.
  • valorpos/trunk/includes/class-wc-valorpay-api.php

    r3182885 r3202084  
    467467                }
    468468            }
     469            // Add QB sync data.
     470            if ( 'yes' === $this->gateway->enable_qb_sync ) {
     471                $data['is_sync_qb']    = 1;
     472                $data['customer_name'] = sprintf( '%s %s', wc_clean( $billing_first_name ), wc_clean( $billing_last_name ) );
     473                // For QB sync invoice number required, if not set then set order id as invoice number.
     474                if ( ! isset( $data['invoicenumber'] ) || ! $data['invoicenumber'] ) {
     475                    $data['invoicenumber'] = $order->get_id();
     476                }
     477            }
    469478        } elseif ( 'refund' === $transaction_type ) {
    470479            $valorpay_order_meta = $order->get_meta( '_valorpay_transaction' );
  • valorpos/trunk/includes/class-wc-valorpay-gateway-addons-blocks-support.php

    r3184450 r3202084  
    101101        }
    102102        return array(
    103             'title'             => $this->get_setting( 'title' ),
    104             'is_not_blocked'    => ! Wc_Valorpay_Gateway_Loader::is_payment_gateway_blocked(),
    105             'avs_type'          => $this->get_setting( 'avs_type' ),
    106             'supports'          => $this->get_supported_features(),
    107             'is_sandbox_mode'   => $this->get_setting( 'sandbox' ) === 'yes',
    108             'logo_url'          => WC_VALORPAY_URL . 'admin/images/valorpaytech.png',
    109             'card_types'        => $icons,
    110             'terms_label'       => $terms_label,
    111             'card_type_allowed' => $this->get_setting( 'card_type_allowed' ),
     103            'title'                      => $this->get_setting( 'title' ),
     104            'is_not_blocked'             => ! Wc_Valorpay_Gateway_Loader::is_payment_gateway_blocked(),
     105            'avs_type'                   => $this->get_setting( 'avs_type' ),
     106            'supports'                   => $this->get_supported_features(),
     107            'is_sandbox_mode'            => $this->get_setting( 'sandbox' ) === 'yes',
     108            'logo_url'                   => WC_VALORPAY_URL . 'admin/images/valorpaytech.png',
     109            'card_types'                 => $icons,
     110            'terms_label'                => $terms_label,
     111            'card_type_allowed'          => $this->get_setting( 'card_type_allowed' ),
     112            'is_terms_conditions_enable' => $this->get_setting( 'enable_terms_conditions' ) === 'yes',
    112113        );
    113114    }
  • valorpos/trunk/includes/class-wc-valorpay-gateway.php

    r3182885 r3202084  
    160160     */
    161161    public $enable_l2_l3;
     162
     163    /**
     164     * Enable terms and conditions.
     165     *
     166     * @var string
     167     */
     168    public $enable_terms_conditions;
     169
     170    /**
     171     * Enable Quick Book Sync.
     172     *
     173     * @var string
     174     */
     175    public $enable_qb_sync;
    162176
    163177    /**
     
    210224        $this->enable_l2_l3                  = $this->get_option( 'enable_l2_l3' );
    211225        // $this->vault                         = $this->get_option( 'vault' );
    212         $this->vault = 'no';
     226        $this->vault                   = 'no';
     227        $this->enable_terms_conditions = $this->get_option( 'enable_terms_conditions' );
     228        $this->enable_qb_sync          = $this->get_option( 'enable_qb_sync' );
    213229
    214230        // Add test mode warning if sandbox.
     
    444460     */
    445461    public function valorpay_acknowledgement_form() {
     462        if ( 'yes' !== $this->enable_terms_conditions ) {
     463            return false;
     464        }
    446465        $terms_url = esc_url( 'https://valorpaytech.com/privacy-policy/' );
    447466        $label     = sprintf(
     
    652671            // 'description' => __( 'The Vault is a secure system for managing and safeguarding sensitive data, particularly payment card details. Please note that enabling this feature may impact the loading of existing saved cards.', 'wc-valorpay' ),
    653672            // ),
     673            'enable_terms_conditions'       => array(
     674                'title'       => __( 'Enable Terms and Conditions', 'wc-valorpay' ),
     675                'label'       => __( 'Enable Terms and Conditions', 'wc-valorpay' ),
     676                'type'        => 'checkbox',
     677                'description' => __( 'Enable Terms and Conditions on checkout page', 'wc-valorpay' ),
     678                'default'     => 'yes',
     679            ),
     680            'enable_qb_sync'                => array(
     681                'title'       => __( 'Enable QuickBooks Sync', 'wc-valorpay' ),
     682                'label'       => __( 'Enable QuickBooks Sync', 'wc-valorpay' ),
     683                'type'        => 'checkbox',
     684                'description' => __( 'Sync transactions with QuickBooks. Ensure QuickBooks details are added in ValorPay merchant portal <b>Settings > QuickBooks</b> before enabling.', 'wc-valorpay' ),
     685                'default'     => 'no',
     686            ),
    654687            'disable_payment_on_failed'     => array(
    655688                'title'       => __( 'Payment Failed Tracker', 'wc-valorpay' ),
  • valorpos/trunk/languages/wc-valorpay.pot

    r3182885 r3202084  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Valor Pay 8.0.0\n"
     5"Project-Id-Version: Valor Pay 8.0.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/valorpos\n"
    77"Last-Translator: Valor Paytech LLC <isvsupport@valorpaytech.com>\n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"POT-Creation-Date: 2024-11-05T11:19:31+05:30\n"
    13 "PO-Revision-Date: 2024-11-05T11:19:31+05:30\n"
     13"PO-Revision-Date: 2024-12-04T06:04:56+00:00\n"
    1414"X-Generator: WP-CLI 2.7.1\n"
    1515"X-Domain: wc-valorpay\n"
    1616
    1717#. Plugin Name of the plugin
    18 #: includes/class-wc-valorpay-gateway.php:533
     18#: includes/class-wc-valorpay-gateway.php:552
    1919#: public/js/build/wc-valorpay.js:5114
    2020#: public/js/build/wc-valorpay.js:4565
     
    7272
    7373#: admin/partials/wc-valorpay-admin-failure-tracker.php:18
    74 #: includes/class-wc-valorpay-gateway.php:655
     74#: includes/class-wc-valorpay-gateway.php:688
    7575msgid "Payment Failed Tracker"
    7676msgstr ""
     
    140140#: includes/class-wc-valorpay-api.php:317
    141141#: includes/class-wc-valorpay-api.php:324
    142 #: includes/class-wc-valorpay-api.php:661
    143 #: includes/class-wc-valorpay-api.php:671
    144 #: includes/class-wc-valorpay-api.php:699
    145 #: includes/class-wc-valorpay-api.php:705
     142#: includes/class-wc-valorpay-api.php:670
     143#: includes/class-wc-valorpay-api.php:680
     144#: includes/class-wc-valorpay-api.php:708
     145#: includes/class-wc-valorpay-api.php:714
    146146msgid "Sorry, we're unable to create a card token right now."
    147147msgstr ""
     
    152152msgstr ""
    153153
    154 #: includes/class-wc-valorpay-api.php:595
    155 #: includes/class-wc-valorpay-api.php:600
    156 #: includes/class-wc-valorpay-api.php:608
    157 #: includes/class-wc-valorpay-api.php:612
    158 #: includes/class-wc-valorpay-api.php:855
     154#: includes/class-wc-valorpay-api.php:604
     155#: includes/class-wc-valorpay-api.php:609
     156#: includes/class-wc-valorpay-api.php:617
     157#: includes/class-wc-valorpay-api.php:621
     158#: includes/class-wc-valorpay-api.php:864
    159159msgid "There was a problem connecting to the payment gateway."
    160160msgstr ""
     
    162162#. translators: 1: Terms and Conditions URL.
    163163#: includes/class-wc-valorpay-gateway-addons-blocks-support.php:90
    164 #: includes/class-wc-valorpay-gateway.php:449
     164#: includes/class-wc-valorpay-gateway.php:468
    165165msgid "I agree to the <a href=\"%s\" target=\"_blank\">Terms and Conditions</a>"
    166166msgstr ""
     
    204204msgstr ""
    205205
    206 #: includes/class-wc-valorpay-gateway.php:171
     206#: includes/class-wc-valorpay-gateway.php:185
    207207msgid "ValorPay Plugin"
    208208msgstr ""
    209209
    210 #: includes/class-wc-valorpay-gateway.php:172
     210#: includes/class-wc-valorpay-gateway.php:186
    211211msgid "Take payments via Valorpay."
    212212msgstr ""
    213213
    214 #: includes/class-wc-valorpay-gateway.php:216
    215 #: public/js/build/wc-valorpay.js:5223
    216 #: public/js/build/wc-valorpay.js:4696
     214#: includes/class-wc-valorpay-gateway.php:232
     215#: public/js/build/wc-valorpay.js:5226
     216#: public/js/build/wc-valorpay.js:4699
    217217msgid "TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date."
    218218msgstr ""
    219219
    220 #: includes/class-wc-valorpay-gateway.php:240
     220#: includes/class-wc-valorpay-gateway.php:256
    221221msgid "Unsupported currency:"
    222222msgstr ""
    223223
    224 #: includes/class-wc-valorpay-gateway.php:243
     224#: includes/class-wc-valorpay-gateway.php:259
    225225msgid "Valor Pay accepts only USD."
    226226msgstr ""
    227227
    228228#. translators: %s: Settings URL.
    229 #: includes/class-wc-valorpay-gateway.php:255
     229#: includes/class-wc-valorpay-gateway.php:271
    230230msgid "Valor Pay error: The APP ID is required.  %s"
    231231msgstr ""
    232232
    233 #: includes/class-wc-valorpay-gateway.php:256
    234 #: includes/class-wc-valorpay-gateway.php:267
    235 #: includes/class-wc-valorpay-gateway.php:276
     233#: includes/class-wc-valorpay-gateway.php:272
     234#: includes/class-wc-valorpay-gateway.php:283
     235#: includes/class-wc-valorpay-gateway.php:292
    236236msgid "Click here to update your Valor Pay settings."
    237237msgstr ""
    238238
    239239#. translators: %s: Settings URL.
    240 #: includes/class-wc-valorpay-gateway.php:266
     240#: includes/class-wc-valorpay-gateway.php:282
    241241msgid "Valor Pay error: The APP KEY is required.  %s"
    242242msgstr ""
    243243
    244244#. translators: %s: Settings URL.
    245 #: includes/class-wc-valorpay-gateway.php:275
     245#: includes/class-wc-valorpay-gateway.php:291
    246246msgid "Valor Pay error: The EPI is required.  %s"
    247247msgstr ""
    248248
    249 #: includes/class-wc-valorpay-gateway.php:305
     249#: includes/class-wc-valorpay-gateway.php:321
    250250msgid "Only debit cards are allowed"
    251251msgstr ""
    252252
    253 #: includes/class-wc-valorpay-gateway.php:307
     253#: includes/class-wc-valorpay-gateway.php:323
    254254msgid "Only credit cards are allowed"
    255255msgstr ""
    256256
    257 #: includes/class-wc-valorpay-gateway.php:374
     257#: includes/class-wc-valorpay-gateway.php:390
    258258msgid "The payment gateway is disabled due to multiple failed transactions."
    259259msgstr ""
    260260
    261 #: includes/class-wc-valorpay-gateway.php:378
     261#: includes/class-wc-valorpay-gateway.php:394
    262262msgid "Only debit cards are allowed."
    263263msgstr ""
    264264
    265 #: includes/class-wc-valorpay-gateway.php:380
     265#: includes/class-wc-valorpay-gateway.php:396
    266266msgid "Only credit cards are allowed."
    267267msgstr ""
    268268
    269 #: includes/class-wc-valorpay-gateway.php:385
     269#: includes/class-wc-valorpay-gateway.php:401
    270270msgid "Zip Code is required."
    271271msgstr ""
    272272
    273 #: includes/class-wc-valorpay-gateway.php:388
     273#: includes/class-wc-valorpay-gateway.php:404
    274274msgid "Enter a valid Zip Code."
    275275msgstr ""
    276276
    277 #: includes/class-wc-valorpay-gateway.php:393
     277#: includes/class-wc-valorpay-gateway.php:409
    278278msgid "Street Address is required."
    279279msgstr ""
    280280
    281 #: includes/class-wc-valorpay-gateway.php:396
     281#: includes/class-wc-valorpay-gateway.php:412
    282282msgid "Enter a valid Street Address."
    283283msgstr ""
    284284
    285 #: includes/class-wc-valorpay-gateway.php:407
     285#: includes/class-wc-valorpay-gateway.php:423
    286286msgid "Card number is invalid"
    287287msgstr ""
    288288
    289 #: includes/class-wc-valorpay-gateway.php:411
     289#: includes/class-wc-valorpay-gateway.php:427
    290290msgid "Not a valid card"
    291291msgstr ""
    292292
    293 #: includes/class-wc-valorpay-gateway.php:414
     293#: includes/class-wc-valorpay-gateway.php:430
    294294msgid "Card number  expired"
    295295msgstr ""
    296296
    297 #: includes/class-wc-valorpay-gateway.php:417
     297#: includes/class-wc-valorpay-gateway.php:433
    298298msgid "Card security code is invalid (only digits are allowed)"
    299299msgstr ""
    300300
    301 #: includes/class-wc-valorpay-gateway.php:487
    302 #: includes/class-wc-valorpay-gateway.php:488
     301#: includes/class-wc-valorpay-gateway.php:506
     302#: includes/class-wc-valorpay-gateway.php:507
    303303msgid "Zip Code"
    304304msgstr ""
    305305
    306 #: includes/class-wc-valorpay-gateway.php:501
    307 #: includes/class-wc-valorpay-gateway.php:502
     306#: includes/class-wc-valorpay-gateway.php:520
     307#: includes/class-wc-valorpay-gateway.php:521
    308308msgid "Street Address"
    309309msgstr ""
    310310
    311 #: includes/class-wc-valorpay-gateway.php:523
     311#: includes/class-wc-valorpay-gateway.php:542
    312312msgid "Enable/Disable"
    313313msgstr ""
    314314
    315 #: includes/class-wc-valorpay-gateway.php:524
     315#: includes/class-wc-valorpay-gateway.php:543
    316316msgid "Enable Valor Pay"
    317317msgstr ""
    318318
    319 #: includes/class-wc-valorpay-gateway.php:530
     319#: includes/class-wc-valorpay-gateway.php:549
    320320msgid "Title"
    321321msgstr ""
    322322
    323 #: includes/class-wc-valorpay-gateway.php:532
     323#: includes/class-wc-valorpay-gateway.php:551
    324324msgid "This controls the title which the user sees during checkout."
    325325msgstr ""
    326326
    327 #: includes/class-wc-valorpay-gateway.php:537
     327#: includes/class-wc-valorpay-gateway.php:556
    328328msgid "Use Sandbox"
    329329msgstr ""
    330330
    331 #: includes/class-wc-valorpay-gateway.php:538
     331#: includes/class-wc-valorpay-gateway.php:557
    332332msgid "Enable sandbox mode - live payments will not be taken if enabled."
    333333msgstr ""
    334334
    335 #: includes/class-wc-valorpay-gateway.php:544
     335#: includes/class-wc-valorpay-gateway.php:563
    336336msgid "APP ID"
    337337msgstr ""
    338338
    339 #: includes/class-wc-valorpay-gateway.php:546
     339#: includes/class-wc-valorpay-gateway.php:565
    340340msgid "Please email isvsupport@valorpaytech.com to get to know about your APP ID, ( In demo mode APP ID is not needed )"
    341341msgstr ""
    342342
    343 #: includes/class-wc-valorpay-gateway.php:550
     343#: includes/class-wc-valorpay-gateway.php:569
    344344msgid "APP KEY"
    345345msgstr ""
    346346
    347 #: includes/class-wc-valorpay-gateway.php:552
     347#: includes/class-wc-valorpay-gateway.php:571
    348348msgid "Please email isvsupport@valorpaytech.com to get to know about your APP KEY, ( In demo mode APP KEY is not needed )"
    349349msgstr ""
    350350
    351 #: includes/class-wc-valorpay-gateway.php:556
     351#: includes/class-wc-valorpay-gateway.php:575
    352352msgid "EPI"
    353353msgstr ""
    354354
    355 #: includes/class-wc-valorpay-gateway.php:558
     355#: includes/class-wc-valorpay-gateway.php:577
    356356msgid "Please email isvsupport@valorpaytech.com to get to know about your EPI ID, ( In demo mode EPI ID is not needed )"
    357357msgstr ""
    358358
    359 #: includes/class-wc-valorpay-gateway.php:562
     359#: includes/class-wc-valorpay-gateway.php:581
    360360msgid "Allowed Card Type"
    361361msgstr ""
    362362
    363 #: includes/class-wc-valorpay-gateway.php:565
     363#: includes/class-wc-valorpay-gateway.php:584
    364364msgid "Select the allowed card type for transactions"
    365365msgstr ""
    366366
    367 #: includes/class-wc-valorpay-gateway.php:568
     367#: includes/class-wc-valorpay-gateway.php:587
    368368msgid "Both"
    369369msgstr ""
    370370
    371 #: includes/class-wc-valorpay-gateway.php:569
     371#: includes/class-wc-valorpay-gateway.php:588
    372372msgid "Credit"
    373373msgstr ""
    374374
    375 #: includes/class-wc-valorpay-gateway.php:570
     375#: includes/class-wc-valorpay-gateway.php:589
    376376msgid "Debit"
    377377msgstr ""
    378378
    379 #: includes/class-wc-valorpay-gateway.php:575
     379#: includes/class-wc-valorpay-gateway.php:594
    380380msgid "Payment Method"
    381381msgstr ""
    382382
    383 #: includes/class-wc-valorpay-gateway.php:585
     383#: includes/class-wc-valorpay-gateway.php:604
    384384msgid "Surcharge Mode"
    385385msgstr ""
    386386
    387 #: includes/class-wc-valorpay-gateway.php:586
    388 #: includes/class-wc-valorpay-gateway.php:593
     387#: includes/class-wc-valorpay-gateway.php:605
     388#: includes/class-wc-valorpay-gateway.php:612
    389389msgid "Enable Surcharge Mode"
    390390msgstr ""
    391391
    392 #: includes/class-wc-valorpay-gateway.php:588
     392#: includes/class-wc-valorpay-gateway.php:607
    393393msgid "Enable only if you want all transactions to be fall on surcharge mode, Merchant must have got an Surcharge MID inorder to work"
    394394msgstr ""
    395395
    396 #: includes/class-wc-valorpay-gateway.php:592
     396#: includes/class-wc-valorpay-gateway.php:611
    397397msgid "Surcharge Type"
    398398msgstr ""
    399399
    400 #: includes/class-wc-valorpay-gateway.php:602
    401 #: includes/class-wc-valorpay-gateway.php:603
     400#: includes/class-wc-valorpay-gateway.php:621
     401#: includes/class-wc-valorpay-gateway.php:622
    402402msgid "Surcharge Label"
    403403msgstr ""
    404404
    405 #: includes/class-wc-valorpay-gateway.php:608
     405#: includes/class-wc-valorpay-gateway.php:627
    406406msgid "Surcharge %"
    407407msgstr ""
    408408
    409 #: includes/class-wc-valorpay-gateway.php:612
     409#: includes/class-wc-valorpay-gateway.php:631
    410410msgid "Percentage will apply only on enabling on surcharge Indicator to true and Surcharge type is set fo Surcharge %"
    411411msgstr ""
    412412
    413 #: includes/class-wc-valorpay-gateway.php:615
     413#: includes/class-wc-valorpay-gateway.php:634
    414414msgid "Flat Rate $"
    415415msgstr ""
    416416
    417 #: includes/class-wc-valorpay-gateway.php:618
     417#: includes/class-wc-valorpay-gateway.php:637
    418418msgid "Flat rate  will apply only on if Enable surcharge mode is true and Surcharge type is set to Flat Rate $"
    419419msgstr ""
    420420
    421 #: includes/class-wc-valorpay-gateway.php:621
     421#: includes/class-wc-valorpay-gateway.php:640
    422422msgid "Surcharge For Debit"
    423423msgstr ""
    424424
    425 #: includes/class-wc-valorpay-gateway.php:622
     425#: includes/class-wc-valorpay-gateway.php:641
    426426msgid "Enable Surcharge For Debit"
    427427msgstr ""
    428428
    429 #: includes/class-wc-valorpay-gateway.php:624
     429#: includes/class-wc-valorpay-gateway.php:643
    430430msgid "Enable surcharge for debit"
    431431msgstr ""
    432432
    433 #: includes/class-wc-valorpay-gateway.php:628
     433#: includes/class-wc-valorpay-gateway.php:647
    434434msgid "AVS"
    435435msgstr ""
    436436
    437 #: includes/class-wc-valorpay-gateway.php:638
     437#: includes/class-wc-valorpay-gateway.php:657
    438438msgid "The address verification service will add a text field to the checkout page based on the above option."
    439439msgstr ""
    440440
    441 #: includes/class-wc-valorpay-gateway.php:641
    442 #: includes/class-wc-valorpay-gateway.php:642
     441#: includes/class-wc-valorpay-gateway.php:660
     442#: includes/class-wc-valorpay-gateway.php:661
    443443msgid "Enable L2 & L3 Processing"
    444444msgstr ""
    445445
    446 #: includes/class-wc-valorpay-gateway.php:644
     446#: includes/class-wc-valorpay-gateway.php:663
    447447msgid "Enable L2 & L3 processing for detailed data"
    448448msgstr ""
    449449
    450 #: includes/class-wc-valorpay-gateway.php:656
     450#: includes/class-wc-valorpay-gateway.php:674
     451#: includes/class-wc-valorpay-gateway.php:675
     452msgid "Enable Terms and Conditions"
     453msgstr ""
     454
     455#: includes/class-wc-valorpay-gateway.php:677
     456msgid "Enable Terms and Conditions on checkout page"
     457msgstr ""
     458
     459#: includes/class-wc-valorpay-gateway.php:681
     460#: includes/class-wc-valorpay-gateway.php:682
     461msgid "Enable QuickBooks Sync"
     462msgstr ""
     463
     464#: includes/class-wc-valorpay-gateway.php:684
     465msgid "Sync transactions with QuickBooks. Ensure QuickBooks details are added in ValorPay merchant portal <b>Settings > QuickBooks</b> before enabling."
     466msgstr ""
     467
     468#: includes/class-wc-valorpay-gateway.php:689
    451469msgid "Enable Protection"
    452470msgstr ""
    453471
    454472#. translators: 1: Tracker URL.
    455 #: includes/class-wc-valorpay-gateway.php:660
     473#: includes/class-wc-valorpay-gateway.php:693
    456474msgid "Disable the payment method in the checkout page for failed transactions. <a id=\"valorpay-goto-tracker\" href=\"%s\">Unblock IP</a>"
    457475msgstr ""
    458476
    459 #: includes/class-wc-valorpay-gateway.php:666
     477#: includes/class-wc-valorpay-gateway.php:699
    460478msgid "Declined Transaction Count"
    461479msgstr ""
    462480
    463 #: includes/class-wc-valorpay-gateway.php:667
     481#: includes/class-wc-valorpay-gateway.php:700
    464482msgid "Number of declined transaction count."
    465483msgstr ""
    466484
    467 #: includes/class-wc-valorpay-gateway.php:671
     485#: includes/class-wc-valorpay-gateway.php:704
    468486msgid "3"
    469487msgstr ""
    470488
    471 #: includes/class-wc-valorpay-gateway.php:672
     489#: includes/class-wc-valorpay-gateway.php:705
    472490msgid "5"
    473491msgstr ""
    474492
    475 #: includes/class-wc-valorpay-gateway.php:673
     493#: includes/class-wc-valorpay-gateway.php:706
    476494msgid "6"
    477495msgstr ""
    478496
    479 #: includes/class-wc-valorpay-gateway.php:677
     497#: includes/class-wc-valorpay-gateway.php:710
    480498msgid "Block Payment For"
    481499msgstr ""
    482500
    483 #: includes/class-wc-valorpay-gateway.php:678
     501#: includes/class-wc-valorpay-gateway.php:711
    484502msgid "Minutes to block payment gateway in checkout."
    485503msgstr ""
    486504
    487 #: includes/class-wc-valorpay-gateway.php:682
     505#: includes/class-wc-valorpay-gateway.php:715
    488506msgid "1 min"
    489507msgstr ""
    490508
    491 #: includes/class-wc-valorpay-gateway.php:683
     509#: includes/class-wc-valorpay-gateway.php:716
    492510msgid "5 min"
    493511msgstr ""
    494512
    495 #: includes/class-wc-valorpay-gateway.php:684
     513#: includes/class-wc-valorpay-gateway.php:717
    496514msgid "10 min"
    497515msgstr ""
    498516
    499 #: includes/class-wc-valorpay-gateway.php:685
     517#: includes/class-wc-valorpay-gateway.php:718
    500518msgid "1 hour"
    501519msgstr ""
    502520
    503 #: includes/class-wc-valorpay-gateway.php:686
     521#: includes/class-wc-valorpay-gateway.php:719
    504522msgid "3 hour"
    505523msgstr ""
    506524
    507 #: includes/class-wc-valorpay-gateway.php:687
     525#: includes/class-wc-valorpay-gateway.php:720
    508526msgid "5 hour"
    509527msgstr ""
    510528
    511 #: includes/class-wc-valorpay-gateway.php:688
     529#: includes/class-wc-valorpay-gateway.php:721
    512530msgid "10 hour"
    513531msgstr ""
    514532
    515 #: includes/class-wc-valorpay-gateway.php:689
     533#: includes/class-wc-valorpay-gateway.php:722
    516534msgid "1 day"
    517535msgstr ""
    518536
    519 #: includes/class-wc-valorpay-gateway.php:693
     537#: includes/class-wc-valorpay-gateway.php:726
    520538msgid "Accepted Cards"
    521539msgstr ""
    522540
    523 #: includes/class-wc-valorpay-gateway.php:697
     541#: includes/class-wc-valorpay-gateway.php:730
    524542msgid "Select the card types to accept."
    525543msgstr ""
    526544
    527545#. translators: 1: Maximum percentage.
    528 #: includes/class-wc-valorpay-gateway.php:722
     546#: includes/class-wc-valorpay-gateway.php:755
    529547msgid "Surcharge percentage cannot be more than %s"
    530548msgstr ""
    531549
    532550#. translators: 1: Maximum flat rate.
    533 #: includes/class-wc-valorpay-gateway.php:727
     551#: includes/class-wc-valorpay-gateway.php:760
    534552msgid "Surcharge flat rate cannot be more than %s"
    535553msgstr ""
    536554
    537 #: includes/class-wc-valorpay-gateway.php:773
     555#: includes/class-wc-valorpay-gateway.php:806
    538556msgid "Token ID is missing."
    539557msgstr ""
    540558
    541 #: includes/class-wc-valorpay-gateway.php:779
     559#: includes/class-wc-valorpay-gateway.php:812
    542560msgid "Invalid card information."
    543561msgstr ""
    544562
    545 #: includes/class-wc-valorpay-gateway.php:835
     563#: includes/class-wc-valorpay-gateway.php:868
    546564msgid "Valor Pay: Card token added to subscription."
    547565msgstr ""
    548566
    549567#. translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number.
    550 #: includes/class-wc-valorpay-gateway.php:852
     568#: includes/class-wc-valorpay-gateway.php:885
    551569msgid "Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s"
    552570msgstr ""
    553571
    554572#. translators: %s: API Error Message.
    555 #: includes/class-wc-valorpay-gateway.php:897
    556 #: includes/class-wc-valorpay-gateway.php:900
     573#: includes/class-wc-valorpay-gateway.php:930
     574#: includes/class-wc-valorpay-gateway.php:933
    557575msgid "Payment error: %s"
    558576msgstr ""
    559577
    560 #: includes/class-wc-valorpay-gateway.php:902
     578#: includes/class-wc-valorpay-gateway.php:935
    561579msgid "Unable to process the transaction using Valor Pay, please try again."
    562580msgstr ""
    563581
    564582#. translators: 1: Disable Time, 2: Unblock IP URL, 3: Customer IP.
    565 #: includes/class-wc-valorpay-gateway.php:994
     583#: includes/class-wc-valorpay-gateway.php:1027
    566584msgid "Valor Pay method is disabled for %1$s. <a target=\"_blank\" href=\"%2$s\">To Unblock IP</a> %3$s"
    567585msgstr ""
    568586
    569 #: includes/class-wc-valorpay-gateway.php:1057
     587#: includes/class-wc-valorpay-gateway.php:1090
    570588msgid "Refund failed."
    571589msgstr ""
    572590
    573591#. translators: 1: Amount, 2: Line Break, 3: Approval code, 4: Line Break, 5: RRN Code
    574 #: includes/class-wc-valorpay-gateway.php:1069
     592#: includes/class-wc-valorpay-gateway.php:1102
    575593msgid "Valor Pay Refund for %1$s.%2$s <strong>Approval Code:</strong> %3$s.%4$s <strong>RRN:</strong> %5$s"
    576594msgstr ""
    577595
    578 #: includes/class-wc-valorpay-gateway.php:1095
     596#: includes/class-wc-valorpay-gateway.php:1128
    579597msgid "Initial card can only be added from the checkout page."
    580598msgstr ""
    581599
    582600#. translators: %s: Error add payment profile from API.
    583 #: includes/class-wc-valorpay-gateway.php:1109
    584 #: includes/class-wc-valorpay-gateway.php:1184
     601#: includes/class-wc-valorpay-gateway.php:1142
     602#: includes/class-wc-valorpay-gateway.php:1217
    585603msgid "Error Vault Card Add: %s"
    586604msgstr ""
    587605
    588606#. translators: %s: Error add payment profile from API.
    589 #: includes/class-wc-valorpay-gateway.php:1167
     607#: includes/class-wc-valorpay-gateway.php:1200
    590608msgid "Error Vault Customer Add: %s"
    591609msgstr ""
    592610
    593611#. translators: %s: Vault ID.
    594 #: includes/class-wc-valorpay-gateway.php:1171
     612#: includes/class-wc-valorpay-gateway.php:1204
    595613msgid "Vault customer added to vault id: %s"
    596614msgstr ""
    597615
    598 #: includes/class-wc-valorpay-gateway.php:1186
     616#: includes/class-wc-valorpay-gateway.php:1219
    599617msgid "Card added to vault."
    600618msgstr ""
    601619
    602620#. translators: 1: Card Brand 2: Last 4 digits 3:
    603 #: includes/class-wc-valorpay-gateway.php:1238
     621#: includes/class-wc-valorpay-gateway.php:1271
    604622msgid "%1$s ending in %2$s"
    605623msgstr ""
     
    701719msgstr ""
    702720
    703 #: public/js/build/wc-valorpay.js:5199
    704 #: public/js/build/wc-valorpay.js:5325
    705 #: public/js/build/wc-valorpay.js:4660
    706 #: public/js/build/wc-valorpay.js:4813
     721#: public/js/build/wc-valorpay.js:5202
     722#: public/js/build/wc-valorpay.js:5331
     723#: public/js/build/wc-valorpay.js:4663
     724#: public/js/build/wc-valorpay.js:4819
    707725msgid "Please provide payment information"
    708726msgstr ""
    709727
    710 #: public/js/build/wc-valorpay.js:5227
    711 #: public/js/build/wc-valorpay.js:4705
     728#: public/js/build/wc-valorpay.js:5230
     729#: public/js/build/wc-valorpay.js:4708
    712730msgid "Fetching Card Type..."
    713731msgstr ""
  • valorpos/trunk/public/js/build/wc-valorpay.asset.php

    r3182885 r3202084  
    1 <?php return array('dependencies' => array('react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-data', 'wp-html-entities', 'wp-i18n'), 'version' => '1c55ea9d9025c6fba3ad');
     1<?php return array('dependencies' => array('react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-data', 'wp-html-entities', 'wp-i18n'), 'version' => 'bca284e383054392e18a');
  • valorpos/trunk/public/js/build/wc-valorpay.js

    r3182885 r3202084  
    51575157    paymentStatus
    51585158  } = props;
    5159   const [isTermsChecked, setTermsChecked] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true);
     5159  const [isTermsChecked, setIsTermsChecked] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true);
    51605160  const {
    51615161    onPaymentSetup,
    51625162    onCheckoutAfterProcessingWithError
    51635163  } = eventRegistration;
     5164  const handleCheckboxChange = () => {
     5165    setIsTermsChecked(prev => !prev);
     5166  };
    51645167  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    51655168    const unsubscribe = onPaymentSetup(async () => {
     
    52455248        })]
    52465249      })
    5247     }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.TermsCheckbox, {
     5250    }), settings.is_terms_conditions_enable && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.TermsCheckbox, {
    52485251      id: "valorpay-terms-new-card",
    52495252      checked: isTermsChecked,
    5250       onChange: setTermsChecked,
     5253      onChange: handleCheckboxChange,
    52515254      label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
    52525255        dangerouslySetInnerHTML: {
     
    52895292    onCheckoutAfterProcessingWithError
    52905293  } = eventRegistration;
    5291   const [isTermsChecked, setTermsChecked] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true);
     5294  const [isTermsChecked, setIsTermsChecked] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(true);
     5295  const handleCheckboxChange = () => {
     5296    setIsTermsChecked(prev => !prev);
     5297  };
    52925298  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    52935299    const unsubscribe = onPaymentSetup(async () => {
     
    53565362        })]
    53575363      })
    5358     }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.TermsCheckbox, {
     5364    }), settings.is_terms_conditions_enable && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.TermsCheckbox, {
    53595365      id: "valorpay-terms-saved-token",
    53605366      checked: isTermsChecked,
    5361       onChange: setTermsChecked,
     5367      onChange: handleCheckboxChange,
    53625368      label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
    53635369        dangerouslySetInnerHTML: {
  • valorpos/trunk/public/js/build/wc-valorpay.js.map

    r3182885 r3202084  
    1 {"version":3,"file":"wc-valorpay.js","mappings":";;;;;;;;;;;;;;;AAAuC;;AAEvC,igIAAigI;;AAEjgI,iCAAiC,4DAAO;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkC;;;;;;;;;;;;;;;;ACdlC;AACA;AACA;AACA;AACA;AACA;AACA;;AAE8B;;;;;;;;;;;;;;;;ACR9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEmC;;;;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AACA,MAASL,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACM,YAAY,IACzBvB,KAAK,CAACiB,MAAM,CAACM,YAAY,CAACC,OAAO;AACtC,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAQxB,KAAK,IACTA,KAAK,CAACgB,UAAU,IAAIhB,KAAK,CAACiB,MAAM,CAACQ,KAAK,GACnCzB,KAAK,CAACiB,MAAM,CAACQ,KAAK,CAACN,OAAO,GAC1BC,SAAS;AAChB;AACA;AACA,IAAOpB,KAAK,IAAMA,KAAK,CAACiB,MAAM,CAACQ,KAAK,IAAIzB,KAAK,CAACiB,MAAM,CAACQ,KAAK,CAACJ,IAAI;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAQrB,KAAK,IAAMA,KAAK,CAACiB,MAAM,CAACS,SAAS;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAM1B,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACM,YAAY,GACtBvB,KAAK,CAACiB,MAAM,CAACM,YAAY,CAACF,IAAI,GAC9BD,SAAS;AACd,CAAC;AAED,MAAMO,SAAS,GAAGvB,yDAAM,CAACO,GAAG,CAACC,UAAU,CAAE;EACxCC,iBAAiB,EAAIC,IAAI,IACxB,CAAE,CAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,CAAE,CAACC,QAAQ,CAAED,IAAK;AACzD,CAAE,CAAC;AACH;AACA;AACA;AACA;AACA;AACA,IAAOd,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACW,SAAS,GAAG5B,KAAK,CAACiB,MAAM,CAACW,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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;A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2CAA2C,sCAAsC,UAAU,mBAAmB,IAAI;AAClH;;AAEO;AACP,+BAA+B,uCAAuC,YAAY,KAAK,OAAO;AAC9F;AACA;;AAEA;AACA,wCAAwC,4BAA4B;AACpE,CAAC;AACD;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,2CAA2C;AAC3C;;AAEO;AACP;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAA8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,SAAS,gBAAgB;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjXK;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACrBmE;AAC0B;AACjD;AACV;AACL;;AAEpC;AACA,WAAW,YAAY;AACvB,YAAY;AACZ;AACO;AACP,cAAc,mDAAM;;AAEpB;AACA;;AAEA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB;AACO;AAC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AACA;AACA;AACA,MAAMC,QAAQ,GAAG;EAChBtO,IAAI,EAAE,aAAa;EACnB/F,KAAK,eAAE/B,uDAAA,CAAC6V,KAAK,IAAE,CAAC;EAChBQ,SAAS,EAAE,aAAa;EACxBC,OAAO,eAAEtW,uDAAA,CAACmT,OAAO,IAAE,CAAC;EACpBoD,IAAI,eAAEvW,uDAAA,CAACmT,OAAO,IAAE,CAAC;EACjBqD,cAAc,EAAEA,CAAA,KAAM7E,QAAQ,CAACC,cAAc;EAC7C6E,mBAAmB,eAAEzW,uDAAA,CAAC2V,UAAU,IAAE,CAAC;EACnCe,SAAS,EAAE3U,KAAK;EAChB4U,QAAQ,EAAE;IACTC,QAAQ,EAAEjF,QAAQ,CAACgF,QAAQ;IAC3BE,cAAc,EAAE;EACjB;AACD,CAAC;AAED3F,mFAAqB,CAAEkF,QAAS,CAAC,C","sources":["webpack://wc-valorpay/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack://wc-valorpay/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://wc-valorpay/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://wc-valorpay/./blocks/components/PaymentInputsContainer.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsWrapper.jsx","webpack://wc-valorpay/./blocks/components/TermsCheckbox.jsx","webpack://wc-valorpay/./blocks/components/index.js","webpack://wc-valorpay/./blocks/hooks/usePaymentInputs.jsx","webpack://wc-valorpay/./blocks/images/amex.jsx","webpack://wc-valorpay/./blocks/images/dinersclub.jsx","webpack://wc-valorpay/./blocks/images/discover.jsx","webpack://wc-valorpay/./blocks/images/hipercard.jsx","webpack://wc-valorpay/./blocks/images/index.jsx","webpack://wc-valorpay/./blocks/images/jcb.jsx","webpack://wc-valorpay/./blocks/images/mastercard.jsx","webpack://wc-valorpay/./blocks/images/placeholder.jsx","webpack://wc-valorpay/./blocks/images/troy.jsx","webpack://wc-valorpay/./blocks/images/unionpay.jsx","webpack://wc-valorpay/./blocks/images/visa.jsx","webpack://wc-valorpay/./blocks/utils/cardTypes.js","webpack://wc-valorpay/./blocks/utils/formatter.js","webpack://wc-valorpay/./blocks/utils/index.js","webpack://wc-valorpay/./blocks/utils/validator.js","webpack://wc-valorpay/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://wc-valorpay/./node_modules/react/jsx-runtime.js","webpack://wc-valorpay/./node_modules/shallowequal/index.js","webpack://wc-valorpay/./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack://wc-valorpay/external window \"React\"","webpack://wc-valorpay/external window [\"wc\",\"blocksCheckout\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksData\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksRegistry\"]","webpack://wc-valorpay/external window [\"wc\",\"wcSettings\"]","webpack://wc-valorpay/external window [\"wp\",\"data\"]","webpack://wc-valorpay/external window [\"wp\",\"htmlEntities\"]","webpack://wc-valorpay/external window [\"wp\",\"i18n\"]","webpack://wc-valorpay/./node_modules/styled-components/node_modules/tslib/tslib.es6.mjs","webpack://wc-valorpay/./node_modules/stylis/src/Enum.js","webpack://wc-valorpay/./node_modules/stylis/src/Middleware.js","webpack://wc-valorpay/./node_modules/stylis/src/Parser.js","webpack://wc-valorpay/./node_modules/stylis/src/Prefixer.js","webpack://wc-valorpay/./node_modules/stylis/src/Serializer.js","webpack://wc-valorpay/./node_modules/stylis/src/Tokenizer.js","webpack://wc-valorpay/./node_modules/stylis/src/Utility.js","webpack://wc-valorpay/webpack/bootstrap","webpack://wc-valorpay/webpack/runtime/compat get default export","webpack://wc-valorpay/webpack/runtime/define property getters","webpack://wc-valorpay/webpack/runtime/hasOwnProperty shorthand","webpack://wc-valorpay/webpack/runtime/make namespace object","webpack://wc-valorpay/webpack/runtime/nonce","webpack://wc-valorpay/./blocks/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n  /* o */\n  && prop.charCodeAt(1) === 110\n  /* n */\n  && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n  var cache = Object.create(null);\n  return function (arg) {\n    if (cache[arg] === undefined) cache[arg] = fn(arg);\n    return cache[arg];\n  };\n}\n\nexport { memoize as default };\n","var unitlessKeys = {\n  animationIterationCount: 1,\n  aspectRatio: 1,\n  borderImageOutset: 1,\n  borderImageSlice: 1,\n  borderImageWidth: 1,\n  boxFlex: 1,\n  boxFlexGroup: 1,\n  boxOrdinalGroup: 1,\n  columnCount: 1,\n  columns: 1,\n  flex: 1,\n  flexGrow: 1,\n  flexPositive: 1,\n  flexShrink: 1,\n  flexNegative: 1,\n  flexOrder: 1,\n  gridRow: 1,\n  gridRowEnd: 1,\n  gridRowSpan: 1,\n  gridRowStart: 1,\n  gridColumn: 1,\n  gridColumnEnd: 1,\n  gridColumnSpan: 1,\n  gridColumnStart: 1,\n  msGridRow: 1,\n  msGridRowSpan: 1,\n  msGridColumn: 1,\n  msGridColumnSpan: 1,\n  fontWeight: 1,\n  lineHeight: 1,\n  opacity: 1,\n  order: 1,\n  orphans: 1,\n  tabSize: 1,\n  widows: 1,\n  zIndex: 1,\n  zoom: 1,\n  WebkitLineClamp: 1,\n  // SVG-related properties\n  fillOpacity: 1,\n  floodOpacity: 1,\n  stopOpacity: 1,\n  strokeDasharray: 1,\n  strokeDashoffset: 1,\n  strokeMiterlimit: 1,\n  strokeOpacity: 1,\n  strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import { usePaymentInputs } from '../hooks';\n\nexport default function PaymentInputsContainer( props ) {\n\tconst paymentInputs = usePaymentInputs( props );\n\treturn props.children( paymentInputs );\n}\n","import React from 'react';\nimport styled, { css } from 'styled-components';\n\n// Preventing hasErrored and other internal props from being passed to DOM\nconst FieldWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'styles' ].includes( prop ),\n} )`\n\tdisplay: inline-flex;\n\tflex-direction: column;\n\twidth: 100%;\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored && props.styles.fieldWrapper\n\t\t\t\t? props.styles.fieldWrapper.errored\n\t\t\t\t: undefined };\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.fieldWrapper\n\t\t\t? props.styles.fieldWrapper.base\n\t\t\t: undefined };\n`;\n\nconst InputWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\talign-items: center;\n\tbackground-color: white;\n\tborder: 1px solid #bdbdbd;\n\tbox-shadow: inset 0px 1px 2px #e5e5e5;\n\tborder-radius: 0.2em;\n\tdisplay: flex;\n\theight: 2.5em;\n\tpadding: 0.4em 0.6em;\n\twidth: 100%; /* Ensure the wrapper takes the full width */\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored &&\n\t\t\tcss`\n\t\t\t\tborder-color: #c9444d;\n\t\t\t\tbox-shadow: #c9444d 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.errored };\n\t\t\t` };\n\t}\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.focused &&\n\t\t\tcss`\n\t\t\t\tborder-color: #444bc9;\n\t\t\t\tbox-shadow: #444bc9 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.focused };\n\t\t\t` };\n\t}\n\n\t& input {\n\t\tborder: unset;\n\t\tmargin: unset;\n\t\tpadding: unset;\n\t\toutline: unset;\n\t\tfont-size: inherit;\n\t\twidth: 100%; /* Take full width by default */\n\t\tmin-width: 11em; /* Default minimum width */\n\t\tflex-grow: 1; /* Allow input to grow */\n\n\t\t& {\n\t\t\t${ ( props ) =>\n\t\t\t\tprops.hasErrored && props.styles.input\n\t\t\t\t\t? props.styles.input.errored\n\t\t\t\t\t: undefined };\n\t\t}\n\n\t\t${ ( props ) => props.styles.input && props.styles.input.base };\n\n\t\t&:focus {\n\t\t\twidth: 15em; /* Increase width on focus */\n\t\t\ttransition: width 0.3s ease;\n\t\t}\n\t}\n\n\t& svg {\n\t\tmargin-right: 0.6em;\n\t\t& {\n\t\t\t${ ( props ) => props.styles.cardImage };\n\t\t}\n\t}\n\n\t& input#cardNumber {\n\t\twidth: 10em;\n\t\tmin-width: 10em;\n\n\t\t&:focus {\n\t\t\twidth: 13em;\n\t\t}\n\t}\n\n\t& input#expiryDate {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\n\t& input#cvc {\n\t\twidth: 2.5em;\n\t\tmin-width: 2.5em;\n\n\t\t&:focus {\n\t\t\twidth: 3.5em;\n\t\t}\n\t}\n\n\t& input#zip {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\t& input#streetaddress {\n\t\twidth: 8em;\n\t\tmin-width: 8em;\n\n\t\t&:focus {\n\t\t\twidth: 9em;\n\t\t}\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.inputWrapper\n\t\t\t? props.styles.inputWrapper.base\n\t\t\t: undefined };\n`;\n\nconst ErrorText = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\tcolor: #c9444d;\n\tfont-size: 0.75rem;\n\tmargin-top: 0.25rem;\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.styles.errorText ? props.styles.errorText.base : undefined };\n\t}\n`;\n\nfunction PaymentInputsWrapper( {\n\tchildren,\n\terror,\n\terrorTextProps,\n\tfocused,\n\tinputWrapperProps,\n\tisTouched,\n\tstyles = {}, // Set default value for styles here\n\tisInitPay,\n\t...restProps\n} ) {\n\tconst hasErrored = error && ( isTouched || ( ! focused && isInitPay ) );\n\n\treturn (\n\t\t<FieldWrapper\n\t\t\thasErrored={ hasErrored }\n\t\t\tstyles={ styles }\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t<InputWrapper\n\t\t\t\tfocused={ focused }\n\t\t\t\thasErrored={ hasErrored }\n\t\t\t\tstyles={ styles }\n\t\t\t\t{ ...inputWrapperProps }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</InputWrapper>\n\t\t\t{ hasErrored && (\n\t\t\t\t<ErrorText styles={ styles } { ...errorTextProps }>\n\t\t\t\t\t{ error }\n\t\t\t\t</ErrorText>\n\t\t\t) }\n\t\t</FieldWrapper>\n\t);\n}\n\nexport default PaymentInputsWrapper;\n","export default function TermsCheckbox( { id, label, checked, onChange } ) {\n    return (\n\t\t<div className=\"wc-block-components-checkbox\">\n\t\t\t<label htmlFor={ id }>\n\t\t\t\t<input\n\t\t\t\t\tid={ id }\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\taria-invalid=\"false\"\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t/>\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__mark\"\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<span class=\"wc-block-components-checkbox__label\">\n\t\t\t\t\t{ label }\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t);\n}","export { default as PaymentInputsContainer } from './PaymentInputsContainer';\nexport { default as PaymentInputsWrapper } from './PaymentInputsWrapper';\nexport { default as TermsCheckbox } from './TermsCheckbox';\n","import React from 'react';\n\nimport utils from '../utils';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function usePaymentInputs( {\n\tautoFocus = true,\n\terrorMessages,\n\tonBlur,\n\tonChange,\n\tonError,\n\tonTouch,\n\tcardNumberValidator,\n\tcvcValidator,\n\texpiryValidator,\n\tavsType,\n\tsetIsFetchingCardType,\n\tpaymentFields,\n} = {} ) {\n\tconst cardNumberField = React.useRef();\n\tconst expiryDateField = React.useRef();\n\tconst cvcField = React.useRef();\n\tconst zipField = React.useRef();\n\tconst addressField = React.useRef();\n\n\t/** ====== START: META STUFF ====== */\n\tconst [ touchedInputs, setTouchedInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = false;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ isTouched, setIsTouched ] = React.useState( false );\n\tconst [ erroredInputs, setErroredInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = undefined;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ error, setError ] = React.useState();\n\tconst [ cardType, setCardType ] = React.useState();\n\tconst [ focused, setFocused ] = React.useState();\n\n\tconst setInputError = React.useCallback( ( input, error ) => {\n\t\tsetErroredInputs( ( erroredInputs ) => {\n\t\t\tif ( erroredInputs[ input ] === error ) return erroredInputs;\n\n\t\t\tlet newError = error;\n\t\t\tconst newErroredInputs = { ...erroredInputs, [ input ]: error };\n\t\t\tif ( error ) {\n\t\t\t\tsetError( error );\n\t\t\t} else {\n\t\t\t\tnewError = Object.values( newErroredInputs ).find( Boolean );\n\t\t\t\tsetError( newError );\n\t\t\t}\n\t\t\tonError && onError( newError, newErroredInputs );\n\t\t\treturn newErroredInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\n\tconst setInputTouched = React.useCallback( ( input, value ) => {\n\t\trequestAnimationFrame( () => {\n\t\t\tif ( document.activeElement.tagName !== 'INPUT' ) {\n\t\t\t\tsetIsTouched( true );\n\t\t\t} else if ( value === false ) {\n\t\t\t\tsetIsTouched( false );\n\t\t\t}\n\t\t} );\n\n\t\tsetTouchedInputs( ( touchedInputs ) => {\n\t\t\tif ( touchedInputs[ input ] === value ) return touchedInputs;\n\n\t\t\tconst newTouchedInputs = { ...touchedInputs, [ input ]: value };\n\t\t\tonTouch && onTouch( { [ input ]: value }, newTouchedInputs );\n\t\t\treturn newTouchedInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\t/** ====== END: META STUFF ====== */\n\n\t/** ====== START: CARD NUMBER STUFF ====== */\n\tconst handleBlurCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cardNumber', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\t\t\t\tlet cursorPosition = cardNumberField.current.selectionStart;\n\n\t\t\t\tconst cardType =\n\t\t\t\t\tutils.cardTypes.getCardTypeByValue( cardNumber );\n\t\t\t\tsetCardType( cardType );\n\n\t\t\t\tsetInputTouched( 'cardNumber', false );\n\n\t\t\t\t// @ts-ignore\n\t\t\t\tcardNumberField.current.value =\n\t\t\t\t\tutils.formatter.formatCardNumber( cardNumber );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\t// Due to the card number formatting, the selection cursor will fall to the end of\n\t\t\t\t// the input field. Here, we want to reposition the cursor to the correct place.\n\t\t\t\trequestAnimationFrame( () => {\n\t\t\t\t\tif ( document.activeElement !== cardNumberField.current )\n\t\t\t\t\t\treturn;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcardNumberField.current.value[ cursorPosition - 1 ] ===\n\t\t\t\t\t\t' '\n\t\t\t\t\t) {\n\t\t\t\t\t\tcursorPosition = cursorPosition + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcardNumberField.current.setSelectionRange(\n\t\t\t\t\t\tcursorPosition,\n\t\t\t\t\t\tcursorPosition\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\t\tcardNumber,\n\t\t\t\t\tcardNumberValidator,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cardNumberError && autoFocus ) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t\tsetIsFetchingCardType( true );\n\t\t\t\t\textensionCartUpdate( {\n\t\t\t\t\t\tnamespace: 'wc-valorpay-fee-update',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction_type: 'bin_lookup',\n\t\t\t\t\t\t\tbin: cardNumber.slice( 0, 6 ),\n\t\t\t\t\t\t},\n\t\t\t\t\t} ).then( () => {\n\t\t\t\t\t\tsetIsFetchingCardType( false );\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t\t\tprops.onError && props.onError( cardNumberError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcardNumberValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cardNumber' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyPressCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tutils.validator.hasCardNumberReachedMaxLength( cardNumber )\n\t\t\t\t) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getCardNumberProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Card number',\n\t\t\tautoComplete: 'cc-number',\n\t\t\tid: 'cardNumber',\n\t\t\tname: 'cardNumber',\n\t\t\tplaceholder: 'Card number',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cardNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCardNumber( props ),\n\t\t\tonChange: handleChangeCardNumber( props ),\n\t\t\tonFocus: handleFocusCardNumber( props ),\n\t\t\tonKeyPress: handleKeyPressCardNumber( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurCardNumber,\n\t\t\thandleChangeCardNumber,\n\t\t\thandleFocusCardNumber,\n\t\t\thandleKeyPressCardNumber,\n\t\t]\n\t);\n\t/** ====== END: CARD NUMBER STUFF ====== */\n\n\t/** ====== START: EXPIRY DATE STUFF ====== */\n\tconst handleBlurExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'expiryDate', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tsetInputTouched( 'expiryDate', false );\n\n\t\t\t\texpiryDateField.current.value =\n\t\t\t\t\tutils.formatter.formatExpiry( e );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\t\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\t\texpiryDateField.current.value,\n\t\t\t\t\texpiryValidator,\n\t\t\t\t\t{\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif ( ! expiryDateError && autoFocus ) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t\t\tprops.onError && props.onError( expiryDateError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\terrorMessages,\n\t\t\texpiryValidator,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'expiryDate' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcardNumberField.current && cardNumberField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedExpiryDate = e.target.value || '';\n\t\t\tconst expiryDate = formattedExpiryDate.replace( ' / ', '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif ( expiryDate.length >= 4 ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getExpiryDateProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Expiry date in format MM YY',\n\t\t\tautoComplete: 'cc-exp',\n\t\t\tid: 'expiryDate',\n\t\t\tname: 'expiryDate',\n\t\t\tplaceholder: 'MM/YY',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: expiryDateField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurExpiryDate( props ),\n\t\t\tonChange: handleChangeExpiryDate( props ),\n\t\t\tonFocus: handleFocusExpiryDate( props ),\n\t\t\tonKeyDown: handleKeyDownExpiryDate( props ),\n\t\t\tonKeyPress: handleKeyPressExpiryDate( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurExpiryDate,\n\t\t\thandleChangeExpiryDate,\n\t\t\thandleFocusExpiryDate,\n\t\t\thandleKeyDownExpiryDate,\n\t\t\thandleKeyPressExpiryDate,\n\t\t]\n\t);\n\t/** ====== END: EXPIRY DATE STUFF ====== */\n\n\t/** ====== START: CVC STUFF ====== */\n\tconst handleBlurCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cvc', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCVC = React.useCallback(\n\t\t( props = {}, { cardType } = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst cvc = e.target.value;\n\n\t\t\t\tsetInputTouched( 'cvc', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\t\tcvc,\n\t\t\t\t\tcvcValidator,\n\t\t\t\t\t{ cardType, errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cvcError && autoFocus ) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cvc', cvcError );\n\t\t\t\tprops.onError && props.onError( cvcError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcvcValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCVC = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cvc' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressCVC = React.useCallback(\n\t\t( props = {}, { cardType } ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCVC = e.target.value || '';\n\t\t\t\tconst cvc = formattedCVC.replace( ' / ', '' );\n\n\t\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cardType && cvc.length >= cardType.code.length ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cvc.length >= 4 ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst getCVCProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'CVC',\n\t\t\tautoComplete: 'cc-csc',\n\t\t\tid: 'cvc',\n\t\t\tname: 'cvc',\n\t\t\tplaceholder: cardType ? cardType.code.name : 'CVC',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cvcField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCVC( props ),\n\t\t\tonChange: handleChangeCVC( props, { cardType } ),\n\t\t\tonFocus: handleFocusCVC( props ),\n\t\t\tonKeyDown: handleKeyDownCVC( props ),\n\t\t\tonKeyPress: handleKeyPressCVC( props, { cardType } ),\n\t\t} ),\n\t\t[\n\t\t\tcardType,\n\t\t\thandleBlurCVC,\n\t\t\thandleChangeCVC,\n\t\t\thandleFocusCVC,\n\t\t\thandleKeyDownCVC,\n\t\t\thandleKeyPressCVC,\n\t\t]\n\t);\n\t/** ====== END: CVC STUFF ====== */\n\n\t/** ====== START: ZIP STUFF ====== */\n\tconst handleBlurZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'zip', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst zip = e.target.value;\n\n\t\t\t\tsetInputTouched( 'zip', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst zipError = utils.validator.getZIPError( zip, {\n\t\t\t\t\terrorMessages,\n\t\t\t\t} );\n\t\t\t\tif ( ! zipError && autoFocus && zip.length >= 6 ) {\n\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'zip', zipError );\n\t\t\t\tprops.onError && props.onError( zipError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'zip' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getZIPProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'zip',\n\t\t\tmaxLength: '6',\n\t\t\tname: 'zip',\n\t\t\tplaceholder: 'ZIP',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: zipField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurZIP( props ),\n\t\t\tonChange: handleChangeZIP( props ),\n\t\t\tonFocus: handleFocusZIP( props ),\n\t\t\tonKeyDown: handleKeyDownZIP( props ),\n\t\t\tonKeyPress: handleKeyPressZIP( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurZIP,\n\t\t\thandleChangeZIP,\n\t\t\thandleFocusZIP,\n\t\t\thandleKeyDownZIP,\n\t\t\thandleKeyPressZIP,\n\t\t]\n\t);\n\n\t/** ====== END: ZIP STUFF ====== */\n\n\t/** ====== START: ADDRESS STUFF ====== */\n\tconst handleBlurAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'streetaddress', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\tconst handleChangeAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst streetaddress = e.target.value;\n\n\t\t\t\tsetInputTouched( 'streetaddress', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\t\tstreetaddress,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t\t\tprops.onError && props.onError( addressError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusAddress = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'streetaddress' );\n\t\t};\n\t}, [] );\n\tconst handleKeyDownAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\tconst getStreetAddressProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'streetaddress',\n\t\t\tmaxLength: '25',\n\t\t\tname: 'streetaddress',\n\t\t\tplaceholder: 'STREET ADDRESS',\n\t\t\ttype: 'text',\n\t\t\t[ refKey || 'ref' ]: addressField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurAddress( props ),\n\t\t\tonChange: handleChangeAddress( props ),\n\t\t\tonFocus: handleFocusAddress( props ),\n\t\t\tonKeyDown: handleKeyDownAddress( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurAddress,\n\t\t\thandleChangeAddress,\n\t\t\thandleFocusAddress,\n\t\t\thandleKeyDownAddress,\n\t\t]\n\t);\n\t/** ====== END: ADDRESS STUFF ====== */\n\t/** ====== START: CARD IMAGE STUFF ====== */\n\tconst getCardImageProps = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\tconst images = props.images || {};\n\t\t\treturn {\n\t\t\t\t'aria-label': cardType\n\t\t\t\t\t? cardType.displayName\n\t\t\t\t\t: 'Placeholder card',\n\t\t\t\tchildren:\n\t\t\t\t\timages[ cardType ? cardType.type : 'placeholder' ] ||\n\t\t\t\t\timages.placeholder,\n\t\t\t\twidth: '3em',\n\t\t\t\theight: '2em',\n\t\t\t\tviewBox: '0 0 24 16',\n\t\t\t};\n\t\t},\n\t\t[ cardType ]\n\t);\n\t/** ====== END: CARD IMAGE STUFF ====== */\n\n\t// Set default field errors\n\tReact.useLayoutEffect( () => {\n\t\tif ( addressField.current ) {\n\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\taddressField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t}\n\t\tif ( zipField.current ) {\n\t\t\tconst zipError = utils.validator.getZIPError(\n\t\t\t\tzipField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'zip', zipError );\n\t\t}\n\t\tif ( cvcField.current ) {\n\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\tcvcField.current.value,\n\t\t\t\tcvcValidator,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'cvc', cvcError );\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\texpiryDateField.current.value,\n\t\t\t\texpiryValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t}\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\tcardNumberField.current.value,\n\t\t\t\tcardNumberValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t}\n\t}, [\n\t\tcardNumberValidator,\n\t\tcvcValidator,\n\t\terrorMessages,\n\t\texpiryValidator,\n\t\tsetInputError,\n\t] );\n\n\t// Format default values\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tcardNumberField.current.value = utils.formatter.formatCardNumber(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\texpiryDateField.current.value = utils.formatter.formatExpiry( {\n\t\t\t\ttarget: expiryDateField.current,\n\t\t\t} );\n\t\t}\n\t}, [] );\n\n\t// Set default card type\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardType = utils.cardTypes.getCardTypeByValue(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t\tsetCardType( cardType );\n\t\t}\n\t}, [] );\n\n\treturn {\n\t\tgetCardImageProps,\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps: {\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t},\n\n\t\tmeta: {\n\t\t\tcardType,\n\t\t\terroredInputs,\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t\ttouchedInputs,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t};\n}\n","export default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<path\n\t\t\td=\"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<g fill=\"#016fd0\">\n\t\t\t<path d=\"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z\" />\n\t\t\t<path d=\"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z\" />\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-320.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Diners-Club\"\n\t\t\t\t\t\ttransform=\"translate(280.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#0165AC\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-280.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Discover\"\n\t\t\t\t\t\ttransform=\"translate(240.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.8054455 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#000000\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g id=\"Group-2\">\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#B3131B\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"2\"\n\t\t\t/>\n\t\t\t<g\n\t\t\t\tid=\"Hipercard_logo\"\n\t\t\t\ttransform=\"translate(2.000000, 6.000000)\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tfillRule=\"nonzero\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M4.45845797,4.72911206 L4.71934477,4.72911206 L4.72670967,4.71021617 C4.73076043,4.69982332 4.73407456,4.67539055 4.73407456,4.65592007 C4.73407456,4.63644958 4.74267391,4.56566228 4.75318417,4.49861521 C4.76369454,4.43156695 4.78836018,4.27726169 4.80799675,4.15571305 C4.82763331,4.0341644 4.85703646,3.85139347 4.87333717,3.74955542 C4.88963776,3.64771736 4.90953167,3.51735868 4.91754595,3.45986946 C4.92556023,3.40238023 4.93534271,3.3553436 4.93928464,3.3553436 C4.94322668,3.3553436 4.96009268,3.38074637 4.9767648,3.41179473 L5.0070776,3.46824705 L5.07434118,3.5349692 L5.14160488,3.60169134 L5.22440039,3.63432372 L5.30719578,3.66695609 L5.40587279,3.67955056 L5.5045498,3.69214384 L5.62980554,3.68457856 L5.75506139,3.67701327 L5.8906751,3.64246001 L6.02628894,3.60790675 L6.09908975,3.57519075 C6.13913019,3.55719677 6.21011098,3.51796553 6.25682484,3.48801021 L6.34175912,3.43354447 L6.42095111,3.35561954 C6.46450662,3.31276155 6.5259323,3.24403729 6.55745263,3.20290069 C6.58897283,3.16176409 6.61476215,3.12510239 6.61476215,3.12143264 C6.61476215,3.11776169 6.63024834,3.09228724 6.64917582,3.06482382 C6.66810343,3.0373592 6.70683989,2.96113177 6.73525696,2.8954298 C6.76367415,2.82972783 6.80808531,2.71146429 6.83394853,2.63262192 L6.88097263,2.48927217 L6.90527961,2.36510142 C6.91864839,2.29680721 6.93584673,2.18391928 6.94349809,2.11423935 L6.95740984,1.98754804 L6.9493753,1.88003572 L6.94134076,1.77252341 L6.91602234,1.66501109 L6.89070392,1.55749878 L6.84971924,1.47700311 L6.80873457,1.39650745 L6.72956721,1.31388424 L6.65039973,1.23125983 L6.55674682,1.18360201 L6.4630938,1.13594299 L6.35995932,1.11163207 L6.25682484,1.08732115 L6.15369036,1.07986696 L6.05055588,1.07241397 L5.93566831,1.0854122 L5.82078075,1.09840925 L5.7270093,1.12198192 L5.63323773,1.1455534 L5.55177641,1.18267501 C5.50697261,1.2030916 5.44177912,1.23776791 5.40690207,1.25973387 C5.3720249,1.28169983 5.33604735,1.30697239 5.32695174,1.31589472 C5.31785613,1.32481824 5.29608043,1.34134766 5.27856116,1.3526257 L5.24670802,1.37313308 L5.26898276,1.26820942 C5.28123392,1.21050159 5.29147275,1.15656744 5.2917358,1.14835469 L5.29221386,1.13342243 L5.06976516,1.13342243 L4.84731634,1.13342243 L4.80831003,1.37532513 C4.78685648,1.50837162 4.75298372,1.71398893 4.73303727,1.83225247 C4.7130907,1.95051602 4.68301183,2.12791134 4.66619545,2.22646429 C4.64937895,2.32501725 4.61938307,2.49972476 4.59953794,2.61470321 C4.5796928,2.72968165 4.54689191,2.91245259 4.52664697,3.02086084 C4.50640216,3.12926909 4.47674372,3.28784975 4.46073931,3.37326231 C4.44473502,3.45867488 4.41461296,3.61994335 4.39380151,3.7316367 C4.37299019,3.84333005 4.33954562,4.02072536 4.31948026,4.12584852 C4.29941502,4.23097167 4.26676167,4.39761576 4.24691738,4.49616871 C4.2270731,4.59472167 4.20785211,4.68745104 4.20420394,4.70223398 L4.19757093,4.72911206 L4.45845773,4.72911206 L4.45845797,4.72911206 Z M5.58158434,3.34795511 L5.48028286,3.35395071 L5.41406652,3.34244331 L5.34785018,3.33093472 L5.28059837,3.30070464 L5.21334656,3.27047457 L5.16636177,3.22630134 L5.11937709,3.18212931 L5.09225746,3.12240025 C5.07734166,3.08954926 5.0581828,3.0337432 5.04968233,2.99838718 L5.03422684,2.93410437 L5.04041916,2.8311458 L5.04661147,2.72818843 L5.07787505,2.56691995 C5.09507,2.47822229 5.12594421,2.31157821 5.14648436,2.19659976 C5.1670245,2.08162131 5.19812318,1.9131519 5.21559259,1.82222277 L5.24735509,1.6568975 L5.3169102,1.5999088 C5.35516545,1.56856538 5.41576424,1.52655673 5.45157423,1.50655705 L5.51668327,1.470194 L5.60161755,1.44430981 L5.68655183,1.41842563 L5.79575304,1.41211346 L5.90495426,1.40580129 L5.99387134,1.42445946 L6.08278843,1.44311762 L6.1455397,1.47157016 L6.20829096,1.50002269 L6.2609103,1.55210763 L6.31352963,1.60419138 L6.34191746,1.65934519 C6.3575308,1.68968039 6.37946059,1.74905705 6.39065044,1.79129506 L6.41099548,1.86808991 L6.40476348,2.09506035 L6.39853137,2.32203079 L6.36736983,2.45618705 C6.35023095,2.52997394 6.31760514,2.64286188 6.29486799,2.70704912 L6.25352781,2.82375493 L6.20290006,2.91822719 C6.17505485,2.9701879 6.1321162,3.04040419 6.10748089,3.07426459 C6.08284558,3.10812381 6.04357913,3.15198525 6.0202222,3.17173287 C5.99686528,3.19148049 5.95774892,3.22234369 5.93329695,3.24031617 L5.8888387,3.27299275 L5.7858622,3.30747553 L5.6828857,3.34195951 L5.58158434,3.34795511 Z M8.10111202,3.67635864 L8.23458018,3.67786023 L8.36804833,3.665875 C8.44145581,3.6592833 8.56157715,3.64555995 8.63498463,3.63537973 C8.70839211,3.62519831 8.83520336,3.60240928 8.91678734,3.58473665 L9.06512179,3.5526048 L9.07250973,3.498771 C9.07657311,3.4691621 9.093232,3.38101873 9.10952955,3.3028967 L9.1391613,3.16085621 L9.1326233,3.1544198 L9.12608543,3.1479822 L9.0807372,3.1695444 C9.05579576,3.181403 8.97811171,3.20969069 8.90810597,3.23240685 L8.78082285,3.27370711 L8.6472364,3.29918394 L8.51364995,3.32466077 L8.30131425,3.32506693 L8.08897856,3.32547309 L8.01617775,3.30258252 C7.9761373,3.28999283 7.91724557,3.26695772 7.88530737,3.25139472 L7.82723768,3.22309628 L7.7793106,3.18046765 L7.73138352,3.13783782 L7.69398963,3.07349051 L7.65659562,3.00914319 L7.63315109,2.92843011 L7.60970656,2.84771703 L7.60953911,2.69835615 L7.60937167,2.54899526 L7.63018579,2.41575047 L7.65099978,2.28250449 L7.83358895,2.27410658 L8.01617823,2.26570748 L8.69111697,2.26997453 L9.3660557,2.27424157 L9.38643459,2.18913124 C9.39764288,2.14232038 9.41477886,2.04555929 9.42451439,1.97410661 L9.44221542,1.84419231 L9.44258913,1.73490963 L9.44296284,1.62562694 L9.42374501,1.54404301 L9.40452717,1.46245909 L9.37275132,1.40843654 C9.35527451,1.37872491 9.32448062,1.33566504 9.3043205,1.31274938 C9.28416037,1.28983373 9.24816377,1.25752509 9.22432794,1.24095266 C9.20049222,1.22438023 9.15368992,1.19652977 9.12032288,1.17906499 L9.05965554,1.14730824 L8.95365525,1.12215633 L8.84765497,1.09700442 L8.71705262,1.08471099 L8.58645027,1.07241636 L8.46511559,1.08019547 L8.34378091,1.08797458 L8.19817929,1.11550012 L8.05257767,1.14302686 L7.96157665,1.17884877 C7.9115261,1.198551 7.83508525,1.23447922 7.7917081,1.2586898 C7.74833095,1.28290038 7.68827028,1.32231081 7.65823994,1.34626814 C7.62820961,1.37022427 7.57621515,1.4167998 7.54269681,1.44976786 C7.50917834,1.48273591 7.45959784,1.54196325 7.43251788,1.58138443 C7.40543792,1.62080561 7.36392374,1.69068862 7.34026433,1.73668 C7.31660479,1.78267138 7.28577559,1.84717876 7.27175488,1.88002975 C7.25773417,1.91288073 7.23225571,1.98007593 7.21513599,2.02935241 C7.1980164,2.07862889 7.17110667,2.17270216 7.15533656,2.23840413 C7.13956645,2.3041061 7.11795686,2.41225991 7.10731533,2.47874552 L7.08796742,2.59963476 L7.08814699,2.77739681 L7.08832657,2.95515887 L7.10676835,3.03280665 C7.11691132,3.07551293 7.13630473,3.14002032 7.14986473,3.1761564 C7.16342485,3.21229249 7.18849963,3.26604864 7.20558671,3.29561453 C7.22267367,3.32518042 7.2591652,3.37278329 7.28667905,3.40139948 C7.31419278,3.43001568 7.36400431,3.47343751 7.39737135,3.49789178 C7.43073838,3.52234606 7.49013972,3.55674044 7.52937438,3.57432587 L7.60070995,3.60629765 L7.70017273,3.62996947 C7.75487732,3.64298921 7.83743756,3.65841484 7.88363999,3.66425037 C7.92984242,3.6700847 8.02770503,3.67553319 8.10111251,3.67635864 L8.10111202,3.67635864 Z M8.32965888,1.99352094 C7.99374575,1.99352094 7.71890777,1.99115328 7.71890777,1.98826001 C7.71890777,1.98536673 7.73323995,1.94370571 7.75075703,1.89567996 C7.76827412,1.84765421 7.79903902,1.77617166 7.81912342,1.73682932 L7.85564031,1.66529779 L7.93590903,1.58670271 L8.01617775,1.50810762 L8.09504529,1.47097884 C8.13842244,1.45055747 8.19575308,1.42832273 8.22244671,1.42156738 C8.24914034,1.41481202 8.32558119,1.40585027 8.39231526,1.40165251 L8.51364995,1.39401794 L8.60682685,1.40580726 L8.70000364,1.41759659 L8.76771701,1.44811814 L8.8354305,1.4786385 L8.87257529,1.51806804 C8.89300502,1.53975447 8.9173507,1.5716916 8.92667697,1.58903811 L8.94363374,1.62057745 L8.95483159,1.69057752 L8.96602945,1.76057759 L8.95321966,1.87704927 L8.94040987,1.99352094 L8.32965888,1.99352094 Z M11.959629,3.67642315 L12.0931723,3.67788054 L12.2447655,3.66019237 C12.328143,3.6504637 12.4391291,3.63434164 12.4914025,3.62436569 C12.5436771,3.61438974 12.628308,3.59458597 12.6794712,3.58035851 C12.7306357,3.56612985 12.7769248,3.55074723 12.7823351,3.54617318 C12.7877455,3.54159912 12.8022037,3.48738425 12.8144634,3.42569488 C12.826723,3.3640055 12.8421665,3.28127956 12.8487817,3.24185837 C12.8553968,3.20243719 12.858816,3.16807267 12.8563809,3.16549477 C12.8539445,3.16291567 12.8449948,3.16624735 12.8364917,3.1728952 C12.8279885,3.17954304 12.7684545,3.20420995 12.7041944,3.22770736 L12.5873588,3.27043156 L12.420981,3.302168 L12.2546045,3.33390325 L12.1131465,3.32915121 L11.9716884,3.32439797 L11.8913406,3.29696441 L11.8109916,3.26953085 L11.7489046,3.21605781 L11.6868164,3.16258596 L11.6456318,3.08873695 L11.6044472,3.01488793 L11.5848322,2.91609248 L11.5652172,2.81729702 L11.5653386,2.68912203 L11.5654599,2.56094705 L11.5892961,2.40565148 L11.6131335,2.25035592 L11.6383541,2.16673523 C11.6522263,2.12074385 11.6679222,2.06698769 11.6732342,2.0472771 C11.678545,2.02756651 11.7007978,1.97112254 11.722683,1.92184607 C11.7445681,1.87256959 11.7836087,1.79641025 11.8094409,1.75260257 L11.8564059,1.67295267 L11.9140896,1.61410998 L11.9717721,1.5552673 L12.0328581,1.51796531 L12.0939452,1.48066331 L12.172393,1.45687442 C12.2155396,1.44379137 12.2917924,1.42680322 12.3418429,1.41912326 L12.4328439,1.40516219 L12.5663121,1.41175628 L12.6997802,1.41835037 L12.8575153,1.44943457 L13.0152504,1.48051877 L13.0794061,1.50407591 C13.1146915,1.51703353 13.145104,1.52763425 13.1469871,1.52763425 C13.1488715,1.52763425 13.1573345,1.48328542 13.1657928,1.42908129 C13.1742522,1.37487717 13.1893087,1.28569809 13.1992508,1.23090743 C13.209193,1.17611557 13.2149333,1.12892841 13.2120067,1.12604708 C13.2090789,1.12316575 13.1616662,1.11575337 13.1066446,1.109575 C13.0516217,1.10339663 12.9020779,1.09242679 12.7743246,1.08519718 L12.5420452,1.0720532 L12.3782433,1.08442906 L12.2144415,1.09680493 L12.0931068,1.12190786 L11.9717721,1.14701198 L11.8936314,1.17778201 C11.8506546,1.19470683 11.787705,1.2252463 11.7537446,1.24564856 C11.7197843,1.26605201 11.6765552,1.29349632 11.6576803,1.30663671 C11.6388043,1.3197771 11.5815404,1.37104495 11.5304257,1.42056632 L11.4374894,1.5106043 L11.3856128,1.58542809 C11.3570809,1.62658022 11.3077232,1.71239058 11.2759299,1.77611671 L11.2181236,1.89198153 L11.1738182,2.01741257 C11.1494494,2.08639964 11.1154271,2.19928757 11.098211,2.26827464 L11.0669102,2.39370567 L11.0555485,2.50719089 L11.0441879,2.62067611 L11.0443092,2.76999877 L11.0444306,2.91932143 L11.0558894,3.0061878 L11.0673483,3.09305536 L11.1036916,3.18241243 L11.1400338,3.27176949 L11.1820095,3.33637364 L11.2239841,3.4009766 L11.2907327,3.46565123 L11.3574813,3.53032586 L11.4280836,3.56706401 L11.4986858,3.60380216 L11.591451,3.6291691 C11.642471,3.64312061 11.7161818,3.65913278 11.7552528,3.6647509 C11.7943226,3.67037021 11.8863841,3.67562278 11.9598316,3.67642315 L11.959629,3.67642315 Z M13.9555105,3.67201037 L14.1193123,3.66738973 L14.2224468,3.64140161 L14.3255813,3.6154123 L14.3923154,3.5843508 C14.4290191,3.56726709 14.4890798,3.53354287 14.5257835,3.50940874 C14.5624872,3.48527462 14.6192998,3.43939314 14.6520322,3.40745004 C14.6847659,3.37550574 14.7333071,3.32100536 14.7599012,3.28633861 C14.7864953,3.25167066 14.8098571,3.22488337 14.8118155,3.22681143 C14.8137726,3.22873948 14.8076537,3.2839817 14.7982163,3.34957257 C14.7887801,3.41516345 14.7809516,3.50242641 14.7808217,3.54349015 L14.7805912,3.61815148 L15.003278,3.61815148 L15.2259647,3.61815148 L15.2327728,3.44792364 L15.2395797,3.27769581 L15.2713548,3.05669828 C15.2888318,2.93514963 15.3170592,2.75506651 15.3340824,2.65651355 C15.3511044,2.55796059 15.3806943,2.39131651 15.3998373,2.28619336 C15.4189803,2.1810702 15.4493055,2.01711392 15.4672278,1.92184607 L15.4998135,1.74863178 L15.5009055,1.59901287 L15.5019975,1.44939515 L15.4676343,1.38024561 L15.4332723,1.31109728 L15.3866749,1.26705665 L15.3400776,1.22301602 L15.2635748,1.18484915 L15.1870721,1.14668347 L15.0730551,1.12171553 L14.9590393,1.09674639 L14.8020602,1.08498574 L14.645081,1.07322389 L14.4428707,1.08554122 C14.3316553,1.09231569 14.1751408,1.10569261 14.0950599,1.11526718 L13.9494583,1.13267701 L13.8502272,1.13304733 L13.750996,1.13341765 L13.7365584,1.20210607 C13.7286171,1.2398847 13.7065499,1.32964076 13.687521,1.40156411 C13.6684909,1.47348627 13.6546854,1.53406946 13.6568415,1.53619223 C13.6589976,1.538315 13.7120682,1.52645639 13.7747764,1.50983976 C13.8374846,1.49322194 13.9706919,1.4658947 14.070793,1.44911203 L14.252795,1.41859765 L14.4165969,1.411951 L14.5803987,1.40530435 L14.6859089,1.42351335 L14.7914191,1.44172116 L14.8618442,1.47594352 L14.9322693,1.51016469 L14.971703,1.56803021 L15.0111368,1.62589572 L15.0105787,1.7171259 L15.0100205,1.80835607 L14.989117,1.90846915 L14.9682134,2.00858342 L14.5316331,2.01013398 L14.0950539,2.01168455 L13.9521677,2.05025639 C13.8735792,2.07147095 13.786558,2.09963679 13.7587857,2.11284647 C13.7310146,2.12605735 13.7032351,2.13686592 13.6970543,2.13686592 C13.6908735,2.13686592 13.6441232,2.16238934 13.5931651,2.19358344 L13.5005139,2.25030097 L13.4275457,2.32200093 C13.387413,2.36143645 13.3361406,2.42057897 13.3136063,2.45342996 C13.2910733,2.48628094 13.2544617,2.55490844 13.232249,2.60593498 L13.1918603,2.69871094 L13.173324,2.80304089 L13.1547877,2.90737084 L13.1547877,3.01681838 L13.1547877,3.12626711 L13.1724965,3.21739215 L13.1902065,3.3085184 L13.2230615,3.3679524 C13.2411331,3.40064092 13.2742951,3.44852332 13.2967566,3.47435973 L13.3375954,3.52133305 L13.4101681,3.56473577 L13.4827396,3.60813849 L13.5658078,3.63128231 C13.6114963,3.64401177 13.6810332,3.65942187 13.720336,3.66552618 L13.7917948,3.67662623 L13.9555966,3.67200559 L13.9555105,3.67201037 Z M14.1071788,3.33797677 L14.0101111,3.34295937 L13.9458219,3.32683969 C13.9104626,3.31797351 13.8568096,3.2982008 13.8265924,3.2829006 L13.771652,3.25508 L13.7416666,3.21999634 C13.7251748,3.20069908 13.6999809,3.16278307 13.6856804,3.13573655 L13.6596808,3.08656281 L13.6545823,2.97172771 L13.649485,2.85689381 L13.6700525,2.78723658 C13.6813657,2.74892516 13.7079052,2.68244671 13.7290308,2.6395051 L13.7674417,2.56143085 L13.840996,2.48951348 L13.9145503,2.4175973 L13.9926644,2.38056886 L14.0707784,2.34354042 L14.1678462,2.3208398 L14.2649139,2.29813917 L14.5682506,2.29813917 L14.8715874,2.29813917 L14.8907789,2.30595173 L14.9099692,2.31376429 L14.8938183,2.40749114 C14.8849342,2.4590409 14.8637479,2.55228633 14.8467356,2.61470321 C14.8297232,2.67712008 14.7996905,2.76887348 14.7799954,2.81860031 C14.7603004,2.86832714 14.7441859,2.91229012 14.7441859,2.91629675 C14.7441859,2.92030338 14.7242458,2.95653742 14.6998745,2.99681631 L14.6555643,3.07005131 L14.5828035,3.14102257 C14.5427861,3.18005671 14.5056371,3.21199384 14.5002523,3.21199384 C14.4948674,3.21199384 14.4703372,3.22543885 14.4457427,3.24187151 L14.4010235,3.27174799 L14.3026357,3.30237108 L14.2042466,3.33299417 L14.1071788,3.33797677 Z M18.0566228,3.67628099 L18.1718907,3.67771091 L18.281092,3.66026166 C18.3411526,3.65066439 18.4175935,3.63520412 18.4509605,3.6259067 C18.4843276,3.61660808 18.5443882,3.59247515 18.5844287,3.57227836 L18.6572295,3.53555693 L18.7198576,3.48128471 L18.7824857,3.4270125 L18.8484444,3.34040775 C18.8847223,3.29277621 18.9175725,3.24574076 18.9214467,3.23588547 L18.9284889,3.21796675 L18.922364,3.27769581 C18.9189945,3.3105468 18.9114402,3.36430295 18.9055761,3.39715394 C18.8997132,3.43000492 18.8913059,3.49316841 18.8868942,3.53751724 L18.8788715,3.61815148 L19.1168877,3.61815148 L19.3549039,3.61815148 L19.3549039,3.53751724 L19.3549039,3.456883 L19.391166,3.15226478 C19.411111,2.98472475 19.4406038,2.7616367 19.4567061,2.65651355 C19.4728085,2.5513904 19.4976627,2.40087316 19.5119389,2.32203079 C19.5262139,2.24318843 19.5514964,2.10073461 19.5681205,2.00546676 C19.5847433,1.9101989 19.6147725,1.74355481 19.6348497,1.63514656 C19.654927,1.52673831 19.68706,1.35471861 19.7062552,1.25288055 C19.7254515,1.1510425 19.7552865,0.992461836 19.7725549,0.900479078 C19.7898244,0.80849632 19.8207636,0.647227848 19.841308,0.542104696 C19.8618536,0.436981544 19.8918657,0.289152111 19.9080008,0.213594845 C19.9241371,0.13803758 19.9373165,0.0721862871 19.9372885,0.0672586394 L19.9372886,0.0582992798 L19.6776105,0.0582992798 L19.4179324,0.0582992798 L19.4102629,0.132960609 C19.4060453,0.174024341 19.386167,0.309758638 19.3660873,0.434592381 C19.3460089,0.559426124 19.3132764,0.758323906 19.2933496,0.876587452 C19.2734228,0.994850998 19.2542119,1.109532 19.2506592,1.13143345 L19.2442006,1.17125601 L19.2237071,1.16267653 C19.2124364,1.15795674 19.1513431,1.14127321 19.0879458,1.12560031 L18.9726778,1.09710477 L18.8149427,1.08501083 L18.6572076,1.07291569 L18.5237395,1.08516015 L18.3902713,1.09740461 L18.2689366,1.12760004 L18.147602,1.15779547 L18.032334,1.21314639 L17.9170661,1.26849731 L17.8321318,1.33040529 L17.7471975,1.39231447 L17.6738471,1.46974245 C17.6335045,1.51232808 17.5752238,1.58276537 17.5443344,1.62626963 L17.488171,1.70537002 L17.4222183,1.84048553 C17.3859453,1.91479923 17.3418026,2.01323153 17.3241241,2.05922291 C17.3064456,2.10521429 17.2752675,2.20716464 17.2548384,2.28577884 L17.2176966,2.42871287 L17.1993969,2.61428869 L17.1810984,2.7998633 L17.1948396,2.94918596 L17.2085795,3.09850862 L17.224825,3.15226478 C17.2337589,3.18183067 17.2525985,3.23450692 17.2666891,3.26932419 L17.2923089,3.33262744 L17.3390179,3.39487707 L17.3857281,3.45712789 L17.4390608,3.5001364 L17.4923947,3.54314491 L17.5651955,3.57873388 C17.6052359,3.59830709 17.6724044,3.62360354 17.714459,3.63494729 C17.7565136,3.64629103 17.8247643,3.65990926 17.8661273,3.66521081 C17.9074903,3.67051236 17.9932036,3.67549377 18.056601,3.67628099 L18.0566228,3.67628099 Z M18.2635057,3.33735678 L18.1718907,3.34214706 L18.1100549,3.33118916 C18.0760448,3.3251625 18.0216226,3.30900698 17.989117,3.29528841 L17.9300149,3.27034555 L17.8802835,3.23022554 L17.830552,3.19010433 L17.7935947,3.12041485 L17.7566361,3.05072537 L17.7397949,2.97307759 L17.7229524,2.8954298 L17.7243805,2.74013424 L17.7258074,2.58483867 L17.7453666,2.44746183 L17.7649257,2.31008498 L17.7953249,2.21451848 C17.8120436,2.1619569 17.8258042,2.11236625 17.8259049,2.10431836 C17.8260262,2.09627046 17.8425132,2.05326554 17.8625892,2.00875185 C17.8826665,1.96423817 17.9162082,1.89556528 17.9371288,1.8561441 C17.9580481,1.81672291 17.9971506,1.75526768 18.0240226,1.71957718 C18.0508934,1.68388667 18.0987648,1.63013051 18.1304016,1.60011905 C18.1620384,1.57010758 18.2123656,1.53074374 18.2422382,1.51264345 L18.2965536,1.47973512 L18.3919567,1.44723295 L18.4873609,1.41473079 L18.6875631,1.41461133 L18.8877654,1.41461133 L19.0030333,1.44609571 C19.0664307,1.46341117 19.1337447,1.48349327 19.1526184,1.49072169 L19.1869367,1.50386327 L19.1802341,1.53665453 C19.176548,1.55468912 19.1621274,1.63395198 19.1481884,1.71279434 C19.1342495,1.79163671 19.1067842,1.94215395 19.0871522,2.0472771 C19.0675203,2.15240025 19.0373589,2.31098092 19.0201245,2.39967858 C19.0028914,2.48837624 18.9779292,2.60126417 18.9646527,2.65054064 C18.9513763,2.69981712 18.9326471,2.76806952 18.9230301,2.80221304 C18.9134143,2.83635657 18.890516,2.89548834 18.872146,2.93361698 C18.8537759,2.97174563 18.8216307,3.02713239 18.8007126,3.05669828 C18.7797957,3.08626416 18.7444145,3.12722038 18.7220889,3.14771103 C18.6997633,3.16820288 18.6514661,3.2046173 18.6147623,3.22863316 L18.5480283,3.2722975 L18.4515745,3.30243201 L18.3551207,3.33256771 L18.2635057,3.33735798 L18.2635057,3.33735678 Z M0.406035224,3.61815148 L0.700846957,3.61815148 L0.721999232,3.48973399 C0.733631588,3.41910437 0.756352721,3.28337007 0.772489021,3.18810222 C0.78862532,3.09283436 0.818658081,2.91543904 0.839229163,2.7938904 C0.859799032,2.67234175 0.890636242,2.49225862 0.907755352,2.39370567 C0.924874463,2.29515271 0.952074059,2.14227379 0.968198225,2.05397392 C0.984323604,1.96567525 1.00057639,1.89041663 1.00431713,1.88673254 L1.01111794,1.88003572 L1.80383747,1.88003572 L2.596557,1.88003572 L2.60535861,1.88869883 L2.61416145,1.89736193 L2.60041544,1.96634661 C2.59285507,2.0042877 2.57049188,2.12134114 2.55072039,2.22646429 C2.53094769,2.33158744 2.49770806,2.50898276 2.47685426,2.62067611 C2.45600047,2.73236946 2.42584638,2.89095012 2.40984597,2.97307759 C2.39384435,3.05520505 2.36146377,3.22722475 2.33788965,3.3553436 C2.31431432,3.48346244 2.29507549,3.59500646 2.29513616,3.60321921 L2.2952575,3.61815148 L2.59128136,3.61815148 L2.88730644,3.61815148 L2.90040452,3.54349015 C2.90760938,3.50242641 2.91920048,3.4285117 2.92616388,3.37923522 C2.93312606,3.32995874 2.9499115,3.22513424 2.96346337,3.14629187 C2.97701646,3.06744951 3.00409472,2.91155665 3.02363688,2.7998633 C3.04317905,2.68816995 3.07588966,2.4973356 3.09632728,2.37578695 C3.11676368,2.25423831 3.14708242,2.07684299 3.16370127,1.98157513 C3.18032,1.88630727 3.2099327,1.7250388 3.22950738,1.62320075 C3.24908194,1.52136269 3.28168651,1.34934299 3.30196202,1.24093474 C3.32223741,1.13252649 3.3526127,0.96857021 3.36946269,0.876587452 C3.3863128,0.784604694 3.41703596,0.617960606 3.43773662,0.506267257 C3.45843729,0.394573908 3.48457667,0.264215227 3.49582403,0.216581299 L3.5162739,0.129974156 L3.21654665,0.129974156 L2.91681989,0.129974156 L2.90866742,0.186716767 C2.9041841,0.217925202 2.88970402,0.305278958 2.87649067,0.380836224 C2.86327611,0.456393489 2.83924092,0.590783883 2.82307672,0.679481542 C2.80691251,0.768179202 2.77737358,0.937511097 2.75743465,1.05577464 C2.73749451,1.17403819 2.7120846,1.33059045 2.7009667,1.40366896 L2.68075113,1.53653985 L2.24076366,1.54530688 L1.80077498,1.55407391 L1.43224272,1.54546337 C1.22954949,1.54072805 1.0625869,1.53591269 1.06121339,1.53476231 C1.05983988,1.53361551 1.06674383,1.4871905 1.07655495,1.43160066 C1.08636486,1.37601082 1.10492543,1.27945999 1.11780025,1.21704312 C1.13067507,1.15462624 1.15508154,1.03098708 1.17203685,0.942289422 C1.18899095,0.853591763 1.20819702,0.74339164 1.21471511,0.697400261 C1.22123321,0.651408882 1.23489429,0.574806358 1.24507305,0.52717243 C1.25525061,0.479538501 1.27456709,0.379202037 1.28799762,0.304203835 C1.30142816,0.229204439 1.31573716,0.159321434 1.3197958,0.148908269 L1.32717538,0.129974156 L1.02986779,0.129974156 L0.732560203,0.129974156 L0.713517938,0.234500018 C0.703043115,0.291989241 0.689078706,0.373967381 0.682484166,0.416673662 C0.675889626,0.459379942 0.653744833,0.596458144 0.633273245,0.721291887 C0.612802871,0.84612563 0.582582041,1.03158437 0.566118138,1.13342243 C0.549653021,1.23526048 0.519668795,1.42071922 0.499487197,1.54555297 C0.479305599,1.67038671 0.446005295,1.86390887 0.4254876,1.97560222 C0.404969905,2.08729557 0.375264748,2.24587624 0.359476679,2.3280037 C0.343687397,2.41013116 0.313600035,2.56602402 0.292613988,2.67443227 C0.271629155,2.78284052 0.241013987,2.93604557 0.224581631,3.01488793 C0.208148062,3.0937303 0.189981833,3.18511576 0.184209942,3.21796675 C0.178439265,3.25081773 0.159657869,3.34556595 0.142475664,3.42851887 C0.125292247,3.51147178 0.111233197,3.58807431 0.111233197,3.5987467 L0.111233197,3.61815148 L0.40604493,3.61815148 L0.406035224,3.61815148 Z M3.6696828,3.61815148 L3.93066933,3.61815148 L3.93803423,3.59925559 C3.94208498,3.58886273 3.94539912,3.56160239 3.94539912,3.53867598 C3.94539912,3.51574958 3.96181061,3.39658174 3.98186905,3.27385882 C4.00192749,3.1511347 4.03506982,2.95127648 4.0555186,2.82972783 C4.07596737,2.70817919 4.10616636,2.53078387 4.12262747,2.43551601 C4.13908859,2.34024816 4.16836313,2.18166749 4.18768216,2.08311454 C4.20700119,1.98456158 4.23665805,1.83135654 4.2535863,1.74265888 C4.27051468,1.65396122 4.3038043,1.48521228 4.32756345,1.3676607 C4.3513226,1.25010912 4.37372499,1.14921121 4.37734671,1.14344138 L4.38393166,1.13295176 L4.1200058,1.13617355 L3.85607993,1.13939533 L3.83409918,1.2946909 C3.82200988,1.38010346 3.79557869,1.54943535 3.77536324,1.670984 C3.75514791,1.79253264 3.72457012,1.97799139 3.70741291,2.08311454 C3.69025558,2.18823769 3.66033444,2.35756959 3.64092138,2.45940764 C3.62150844,2.56124569 3.59175924,2.71713855 3.57481193,2.80583621 C3.55786476,2.89453387 3.52745513,3.05042672 3.50723495,3.15226478 C3.48701476,3.25410283 3.45988239,3.38849323 3.44694071,3.4509101 C3.43399891,3.51332697 3.42009966,3.57649045 3.41605327,3.5912734 L3.40869626,3.61815148 L3.6696828,3.61815148 Z M9.77371379,3.61815148 L10.0327662,3.61815148 L10.0405474,3.5102342 C10.0448257,3.45088023 10.0594866,3.33127278 10.0731246,3.24443986 C10.0867638,3.15760695 10.1146878,2.98442611 10.1351788,2.85959237 C10.155671,2.73475862 10.1937543,2.52697555 10.2198085,2.39785326 C10.2458627,2.26872977 10.2753155,2.14038396 10.2852589,2.11263742 C10.295201,2.08489208 10.3033365,2.05482685 10.3033365,2.04582568 C10.3033365,2.03682332 10.3228132,1.98777501 10.346619,1.9368285 C10.3704237,1.885882 10.4147873,1.80786868 10.4452047,1.76346729 L10.5005078,1.6827351 L10.5745377,1.61525798 L10.6485665,1.54777966 L10.7398538,1.50485597 L10.8311424,1.46193228 L10.9706773,1.46264903 L11.1102122,1.46336577 L11.1788136,1.48354942 C11.216545,1.49465186 11.2506704,1.50373426 11.2546478,1.50373426 C11.2586263,1.50373426 11.2618805,1.49103467 11.2618805,1.47551228 C11.2618805,1.45999108 11.2755307,1.38130521 11.2922142,1.30065544 C11.3088977,1.22000687 11.3225479,1.15061842 11.3225479,1.14646009 C11.3225479,1.14230175 11.2829624,1.12704814 11.2345802,1.11256384 C11.186198,1.09807954 11.1193123,1.08290836 11.0859452,1.07885156 L11.0252779,1.07147502 L10.9464103,1.08520913 C10.9030332,1.09276246 10.8385341,1.10943762 10.8030789,1.12226504 C10.7676249,1.13509245 10.7090846,1.16418528 10.6729899,1.18691816 C10.6368953,1.20964985 10.5807489,1.25394851 10.5482203,1.28535763 C10.5156916,1.31676676 10.4609794,1.3800951 10.4266368,1.42608648 C10.392293,1.47207786 10.356378,1.5204584 10.3468229,1.53359879 L10.3294514,1.55749042 L10.339999,1.50970717 C10.3458012,1.48342638 10.3619594,1.39741653 10.375908,1.31857416 C10.3898566,1.2397318 10.4041729,1.16581708 10.4077208,1.15431924 L10.4141733,1.13341406 L10.1828196,1.13341406 L9.95146594,1.13341406 L9.95146594,1.16220945 C9.95146594,1.1780472 9.93781118,1.27346438 9.92112208,1.37424762 C9.90443298,1.47503205 9.87691282,1.64350027 9.85996613,1.74862342 C9.84301943,1.85374657 9.8129425,2.03651751 9.79312843,2.15478105 C9.77331448,2.2730446 9.74322906,2.44237649 9.72627205,2.53107415 C9.70931504,2.61977181 9.67920475,2.77566467 9.65936022,2.87750272 C9.63951569,2.97934078 9.60656725,3.14598486 9.58614129,3.24782292 C9.56571544,3.34966097 9.54127633,3.46992783 9.53183225,3.515083 C9.52238804,3.56023818 9.51466108,3.6018992 9.51466108,3.60766305 L9.51466108,3.61815148 L9.77371379,3.61814311 L9.77371379,3.61815148 Z M15.9231926,3.61815148 L16.1880687,3.61815148 L16.1880687,3.53834508 L16.1880687,3.4585375 L16.2185916,3.26060494 C16.2353807,3.15174036 16.2630766,2.97934914 16.2801399,2.87751109 C16.2972031,2.77567303 16.3184719,2.64665825 16.3274021,2.59081158 C16.3363336,2.53496491 16.3600011,2.41401355 16.3799983,2.32203079 C16.3999955,2.23004804 16.4249722,2.13059914 16.4355041,2.10103326 C16.4460347,2.07146737 16.4547308,2.04044768 16.4548278,2.03210114 C16.4549492,2.0237546 16.4775041,1.97007848 16.5050034,1.9128222 L16.555003,1.80871922 L16.6209641,1.72243342 L16.6869253,1.63614762 L16.7591146,1.58271997 C16.7988189,1.55333566 16.862664,1.51433975 16.9009912,1.49606385 L16.9706774,1.46283419 L17.1223457,1.46386153 L17.2740141,1.46488886 L17.3337192,1.48376564 L17.3934244,1.50264122 L17.4034867,1.49651779 L17.413549,1.49039556 L17.4140586,1.45227648 C17.4143376,1.43131157 17.4273241,1.35330183 17.4429192,1.27892123 L17.4712752,1.14368388 L17.4393799,1.13139044 C17.4218386,1.12462911 17.3801856,1.1106334 17.3468185,1.10028833 L17.2861512,1.08147964 L17.17695,1.0817544 L17.0677488,1.08202915 L16.9787546,1.11285532 L16.8897605,1.1436803 L16.8229391,1.18334995 L16.7561176,1.22301961 L16.669242,1.3126132 L16.5823676,1.4022068 L16.5356913,1.47170873 C16.5100193,1.50993414 16.4874171,1.53950002 16.4854648,1.5374107 C16.4835113,1.53532018 16.4974648,1.45566431 16.5164719,1.36039645 C16.535479,1.2651286 16.5512658,1.17508703 16.5515534,1.16030409 L16.5520751,1.1334272 L16.327606,1.1334272 L16.1031368,1.1334272 L16.1031368,1.14103908 C16.1031368,1.14522489 16.0919461,1.22182741 16.0782681,1.31126691 C16.0645912,1.40070521 16.0371283,1.57333176 16.0172416,1.6948804 C15.9973536,1.81642905 15.9647218,2.01263902 15.9447271,2.13090257 C15.9247312,2.24916611 15.894588,2.41849801 15.8777419,2.50719567 C15.8608958,2.59589333 15.8309746,2.75178618 15.8112517,2.85362424 C15.7915287,2.95546229 15.7591214,3.11941857 15.7392359,3.21797153 C15.7193504,3.31652448 15.6930086,3.44688316 15.6806992,3.50765749 L15.6583178,3.61815625 L15.9231951,3.61815625 L15.9231926,3.61815148 Z M4.18287366,0.70311036 L4.25654638,0.703373168 L4.31510626,0.683728279 L4.37366602,0.664083389 L4.42549425,0.612324572 L4.47732236,0.56056456 L4.50462182,0.491606161 L4.53192127,0.422646568 L4.5328968,0.32110716 L4.53387233,0.219567752 L4.5096054,0.179918405 L4.48533846,0.140270252 L4.4430896,0.114516275 L4.40084074,0.0887622969 L4.30962145,0.0887622969 L4.21840216,0.0887611023 L4.15629991,0.116134932 L4.09419767,0.143508762 L4.05814865,0.181538257 L4.0220995,0.219567752 L3.99378945,0.285269722 L3.96547928,0.350971692 L3.96012782,0.453313859 L3.95477635,0.555656026 L3.98113328,0.606521296 L4.00749008,0.657385372 L4.05834557,0.680117059 L4.10920094,0.702848746 L4.18287366,0.703111554 L4.18287366,0.70311036 Z\"\n\t\t\t\t\tid=\"path2997\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import amex from './amex';\nimport dinersclub from './dinersclub';\nimport discover from './discover';\nimport hipercard from './hipercard';\nimport jcb from './jcb';\nimport unionpay from './unionpay';\nimport mastercard from './mastercard';\nimport placeholder from './placeholder';\nimport visa from './visa';\nimport troy from './troy';\n\nexport default {\n\tamex,\n\tdinersclub,\n\tdiscover,\n\thipercard,\n\tjcb,\n\tunionpay,\n\tmastercard,\n\tplaceholder,\n\tvisa,\n\ttroy,\n};\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z\"\n\t\t\tfill=\"#047ab1\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z\"\n\t\t\tfill=\"#d42d06\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z\"\n\t\t\tfill=\"#67b637\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\n\t\t<circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\n\t\t<path\n\t\t\td=\"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z\"\n\t\t\tfill=\"#ff5f00\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#D8D8D8\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"0.923076923\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tx=\"16.6153846\"\n\t\t\t\ty=\"3.76470588\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"2.82352941\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"6.46153846\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"11.9230769\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"5.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"18.4615385\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g>\n\t\t<path\n\t\t\ttransform=\"scale(0.6)\"\n\t\t\td=\"m33.6 24h-31.2c-1.325 0-2.4-1.075-2.4-2.4v-19.2c0-1.325 1.075-2.4 2.4-2.4h31.2c1.325 0 2.4 1.075 2.4 2.4v19.2c0 1.325-1.075 2.4-2.4 2.4zm-8.689-15.321c-.07-.002-.151-.004-.233-.004-.213 0-.424.01-.632.028l.027-.002c-.01.03.542 1.996 1.066 3.83l.064.224c1.114 3.896 1.114 3.896.937 4.274-.153.313-.392.565-.686.729l-.008.004-.231.116-.994.019c-.96.02-.998.024-1.12.111-.228.164-.315.425-.489 1.467-.09.55-.16.982-.16 1.006.148.031.318.049.492.049.084 0 .167-.004.249-.012l-.01.001c.214 0 .48 0 .812-.006.17.016.367.025.566.025.484 0 .956-.054 1.409-.157l-.043.008c1.072-.313 1.958-.975 2.55-1.852l.01-.016c.197-.286 5.257-9.732 5.257-9.814-.167-.024-.359-.038-.555-.038-.09 0-.178.003-.267.009l.012-.001h-.594l-1.4.011-.266.132c-.149.071-.277.163-.385.274-.067.08-.528 1.088-1.12 2.445-.344.887-.691 1.622-1.083 2.33l.049-.096c-.022-.046-.218-1.266-.378-2.282-.187-1.218-.366-2.27-.4-2.346-.065-.168-.191-.3-.349-.372l-.004-.002c-.151-.08-.223-.08-1.539-.095h-.553zm-3.77.131c-.043 0-.052.027-.062.071-.027.123-.418 2.354-.418 2.386.042.047.092.087.148.117l.003.001c.41.281.69.725.746 1.237l.001.008c.003.04.005.087.005.134 0 .787-.538 1.448-1.266 1.637l-.012.003c-.136.032-.19.067-.203.131-.035.168-.418 2.357-.418 2.39 0 .006.023.015.179.015.07 0 .16 0 .25-.007 1.958-.11 3.55-1.545 3.9-3.417l.004-.026c.026-.2.041-.431.041-.665 0-.321-.028-.636-.082-.942l.005.032c-.291-1.35-1.207-2.439-2.423-2.964l-.027-.01c-.108-.056-.232-.101-.364-.129l-.01-.002zm-16.966-.136c-.167 0-.603 0-.612.008s-.025.13-.058.32l-.137.758c-.104.588-.179 1.074-.167 1.082s.32.012.621.012h.596l-.012.091c0 .026-.037.211-.085.489l-.185 1.058c-.172.615-.271 1.322-.271 2.051 0 .156.005.31.013.464l-.001-.021c.182 1.082 1.114 1.766 2.624 1.925.198.021.466.031.701.031.038.003.081.004.125.004.138 0 .273-.016.403-.046l-.012.002c.022-.027.413-2.182.418-2.306 0-.052-.069-.068-.386-.088-.778-.043-1.126-.297-1.126-.823 0-.16.367-2.381.457-2.763.013-.059.032-.075.433-.075h.606c.053.003.116.004.179.004.174 0 .344-.012.512-.034l-.019.002c.025-.042.378-2 .378-2.099 0-.037-.198-.047-.847-.047h-.846l.107-.609c.195-1.063.149-1.32-.278-1.527-.214-.107-.231-.107-1.152-.123l-.953-.012-.024.111c-.012.064-.096.525-.183 1.03s-.171.96-.183 1.022l-.024.112zm6-.008-.025.111c-.04.186-1.415 8.014-1.415 8.053.294.026.637.042.983.042.135 0 .27-.002.404-.007l-.019.001h1.369l.04-.21c.025-.111.16-.871.302-1.686.14-.8.297-1.6.342-1.75.238-.867.892-1.541 1.727-1.805l.018-.005c.2-.061.43-.096.668-.096.056 0 .111.002.165.006h-.007c.499 0 .53-.005.545-.08.045-.195.452-2.57.445-2.593-.066-.021-.141-.034-.22-.034-.024 0-.048.001-.072.003h.003c-.006 0-.014 0-.021 0-.16 0-.317.013-.47.038l.017-.002c-.622.133-1.164.417-1.603.813l.003-.003c-.292.27-.546.576-.756.912l-.011.019c-.022.056-.054.104-.094.144.015-.157.037-.297.066-.435l-.004.024c.166-.885.076-1.192-.4-1.371-.269-.047-.578-.074-.894-.074-.058 0-.115.001-.173.003h.008zm9.704-.026h-.141c-.236 0-.467.022-.691.064l.023-.004c-1.274.263-2.314 1.086-2.869 2.195l-.011.024c-.272.488-.432 1.07-.432 1.689 0 .051.001.101.003.151v-.007c-.001.041-.002.09-.002.139 0 .262.024.518.069.767l-.004-.026c.249 1.142.939 2.09 1.879 2.674l.018.01c.276.177.595.325.933.427l.027.007c.025-.018.139-.633.247-1.233l.218-1.213-.103-.08c-.27-.187-.487-.434-.635-.721l-.005-.011c-.099-.162-.157-.359-.157-.569 0-.052.004-.103.01-.153l-.001.006c-.006-.044-.009-.095-.009-.147 0-.2.051-.387.14-.551l-.003.006c.228-.47.651-.815 1.161-.931l.011-.002c.08-.008.151-.031.151-.052 0-.054.4-2.314.422-2.394-.015-.056-.07-.064-.249-.064z\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981\"\n\t\t\tfill=\"#dd2423\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981\"\n\t\t\tfill=\"#16315e\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981\"\n\t\t\tfill=\"#036862\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.42760986.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z\"\n\t\t\tfill=\"#fefefe\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-80.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g id=\"Visa\" transform=\"translate(40.000000, 0.000000)\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t\tx=\"0.25\"\n\t\t\t\t\t\t\ty=\"0.25\"\n\t\t\t\t\t\t\twidth=\"23.5\"\n\t\t\t\t\t\t\theight=\"15.5\"\n\t\t\t\t\t\t\trx=\"2\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.1118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z\"\n\t\t\t\t\t\t\tid=\"Shape\"\n\t\t\t\t\t\t\tfill=\"#171E6C\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","export const DEFAULT_CVC_LENGTH = 3;\nexport const DEFAULT_ZIP_LENGTH = 5;\nexport const DEFAULT_CARD_FORMAT = /(\\d{1,4})/g;\nexport const CARD_TYPES = [\n\t{\n\t\tdisplayName: 'Visa',\n\t\ttype: 'visa',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^4/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Mastercard',\n\t\ttype: 'mastercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'American Express',\n\t\ttype: 'amex',\n\t\tformat: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n\t\tstartPattern: /^3[47]/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 15 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 4,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Diners Club',\n\t\ttype: 'dinersclub',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(36|38|30[0-5])/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 14, 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Discover',\n\t\ttype: 'discover',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(6011|65|64[4-9]|622)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'JCB',\n\t\ttype: 'jcb',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^35/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'UnionPay',\n\t\ttype: 'unionpay',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^62/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVN',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Maestro',\n\t\ttype: 'maestro',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5018|5020|5038|6304|6703|6708|6759|676[1-3])/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 12, 13, 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Elo',\n\t\ttype: 'elo',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern:\n\t\t\t/^(4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVE',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Hipercard',\n\t\ttype: 'hipercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Troy',\n\t\ttype: 'troy',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^9792/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n];\n\nexport const getCardTypeByValue = ( value ) =>\n\tCARD_TYPES.filter( ( cardType ) =>\n\t\tcardType.startPattern.test( value )\n\t)[ 0 ];\nexport const getCardTypeByType = ( type ) =>\n\tCARD_TYPES.filter( ( cardType ) => cardType.type === type )[ 0 ];\n","import * as cardTypes from './cardTypes';\n\nexport const formatCardNumber = ( cardNumber ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( cardNumber );\n\n\tif ( ! cardType ) return ( cardNumber.match( /\\d+/g ) || [] ).join( '' );\n\n\tconst format = cardType.format;\n\tif ( format && format.global ) {\n\t\treturn ( cardNumber.match( format ) || [] ).join( ' ' );\n\t}\n\n\tif ( format ) {\n\t\tconst execResult = format.exec( cardNumber.split( ' ' ).join( '' ) );\n\t\tif ( execResult ) {\n\t\t\treturn execResult\n\t\t\t\t.splice( 1, 3 )\n\t\t\t\t.filter( ( x ) => x )\n\t\t\t\t.join( ' ' );\n\t\t}\n\t}\n\n\treturn cardNumber;\n};\n\nexport const formatExpiry = ( event ) => {\n\tconst eventData = event.nativeEvent && event.nativeEvent.data;\n\tconst prevExpiry = event.target.value.split( ' / ' ).join( '/' );\n\n\tif ( ! prevExpiry ) return null;\n\tlet expiry = prevExpiry;\n\tif ( /^[2-9]$/.test( expiry ) ) {\n\t\texpiry = `0${ expiry }`;\n\t}\n\n\tif ( prevExpiry.length === 2 && +prevExpiry > 12 ) {\n\t\tconst [ head, ...tail ] = prevExpiry.split( '' );\n\t\texpiry = `0${ head }/${ tail.join( '' ) }`;\n\t}\n\n\tif ( /^1[/-]$/.test( expiry ) ) {\n\t\treturn `01 / `;\n\t}\n\n\texpiry = expiry.match( /(\\d{1,2})/g ) || [];\n\tif ( expiry.length === 1 ) {\n\t\tif ( ! eventData && prevExpiry.includes( '/' ) ) {\n\t\t\treturn expiry[ 0 ];\n\t\t}\n\t\tif ( /\\d{2}/.test( expiry ) ) {\n\t\t\treturn `${ expiry[ 0 ] } / `;\n\t\t}\n\t}\n\tif ( expiry.length > 2 ) {\n\t\tconst [ , month = null, year = null ] =\n\t\t\texpiry.join( '' ).match( /^(\\d{2}).*(\\d{2})$/ ) || [];\n\t\treturn [ month, year ].join( ' / ' );\n\t}\n\treturn expiry.join( ' / ' );\n};\n","import * as cardTypes from './cardTypes';\nimport * as formatter from './formatter';\nimport * as validator from './validator';\n\nexport const BACKSPACE_KEY_CODE = 'Backspace';\nexport const ENTER_KEY_CODE = 'Enter';\n\nexport const isHighlighted = () =>\n\t( window.getSelection() || { type: undefined } ).type === 'Range';\n\nexport default {\n\tcardTypes,\n\tformatter,\n\tvalidator,\n\tBACKSPACE_KEY_CODE,\n\tENTER_KEY_CODE,\n\tisHighlighted,\n};\n","import * as cardTypes from './cardTypes';\n\nconst MONTH_REGEX = /(0[1-9]|1[0-2])/;\n\nexport const EMPTY_CARD_NUMBER = 'Enter a card number';\nexport const EMPTY_EXPIRY_DATE = 'Enter an expiry date';\nexport const EMPTY_CVC = 'Enter a CVC';\nexport const EMPTY_ZIP = 'Enter a ZIP code';\nexport const EMPTY_ADDRESS = 'Enter an Address';\n\nexport const INVALID_CARD_NUMBER = 'Card number is invalid';\nexport const INVALID_EXPIRY_DATE = 'Expiry date is invalid';\nexport const INVALID_CVC = 'CVC is invalid';\nexport const INVALID_ZIP = 'Zip is invalid';\n\nexport const MONTH_OUT_OF_RANGE = 'Expiry month must be between 01 and 12';\nexport const YEAR_OUT_OF_RANGE = 'Expiry year cannot be in the past';\nexport const DATE_OUT_OF_RANGE = 'Expiry date cannot be in the past';\n\nexport const hasCardNumberReachedMaxLength = ( currentValue ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( currentValue );\n\treturn (\n\t\tcardType &&\n\t\tcurrentValue.length >= cardType.lengths[ cardType.lengths.length - 1 ]\n\t);\n};\n\nexport const isNumeric = ( e ) => {\n\treturn /^\\d*$/.test( e.key );\n};\n\nexport const validateLuhn = ( cardNumber ) => {\n\treturn (\n\t\tcardNumber\n\t\t\t.split( '' )\n\t\t\t.reverse()\n\t\t\t.map( ( digit ) => parseInt( digit, 10 ) )\n\t\t\t.map( ( digit, idx ) => ( idx % 2 ? digit * 2 : digit ) )\n\t\t\t.map( ( digit ) => ( digit > 9 ? ( digit % 10 ) + 1 : digit ) )\n\t\t\t.reduce( ( accum, digit ) => ( accum += digit ) ) %\n\t\t\t10 ===\n\t\t0\n\t);\n};\nexport const getCardNumberError = (\n\tcardNumber,\n\tcardNumberValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! cardNumber ) {\n\t\treturn errorMessages.emptyCardNumber || EMPTY_CARD_NUMBER;\n\t}\n\n\tconst rawCardNumber = cardNumber.replace( /\\s/g, '' );\n\tconst cardType = cardTypes.getCardTypeByValue( rawCardNumber );\n\tif ( cardType && cardType.lengths ) {\n\t\tconst doesCardNumberMatchLength = cardType.lengths.includes(\n\t\t\trawCardNumber.length\n\t\t);\n\t\tif ( doesCardNumberMatchLength ) {\n\t\t\tconst isLuhnValid = validateLuhn( rawCardNumber );\n\t\t\tif ( isLuhnValid ) {\n\t\t\t\tif ( cardNumberValidator ) {\n\t\t\t\t\treturn cardNumberValidator( {\n\t\t\t\t\t\tcardNumber: rawCardNumber,\n\t\t\t\t\t\tcardType,\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\treturn errorMessages.invalidCardNumber || INVALID_CARD_NUMBER;\n};\nexport const getExpiryDateError = (\n\texpiryDate,\n\texpiryValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! expiryDate ) {\n\t\treturn errorMessages.emptyExpiryDate || EMPTY_EXPIRY_DATE;\n\t}\n\tconst rawExpiryDate = expiryDate.replace( ' / ', '' ).replace( '/', '' );\n\tif ( rawExpiryDate.length === 4 ) {\n\t\tconst month = rawExpiryDate.slice( 0, 2 );\n\t\tconst year = `20${ rawExpiryDate.slice( 2, 4 ) }`;\n\t\tif ( ! MONTH_REGEX.test( month ) ) {\n\t\t\treturn errorMessages.monthOutOfRange || MONTH_OUT_OF_RANGE;\n\t\t}\n\t\tif ( parseInt( year ) < new Date().getFullYear() ) {\n\t\t\treturn errorMessages.yearOutOfRange || YEAR_OUT_OF_RANGE;\n\t\t}\n\t\tif (\n\t\t\tparseInt( year ) === new Date().getFullYear() &&\n\t\t\tparseInt( month ) < new Date().getMonth() + 1\n\t\t) {\n\t\t\treturn errorMessages.dateOutOfRange || DATE_OUT_OF_RANGE;\n\t\t}\n\t\tif ( expiryValidator ) {\n\t\t\treturn expiryValidator( {\n\t\t\t\texpiryDate: { month, year },\n\t\t\t\terrorMessages,\n\t\t\t} );\n\t\t}\n\t\treturn;\n\t}\n\treturn errorMessages.invalidExpiryDate || INVALID_EXPIRY_DATE;\n};\nexport const getCVCError = (\n\tcvc,\n\tcvcValidator,\n\t{ cardType, errorMessages = {} } = {}\n) => {\n\tif ( ! cvc ) {\n\t\treturn errorMessages.emptyCVC || EMPTY_CVC;\n\t}\n\tif ( cvc.length < 3 ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cardType && cvc.length !== cardType.code.length ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cvcValidator ) {\n\t\treturn cvcValidator( { cvc, cardType, errorMessages } );\n\t}\n\treturn;\n};\nexport const getZIPError = ( zip, { errorMessages = {} } = {} ) => {\n\tif ( ! zip ) {\n\t\treturn errorMessages.emptyZIP || EMPTY_ZIP;\n\t}\n\tif ( zip.length <= 3 ) {\n\t\treturn errorMessages.invalidAddress || INVALID_ZIP;\n\t}\n\treturn;\n};\n\nexport const getAddressError = ( address, { errorMessages = {} } = {} ) => {\n\tif ( ! address ) {\n\t\treturn errorMessages.emptyAddress || EMPTY_ADDRESS;\n\t}\n\treturn;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n  (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n  if (maybeIterable === null || typeof maybeIterable !== 'object') {\n    return null;\n  }\n\n  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n  if (typeof maybeIterator === 'function') {\n    return maybeIterator;\n  }\n\n  return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n  {\n    {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      printWarning('error', format, args);\n    }\n  }\n}\n\nfunction printWarning(level, format, args) {\n  // When changing this logic, you might want to also\n  // update consoleWithStackDev.www.js as well.\n  {\n    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n    var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n    if (stack !== '') {\n      format += '%s';\n      args = args.concat([stack]);\n    } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n    var argsWithFormat = args.map(function (item) {\n      return String(item);\n    }); // Careful: RN currently depends on this prefix\n\n    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n    // breaks IE9: https://github.com/facebook/react/issues/13610\n    // eslint-disable-next-line react-internal/no-production-logging\n\n    Function.prototype.apply.call(console[level], console, argsWithFormat);\n  }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n    // types supported by any Flight configuration anywhere since\n    // we don't know which Flight build this will end up being used\n    // with.\n    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n  var displayName = outerType.displayName;\n\n  if (displayName) {\n    return displayName;\n  }\n\n  var functionName = innerType.displayName || innerType.name || '';\n  return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n  return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n  if (type == null) {\n    // Host root, text node or just invalid type.\n    return null;\n  }\n\n  {\n    if (typeof type.tag === 'number') {\n      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n    }\n  }\n\n  if (typeof type === 'function') {\n    return type.displayName || type.name || null;\n  }\n\n  if (typeof type === 'string') {\n    return type;\n  }\n\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return 'Fragment';\n\n    case REACT_PORTAL_TYPE:\n      return 'Portal';\n\n    case REACT_PROFILER_TYPE:\n      return 'Profiler';\n\n    case REACT_STRICT_MODE_TYPE:\n      return 'StrictMode';\n\n    case REACT_SUSPENSE_TYPE:\n      return 'Suspense';\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return 'SuspenseList';\n\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_CONTEXT_TYPE:\n        var context = type;\n        return getContextName(context) + '.Consumer';\n\n      case REACT_PROVIDER_TYPE:\n        var provider = type;\n        return getContextName(provider._context) + '.Provider';\n\n      case REACT_FORWARD_REF_TYPE:\n        return getWrappedName(type, type.render, 'ForwardRef');\n\n      case REACT_MEMO_TYPE:\n        var outerName = type.displayName || null;\n\n        if (outerName !== null) {\n          return outerName;\n        }\n\n        return getComponentNameFromType(type.type) || 'Memo';\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            return getComponentNameFromType(init(payload));\n          } catch (x) {\n            return null;\n          }\n        }\n\n      // eslint-disable-next-line no-fallthrough\n    }\n  }\n\n  return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n  {\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      prevLog = console.log;\n      prevInfo = console.info;\n      prevWarn = console.warn;\n      prevError = console.error;\n      prevGroup = console.group;\n      prevGroupCollapsed = console.groupCollapsed;\n      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n      var props = {\n        configurable: true,\n        enumerable: true,\n        value: disabledLog,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        info: props,\n        log: props,\n        warn: props,\n        error: props,\n        group: props,\n        groupCollapsed: props,\n        groupEnd: props\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    disabledDepth++;\n  }\n}\nfunction reenableLogs() {\n  {\n    disabledDepth--;\n\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      var props = {\n        configurable: true,\n        enumerable: true,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        log: assign({}, props, {\n          value: prevLog\n        }),\n        info: assign({}, props, {\n          value: prevInfo\n        }),\n        warn: assign({}, props, {\n          value: prevWarn\n        }),\n        error: assign({}, props, {\n          value: prevError\n        }),\n        group: assign({}, props, {\n          value: prevGroup\n        }),\n        groupCollapsed: assign({}, props, {\n          value: prevGroupCollapsed\n        }),\n        groupEnd: assign({}, props, {\n          value: prevGroupEnd\n        })\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    if (disabledDepth < 0) {\n      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n    }\n  }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n  {\n    if (prefix === undefined) {\n      // Extract the VM specific prefix used by each line.\n      try {\n        throw Error();\n      } catch (x) {\n        var match = x.stack.trim().match(/\\n( *(at )?)/);\n        prefix = match && match[1] || '';\n      }\n    } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n    return '\\n' + prefix + name;\n  }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n  componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n  // If something asked for a stack inside a fake render, it should get ignored.\n  if ( !fn || reentry) {\n    return '';\n  }\n\n  {\n    var frame = componentFrameCache.get(fn);\n\n    if (frame !== undefined) {\n      return frame;\n    }\n  }\n\n  var control;\n  reentry = true;\n  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n  Error.prepareStackTrace = undefined;\n  var previousDispatcher;\n\n  {\n    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n    // for warnings.\n\n    ReactCurrentDispatcher.current = null;\n    disableLogs();\n  }\n\n  try {\n    // This should throw.\n    if (construct) {\n      // Something should be setting the props in the constructor.\n      var Fake = function () {\n        throw Error();\n      }; // $FlowFixMe\n\n\n      Object.defineProperty(Fake.prototype, 'props', {\n        set: function () {\n          // We use a throwing setter instead of frozen or non-writable props\n          // because that won't throw in a non-strict mode function.\n          throw Error();\n        }\n      });\n\n      if (typeof Reflect === 'object' && Reflect.construct) {\n        // We construct a different control for this case to include any extra\n        // frames added by the construct call.\n        try {\n          Reflect.construct(Fake, []);\n        } catch (x) {\n          control = x;\n        }\n\n        Reflect.construct(fn, [], Fake);\n      } else {\n        try {\n          Fake.call();\n        } catch (x) {\n          control = x;\n        }\n\n        fn.call(Fake.prototype);\n      }\n    } else {\n      try {\n        throw Error();\n      } catch (x) {\n        control = x;\n      }\n\n      fn();\n    }\n  } catch (sample) {\n    // This is inlined manually because closure doesn't do it for us.\n    if (sample && control && typeof sample.stack === 'string') {\n      // This extracts the first frame from the sample that isn't also in the control.\n      // Skipping one frame that we assume is the frame that calls the two.\n      var sampleLines = sample.stack.split('\\n');\n      var controlLines = control.stack.split('\\n');\n      var s = sampleLines.length - 1;\n      var c = controlLines.length - 1;\n\n      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n        // We expect at least one stack frame to be shared.\n        // Typically this will be the root most one. However, stack frames may be\n        // cut off due to maximum stack limits. In this case, one maybe cut off\n        // earlier than the other. We assume that the sample is longer or the same\n        // and there for cut off earlier. So we should find the root most frame in\n        // the sample somewhere in the control.\n        c--;\n      }\n\n      for (; s >= 1 && c >= 0; s--, c--) {\n        // Next we find the first one that isn't the same which should be the\n        // frame that called our sample function and the control.\n        if (sampleLines[s] !== controlLines[c]) {\n          // In V8, the first line is describing the message but other VMs don't.\n          // If we're about to return the first line, and the control is also on the same\n          // line, that's a pretty good indicator that our sample threw at same line as\n          // the control. I.e. before we entered the sample frame. So we ignore this result.\n          // This can happen if you passed a class to function component, or non-function.\n          if (s !== 1 || c !== 1) {\n            do {\n              s--;\n              c--; // We may still have similar intermediate frames from the construct call.\n              // The next one that isn't the same should be our match though.\n\n              if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n                // but we have a user-provided \"displayName\"\n                // splice it in to make the stack more readable.\n\n\n                if (fn.displayName && _frame.includes('<anonymous>')) {\n                  _frame = _frame.replace('<anonymous>', fn.displayName);\n                }\n\n                {\n                  if (typeof fn === 'function') {\n                    componentFrameCache.set(fn, _frame);\n                  }\n                } // Return the line we found.\n\n\n                return _frame;\n              }\n            } while (s >= 1 && c >= 0);\n          }\n\n          break;\n        }\n      }\n    }\n  } finally {\n    reentry = false;\n\n    {\n      ReactCurrentDispatcher.current = previousDispatcher;\n      reenableLogs();\n    }\n\n    Error.prepareStackTrace = previousPrepareStackTrace;\n  } // Fallback to just using the name if we couldn't make it throw.\n\n\n  var name = fn ? fn.displayName || fn.name : '';\n  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n  {\n    if (typeof fn === 'function') {\n      componentFrameCache.set(fn, syntheticFrame);\n    }\n  }\n\n  return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n  {\n    return describeNativeComponentFrame(fn, false);\n  }\n}\n\nfunction shouldConstruct(Component) {\n  var prototype = Component.prototype;\n  return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n  if (type == null) {\n    return '';\n  }\n\n  if (typeof type === 'function') {\n    {\n      return describeNativeComponentFrame(type, shouldConstruct(type));\n    }\n  }\n\n  if (typeof type === 'string') {\n    return describeBuiltInComponentFrame(type);\n  }\n\n  switch (type) {\n    case REACT_SUSPENSE_TYPE:\n      return describeBuiltInComponentFrame('Suspense');\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return describeBuiltInComponentFrame('SuspenseList');\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_FORWARD_REF_TYPE:\n        return describeFunctionComponentFrame(type.render);\n\n      case REACT_MEMO_TYPE:\n        // Memo may contain any component type so we recursively resolve it.\n        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            // Lazy may contain any component type so we recursively resolve it.\n            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n          } catch (x) {}\n        }\n    }\n  }\n\n  return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame.setExtraStackFrame(null);\n    }\n  }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n  {\n    // $FlowFixMe This is okay but Flow doesn't know it.\n    var has = Function.call.bind(hasOwnProperty);\n\n    for (var typeSpecName in typeSpecs) {\n      if (has(typeSpecs, typeSpecName)) {\n        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            // eslint-disable-next-line react-internal/prod-error-codes\n            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n\n          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n        } catch (ex) {\n          error$1 = ex;\n        }\n\n        if (error$1 && !(error$1 instanceof Error)) {\n          setCurrentlyValidatingElement(element);\n\n          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n          setCurrentlyValidatingElement(null);\n        }\n\n        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error$1.message] = true;\n          setCurrentlyValidatingElement(element);\n\n          error('Failed %s type: %s', location, error$1.message);\n\n          setCurrentlyValidatingElement(null);\n        }\n      }\n    }\n  }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n  return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n  {\n    // toStringTag is needed for namespaced types like Temporal.Instant\n    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n    return type;\n  }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n  {\n    try {\n      testStringCoercion(value);\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n}\n\nfunction testStringCoercion(value) {\n  // If you ended up here by following an exception call stack, here's what's\n  // happened: you supplied an object or symbol value to React (as a prop, key,\n  // DOM attribute, CSS property, string ref, etc.) and when React tried to\n  // coerce it to a string using `'' + value`, an exception was thrown.\n  //\n  // The most common types that will cause this exception are `Symbol` instances\n  // and Temporal objects like `Temporal.Instant`. But any object that has a\n  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n  // exception. (Library authors do this to prevent users from using built-in\n  // numeric operators like `+` or comparison operators like `>=` because custom\n  // methods are needed to perform accurate arithmetic or comparison.)\n  //\n  // To fix the problem, coerce this object or symbol value to a string before\n  // passing it to React. The most reliable way is usually `String(value)`.\n  //\n  // To find which value is throwing, check the browser or debugger console.\n  // Before this exception was thrown, there should be `console.error` output\n  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n  // problem and how that type was used: key, atrribute, input value prop, etc.\n  // In most cases, this console output also shows the component and its\n  // ancestor components where the exception happened.\n  //\n  // eslint-disable-next-line react-internal/safe-string-coercion\n  return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n  {\n    if (willCoercionThrow(value)) {\n      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n    }\n  }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n  key: true,\n  ref: true,\n  __self: true,\n  __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n  didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n  {\n    if (hasOwnProperty.call(config, 'ref')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n  {\n    if (hasOwnProperty.call(config, 'key')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n  {\n    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n      if (!didWarnAboutStringRefs[componentName]) {\n        error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n        didWarnAboutStringRefs[componentName] = true;\n      }\n    }\n  }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingKey = function () {\n      if (!specialPropKeyWarningShown) {\n        specialPropKeyWarningShown = true;\n\n        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, 'key', {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingRef = function () {\n      if (!specialPropRefWarningShown) {\n        specialPropRefWarningShown = true;\n\n        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, 'ref', {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n  var element = {\n    // This tag allows us to uniquely identify this as a React Element\n    $$typeof: REACT_ELEMENT_TYPE,\n    // Built-in properties that belong on the element\n    type: type,\n    key: key,\n    ref: ref,\n    props: props,\n    // Record the component responsible for creating this element.\n    _owner: owner\n  };\n\n  {\n    // The validation flag is currently mutative. We put it on\n    // an external backing store so that we can freeze the whole object.\n    // This can be replaced with a WeakMap once they are implemented in\n    // commonly used development environments.\n    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n    // the validation flag non-enumerable (where possible, which should\n    // include every environment we run tests in), so the test framework\n    // ignores it.\n\n    Object.defineProperty(element._store, 'validated', {\n      configurable: false,\n      enumerable: false,\n      writable: true,\n      value: false\n    }); // self and source are DEV only properties.\n\n    Object.defineProperty(element, '_self', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: self\n    }); // Two elements created in two different places should be considered\n    // equal for testing purposes and therefore we hide it from enumeration.\n\n    Object.defineProperty(element, '_source', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: source\n    });\n\n    if (Object.freeze) {\n      Object.freeze(element.props);\n      Object.freeze(element);\n    }\n  }\n\n  return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n  {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n    // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n    // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n    // but as an intermediary step, we will use jsxDEV for everything except\n    // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n    // key is explicitly declared to be undefined or not.\n\n    if (maybeKey !== undefined) {\n      {\n        checkKeyStringCoercion(maybeKey);\n      }\n\n      key = '' + maybeKey;\n    }\n\n    if (hasValidKey(config)) {\n      {\n        checkKeyStringCoercion(config.key);\n      }\n\n      key = '' + config.key;\n    }\n\n    if (hasValidRef(config)) {\n      ref = config.ref;\n      warnIfStringRefCannotBeAutoConverted(config, self);\n    } // Remaining properties are added to a new props object\n\n\n    for (propName in config) {\n      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n        props[propName] = config[propName];\n      }\n    } // Resolve default props\n\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n\n    if (key || ref) {\n      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n      if (key) {\n        defineKeyPropWarningGetter(props, displayName);\n      }\n\n      if (ref) {\n        defineRefPropWarningGetter(props, displayName);\n      }\n    }\n\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n    }\n  }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n  propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n  {\n    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n}\n\nfunction getDeclarationErrorAddendum() {\n  {\n    if (ReactCurrentOwner$1.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n      if (name) {\n        return '\\n\\nCheck the render method of `' + name + '`.';\n      }\n    }\n\n    return '';\n  }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n  {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n      var lineNumber = source.lineNumber;\n      return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n    }\n\n    return '';\n  }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n  {\n    var info = getDeclarationErrorAddendum();\n\n    if (!info) {\n      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n\n    return info;\n  }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n  {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = '';\n\n    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n\n    setCurrentlyValidatingElement$1(element);\n\n    error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n    setCurrentlyValidatingElement$1(null);\n  }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n  {\n    if (typeof node !== 'object') {\n      return;\n    }\n\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n\n      if (typeof iteratorFn === 'function') {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n  {\n    var type = element.type;\n\n    if (type === null || type === undefined || typeof type === 'string') {\n      return;\n    }\n\n    var propTypes;\n\n    if (typeof type === 'function') {\n      propTypes = type.propTypes;\n    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n    // Inner props are checked in the reconciler.\n    type.$$typeof === REACT_MEMO_TYPE)) {\n      propTypes = type.propTypes;\n    } else {\n      return;\n    }\n\n    if (propTypes) {\n      // Intentionally inside to avoid triggering lazy initializers:\n      var name = getComponentNameFromType(type);\n      checkPropTypes(propTypes, element.props, 'prop', name, element);\n    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n      var _name = getComponentNameFromType(type);\n\n      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n    }\n\n    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n    }\n  }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n  {\n    var keys = Object.keys(fragment.props);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n\n      if (key !== 'children' && key !== 'key') {\n        setCurrentlyValidatingElement$1(fragment);\n\n        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n        setCurrentlyValidatingElement$1(null);\n        break;\n      }\n    }\n\n    if (fragment.ref !== null) {\n      setCurrentlyValidatingElement$1(fragment);\n\n      error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n  {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = '';\n\n      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n        info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n\n      var sourceInfo = getSourceInfoErrorAddendum(source);\n\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n\n      var typeString;\n\n      if (type === null) {\n        typeString = 'null';\n      } else if (isArray(type)) {\n        typeString = 'array';\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n        info = ' Did you accidentally export a JSX literal instead of a component?';\n      } else {\n        typeString = typeof type;\n      }\n\n      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n    }\n\n    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n\n    if (validType) {\n      var children = props.children;\n\n      if (children !== undefined) {\n        if (isStaticChildren) {\n          if (isArray(children)) {\n            for (var i = 0; i < children.length; i++) {\n              validateChildKeys(children[i], type);\n            }\n\n            if (Object.freeze) {\n              Object.freeze(children);\n            }\n          } else {\n            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n          }\n        } else {\n          validateChildKeys(children, type);\n        }\n      }\n    }\n\n    {\n      if (hasOwnProperty.call(props, 'key')) {\n        var componentName = getComponentNameFromType(type);\n        var keys = Object.keys(props).filter(function (k) {\n          return k !== 'key';\n        });\n        var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n        if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n          var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n          error('A props object containing a \"key\" prop is being spread into JSX:\\n' + '  let props = %s;\\n' + '  <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + '  let props = %s;\\n' + '  <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n          didWarnAboutKeySpread[componentName + beforeExample] = true;\n        }\n      }\n    }\n\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n\n    return element;\n  }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, true);\n  }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, false);\n  }\n}\n\nvar jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs =  jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n  })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n  var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n  if (ret !== void 0) {\n    return !!ret;\n  }\n\n  if (objA === objB) {\n    return true;\n  }\n\n  if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n    return false;\n  }\n\n  var keysA = Object.keys(objA);\n  var keysB = Object.keys(objB);\n\n  if (keysA.length !== keysB.length) {\n    return false;\n  }\n\n  var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n  // Test for A's keys different from B.\n  for (var idx = 0; idx < keysA.length; idx++) {\n    var key = keysA[idx];\n\n    if (!bHasOwnProperty(key)) {\n      return false;\n    }\n\n    var valueA = objA[key];\n    var valueB = objB[key];\n\n    ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n    if (ret === false || (ret === void 0 && valueA !== valueB)) {\n      return false;\n    }\n  }\n\n  return true;\n};\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.13\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,e([t],n,!1))},r(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"use\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"tspan\"]),O=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}function se(e){return\"object\"==typeof e&&\"styledComponentId\"in e}function ie(e,t){return e&&t?\"\".concat(e,\" \").concat(t):e||t||\"\"}function ae(e,t){if(0===e.length)return\"\";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,\"toString\",{value:t})}var pe=\"production\"!==process.env.NODE_ENV?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`\"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return\"production\"===process.env.NODE_ENV?new Error(\"An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#\".concat(t,\" for more information.\").concat(n.length>0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=\"\".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if(\"production\"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,\"\".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),Ee=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ne=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement(\"style\"),r=function(e){var t=Array.from(e.querySelectorAll(\"style[\".concat(f,\"]\")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute(\"nonce\",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:\"\"},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:\"\"},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=t(t({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o=\"\",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return\"continue\";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return\"continue\";var a=\"\".concat(f,\".g\").concat(n,'[id=\"').concat(r,'\"]'),c=\"\";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(t(t({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\\s*\\/\\/.*$/gm;function Ve(e,t){return e.map(function(e){return\"rule\"===e.type&&(e.value=\"\".concat(t,\" \").concat(e.value),e.value=e.value.replaceAll(\",\",\",\".concat(t,\" \")),e.props=e.props.map(function(e){return\"\".concat(t,\" \").concat(e)})),Array.isArray(e.children)&&\"@keyframes\"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,\"\").length>0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(xe,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=o.createContext(void 0);function Ge(){return c($e)}function Ye(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement($e.Provider,{value:d},o.createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>=\"A\"&&e<=\"Z\"};function He(e){for(var t=\"\",n=0;n<e.length;n++){var o=e[n];if(1===n&&\"-\"===o&&\"-\"===e[0])return e;qe(o)?t+=\"-\"+o.toLowerCase():t+=o}return t.startsWith(\"ms-\")?\"-\"+t:t}var Ue=function(e){return null==e||!1===e||\"\"===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push(\"\".concat(He(s),\":\"),i,\";\"):ce(i)?r.push.apply(r,e(e([\"\".concat(s,\" {\")],Je(i),!1),[\"}\"],!1)):r.push(\"\".concat(He(s),\": \").concat((n=s,null==(o=i)||\"boolean\"==typeof o||\"\"===o?\"\":\"number\"!=typeof o||0===o||n in h||n.startsWith(\"--\")?String(o).trim():\"\".concat(o,\"px\")),\";\")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[\".\".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return\"production\"===process.env.NODE_ENV||\"object\"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error(\"\".concat(B(e),\" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId=\"\",this.isStatic=\"production\"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l<this.rules.length;l++){var u=this.rules[l];if(\"string\"==typeof u)c+=u,\"production\"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=o.createContext(void 0),tt=et.Consumer;function nt(){var e=c(et);if(!e)throw he(18);return e}function ot(e){var n=o.useContext(et),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);rt[n]=(rt[n]||0)+1;var o=\"\".concat(n,\"-\").concat($(v+n+rt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]=\"className\"===c?ie(s[c],a[c]):\"style\"===c?t(t({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||\"$\"===b[0]||\"as\"===b||\"theme\"===b&&g.theme===v||(\"forwardedAs\"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||\"development\"!==process.env.NODE_ENV||n(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop \"'.concat(b,'\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}),\"production\"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n  const Component = styled.div.attrs(props => ({\\n    style: {\\n      background: props.background,\\n    },\\n  }))`width: 100%;`\\n\\n  <Component />\"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,e([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&\"string\"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,e([t],s,!1)))};return s.attrs=function(e){return ut(n,o,t(t({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,t(t({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),\"\"),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,e([n],r,!1)),a=\"sc-global-\".concat($(JSON.stringify(i))),c=new ht(i,a);\"production\"!==process.env.NODE_ENV&&P(a);var l=function(e){var t=Ge(),n=o.useContext(et),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return\"production\"!==process.env.NODE_ENV&&o.Children.count(e.children)&&console.warn(\"The global style component \".concat(a,\" was given child JSX. createGlobalStyle does not render children.\")),\"production\"!==process.env.NODE_ENV&&i.some(function(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@import\")})&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");var r=ae(lt.apply(void 0,e([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=o.forwardRef(function(n,r){var s=I(n,o.useContext(et),e.defaultProps);return\"production\"!==process.env.NODE_ENV&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"'.concat(B(e),'\"')),o.createElement(e,t({},n,{theme:s,ref:r}))});return n.displayName=\"WithTheme(\".concat(B(e),\")\"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=Ce(),o=ae([n&&'nonce=\"'.concat(n,'\"'),\"\".concat(f,'=\"true\"'),\"\".concat(y,'=\"').concat(v,'\"')].filter(Boolean),\" \");return\"<style \".concat(o,\">\").concat(t,\"</style>\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[o.createElement(\"style\",t({},s,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var St=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[St]+=1);export{vt as ServerStyleSheet,Be as StyleSheetConsumer,$e as StyleSheetContext,Ye as StyleSheetManager,tt as ThemeConsumer,et as ThemeContext,ot as ThemeProvider,gt as __PRIVATE__,ft as createGlobalStyle,lt as css,dt as default,se as isStyledComponent,mt as keyframes,dt as styled,nt as useTheme,v as version,yt as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","module.exports = window[\"React\"];","module.exports = window[\"wc\"][\"blocksCheckout\"];","module.exports = window[\"wc\"][\"wcBlocksData\"];","module.exports = window[\"wc\"][\"wcBlocksRegistry\"];","module.exports = window[\"wc\"][\"wcSettings\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"htmlEntities\"];","module.exports = window[\"wp\"][\"i18n\"];","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf ||\n      ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n      function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n  return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n      throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() { this.constructor = d; }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n  __assign = Object.assign || function __assign(t) {\n      for (var s, i = 1, n = arguments.length; i < n; i++) {\n          s = arguments[i];\n          for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n      }\n      return t;\n  }\n  return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n      for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n          if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n              t[p[i]] = s[p[i]];\n      }\n  return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n  return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n  function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n  var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n  var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n  var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n  var _, done = false;\n  for (var i = decorators.length - 1; i >= 0; i--) {\n      var context = {};\n      for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n      for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n      context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n      var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n      if (kind === \"accessor\") {\n          if (result === void 0) continue;\n          if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n          if (_ = accept(result.get)) descriptor.get = _;\n          if (_ = accept(result.set)) descriptor.set = _;\n          if (_ = accept(result.init)) initializers.unshift(_);\n      }\n      else if (_ = accept(result)) {\n          if (kind === \"field\") initializers.unshift(_);\n          else descriptor[key] = _;\n      }\n  }\n  if (target) Object.defineProperty(target, contextIn.name, descriptor);\n  done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n  var useValue = arguments.length > 2;\n  for (var i = 0; i < initializers.length; i++) {\n      value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n  }\n  return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n  return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n  if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n  return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n  if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n  return new (P || (P = Promise))(function (resolve, reject) {\n      function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n      function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n      function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\n\nexport function __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n  return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n  function verb(n) { return function (v) { return step([n, v]); }; }\n  function step(op) {\n      if (f) throw new TypeError(\"Generator is already executing.\");\n      while (g && (g = 0, op[0] && (_ = 0)), _) try {\n          if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n          if (y = 0, t) op = [op[0] & 2, t.value];\n          switch (op[0]) {\n              case 0: case 1: t = op; break;\n              case 4: _.label++; return { value: op[1], done: false };\n              case 5: _.label++; y = op[1]; op = [0]; continue;\n              case 7: op = _.ops.pop(); _.trys.pop(); continue;\n              default:\n                  if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                  if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                  if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                  if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                  if (t[2]) _.ops.pop();\n                  _.trys.pop(); continue;\n          }\n          op = body.call(thisArg, _);\n      } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n      if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  var desc = Object.getOwnPropertyDescriptor(m, k);\n  if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n  }\n  Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n  for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m) return m.call(o);\n  if (o && typeof o.length === \"number\") return {\n      next: function () {\n          if (o && i >= o.length) o = void 0;\n          return { value: o && o[i++], done: !o };\n      }\n  };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m) return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n      while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n  }\n  catch (error) { e = { error: error }; }\n  finally {\n      try {\n          if (r && !r.done && (m = i[\"return\"])) m.call(i);\n      }\n      finally { if (e) throw e.error; }\n  }\n  return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n  for (var ar = [], i = 0; i < arguments.length; i++)\n      ar = ar.concat(__read(arguments[i]));\n  return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n  for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n  for (var r = Array(s), k = 0, i = 0; i < il; i++)\n      for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n          r[k] = a[j];\n  return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n          if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n          ar[i] = from[i];\n      }\n  }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n  return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var g = generator.apply(thisArg, _arguments || []), i, q = [];\n  return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n  function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n  function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n  function fulfill(value) { resume(\"next\", value); }\n  function reject(value) { resume(\"throw\", value); }\n  function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n  var i, p;\n  return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n  function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var m = o[Symbol.asyncIterator], i;\n  return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n  function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n  function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n  if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n  return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n  Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n  o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n  if (mod && mod.__esModule) return mod;\n  var result = {};\n  if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n  __setModuleDefault(result, mod);\n  return result;\n}\n\nexport function __importDefault(mod) {\n  return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n  return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n  if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n  return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n  if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n  return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n  if (value !== null && value !== void 0) {\n    if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n    var dispose;\n    if (async) {\n        if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n        dispose = value[Symbol.asyncDispose];\n    }\n    if (dispose === void 0) {\n        if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n        dispose = value[Symbol.dispose];\n    }\n    if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n    env.stack.push({ value: value, dispose: dispose, async: async });\n  }\n  else if (async) {\n    env.stack.push({ async: true });\n  }\n  return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n  function fail(e) {\n    env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n    env.hasError = true;\n  }\n  function next() {\n    while (env.stack.length) {\n      var rec = env.stack.pop();\n      try {\n        var result = rec.dispose && rec.dispose.call(rec.value);\n        if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n      }\n      catch (e) {\n          fail(e);\n      }\n    }\n    if (env.hasError) throw env.error;\n  }\n  return next();\n}\n\nexport default {\n  __extends,\n  __assign,\n  __rest,\n  __decorate,\n  __param,\n  __metadata,\n  __awaiter,\n  __generator,\n  __createBinding,\n  __exportStar,\n  __values,\n  __read,\n  __spread,\n  __spreadArrays,\n  __spreadArray,\n  __await,\n  __asyncGenerator,\n  __asyncDelegator,\n  __asyncValues,\n  __makeTemplateObject,\n  __importStar,\n  __importDefault,\n  __classPrivateFieldGet,\n  __classPrivateFieldSet,\n  __classPrivateFieldIn,\n  __addDisposableResource,\n  __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","import { useEffect, useState } from 'react';\nimport { sprintf, __ } from '@wordpress/i18n';\nimport { registerPaymentMethod } from '@woocommerce/blocks-registry';\nimport { decodeEntities } from '@wordpress/html-entities';\nimport { getSetting } from '@woocommerce/settings';\nimport { usePaymentInputs } from './hooks';\nimport { PaymentInputsWrapper, TermsCheckbox } from './components';\nimport images from './images';\nimport { PAYMENT_STORE_KEY } from '@woocommerce/block-data';\nimport { subscribe, select, dispatch } from '@wordpress/data';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nconst settings = getSetting( 'wc_valorpay_data', {} );\nif ( settings && ! settings.is_not_blocked ) {\n\tdispatch( 'core/notices' ).createErrorNotice(\n\t\t__(\n\t\t\t'Valor Pay is disabled due to multiple payment failures.',\n\t\t\t'wc-valorpay'\n\t\t),\n\t\t{\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t}\n\t);\n}\nif ( settings && settings.card_type_allowed ) {\n\tlet noticeMsg = null;\n\tif ( 'debit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only debit card allowed', 'wc-valorpay' );\n\t}\n\tif ( 'credit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only credit card allowed', 'wc-valorpay' );\n\t}\n\tif ( noticeMsg ) {\n\t\tdispatch( 'core/notices' ).createInfoNotice( noticeMsg, {\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t} );\n\t}\n}\nsubscribe( function () {\n\tconst paymentMethodState = select( PAYMENT_STORE_KEY );\n\tconst chosenPaymentMethod = paymentMethodState.getActivePaymentMethod();\n\tconst savedPaymentMethods = paymentMethodState.getSavedPaymentMethods();\n\tconst selectedPaymentTokenId = +paymentMethodState.getActiveSavedToken();\n\tlet selectedCardType = '';\n\tif ( selectedPaymentTokenId ) {\n\t\tconst foundMethod = savedPaymentMethods.cc.find(\n\t\t\t( method ) =>\n\t\t\t\tmethod.tokenId === selectedPaymentTokenId &&\n\t\t\t\tmethod.method.gateway === 'wc_valorpay'\n\t\t);\n\t\tif ( foundMethod ) {\n\t\t\tselectedCardType = foundMethod.method.card_type;\n\t\t}\n\t}\n\n\textensionCartUpdate( {\n\t\tnamespace: 'wc-valorpay-fee-update',\n\t\tdata: {\n\t\t\taction_type: 'update_payment',\n\t\t\tpayment_method: chosenPaymentMethod,\n\t\t\tcard_type: selectedCardType,\n\t\t},\n\t} );\n}, PAYMENT_STORE_KEY );\n\nconst defaultLabel = __( 'Valor Pay', 'wc-valorpay' );\n\nconst label = decodeEntities( settings.title ) || defaultLabel;\n/**\n * Content component\n */\nconst Content = ( props ) => {\n\tconst [ isFetchingCardType, setIsFetchingCardType ] = useState( false );\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [ 'cardNumber', 'expiryDate', 'cvc' ];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetCardImageProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: {\n\t\t\terroredInputs,\n\t\t\tisTouched,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tsetIsFetchingCardType,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst {\n\t\tcomponents: { LoadingMask },\n\t\teventRegistration,\n\t\temitResponse,\n\t\tpaymentStatus,\n\t} = props;\n\tconst [ isTermsChecked, setTermsChecked ] = useState( true );\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc_valorpay-card-number': cardNumberField.current.value,\n\t\t\t\t\t'wc_valorpay-card-expiry': expiryDateField.current.value,\n\t\t\t\t\t'wc_valorpay-card-cvc': cvcField.current.value,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\tonCheckoutAfterProcessingWithError,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.is_sandbox_mode && (\n\t\t\t\t<p>\n\t\t\t\t\t{ __(\n\t\t\t\t\t\t'TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date.',\n\t\t\t\t\t\t'wc-valorpay'\n\t\t\t\t\t) }\n\t\t\t\t</p>\n\t\t\t) }\n\t\t\t<LoadingMask\n\t\t\t\tshowSpinner={ isFetchingCardType }\n\t\t\t\tisLoading={ isFetchingCardType }\n\t\t\t\tscreenReaderLabel={ __(\n\t\t\t\t\t'Fetching Card Type...',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t) }\n\t\t\t>\n\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t>\n\t\t\t\t\t<svg { ...getCardImageProps( { images } ) } />\n\t\t\t\t\t<input { ...getCardNumberProps() } />\n\t\t\t\t\t<input { ...getExpiryDateProps() } />\n\t\t\t\t\t<input { ...getCVCProps() } />\n\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t) }\n\t\t\t\t</PaymentInputsWrapper>\n\t\t\t</LoadingMask>\n\t\t\t<TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-new-card\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ setTermsChecked }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>\n\t\t</>\n\t);\n};\n\nconst SavedToken = ( props ) => {\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: { erroredInputs, zipField, addressField },\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst { eventRegistration, emitResponse, paymentStatus, token } = props;\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst [ isTermsChecked, setTermsChecked ] = useState( true );\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc-wc_valorpay-payment-token': token,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\ttoken,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.avs_type !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t</PaymentInputsWrapper>\n\t\t\t\t</>\n\t\t\t) }\n\t\t\t<TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-saved-token\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ setTermsChecked }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>\n\t\t</>\n\t);\n};\n\n/**\n * Label component\n *\n * @param {*} props Props from payment API.\n */\nconst Label = ( props ) => {\n\tconst { PaymentMethodLabel, PaymentMethodIcons } = props.components;\n\treturn (\n\t\t<>\n\t\t\t<PaymentMethodLabel text={ label } />\n\t\t\t<PaymentMethodIcons icons={ settings.card_types } align=\"right\" />\n\t\t</>\n\t);\n};\n\n/**\n * ValorPay payment method config object.\n */\nconst ValorPay = {\n\tname: 'wc_valorpay',\n\tlabel: <Label />,\n\tgatewayId: 'wc_valorpay',\n\tcontent: <Content />,\n\tedit: <Content />,\n\tcanMakePayment: () => settings.is_not_blocked,\n\tsavedTokenComponent: <SavedToken />,\n\tariaLabel: label,\n\tsupports: {\n\t\tfeatures: settings.supports,\n\t\tshowSaveOption: true,\n\t},\n};\n\nregisterPaymentMethod( ValorPay );\n"],"names":["usePaymentInputs","PaymentInputsContainer","props","paymentInputs","children","React","styled","css","jsx","_jsx","jsxs","_jsxs","FieldWrapper","div","withConfig","shouldForwardProp","prop","includes","hasErrored","styles","fieldWrapper","errored","undefined","base","InputWrapper","inputWrapper","focused","input","cardImage","ErrorText","errorText","PaymentInputsWrapper","error","errorTextProps","inputWrapperProps","isTouched","isInitPay","restProps","TermsCheckbox","id","label","checked","onChange","className","htmlFor","type","xmlns","viewBox","d","class","default","utils","extensionCartUpdate","autoFocus","errorMessages","onBlur","onError","onTouch","cardNumberValidator","cvcValidator","expiryValidator","avsType","setIsFetchingCardType","paymentFields","cardNumberField","useRef","expiryDateField","cvcField","zipField","addressField","touchedInputs","setTouchedInputs","useState","reduce","acc","field","setIsTouched","erroredInputs","setErroredInputs","setError","cardType","setCardType","setFocused","setInputError","useCallback","newError","newErroredInputs","Object","values","find","Boolean","setInputTouched","value","requestAnimationFrame","document","activeElement","tagName","newTouchedInputs","handleBlurCardNumber","e","handleChangeCardNumber","formattedCardNumber","target","cardNumber","replace","cursorPosition","current","selectionStart","cardTypes","getCardTypeByValue","formatter","formatCardNumber","setSelectionRange","cardNumberError","validator","getCardNumberError","focus","namespace","data","action_type","bin","slice","then","handleFocusCardNumber","onFocus","handleKeyPressCardNumber","onKeyPress","key","ENTER_KEY_CODE","isNumeric","preventDefault","hasCardNumberReachedMaxLength","getCardNumberProps","refKey","autoComplete","name","placeholder","handleBlurExpiryDate","handleChangeExpiryDate","formatExpiry","expiryDateError","getExpiryDateError","handleFocusExpiryDate","handleKeyDownExpiryDate","onKeyDown","BACKSPACE_KEY_CODE","handleKeyPressExpiryDate","formattedExpiryDate","expiryDate","length","getExpiryDateProps","handleBlurCVC","handleChangeCVC","cvc","cvcError","getCVCError","handleFocusCVC","handleKeyDownCVC","handleKeyPressCVC","formattedCVC","code","getCVCProps","handleBlurZIP","handleChangeZIP","zip","zipError","getZIPError","handleFocusZIP","handleKeyDownZIP","handleKeyPressZIP","getZIPProps","maxLength","handleBlurAddress","handleChangeAddress","streetaddress","addressError","getAddressError","handleFocusAddress","handleKeyDownAddress","getStreetAddressProps","getCardImageProps","images","displayName","width","height","useLayoutEffect","wrapperProps","meta","fill","fillRule","rx","stroke","strokeWidth","transform","strokeOpacity","x","y","amex","dinersclub","discover","hipercard","jcb","unionpay","mastercard","visa","troy","cx","cy","r","DEFAULT_CVC_LENGTH","DEFAULT_ZIP_LENGTH","DEFAULT_CARD_FORMAT","CARD_TYPES","format","startPattern","gaps","lengths","filter","test","getCardTypeByType","match","join","global","execResult","exec","split","splice","event","eventData","nativeEvent","prevExpiry","expiry","head","tail","month","year","isHighlighted","window","getSelection","MONTH_REGEX","EMPTY_CARD_NUMBER","EMPTY_EXPIRY_DATE","EMPTY_CVC","EMPTY_ZIP","EMPTY_ADDRESS","INVALID_CARD_NUMBER","INVALID_EXPIRY_DATE","INVALID_CVC","INVALID_ZIP","MONTH_OUT_OF_RANGE","YEAR_OUT_OF_RANGE","DATE_OUT_OF_RANGE","currentValue","validateLuhn","reverse","map","digit","parseInt","idx","accum","emptyCardNumber","rawCardNumber","doesCardNumberMatchLength","isLuhnValid","invalidCardNumber","emptyExpiryDate","rawExpiryDate","monthOutOfRange","Date","getFullYear","yearOutOfRange","getMonth","dateOutOfRange","invalidExpiryDate","emptyCVC","invalidCVC","emptyZIP","invalidAddress","address","emptyAddress","useEffect","sprintf","__","registerPaymentMethod","decodeEntities","getSetting","PAYMENT_STORE_KEY","subscribe","select","dispatch","Fragment","_Fragment","settings","is_not_blocked","createErrorNotice","context","card_type_allowed","noticeMsg","createInfoNotice","paymentMethodState","chosenPaymentMethod","getActivePaymentMethod","savedPaymentMethods","getSavedPaymentMethods","selectedPaymentTokenId","getActiveSavedToken","selectedCardType","foundMethod","cc","method","tokenId","gateway","card_type","payment_method","defaultLabel","title","Content","isFetchingCardType","setIsInitPay","avs_type","push","components","LoadingMask","eventRegistration","emitResponse","paymentStatus","isTermsChecked","setTermsChecked","onPaymentSetup","onCheckoutAfterProcessingWithError","unsubscribe","isValid","errorInput","paymentMethodData","valorpay_avs_type","valorpay_terms","valorpay_avs_zip","valorpay_avs_street","responseTypes","SUCCESS","ERROR","message","unsubscribeErrorMsg","processingResponse","paymentDetails","errorMessage","messageContext","noticeContexts","PAYMENTS","is_sandbox_mode","showSpinner","isLoading","screenReaderLabel","dangerouslySetInnerHTML","__html","terms_label","SavedToken","token","Label","PaymentMethodLabel","PaymentMethodIcons","text","icons","card_types","align","ValorPay","gatewayId","content","edit","canMakePayment","savedTokenComponent","ariaLabel","supports","features","showSaveOption"],"sourceRoot":""}
     1{"version":3,"file":"wc-valorpay.js","mappings":";;;;;;;;;;;;;;;AAAuC;;AAEvC,igIAAigI;;AAEjgI,iCAAiC,4DAAO;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkC;;;;;;;;;;;;;;;;ACdlC;AACA;AACA;AACA;AACA;AACA;AACA;;AAE8B;;;;;;;;;;;;;;;;ACR9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEmC;;;;;;;;;;;;;;;;;AClDS;AAE7B,SAASC,sBAAsBA,CAAEC,KAAK,EAAG;EACvD,MAAMC,aAAa,GAAGH,wDAAgB,CAAEE,KAAM,CAAC;EAC/C,OAAOA,KAAK,CAACE,QAAQ,CAAED,aAAc,CAAC;AACvC;;;;;;;;;;;;;;;;;;;ACL0B;AACsB;;AAEhD;AAAA;AACA,MAAMS,YAAY,GAAGN,yDAAM,CAACO,GAAG,CAACC,UAAU,CAAE;EAC3CC,iBAAiB,EAAIC,IAAI,IACxB,CAAE,CAAE,YAAY,EAAE,QAAQ,CAAE,CAACC,QAAQ,CAAED,IAAK;AAC9C,CAAE,CAAC;AACH;AACA;AACA;AACA;AACA,IAAOd,KAAK,IACTA,KAAK,CAACgB,UAAU,IAAIhB,KAAK,CAACiB,MAAM,CAACC,YAAY,GAC1ClB,KAAK,CAACiB,MAAM,CAACC,YAAY,CAACC,OAAO,GACjCC,SAAS;AACf;AACA;AACA,GAAMpB,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACC,YAAY,GACtBlB,KAAK,CAACiB,MAAM,CAACC,YAAY,CAACG,IAAI,GAC9BD,SAAS;AACd,CAAC;AAED,MAAME,YAAY,GAAGlB,yDAAM,CAACO,GAAG,CAACC,UAAU,CAAE;EAC3CC,iBAAiB,EAAIC,IAAI,IACxB,CAAE,CAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,CAAE,CAACC,QAAQ,CAAED,IAAK;AACzD,CAAE,CAAC;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAOd,KAAK,IACTA,KAAK,CAACgB,UAAU,IAChBX,sDAAG;AACN;AACA;AACA,MAASL,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACM,YAAY,IACzBvB,KAAK,CAACiB,MAAM,CAACM,YAAY,CAACJ,OAAO;AACtC,IAAI;AACJ;AACA;AACA;AACA,IAAOnB,KAAK,IACTA,KAAK,CAACwB,OAAO,IACbnB,sDAAG;AACN;AACA;AACA,MAASL,KAAK,IACTA,KAAK,CAACiB,MAAM,CAACM,YAAY,IACzBvB,KAAK,CAACiB,MAAM,CAACM,YAAY,CAACC,OAAO;AACtC,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAQxB,KAAK,IACTA,KAAK,CAACgB,UAAU,IAAIhB,KAAK,CAACiB,MAAM,CAACQ,KAAK,GACnCzB,KAAK,CAACiB,MAAM,CAACQ,KAAK,CAACN,OAAO,GAC1BC,SAAS;AAChB;AACA;AACA,IAAOpB,KAAK,IAAMA,KAAK,CAACiB,MAAM,CAACQ,KAAK,IAAIzB,KAAK,CAACiB,MAAM,CAACQ,KAAK,CAACJ,IAAI;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAQrB,KAAK,IAAMA,KAAK,CAACiB,MAAM,CAACS,SAAS;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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Z,OAAO9G,aAAa,CAAC8N,QAAQ,IAAIjC,SAAS;EAC3C;EACA,IAAK/E,GAAG,CAACf,MAAM,IAAI,CAAC,EAAG;IACtB,OAAO/F,aAAa,CAAC+N,cAAc,IAAI7B,WAAW;EACnD;EACA;AACD,CAAC;AAEM,MAAMxE,eAAe,GAAGA,CAAEsG,OAAO,EAAE;EAAEhO,aAAa,GAAG,CAAC;AAAE,CAAC,GAAG,CAAC,CAAC,KAAM;EAC1E,IAAK,CAAEgO,OAAO,EAAG;IAChB,OAAOhO,aAAa,CAACiO,YAAY,IAAInC,aAAa;EACnD;EACA;AACD,CAAC;;;;;;;;;;;AC/ID;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,oBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gDAAgD,gDAAgD,MAAM,aAAa;;AAEnH;AACA,iDAAiD,kCAAkC,OAAO;;AAE1F,yGAAyG,cAAc,UAAU,gGAAgG,kBAAkB,UAAU,UAAU;;AAEvQ;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAsC;AACtC;;AAEA;;AAEA,gBAAgB;AAChB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AsB;AACjD;AACA;AACA;;AAEA;AACO;AACP,gDAAgD,QAAQ;AACxD,uCAAuC,QAAQ;AAC/C,uDAAuD,QAAQ;AAC/D;AACA;AACA;;AAEO;AACP,2EAA2E,OAAO;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;;AAEO;AACP;AACA;AACA,eAAe,uFAAuF,cAAc;AACpH,qBAAqB,gCAAgC,qCAAqC,2CAA2C;AACrI,0BAA0B,MAAM,iBAAiB,YAAY;AAC7D,qBAAqB;AACrB,4BAA4B;AAC5B,2BAA2B;AAC3B,0BAA0B;AAC1B;;AAEO;AACP;AACA,eAAe,6CAA6C,UAAU,sDAAsD,cAAc;AAC1I,wBAAwB,6BAA6B,oBAAoB,uCAAuC,kBAAkB;AAClI;;AAEO;AACP;AACA;AACA,yGAAyG,uFAAuF,cAAc;AAC9M,qBAAqB,8BAA8B,gDAAgD,wDAAwD;AAC3J,2CAA2C,sCAAsC,UAAU,mBAAmB,IAAI;AAClH;;AAEO;AACP,+BAA+B,uCAAuC,YAAY,KAAK,OAAO;AAC9F;AACA;;AAEA;AACA,wCAAwC,4BAA4B;AACpE,CAAC;AACD;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,2CAA2C;AAC3C;;AAEO;AACP;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAA8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,SAAS,gBAAgB;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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8V,UAAU,IAAE,CAAC;EACnCe,SAAS,EAAE9U,KAAK;EAChB+U,QAAQ,EAAE;IACTC,QAAQ,EAAEpF,QAAQ,CAACmF,QAAQ;IAC3BE,cAAc,EAAE;EACjB;AACD,CAAC;AAED9F,mFAAqB,CAAEqF,QAAS,CAAC,C","sources":["webpack://wc-valorpay/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack://wc-valorpay/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://wc-valorpay/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://wc-valorpay/./blocks/components/PaymentInputsContainer.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsWrapper.jsx","webpack://wc-valorpay/./blocks/components/TermsCheckbox.jsx","webpack://wc-valorpay/./blocks/components/index.js","webpack://wc-valorpay/./blocks/hooks/usePaymentInputs.jsx","webpack://wc-valorpay/./blocks/images/amex.jsx","webpack://wc-valorpay/./blocks/images/dinersclub.jsx","webpack://wc-valorpay/./blocks/images/discover.jsx","webpack://wc-valorpay/./blocks/images/hipercard.jsx","webpack://wc-valorpay/./blocks/images/index.jsx","webpack://wc-valorpay/./blocks/images/jcb.jsx","webpack://wc-valorpay/./blocks/images/mastercard.jsx","webpack://wc-valorpay/./blocks/images/placeholder.jsx","webpack://wc-valorpay/./blocks/images/troy.jsx","webpack://wc-valorpay/./blocks/images/unionpay.jsx","webpack://wc-valorpay/./blocks/images/visa.jsx","webpack://wc-valorpay/./blocks/utils/cardTypes.js","webpack://wc-valorpay/./blocks/utils/formatter.js","webpack://wc-valorpay/./blocks/utils/index.js","webpack://wc-valorpay/./blocks/utils/validator.js","webpack://wc-valorpay/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://wc-valorpay/./node_modules/react/jsx-runtime.js","webpack://wc-valorpay/./node_modules/shallowequal/index.js","webpack://wc-valorpay/./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack://wc-valorpay/external window \"React\"","webpack://wc-valorpay/external window [\"wc\",\"blocksCheckout\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksData\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksRegistry\"]","webpack://wc-valorpay/external window [\"wc\",\"wcSettings\"]","webpack://wc-valorpay/external window [\"wp\",\"data\"]","webpack://wc-valorpay/external window [\"wp\",\"htmlEntities\"]","webpack://wc-valorpay/external window [\"wp\",\"i18n\"]","webpack://wc-valorpay/./node_modules/styled-components/node_modules/tslib/tslib.es6.mjs","webpack://wc-valorpay/./node_modules/stylis/src/Enum.js","webpack://wc-valorpay/./node_modules/stylis/src/Middleware.js","webpack://wc-valorpay/./node_modules/stylis/src/Parser.js","webpack://wc-valorpay/./node_modules/stylis/src/Prefixer.js","webpack://wc-valorpay/./node_modules/stylis/src/Serializer.js","webpack://wc-valorpay/./node_modules/stylis/src/Tokenizer.js","webpack://wc-valorpay/./node_modules/stylis/src/Utility.js","webpack://wc-valorpay/webpack/bootstrap","webpack://wc-valorpay/webpack/runtime/compat get default export","webpack://wc-valorpay/webpack/runtime/define property getters","webpack://wc-valorpay/webpack/runtime/hasOwnProperty shorthand","webpack://wc-valorpay/webpack/runtime/make namespace object","webpack://wc-valorpay/webpack/runtime/nonce","webpack://wc-valorpay/./blocks/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n  /* o */\n  && prop.charCodeAt(1) === 110\n  /* n */\n  && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n  var cache = Object.create(null);\n  return function (arg) {\n    if (cache[arg] === undefined) cache[arg] = fn(arg);\n    return cache[arg];\n  };\n}\n\nexport { memoize as default };\n","var unitlessKeys = {\n  animationIterationCount: 1,\n  aspectRatio: 1,\n  borderImageOutset: 1,\n  borderImageSlice: 1,\n  borderImageWidth: 1,\n  boxFlex: 1,\n  boxFlexGroup: 1,\n  boxOrdinalGroup: 1,\n  columnCount: 1,\n  columns: 1,\n  flex: 1,\n  flexGrow: 1,\n  flexPositive: 1,\n  flexShrink: 1,\n  flexNegative: 1,\n  flexOrder: 1,\n  gridRow: 1,\n  gridRowEnd: 1,\n  gridRowSpan: 1,\n  gridRowStart: 1,\n  gridColumn: 1,\n  gridColumnEnd: 1,\n  gridColumnSpan: 1,\n  gridColumnStart: 1,\n  msGridRow: 1,\n  msGridRowSpan: 1,\n  msGridColumn: 1,\n  msGridColumnSpan: 1,\n  fontWeight: 1,\n  lineHeight: 1,\n  opacity: 1,\n  order: 1,\n  orphans: 1,\n  tabSize: 1,\n  widows: 1,\n  zIndex: 1,\n  zoom: 1,\n  WebkitLineClamp: 1,\n  // SVG-related properties\n  fillOpacity: 1,\n  floodOpacity: 1,\n  stopOpacity: 1,\n  strokeDasharray: 1,\n  strokeDashoffset: 1,\n  strokeMiterlimit: 1,\n  strokeOpacity: 1,\n  strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import { usePaymentInputs } from '../hooks';\n\nexport default function PaymentInputsContainer( props ) {\n\tconst paymentInputs = usePaymentInputs( props );\n\treturn props.children( paymentInputs );\n}\n","import React from 'react';\nimport styled, { css } from 'styled-components';\n\n// Preventing hasErrored and other internal props from being passed to DOM\nconst FieldWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'styles' ].includes( prop ),\n} )`\n\tdisplay: inline-flex;\n\tflex-direction: column;\n\twidth: 100%;\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored && props.styles.fieldWrapper\n\t\t\t\t? props.styles.fieldWrapper.errored\n\t\t\t\t: undefined };\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.fieldWrapper\n\t\t\t? props.styles.fieldWrapper.base\n\t\t\t: undefined };\n`;\n\nconst InputWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\talign-items: center;\n\tbackground-color: white;\n\tborder: 1px solid #bdbdbd;\n\tbox-shadow: inset 0px 1px 2px #e5e5e5;\n\tborder-radius: 0.2em;\n\tdisplay: flex;\n\theight: 2.5em;\n\tpadding: 0.4em 0.6em;\n\twidth: 100%; /* Ensure the wrapper takes the full width */\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored &&\n\t\t\tcss`\n\t\t\t\tborder-color: #c9444d;\n\t\t\t\tbox-shadow: #c9444d 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.errored };\n\t\t\t` };\n\t}\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.focused &&\n\t\t\tcss`\n\t\t\t\tborder-color: #444bc9;\n\t\t\t\tbox-shadow: #444bc9 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.focused };\n\t\t\t` };\n\t}\n\n\t& input {\n\t\tborder: unset;\n\t\tmargin: unset;\n\t\tpadding: unset;\n\t\toutline: unset;\n\t\tfont-size: inherit;\n\t\twidth: 100%; /* Take full width by default */\n\t\tmin-width: 11em; /* Default minimum width */\n\t\tflex-grow: 1; /* Allow input to grow */\n\n\t\t& {\n\t\t\t${ ( props ) =>\n\t\t\t\tprops.hasErrored && props.styles.input\n\t\t\t\t\t? props.styles.input.errored\n\t\t\t\t\t: undefined };\n\t\t}\n\n\t\t${ ( props ) => props.styles.input && props.styles.input.base };\n\n\t\t&:focus {\n\t\t\twidth: 15em; /* Increase width on focus */\n\t\t\ttransition: width 0.3s ease;\n\t\t}\n\t}\n\n\t& svg {\n\t\tmargin-right: 0.6em;\n\t\t& {\n\t\t\t${ ( props ) => props.styles.cardImage };\n\t\t}\n\t}\n\n\t& input#cardNumber {\n\t\twidth: 10em;\n\t\tmin-width: 10em;\n\n\t\t&:focus {\n\t\t\twidth: 13em;\n\t\t}\n\t}\n\n\t& input#expiryDate {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\n\t& input#cvc {\n\t\twidth: 2.5em;\n\t\tmin-width: 2.5em;\n\n\t\t&:focus {\n\t\t\twidth: 3.5em;\n\t\t}\n\t}\n\n\t& input#zip {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\t& input#streetaddress {\n\t\twidth: 8em;\n\t\tmin-width: 8em;\n\n\t\t&:focus {\n\t\t\twidth: 9em;\n\t\t}\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.inputWrapper\n\t\t\t? props.styles.inputWrapper.base\n\t\t\t: undefined };\n`;\n\nconst ErrorText = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\tcolor: #c9444d;\n\tfont-size: 0.75rem;\n\tmargin-top: 0.25rem;\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.styles.errorText ? props.styles.errorText.base : undefined };\n\t}\n`;\n\nfunction PaymentInputsWrapper( {\n\tchildren,\n\terror,\n\terrorTextProps,\n\tfocused,\n\tinputWrapperProps,\n\tisTouched,\n\tstyles = {}, // Set default value for styles here\n\tisInitPay,\n\t...restProps\n} ) {\n\tconst hasErrored = error && ( isTouched || ( ! focused && isInitPay ) );\n\n\treturn (\n\t\t<FieldWrapper\n\t\t\thasErrored={ hasErrored }\n\t\t\tstyles={ styles }\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t<InputWrapper\n\t\t\t\tfocused={ focused }\n\t\t\t\thasErrored={ hasErrored }\n\t\t\t\tstyles={ styles }\n\t\t\t\t{ ...inputWrapperProps }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</InputWrapper>\n\t\t\t{ hasErrored && (\n\t\t\t\t<ErrorText styles={ styles } { ...errorTextProps }>\n\t\t\t\t\t{ error }\n\t\t\t\t</ErrorText>\n\t\t\t) }\n\t\t</FieldWrapper>\n\t);\n}\n\nexport default PaymentInputsWrapper;\n","export default function TermsCheckbox( { id, label, checked, onChange } ) {\n    return (\n\t\t<div className=\"wc-block-components-checkbox\">\n\t\t\t<label htmlFor={ id }>\n\t\t\t\t<input\n\t\t\t\t\tid={ id }\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\taria-invalid=\"false\"\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t/>\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__mark\"\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<span class=\"wc-block-components-checkbox__label\">\n\t\t\t\t\t{ label }\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t);\n}","export { default as PaymentInputsContainer } from './PaymentInputsContainer';\nexport { default as PaymentInputsWrapper } from './PaymentInputsWrapper';\nexport { default as TermsCheckbox } from './TermsCheckbox';\n","import React from 'react';\n\nimport utils from '../utils';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function usePaymentInputs( {\n\tautoFocus = true,\n\terrorMessages,\n\tonBlur,\n\tonChange,\n\tonError,\n\tonTouch,\n\tcardNumberValidator,\n\tcvcValidator,\n\texpiryValidator,\n\tavsType,\n\tsetIsFetchingCardType,\n\tpaymentFields,\n} = {} ) {\n\tconst cardNumberField = React.useRef();\n\tconst expiryDateField = React.useRef();\n\tconst cvcField = React.useRef();\n\tconst zipField = React.useRef();\n\tconst addressField = React.useRef();\n\n\t/** ====== START: META STUFF ====== */\n\tconst [ touchedInputs, setTouchedInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = false;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ isTouched, setIsTouched ] = React.useState( false );\n\tconst [ erroredInputs, setErroredInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = undefined;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ error, setError ] = React.useState();\n\tconst [ cardType, setCardType ] = React.useState();\n\tconst [ focused, setFocused ] = React.useState();\n\n\tconst setInputError = React.useCallback( ( input, error ) => {\n\t\tsetErroredInputs( ( erroredInputs ) => {\n\t\t\tif ( erroredInputs[ input ] === error ) return erroredInputs;\n\n\t\t\tlet newError = error;\n\t\t\tconst newErroredInputs = { ...erroredInputs, [ input ]: error };\n\t\t\tif ( error ) {\n\t\t\t\tsetError( error );\n\t\t\t} else {\n\t\t\t\tnewError = Object.values( newErroredInputs ).find( Boolean );\n\t\t\t\tsetError( newError );\n\t\t\t}\n\t\t\tonError && onError( newError, newErroredInputs );\n\t\t\treturn newErroredInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\n\tconst setInputTouched = React.useCallback( ( input, value ) => {\n\t\trequestAnimationFrame( () => {\n\t\t\tif ( document.activeElement.tagName !== 'INPUT' ) {\n\t\t\t\tsetIsTouched( true );\n\t\t\t} else if ( value === false ) {\n\t\t\t\tsetIsTouched( false );\n\t\t\t}\n\t\t} );\n\n\t\tsetTouchedInputs( ( touchedInputs ) => {\n\t\t\tif ( touchedInputs[ input ] === value ) return touchedInputs;\n\n\t\t\tconst newTouchedInputs = { ...touchedInputs, [ input ]: value };\n\t\t\tonTouch && onTouch( { [ input ]: value }, newTouchedInputs );\n\t\t\treturn newTouchedInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\t/** ====== END: META STUFF ====== */\n\n\t/** ====== START: CARD NUMBER STUFF ====== */\n\tconst handleBlurCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cardNumber', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\t\t\t\tlet cursorPosition = cardNumberField.current.selectionStart;\n\n\t\t\t\tconst cardType =\n\t\t\t\t\tutils.cardTypes.getCardTypeByValue( cardNumber );\n\t\t\t\tsetCardType( cardType );\n\n\t\t\t\tsetInputTouched( 'cardNumber', false );\n\n\t\t\t\t// @ts-ignore\n\t\t\t\tcardNumberField.current.value =\n\t\t\t\t\tutils.formatter.formatCardNumber( cardNumber );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\t// Due to the card number formatting, the selection cursor will fall to the end of\n\t\t\t\t// the input field. Here, we want to reposition the cursor to the correct place.\n\t\t\t\trequestAnimationFrame( () => {\n\t\t\t\t\tif ( document.activeElement !== cardNumberField.current )\n\t\t\t\t\t\treturn;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcardNumberField.current.value[ cursorPosition - 1 ] ===\n\t\t\t\t\t\t' '\n\t\t\t\t\t) {\n\t\t\t\t\t\tcursorPosition = cursorPosition + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcardNumberField.current.setSelectionRange(\n\t\t\t\t\t\tcursorPosition,\n\t\t\t\t\t\tcursorPosition\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\t\tcardNumber,\n\t\t\t\t\tcardNumberValidator,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cardNumberError && autoFocus ) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t\tsetIsFetchingCardType( true );\n\t\t\t\t\textensionCartUpdate( {\n\t\t\t\t\t\tnamespace: 'wc-valorpay-fee-update',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction_type: 'bin_lookup',\n\t\t\t\t\t\t\tbin: cardNumber.slice( 0, 6 ),\n\t\t\t\t\t\t},\n\t\t\t\t\t} ).then( () => {\n\t\t\t\t\t\tsetIsFetchingCardType( false );\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t\t\tprops.onError && props.onError( cardNumberError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcardNumberValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cardNumber' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyPressCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tutils.validator.hasCardNumberReachedMaxLength( cardNumber )\n\t\t\t\t) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getCardNumberProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Card number',\n\t\t\tautoComplete: 'cc-number',\n\t\t\tid: 'cardNumber',\n\t\t\tname: 'cardNumber',\n\t\t\tplaceholder: 'Card number',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cardNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCardNumber( props ),\n\t\t\tonChange: handleChangeCardNumber( props ),\n\t\t\tonFocus: handleFocusCardNumber( props ),\n\t\t\tonKeyPress: handleKeyPressCardNumber( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurCardNumber,\n\t\t\thandleChangeCardNumber,\n\t\t\thandleFocusCardNumber,\n\t\t\thandleKeyPressCardNumber,\n\t\t]\n\t);\n\t/** ====== END: CARD NUMBER STUFF ====== */\n\n\t/** ====== START: EXPIRY DATE STUFF ====== */\n\tconst handleBlurExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'expiryDate', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tsetInputTouched( 'expiryDate', false );\n\n\t\t\t\texpiryDateField.current.value =\n\t\t\t\t\tutils.formatter.formatExpiry( e );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\t\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\t\texpiryDateField.current.value,\n\t\t\t\t\texpiryValidator,\n\t\t\t\t\t{\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif ( ! expiryDateError && autoFocus ) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t\t\tprops.onError && props.onError( expiryDateError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\terrorMessages,\n\t\t\texpiryValidator,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'expiryDate' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcardNumberField.current && cardNumberField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedExpiryDate = e.target.value || '';\n\t\t\tconst expiryDate = formattedExpiryDate.replace( ' / ', '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif ( expiryDate.length >= 4 ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getExpiryDateProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Expiry date in format MM YY',\n\t\t\tautoComplete: 'cc-exp',\n\t\t\tid: 'expiryDate',\n\t\t\tname: 'expiryDate',\n\t\t\tplaceholder: 'MM/YY',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: expiryDateField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurExpiryDate( props ),\n\t\t\tonChange: handleChangeExpiryDate( props ),\n\t\t\tonFocus: handleFocusExpiryDate( props ),\n\t\t\tonKeyDown: handleKeyDownExpiryDate( props ),\n\t\t\tonKeyPress: handleKeyPressExpiryDate( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurExpiryDate,\n\t\t\thandleChangeExpiryDate,\n\t\t\thandleFocusExpiryDate,\n\t\t\thandleKeyDownExpiryDate,\n\t\t\thandleKeyPressExpiryDate,\n\t\t]\n\t);\n\t/** ====== END: EXPIRY DATE STUFF ====== */\n\n\t/** ====== START: CVC STUFF ====== */\n\tconst handleBlurCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cvc', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCVC = React.useCallback(\n\t\t( props = {}, { cardType } = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst cvc = e.target.value;\n\n\t\t\t\tsetInputTouched( 'cvc', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\t\tcvc,\n\t\t\t\t\tcvcValidator,\n\t\t\t\t\t{ cardType, errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cvcError && autoFocus ) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cvc', cvcError );\n\t\t\t\tprops.onError && props.onError( cvcError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcvcValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCVC = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cvc' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressCVC = React.useCallback(\n\t\t( props = {}, { cardType } ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCVC = e.target.value || '';\n\t\t\t\tconst cvc = formattedCVC.replace( ' / ', '' );\n\n\t\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cardType && cvc.length >= cardType.code.length ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cvc.length >= 4 ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst getCVCProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'CVC',\n\t\t\tautoComplete: 'cc-csc',\n\t\t\tid: 'cvc',\n\t\t\tname: 'cvc',\n\t\t\tplaceholder: cardType ? cardType.code.name : 'CVC',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cvcField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCVC( props ),\n\t\t\tonChange: handleChangeCVC( props, { cardType } ),\n\t\t\tonFocus: handleFocusCVC( props ),\n\t\t\tonKeyDown: handleKeyDownCVC( props ),\n\t\t\tonKeyPress: handleKeyPressCVC( props, { cardType } ),\n\t\t} ),\n\t\t[\n\t\t\tcardType,\n\t\t\thandleBlurCVC,\n\t\t\thandleChangeCVC,\n\t\t\thandleFocusCVC,\n\t\t\thandleKeyDownCVC,\n\t\t\thandleKeyPressCVC,\n\t\t]\n\t);\n\t/** ====== END: CVC STUFF ====== */\n\n\t/** ====== START: ZIP STUFF ====== */\n\tconst handleBlurZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'zip', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst zip = e.target.value;\n\n\t\t\t\tsetInputTouched( 'zip', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst zipError = utils.validator.getZIPError( zip, {\n\t\t\t\t\terrorMessages,\n\t\t\t\t} );\n\t\t\t\tif ( ! zipError && autoFocus && zip.length >= 6 ) {\n\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'zip', zipError );\n\t\t\t\tprops.onError && props.onError( zipError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'zip' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getZIPProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'zip',\n\t\t\tmaxLength: '6',\n\t\t\tname: 'zip',\n\t\t\tplaceholder: 'ZIP',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: zipField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurZIP( props ),\n\t\t\tonChange: handleChangeZIP( props ),\n\t\t\tonFocus: handleFocusZIP( props ),\n\t\t\tonKeyDown: handleKeyDownZIP( props ),\n\t\t\tonKeyPress: handleKeyPressZIP( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurZIP,\n\t\t\thandleChangeZIP,\n\t\t\thandleFocusZIP,\n\t\t\thandleKeyDownZIP,\n\t\t\thandleKeyPressZIP,\n\t\t]\n\t);\n\n\t/** ====== END: ZIP STUFF ====== */\n\n\t/** ====== START: ADDRESS STUFF ====== */\n\tconst handleBlurAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'streetaddress', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\tconst handleChangeAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst streetaddress = e.target.value;\n\n\t\t\t\tsetInputTouched( 'streetaddress', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\t\tstreetaddress,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t\t\tprops.onError && props.onError( addressError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusAddress = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'streetaddress' );\n\t\t};\n\t}, [] );\n\tconst handleKeyDownAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\tconst getStreetAddressProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'streetaddress',\n\t\t\tmaxLength: '25',\n\t\t\tname: 'streetaddress',\n\t\t\tplaceholder: 'STREET ADDRESS',\n\t\t\ttype: 'text',\n\t\t\t[ refKey || 'ref' ]: addressField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurAddress( props ),\n\t\t\tonChange: handleChangeAddress( props ),\n\t\t\tonFocus: handleFocusAddress( props ),\n\t\t\tonKeyDown: handleKeyDownAddress( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurAddress,\n\t\t\thandleChangeAddress,\n\t\t\thandleFocusAddress,\n\t\t\thandleKeyDownAddress,\n\t\t]\n\t);\n\t/** ====== END: ADDRESS STUFF ====== */\n\t/** ====== START: CARD IMAGE STUFF ====== */\n\tconst getCardImageProps = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\tconst images = props.images || {};\n\t\t\treturn {\n\t\t\t\t'aria-label': cardType\n\t\t\t\t\t? cardType.displayName\n\t\t\t\t\t: 'Placeholder card',\n\t\t\t\tchildren:\n\t\t\t\t\timages[ cardType ? cardType.type : 'placeholder' ] ||\n\t\t\t\t\timages.placeholder,\n\t\t\t\twidth: '3em',\n\t\t\t\theight: '2em',\n\t\t\t\tviewBox: '0 0 24 16',\n\t\t\t};\n\t\t},\n\t\t[ cardType ]\n\t);\n\t/** ====== END: CARD IMAGE STUFF ====== */\n\n\t// Set default field errors\n\tReact.useLayoutEffect( () => {\n\t\tif ( addressField.current ) {\n\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\taddressField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t}\n\t\tif ( zipField.current ) {\n\t\t\tconst zipError = utils.validator.getZIPError(\n\t\t\t\tzipField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'zip', zipError );\n\t\t}\n\t\tif ( cvcField.current ) {\n\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\tcvcField.current.value,\n\t\t\t\tcvcValidator,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'cvc', cvcError );\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\texpiryDateField.current.value,\n\t\t\t\texpiryValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t}\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\tcardNumberField.current.value,\n\t\t\t\tcardNumberValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t}\n\t}, [\n\t\tcardNumberValidator,\n\t\tcvcValidator,\n\t\terrorMessages,\n\t\texpiryValidator,\n\t\tsetInputError,\n\t] );\n\n\t// Format default values\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tcardNumberField.current.value = utils.formatter.formatCardNumber(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\texpiryDateField.current.value = utils.formatter.formatExpiry( {\n\t\t\t\ttarget: expiryDateField.current,\n\t\t\t} );\n\t\t}\n\t}, [] );\n\n\t// Set default card type\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardType = utils.cardTypes.getCardTypeByValue(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t\tsetCardType( cardType );\n\t\t}\n\t}, [] );\n\n\treturn {\n\t\tgetCardImageProps,\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps: {\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t},\n\n\t\tmeta: {\n\t\t\tcardType,\n\t\t\terroredInputs,\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t\ttouchedInputs,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t};\n}\n","export default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<path\n\t\t\td=\"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<g fill=\"#016fd0\">\n\t\t\t<path d=\"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z\" />\n\t\t\t<path d=\"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z\" />\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-320.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Diners-Club\"\n\t\t\t\t\t\ttransform=\"translate(280.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#0165AC\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-280.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Discover\"\n\t\t\t\t\t\ttransform=\"translate(240.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.8054455 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#000000\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g id=\"Group-2\">\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#B3131B\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"2\"\n\t\t\t/>\n\t\t\t<g\n\t\t\t\tid=\"Hipercard_logo\"\n\t\t\t\ttransform=\"translate(2.000000, 6.000000)\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tfillRule=\"nonzero\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M4.45845797,4.72911206 L4.71934477,4.72911206 L4.72670967,4.71021617 C4.73076043,4.69982332 4.73407456,4.67539055 4.73407456,4.65592007 C4.73407456,4.63644958 4.74267391,4.56566228 4.75318417,4.49861521 C4.76369454,4.43156695 4.78836018,4.27726169 4.80799675,4.15571305 C4.82763331,4.0341644 4.85703646,3.85139347 4.87333717,3.74955542 C4.88963776,3.64771736 4.90953167,3.51735868 4.91754595,3.45986946 C4.92556023,3.40238023 4.93534271,3.3553436 4.93928464,3.3553436 C4.94322668,3.3553436 4.96009268,3.38074637 4.9767648,3.41179473 L5.0070776,3.46824705 L5.07434118,3.5349692 L5.14160488,3.60169134 L5.22440039,3.63432372 L5.30719578,3.66695609 L5.40587279,3.67955056 L5.5045498,3.69214384 L5.62980554,3.68457856 L5.75506139,3.67701327 L5.8906751,3.64246001 L6.02628894,3.60790675 L6.09908975,3.57519075 C6.13913019,3.55719677 6.21011098,3.51796553 6.25682484,3.48801021 L6.34175912,3.43354447 L6.42095111,3.35561954 C6.46450662,3.31276155 6.5259323,3.24403729 6.55745263,3.20290069 C6.58897283,3.16176409 6.61476215,3.12510239 6.61476215,3.12143264 C6.61476215,3.11776169 6.63024834,3.09228724 6.64917582,3.06482382 C6.66810343,3.0373592 6.70683989,2.96113177 6.73525696,2.8954298 C6.76367415,2.82972783 6.80808531,2.71146429 6.83394853,2.63262192 L6.88097263,2.48927217 L6.90527961,2.36510142 C6.91864839,2.29680721 6.93584673,2.18391928 6.94349809,2.11423935 L6.95740984,1.98754804 L6.9493753,1.88003572 L6.94134076,1.77252341 L6.91602234,1.66501109 L6.89070392,1.55749878 L6.84971924,1.47700311 L6.80873457,1.39650745 L6.72956721,1.31388424 L6.65039973,1.23125983 L6.55674682,1.18360201 L6.4630938,1.13594299 L6.35995932,1.11163207 L6.25682484,1.08732115 L6.15369036,1.07986696 L6.05055588,1.07241397 L5.93566831,1.0854122 L5.82078075,1.09840925 L5.7270093,1.12198192 L5.63323773,1.1455534 L5.55177641,1.18267501 C5.50697261,1.2030916 5.44177912,1.23776791 5.40690207,1.25973387 C5.3720249,1.28169983 5.33604735,1.30697239 5.32695174,1.31589472 C5.31785613,1.32481824 5.29608043,1.34134766 5.27856116,1.3526257 L5.24670802,1.37313308 L5.26898276,1.26820942 C5.28123392,1.21050159 5.29147275,1.15656744 5.2917358,1.14835469 L5.29221386,1.13342243 L5.06976516,1.13342243 L4.84731634,1.13342243 L4.80831003,1.37532513 C4.78685648,1.50837162 4.75298372,1.71398893 4.73303727,1.83225247 C4.7130907,1.95051602 4.68301183,2.12791134 4.66619545,2.22646429 C4.64937895,2.32501725 4.61938307,2.49972476 4.59953794,2.61470321 C4.5796928,2.72968165 4.54689191,2.91245259 4.52664697,3.02086084 C4.50640216,3.12926909 4.47674372,3.28784975 4.46073931,3.37326231 C4.44473502,3.45867488 4.41461296,3.61994335 4.39380151,3.7316367 C4.37299019,3.84333005 4.33954562,4.02072536 4.31948026,4.12584852 C4.29941502,4.23097167 4.26676167,4.39761576 4.24691738,4.49616871 C4.2270731,4.59472167 4.20785211,4.68745104 4.20420394,4.70223398 L4.19757093,4.72911206 L4.45845773,4.72911206 L4.45845797,4.72911206 Z M5.58158434,3.34795511 L5.48028286,3.35395071 L5.41406652,3.34244331 L5.34785018,3.33093472 L5.28059837,3.30070464 L5.21334656,3.27047457 L5.16636177,3.22630134 L5.11937709,3.18212931 L5.09225746,3.12240025 C5.07734166,3.08954926 5.0581828,3.0337432 5.04968233,2.99838718 L5.03422684,2.93410437 L5.04041916,2.8311458 L5.04661147,2.72818843 L5.07787505,2.56691995 C5.09507,2.47822229 5.12594421,2.31157821 5.14648436,2.19659976 C5.1670245,2.08162131 5.19812318,1.9131519 5.21559259,1.82222277 L5.24735509,1.6568975 L5.3169102,1.5999088 C5.35516545,1.56856538 5.41576424,1.52655673 5.45157423,1.50655705 L5.51668327,1.470194 L5.60161755,1.44430981 L5.68655183,1.41842563 L5.79575304,1.41211346 L5.90495426,1.40580129 L5.99387134,1.42445946 L6.08278843,1.44311762 L6.1455397,1.47157016 L6.20829096,1.50002269 L6.2609103,1.55210763 L6.31352963,1.60419138 L6.34191746,1.65934519 C6.3575308,1.68968039 6.37946059,1.74905705 6.39065044,1.79129506 L6.41099548,1.86808991 L6.40476348,2.09506035 L6.39853137,2.32203079 L6.36736983,2.45618705 C6.35023095,2.52997394 6.31760514,2.64286188 6.29486799,2.70704912 L6.25352781,2.82375493 L6.20290006,2.91822719 C6.17505485,2.9701879 6.1321162,3.04040419 6.10748089,3.07426459 C6.08284558,3.10812381 6.04357913,3.15198525 6.0202222,3.17173287 C5.99686528,3.19148049 5.95774892,3.22234369 5.93329695,3.24031617 L5.8888387,3.27299275 L5.7858622,3.30747553 L5.6828857,3.34195951 L5.58158434,3.34795511 Z M8.10111202,3.67635864 L8.23458018,3.67786023 L8.36804833,3.665875 C8.44145581,3.6592833 8.56157715,3.64555995 8.63498463,3.63537973 C8.70839211,3.62519831 8.83520336,3.60240928 8.91678734,3.58473665 L9.06512179,3.5526048 L9.07250973,3.498771 C9.07657311,3.4691621 9.093232,3.38101873 9.10952955,3.3028967 L9.1391613,3.16085621 L9.1326233,3.1544198 L9.12608543,3.1479822 L9.0807372,3.1695444 C9.05579576,3.181403 8.97811171,3.20969069 8.90810597,3.23240685 L8.78082285,3.27370711 L8.6472364,3.29918394 L8.51364995,3.32466077 L8.30131425,3.32506693 L8.08897856,3.32547309 L8.01617775,3.30258252 C7.9761373,3.28999283 7.91724557,3.26695772 7.88530737,3.25139472 L7.82723768,3.22309628 L7.7793106,3.18046765 L7.73138352,3.13783782 L7.69398963,3.07349051 L7.65659562,3.00914319 L7.63315109,2.92843011 L7.60970656,2.84771703 L7.60953911,2.69835615 L7.60937167,2.54899526 L7.63018579,2.41575047 L7.65099978,2.28250449 L7.83358895,2.27410658 L8.01617823,2.26570748 L8.69111697,2.26997453 L9.3660557,2.27424157 L9.38643459,2.18913124 C9.39764288,2.14232038 9.41477886,2.04555929 9.42451439,1.97410661 L9.44221542,1.84419231 L9.44258913,1.73490963 L9.44296284,1.62562694 L9.42374501,1.54404301 L9.40452717,1.46245909 L9.37275132,1.40843654 C9.35527451,1.37872491 9.32448062,1.33566504 9.3043205,1.31274938 C9.28416037,1.28983373 9.24816377,1.25752509 9.22432794,1.24095266 C9.20049222,1.22438023 9.15368992,1.19652977 9.12032288,1.17906499 L9.05965554,1.14730824 L8.95365525,1.12215633 L8.84765497,1.09700442 L8.71705262,1.08471099 L8.58645027,1.07241636 L8.46511559,1.08019547 L8.34378091,1.08797458 L8.19817929,1.11550012 L8.05257767,1.14302686 L7.96157665,1.17884877 C7.9115261,1.198551 7.83508525,1.23447922 7.7917081,1.2586898 C7.74833095,1.28290038 7.68827028,1.32231081 7.65823994,1.34626814 C7.62820961,1.37022427 7.57621515,1.4167998 7.54269681,1.44976786 C7.50917834,1.48273591 7.45959784,1.54196325 7.43251788,1.58138443 C7.40543792,1.62080561 7.36392374,1.69068862 7.34026433,1.73668 C7.31660479,1.78267138 7.28577559,1.84717876 7.27175488,1.88002975 C7.25773417,1.91288073 7.23225571,1.98007593 7.21513599,2.02935241 C7.1980164,2.07862889 7.17110667,2.17270216 7.15533656,2.23840413 C7.13956645,2.3041061 7.11795686,2.41225991 7.10731533,2.47874552 L7.08796742,2.59963476 L7.08814699,2.77739681 L7.08832657,2.95515887 L7.10676835,3.03280665 C7.11691132,3.07551293 7.13630473,3.14002032 7.14986473,3.1761564 C7.16342485,3.21229249 7.18849963,3.26604864 7.20558671,3.29561453 C7.22267367,3.32518042 7.2591652,3.37278329 7.28667905,3.40139948 C7.31419278,3.43001568 7.36400431,3.47343751 7.39737135,3.49789178 C7.43073838,3.52234606 7.49013972,3.55674044 7.52937438,3.57432587 L7.60070995,3.60629765 L7.70017273,3.62996947 C7.75487732,3.64298921 7.83743756,3.65841484 7.88363999,3.66425037 C7.92984242,3.6700847 8.02770503,3.67553319 8.10111251,3.67635864 L8.10111202,3.67635864 Z M8.32965888,1.99352094 C7.99374575,1.99352094 7.71890777,1.99115328 7.71890777,1.98826001 C7.71890777,1.98536673 7.73323995,1.94370571 7.75075703,1.89567996 C7.76827412,1.84765421 7.79903902,1.77617166 7.81912342,1.73682932 L7.85564031,1.66529779 L7.93590903,1.58670271 L8.01617775,1.50810762 L8.09504529,1.47097884 C8.13842244,1.45055747 8.19575308,1.42832273 8.22244671,1.42156738 C8.24914034,1.41481202 8.32558119,1.40585027 8.39231526,1.40165251 L8.51364995,1.39401794 L8.60682685,1.40580726 L8.70000364,1.41759659 L8.76771701,1.44811814 L8.8354305,1.4786385 L8.87257529,1.51806804 C8.89300502,1.53975447 8.9173507,1.5716916 8.92667697,1.58903811 L8.94363374,1.62057745 L8.95483159,1.69057752 L8.96602945,1.76057759 L8.95321966,1.87704927 L8.94040987,1.99352094 L8.32965888,1.99352094 Z M11.959629,3.67642315 L12.0931723,3.67788054 L12.2447655,3.66019237 C12.328143,3.6504637 12.4391291,3.63434164 12.4914025,3.62436569 C12.5436771,3.61438974 12.628308,3.59458597 12.6794712,3.58035851 C12.7306357,3.56612985 12.7769248,3.55074723 12.7823351,3.54617318 C12.7877455,3.54159912 12.8022037,3.48738425 12.8144634,3.42569488 C12.826723,3.3640055 12.8421665,3.28127956 12.8487817,3.24185837 C12.8553968,3.20243719 12.858816,3.16807267 12.8563809,3.16549477 C12.8539445,3.16291567 12.8449948,3.16624735 12.8364917,3.1728952 C12.8279885,3.17954304 12.7684545,3.20420995 12.7041944,3.22770736 L12.5873588,3.27043156 L12.420981,3.302168 L12.2546045,3.33390325 L12.1131465,3.32915121 L11.9716884,3.32439797 L11.8913406,3.29696441 L11.8109916,3.26953085 L11.7489046,3.21605781 L11.6868164,3.16258596 L11.6456318,3.08873695 L11.6044472,3.01488793 L11.5848322,2.91609248 L11.5652172,2.81729702 L11.5653386,2.68912203 L11.5654599,2.56094705 L11.5892961,2.40565148 L11.6131335,2.25035592 L11.6383541,2.16673523 C11.6522263,2.12074385 11.6679222,2.06698769 11.6732342,2.0472771 C11.678545,2.02756651 11.7007978,1.97112254 11.722683,1.92184607 C11.7445681,1.87256959 11.7836087,1.79641025 11.8094409,1.75260257 L11.8564059,1.67295267 L11.9140896,1.61410998 L11.9717721,1.5552673 L12.0328581,1.51796531 L12.0939452,1.48066331 L12.172393,1.45687442 C12.2155396,1.44379137 12.2917924,1.42680322 12.3418429,1.41912326 L12.4328439,1.40516219 L12.5663121,1.41175628 L12.6997802,1.41835037 L12.8575153,1.44943457 L13.0152504,1.48051877 L13.0794061,1.50407591 C13.1146915,1.51703353 13.145104,1.52763425 13.1469871,1.52763425 C13.1488715,1.52763425 13.1573345,1.48328542 13.1657928,1.42908129 C13.1742522,1.37487717 13.1893087,1.28569809 13.1992508,1.23090743 C13.209193,1.17611557 13.2149333,1.12892841 13.2120067,1.12604708 C13.2090789,1.12316575 13.1616662,1.11575337 13.1066446,1.109575 C13.0516217,1.10339663 12.9020779,1.09242679 12.7743246,1.08519718 L12.5420452,1.0720532 L12.3782433,1.08442906 L12.2144415,1.09680493 L12.0931068,1.12190786 L11.9717721,1.14701198 L11.8936314,1.17778201 C11.8506546,1.19470683 11.787705,1.2252463 11.7537446,1.24564856 C11.7197843,1.26605201 11.6765552,1.29349632 11.6576803,1.30663671 C11.6388043,1.3197771 11.5815404,1.37104495 11.5304257,1.42056632 L11.4374894,1.5106043 L11.3856128,1.58542809 C11.3570809,1.62658022 11.3077232,1.71239058 11.2759299,1.77611671 L11.2181236,1.89198153 L11.1738182,2.01741257 C11.1494494,2.08639964 11.1154271,2.19928757 11.098211,2.26827464 L11.0669102,2.39370567 L11.0555485,2.50719089 L11.0441879,2.62067611 L11.0443092,2.76999877 L11.0444306,2.91932143 L11.0558894,3.0061878 L11.0673483,3.09305536 L11.1036916,3.18241243 L11.1400338,3.27176949 L11.1820095,3.33637364 L11.2239841,3.4009766 L11.2907327,3.46565123 L11.3574813,3.53032586 L11.4280836,3.56706401 L11.4986858,3.60380216 L11.591451,3.6291691 C11.642471,3.64312061 11.7161818,3.65913278 11.7552528,3.6647509 C11.7943226,3.67037021 11.8863841,3.67562278 11.9598316,3.67642315 L11.959629,3.67642315 Z M13.9555105,3.67201037 L14.1193123,3.66738973 L14.2224468,3.64140161 L14.3255813,3.6154123 L14.3923154,3.5843508 C14.4290191,3.56726709 14.4890798,3.53354287 14.5257835,3.50940874 C14.5624872,3.48527462 14.6192998,3.43939314 14.6520322,3.40745004 C14.6847659,3.37550574 14.7333071,3.32100536 14.7599012,3.28633861 C14.7864953,3.25167066 14.8098571,3.22488337 14.8118155,3.22681143 C14.8137726,3.22873948 14.8076537,3.2839817 14.7982163,3.34957257 C14.7887801,3.41516345 14.7809516,3.50242641 14.7808217,3.54349015 L14.7805912,3.61815148 L15.003278,3.61815148 L15.2259647,3.61815148 L15.2327728,3.44792364 L15.2395797,3.27769581 L15.2713548,3.05669828 C15.2888318,2.93514963 15.3170592,2.75506651 15.3340824,2.65651355 C15.3511044,2.55796059 15.3806943,2.39131651 15.3998373,2.28619336 C15.4189803,2.1810702 15.4493055,2.01711392 15.4672278,1.92184607 L15.4998135,1.74863178 L15.5009055,1.59901287 L15.5019975,1.44939515 L15.4676343,1.38024561 L15.4332723,1.31109728 L15.3866749,1.26705665 L15.3400776,1.22301602 L15.2635748,1.18484915 L15.1870721,1.14668347 L15.0730551,1.12171553 L14.9590393,1.09674639 L14.8020602,1.08498574 L14.645081,1.07322389 L14.4428707,1.08554122 C14.3316553,1.09231569 14.1751408,1.10569261 14.0950599,1.11526718 L13.9494583,1.13267701 L13.8502272,1.13304733 L13.750996,1.13341765 L13.7365584,1.20210607 C13.7286171,1.2398847 13.7065499,1.32964076 13.687521,1.40156411 C13.6684909,1.47348627 13.6546854,1.53406946 13.6568415,1.53619223 C13.6589976,1.538315 13.7120682,1.52645639 13.7747764,1.50983976 C13.8374846,1.49322194 13.9706919,1.4658947 14.070793,1.44911203 L14.252795,1.41859765 L14.4165969,1.411951 L14.5803987,1.40530435 L14.6859089,1.42351335 L14.7914191,1.44172116 L14.8618442,1.47594352 L14.9322693,1.51016469 L14.971703,1.56803021 L15.0111368,1.62589572 L15.0105787,1.7171259 L15.0100205,1.80835607 L14.989117,1.90846915 L14.9682134,2.00858342 L14.5316331,2.01013398 L14.0950539,2.01168455 L13.9521677,2.05025639 C13.8735792,2.07147095 13.786558,2.09963679 13.7587857,2.11284647 C13.7310146,2.12605735 13.7032351,2.13686592 13.6970543,2.13686592 C13.6908735,2.13686592 13.6441232,2.16238934 13.5931651,2.19358344 L13.5005139,2.25030097 L13.4275457,2.32200093 C13.387413,2.36143645 13.3361406,2.42057897 13.3136063,2.45342996 C13.2910733,2.48628094 13.2544617,2.55490844 13.232249,2.60593498 L13.1918603,2.69871094 L13.173324,2.80304089 L13.1547877,2.90737084 L13.1547877,3.01681838 L13.1547877,3.12626711 L13.1724965,3.21739215 L13.1902065,3.3085184 L13.2230615,3.3679524 C13.2411331,3.40064092 13.2742951,3.44852332 13.2967566,3.47435973 L13.3375954,3.52133305 L13.4101681,3.56473577 L13.4827396,3.60813849 L13.5658078,3.63128231 C13.6114963,3.64401177 13.6810332,3.65942187 13.720336,3.66552618 L13.7917948,3.67662623 L13.9555966,3.67200559 L13.9555105,3.67201037 Z M14.1071788,3.33797677 L14.0101111,3.34295937 L13.9458219,3.32683969 C13.9104626,3.31797351 13.8568096,3.2982008 13.8265924,3.2829006 L13.771652,3.25508 L13.7416666,3.21999634 C13.7251748,3.20069908 13.6999809,3.16278307 13.6856804,3.13573655 L13.6596808,3.08656281 L13.6545823,2.97172771 L13.649485,2.85689381 L13.6700525,2.78723658 C13.6813657,2.74892516 13.7079052,2.68244671 13.7290308,2.6395051 L13.7674417,2.56143085 L13.840996,2.48951348 L13.9145503,2.4175973 L13.9926644,2.38056886 L14.0707784,2.34354042 L14.1678462,2.3208398 L14.2649139,2.29813917 L14.5682506,2.29813917 L14.8715874,2.29813917 L14.8907789,2.30595173 L14.9099692,2.31376429 L14.8938183,2.40749114 C14.8849342,2.4590409 14.8637479,2.55228633 14.8467356,2.61470321 C14.8297232,2.67712008 14.7996905,2.76887348 14.7799954,2.81860031 C14.7603004,2.86832714 14.7441859,2.91229012 14.7441859,2.91629675 C14.7441859,2.92030338 14.7242458,2.95653742 14.6998745,2.99681631 L14.6555643,3.07005131 L14.5828035,3.14102257 C14.5427861,3.18005671 14.5056371,3.21199384 14.5002523,3.21199384 C14.4948674,3.21199384 14.4703372,3.22543885 14.4457427,3.24187151 L14.4010235,3.27174799 L14.3026357,3.30237108 L14.2042466,3.33299417 L14.1071788,3.33797677 Z M18.0566228,3.67628099 L18.1718907,3.67771091 L18.281092,3.66026166 C18.3411526,3.65066439 18.4175935,3.63520412 18.4509605,3.6259067 C18.4843276,3.61660808 18.5443882,3.59247515 18.5844287,3.57227836 L18.6572295,3.53555693 L18.7198576,3.48128471 L18.7824857,3.4270125 L18.8484444,3.34040775 C18.8847223,3.29277621 18.9175725,3.24574076 18.9214467,3.23588547 L18.9284889,3.21796675 L18.922364,3.27769581 C18.9189945,3.3105468 18.9114402,3.36430295 18.9055761,3.39715394 C18.8997132,3.43000492 18.8913059,3.49316841 18.8868942,3.53751724 L18.8788715,3.61815148 L19.1168877,3.61815148 L19.3549039,3.61815148 L19.3549039,3.53751724 L19.3549039,3.456883 L19.391166,3.15226478 C19.411111,2.98472475 19.4406038,2.7616367 19.4567061,2.65651355 C19.4728085,2.5513904 19.4976627,2.40087316 19.5119389,2.32203079 C19.5262139,2.24318843 19.5514964,2.10073461 19.5681205,2.00546676 C19.5847433,1.9101989 19.6147725,1.74355481 19.6348497,1.63514656 C19.654927,1.52673831 19.68706,1.35471861 19.7062552,1.25288055 C19.7254515,1.1510425 19.7552865,0.992461836 19.7725549,0.900479078 C19.7898244,0.80849632 19.8207636,0.647227848 19.841308,0.542104696 C19.8618536,0.436981544 19.8918657,0.289152111 19.9080008,0.213594845 C19.9241371,0.13803758 19.9373165,0.0721862871 19.9372885,0.0672586394 L19.9372886,0.0582992798 L19.6776105,0.0582992798 L19.4179324,0.0582992798 L19.4102629,0.132960609 C19.4060453,0.174024341 19.386167,0.309758638 19.3660873,0.434592381 C19.3460089,0.559426124 19.3132764,0.758323906 19.2933496,0.876587452 C19.2734228,0.994850998 19.2542119,1.109532 19.2506592,1.13143345 L19.2442006,1.17125601 L19.2237071,1.16267653 C19.2124364,1.15795674 19.1513431,1.14127321 19.0879458,1.12560031 L18.9726778,1.09710477 L18.8149427,1.08501083 L18.6572076,1.07291569 L18.5237395,1.08516015 L18.3902713,1.09740461 L18.2689366,1.12760004 L18.147602,1.15779547 L18.032334,1.21314639 L17.9170661,1.26849731 L17.8321318,1.33040529 L17.7471975,1.39231447 L17.6738471,1.46974245 C17.6335045,1.51232808 17.5752238,1.58276537 17.5443344,1.62626963 L17.488171,1.70537002 L17.4222183,1.84048553 C17.3859453,1.91479923 17.3418026,2.01323153 17.3241241,2.05922291 C17.3064456,2.10521429 17.2752675,2.20716464 17.2548384,2.28577884 L17.2176966,2.42871287 L17.1993969,2.61428869 L17.1810984,2.7998633 L17.1948396,2.94918596 L17.2085795,3.09850862 L17.224825,3.15226478 C17.2337589,3.18183067 17.2525985,3.23450692 17.2666891,3.26932419 L17.2923089,3.33262744 L17.3390179,3.39487707 L17.3857281,3.45712789 L17.4390608,3.5001364 L17.4923947,3.54314491 L17.5651955,3.57873388 C17.6052359,3.59830709 17.6724044,3.62360354 17.714459,3.63494729 C17.7565136,3.64629103 17.8247643,3.65990926 17.8661273,3.66521081 C17.9074903,3.67051236 17.9932036,3.67549377 18.056601,3.67628099 L18.0566228,3.67628099 Z M18.2635057,3.33735678 L18.1718907,3.34214706 L18.1100549,3.33118916 C18.0760448,3.3251625 18.0216226,3.30900698 17.989117,3.29528841 L17.9300149,3.27034555 L17.8802835,3.23022554 L17.830552,3.19010433 L17.7935947,3.12041485 L17.7566361,3.05072537 L17.7397949,2.97307759 L17.7229524,2.8954298 L17.7243805,2.74013424 L17.7258074,2.58483867 L17.7453666,2.44746183 L17.7649257,2.31008498 L17.7953249,2.21451848 C17.8120436,2.1619569 17.8258042,2.11236625 17.8259049,2.10431836 C17.8260262,2.09627046 17.8425132,2.05326554 17.8625892,2.00875185 C17.8826665,1.96423817 17.9162082,1.89556528 17.9371288,1.8561441 C17.9580481,1.81672291 17.9971506,1.75526768 18.0240226,1.71957718 C18.0508934,1.68388667 18.0987648,1.63013051 18.1304016,1.60011905 C18.1620384,1.57010758 18.2123656,1.53074374 18.2422382,1.51264345 L18.2965536,1.47973512 L18.3919567,1.44723295 L18.4873609,1.41473079 L18.6875631,1.41461133 L18.8877654,1.41461133 L19.0030333,1.44609571 C19.0664307,1.46341117 19.1337447,1.48349327 19.1526184,1.49072169 L19.1869367,1.50386327 L19.1802341,1.53665453 C19.176548,1.55468912 19.1621274,1.63395198 19.1481884,1.71279434 C19.1342495,1.79163671 19.1067842,1.94215395 19.0871522,2.0472771 C19.0675203,2.15240025 19.0373589,2.31098092 19.0201245,2.39967858 C19.0028914,2.48837624 18.9779292,2.60126417 18.9646527,2.65054064 C18.9513763,2.69981712 18.9326471,2.76806952 18.9230301,2.80221304 C18.9134143,2.83635657 18.890516,2.89548834 18.872146,2.93361698 C18.8537759,2.97174563 18.8216307,3.02713239 18.8007126,3.05669828 C18.7797957,3.08626416 18.7444145,3.12722038 18.7220889,3.14771103 C18.6997633,3.16820288 18.6514661,3.2046173 18.6147623,3.22863316 L18.5480283,3.2722975 L18.4515745,3.30243201 L18.3551207,3.33256771 L18.2635057,3.33735798 L18.2635057,3.33735678 Z M0.406035224,3.61815148 L0.700846957,3.61815148 L0.721999232,3.48973399 C0.733631588,3.41910437 0.756352721,3.28337007 0.772489021,3.18810222 C0.78862532,3.09283436 0.818658081,2.91543904 0.839229163,2.7938904 C0.859799032,2.67234175 0.890636242,2.49225862 0.907755352,2.39370567 C0.924874463,2.29515271 0.952074059,2.14227379 0.968198225,2.05397392 C0.984323604,1.96567525 1.00057639,1.89041663 1.00431713,1.88673254 L1.01111794,1.88003572 L1.80383747,1.88003572 L2.596557,1.88003572 L2.60535861,1.88869883 L2.61416145,1.89736193 L2.60041544,1.96634661 C2.59285507,2.0042877 2.57049188,2.12134114 2.55072039,2.22646429 C2.53094769,2.33158744 2.49770806,2.50898276 2.47685426,2.62067611 C2.45600047,2.73236946 2.42584638,2.89095012 2.40984597,2.97307759 C2.39384435,3.05520505 2.36146377,3.22722475 2.33788965,3.3553436 C2.31431432,3.48346244 2.29507549,3.59500646 2.29513616,3.60321921 L2.2952575,3.61815148 L2.59128136,3.61815148 L2.88730644,3.61815148 L2.90040452,3.54349015 C2.90760938,3.50242641 2.91920048,3.4285117 2.92616388,3.37923522 C2.93312606,3.32995874 2.9499115,3.22513424 2.96346337,3.14629187 C2.97701646,3.06744951 3.00409472,2.91155665 3.02363688,2.7998633 C3.04317905,2.68816995 3.07588966,2.4973356 3.09632728,2.37578695 C3.11676368,2.25423831 3.14708242,2.07684299 3.16370127,1.98157513 C3.18032,1.88630727 3.2099327,1.7250388 3.22950738,1.62320075 C3.24908194,1.52136269 3.28168651,1.34934299 3.30196202,1.24093474 C3.32223741,1.13252649 3.3526127,0.96857021 3.36946269,0.876587452 C3.3863128,0.784604694 3.41703596,0.617960606 3.43773662,0.506267257 C3.45843729,0.394573908 3.48457667,0.264215227 3.49582403,0.216581299 L3.5162739,0.129974156 L3.21654665,0.129974156 L2.91681989,0.129974156 L2.90866742,0.186716767 C2.9041841,0.217925202 2.88970402,0.305278958 2.87649067,0.380836224 C2.86327611,0.456393489 2.83924092,0.590783883 2.82307672,0.679481542 C2.80691251,0.768179202 2.77737358,0.937511097 2.75743465,1.05577464 C2.73749451,1.17403819 2.7120846,1.33059045 2.7009667,1.40366896 L2.68075113,1.53653985 L2.24076366,1.54530688 L1.80077498,1.55407391 L1.43224272,1.54546337 C1.22954949,1.54072805 1.0625869,1.53591269 1.06121339,1.53476231 C1.05983988,1.53361551 1.06674383,1.4871905 1.07655495,1.43160066 C1.08636486,1.37601082 1.10492543,1.27945999 1.11780025,1.21704312 C1.13067507,1.15462624 1.15508154,1.03098708 1.17203685,0.942289422 C1.18899095,0.853591763 1.20819702,0.74339164 1.21471511,0.697400261 C1.22123321,0.651408882 1.23489429,0.574806358 1.24507305,0.52717243 C1.25525061,0.479538501 1.27456709,0.379202037 1.28799762,0.304203835 C1.30142816,0.229204439 1.31573716,0.159321434 1.3197958,0.148908269 L1.32717538,0.129974156 L1.02986779,0.129974156 L0.732560203,0.129974156 L0.713517938,0.234500018 C0.703043115,0.291989241 0.689078706,0.373967381 0.682484166,0.416673662 C0.675889626,0.459379942 0.653744833,0.596458144 0.633273245,0.721291887 C0.612802871,0.84612563 0.582582041,1.03158437 0.566118138,1.13342243 C0.549653021,1.23526048 0.519668795,1.42071922 0.499487197,1.54555297 C0.479305599,1.67038671 0.446005295,1.86390887 0.4254876,1.97560222 C0.404969905,2.08729557 0.375264748,2.24587624 0.359476679,2.3280037 C0.343687397,2.41013116 0.313600035,2.56602402 0.292613988,2.67443227 C0.271629155,2.78284052 0.241013987,2.93604557 0.224581631,3.01488793 C0.208148062,3.0937303 0.189981833,3.18511576 0.184209942,3.21796675 C0.178439265,3.25081773 0.159657869,3.34556595 0.142475664,3.42851887 C0.125292247,3.51147178 0.111233197,3.58807431 0.111233197,3.5987467 L0.111233197,3.61815148 L0.40604493,3.61815148 L0.406035224,3.61815148 Z M3.6696828,3.61815148 L3.93066933,3.61815148 L3.93803423,3.59925559 C3.94208498,3.58886273 3.94539912,3.56160239 3.94539912,3.53867598 C3.94539912,3.51574958 3.96181061,3.39658174 3.98186905,3.27385882 C4.00192749,3.1511347 4.03506982,2.95127648 4.0555186,2.82972783 C4.07596737,2.70817919 4.10616636,2.53078387 4.12262747,2.43551601 C4.13908859,2.34024816 4.16836313,2.18166749 4.18768216,2.08311454 C4.20700119,1.98456158 4.23665805,1.83135654 4.2535863,1.74265888 C4.27051468,1.65396122 4.3038043,1.48521228 4.32756345,1.3676607 C4.3513226,1.25010912 4.37372499,1.14921121 4.37734671,1.14344138 L4.38393166,1.13295176 L4.1200058,1.13617355 L3.85607993,1.13939533 L3.83409918,1.2946909 C3.82200988,1.38010346 3.79557869,1.54943535 3.77536324,1.670984 C3.75514791,1.79253264 3.72457012,1.97799139 3.70741291,2.08311454 C3.69025558,2.18823769 3.66033444,2.35756959 3.64092138,2.45940764 C3.62150844,2.56124569 3.59175924,2.71713855 3.57481193,2.80583621 C3.55786476,2.89453387 3.52745513,3.05042672 3.50723495,3.15226478 C3.48701476,3.25410283 3.45988239,3.38849323 3.44694071,3.4509101 C3.43399891,3.51332697 3.42009966,3.57649045 3.41605327,3.5912734 L3.40869626,3.61815148 L3.6696828,3.61815148 Z M9.77371379,3.61815148 L10.0327662,3.61815148 L10.0405474,3.5102342 C10.0448257,3.45088023 10.0594866,3.33127278 10.0731246,3.24443986 C10.0867638,3.15760695 10.1146878,2.98442611 10.1351788,2.85959237 C10.155671,2.73475862 10.1937543,2.52697555 10.2198085,2.39785326 C10.2458627,2.26872977 10.2753155,2.14038396 10.2852589,2.11263742 C10.295201,2.08489208 10.3033365,2.05482685 10.3033365,2.04582568 C10.3033365,2.03682332 10.3228132,1.98777501 10.346619,1.9368285 C10.3704237,1.885882 10.4147873,1.80786868 10.4452047,1.76346729 L10.5005078,1.6827351 L10.5745377,1.61525798 L10.6485665,1.54777966 L10.7398538,1.50485597 L10.8311424,1.46193228 L10.9706773,1.46264903 L11.1102122,1.46336577 L11.1788136,1.48354942 C11.216545,1.49465186 11.2506704,1.50373426 11.2546478,1.50373426 C11.2586263,1.50373426 11.2618805,1.49103467 11.2618805,1.47551228 C11.2618805,1.45999108 11.2755307,1.38130521 11.2922142,1.30065544 C11.3088977,1.22000687 11.3225479,1.15061842 11.3225479,1.14646009 C11.3225479,1.14230175 11.2829624,1.12704814 11.2345802,1.11256384 C11.186198,1.09807954 11.1193123,1.08290836 11.0859452,1.07885156 L11.0252779,1.07147502 L10.9464103,1.08520913 C10.9030332,1.09276246 10.8385341,1.10943762 10.8030789,1.12226504 C10.7676249,1.13509245 10.7090846,1.16418528 10.6729899,1.18691816 C10.6368953,1.20964985 10.5807489,1.25394851 10.5482203,1.28535763 C10.5156916,1.31676676 10.4609794,1.3800951 10.4266368,1.42608648 C10.392293,1.47207786 10.356378,1.5204584 10.3468229,1.53359879 L10.3294514,1.55749042 L10.339999,1.50970717 C10.3458012,1.48342638 10.3619594,1.39741653 10.375908,1.31857416 C10.3898566,1.2397318 10.4041729,1.16581708 10.4077208,1.15431924 L10.4141733,1.13341406 L10.1828196,1.13341406 L9.95146594,1.13341406 L9.95146594,1.16220945 C9.95146594,1.1780472 9.93781118,1.27346438 9.92112208,1.37424762 C9.90443298,1.47503205 9.87691282,1.64350027 9.85996613,1.74862342 C9.84301943,1.85374657 9.8129425,2.03651751 9.79312843,2.15478105 C9.77331448,2.2730446 9.74322906,2.44237649 9.72627205,2.53107415 C9.70931504,2.61977181 9.67920475,2.77566467 9.65936022,2.87750272 C9.63951569,2.97934078 9.60656725,3.14598486 9.58614129,3.24782292 C9.56571544,3.34966097 9.54127633,3.46992783 9.53183225,3.515083 C9.52238804,3.56023818 9.51466108,3.6018992 9.51466108,3.60766305 L9.51466108,3.61815148 L9.77371379,3.61814311 L9.77371379,3.61815148 Z M15.9231926,3.61815148 L16.1880687,3.61815148 L16.1880687,3.53834508 L16.1880687,3.4585375 L16.2185916,3.26060494 C16.2353807,3.15174036 16.2630766,2.97934914 16.2801399,2.87751109 C16.2972031,2.77567303 16.3184719,2.64665825 16.3274021,2.59081158 C16.3363336,2.53496491 16.3600011,2.41401355 16.3799983,2.32203079 C16.3999955,2.23004804 16.4249722,2.13059914 16.4355041,2.10103326 C16.4460347,2.07146737 16.4547308,2.04044768 16.4548278,2.03210114 C16.4549492,2.0237546 16.4775041,1.97007848 16.5050034,1.9128222 L16.555003,1.80871922 L16.6209641,1.72243342 L16.6869253,1.63614762 L16.7591146,1.58271997 C16.7988189,1.55333566 16.862664,1.51433975 16.9009912,1.49606385 L16.9706774,1.46283419 L17.1223457,1.46386153 L17.2740141,1.46488886 L17.3337192,1.48376564 L17.3934244,1.50264122 L17.4034867,1.49651779 L17.413549,1.49039556 L17.4140586,1.45227648 C17.4143376,1.43131157 17.4273241,1.35330183 17.4429192,1.27892123 L17.4712752,1.14368388 L17.4393799,1.13139044 C17.4218386,1.12462911 17.3801856,1.1106334 17.3468185,1.10028833 L17.2861512,1.08147964 L17.17695,1.0817544 L17.0677488,1.08202915 L16.9787546,1.11285532 L16.8897605,1.1436803 L16.8229391,1.18334995 L16.7561176,1.22301961 L16.669242,1.3126132 L16.5823676,1.4022068 L16.5356913,1.47170873 C16.5100193,1.50993414 16.4874171,1.53950002 16.4854648,1.5374107 C16.4835113,1.53532018 16.4974648,1.45566431 16.5164719,1.36039645 C16.535479,1.2651286 16.5512658,1.17508703 16.5515534,1.16030409 L16.5520751,1.1334272 L16.327606,1.1334272 L16.1031368,1.1334272 L16.1031368,1.14103908 C16.1031368,1.14522489 16.0919461,1.22182741 16.0782681,1.31126691 C16.0645912,1.40070521 16.0371283,1.57333176 16.0172416,1.6948804 C15.9973536,1.81642905 15.9647218,2.01263902 15.9447271,2.13090257 C15.9247312,2.24916611 15.894588,2.41849801 15.8777419,2.50719567 C15.8608958,2.59589333 15.8309746,2.75178618 15.8112517,2.85362424 C15.7915287,2.95546229 15.7591214,3.11941857 15.7392359,3.21797153 C15.7193504,3.31652448 15.6930086,3.44688316 15.6806992,3.50765749 L15.6583178,3.61815625 L15.9231951,3.61815625 L15.9231926,3.61815148 Z M4.18287366,0.70311036 L4.25654638,0.703373168 L4.31510626,0.683728279 L4.37366602,0.664083389 L4.42549425,0.612324572 L4.47732236,0.56056456 L4.50462182,0.491606161 L4.53192127,0.422646568 L4.5328968,0.32110716 L4.53387233,0.219567752 L4.5096054,0.179918405 L4.48533846,0.140270252 L4.4430896,0.114516275 L4.40084074,0.0887622969 L4.30962145,0.0887622969 L4.21840216,0.0887611023 L4.15629991,0.116134932 L4.09419767,0.143508762 L4.05814865,0.181538257 L4.0220995,0.219567752 L3.99378945,0.285269722 L3.96547928,0.350971692 L3.96012782,0.453313859 L3.95477635,0.555656026 L3.98113328,0.606521296 L4.00749008,0.657385372 L4.05834557,0.680117059 L4.10920094,0.702848746 L4.18287366,0.703111554 L4.18287366,0.70311036 Z\"\n\t\t\t\t\tid=\"path2997\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import amex from './amex';\nimport dinersclub from './dinersclub';\nimport discover from './discover';\nimport hipercard from './hipercard';\nimport jcb from './jcb';\nimport unionpay from './unionpay';\nimport mastercard from './mastercard';\nimport placeholder from './placeholder';\nimport visa from './visa';\nimport troy from './troy';\n\nexport default {\n\tamex,\n\tdinersclub,\n\tdiscover,\n\thipercard,\n\tjcb,\n\tunionpay,\n\tmastercard,\n\tplaceholder,\n\tvisa,\n\ttroy,\n};\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z\"\n\t\t\tfill=\"#047ab1\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z\"\n\t\t\tfill=\"#d42d06\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z\"\n\t\t\tfill=\"#67b637\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\n\t\t<circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\n\t\t<path\n\t\t\td=\"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z\"\n\t\t\tfill=\"#ff5f00\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#D8D8D8\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"0.923076923\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tx=\"16.6153846\"\n\t\t\t\ty=\"3.76470588\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"2.82352941\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"6.46153846\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"11.9230769\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"5.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"18.4615385\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g>\n\t\t<path\n\t\t\ttransform=\"scale(0.6)\"\n\t\t\td=\"m33.6 24h-31.2c-1.325 0-2.4-1.075-2.4-2.4v-19.2c0-1.325 1.075-2.4 2.4-2.4h31.2c1.325 0 2.4 1.075 2.4 2.4v19.2c0 1.325-1.075 2.4-2.4 2.4zm-8.689-15.321c-.07-.002-.151-.004-.233-.004-.213 0-.424.01-.632.028l.027-.002c-.01.03.542 1.996 1.066 3.83l.064.224c1.114 3.896 1.114 3.896.937 4.274-.153.313-.392.565-.686.729l-.008.004-.231.116-.994.019c-.96.02-.998.024-1.12.111-.228.164-.315.425-.489 1.467-.09.55-.16.982-.16 1.006.148.031.318.049.492.049.084 0 .167-.004.249-.012l-.01.001c.214 0 .48 0 .812-.006.17.016.367.025.566.025.484 0 .956-.054 1.409-.157l-.043.008c1.072-.313 1.958-.975 2.55-1.852l.01-.016c.197-.286 5.257-9.732 5.257-9.814-.167-.024-.359-.038-.555-.038-.09 0-.178.003-.267.009l.012-.001h-.594l-1.4.011-.266.132c-.149.071-.277.163-.385.274-.067.08-.528 1.088-1.12 2.445-.344.887-.691 1.622-1.083 2.33l.049-.096c-.022-.046-.218-1.266-.378-2.282-.187-1.218-.366-2.27-.4-2.346-.065-.168-.191-.3-.349-.372l-.004-.002c-.151-.08-.223-.08-1.539-.095h-.553zm-3.77.131c-.043 0-.052.027-.062.071-.027.123-.418 2.354-.418 2.386.042.047.092.087.148.117l.003.001c.41.281.69.725.746 1.237l.001.008c.003.04.005.087.005.134 0 .787-.538 1.448-1.266 1.637l-.012.003c-.136.032-.19.067-.203.131-.035.168-.418 2.357-.418 2.39 0 .006.023.015.179.015.07 0 .16 0 .25-.007 1.958-.11 3.55-1.545 3.9-3.417l.004-.026c.026-.2.041-.431.041-.665 0-.321-.028-.636-.082-.942l.005.032c-.291-1.35-1.207-2.439-2.423-2.964l-.027-.01c-.108-.056-.232-.101-.364-.129l-.01-.002zm-16.966-.136c-.167 0-.603 0-.612.008s-.025.13-.058.32l-.137.758c-.104.588-.179 1.074-.167 1.082s.32.012.621.012h.596l-.012.091c0 .026-.037.211-.085.489l-.185 1.058c-.172.615-.271 1.322-.271 2.051 0 .156.005.31.013.464l-.001-.021c.182 1.082 1.114 1.766 2.624 1.925.198.021.466.031.701.031.038.003.081.004.125.004.138 0 .273-.016.403-.046l-.012.002c.022-.027.413-2.182.418-2.306 0-.052-.069-.068-.386-.088-.778-.043-1.126-.297-1.126-.823 0-.16.367-2.381.457-2.763.013-.059.032-.075.433-.075h.606c.053.003.116.004.179.004.174 0 .344-.012.512-.034l-.019.002c.025-.042.378-2 .378-2.099 0-.037-.198-.047-.847-.047h-.846l.107-.609c.195-1.063.149-1.32-.278-1.527-.214-.107-.231-.107-1.152-.123l-.953-.012-.024.111c-.012.064-.096.525-.183 1.03s-.171.96-.183 1.022l-.024.112zm6-.008-.025.111c-.04.186-1.415 8.014-1.415 8.053.294.026.637.042.983.042.135 0 .27-.002.404-.007l-.019.001h1.369l.04-.21c.025-.111.16-.871.302-1.686.14-.8.297-1.6.342-1.75.238-.867.892-1.541 1.727-1.805l.018-.005c.2-.061.43-.096.668-.096.056 0 .111.002.165.006h-.007c.499 0 .53-.005.545-.08.045-.195.452-2.57.445-2.593-.066-.021-.141-.034-.22-.034-.024 0-.048.001-.072.003h.003c-.006 0-.014 0-.021 0-.16 0-.317.013-.47.038l.017-.002c-.622.133-1.164.417-1.603.813l.003-.003c-.292.27-.546.576-.756.912l-.011.019c-.022.056-.054.104-.094.144.015-.157.037-.297.066-.435l-.004.024c.166-.885.076-1.192-.4-1.371-.269-.047-.578-.074-.894-.074-.058 0-.115.001-.173.003h.008zm9.704-.026h-.141c-.236 0-.467.022-.691.064l.023-.004c-1.274.263-2.314 1.086-2.869 2.195l-.011.024c-.272.488-.432 1.07-.432 1.689 0 .051.001.101.003.151v-.007c-.001.041-.002.09-.002.139 0 .262.024.518.069.767l-.004-.026c.249 1.142.939 2.09 1.879 2.674l.018.01c.276.177.595.325.933.427l.027.007c.025-.018.139-.633.247-1.233l.218-1.213-.103-.08c-.27-.187-.487-.434-.635-.721l-.005-.011c-.099-.162-.157-.359-.157-.569 0-.052.004-.103.01-.153l-.001.006c-.006-.044-.009-.095-.009-.147 0-.2.051-.387.14-.551l-.003.006c.228-.47.651-.815 1.161-.931l.011-.002c.08-.008.151-.031.151-.052 0-.054.4-2.314.422-2.394-.015-.056-.07-.064-.249-.064z\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981\"\n\t\t\tfill=\"#dd2423\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981\"\n\t\t\tfill=\"#16315e\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981\"\n\t\t\tfill=\"#036862\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.42760986.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z\"\n\t\t\tfill=\"#fefefe\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-80.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g id=\"Visa\" transform=\"translate(40.000000, 0.000000)\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t\tx=\"0.25\"\n\t\t\t\t\t\t\ty=\"0.25\"\n\t\t\t\t\t\t\twidth=\"23.5\"\n\t\t\t\t\t\t\theight=\"15.5\"\n\t\t\t\t\t\t\trx=\"2\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.1118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z\"\n\t\t\t\t\t\t\tid=\"Shape\"\n\t\t\t\t\t\t\tfill=\"#171E6C\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","export const DEFAULT_CVC_LENGTH = 3;\nexport const DEFAULT_ZIP_LENGTH = 5;\nexport const DEFAULT_CARD_FORMAT = /(\\d{1,4})/g;\nexport const CARD_TYPES = [\n\t{\n\t\tdisplayName: 'Visa',\n\t\ttype: 'visa',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^4/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Mastercard',\n\t\ttype: 'mastercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'American Express',\n\t\ttype: 'amex',\n\t\tformat: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n\t\tstartPattern: /^3[47]/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 15 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 4,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Diners Club',\n\t\ttype: 'dinersclub',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(36|38|30[0-5])/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 14, 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Discover',\n\t\ttype: 'discover',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(6011|65|64[4-9]|622)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'JCB',\n\t\ttype: 'jcb',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^35/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'UnionPay',\n\t\ttype: 'unionpay',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^62/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVN',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Maestro',\n\t\ttype: 'maestro',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5018|5020|5038|6304|6703|6708|6759|676[1-3])/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 12, 13, 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Elo',\n\t\ttype: 'elo',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern:\n\t\t\t/^(4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVE',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Hipercard',\n\t\ttype: 'hipercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Troy',\n\t\ttype: 'troy',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^9792/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n];\n\nexport const getCardTypeByValue = ( value ) =>\n\tCARD_TYPES.filter( ( cardType ) =>\n\t\tcardType.startPattern.test( value )\n\t)[ 0 ];\nexport const getCardTypeByType = ( type ) =>\n\tCARD_TYPES.filter( ( cardType ) => cardType.type === type )[ 0 ];\n","import * as cardTypes from './cardTypes';\n\nexport const formatCardNumber = ( cardNumber ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( cardNumber );\n\n\tif ( ! cardType ) return ( cardNumber.match( /\\d+/g ) || [] ).join( '' );\n\n\tconst format = cardType.format;\n\tif ( format && format.global ) {\n\t\treturn ( cardNumber.match( format ) || [] ).join( ' ' );\n\t}\n\n\tif ( format ) {\n\t\tconst execResult = format.exec( cardNumber.split( ' ' ).join( '' ) );\n\t\tif ( execResult ) {\n\t\t\treturn execResult\n\t\t\t\t.splice( 1, 3 )\n\t\t\t\t.filter( ( x ) => x )\n\t\t\t\t.join( ' ' );\n\t\t}\n\t}\n\n\treturn cardNumber;\n};\n\nexport const formatExpiry = ( event ) => {\n\tconst eventData = event.nativeEvent && event.nativeEvent.data;\n\tconst prevExpiry = event.target.value.split( ' / ' ).join( '/' );\n\n\tif ( ! prevExpiry ) return null;\n\tlet expiry = prevExpiry;\n\tif ( /^[2-9]$/.test( expiry ) ) {\n\t\texpiry = `0${ expiry }`;\n\t}\n\n\tif ( prevExpiry.length === 2 && +prevExpiry > 12 ) {\n\t\tconst [ head, ...tail ] = prevExpiry.split( '' );\n\t\texpiry = `0${ head }/${ tail.join( '' ) }`;\n\t}\n\n\tif ( /^1[/-]$/.test( expiry ) ) {\n\t\treturn `01 / `;\n\t}\n\n\texpiry = expiry.match( /(\\d{1,2})/g ) || [];\n\tif ( expiry.length === 1 ) {\n\t\tif ( ! eventData && prevExpiry.includes( '/' ) ) {\n\t\t\treturn expiry[ 0 ];\n\t\t}\n\t\tif ( /\\d{2}/.test( expiry ) ) {\n\t\t\treturn `${ expiry[ 0 ] } / `;\n\t\t}\n\t}\n\tif ( expiry.length > 2 ) {\n\t\tconst [ , month = null, year = null ] =\n\t\t\texpiry.join( '' ).match( /^(\\d{2}).*(\\d{2})$/ ) || [];\n\t\treturn [ month, year ].join( ' / ' );\n\t}\n\treturn expiry.join( ' / ' );\n};\n","import * as cardTypes from './cardTypes';\nimport * as formatter from './formatter';\nimport * as validator from './validator';\n\nexport const BACKSPACE_KEY_CODE = 'Backspace';\nexport const ENTER_KEY_CODE = 'Enter';\n\nexport const isHighlighted = () =>\n\t( window.getSelection() || { type: undefined } ).type === 'Range';\n\nexport default {\n\tcardTypes,\n\tformatter,\n\tvalidator,\n\tBACKSPACE_KEY_CODE,\n\tENTER_KEY_CODE,\n\tisHighlighted,\n};\n","import * as cardTypes from './cardTypes';\n\nconst MONTH_REGEX = /(0[1-9]|1[0-2])/;\n\nexport const EMPTY_CARD_NUMBER = 'Enter a card number';\nexport const EMPTY_EXPIRY_DATE = 'Enter an expiry date';\nexport const EMPTY_CVC = 'Enter a CVC';\nexport const EMPTY_ZIP = 'Enter a ZIP code';\nexport const EMPTY_ADDRESS = 'Enter an Address';\n\nexport const INVALID_CARD_NUMBER = 'Card number is invalid';\nexport const INVALID_EXPIRY_DATE = 'Expiry date is invalid';\nexport const INVALID_CVC = 'CVC is invalid';\nexport const INVALID_ZIP = 'Zip is invalid';\n\nexport const MONTH_OUT_OF_RANGE = 'Expiry month must be between 01 and 12';\nexport const YEAR_OUT_OF_RANGE = 'Expiry year cannot be in the past';\nexport const DATE_OUT_OF_RANGE = 'Expiry date cannot be in the past';\n\nexport const hasCardNumberReachedMaxLength = ( currentValue ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( currentValue );\n\treturn (\n\t\tcardType &&\n\t\tcurrentValue.length >= cardType.lengths[ cardType.lengths.length - 1 ]\n\t);\n};\n\nexport const isNumeric = ( e ) => {\n\treturn /^\\d*$/.test( e.key );\n};\n\nexport const validateLuhn = ( cardNumber ) => {\n\treturn (\n\t\tcardNumber\n\t\t\t.split( '' )\n\t\t\t.reverse()\n\t\t\t.map( ( digit ) => parseInt( digit, 10 ) )\n\t\t\t.map( ( digit, idx ) => ( idx % 2 ? digit * 2 : digit ) )\n\t\t\t.map( ( digit ) => ( digit > 9 ? ( digit % 10 ) + 1 : digit ) )\n\t\t\t.reduce( ( accum, digit ) => ( accum += digit ) ) %\n\t\t\t10 ===\n\t\t0\n\t);\n};\nexport const getCardNumberError = (\n\tcardNumber,\n\tcardNumberValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! cardNumber ) {\n\t\treturn errorMessages.emptyCardNumber || EMPTY_CARD_NUMBER;\n\t}\n\n\tconst rawCardNumber = cardNumber.replace( /\\s/g, '' );\n\tconst cardType = cardTypes.getCardTypeByValue( rawCardNumber );\n\tif ( cardType && cardType.lengths ) {\n\t\tconst doesCardNumberMatchLength = cardType.lengths.includes(\n\t\t\trawCardNumber.length\n\t\t);\n\t\tif ( doesCardNumberMatchLength ) {\n\t\t\tconst isLuhnValid = validateLuhn( rawCardNumber );\n\t\t\tif ( isLuhnValid ) {\n\t\t\t\tif ( cardNumberValidator ) {\n\t\t\t\t\treturn cardNumberValidator( {\n\t\t\t\t\t\tcardNumber: rawCardNumber,\n\t\t\t\t\t\tcardType,\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\treturn errorMessages.invalidCardNumber || INVALID_CARD_NUMBER;\n};\nexport const getExpiryDateError = (\n\texpiryDate,\n\texpiryValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! expiryDate ) {\n\t\treturn errorMessages.emptyExpiryDate || EMPTY_EXPIRY_DATE;\n\t}\n\tconst rawExpiryDate = expiryDate.replace( ' / ', '' ).replace( '/', '' );\n\tif ( rawExpiryDate.length === 4 ) {\n\t\tconst month = rawExpiryDate.slice( 0, 2 );\n\t\tconst year = `20${ rawExpiryDate.slice( 2, 4 ) }`;\n\t\tif ( ! MONTH_REGEX.test( month ) ) {\n\t\t\treturn errorMessages.monthOutOfRange || MONTH_OUT_OF_RANGE;\n\t\t}\n\t\tif ( parseInt( year ) < new Date().getFullYear() ) {\n\t\t\treturn errorMessages.yearOutOfRange || YEAR_OUT_OF_RANGE;\n\t\t}\n\t\tif (\n\t\t\tparseInt( year ) === new Date().getFullYear() &&\n\t\t\tparseInt( month ) < new Date().getMonth() + 1\n\t\t) {\n\t\t\treturn errorMessages.dateOutOfRange || DATE_OUT_OF_RANGE;\n\t\t}\n\t\tif ( expiryValidator ) {\n\t\t\treturn expiryValidator( {\n\t\t\t\texpiryDate: { month, year },\n\t\t\t\terrorMessages,\n\t\t\t} );\n\t\t}\n\t\treturn;\n\t}\n\treturn errorMessages.invalidExpiryDate || INVALID_EXPIRY_DATE;\n};\nexport const getCVCError = (\n\tcvc,\n\tcvcValidator,\n\t{ cardType, errorMessages = {} } = {}\n) => {\n\tif ( ! cvc ) {\n\t\treturn errorMessages.emptyCVC || EMPTY_CVC;\n\t}\n\tif ( cvc.length < 3 ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cardType && cvc.length !== cardType.code.length ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cvcValidator ) {\n\t\treturn cvcValidator( { cvc, cardType, errorMessages } );\n\t}\n\treturn;\n};\nexport const getZIPError = ( zip, { errorMessages = {} } = {} ) => {\n\tif ( ! zip ) {\n\t\treturn errorMessages.emptyZIP || EMPTY_ZIP;\n\t}\n\tif ( zip.length <= 3 ) {\n\t\treturn errorMessages.invalidAddress || INVALID_ZIP;\n\t}\n\treturn;\n};\n\nexport const getAddressError = ( address, { errorMessages = {} } = {} ) => {\n\tif ( ! address ) {\n\t\treturn errorMessages.emptyAddress || EMPTY_ADDRESS;\n\t}\n\treturn;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n  (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n  if (maybeIterable === null || typeof maybeIterable !== 'object') {\n    return null;\n  }\n\n  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n  if (typeof maybeIterator === 'function') {\n    return maybeIterator;\n  }\n\n  return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n  {\n    {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      printWarning('error', format, args);\n    }\n  }\n}\n\nfunction printWarning(level, format, args) {\n  // When changing this logic, you might want to also\n  // update consoleWithStackDev.www.js as well.\n  {\n    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n    var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n    if (stack !== '') {\n      format += '%s';\n      args = args.concat([stack]);\n    } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n    var argsWithFormat = args.map(function (item) {\n      return String(item);\n    }); // Careful: RN currently depends on this prefix\n\n    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n    // breaks IE9: https://github.com/facebook/react/issues/13610\n    // eslint-disable-next-line react-internal/no-production-logging\n\n    Function.prototype.apply.call(console[level], console, argsWithFormat);\n  }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n    // types supported by any Flight configuration anywhere since\n    // we don't know which Flight build this will end up being used\n    // with.\n    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n  var displayName = outerType.displayName;\n\n  if (displayName) {\n    return displayName;\n  }\n\n  var functionName = innerType.displayName || innerType.name || '';\n  return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n  return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n  if (type == null) {\n    // Host root, text node or just invalid type.\n    return null;\n  }\n\n  {\n    if (typeof type.tag === 'number') {\n      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n    }\n  }\n\n  if (typeof type === 'function') {\n    return type.displayName || type.name || null;\n  }\n\n  if (typeof type === 'string') {\n    return type;\n  }\n\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return 'Fragment';\n\n    case REACT_PORTAL_TYPE:\n      return 'Portal';\n\n    case REACT_PROFILER_TYPE:\n      return 'Profiler';\n\n    case REACT_STRICT_MODE_TYPE:\n      return 'StrictMode';\n\n    case REACT_SUSPENSE_TYPE:\n      return 'Suspense';\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return 'SuspenseList';\n\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_CONTEXT_TYPE:\n        var context = type;\n        return getContextName(context) + '.Consumer';\n\n      case REACT_PROVIDER_TYPE:\n        var provider = type;\n        return getContextName(provider._context) + '.Provider';\n\n      case REACT_FORWARD_REF_TYPE:\n        return getWrappedName(type, type.render, 'ForwardRef');\n\n      case REACT_MEMO_TYPE:\n        var outerName = type.displayName || null;\n\n        if (outerName !== null) {\n          return outerName;\n        }\n\n        return getComponentNameFromType(type.type) || 'Memo';\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            return getComponentNameFromType(init(payload));\n          } catch (x) {\n            return null;\n          }\n        }\n\n      // eslint-disable-next-line no-fallthrough\n    }\n  }\n\n  return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n  {\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      prevLog = console.log;\n      prevInfo = console.info;\n      prevWarn = console.warn;\n      prevError = console.error;\n      prevGroup = console.group;\n      prevGroupCollapsed = console.groupCollapsed;\n      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n      var props = {\n        configurable: true,\n        enumerable: true,\n        value: disabledLog,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        info: props,\n        log: props,\n        warn: props,\n        error: props,\n        group: props,\n        groupCollapsed: props,\n        groupEnd: props\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    disabledDepth++;\n  }\n}\nfunction reenableLogs() {\n  {\n    disabledDepth--;\n\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      var props = {\n        configurable: true,\n        enumerable: true,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        log: assign({}, props, {\n          value: prevLog\n        }),\n        info: assign({}, props, {\n          value: prevInfo\n        }),\n        warn: assign({}, props, {\n          value: prevWarn\n        }),\n        error: assign({}, props, {\n          value: prevError\n        }),\n        group: assign({}, props, {\n          value: prevGroup\n        }),\n        groupCollapsed: assign({}, props, {\n          value: prevGroupCollapsed\n        }),\n        groupEnd: assign({}, props, {\n          value: prevGroupEnd\n        })\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    if (disabledDepth < 0) {\n      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n    }\n  }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n  {\n    if (prefix === undefined) {\n      // Extract the VM specific prefix used by each line.\n      try {\n        throw Error();\n      } catch (x) {\n        var match = x.stack.trim().match(/\\n( *(at )?)/);\n        prefix = match && match[1] || '';\n      }\n    } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n    return '\\n' + prefix + name;\n  }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n  componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n  // If something asked for a stack inside a fake render, it should get ignored.\n  if ( !fn || reentry) {\n    return '';\n  }\n\n  {\n    var frame = componentFrameCache.get(fn);\n\n    if (frame !== undefined) {\n      return frame;\n    }\n  }\n\n  var control;\n  reentry = true;\n  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n  Error.prepareStackTrace = undefined;\n  var previousDispatcher;\n\n  {\n    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n    // for warnings.\n\n    ReactCurrentDispatcher.current = null;\n    disableLogs();\n  }\n\n  try {\n    // This should throw.\n    if (construct) {\n      // Something should be setting the props in the constructor.\n      var Fake = function () {\n        throw Error();\n      }; // $FlowFixMe\n\n\n      Object.defineProperty(Fake.prototype, 'props', {\n        set: function () {\n          // We use a throwing setter instead of frozen or non-writable props\n          // because that won't throw in a non-strict mode function.\n          throw Error();\n        }\n      });\n\n      if (typeof Reflect === 'object' && Reflect.construct) {\n        // We construct a different control for this case to include any extra\n        // frames added by the construct call.\n        try {\n          Reflect.construct(Fake, []);\n        } catch (x) {\n          control = x;\n        }\n\n        Reflect.construct(fn, [], Fake);\n      } else {\n        try {\n          Fake.call();\n        } catch (x) {\n          control = x;\n        }\n\n        fn.call(Fake.prototype);\n      }\n    } else {\n      try {\n        throw Error();\n      } catch (x) {\n        control = x;\n      }\n\n      fn();\n    }\n  } catch (sample) {\n    // This is inlined manually because closure doesn't do it for us.\n    if (sample && control && typeof sample.stack === 'string') {\n      // This extracts the first frame from the sample that isn't also in the control.\n      // Skipping one frame that we assume is the frame that calls the two.\n      var sampleLines = sample.stack.split('\\n');\n      var controlLines = control.stack.split('\\n');\n      var s = sampleLines.length - 1;\n      var c = controlLines.length - 1;\n\n      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n        // We expect at least one stack frame to be shared.\n        // Typically this will be the root most one. However, stack frames may be\n        // cut off due to maximum stack limits. In this case, one maybe cut off\n        // earlier than the other. We assume that the sample is longer or the same\n        // and there for cut off earlier. So we should find the root most frame in\n        // the sample somewhere in the control.\n        c--;\n      }\n\n      for (; s >= 1 && c >= 0; s--, c--) {\n        // Next we find the first one that isn't the same which should be the\n        // frame that called our sample function and the control.\n        if (sampleLines[s] !== controlLines[c]) {\n          // In V8, the first line is describing the message but other VMs don't.\n          // If we're about to return the first line, and the control is also on the same\n          // line, that's a pretty good indicator that our sample threw at same line as\n          // the control. I.e. before we entered the sample frame. So we ignore this result.\n          // This can happen if you passed a class to function component, or non-function.\n          if (s !== 1 || c !== 1) {\n            do {\n              s--;\n              c--; // We may still have similar intermediate frames from the construct call.\n              // The next one that isn't the same should be our match though.\n\n              if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n                // but we have a user-provided \"displayName\"\n                // splice it in to make the stack more readable.\n\n\n                if (fn.displayName && _frame.includes('<anonymous>')) {\n                  _frame = _frame.replace('<anonymous>', fn.displayName);\n                }\n\n                {\n                  if (typeof fn === 'function') {\n                    componentFrameCache.set(fn, _frame);\n                  }\n                } // Return the line we found.\n\n\n                return _frame;\n              }\n            } while (s >= 1 && c >= 0);\n          }\n\n          break;\n        }\n      }\n    }\n  } finally {\n    reentry = false;\n\n    {\n      ReactCurrentDispatcher.current = previousDispatcher;\n      reenableLogs();\n    }\n\n    Error.prepareStackTrace = previousPrepareStackTrace;\n  } // Fallback to just using the name if we couldn't make it throw.\n\n\n  var name = fn ? fn.displayName || fn.name : '';\n  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n  {\n    if (typeof fn === 'function') {\n      componentFrameCache.set(fn, syntheticFrame);\n    }\n  }\n\n  return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n  {\n    return describeNativeComponentFrame(fn, false);\n  }\n}\n\nfunction shouldConstruct(Component) {\n  var prototype = Component.prototype;\n  return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n  if (type == null) {\n    return '';\n  }\n\n  if (typeof type === 'function') {\n    {\n      return describeNativeComponentFrame(type, shouldConstruct(type));\n    }\n  }\n\n  if (typeof type === 'string') {\n    return describeBuiltInComponentFrame(type);\n  }\n\n  switch (type) {\n    case REACT_SUSPENSE_TYPE:\n      return describeBuiltInComponentFrame('Suspense');\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return describeBuiltInComponentFrame('SuspenseList');\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_FORWARD_REF_TYPE:\n        return describeFunctionComponentFrame(type.render);\n\n      case REACT_MEMO_TYPE:\n        // Memo may contain any component type so we recursively resolve it.\n        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            // Lazy may contain any component type so we recursively resolve it.\n            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n          } catch (x) {}\n        }\n    }\n  }\n\n  return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame.setExtraStackFrame(null);\n    }\n  }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n  {\n    // $FlowFixMe This is okay but Flow doesn't know it.\n    var has = Function.call.bind(hasOwnProperty);\n\n    for (var typeSpecName in typeSpecs) {\n      if (has(typeSpecs, typeSpecName)) {\n        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            // eslint-disable-next-line react-internal/prod-error-codes\n            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n\n          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n        } catch (ex) {\n          error$1 = ex;\n        }\n\n        if (error$1 && !(error$1 instanceof Error)) {\n          setCurrentlyValidatingElement(element);\n\n          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n          setCurrentlyValidatingElement(null);\n        }\n\n        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error$1.message] = true;\n          setCurrentlyValidatingElement(element);\n\n          error('Failed %s type: %s', location, error$1.message);\n\n          setCurrentlyValidatingElement(null);\n        }\n      }\n    }\n  }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n  return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n  {\n    // toStringTag is needed for namespaced types like Temporal.Instant\n    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n    return type;\n  }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n  {\n    try {\n      testStringCoercion(value);\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n}\n\nfunction testStringCoercion(value) {\n  // If you ended up here by following an exception call stack, here's what's\n  // happened: you supplied an object or symbol value to React (as a prop, key,\n  // DOM attribute, CSS property, string ref, etc.) and when React tried to\n  // coerce it to a string using `'' + value`, an exception was thrown.\n  //\n  // The most common types that will cause this exception are `Symbol` instances\n  // and Temporal objects like `Temporal.Instant`. But any object that has a\n  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n  // exception. (Library authors do this to prevent users from using built-in\n  // numeric operators like `+` or comparison operators like `>=` because custom\n  // methods are needed to perform accurate arithmetic or comparison.)\n  //\n  // To fix the problem, coerce this object or symbol value to a string before\n  // passing it to React. The most reliable way is usually `String(value)`.\n  //\n  // To find which value is throwing, check the browser or debugger console.\n  // Before this exception was thrown, there should be `console.error` output\n  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n  // problem and how that type was used: key, atrribute, input value prop, etc.\n  // In most cases, this console output also shows the component and its\n  // ancestor components where the exception happened.\n  //\n  // eslint-disable-next-line react-internal/safe-string-coercion\n  return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n  {\n    if (willCoercionThrow(value)) {\n      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n    }\n  }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n  key: true,\n  ref: true,\n  __self: true,\n  __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n  didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n  {\n    if (hasOwnProperty.call(config, 'ref')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n  {\n    if (hasOwnProperty.call(config, 'key')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n  {\n    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n      if (!didWarnAboutStringRefs[componentName]) {\n        error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n        didWarnAboutStringRefs[componentName] = true;\n      }\n    }\n  }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingKey = function () {\n      if (!specialPropKeyWarningShown) {\n        specialPropKeyWarningShown = true;\n\n        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, 'key', {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingRef = function () {\n      if (!specialPropRefWarningShown) {\n        specialPropRefWarningShown = true;\n\n        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, 'ref', {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n  var element = {\n    // This tag allows us to uniquely identify this as a React Element\n    $$typeof: REACT_ELEMENT_TYPE,\n    // Built-in properties that belong on the element\n    type: type,\n    key: key,\n    ref: ref,\n    props: props,\n    // Record the component responsible for creating this element.\n    _owner: owner\n  };\n\n  {\n    // The validation flag is currently mutative. We put it on\n    // an external backing store so that we can freeze the whole object.\n    // This can be replaced with a WeakMap once they are implemented in\n    // commonly used development environments.\n    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n    // the validation flag non-enumerable (where possible, which should\n    // include every environment we run tests in), so the test framework\n    // ignores it.\n\n    Object.defineProperty(element._store, 'validated', {\n      configurable: false,\n      enumerable: false,\n      writable: true,\n      value: false\n    }); // self and source are DEV only properties.\n\n    Object.defineProperty(element, '_self', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: self\n    }); // Two elements created in two different places should be considered\n    // equal for testing purposes and therefore we hide it from enumeration.\n\n    Object.defineProperty(element, '_source', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: source\n    });\n\n    if (Object.freeze) {\n      Object.freeze(element.props);\n      Object.freeze(element);\n    }\n  }\n\n  return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n  {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n    // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n    // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n    // but as an intermediary step, we will use jsxDEV for everything except\n    // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n    // key is explicitly declared to be undefined or not.\n\n    if (maybeKey !== undefined) {\n      {\n        checkKeyStringCoercion(maybeKey);\n      }\n\n      key = '' + maybeKey;\n    }\n\n    if (hasValidKey(config)) {\n      {\n        checkKeyStringCoercion(config.key);\n      }\n\n      key = '' + config.key;\n    }\n\n    if (hasValidRef(config)) {\n      ref = config.ref;\n      warnIfStringRefCannotBeAutoConverted(config, self);\n    } // Remaining properties are added to a new props object\n\n\n    for (propName in config) {\n      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n        props[propName] = config[propName];\n      }\n    } // Resolve default props\n\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n\n    if (key || ref) {\n      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n      if (key) {\n        defineKeyPropWarningGetter(props, displayName);\n      }\n\n      if (ref) {\n        defineRefPropWarningGetter(props, displayName);\n      }\n    }\n\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n    }\n  }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n  propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n  {\n    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n}\n\nfunction getDeclarationErrorAddendum() {\n  {\n    if (ReactCurrentOwner$1.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n      if (name) {\n        return '\\n\\nCheck the render method of `' + name + '`.';\n      }\n    }\n\n    return '';\n  }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n  {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n      var lineNumber = source.lineNumber;\n      return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n    }\n\n    return '';\n  }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n  {\n    var info = getDeclarationErrorAddendum();\n\n    if (!info) {\n      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n\n    return info;\n  }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n  {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = '';\n\n    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n\n    setCurrentlyValidatingElement$1(element);\n\n    error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n    setCurrentlyValidatingElement$1(null);\n  }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n  {\n    if (typeof node !== 'object') {\n      return;\n    }\n\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n\n      if (typeof iteratorFn === 'function') {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n  {\n    var type = element.type;\n\n    if (type === null || type === undefined || typeof type === 'string') {\n      return;\n    }\n\n    var propTypes;\n\n    if (typeof type === 'function') {\n      propTypes = type.propTypes;\n    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n    // Inner props are checked in the reconciler.\n    type.$$typeof === REACT_MEMO_TYPE)) {\n      propTypes = type.propTypes;\n    } else {\n      return;\n    }\n\n    if (propTypes) {\n      // Intentionally inside to avoid triggering lazy initializers:\n      var name = getComponentNameFromType(type);\n      checkPropTypes(propTypes, element.props, 'prop', name, element);\n    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n      var _name = getComponentNameFromType(type);\n\n      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n    }\n\n    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n    }\n  }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n  {\n    var keys = Object.keys(fragment.props);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n\n      if (key !== 'children' && key !== 'key') {\n        setCurrentlyValidatingElement$1(fragment);\n\n        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n        setCurrentlyValidatingElement$1(null);\n        break;\n      }\n    }\n\n    if (fragment.ref !== null) {\n      setCurrentlyValidatingElement$1(fragment);\n\n      error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n  {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = '';\n\n      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n        info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n\n      var sourceInfo = getSourceInfoErrorAddendum(source);\n\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n\n      var typeString;\n\n      if (type === null) {\n        typeString = 'null';\n      } else if (isArray(type)) {\n        typeString = 'array';\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n        info = ' Did you accidentally export a JSX literal instead of a component?';\n      } else {\n        typeString = typeof type;\n      }\n\n      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n    }\n\n    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n\n    if (validType) {\n      var children = props.children;\n\n      if (children !== undefined) {\n        if (isStaticChildren) {\n          if (isArray(children)) {\n            for (var i = 0; i < children.length; i++) {\n              validateChildKeys(children[i], type);\n            }\n\n            if (Object.freeze) {\n              Object.freeze(children);\n            }\n          } else {\n            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n          }\n        } else {\n          validateChildKeys(children, type);\n        }\n      }\n    }\n\n    {\n      if (hasOwnProperty.call(props, 'key')) {\n        var componentName = getComponentNameFromType(type);\n        var keys = Object.keys(props).filter(function (k) {\n          return k !== 'key';\n        });\n        var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n        if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n          var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n          error('A props object containing a \"key\" prop is being spread into JSX:\\n' + '  let props = %s;\\n' + '  <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + '  let props = %s;\\n' + '  <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n          didWarnAboutKeySpread[componentName + beforeExample] = true;\n        }\n      }\n    }\n\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n\n    return element;\n  }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, true);\n  }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, false);\n  }\n}\n\nvar jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs =  jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n  })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n  var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n  if (ret !== void 0) {\n    return !!ret;\n  }\n\n  if (objA === objB) {\n    return true;\n  }\n\n  if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n    return false;\n  }\n\n  var keysA = Object.keys(objA);\n  var keysB = Object.keys(objB);\n\n  if (keysA.length !== keysB.length) {\n    return false;\n  }\n\n  var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n  // Test for A's keys different from B.\n  for (var idx = 0; idx < keysA.length; idx++) {\n    var key = keysA[idx];\n\n    if (!bHasOwnProperty(key)) {\n      return false;\n    }\n\n    var valueA = objA[key];\n    var valueB = objB[key];\n\n    ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n    if (ret === false || (ret === void 0 && valueA !== valueB)) {\n      return false;\n    }\n  }\n\n  return true;\n};\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.13\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,e([t],n,!1))},r(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"use\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"tspan\"]),O=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}function se(e){return\"object\"==typeof e&&\"styledComponentId\"in e}function ie(e,t){return e&&t?\"\".concat(e,\" \").concat(t):e||t||\"\"}function ae(e,t){if(0===e.length)return\"\";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,\"toString\",{value:t})}var pe=\"production\"!==process.env.NODE_ENV?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`\"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return\"production\"===process.env.NODE_ENV?new Error(\"An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#\".concat(t,\" for more information.\").concat(n.length>0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=\"\".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if(\"production\"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,\"\".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),Ee=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ne=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement(\"style\"),r=function(e){var t=Array.from(e.querySelectorAll(\"style[\".concat(f,\"]\")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute(\"nonce\",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:\"\"},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:\"\"},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=t(t({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o=\"\",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return\"continue\";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return\"continue\";var a=\"\".concat(f,\".g\").concat(n,'[id=\"').concat(r,'\"]'),c=\"\";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(t(t({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\\s*\\/\\/.*$/gm;function Ve(e,t){return e.map(function(e){return\"rule\"===e.type&&(e.value=\"\".concat(t,\" \").concat(e.value),e.value=e.value.replaceAll(\",\",\",\".concat(t,\" \")),e.props=e.props.map(function(e){return\"\".concat(t,\" \").concat(e)})),Array.isArray(e.children)&&\"@keyframes\"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,\"\").length>0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(xe,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=o.createContext(void 0);function Ge(){return c($e)}function Ye(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement($e.Provider,{value:d},o.createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>=\"A\"&&e<=\"Z\"};function He(e){for(var t=\"\",n=0;n<e.length;n++){var o=e[n];if(1===n&&\"-\"===o&&\"-\"===e[0])return e;qe(o)?t+=\"-\"+o.toLowerCase():t+=o}return t.startsWith(\"ms-\")?\"-\"+t:t}var Ue=function(e){return null==e||!1===e||\"\"===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push(\"\".concat(He(s),\":\"),i,\";\"):ce(i)?r.push.apply(r,e(e([\"\".concat(s,\" {\")],Je(i),!1),[\"}\"],!1)):r.push(\"\".concat(He(s),\": \").concat((n=s,null==(o=i)||\"boolean\"==typeof o||\"\"===o?\"\":\"number\"!=typeof o||0===o||n in h||n.startsWith(\"--\")?String(o).trim():\"\".concat(o,\"px\")),\";\")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[\".\".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return\"production\"===process.env.NODE_ENV||\"object\"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error(\"\".concat(B(e),\" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId=\"\",this.isStatic=\"production\"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l<this.rules.length;l++){var u=this.rules[l];if(\"string\"==typeof u)c+=u,\"production\"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=o.createContext(void 0),tt=et.Consumer;function nt(){var e=c(et);if(!e)throw he(18);return e}function ot(e){var n=o.useContext(et),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);rt[n]=(rt[n]||0)+1;var o=\"\".concat(n,\"-\").concat($(v+n+rt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]=\"className\"===c?ie(s[c],a[c]):\"style\"===c?t(t({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||\"$\"===b[0]||\"as\"===b||\"theme\"===b&&g.theme===v||(\"forwardedAs\"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||\"development\"!==process.env.NODE_ENV||n(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop \"'.concat(b,'\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}),\"production\"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n  const Component = styled.div.attrs(props => ({\\n    style: {\\n      background: props.background,\\n    },\\n  }))`width: 100%;`\\n\\n  <Component />\"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,e([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&\"string\"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,e([t],s,!1)))};return s.attrs=function(e){return ut(n,o,t(t({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,t(t({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),\"\"),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,e([n],r,!1)),a=\"sc-global-\".concat($(JSON.stringify(i))),c=new ht(i,a);\"production\"!==process.env.NODE_ENV&&P(a);var l=function(e){var t=Ge(),n=o.useContext(et),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return\"production\"!==process.env.NODE_ENV&&o.Children.count(e.children)&&console.warn(\"The global style component \".concat(a,\" was given child JSX. createGlobalStyle does not render children.\")),\"production\"!==process.env.NODE_ENV&&i.some(function(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@import\")})&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");var r=ae(lt.apply(void 0,e([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=o.forwardRef(function(n,r){var s=I(n,o.useContext(et),e.defaultProps);return\"production\"!==process.env.NODE_ENV&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"'.concat(B(e),'\"')),o.createElement(e,t({},n,{theme:s,ref:r}))});return n.displayName=\"WithTheme(\".concat(B(e),\")\"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=Ce(),o=ae([n&&'nonce=\"'.concat(n,'\"'),\"\".concat(f,'=\"true\"'),\"\".concat(y,'=\"').concat(v,'\"')].filter(Boolean),\" \");return\"<style \".concat(o,\">\").concat(t,\"</style>\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[o.createElement(\"style\",t({},s,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var St=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[St]+=1);export{vt as ServerStyleSheet,Be as StyleSheetConsumer,$e as StyleSheetContext,Ye as StyleSheetManager,tt as ThemeConsumer,et as ThemeContext,ot as ThemeProvider,gt as __PRIVATE__,ft as createGlobalStyle,lt as css,dt as default,se as isStyledComponent,mt as keyframes,dt as styled,nt as useTheme,v as version,yt as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","module.exports = window[\"React\"];","module.exports = window[\"wc\"][\"blocksCheckout\"];","module.exports = window[\"wc\"][\"wcBlocksData\"];","module.exports = window[\"wc\"][\"wcBlocksRegistry\"];","module.exports = window[\"wc\"][\"wcSettings\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"htmlEntities\"];","module.exports = window[\"wp\"][\"i18n\"];","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf ||\n      ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n      function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n  return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n      throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() { this.constructor = d; }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n  __assign = Object.assign || function __assign(t) {\n      for (var s, i = 1, n = arguments.length; i < n; i++) {\n          s = arguments[i];\n          for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n      }\n      return t;\n  }\n  return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n      for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n          if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n              t[p[i]] = s[p[i]];\n      }\n  return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n  return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n  function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n  var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n  var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n  var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n  var _, done = false;\n  for (var i = decorators.length - 1; i >= 0; i--) {\n      var context = {};\n      for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n      for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n      context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n      var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n      if (kind === \"accessor\") {\n          if (result === void 0) continue;\n          if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n          if (_ = accept(result.get)) descriptor.get = _;\n          if (_ = accept(result.set)) descriptor.set = _;\n          if (_ = accept(result.init)) initializers.unshift(_);\n      }\n      else if (_ = accept(result)) {\n          if (kind === \"field\") initializers.unshift(_);\n          else descriptor[key] = _;\n      }\n  }\n  if (target) Object.defineProperty(target, contextIn.name, descriptor);\n  done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n  var useValue = arguments.length > 2;\n  for (var i = 0; i < initializers.length; i++) {\n      value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n  }\n  return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n  return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n  if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n  return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n  if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n  return new (P || (P = Promise))(function (resolve, reject) {\n      function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n      function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n      function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\n\nexport function __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n  return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n  function verb(n) { return function (v) { return step([n, v]); }; }\n  function step(op) {\n      if (f) throw new TypeError(\"Generator is already executing.\");\n      while (g && (g = 0, op[0] && (_ = 0)), _) try {\n          if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n          if (y = 0, t) op = [op[0] & 2, t.value];\n          switch (op[0]) {\n              case 0: case 1: t = op; break;\n              case 4: _.label++; return { value: op[1], done: false };\n              case 5: _.label++; y = op[1]; op = [0]; continue;\n              case 7: op = _.ops.pop(); _.trys.pop(); continue;\n              default:\n                  if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                  if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                  if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                  if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                  if (t[2]) _.ops.pop();\n                  _.trys.pop(); continue;\n          }\n          op = body.call(thisArg, _);\n      } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n      if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  var desc = Object.getOwnPropertyDescriptor(m, k);\n  if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n  }\n  Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n  for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m) return m.call(o);\n  if (o && typeof o.length === \"number\") return {\n      next: function () {\n          if (o && i >= o.length) o = void 0;\n          return { value: o && o[i++], done: !o };\n      }\n  };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m) return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n      while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n  }\n  catch (error) { e = { error: error }; }\n  finally {\n      try {\n          if (r && !r.done && (m = i[\"return\"])) m.call(i);\n      }\n      finally { if (e) throw e.error; }\n  }\n  return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n  for (var ar = [], i = 0; i < arguments.length; i++)\n      ar = ar.concat(__read(arguments[i]));\n  return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n  for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n  for (var r = Array(s), k = 0, i = 0; i < il; i++)\n      for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n          r[k] = a[j];\n  return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n          if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n          ar[i] = from[i];\n      }\n  }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n  return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var g = generator.apply(thisArg, _arguments || []), i, q = [];\n  return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n  function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n  function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n  function fulfill(value) { resume(\"next\", value); }\n  function reject(value) { resume(\"throw\", value); }\n  function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n  var i, p;\n  return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n  function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var m = o[Symbol.asyncIterator], i;\n  return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n  function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n  function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n  if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n  return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n  Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n  o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n  if (mod && mod.__esModule) return mod;\n  var result = {};\n  if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n  __setModuleDefault(result, mod);\n  return result;\n}\n\nexport function __importDefault(mod) {\n  return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n  return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n  if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n  return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n  if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n  return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n  if (value !== null && value !== void 0) {\n    if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n    var dispose;\n    if (async) {\n        if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n        dispose = value[Symbol.asyncDispose];\n    }\n    if (dispose === void 0) {\n        if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n        dispose = value[Symbol.dispose];\n    }\n    if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n    env.stack.push({ value: value, dispose: dispose, async: async });\n  }\n  else if (async) {\n    env.stack.push({ async: true });\n  }\n  return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n  function fail(e) {\n    env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n    env.hasError = true;\n  }\n  function next() {\n    while (env.stack.length) {\n      var rec = env.stack.pop();\n      try {\n        var result = rec.dispose && rec.dispose.call(rec.value);\n        if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n      }\n      catch (e) {\n          fail(e);\n      }\n    }\n    if (env.hasError) throw env.error;\n  }\n  return next();\n}\n\nexport default {\n  __extends,\n  __assign,\n  __rest,\n  __decorate,\n  __param,\n  __metadata,\n  __awaiter,\n  __generator,\n  __createBinding,\n  __exportStar,\n  __values,\n  __read,\n  __spread,\n  __spreadArrays,\n  __spreadArray,\n  __await,\n  __asyncGenerator,\n  __asyncDelegator,\n  __asyncValues,\n  __makeTemplateObject,\n  __importStar,\n  __importDefault,\n  __classPrivateFieldGet,\n  __classPrivateFieldSet,\n  __classPrivateFieldIn,\n  __addDisposableResource,\n  __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","import { useEffect, useState } from 'react';\nimport { sprintf, __ } from '@wordpress/i18n';\nimport { registerPaymentMethod } from '@woocommerce/blocks-registry';\nimport { decodeEntities } from '@wordpress/html-entities';\nimport { getSetting } from '@woocommerce/settings';\nimport { usePaymentInputs } from './hooks';\nimport { PaymentInputsWrapper, TermsCheckbox } from './components';\nimport images from './images';\nimport { PAYMENT_STORE_KEY } from '@woocommerce/block-data';\nimport { subscribe, select, dispatch } from '@wordpress/data';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nconst settings = getSetting( 'wc_valorpay_data', {} );\nif ( settings && ! settings.is_not_blocked ) {\n\tdispatch( 'core/notices' ).createErrorNotice(\n\t\t__(\n\t\t\t'Valor Pay is disabled due to multiple payment failures.',\n\t\t\t'wc-valorpay'\n\t\t),\n\t\t{\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t}\n\t);\n}\nif ( settings && settings.card_type_allowed ) {\n\tlet noticeMsg = null;\n\tif ( 'debit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only debit card allowed', 'wc-valorpay' );\n\t}\n\tif ( 'credit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only credit card allowed', 'wc-valorpay' );\n\t}\n\tif ( noticeMsg ) {\n\t\tdispatch( 'core/notices' ).createInfoNotice( noticeMsg, {\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t} );\n\t}\n}\nsubscribe( function () {\n\tconst paymentMethodState = select( PAYMENT_STORE_KEY );\n\tconst chosenPaymentMethod = paymentMethodState.getActivePaymentMethod();\n\tconst savedPaymentMethods = paymentMethodState.getSavedPaymentMethods();\n\tconst selectedPaymentTokenId = +paymentMethodState.getActiveSavedToken();\n\tlet selectedCardType = '';\n\tif ( selectedPaymentTokenId ) {\n\t\tconst foundMethod = savedPaymentMethods.cc.find(\n\t\t\t( method ) =>\n\t\t\t\tmethod.tokenId === selectedPaymentTokenId &&\n\t\t\t\tmethod.method.gateway === 'wc_valorpay'\n\t\t);\n\t\tif ( foundMethod ) {\n\t\t\tselectedCardType = foundMethod.method.card_type;\n\t\t}\n\t}\n\n\textensionCartUpdate( {\n\t\tnamespace: 'wc-valorpay-fee-update',\n\t\tdata: {\n\t\t\taction_type: 'update_payment',\n\t\t\tpayment_method: chosenPaymentMethod,\n\t\t\tcard_type: selectedCardType,\n\t\t},\n\t} );\n}, PAYMENT_STORE_KEY );\n\nconst defaultLabel = __( 'Valor Pay', 'wc-valorpay' );\n\nconst label = decodeEntities( settings.title ) || defaultLabel;\n/**\n * Content component\n */\nconst Content = ( props ) => {\n\tconst [ isFetchingCardType, setIsFetchingCardType ] = useState( false );\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [ 'cardNumber', 'expiryDate', 'cvc' ];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetCardImageProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: {\n\t\t\terroredInputs,\n\t\t\tisTouched,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tsetIsFetchingCardType,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst {\n\t\tcomponents: { LoadingMask },\n\t\teventRegistration,\n\t\temitResponse,\n\t\tpaymentStatus,\n\t} = props;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\t\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc_valorpay-card-number': cardNumberField.current.value,\n\t\t\t\t\t'wc_valorpay-card-expiry': expiryDateField.current.value,\n\t\t\t\t\t'wc_valorpay-card-cvc': cvcField.current.value,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\tonCheckoutAfterProcessingWithError,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.is_sandbox_mode && (\n\t\t\t\t<p>\n\t\t\t\t\t{ __(\n\t\t\t\t\t\t'TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date.',\n\t\t\t\t\t\t'wc-valorpay'\n\t\t\t\t\t) }\n\t\t\t\t</p>\n\t\t\t) }\n\t\t\t<LoadingMask\n\t\t\t\tshowSpinner={ isFetchingCardType }\n\t\t\t\tisLoading={ isFetchingCardType }\n\t\t\t\tscreenReaderLabel={ __(\n\t\t\t\t\t'Fetching Card Type...',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t) }\n\t\t\t>\n\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t>\n\t\t\t\t\t<svg { ...getCardImageProps( { images } ) } />\n\t\t\t\t\t<input { ...getCardNumberProps() } />\n\t\t\t\t\t<input { ...getExpiryDateProps() } />\n\t\t\t\t\t<input { ...getCVCProps() } />\n\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t) }\n\t\t\t\t</PaymentInputsWrapper>\n\t\t\t</LoadingMask>\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-new-card\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\nconst SavedToken = ( props ) => {\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: { erroredInputs, zipField, addressField },\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst { eventRegistration, emitResponse, paymentStatus, token } = props;\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\t\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc-wc_valorpay-payment-token': token,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\ttoken,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.avs_type !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t</PaymentInputsWrapper>\n\t\t\t\t</>\n\t\t\t) }\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-saved-token\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\n/**\n * Label component\n *\n * @param {*} props Props from payment API.\n */\nconst Label = ( props ) => {\n\tconst { PaymentMethodLabel, PaymentMethodIcons } = props.components;\n\treturn (\n\t\t<>\n\t\t\t<PaymentMethodLabel text={ label } />\n\t\t\t<PaymentMethodIcons icons={ settings.card_types } align=\"right\" />\n\t\t</>\n\t);\n};\n\n/**\n * ValorPay payment method config object.\n */\nconst ValorPay = {\n\tname: 'wc_valorpay',\n\tlabel: <Label />,\n\tgatewayId: 'wc_valorpay',\n\tcontent: <Content />,\n\tedit: <Content />,\n\tcanMakePayment: () => settings.is_not_blocked,\n\tsavedTokenComponent: <SavedToken />,\n\tariaLabel: label,\n\tsupports: {\n\t\tfeatures: settings.supports,\n\t\tshowSaveOption: true,\n\t},\n};\n\nregisterPaymentMethod( ValorPay );\n"],"names":["usePaymentInputs","PaymentInputsContainer","props","paymentInputs","children","React","styled","css","jsx","_jsx","jsxs","_jsxs","FieldWrapper","div","withConfig","shouldForwardProp","prop","includes","hasErrored","styles","fieldWrapper","errored","undefined","base","InputWrapper","inputWrapper","focused","input","cardImage","ErrorText","errorText","PaymentInputsWrapper","error","errorTextProps","inputWrapperProps","isTouched","isInitPay","restProps","TermsCheckbox","id","label","checked","onChange","className","htmlFor","type","xmlns","viewBox","d","class","default","utils","extensionCartUpdate","autoFocus","errorMessages","onBlur","onError","onTouch","cardNumberValidator","cvcValidator","expiryValidator","avsType","setIsFetchingCardType","paymentFields","cardNumberField","useRef","expiryDateField","cvcField","zipField","addressField","touchedInputs","setTouchedInputs","useState","reduce","acc","field","setIsTouched","erroredInputs","setErroredInputs","setError","cardType","setCardType","setFocused","setInputError","useCallback","newError","newErroredInputs","Object","values","find","Boolean","setInputTouched","value","requestAnimationFrame","document","activeElement","tagName","newTouchedInputs","handleBlurCardNumber","e","handleChangeCardNumber","formattedCardNumber","target","cardNumber","replace","cursorPosition","current","selectionStart","cardTypes","getCardTypeByValue","formatter","formatCardNumber","setSelectionRange","cardNumberError","validator","getCardNumberError","focus","namespace","data","action_type","bin","slice","then","handleFocusCardNumber","onFocus","handleKeyPressCardNumber","onKeyPress","key","ENTER_KEY_CODE","isNumeric","preventDefault","hasCardNumberReachedMaxLength","getCardNumberProps","refKey","autoComplete","name","placeholder","handleBlurExpiryDate","handleChangeExpiryDate","formatExpiry","expiryDateError","getExpiryDateError","handleFocusExpiryDate","handleKeyDownExpiryDate","onKeyDown","BACKSPACE_KEY_CODE","handleKeyPressExpiryDate","formattedExpiryDate","expiryDate","length","getExpiryDateProps","handleBlurCVC","handleChangeCVC","cvc","cvcError","getCVCError","handleFocusCVC","handleKeyDownCVC","handleKeyPressCVC","formattedCVC","code","getCVCProps","handleBlurZIP","handleChangeZIP","zip","zipError","getZIPError","handleFocusZIP","handleKeyDownZIP","handleKeyPressZIP","getZIPProps","maxLength","handleBlurAddress","handleChangeAddress","streetaddress","addressError","getAddressError","handleFocusAddress","handleKeyDownAddress","getStreetAddressProps","getCardImageProps","images","displayName","width","height","useLayoutEffect","wrapperProps","meta","fill","fillRule","rx","stroke","strokeWidth","transform","strokeOpacity","x","y","amex","dinersclub","discover","hipercard","jcb","unionpay","mastercard","visa","troy","cx","cy","r","DEFAULT_CVC_LENGTH","DEFAULT_ZIP_LENGTH","DEFAULT_CARD_FORMAT","CARD_TYPES","format","startPattern","gaps","lengths","filter","test","getCardTypeByType","match","join","global","execResult","exec","split","splice","event","eventData","nativeEvent","prevExpiry","expiry","head","tail","month","year","isHighlighted","window","getSelection","MONTH_REGEX","EMPTY_CARD_NUMBER","EMPTY_EXPIRY_DATE","EMPTY_CVC","EMPTY_ZIP","EMPTY_ADDRESS","INVALID_CARD_NUMBER","INVALID_EXPIRY_DATE","INVALID_CVC","INVALID_ZIP","MONTH_OUT_OF_RANGE","YEAR_OUT_OF_RANGE","DATE_OUT_OF_RANGE","currentValue","validateLuhn","reverse","map","digit","parseInt","idx","accum","emptyCardNumber","rawCardNumber","doesCardNumberMatchLength","isLuhnValid","invalidCardNumber","emptyExpiryDate","rawExpiryDate","monthOutOfRange","Date","getFullYear","yearOutOfRange","getMonth","dateOutOfRange","invalidExpiryDate","emptyCVC","invalidCVC","emptyZIP","invalidAddress","address","emptyAddress","useEffect","sprintf","__","registerPaymentMethod","decodeEntities","getSetting","PAYMENT_STORE_KEY","subscribe","select","dispatch","Fragment","_Fragment","settings","is_not_blocked","createErrorNotice","context","card_type_allowed","noticeMsg","createInfoNotice","paymentMethodState","chosenPaymentMethod","getActivePaymentMethod","savedPaymentMethods","getSavedPaymentMethods","selectedPaymentTokenId","getActiveSavedToken","selectedCardType","foundMethod","cc","method","tokenId","gateway","card_type","payment_method","defaultLabel","title","Content","isFetchingCardType","setIsInitPay","avs_type","push","components","LoadingMask","eventRegistration","emitResponse","paymentStatus","isTermsChecked","setIsTermsChecked","onPaymentSetup","onCheckoutAfterProcessingWithError","handleCheckboxChange","prev","unsubscribe","isValid","errorInput","paymentMethodData","valorpay_avs_type","valorpay_terms","valorpay_avs_zip","valorpay_avs_street","responseTypes","SUCCESS","ERROR","message","unsubscribeErrorMsg","processingResponse","paymentDetails","errorMessage","messageContext","noticeContexts","PAYMENTS","is_sandbox_mode","showSpinner","isLoading","screenReaderLabel","is_terms_conditions_enable","dangerouslySetInnerHTML","__html","terms_label","SavedToken","token","Label","PaymentMethodLabel","PaymentMethodIcons","text","icons","card_types","align","ValorPay","gatewayId","content","edit","canMakePayment","savedTokenComponent","ariaLabel","supports","features","showSaveOption"],"sourceRoot":""}
  • valorpos/trunk/wc-valorpay.php

    r3182885 r3202084  
    1616 * Plugin URI:        https://valorpaytech.com
    1717 * Description:       Adds the Valor Payment Gateway to WooCommerce.
    18  * Version:           8.0.0
     18 * Version:           8.0.1
    1919 * Author:            Valor Paytech LLC
    2020 * Author URI:        https://valorpaytech.com
     
    3737 * Rename this for your plugin and update it as you release new versions.
    3838 */
    39 define( 'WC_VALORPAY_VERSION', '8.0.0' );
     39define( 'WC_VALORPAY_VERSION', '8.0.1' );
    4040// Directory i.e. /home/user/public_html...
    4141define( 'WC_VALORPAY_DIR', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.