Version Description
- Feature: Add support for Gravity Forms 2.6 (see Housekeeping below)
- Housekeeping: Add alternate background color on PDF List page
- Housekeeping: Add styles/support for new merge tag selector
- Housekeeping: Add styles for Copy to Clipboard shortcode button on PDF List page
- Housekeeping: Update help search API to query v6 documentation
- Bug: Fix error message display issue on Form PDF add/edit page
- Bug: Fix missing styles on multi-PDF view/download menu on Entry List page
Download this release
Release Info
Developer | Blue Liquid Designs |
Plugin | Gravity PDF |
Version | 6.2.0 |
Comparing to | |
See all releases |
Code changes from version 6.1.0 to 6.2.0
- README.txt +16 -1
- api.php +1 -1
- dist/assets/css/gfpdf-styles.min.css +1 -1
- dist/assets/js/admin.min.js +1 -1
- dist/assets/js/app.bundle.min.js +49 -49
- dist/assets/js/{chunk-0.8edcd532c90076289c8a.js → chunk-0.e033d172e282e0a2b9cc.js} +4 -4
- dist/assets/js/{chunk-10.35956ed01838b210014b.js → chunk-10.d768793400e94cf88b98.js} +1 -1
- dist/assets/js/{chunk-5.f06953d68b59268254e5.js → chunk-5.4048e584cf68fa13efd8.js} +4 -4
- dist/assets/js/{chunk-6.6c41d7a031f41a494964.js → chunk-6.ef3565a14028638eb70f.js} +5 -5
- dist/assets/js/{chunk-7.9a1736bd0281c624aba5.js → chunk-7.514921733ef2f6274a79.js} +3 -3
- dist/assets/js/{chunk-8.4d85e80b996f0e8e6163.js → chunk-8.c48910b68a8cb06a33ba.js} +1 -1
- dist/assets/js/{chunk-9.490ff386d143b3b668c9.js → chunk-9.4ab0fcd8be55c0868e3a.js} +1 -1
- dist/assets/js/gfpdf-entries.min.js +1 -1
- pdf.php +3 -3
- src/Controller/Controller_Actions.php +1 -1
- src/Controller/Controller_Activation.php +1 -1
- src/Controller/Controller_Custom_Fonts.php +1 -1
- src/Controller/Controller_Debug.php +1 -1
- src/Controller/Controller_Export_Entries.php +1 -1
- src/Controller/Controller_Form_Settings.php +1 -1
- src/Controller/Controller_Install.php +1 -1
- src/Controller/Controller_Mergetags.php +1 -1
- src/Controller/Controller_PDF.php +1 -1
- src/Controller/Controller_Pdf_Queue.php +1 -1
- src/Controller/Controller_Save_Core_Fonts.php +1 -1
- src/Controller/Controller_Settings.php +1 -1
- src/Controller/Controller_Shortcodes.php +1 -1
- src/Controller/Controller_System_Report.php +1 -1
- src/Controller/Controller_Templates.php +1 -1
- src/Controller/Controller_Uninstaller.php +1 -1
- src/Controller/Controller_Upgrade_Routines.php +1 -1
- src/Controller/Controller_Webhooks.php +1 -1
- src/Exceptions/GravityPdfDatabaseUpdateException.php +1 -1
- src/Exceptions/GravityPdfDomainException.php +1 -1
- src/Exceptions/GravityPdfException.php +1 -1
- src/Exceptions/GravityPdfFontNotFoundException.php +1 -1
- src/Exceptions/GravityPdfIdException.php +1 -1
- src/Exceptions/GravityPdfModelNotUpdatedException.php +1 -1
- src/Exceptions/GravityPdfRuntimeException.php +1 -1
- src/Exceptions/GravityPdfShortcodeEntryIdException.php +1 -1
- src/Exceptions/GravityPdfShortcodePdfConditionalLogicFailedException.php +1 -1
- src/Exceptions/GravityPdfShortcodePdfConfigNotFoundException.php +1 -1
- src/Exceptions/GravityPdfShortcodePdfInactiveException.php +1 -1
- src/Helper/Fields/Field_Address.php +1 -1
- src/Helper/Fields/Field_Chainedselect.php +1 -1
- src/Helper/Fields/Field_Checkbox.php +1 -1
- src/Helper/Fields/Field_Consent.php +1 -1
- src/Helper/Fields/Field_Coupon.php +1 -1
- src/Helper/Fields/Field_Creditcard.php +1 -1
- src/Helper/Fields/Field_Date.php +1 -1
- src/Helper/Fields/Field_Default.php +1 -1
- src/Helper/Fields/Field_Discount.php +1 -1
- src/Helper/Fields/Field_Email.php +1 -1
- src/Helper/Fields/Field_Fileupload.php +1 -1
- src/Helper/Fields/Field_Form.php +1 -1
- src/Helper/Fields/Field_Hidden.php +1 -1
- src/Helper/Fields/Field_Html.php +1 -1
- src/Helper/Fields/Field_Likert.php +1 -1
- src/Helper/Fields/Field_List.php +1 -1
- src/Helper/Fields/Field_Multiselect.php +1 -1
- src/Helper/Fields/Field_Name.php +1 -1
- src/Helper/Fields/Field_Number.php +2 -2
- src/Helper/Fields/Field_Option.php +1 -1
- src/Helper/Fields/Field_Phone.php +1 -1
- src/Helper/Fields/Field_Poll.php +1 -1
- src/Helper/Fields/Field_Post_Category.php +1 -1
- src/Helper/Fields/Field_Post_Content.php +1 -1
- src/Helper/Fields/Field_Post_Custom_Field.php +1 -1
- src/Helper/Fields/Field_Post_Excerpt.php +1 -1
- src/Helper/Fields/Field_Post_Image.php +1 -1
- src/Helper/Fields/Field_Post_Tags.php +1 -1
- src/Helper/Fields/Field_Post_Title.php +1 -1
- src/Helper/Fields/Field_Product.php +1 -1
- src/Helper/Fields/Field_Products.php +1 -1
- src/Helper/Fields/Field_Quantity.php +1 -1
- src/Helper/Fields/Field_Quiz.php +1 -1
- src/Helper/Fields/Field_Radio.php +1 -1
- src/Helper/Fields/Field_Rank.php +1 -1
- src/Helper/Fields/Field_Rating.php +1 -1
- src/Helper/Fields/Field_Repeater.php +5 -2
- src/Helper/Fields/Field_Section.php +1 -1
- src/Helper/Fields/Field_Select.php +1 -1
- src/Helper/Fields/Field_Shipping.php +1 -1
- src/Helper/Fields/Field_Signature.php +1 -1
- src/Helper/Fields/Field_Slim.php +1 -1
- src/Helper/Fields/Field_Slim_Post.php +1 -1
- src/Helper/Fields/Field_Subtotal.php +1 -1
- src/Helper/Fields/Field_Survey.php +1 -1
- src/Helper/Fields/Field_Tax.php +1 -1
- src/Helper/Fields/Field_Text.php +1 -1
- src/Helper/Fields/Field_Textarea.php +1 -1
- src/Helper/Fields/Field_Time.php +1 -1
- src/Helper/Fields/Field_Tos.php +1 -1
- src/Helper/Fields/Field_Total.php +1 -1
- src/Helper/Fields/Field_V3_List.php +1 -1
- src/Helper/Fields/Field_V3_Products.php +1 -1
- src/Helper/Fields/Field_V3_Section.php +1 -1
- src/Helper/Fields/Field_Website.php +1 -1
- src/Helper/Fonts/FlushCache.php +1 -1
- src/Helper/Fonts/LocalFile.php +1 -1
- src/Helper/Fonts/LocalFilesystem.php +1 -1
- src/Helper/Fonts/SupportsOtl.php +1 -1
- src/Helper/Fonts/TtfFontValidation.php +1 -1
- src/Helper/Helper_Abstract_Addon.php +1 -1
- src/Helper/Helper_Abstract_Config_Settings.php +1 -1
- src/Helper/Helper_Abstract_Controller.php +1 -1
- src/Helper/Helper_Abstract_Field_Products.php +1 -1
- src/Helper/Helper_Abstract_Fields.php +1 -1
- src/Helper/Helper_Abstract_Form.php +1 -1
- src/Helper/Helper_Abstract_Model.php +1 -1
- src/Helper/Helper_Abstract_Options.php +1 -1
- src/Helper/Helper_Abstract_Pdf_Shortcode.php +1 -1
- src/Helper/Helper_Abstract_View.php +1 -1
- src/Helper/Helper_Data.php +1 -1
- src/Helper/Helper_Field_Container.php +1 -1
- src/Helper/Helper_Field_Container_Gf25.php +1 -1
- src/Helper/Helper_Field_Container_Void.php +1 -1
- src/Helper/Helper_Form.php +1 -1
- src/Helper/Helper_Interface_Actions.php +1 -1
- src/Helper/Helper_Interface_Config.php +1 -1
- src/Helper/Helper_Interface_Config_Settings.php +1 -1
- src/Helper/Helper_Interface_Extension_Settings.php +1 -1
- src/Helper/Helper_Interface_Filters.php +1 -1
- src/Helper/Helper_Interface_Setup_TearDown.php +1 -1
- src/Helper/Helper_Interface_Url_Signer.php +1 -1
- src/Helper/Helper_Logger.php +1 -1
- src/Helper/Helper_Misc.php +13 -2
- src/Helper/Helper_Mpdf.php +1 -1
- src/Helper/Helper_Notices.php +1 -1
- src/Helper/Helper_Options_Fields.php +1 -1
- src/Helper/Helper_PDF.php +1 -1
- src/Helper/Helper_PDF_List_Table.php +28 -9
- src/Helper/Helper_Pdf_Queue.php +50 -34
- src/Helper/Helper_QueryPath.php +1 -1
- src/Helper/Helper_Sha256_Url_Signer.php +1 -1
- src/Helper/Helper_Singleton.php +1 -1
- src/Helper/Helper_Templates.php +1 -1
- src/Helper/Helper_Trait_Logger.php +1 -1
- src/Helper/Helper_Url_Signer.php +1 -1
- src/Model/Model_Actions.php +1 -1
- src/Model/Model_Custom_Fonts.php +1 -1
- src/Model/Model_Form_Settings.php +9 -1
- src/Model/Model_Install.php +1 -1
- src/Model/Model_Mergetags.php +1 -1
- src/Model/Model_PDF.php +1 -1
- src/Model/Model_Settings.php +1 -1
- src/Model/Model_Shortcodes.php +1 -1
- src/Model/Model_System_Report.php +1 -1
- src/Model/Model_Templates.php +1 -1
- src/Model/Model_Uninstall.php +1 -1
- src/Statics/Queue_Callbacks.php +3 -1
- src/View/View_Actions.php +1 -1
- src/View/View_Form_Settings.php +1 -1
- src/View/View_GravityForm_Settings_Markup.php +1 -1
- src/View/View_PDF.php +1 -1
- src/View/View_Settings.php +1 -1
- src/View/View_Shortcodes.php +1 -1
- src/View/View_System_Report.php +1 -1
- src/View/View_Uninstaller.php +1 -1
- src/View/html/Actions/action_buttons.php +1 -1
- src/View/html/Actions/core_font.php +1 -1
- src/View/html/FormSettings/add_edit.php +3 -3
- src/View/html/FormSettings/list.php +1 -1
- src/View/html/GravityForms/fieldset.php +1 -1
- src/View/html/GravityForms/settings_field.php +1 -1
- src/View/html/PDF/core_template_styles.php +1 -1
- src/View/html/PDF/entry_detailed_pdf.php +1 -1
- src/View/html/PDF/entry_list_pdf_multiple.php +15 -13
- src/View/html/PDF/entry_list_pdf_single.php +1 -1
- src/View/html/PDF/entry_no_valid_pdf.php +1 -1
- src/View/html/PDF/form_title.php +1 -1
- src/View/html/PDF/page_title.php +1 -1
- src/View/html/Settings/extensions.php +1 -1
- src/View/html/Settings/general.php +1 -1
- src/View/html/Settings/help.php +1 -1
- src/View/html/Settings/licence-info.php +1 -1
- src/View/html/Settings/licence.php +1 -1
- src/View/html/Settings/tabs.php +1 -1
- src/View/html/Settings/tools.php +1 -1
- src/View/html/Shortcodes/conditional_logic_not_met.php +1 -1
- src/View/html/Shortcodes/gravitypdf.php +1 -1
- src/View/html/Shortcodes/invalid_pdf_config.php +1 -1
- src/View/html/Shortcodes/no_entry_id.php +1 -1
- src/View/html/Shortcodes/pdf_not_active.php +1 -1
- src/View/html/Uninstaller/uninstall_button.php +1 -1
- src/assets/languages/gravity-forms-pdf-extended.pot +33 -25
- src/assets/scss/Pages/_pdf-list.scss +45 -22
- src/assets/scss/Pages/_pdf-settings.scss +19 -0
- src/assets/scss/RTL/Pages/_rtl-pdf-settings.scss +10 -0
- src/autoload.php +1 -1
- src/bootstrap.php +1 -1
- src/deprecated.php +1 -1
- src/templates/config/blank-slate.php +1 -1
- src/templates/config/focus-gravity.php +1 -1
- vendor/autoload.php +0 -0
- vendor/composer/ClassLoader.php +102 -11
- vendor/composer/InstalledVersions.php +17 -4
README.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://gravitypdf.com/donate-to-plugin/
|
|
5 |
Tags: gravityforms, gravity, forms, pdf, automation, attachment, email
|
6 |
Requires at least: 5.3
|
7 |
Tested up to: 5.9
|
8 |
-
Stable tag: 6.
|
9 |
Requires PHP: 7.3
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
@@ -105,6 +105,21 @@ _If you aren't able to meet the v6 minimum requirements [you can download v5 whi
|
|
105 |
|
106 |
== Changelog ==
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
= 6.1.0 =
|
109 |
* Feature: Add Copy to Clipboard feature for PDF Shortcode on the PDF List page
|
110 |
* Bug: Fix empty check on the Radio field so a zero (0) value is not considered empty
|
5 |
Tags: gravityforms, gravity, forms, pdf, automation, attachment, email
|
6 |
Requires at least: 5.3
|
7 |
Tested up to: 5.9
|
8 |
+
Stable tag: 6.2.0
|
9 |
Requires PHP: 7.3
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
105 |
|
106 |
== Changelog ==
|
107 |
|
108 |
+
= 6.2.0 =
|
109 |
+
* Feature: Add support for Gravity Forms 2.6 (see Housekeeping below)
|
110 |
+
* Housekeeping: Add alternate background color on PDF List page
|
111 |
+
* Housekeeping: Add styles/support for new merge tag selector
|
112 |
+
* Housekeeping: Add styles for Copy to Clipboard shortcode button on PDF List page
|
113 |
+
* Housekeeping: Update help search API to query v6 documentation
|
114 |
+
* Bug: Fix error message display issue on Form PDF add/edit page
|
115 |
+
* Bug: Fix missing styles on multi-PDF view/download menu on Entry List page
|
116 |
+
|
117 |
+
= 6.1.1 =
|
118 |
+
* Bug: Allow number field to show a thousand separator by using the 'gform_include_thousands_sep_pre_format_number' filter.
|
119 |
+
* Bug: Fix PHP Notice when displaying Repeater field caused by processing field's not present in `$form_data['field']` array key
|
120 |
+
* Housekeeping: Add logging to file/directory cleanup method
|
121 |
+
* Housekeeping: Add additional checks and logging when processing background tasks
|
122 |
+
|
123 |
= 6.1.0 =
|
124 |
* Feature: Add Copy to Clipboard feature for PDF Shortcode on the PDF List page
|
125 |
* Bug: Fix empty check on the Radio field so a zero (0) value is not considered empty
|
api.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
dist/assets/css/gfpdf-styles.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
div#adminmenuback{z-index:2}.wp-clearfix:after{content:unset}input[type=number]::-webkit-inner-spin-button{opacity:1}#tab_PDF .gf-notice{display:block}#tab_PDF #gpdf-advance-font-manager-selector,#tab_PDF #gpdf-advance-template-selector{display:inline-block;vertical-align:top}#tab_PDF #gpdf-advance-font-manager-selector button,#tab_PDF #gpdf-advance-template-selector button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455;line-height:2.95}#tab_PDF .wp-picker-container button{padding:0 0 0 35px;border:1px solid #9092b2;border-image:initial;height:auto}#tab_PDF .wp-picker-container button .wp-color-result-text{font-size:.875rem}#tab_PDF .wp-picker-container .wp-picker-input-wrap .button-small,#tab_PDF .wp-picker-container .wp-picker-input-wrap .button-small:hover{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455}#tab_PDF .wp-picker-container .wp-picker-input-wrap input[type=text]{width:5.25rem;font-size:1rem}#tab_PDF .gfpdf-core-font-counter{display:inline-block}#tab_PDF .gfpdf-core-font-list-results-container{border:1px solid #e3e6ef;border-radius:6px;box-shadow:0 1px 4px rgba(18,25,97,.0779552);margin-top:1rem;padding:.75rem;height:200px;overflow:auto;font-family:Courier New,Courier,monospace}#tab_PDF .gfpdf-core-font-list-results-container .gfpdf-core-font-status-success{color:#22a753}#tab_PDF .gfpdf-core-font-list-results-container .gfpdf-core-font-status-error{color:#dd301d}#tab_PDF #gfpdf_settings\[default_font\],#tab_PDF #gfpdf_settings\[font\]{margin:0 .2rem .2rem 0}#tab_PDF #gfpdf_pdf_form #gfpdf-settings-field-wrapper-font-container{display:flex}#tab_PDF #font-manager-overlay .font-manager{overflow:hidden}#tab_PDF #font-manager-overlay .font-manager .theme-about{background-color:#fff;bottom:0;padding:2% 4% 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;color:#242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .wp-filter-search{width:60%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .input-label-validation-error{border-color:#dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column{z-index:2;background-color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list{margin-top:1rem;overflow:auto;max-height:600px;box-shadow:0 1px 1px rgba(0,0,0,.04)}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .alert-message{border:0;text-align:center;margin:40px 0;box-shadow:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .alert-message .link{color:#0073aa;cursor:pointer;text-decoration:underline}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item{display:grid;grid-template-columns:4fr 1.5fr 1.5fr 1.5fr 2fr .75fr;gap:1rem;padding:.325rem 0;text-align:center}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name{text-align:left;word-break:break-all}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name .select-font-name,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name .select-font-name{width:1rem;height:1rem;margin-right:.5rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header{font-weight:600}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item{border-top:1px solid #d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item:hover{cursor:pointer;background:#d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item.active{background-color:#d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item:focus{border:1px dotted #5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash{color:#5b5e80;text-align:center;transition:color .25s ease;margin-left:5px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash:focus,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash:hover{color:#dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-no-alt,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-yes{font-size:22px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-yes{color:#22a753}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-no-alt{color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column{display:flex;position:relative;width:100%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column #gfpdf-add-font-name-input,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column #gfpdf-update-font-name-input{width:100%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .add-font{width:79%;margin-left:1px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{background-color:#fff;padding-right:.5rem;position:absolute;left:-720px;transition:.5s;width:100%;z-index:-1;width:80%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font.show{left:0;transition:.5s;z-index:1}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form h2{font-size:1.8em;margin:.5rem 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form h2+p{margin:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form label{display:block;margin-top:1rem;font-size:1rem;font-weight:600}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form label+p{margin:.325rem 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .required{color:#b71f1f;font-size:.8rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting{display:grid;grid-template-columns:50% 50%;grid-template-rows:1fr 1fr;gap:1rem;margin:.75rem 0;width:96%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting a{color:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting a:focus{box-shadow:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;border:5px dashed #d5d7e9;height:160px;transition:all .3s ease-out}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.active,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:hover{background-color:#d5d7e9;border:5px solid #d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.active .dashicons,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:hover .dashicons{background-color:#fff;color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:focus{outline:none;border:5px dashed #242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required{border:5px dashed #dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required .dashicons{background-color:#dd301d;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required:focus{border-color:#242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.error{background-color:#b71f1f;border-color:#b71f1f;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone input{display:none}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .gfpdf-font-filename{overflow:hidden;text-align:center}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .gfpdf-font-filename.required{color:#b71f1f}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons{width:70px;height:70px;margin:.675rem;background-color:#d5d7e9;border-radius:50%;font-size:3.2rem;color:#5b5e80;cursor:pointer}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons:before{margin-left:-1px;vertical-align:middle}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons-trash{font-size:2.9rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons-trash:before{margin-left:3px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer{padding-bottom:40px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container{display:grid;grid-template-columns:3fr 1fr}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .cancel button{margin-bottom:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .gfpdf-spinner{padding-left:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .button{height:35px;margin-right:8px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .select-delete-icons-container{justify-self:end}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .select-delete-icons-container .dashicons{width:auto;height:auto}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons{border:1px solid #d5d7e9;border-radius:3px;margin-right:.3rem;padding:.4rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons:hover{cursor:pointer}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes:hover{background-color:#d5d7e9;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes.checked{background-color:#22a753;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes.checked:hover{background-color:#d5d7e9;color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-trash{color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-trash:hover{background-color:#dd301d;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg{display:block}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link{margin-top:1rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link a{color:#0073aa;cursor:pointer;text-decoration:underline}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link .dashicons{border:0;font-size:.9rem;margin-top:.2rem;padding:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link div{margin-left:1.6rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link #template_usage_info_box{color:#000;font-family:Courier New,Courier,monospace;font-size:.8rem;margin:.5rem 0 0 1.6rem;height:170px;width:80%;border:3px solid #aaa;border-radius:5px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.success{color:#22a753}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.error{color:#dd301d}.font-list-items-skeleton .font-list-item{border-top:1px solid #d5d7e9}.font-list-items-skeleton .font-list-item .placeholder{display:inline-block;background-color:#444;border-radius:100px;opacity:.1;animation:fading 1.5s infinite}.font-list-items-skeleton .font-list-item .placeholder.dashicons{background:unset}.font-list-items-skeleton .font-list-item .placeholder.dashicons.dashicons-yes{color:#22a753}.font-list-items-skeleton .font-list-item .placeholder.font-name{height:10px;margin:5px 0}@keyframes fading{0%{opacity:.1}50%{opacity:.2}to{opacity:.1}}#tab_PDF .gpdf-help h2{text-align:center;color:#242748;font-size:2.375rem;font-weight:400;margin:2.3125rem 0;padding:9px 0 4px;line-height:1.3}#tab_PDF .gpdf-help h2+p{width:80%;margin:0 auto;text-align:center;color:#242748;font-size:1.125rem;line-height:2rem}#tab_PDF .gpdf-help .about-text{text-align:center;margin-right:0;max-width:none;min-height:0;line-height:1.8em}#tab_PDF .gpdf-help .about-text .about-text-disclaimer{font-size:13px}#tab_PDF .gpdf-help #gpdf-action-links{margin:2.3125rem 0 0;text-align:center}#tab_PDF .gpdf-help #gpdf-action-links .button-large{background:#007cba;border:none;height:35px;line-height:33px;padding:0 17px 9px}#tab_PDF .gpdf-help #gpdf-action-links .button-large:hover{background:#0071a1}#tab_PDF .gpdf-help #gpdf-search{width:80%;margin:1.875rem auto 0}#tab_PDF .gpdf-help .ais-SearchBox-form{display:inline-block;position:relative;width:100%;height:3.0625rem;white-space:nowrap;box-sizing:border-box;margin:0 auto}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input{width:100%;background-color:#fff;-webkit-appearance:none;-moz-appearance:none;background:transparent;display:inline-block;-webkit-transition:box-shadow .4s ease,background .4s ease;transition:box-shadow .4s ease,background .4s ease;border:1px solid #d4d8e3;border-radius:4px;background:#fff;box-shadow:0 1px 1px 0 rgba(85,95,110,.2);padding:16px 16px 16px 46px;vertical-align:middle;white-space:normal;font-size:inherit;appearance:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-cancel-button,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-decoration,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-results-button,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-results-decoration{display:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:active,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:focus,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:hover{box-shadow:none;outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-input-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-moz-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:-ms-input-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit{position:absolute;top:0;right:inherit;left:0;margin:0;border:0;border-radius:4px 0 0 4px;background-color:hsla(0,0%,100%,0);padding-top:16px;width:46px;height:100%;vertical-align:middle;text-align:center;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:before{display:inline-block;margin-right:-4px;height:100%;vertical-align:middle;content:""}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:active,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:hover{cursor:pointer}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:focus{outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit svg{width:20px;height:20px;vertical-align:middle;fill:#bfc7d8}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset{display:none;position:absolute;top:13px;right:13px;margin:0;border:0;background:none;cursor:pointer;padding-top:8px;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#bfc7d8}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset:focus{outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset svg{display:block;margin:4px;width:16px;height:16px}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:valid~.ais-SearchBox-reset{display:block;-webkit-animation-name:a;animation-name:a;-webkit-animation-duration:.25s;animation-duration:.25s}@keyframes a{0%{opacity:0}to{opacity:1}}#tab_PDF .gpdf-help .search-result:not(:empty){padding:1rem 1rem .8rem}#tab_PDF .gpdf-help .search-result:not(:empty) .group-name{color:#3e7da6;font-size:.85rem;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;top:0;z-index:10}#tab_PDF .gpdf-help .search-result:not(:empty) ul li{border-radius:4px;display:flex;padding-bottom:4px;position:relative}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a{background-color:#fff;border-radius:4px;box-shadow:0 1px 3px 0 #d4d9e1;display:block;width:100%;text-decoration:none}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover{background-color:#3e7da6}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-content-wrapper,#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-icon{color:#fff}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-content-wrapper .hit-path{color:#fff;text-overflow:ellipsis}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-action{color:#fff;display:flex}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container{align-items:center;color:#444950;display:flex;flex-direction:row;min-height:56px;padding-right:15px;padding-left:15px}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-icon{color:#969faf;height:20px;stroke-width:1.4;width:20px}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2rem;margin:0 8px;position:relative;text-overflow:ellipsis;width:80%}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper .hit-title{font-size:.9rem}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper .hit-path{color:#969faf;font-size:.75rem}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-action{align-items:center;color:#969faf;display:none;height:22px;stroke-width:1.4;width:22px}#tab_PDF form+form{margin-top:2rem}#tab_PDF .gfpdf-settings-field-wrapper:after{content:"";display:table;clear:both}#tab_PDF .gform_settings_form .gform-settings-panel--full{grid-column:span 2}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper{margin-bottom:1.25rem}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .gform-settings-panel__title{color:#23282d;font-size:.8125rem}#tab_PDF .gform_settings_form legend{font-size:.875rem;margin-bottom:.25rem}#tab_PDF .gform_settings_form .gform-settings-panel__header legend{margin-bottom:0}#tab_PDF .gform-settings-panel--collapsible .gform-settings-panel--full{grid-column:span 2}#tab_PDF .gfpdf-deactivate-license{margin-top:.5rem}#tab_PDF .gfpdf-settings-multicheck-wrapper{margin-bottom:.25rem}#tab_PDF .col-1-3 .gfpdf-settings-multicheck-wrapper{float:left;width:33%}#tab_PDF input[type=number].small-text{width:6rem}.theme-overlay .theme-backdrop{position:fixed;z-index:1}#tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container{display:block}#tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container .mt-gfpdf-merge-tag-selector-container{position:relative;float:right;top:3rem}#tab_PDF .wp-editor-wrap .wp-editor-tools button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455;margin:0}#tab_PDF .wp-editor-wrap .wp-editor-tools .wp-editor-tabs button{margin-left:5px}#tab_PDF .wp-editor-wrap .quicktags-toolbar .button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455}#tab_PDF .theme-wrap #gfpdf-template-container .wp-filter-search{margin:0 0 5px;font-size:1.1rem;font-weight:300;line-height:1.5;width:100%}#tab_PDF .gfpdf-spinner{padding:0 5px;vertical-align:middle;width:27px}#tab_PDF .gfpdf-spinner.add-update-font{width:20px;height:20px;padding:10px 0 0 10px}#tab_PDF .gfpdf-spinner.delete-font{width:17px;height:17px;padding:1px 0 0 8px}#tab_PDF .gfpdf-spinner-template{width:23px;height:23px;padding:10px 0 0 10px}#tab_PDF #gfpdf_list_form .gfpdf-spinner,#tab_PDF button .gfpdf-spinner{width:20px}#tab_PDF button .gfpdf-spinner{padding-right:0}#tab_PDF #gfpdf-button-wrapper-install_core_fonts .gfpdf-spinner{padding:5px}#tab_PDF #submit-and-promo-container{display:flex;justify-content:space-between;margin-top:.5rem;grid-column:span 2/auto}#tab_PDF #submit-and-promo-container .extensions-upsell{font-style:italic}#tab_PDF #gfpdf_settings\[default_template\],#tab_PDF #gfpdf_settings\[template\]{margin:0 .2rem .2rem 0}#tab_PDF #gfpdf_pdf_form #gfpdf-settings-field-wrapper-template-container{display:flex}#tab_PDF .theme-wrap .theme-header h1{float:left;padding-left:2%}#tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-author{display:block}#tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-actions{opacity:1;left:inherit;border-top:none;height:41px;padding:6px 3px 0;top:auto;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transform:none;transform:none;box-shadow:none}@-moz-keyframes gfpdfspin{to{-moz-transform:rotate(-1turn)}}@-webkit-keyframes gfpdfspin{to{-webkit-transform:rotate(-1turn)}}@keyframes gfpdfspin{to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:hover span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax span:after{font-family:dashicons;content:"";font-size:79px;background:none;width:auto;height:auto;left:51.5%;text-indent:0;-webkit-animation:gfpdfspin 1s linear infinite;animation:gfpdfspin 1s linear infinite}#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:focus span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:hover span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme.gfpdf-dropzone-active .doing-ajax span:after{color:#fff;background:none}#tab_PDF .theme-wrap #gfpdf-template-container .gfpdf-dropzone .dropzone .gfpdf-template-install-instructions{font-size:85%;text-align:center;margin-top:5px}#tab_PDF .theme-wrap #gfpdf-template-container .notice{border-color:#22a753}#tab_PDF .theme-wrap #gfpdf-template-container .notice.error{border-color:#dd301d;color:#000;margin:0;padding:1px 12px}#gfpdf-settings-field-wrapper-uninstaller .alert{margin:0}#tab_PDF .gfpdf-upload-setting-container{display:flex}#tab_PDF .gfpdf-upload-setting-container input:first-of-type{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}#tab_PDF .gfpdf-upload-setting-container input:last-of-type{background:#fdfdff;border:1px solid #9092b2;border-radius:0 5px 5px 0;height:2.75rem;margin-left:0}#tab_PDF .gfpdf-hidden{display:none}#tab_PDF .gform_settings_form .entry-view{margin-right:1rem}div.gf_entry_wrap div#gfpdf-entry-details-list .inside{margin:0;padding:0;max-height:18rem;overflow-y:auto}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_container{margin-bottom:.25rem;border-bottom:1px solid #ebebf2;padding:.5rem .75rem}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_container:last-of-type{border-bottom:none;margin-bottom:0}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_cta{color:#ddd}.gfpdf_form_action_has_submenu{position:relative;display:inline-block}.gfpdf_form_action_has_submenu.open .gform-form-toolbar__submenu{display:block;min-width:10rem;max-width:30rem}.gfpdf_form_action_has_submenu.open .gform-form-toolbar__submenu a:focus{box-shadow:inset 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.no-js #tab_PDF #gfpdf_list_form .btn-shortcode{display:none}.no-js #tab_PDF #gfpdf_list_form .btn-shortcode+.gpdf-fallback-input{display:block}#tab_PDF #gfpdf_list_form .gfpdf-spinner{width:20px}#tab_PDF #gfpdf_list_form .btn-shortcode{margin-left:0;border-radius:1px;padding:.3rem .5rem;white-space:normal}#tab_PDF #gfpdf_list_form .btn-shortcode:before{font-family:dashicons;content:"";font-size:1rem;vertical-align:middle;font-weight:400;padding-right:.2rem}#tab_PDF #gfpdf_list_form .btn-shortcode.btn-success,#tab_PDF #gfpdf_list_form .btn-shortcode.toggle{color:#080;border-color:#080}#tab_PDF #gfpdf_list_form .btn-shortcode.btn-success:hover,#tab_PDF #gfpdf_list_form .btn-shortcode.toggle:hover{border-color:#080}#tab_PDF #gfpdf_list_form .btn-shortcode+.gpdf-fallback-input{display:none}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input{display:block;position:absolute;right:2.7rem;margin-top:5px;width:45vw;z-index:1}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input:after{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #9092b2;content:"";position:absolute;top:-5px;right:1rem}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input input{font-size:12px;padding:0 .25rem;text-align:center}#tab_PDF #gfpdf_list_form .check-column{width:6rem}#tab_PDF #gfpdf_list_form .check-column img{margin:-2px 0 0 8px}#tab_PDF .gform_settings_form button.add_field_choice,#tab_PDF .gform_settings_form button.delete_field_choice{max-width:18px;width:100%}#tab_PDF .gform_settings_form .all-merge-tags.textarea .tooltip-merge-tag{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzNlN2RhNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCAxMGgydjJIOHYtMnptNiAyaC0ydi0yaDJ2MnptMS42MzUtNi4yNUgxNHYtMS41aDEuNjM1Yy45MjYgMCAxLjYyNS40MyAyLjA1OCAxLjA5My40MDkuNjI1LjU1NyAxLjQxMi41NTcgMi4xNnYxLjA0M2MwIDEuMDU0LjY3MyAxLjY1NyAxLjI1IDEuNjU3bC43NS43NXYuMDMxbC0uNzUxLjc1Yy0uNTgtLjAwMS0xLjI0OS41OTMtMS4yNDkgMS42NDZ2MS42MDNjMCAuNzQzLS4xNDcgMS40NjctLjYyMyAyLjAwNS0uNDk0LjU1Ny0xLjIwNC43NjQtMS45OTIuNzY0SDE0di0xLjVoMS42MzVjLjU0IDAgLjc2Mi0uMTM4Ljg3LS4yNTkuMTIzLS4xNC4yNDUtLjQyNS4yNDUtMS4wMVYxMy4zOGMwLS45MTkuMzU3LTEuODE1Ljk3MS0yLjQxNC0uNjE1LS42MDMtLjk3MS0xLjUwNC0uOTcxLTIuNDJWNy41MDNjMC0uNTgtLjEyLTEuMDQ1LS4zMTItMS4zNC0uMTY3LS4yNTUtLjQwMS0uNDEzLS44MDMtLjQxM3ptLTkuMjcgMGMtLjg2IDAtMS42MTUuNzgyLTEuNjE1IDEuNzUzdjEuMDY0YzAgLjMxNyAwIC42NjgtLjAzNi45OTctLjAzNi4zMzgtLjExNi43MTMtLjMxNCAxLjA1N2ExLjk0NiAxLjk0NiAwIDAxLS4yNS4zNDVjLjA5My4xMDIuMTc3LjIxNS4yNS4zNDEuMTk4LjM0NC4yNzguNzE4LjMxNCAxLjA1Ni4wMzYuMzI4LjAzNi42NzguMDM2Ljk5NXYxLjYyNWMwIC40NDguMTY0LjczMi40MDEuOTIuMjU5LjIwNi42Ny4zNDggMS4yMTQuMzQ4SDcuNXYxLjVINi4zNjVjLS43ODQgMC0xLjU1NS0uMjAzLTIuMTQ3LS42NzQtLjYxNC0uNDg4LS45NjgtMS4yMTMtLjk2OC0yLjA5NHYtMS42MDRjMC0uMzQyIDAtLjYxNS0uMDI3LS44NTQtLjAyNi0uMjM2LS4wNy0uMzc4LS4xMjItLjQ2Ny0uMDU2LS4wOTYtLjIyLS4zMjUtMS4xMDEtLjMyNWwtLjc1LS43NXYtLjAzbC43NS0uNzVjLjg3OSAwIDEuMDQzLS4yMyAxLjEtLjMyOC4wNTItLjA5Mi4wOTctLjIzNi4xMjMtLjQ3My4wMjYtLjI0LjAyNy0uNTE0LjAyNy0uODU2VjcuNTAzYzAtMS42ODcgMS4zMTktMy4yNTMgMy4xMTUtMy4yNTNINy41djEuNUg2LjM2NXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIgY2xhc3M9Im5jLWljb24td3JhcHBlciIvPjwvZz48L3N2Zz4=);border:1px solid #3e7da6!important;border-radius:3px;height:2rem;width:2.25rem}#tab_PDF .gform_settings_form .all-merge-tags.textarea #gf_merge_tag_list{margin-right:.5rem}#tab_PDF .gform_settings_form .all-merge-tags.input #gf_merge_tag_list{right:0}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:4.125rem}@media only screen and (max-width:960px){#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container{display:flex;flex-direction:column}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list{width:85%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-800px}}@media only screen and (min-width:961px){#tab_PDF #pdfextended-settings .about-wrap #dashboard-widgets .postbox-container{width:49.5%}#tab_PDF #pdfextended-settings .about-wrap #dashboard-widgets .postbox-container a{margin-right:30px;min-height:90px;line-height:1.8em}}@media only screen and (min-width:961px)and (max-width:1200px){#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-450px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .buttons-icons-container{display:block}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .buttons-icons-container .select-delete-icons-container{margin-top:.5rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .msg.template-usage-link #template_usage_info_box{width:90%}}@media only screen and (min-width:1201px){#tab_PDF #gfpdf-settings-field-wrapper-font-container,#tab_PDF #gfpdf-settings-field-wrapper-template-container{display:flex}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-590px}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input{width:35vw}}html[dir=rtl] #tab_PDF #gfpdf_settings\[default_font\],html[dir=rtl] #tab_PDF #gfpdf_settings\[font\]{margin:0 0 .2rem .2rem}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name,html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name{text-align:right}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-720px}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font.show{right:0}html[dir=rtl] #tab_PDF #gfpdf_settings\[default_template\],html[dir=rtl] #tab_PDF #gfpdf_settings\[template\]{margin:0 0 .2rem .2rem}html[dir=rtl] #tab_PDF .theme-wrap .theme-header h1{float:right;font-size:23px;font-weight:400;margin:0;padding:9px 2% 4px 0;line-height:1.3}html[dir=rtl] #tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-actions{left:0;right:inherit}html[dir=rtl] #tab_PDF .gfpdf-spinner-template{padding:10px 10px 0 0}html[dir=rtl] #tab_PDF .gfpdf-upload-setting-container input:first-of-type{border-bottom-left-radius:0;border-left:none;border-right:1px solid #9092b2;border-top-left-radius:0}html[dir=rtl] #tab_PDF .gfpdf-upload-setting-container input:last-of-type{border-radius:5px 0 0 5px}html[dir=rtl] #tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container .mt-gfpdf-merge-tag-selector-container{float:left}html[dir=rtl] #tab_PDF{font-family:system-ui}html[dir=rtl] #tab_PDF .gform-settings-panel__content .tablenav .alignleft{width:0}html[dir=rtl] #tab_PDF .gform-settings-panel__content .tablenav .actions{padding:0}html[dir=rtl] #tab_PDF .gform_settings_form .entry-view{margin-right:0}html[dir=rtl] #tab_PDF .gform_settings_form .entry-view label{float:right;margin-left:1rem;padding-top:.2rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator{margin:0 .375rem 0 0;padding:0 .375rem 0 1rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator svg{right:auto;left:.25rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator .gform-status-indicator-status{margin-left:.375rem}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag input[type=text],html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper input[type=text]{border-bottom-right-radius:0;border-top-right-radius:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag input[type=radio],html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper input[type=radio]{float:right;margin-top:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags{margin:0 0 0 .5rem}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags a.open-list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags a.open-list{border-radius:3px 0 0 3px}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags.textarea #gf_merge_tag_list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags.textarea #gf_merge_tag_list{margin-left:.5rem;right:unset;left:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags.input #gf_merge_tag_list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags.input #gf_merge_tag_list{right:unset;left:0}html[dir=rtl] #tab_PDF .gform_settings_form button.add_field_choice{margin-right:.625rem;margin-left:.25rem}html[dir=rtl] #tab_PDF .gform_settings_form button.delete_field_choice{margin-left:.25rem}html[dir=rtl] #tab_PDF .gform_settings_form span .select2-selection__rendered{padding-right:2rem}html[dir=rtl] #tab_PDF .gform_settings_form span .select2-container--open{position:unset!important}html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:0;margin-left:4.125rem}@media only screen and (max-width:960px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-800px}}@media only screen and (min-width:961px)and (max-width:1200px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-450px}}@media only screen and (min-width:1201px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-590px}}
|
1 |
+
div#adminmenuback{z-index:2}.wp-clearfix:after{content:unset}input[type=number]::-webkit-inner-spin-button{opacity:1}#tab_PDF .gf-notice{display:block}#tab_PDF #gpdf-advance-font-manager-selector,#tab_PDF #gpdf-advance-template-selector{display:inline-block;vertical-align:top}#tab_PDF #gpdf-advance-font-manager-selector button,#tab_PDF #gpdf-advance-template-selector button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455;line-height:2.95}#tab_PDF .wp-picker-container button{padding:0 0 0 35px;border:1px solid #9092b2;border-image:initial;height:auto}#tab_PDF .wp-picker-container button .wp-color-result-text{font-size:.875rem}#tab_PDF .wp-picker-container .wp-picker-input-wrap .button-small,#tab_PDF .wp-picker-container .wp-picker-input-wrap .button-small:hover{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455}#tab_PDF .wp-picker-container .wp-picker-input-wrap input[type=text]{width:5.25rem;font-size:1rem}#tab_PDF .gfpdf-core-font-counter{display:inline-block}#tab_PDF .gfpdf-core-font-list-results-container{border:1px solid #e3e6ef;border-radius:6px;box-shadow:0 1px 4px rgba(18,25,97,.0779552);margin-top:1rem;padding:.75rem;height:200px;overflow:auto;font-family:Courier New,Courier,monospace}#tab_PDF .gfpdf-core-font-list-results-container .gfpdf-core-font-status-success{color:#22a753}#tab_PDF .gfpdf-core-font-list-results-container .gfpdf-core-font-status-error{color:#dd301d}#tab_PDF #gfpdf_settings\[default_font\],#tab_PDF #gfpdf_settings\[font\]{margin:0 .2rem .2rem 0}#tab_PDF #gfpdf_pdf_form #gfpdf-settings-field-wrapper-font-container{display:flex}#tab_PDF #font-manager-overlay .font-manager{overflow:hidden}#tab_PDF #font-manager-overlay .font-manager .theme-about{background-color:#fff;bottom:0;padding:2% 4% 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;color:#242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .wp-filter-search{width:60%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .input-label-validation-error{border-color:#dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column{z-index:2;background-color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list{margin-top:1rem;overflow:auto;max-height:600px;box-shadow:0 1px 1px rgba(0,0,0,.04)}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .alert-message{border:0;text-align:center;margin:40px 0;box-shadow:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .alert-message .link{color:#0073aa;cursor:pointer;text-decoration:underline}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item{display:grid;grid-template-columns:4fr 1.5fr 1.5fr 1.5fr 2fr .75fr;gap:1rem;padding:.325rem 0;text-align:center}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name{text-align:left;word-break:break-all}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name .select-font-name,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name .select-font-name{width:1rem;height:1rem;margin-right:.5rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header{font-weight:600}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item{border-top:1px solid #d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item:hover{cursor:pointer;background:#d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item.active{background-color:#d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item:focus{border:1px dotted #5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash{color:#5b5e80;text-align:center;transition:color .25s ease;margin-left:5px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash:focus,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash:hover{color:#dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-no-alt,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-yes{font-size:22px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-yes{color:#22a753}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-no-alt{color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column{display:flex;position:relative;width:100%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column #gfpdf-add-font-name-input,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column #gfpdf-update-font-name-input{width:100%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .add-font{width:79%;margin-left:1px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{background-color:#fff;padding-right:.5rem;position:absolute;left:-720px;transition:.5s;width:100%;z-index:-1;width:80%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font.show{left:0;transition:.5s;z-index:1}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form h2{font-size:1.8em;margin:.5rem 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form h2+p{margin:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form label{display:block;margin-top:1rem;font-size:1rem;font-weight:600}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form label+p{margin:.325rem 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .required{color:#b71f1f;font-size:.8rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting{display:grid;grid-template-columns:50% 50%;grid-template-rows:1fr 1fr;gap:1rem;margin:.75rem 0;width:96%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting a{color:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting a:focus{box-shadow:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;border:5px dashed #d5d7e9;height:160px;transition:all .3s ease-out}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.active,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:hover{background-color:#d5d7e9;border:5px solid #d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.active .dashicons,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:hover .dashicons{background-color:#fff;color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:focus{outline:none;border:5px dashed #242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required{border:5px dashed #dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required .dashicons{background-color:#dd301d;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required:focus{border-color:#242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.error{background-color:#b71f1f;border-color:#b71f1f;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone input{display:none}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .gfpdf-font-filename{overflow:hidden;text-align:center}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .gfpdf-font-filename.required{color:#b71f1f}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons{width:70px;height:70px;margin:.675rem;background-color:#d5d7e9;border-radius:50%;font-size:3.2rem;color:#5b5e80;cursor:pointer}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons:before{margin-left:-1px;vertical-align:middle}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons-trash{font-size:2.9rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons-trash:before{margin-left:3px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer{padding-bottom:40px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container{display:grid;grid-template-columns:3fr 1fr}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .cancel button{margin-bottom:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .gfpdf-spinner{padding-left:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .button{height:35px;margin-right:8px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .select-delete-icons-container{justify-self:end}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .select-delete-icons-container .dashicons{width:auto;height:auto}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons{border:1px solid #d5d7e9;border-radius:3px;margin-right:.3rem;padding:.4rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons:hover{cursor:pointer}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes:hover{background-color:#d5d7e9;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes.checked{background-color:#22a753;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes.checked:hover{background-color:#d5d7e9;color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-trash{color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-trash:hover{background-color:#dd301d;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg{display:block}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link{margin-top:1rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link a{color:#0073aa;cursor:pointer;text-decoration:underline}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link .dashicons{border:0;font-size:.9rem;margin-top:.2rem;padding:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link div{margin-left:1.6rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link #template_usage_info_box{color:#000;font-family:Courier New,Courier,monospace;font-size:.8rem;margin:.5rem 0 0 1.6rem;height:170px;width:80%;border:3px solid #aaa;border-radius:5px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.success{color:#22a753}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.error{color:#dd301d}.font-list-items-skeleton .font-list-item{border-top:1px solid #d5d7e9}.font-list-items-skeleton .font-list-item .placeholder{display:inline-block;background-color:#444;border-radius:100px;opacity:.1;animation:fading 1.5s infinite}.font-list-items-skeleton .font-list-item .placeholder.dashicons{background:unset}.font-list-items-skeleton .font-list-item .placeholder.dashicons.dashicons-yes{color:#22a753}.font-list-items-skeleton .font-list-item .placeholder.font-name{height:10px;margin:5px 0}@keyframes fading{0%{opacity:.1}50%{opacity:.2}to{opacity:.1}}#tab_PDF .gpdf-help h2{text-align:center;color:#242748;font-size:2.375rem;font-weight:400;margin:2.3125rem 0;padding:9px 0 4px;line-height:1.3}#tab_PDF .gpdf-help h2+p{width:80%;margin:0 auto;text-align:center;color:#242748;font-size:1.125rem;line-height:2rem}#tab_PDF .gpdf-help .about-text{text-align:center;margin-right:0;max-width:none;min-height:0;line-height:1.8em}#tab_PDF .gpdf-help .about-text .about-text-disclaimer{font-size:13px}#tab_PDF .gpdf-help #gpdf-action-links{margin:2.3125rem 0 0;text-align:center}#tab_PDF .gpdf-help #gpdf-action-links .button-large{background:#007cba;border:none;height:35px;line-height:33px;padding:0 17px 9px}#tab_PDF .gpdf-help #gpdf-action-links .button-large:hover{background:#0071a1}#tab_PDF .gpdf-help #gpdf-search{width:80%;margin:1.875rem auto 0}#tab_PDF .gpdf-help .ais-SearchBox-form{display:inline-block;position:relative;width:100%;height:3.0625rem;white-space:nowrap;box-sizing:border-box;margin:0 auto}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input{width:100%;background-color:#fff;-webkit-appearance:none;-moz-appearance:none;background:transparent;display:inline-block;-webkit-transition:box-shadow .4s ease,background .4s ease;transition:box-shadow .4s ease,background .4s ease;border:1px solid #d4d8e3;border-radius:4px;background:#fff;box-shadow:0 1px 1px 0 rgba(85,95,110,.2);padding:16px 16px 16px 46px;vertical-align:middle;white-space:normal;font-size:inherit;appearance:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-cancel-button,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-decoration,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-results-button,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-results-decoration{display:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:active,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:focus,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:hover{box-shadow:none;outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-input-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-moz-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:-ms-input-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit{position:absolute;top:0;right:inherit;left:0;margin:0;border:0;border-radius:4px 0 0 4px;background-color:hsla(0,0%,100%,0);padding-top:16px;width:46px;height:100%;vertical-align:middle;text-align:center;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:before{display:inline-block;margin-right:-4px;height:100%;vertical-align:middle;content:""}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:active,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:hover{cursor:pointer}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:focus{outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit svg{width:20px;height:20px;vertical-align:middle;fill:#bfc7d8}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset{display:none;position:absolute;top:13px;right:13px;margin:0;border:0;background:none;cursor:pointer;padding-top:8px;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#bfc7d8}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset:focus{outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset svg{display:block;margin:4px;width:16px;height:16px}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:valid~.ais-SearchBox-reset{display:block;-webkit-animation-name:a;animation-name:a;-webkit-animation-duration:.25s;animation-duration:.25s}@keyframes a{0%{opacity:0}to{opacity:1}}#tab_PDF .gpdf-help .search-result:not(:empty){padding:1rem 1rem .8rem}#tab_PDF .gpdf-help .search-result:not(:empty) .group-name{color:#3e7da6;font-size:.85rem;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;top:0;z-index:10}#tab_PDF .gpdf-help .search-result:not(:empty) ul li{border-radius:4px;display:flex;padding-bottom:4px;position:relative}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a{background-color:#fff;border-radius:4px;box-shadow:0 1px 3px 0 #d4d9e1;display:block;width:100%;text-decoration:none}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover{background-color:#3e7da6}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-content-wrapper,#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-icon{color:#fff}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-content-wrapper .hit-path{color:#fff;text-overflow:ellipsis}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-action{color:#fff;display:flex}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container{align-items:center;color:#444950;display:flex;flex-direction:row;min-height:56px;padding-right:15px;padding-left:15px}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-icon{color:#969faf;height:20px;stroke-width:1.4;width:20px}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2rem;margin:0 8px;position:relative;text-overflow:ellipsis;width:80%}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper .hit-title{font-size:.9rem}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper .hit-path{color:#969faf;font-size:.75rem}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-action{align-items:center;color:#969faf;display:none;height:22px;stroke-width:1.4;width:22px}#tab_PDF form+form{margin-top:2rem}#tab_PDF .gfpdf-settings-field-wrapper:after{content:"";display:table;clear:both}#tab_PDF .gform_settings_form .gform-settings-panel--full{grid-column:span 2}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper{margin-bottom:1.25rem}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .gform-settings-panel__title{color:#23282d;font-size:.8125rem}#tab_PDF .gform_settings_form legend{font-size:.875rem;margin-bottom:.25rem}#tab_PDF .gform_settings_form .gform-settings-panel__header legend{margin-bottom:0}#tab_PDF .gform-settings-panel--collapsible .gform-settings-panel--full{grid-column:span 2}#tab_PDF .gfpdf-deactivate-license{margin-top:.5rem}#tab_PDF .gfpdf-settings-multicheck-wrapper{margin-bottom:.25rem}#tab_PDF .col-1-3 .gfpdf-settings-multicheck-wrapper{float:left;width:33%}#tab_PDF input[type=number].small-text{width:6rem}.theme-overlay .theme-backdrop{position:fixed;z-index:1}#tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container{display:block}#tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container .mt-gfpdf-merge-tag-selector-container{position:relative;float:right;top:3rem}#tab_PDF .wp-editor-wrap .wp-editor-tools button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455;margin:0}#tab_PDF .wp-editor-wrap .wp-editor-tools .wp-editor-tabs button{margin-left:5px}#tab_PDF .wp-editor-wrap .quicktags-toolbar .button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455}#tab_PDF .theme-wrap #gfpdf-template-container .wp-filter-search{margin:0 0 5px;font-size:1.1rem;font-weight:300;line-height:1.5;width:100%}#tab_PDF .gfpdf-spinner{padding:0 5px;vertical-align:middle;width:27px}#tab_PDF .gfpdf-spinner.add-update-font{width:20px;height:20px;padding:10px 0 0 10px}#tab_PDF .gfpdf-spinner.delete-font{width:17px;height:17px;padding:1px 0 0 8px}#tab_PDF .gfpdf-spinner-template{width:23px;height:23px;padding:10px 0 0 10px}#tab_PDF #gfpdf_list_form .gfpdf-spinner,#tab_PDF button .gfpdf-spinner{width:20px}#tab_PDF button .gfpdf-spinner{padding-right:0}#tab_PDF #gfpdf-button-wrapper-install_core_fonts .gfpdf-spinner{padding:5px}#tab_PDF #submit-and-promo-container{display:flex;justify-content:space-between;margin-top:.5rem;grid-column:span 2/auto}#tab_PDF #submit-and-promo-container .extensions-upsell{font-style:italic}#tab_PDF #gfpdf_settings\[default_template\],#tab_PDF #gfpdf_settings\[template\]{margin:0 .2rem .2rem 0}#tab_PDF #gfpdf_pdf_form #gfpdf-settings-field-wrapper-template-container{display:flex}#tab_PDF .theme-wrap .theme-header h1{float:left;padding-left:2%}#tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-author{display:block}#tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-actions{opacity:1;left:inherit;border-top:none;height:41px;padding:6px 3px 0;top:auto;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transform:none;transform:none;box-shadow:none}@-moz-keyframes gfpdfspin{to{-moz-transform:rotate(-1turn)}}@-webkit-keyframes gfpdfspin{to{-webkit-transform:rotate(-1turn)}}@keyframes gfpdfspin{to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:hover span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax span:after{font-family:dashicons;content:"";font-size:79px;background:none;width:auto;height:auto;left:51.5%;text-indent:0;-webkit-animation:gfpdfspin 1s linear infinite;animation:gfpdfspin 1s linear infinite}#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:focus span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:hover span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme.gfpdf-dropzone-active .doing-ajax span:after{color:#fff;background:none}#tab_PDF .theme-wrap #gfpdf-template-container .gfpdf-dropzone .dropzone .gfpdf-template-install-instructions{font-size:85%;text-align:center;margin-top:5px}#tab_PDF .theme-wrap #gfpdf-template-container .notice{border-color:#22a753}#tab_PDF .theme-wrap #gfpdf-template-container .notice.error{border-color:#dd301d;color:#000;margin:0;padding:1px 12px}#gfpdf-settings-field-wrapper-uninstaller .alert{margin:0}#tab_PDF .gfpdf-upload-setting-container{display:flex}#tab_PDF .gfpdf-upload-setting-container input:first-of-type{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}#tab_PDF .gfpdf-upload-setting-container input:last-of-type{background:#fdfdff;border:1px solid #9092b2;border-radius:0 5px 5px 0;height:2.75rem;margin-left:0}#tab_PDF .gfpdf-hidden{display:none}#tab_PDF .gform_settings_form .entry-view{margin-right:1rem}div.gf_entry_wrap div#gfpdf-entry-details-list .inside{margin:0;padding:0;max-height:18rem;overflow-y:auto}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_container{margin-bottom:.25rem;border-bottom:1px solid #ebebf2;padding:.5rem .75rem}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_container:last-of-type{border-bottom:none;margin-bottom:0}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_cta{color:#ddd}.gfpdf_form_action_has_submenu{position:relative;display:inline-block}.gfpdf_form_action_has_submenu.open .gform-form-toolbar__submenu{display:block;min-width:10rem;max-width:30rem}.gfpdf_form_action_has_submenu.open .gform-form-toolbar__submenu a:focus{box-shadow:inset 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.no-js #tab_PDF #gfpdf_list_form .btn-shortcode{display:none}.no-js #tab_PDF #gfpdf_list_form .btn-shortcode+.gpdf-fallback-input{display:block}#tab_PDF #gfpdf_list_form .gfpdf-spinner{width:20px}#tab_PDF #gfpdf_list_form td.column-shortcode .gform-button{width:100%;text-align:center;justify-content:center}#tab_PDF #gfpdf_list_form .btn-shortcode+.gpdf-fallback-input{display:none}#tab_PDF #gfpdf_list_form .btn-shortcode.gf_2_5{margin-left:0;border-radius:1px;padding:.3rem .5rem;white-space:normal}#tab_PDF #gfpdf_list_form .btn-shortcode.gf_2_5:before{font-family:dashicons;content:"";font-size:1rem;vertical-align:middle;font-weight:400;padding-right:.2rem;padding-bottom:.1rem}#tab_PDF #gfpdf_list_form .btn-shortcode.gf_2_5.btn-success,#tab_PDF #gfpdf_list_form .btn-shortcode.gf_2_5.toggle{color:#080;border-color:#080}#tab_PDF #gfpdf_list_form .btn-shortcode.gf_2_5.btn-success:hover,#tab_PDF #gfpdf_list_form .btn-shortcode.gf_2_5.toggle:hover{border-color:#080}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input{display:block;position:absolute;right:2.7rem;margin-top:5px;width:45vw;z-index:1}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input:after{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #9092b2;content:"";position:absolute;top:-5px;right:1rem}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input input{font-size:12px;padding:0 .25rem;text-align:center}#tab_PDF #gfpdf_list_form .check-column{width:6rem}#tab_PDF #gfpdf_list_form .check-column img{margin:-2px 0 0 8px}@media(min-width:782px)and (max-width:1100px){#tab_PDF td.column-shortcode .gform-button__icon{display:none}}#tab_PDF .gform_settings_form button.add_field_choice,#tab_PDF .gform_settings_form button.delete_field_choice{max-width:18px;width:100%}#tab_PDF .gform_settings_form .all-merge-tags.textarea .tooltip-merge-tag{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzNlN2RhNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCAxMGgydjJIOHYtMnptNiAyaC0ydi0yaDJ2MnptMS42MzUtNi4yNUgxNHYtMS41aDEuNjM1Yy45MjYgMCAxLjYyNS40MyAyLjA1OCAxLjA5My40MDkuNjI1LjU1NyAxLjQxMi41NTcgMi4xNnYxLjA0M2MwIDEuMDU0LjY3MyAxLjY1NyAxLjI1IDEuNjU3bC43NS43NXYuMDMxbC0uNzUxLjc1Yy0uNTgtLjAwMS0xLjI0OS41OTMtMS4yNDkgMS42NDZ2MS42MDNjMCAuNzQzLS4xNDcgMS40NjctLjYyMyAyLjAwNS0uNDk0LjU1Ny0xLjIwNC43NjQtMS45OTIuNzY0SDE0di0xLjVoMS42MzVjLjU0IDAgLjc2Mi0uMTM4Ljg3LS4yNTkuMTIzLS4xNC4yNDUtLjQyNS4yNDUtMS4wMVYxMy4zOGMwLS45MTkuMzU3LTEuODE1Ljk3MS0yLjQxNC0uNjE1LS42MDMtLjk3MS0xLjUwNC0uOTcxLTIuNDJWNy41MDNjMC0uNTgtLjEyLTEuMDQ1LS4zMTItMS4zNC0uMTY3LS4yNTUtLjQwMS0uNDEzLS44MDMtLjQxM3ptLTkuMjcgMGMtLjg2IDAtMS42MTUuNzgyLTEuNjE1IDEuNzUzdjEuMDY0YzAgLjMxNyAwIC42NjgtLjAzNi45OTctLjAzNi4zMzgtLjExNi43MTMtLjMxNCAxLjA1N2ExLjk0NiAxLjk0NiAwIDAxLS4yNS4zNDVjLjA5My4xMDIuMTc3LjIxNS4yNS4zNDEuMTk4LjM0NC4yNzguNzE4LjMxNCAxLjA1Ni4wMzYuMzI4LjAzNi42NzguMDM2Ljk5NXYxLjYyNWMwIC40NDguMTY0LjczMi40MDEuOTIuMjU5LjIwNi42Ny4zNDggMS4yMTQuMzQ4SDcuNXYxLjVINi4zNjVjLS43ODQgMC0xLjU1NS0uMjAzLTIuMTQ3LS42NzQtLjYxNC0uNDg4LS45NjgtMS4yMTMtLjk2OC0yLjA5NHYtMS42MDRjMC0uMzQyIDAtLjYxNS0uMDI3LS44NTQtLjAyNi0uMjM2LS4wNy0uMzc4LS4xMjItLjQ2Ny0uMDU2LS4wOTYtLjIyLS4zMjUtMS4xMDEtLjMyNWwtLjc1LS43NXYtLjAzbC43NS0uNzVjLjg3OSAwIDEuMDQzLS4yMyAxLjEtLjMyOC4wNTItLjA5Mi4wOTctLjIzNi4xMjMtLjQ3My4wMjYtLjI0LjAyNy0uNTE0LjAyNy0uODU2VjcuNTAzYzAtMS42ODcgMS4zMTktMy4yNTMgMy4xMTUtMy4yNTNINy41djEuNUg2LjM2NXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIgY2xhc3M9Im5jLWljb24td3JhcHBlciIvPjwvZz48L3N2Zz4=);border:1px solid #3e7da6!important;border-radius:3px;height:2rem;width:2.25rem}#tab_PDF .gform_settings_form .all-merge-tags.textarea #gf_merge_tag_list{margin-right:.5rem}#tab_PDF .gform_settings_form .all-merge-tags.input #gf_merge_tag_list{right:0}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:4.125rem}#tab_PDF .gfpdf-gf-2-6 .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:0}#tab_PDF .gfpdf-gf-2-6 .wp-media-buttons .all-merge-tags{top:-.15rem}#tab_PDF .gfpdf-gf-2-6 .wp-media-buttons .gform-icon--merge-tag{font-size:2.25rem}@media only screen and (max-width:960px){#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container{display:flex;flex-direction:column}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list{width:85%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-800px}}@media only screen and (min-width:961px){#tab_PDF #pdfextended-settings .about-wrap #dashboard-widgets .postbox-container{width:49.5%}#tab_PDF #pdfextended-settings .about-wrap #dashboard-widgets .postbox-container a{margin-right:30px;min-height:90px;line-height:1.8em}}@media only screen and (min-width:961px)and (max-width:1200px){#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-450px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .buttons-icons-container{display:block}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .buttons-icons-container .select-delete-icons-container{margin-top:.5rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .msg.template-usage-link #template_usage_info_box{width:90%}}@media only screen and (min-width:1201px){#tab_PDF #gfpdf-settings-field-wrapper-font-container,#tab_PDF #gfpdf-settings-field-wrapper-template-container{display:flex}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-590px}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input{width:35vw}}html[dir=rtl] #tab_PDF #gfpdf_settings\[default_font\],html[dir=rtl] #tab_PDF #gfpdf_settings\[font\]{margin:0 0 .2rem .2rem}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name,html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name{text-align:right}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-720px}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font.show{right:0}html[dir=rtl] #tab_PDF #gfpdf_settings\[default_template\],html[dir=rtl] #tab_PDF #gfpdf_settings\[template\]{margin:0 0 .2rem .2rem}html[dir=rtl] #tab_PDF .theme-wrap .theme-header h1{float:right;font-size:23px;font-weight:400;margin:0;padding:9px 2% 4px 0;line-height:1.3}html[dir=rtl] #tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-actions{left:0;right:inherit}html[dir=rtl] #tab_PDF .gfpdf-spinner-template{padding:10px 10px 0 0}html[dir=rtl] #tab_PDF .gfpdf-upload-setting-container input:first-of-type{border-bottom-left-radius:0;border-left:none;border-right:1px solid #9092b2;border-top-left-radius:0}html[dir=rtl] #tab_PDF .gfpdf-upload-setting-container input:last-of-type{border-radius:5px 0 0 5px}html[dir=rtl] #tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container .mt-gfpdf-merge-tag-selector-container{float:left}html[dir=rtl] #tab_PDF{font-family:system-ui}html[dir=rtl] #tab_PDF .gform-settings-panel__content .tablenav .alignleft{width:0}html[dir=rtl] #tab_PDF .gform-settings-panel__content .tablenav .actions{padding:0}html[dir=rtl] #tab_PDF .gform_settings_form .entry-view{margin-right:0}html[dir=rtl] #tab_PDF .gform_settings_form .entry-view label{float:right;margin-left:1rem;padding-top:.2rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator{margin:0 .375rem 0 0;padding:0 .375rem 0 1rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator svg{right:auto;left:.25rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator .gform-status-indicator-status{margin-left:.375rem}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag input[type=text],html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper input[type=text]{border-bottom-right-radius:0;border-top-right-radius:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag input[type=radio],html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper input[type=radio]{float:right;margin-top:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags{margin:0 0 0 .5rem}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags a.open-list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags a.open-list{border-radius:3px 0 0 3px}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags.textarea #gf_merge_tag_list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags.textarea #gf_merge_tag_list{margin-left:.5rem;right:unset;left:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags.input #gf_merge_tag_list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags.input #gf_merge_tag_list{right:unset;left:0}html[dir=rtl] #tab_PDF .gform_settings_form button.add_field_choice{margin-right:.625rem;margin-left:.25rem}html[dir=rtl] #tab_PDF .gform_settings_form button.delete_field_choice{margin-left:.25rem}html[dir=rtl] #tab_PDF .gform_settings_form span .select2-selection__rendered{padding-right:2rem}html[dir=rtl] #tab_PDF .gform_settings_form span .select2-container--open{position:unset!important}html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:0;margin-left:4.125rem}html[dir=rtl] .gfpdf-gf-2-6 .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-left:0}@media only screen and (max-width:960px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-800px}}@media only screen and (min-width:961px)and (max-width:1200px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-450px}}@media only screen and (min-width:1201px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-590px}}
|
dist/assets/js/admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/home/runner/work/gravity-pdf/gravity-pdf/tmp/package/6.1.0/dist/",e(e.s=211)}([,,function(t,n){t.exports=jQuery},,function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")()}).call(this,e(84))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(4),i=e(61),o=e(9),a=e(63),c=e(64),f=e(101),s=i("wks"),u=r.Symbol,l=f?u:u&&u.withoutSetter||a;t.exports=function(t){return o(s,t)||(c&&o(u,t)?s[t]=u[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,n,e){var r=e(4),i=e(45).f,o=e(14),a=e(26),c=e(50),f=e(102),s=e(85);t.exports=function(t,n){var e,u,l,p,d,g=t.target,v=t.global,h=t.stat;if(e=v?r:h?r[g]||c(g,{}):(r[g]||{}).prototype)for(u in n){if(p=n[u],l=t.noTargetGet?(d=i(e,u))&&d.value:e[u],!s(v?u:g+(h?".":"#")+u,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&o(p,"sham",!0),a(e,u,p,t)}}},function(t,n,e){var r=e(11);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(5);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(10),i=e(76),o=e(8),a=e(51),c=Object.defineProperty;n.f=r?c:function(t,n,e){if(o(t),n=a(n,!0),o(e),i)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},,function(t,n,e){var r=e(10),i=e(12),o=e(34);t.exports=r?function(t,n,e){return i.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},,,,,function(t,n,e){"use strict";var r=e(7),i=e(48).find,o=e(86),a=e(33),c=!0,f=a("find");"find"in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!f},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},function(t,n,e){var r=e(59),i=e(22);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(35),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(22);t.exports=function(t){return Object(r(t))}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){"use strict";var r=e(117).charAt,i=e(47),o=e(132),a=i.set,c=i.getterFor("String Iterator");o(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,n=c(this),e=n.string,i=n.index;return i>=e.length?{value:void 0,done:!0}:(t=r(e,i),n.index+=t.length,{value:t,done:!1})}))},function(t,n,e){var r=e(4),i=e(14),o=e(9),a=e(50),c=e(65),f=e(47),s=f.get,u=f.enforce,l=String(String).split("String");(t.exports=function(t,n,e,c){var f=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof e&&("string"!=typeof n||o(e,"name")||i(e,"name",n),u(e).source=l.join("string"==typeof n?n:"")),t!==r?(f?!p&&t[n]&&(s=!0):delete t[n],s?t[n]=e:i(t,n,e)):s?t[n]=e:a(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(t,n,e){var r=e(104),i=e(4),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][n]||i[t]&&i[t][n]}},,function(t,n,e){"use strict";var r=e(26),i=e(8),o=e(5),a=e(97),c=RegExp.prototype,f=c.toString,s=o((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),u="toString"!=f.name;(s||u)&&r(RegExp.prototype,"toString",(function(){var t=i(this),n=String(t.source),e=t.flags;return"/"+n+"/"+String(void 0===e&&t instanceof RegExp&&!("flags"in c)?a.call(t):e)}),{unsafe:!0})},,,,function(t,n,e){var r=e(10),i=e(5),o=e(9),a=Object.defineProperty,c={},f=function(t){throw t};t.exports=function(t,n){if(o(c,t))return c[t];n||(n={});var e=[][t],s=!!o(n,"ACCESSORS")&&n.ACCESSORS,u=o(n,0)?n[0]:f,l=o(n,1)?n[1]:void 0;return c[t]=!!e&&!i((function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:f}):t[1]=1,e.call(t,u,l)}))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},,,,,,function(t,n,e){"use strict";var r=e(7),i=e(73);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(t,n,e){"use strict";var r=e(7),i=e(48).map,o=e(90),a=e(33),c=o("map"),f=a("map");r({target:"Array",proto:!0,forced:!c||!f},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n){t.exports={}},function(t,n,e){var r=e(10),i=e(77),o=e(34),a=e(20),c=e(51),f=e(9),s=e(76),u=Object.getOwnPropertyDescriptor;n.f=r?u:function(t,n){if(t=a(t),n=c(n,!0),s)try{return u(t,n)}catch(t){}if(f(t,n))return o(!i.f.call(t,n),t[n])}},,function(t,n,e){var r,i,o,a=e(114),c=e(4),f=e(11),s=e(14),u=e(9),l=e(52),p=e(44),d=c.WeakMap;if(a){var g=new d,v=g.get,h=g.has,m=g.set;r=function(t,n){return m.call(g,t,n),n},i=function(t){return v.call(g,t)||{}},o=function(t){return h.call(g,t)}}else{var y=l("state");p[y]=!0,r=function(t,n){return s(t,y,n),n},i=function(t){return u(t,y)?t[y]:{}},o=function(t){return u(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!f(n)||(e=i(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(66),i=e(59),o=e(23),a=e(21),c=e(107),f=[].push,s=function(t){var n=1==t,e=2==t,s=3==t,u=4==t,l=6==t,p=5==t||l;return function(d,g,v,h){for(var m,y,_=o(d),x=i(_),b=r(g,v,3),w=a(x.length),S=0,E=h||c,O=n?E(d,w):e?E(d,0):void 0;w>S;S++)if((p||S in x)&&(y=b(m=x[S],S,_),t))if(n)O[S]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:f.call(O,m)}else if(u)return!1;return l?-1:s||u?u:O}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,n){t.exports=!1},function(t,n,e){var r=e(4),i=e(14);t.exports=function(t,n){try{i(r,t,n)}catch(e){r[t]=n}return n}},function(t,n,e){var r=e(11);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(61),i=e(63),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},,function(t,n,e){var r=e(7),i=e(144);r({target:"Array",stat:!0,forced:!e(130)((function(t){Array.from(t)}))},{from:i})},function(t,n){t.exports={}},,function(t,n,e){"use strict";var r=e(7),i=e(48).filter,o=e(90),a=e(33),c=o("filter"),f=a("filter");r({target:"Array",proto:!0,forced:!c||!f},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(5),i=e(24),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},,function(t,n,e){var r=e(49),i=e(75);(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(4),i=e(11),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(5);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,n,e){var r=e(75),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},function(t,n,e){var r=e(43);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(78),i=e(53);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r,i=e(8),o=e(118),a=e(53),c=e(44),f=e(106),s=e(62),u=e(52),l=u("IE_PROTO"),p=function(){},d=function(t){return"<script>"+t+"<\/script>"},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,n;g=r?function(t){t.write(d("")),t.close();var n=t.parentWindow.Object;return t=null,n}(r):((n=s("iframe")).style.display="none",f.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var e=a.length;e--;)delete g.prototype[a[e]];return g()};c[l]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=i(t),e=new p,p.prototype=null,e[l]=t):e=g(),void 0===n?e:o(e,n)}},,,function(t,n,e){var r=e(10),i=e(12).f,o=Function.prototype,a=o.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in o)&&i(o,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},function(t,n,e){var r=e(78),i=e(53).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){"use strict";var r,i,o=e(97),a=e(124),c=RegExp.prototype.exec,f=String.prototype.replace,s=c,u=(r=/a/,i=/b*/g,c.call(r,"a"),c.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(u||p||l)&&(s=function(t){var n,e,r,i,a=this,s=l&&a.sticky,d=o.call(a),g=a.source,v=0,h=t;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),h=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(g="(?: "+g+")",h=" "+h,v++),e=new RegExp("^(?:"+g+")",d)),p&&(e=new RegExp("^"+g+"$(?!\\s)",d)),u&&(n=a.lastIndex),r=c.call(s?e:a,h),s?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:u&&r&&(a.lastIndex=a.global?r.index+r[0].length:n),p&&r&&r.length>1&&f.call(r[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=s},function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(4),i=e(50),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,n,e){var r=e(10),i=e(5),o=e(62);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);n.f=o?function(t){var n=i(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(9),i=e(20),o=e(96).indexOf,a=e(44);t.exports=function(t,n){var e,c=i(t),f=0,s=[];for(e in c)!r(a,e)&&r(c,e)&&s.push(e);for(;n.length>f;)r(c,e=n[f++])&&(~o(s,e)||s.push(e));return s}},,,,,,function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(5),i=/#|\.prototype\./,o=function(t,n){var e=c[a(t)];return e==s||e!=f&&("function"==typeof n?r(n):!!n)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},f=o.NATIVE="N",s=o.POLYFILL="P";t.exports=o},function(t,n,e){var r=e(6),i=e(68),o=e(12),a=r("unscopables"),c=Array.prototype;null==c[a]&&o.f(c,a,{configurable:!0,value:i(null)}),t.exports=function(t){c[a][t]=!0}},,function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(12).f,i=e(9),o=e(6)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(5),i=e(6),o=e(115),a=i("species");t.exports=function(t){return o>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},,,function(t,n,e){"use strict";var r=e(98),i=e(8),o=e(23),a=e(21),c=e(35),f=e(22),s=e(112),u=e(99),l=Math.max,p=Math.min,d=Math.floor,g=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,n,e,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,y=h?"$":"$0";return[function(e,r){var i=f(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,r):n.call(String(i),e,r)},function(t,r){if(!h&&m||"string"==typeof r&&-1===r.indexOf(y)){var o=e(n,t,this,r);if(o.done)return o.value}var f=i(t),d=String(this),g="function"==typeof r;g||(r=String(r));var v=f.global;if(v){var x=f.unicode;f.lastIndex=0}for(var b=[];;){var w=u(f,d);if(null===w)break;if(b.push(w),!v)break;""===String(w[0])&&(f.lastIndex=s(d,a(f.lastIndex),x))}for(var S,E="",O=0,A=0;A<b.length;A++){w=b[A];for(var j=String(w[0]),k=l(p(c(w.index),d.length),0),P=[],C=1;C<w.length;C++)P.push(void 0===(S=w[C])?S:String(S));var T=w.groups;if(g){var R=[j].concat(P,k,d);void 0!==T&&R.push(T);var F=String(r.apply(void 0,R))}else F=_(j,d,k,P,T,r);k>=O&&(E+=d.slice(O,k)+F,O=k+j.length)}return E+d.slice(O)}];function _(t,e,r,i,a,c){var f=r+t.length,s=i.length,u=v;return void 0!==a&&(a=o(a),u=g),n.call(c,u,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(f);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var l=d(u/10);return 0===l?n:l<=s?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):n}c=i[u-1]}return void 0===c?"":c}))}}))},,,function(t,n,e){var r=e(20),i=e(21),o=e(105),a=function(t){return function(n,e,a){var c,f=r(n),s=i(f.length),u=o(a,s);if(t&&e!=e){for(;s>u;)if((c=f[u++])!=c)return!0}else for(;s>u;u++)if((t||u in f)&&f[u]===e)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,e){"use strict";var r=e(8);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";e(41);var r=e(26),i=e(5),o=e(6),a=e(73),c=e(14),f=o("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u="$0"==="a".replace(/./,"$0"),l=o("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),d=!i((function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,n,e,l){var g=o(t),v=!i((function(){var n={};return n[g]=function(){return 7},7!=""[t](n)})),h=v&&!i((function(){var n=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[f]=function(){return e},e.flags="",e[g]=/./[g]),e.exec=function(){return n=!0,null},e[g](""),!n}));if(!v||!h||"replace"===t&&(!s||!u||p)||"split"===t&&!d){var m=/./[g],y=e(g,""[t],(function(t,n,e,r,i){return n.exec===a?v&&!i?{done:!0,value:m.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),_=y[0],x=y[1];r(String.prototype,t,_),r(RegExp.prototype,g,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)})}l&&c(RegExp.prototype[g],"sham",!0)}},function(t,n,e){var r=e(24),i=e(73);t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var o=e.call(t,n);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},,function(t,n,e){var r=e(64);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(9),i=e(103),o=e(45),a=e(12);t.exports=function(t,n){for(var e=i(n),c=a.f,f=o.f,s=0;s<e.length;s++){var u=e[s];r(t,u)||c(t,u,f(n,u))}}},function(t,n,e){var r=e(27),i=e(72),o=e(88),a=e(8);t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(a(t)),e=o.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(4);t.exports=r},function(t,n,e){var r=e(35),i=Math.max,o=Math.min;t.exports=function(t,n){var e=r(t);return e<0?i(e+n,0):o(e,n)}},function(t,n,e){var r=e(27);t.exports=r("document","documentElement")},function(t,n,e){var r=e(11),i=e(74),o=e(6)("species");t.exports=function(t,n){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)?r(e)&&null===(e=e[o])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},function(t,n,e){"use strict";var r=e(51),i=e(12),o=e(34);t.exports=function(t,n,e){var a=r(n);a in t?i.f(t,a,o(0,e)):t[a]=e}},function(t,n,e){var r=e(9),i=e(23),o=e(52),a=e(133),c=o("IE_PROTO"),f=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},,,function(t,n,e){"use strict";var r=e(117).charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r={};r[e(6)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(4),i=e(65),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},function(t,n,e){var r,i,o=e(4),a=e(131),c=o.process,f=c&&c.versions,s=f&&f.v8;s?i=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},,function(t,n,e){var r=e(35),i=e(22),o=function(t){return function(n,e){var o,a,c=String(i(n)),f=r(e),s=c.length;return f<0||f>=s?t?"":void 0:(o=c.charCodeAt(f))<55296||o>56319||f+1===s||(a=c.charCodeAt(f+1))<56320||a>57343?t?c.charAt(f):o:t?c.slice(f,f+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,n,e){var r=e(10),i=e(12),o=e(8),a=e(67);t.exports=r?Object.defineProperties:function(t,n){o(t);for(var e,r=a(n),c=r.length,f=0;c>f;)i.f(t,e=r[f++],n[e]);return t}},function(t,n,e){"use strict";var r,i,o,a=e(109),c=e(14),f=e(9),s=e(6),u=e(49),l=s("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):p=!0),null==r&&(r={}),u||f(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},,function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return i}));e(55),e(42),e(25);function r(t,n){var e=Array.from(t);e.pop(),e.map((function(t,e){"none"!==t.style.display&&(t.querySelector(".gform-settings-panel__collapsible-toggle-checkbox").addEventListener("click",(function(){i(t,n,e)})),i(t,n,e,"firstLoad"))}))}function i(t,n,e,r){var i="submit-container-"+e;if(!t.classList.contains("gform-settings-panel--collapsed")){var o=n.querySelector("#submit").cloneNode(!0);o.setAttribute("id","submit_"+e);var a=document.createElement("div");return a.setAttribute("class",i),a.innerHTML=o.outerHTML,t.parentNode.insertBefore(a,t.nextSibling)}r||document.querySelector(".".concat(i)).remove()}},,function(t,n,e){var r=e(11),i=e(24),o=e(6)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,e){"use strict";var r=e(5);function i(t,n){return RegExp(t,n)}n.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),n.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,n,e){var r=e(8),i=e(146);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,o){return r(e),i(o),n?t.call(e,o):e.__proto__=o,e}}():void 0)},function(t,n,e){var r=e(113),i=e(24),o=e(6)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:a?i(n):"Object"==(r=i(n))&&"function"==typeof n.callee?"Arguments":r}},function(t,n,e){var r=e(6),i=e(56),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},function(t,n,e){var r=e(126),i=e(56),o=e(6)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(8);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){var r=e(6)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o={};o[r]=function(){return{next:function(){return{done:e=!0}}}},t(o)}catch(t){}return e}},function(t,n,e){var r=e(27);t.exports=r("navigator","userAgent")||""},function(t,n,e){"use strict";var r=e(7),i=e(145),o=e(109),a=e(125),c=e(89),f=e(14),s=e(26),u=e(6),l=e(49),p=e(56),d=e(119),g=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,h=u("iterator"),m=function(){return this};t.exports=function(t,n,e,u,d,y,_){i(e,n,u);var x,b,w,S=function(t){if(t===d&&k)return k;if(!v&&t in A)return A[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},E=n+" Iterator",O=!1,A=t.prototype,j=A[h]||A["@@iterator"]||d&&A[d],k=!v&&j||S(d),P="Array"==n&&A.entries||j;if(P&&(x=o(P.call(new t)),g!==Object.prototype&&x.next&&(l||o(x)===g||(a?a(x,g):"function"!=typeof x[h]&&f(x,h,m)),c(x,E,!0,!0),l&&(p[E]=m))),"values"==d&&j&&"values"!==j.name&&(O=!0,k=function(){return j.call(this)}),l&&!_||A[h]===k||f(A,h,k),p[n]=k,d)if(b={values:S("values"),keys:y?k:S("keys"),entries:S("entries")},_)for(w in b)(v||O||!(w in A))&&s(A,w,b[w]);else r({target:n,proto:!0,forced:v||O},b);return b}},function(t,n,e){var r=e(5);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},,,,,,,,function(t,n,e){"use strict";var r=e(27),i=e(12),o=e(6),a=e(10),c=o("species");t.exports=function(t){var n=r(t),e=i.f;a&&n&&!n[c]&&e(n,c,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(8),i=e(43),o=e(6)("species");t.exports=function(t,n){var e,a=r(t).constructor;return void 0===a||null==(e=r(a)[o])?n:i(e)}},,function(t,n,e){"use strict";var r=e(66),i=e(23),o=e(129),a=e(127),c=e(21),f=e(108),s=e(128);t.exports=function(t){var n,e,u,l,p,d,g=i(t),v="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,y=void 0!==m,_=s(g),x=0;if(y&&(m=r(m,h>2?arguments[2]:void 0,2)),null==_||v==Array&&a(_))for(e=new v(n=c(g.length));n>x;x++)d=y?m(g[x],x):g[x],f(e,x,d);else for(p=(l=_.call(g)).next,e=new v;!(u=p.call(l)).done;x++)d=y?o(l,m,[u.value,x],!0):u.value,f(e,x,d);return e.length=x,e}},function(t,n,e){"use strict";var r=e(119).IteratorPrototype,i=e(68),o=e(34),a=e(89),c=e(56),f=function(){return this};t.exports=function(t,n,e){var s=n+" Iterator";return t.prototype=i(r,{next:o(1,e)}),a(t,s,!1,!0),c[s]=f,t}},function(t,n,e){var r=e(11);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e(7)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},,,,,,function(t,n,e){var r=e(10),i=e(4),o=e(85),a=e(172),c=e(12).f,f=e(72).f,s=e(123),u=e(97),l=e(124),p=e(26),d=e(5),g=e(47).set,v=e(141),h=e(6)("match"),m=i.RegExp,y=m.prototype,_=/a/g,x=/a/g,b=new m(_)!==_,w=l.UNSUPPORTED_Y;if(r&&o("RegExp",!b||w||d((function(){return x[h]=!1,m(_)!=_||m(x)==x||"/a/i"!=m(_,"i")})))){for(var S=function(t,n){var e,r=this instanceof S,i=s(t),o=void 0===n;if(!r&&i&&t.constructor===S&&o)return t;b?i&&!o&&(t=t.source):t instanceof S&&(o&&(n=u.call(t)),t=t.source),w&&(e=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var c=a(b?new m(t,n):m(t,n),r?this:y,S);return w&&e&&g(c,{sticky:e}),c},E=function(t){t in S||c(S,t,{configurable:!0,get:function(){return m[t]},set:function(n){m[t]=n}})},O=f(m),A=0;O.length>A;)E(O[A++]);y.constructor=S,S.prototype=y,p(i,"RegExp",S)}v("RegExp")},function(t,n,e){var r=e(11),i=e(125);t.exports=function(t,n,e){var o,a;return i&&"function"==typeof(o=n.constructor)&&o!==e&&r(a=o.prototype)&&a!==e.prototype&&i(t,a),t}},function(t,n,e){"use strict";var r=e(98),i=e(123),o=e(8),a=e(22),c=e(142),f=e(112),s=e(21),u=e(99),l=e(73),p=e(5),d=[].push,g=Math.min,v=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,n,e){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var r=String(a(this)),o=void 0===e?4294967295:e>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return n.call(r,t,o);for(var c,f,s,u=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,v=new RegExp(t.source,p+"g");(c=l.call(v,r))&&!((f=v.lastIndex)>g&&(u.push(r.slice(g,c.index)),c.length>1&&c.index<r.length&&d.apply(u,c.slice(1)),s=c[0].length,g=f,u.length>=o));)v.lastIndex===c.index&&v.lastIndex++;return g===r.length?!s&&v.test("")||u.push(""):u.push(r.slice(g)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,e){var i=a(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,e):r.call(String(i),n,e)},function(t,i){var a=e(r,t,this,i,r!==n);if(a.done)return a.value;var l=o(t),p=String(this),d=c(l,RegExp),h=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(v?"y":"g"),y=new d(v?l:"^(?:"+l.source+")",m),_=void 0===i?4294967295:i>>>0;if(0===_)return[];if(0===p.length)return null===u(y,p)?[p]:[];for(var x=0,b=0,w=[];b<p.length;){y.lastIndex=v?b:0;var S,E=u(y,v?p:p.slice(b));if(null===E||(S=g(s(y.lastIndex+(v?0:b)),p.length))===x)b=f(p,b,h);else{if(w.push(p.slice(x,b)),w.length===_)return w;for(var O=1;O<=E.length-1;O++)if(w.push(E[O]),w.length===_)return w;b=x=S}}return w.push(p.slice(x)),w}]}),!v)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n);var r=e(2),i=e.n(r);e(165);e(19);function o(t,n){return i.a.ajax({type:"post",dataType:"json",url:GFPDF.ajaxUrl,data:t,success:n,error:n})}function a(t){return i()("<img alt="+GFPDF.spinnerAlt+" src="+GFPDF.spinnerUrl+" class="+t+" />")}function c(t){var n=i()("#gfpdf-settings-field-wrapper-font, #gfpdf-settings-field-wrapper-font_size, #gfpdf-settings-field-wrapper-font_colour");"legacy"===t?n.hide():n.show()}var f=e(121);function s(){i()("#gfpdf_settings\\[template\\]").off("change").on("change",(function(){var t=a("gfpdf-spinner-template");i()(this).next().after(t),o({action:"gfpdf_get_template_fields",nonce:GFPDF.ajaxNonce,template:i()(this).val(),type:i()(this).attr("id"),id:i()("#gform_id").val(),gform_pdf_id:i()("#gform_pdf_id").val()},(function(n){var e,r,o=i()(".submit-container-2")[0];t.remove(),i()('input[name="gfpdf_settings[advanced_template]"][value="No"]').prop("checked",!0).trigger("change"),n.fields?(i.a.each(n.editors,(function(t,n){var e=tinyMCE.get(n);if(null!==e)try{tinyMCE.remove(e)}catch(t){}})),o||Object(f.b)(i()("#gfpdf-fieldset-gfpdf_form_settings_template")[0],i()("#gfpdf_pdf_form")[0],"2"),i()("#gfpdf-fieldset-gfpdf_form_settings_template").show().find(".gform-settings-panel__content").html(n.fields),e=n.editors,null!=(r=n.editor_init)&&(r.body_class="id post-type-post post-status-publish post-format-standard",r.formats={alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"}},{selector:"img,table,dl.wp-caption",classes:"alignleft"}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"}},{selector:"img,table,dl.wp-caption",classes:"aligncenter"}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"}},{selector:"img,table,dl.wp-caption",classes:"alignright"}],strikethrough:{inline:"del"}},r.content_style='body#tinymce { max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;}'),i.a.each(e,(function(t,n){r.selector="#"+n,tinyMCE.init(r),tinyMCE.execCommand("mceAddEditor",!1,n),"function"==typeof QTags&&(QTags({id:n}),QTags._buttonsInit(),"function"==typeof switchEditors.switchto&&switchEditors.switchto(jQuery("#wp-"+n+"-wrap").find(".wp-switch-editor.switch-"+("html"===getUserSetting("editor")?"html":"tmce"))[0]))})),l.runElements(),window.gfMergeTags&&"undefined"!=typeof form&&i()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").length>=0&&(i()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").each((function(){new gfMergeTagsObj(form,i()(this))})),i()("#gfpdf-fieldset-gfpdf_form_settings_template .gform-settings-field").each((function(){i()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),i()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}))),gform_initialize_tooltips()):(o&&o.remove(),i()("#gfpdf-fieldset-gfpdf_form_settings_template").hide().find(".gform-settings-panel__content").html("")),n.template_type&&c(n.template_type),i()(document).trigger("gfpdf_template_loaded",[n])}))}))}function u(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var l=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"runElements",value:function(){var t;"undefined"!=typeof gf_vars&&(gf_vars.thisFormButton=GFPDF.conditionalText,gf_vars.show=GFPDF.enable,gf_vars.hide=GFPDF.disable),window.formfield="",i()("body").off("click",".gfpdf_settings_upload_button").on("click",".gfpdf_settings_upload_button",(function(n){n.preventDefault();var e=i()(this);window.formfield=i()(this).prev(),t||(t=wp.media.frames.file_frame=wp.media({title:e.data("uploader-title"),button:{text:e.data("uploader-button-text")},multiple:!1})).on("select",(function(){t.state().get("selection").each((function(t){t=t.toJSON(),window.formfield.val(t.url).trigger("change")}))})),t.open()})),i()(".gfpdf-color-picker").each((function(){i()(this).wpColorPicker({width:300}),i()(this).parents(".wp-picker-container").find(".wp-color-result").addClass("ed_button")})),i()(".gfpdf_paper_size").each((function(){var t=i()(this).nextAll(".gfpdf_paper_size_other").first();i()(this).find("select").off("change").on("change",(function(){"CUSTOM"===i()(this).val()?t.fadeIn():t.fadeOut()})).trigger("change")})),i()("form").off("change",".gfpdf-input-toggle").on("change",".gfpdf-input-toggle",(function(){var t=i()(this).parent().next();i()(this).prop("checked")?t.slideDown("slow"):(t.slideUp("slow"),t.find(".wp-editor-area").each((function(){var t=tinyMCE.get(i()(this).attr("id"));null!==t&&t.setContent("")})),t.find("textarea").each((function(){i()(this).val("")})))})),s(),i()(".gfpdf-deactivate-license").on("click",(function(){var t=i()(this).parent(),n=a("gfpdf-spinner");i()(this).append(n);var e=i()(this).data("addon-name");return o({action:"gfpdf_deactivate_license",addon_name:e,license:i()(this).data("license"),nonce:i()(this).data("nonce")},(function(r){n.remove(),r.success?(i()("#gfpdf_settings\\[license_"+e+"\\]").val(""),i()("#gfpdf_settings\\[license_"+e+"_message\\]").val(""),i()("#gfpdf_settings\\[license_"+e+"_status\\]").val(""),t.find("button").remove(),t.find("#message").removeClass("error").addClass("success").html(r.success)):t.find("#message").removeClass("success").addClass("error").html(r.error)})),!1}))}}])&&u(n.prototype,e),r&&u(n,r),t}());e(171),e(41),e(29),e(93);function p(t){t.attr("novalidate","novalidate"),t.find('input[type="submit"]').on("click",(function(){t.addClass("formSubmitted")})),t.find(':input[required=""], :input[required]').each((function(){var t=i()(this).parent();t.find(".gform-settings-panel__title a").length?t.find(".gform-settings-panel__title a").before('<span class="gfield_required">(required)</span>'):t.find(".gform-settings-panel__title").append('<span class="gfield_required">(required)</span>')}))}function d(t,n,e){n=void 0!==n?n:4500,e=void 0!==e&&e;var r=i()('<div id="message">').html("<p>"+t+"</p>");!0===e?r.addClass("error"):r.addClass("updated"),i()(".wrap > h2").after(r),setTimeout((function(){r.slideUp()}),n)}function g(){function t(t){t.append(a("gfpdf-spinner gfpdf-spinner-small")).closest(".row-actions").attr("style","position:static; visibility: visible;"),o({action:"gfpdf_list_delete",nonce:t.data("nonce"),fid:t.data("fid"),pid:t.data("id")},(function(n){n.msg&&(t.closest(".row-actions").attr("style","").find(".gfpdf-spinner").remove(),d(n.msg),t.parents("tr").css("background","#ffb8b8").fadeOut(400,(function(){this.remove(),function(){var t=i()("#gfpdf_list_form tbody");if(0===t.find("tr").length){var n=i()("<tr>").addClass("no-items"),e=i()("<td>").attr("colspan","5").addClass("colspanchange"),r=i()("<a>").attr("href",i()("#gfpdf_list_form a.button:first").attr("href")).append(GFPDF.letsGoCreateOne+".");e.append(GFPDF.thisFormHasNoPdfs).append(" ").append(r),n.append(e),t.append(n)}}()})))}))}i()("#gfpdf_list_form").on("click","a.submitdelete",(function(){String(i()(this).data("id")).length>0&&window.confirm(GFPDF.pdfDeleteWarning)&&t(i()(this));return!1}))}e(71),e(173);function v(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var h=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"setupAJAXListListener",value:function(){g(),i()("#gfpdf_list_form").on("click","a.submitduplicate",(function(t){t.preventDefault();var n=String(i()(this).data("id")),e=this;i()(this).after(a("gfpdf-spinner gfpdf-spinner-small")).parent().parent().attr("style","position:static; visibility: visible;"),n.length>0&&o({action:"gfpdf_list_duplicate",nonce:i()(this).data("nonce"),fid:i()(this).data("fid"),pid:i()(this).data("id")},(function(t){if(t.msg){i()(e).parent().parent().attr("style","").find(".gfpdf-spinner").remove(),d(t.msg);var r=i()(e).parents("tr"),o=r.clone().css("background","#baffb8");o.find(".column-name > a, .edit a").each((function(){var n=i()(this).attr("href");n=function(t,n,e){var r="",i=t.split("?"),o=i[0],a=i[1],c="";if(a){i=a.split("&");for(var f=0;f<i.length;f++)i[f].split("=")[0]!==n&&(r+=c+i[f],c="&")}return o+"?"+r+c+n+"="+e}(n,"pid",t.pid),i()(this).attr("href",n)})),o.find(".column-name > a").html(t.name);var a=o.find(".duplicate a"),c=o.find(".delete a"),f=o.find(".check-column button"),s=o.find(".column-shortcode");a.data("id",t.pid),a.data("nonce",t.dup_nonce),c.data("id",t.pid),c.data("nonce",t.del_nonce),f.data("id",t.pid),f.data("nonce",t.state_nonce),f[0].setAttribute("data-status","inactive");var u=s.find("button").attr("data-clipboard-text");u=u.replace(n,t.pid),s.find("button").attr("data-clipboard-text",u),s.find("input").attr("id",t.pid).attr("value",u),f.removeClass("gform-status--active").addClass("gform-status--inactive").find(".gform-status-indicator-status").html(t.status),o.hide().insertAfter(r).fadeIn().animate({backgroundColor:"#F6F9FC"})}}))})),i()("#gfpdf_list_form").on("click",".check-column button",(function(){var t=String(i()(this).data("id")),n=i()(this),e=n.find("span.gform-status-indicator-status");t.length>0&&(n.addClass("gform_status--pending").removeClass("gform-status--active gform-status--inactive"),o({action:"gfpdf_change_state",nonce:i()(this).data("nonce"),fid:i()(this).data("fid"),pid:i()(this).data("id")},(function(t){e.html(t.state),"active"===n.data("status")?(n[0].setAttribute("data-status","inactive"),n.data("status","inactive").removeClass("gform_status--pending").addClass("gform-status--inactive")):(n[0].setAttribute("data-status","active"),n.data("status","active").removeClass("gform_status--pending").addClass("gform-status--active"))})))}))}}])&&v(n.prototype,e),r&&v(n,r),t}());e(58);function m(){var t,n,e,r,o,a,f,s;p(i()("#gfpdf_pdf_form")),t=i()("#gfpdf-fieldset-gfpdf_form_settings_advanced"),n=t.find('input[name="gfpdf_settings[security]"]'),e=t.find('input[name="gfpdf_settings[format]"]'),r=t.find("#gfpdf-settings-field-wrapper-security"),o=t.find("#gfpdf-settings-field-wrapper-password,#gfpdf-settings-field-wrapper-privileges,#gfpdf-settings-field-wrapper-master_password:not(.gfpdf-hidden)"),n.on("change",(function(){var t=e.filter(":checked").val();"No"===i()(this).val()||"Standard"!==t?o.hide():i()(this).is(":checked")?o.show():o.hide(),"Standard"!==t?r.hide():r.show()})).trigger("change"),e.on("change",(function(){i()(this).is(":checked")&&n.trigger("change")})).trigger("change"),gform.addFilter("gform_conditional_object",(function(t,n){return"gfpdf"===n?window.gfpdf_current_pdf:t})),i()("#gfpdf_conditional_logic").on("change",(function(){void 0===window.gfpdf_current_pdf.conditionalLogic&&i()(this).prop("checked")?window.gfpdf_current_pdf.conditionalLogic=new ConditionalLogic:i()(this).prop("checked")||(window.gfpdf_current_pdf.conditionalLogic=null),ToggleConditionalLogic(!1,"gfpdf")})).trigger("change"),a=i()("#gfpdf-fieldset-gfpdf_form_settings_advanced").find('input[name="gfpdf_settings[public_access]"]'),f=i()("#gfpdf-settings-field-wrapper-restrict_owner"),a.on("change",(function(){i()(this).is(":checked")?f.hide():f.show()})).trigger("change"),c(i()("#gfpdf_settings\\[template\\]").data("template_group")),s=i()("#gfpdf-fieldset-gfpdf_form_settings_appearance"),i()('input[name="gfpdf_settings[advanced_template]"]').on("change",(function(){"Yes"===i()(this).val()?s.hide():s.show()})),i()('input[name="gfpdf_settings[advanced_template]"]:checked').trigger("change"),i()(".gform-settings-field").each((function(){i()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),i()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}));var u=i()("#gfpdf-fieldset-gfpdf_form_settings_template");0===u.find(".gform-settings-panel__content").children().length&&u.hide(),i()(".gform-settings__wrapper > .alert").detach().prependTo("#tab_pdf"),i()("#gfpdf_pdf_form").on("submit",(function(){try{tinyMCE.triggerSave()}catch(t){}})),i()("#gfpdf_pdf_form").on("submit",(function(){i()("#gfpdf_settings\\[conditionalLogic\\]").val(i.a.toJSON(window.gfpdf_current_pdf.conditionalLogic))}))}function y(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var _=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"isSettings",value:function(){return i()("#pdfextended-settings").length}},{key:"isFormSettings",value:function(){return i()(".gforms_edit_form").length}},{key:"isFormSettingsList",value:function(){return i()("#gfpdf_list_form").length}},{key:"isFormSettingsEdit",value:function(){return i()("#gfpdf_pdf_form").length}}])&&y(n.prototype,e),r&&y(n,r),t}());function x(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var b=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"init",value:function(){l.runElements(),_.isSettings()&&this.processSettings(),_.isFormSettings()&&this.processFormSettings()}},{key:"getCurrentSettingsPage",value:function(){return _.isSettings()?i()(".gform-settings-tabs__navigation a.active:first").data("id"):""}},{key:"processSettings",value:function(){switch(i()("#gform_tabs a").each((function(){var t=i()(this).attr("href"),n=new RegExp("&tab=[^&;]*","g");i()(this).attr("href",t.replace(n,""))})),this.getCurrentSettingsPage()){case"general":!function(){p(i()("#pdfextended-settings > form"));var t=i()("#pdf-general-security");t.find('input[name="gfpdf_settings[default_restrict_owner]"]').on("change",(function(){i()(this).is(":checked")&&("Yes"===i()(this).val()?t.find("tr:nth-child(3)").hide():t.find("tr:nth-child(3)").show())})).trigger("change")}()}}},{key:"processFormSettings",value:function(){_.isFormSettingsList()&&h.setupAJAXListListener(),_.isFormSettingsEdit()&&m()}}])&&x(n.prototype,e),r&&x(n,r),t}());i()((function(){b.init()}))}]);
|
1 |
+
!function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/home/runner/work/gravity-pdf/gravity-pdf/tmp/package/6.2.0/dist/",e(e.s=211)}([,,function(t,n){t.exports=jQuery},,function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")()}).call(this,e(84))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(4),i=e(61),o=e(9),a=e(63),c=e(64),f=e(101),s=i("wks"),u=r.Symbol,l=f?u:u&&u.withoutSetter||a;t.exports=function(t){return o(s,t)||(c&&o(u,t)?s[t]=u[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,n,e){var r=e(4),i=e(45).f,o=e(14),a=e(26),c=e(50),f=e(102),s=e(85);t.exports=function(t,n){var e,u,l,p,d,g=t.target,v=t.global,h=t.stat;if(e=v?r:h?r[g]||c(g,{}):(r[g]||{}).prototype)for(u in n){if(p=n[u],l=t.noTargetGet?(d=i(e,u))&&d.value:e[u],!s(v?u:g+(h?".":"#")+u,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&o(p,"sham",!0),a(e,u,p,t)}}},function(t,n,e){var r=e(11);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(5);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(10),i=e(76),o=e(8),a=e(51),c=Object.defineProperty;n.f=r?c:function(t,n,e){if(o(t),n=a(n,!0),o(e),i)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},,function(t,n,e){var r=e(10),i=e(12),o=e(34);t.exports=r?function(t,n,e){return i.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},,,,,function(t,n,e){"use strict";var r=e(7),i=e(48).find,o=e(86),a=e(33),c=!0,f=a("find");"find"in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!f},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},function(t,n,e){var r=e(59),i=e(22);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(35),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(22);t.exports=function(t){return Object(r(t))}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){"use strict";var r=e(117).charAt,i=e(47),o=e(132),a=i.set,c=i.getterFor("String Iterator");o(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,n=c(this),e=n.string,i=n.index;return i>=e.length?{value:void 0,done:!0}:(t=r(e,i),n.index+=t.length,{value:t,done:!1})}))},function(t,n,e){var r=e(4),i=e(14),o=e(9),a=e(50),c=e(65),f=e(47),s=f.get,u=f.enforce,l=String(String).split("String");(t.exports=function(t,n,e,c){var f=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof e&&("string"!=typeof n||o(e,"name")||i(e,"name",n),u(e).source=l.join("string"==typeof n?n:"")),t!==r?(f?!p&&t[n]&&(s=!0):delete t[n],s?t[n]=e:i(t,n,e)):s?t[n]=e:a(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(t,n,e){var r=e(104),i=e(4),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][n]||i[t]&&i[t][n]}},,function(t,n,e){"use strict";var r=e(26),i=e(8),o=e(5),a=e(97),c=RegExp.prototype,f=c.toString,s=o((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),u="toString"!=f.name;(s||u)&&r(RegExp.prototype,"toString",(function(){var t=i(this),n=String(t.source),e=t.flags;return"/"+n+"/"+String(void 0===e&&t instanceof RegExp&&!("flags"in c)?a.call(t):e)}),{unsafe:!0})},,,,function(t,n,e){var r=e(10),i=e(5),o=e(9),a=Object.defineProperty,c={},f=function(t){throw t};t.exports=function(t,n){if(o(c,t))return c[t];n||(n={});var e=[][t],s=!!o(n,"ACCESSORS")&&n.ACCESSORS,u=o(n,0)?n[0]:f,l=o(n,1)?n[1]:void 0;return c[t]=!!e&&!i((function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:f}):t[1]=1,e.call(t,u,l)}))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},,,,,,function(t,n,e){"use strict";var r=e(7),i=e(73);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(t,n,e){"use strict";var r=e(7),i=e(48).map,o=e(90),a=e(33),c=o("map"),f=a("map");r({target:"Array",proto:!0,forced:!c||!f},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n){t.exports={}},function(t,n,e){var r=e(10),i=e(77),o=e(34),a=e(20),c=e(51),f=e(9),s=e(76),u=Object.getOwnPropertyDescriptor;n.f=r?u:function(t,n){if(t=a(t),n=c(n,!0),s)try{return u(t,n)}catch(t){}if(f(t,n))return o(!i.f.call(t,n),t[n])}},,function(t,n,e){var r,i,o,a=e(114),c=e(4),f=e(11),s=e(14),u=e(9),l=e(52),p=e(44),d=c.WeakMap;if(a){var g=new d,v=g.get,h=g.has,m=g.set;r=function(t,n){return m.call(g,t,n),n},i=function(t){return v.call(g,t)||{}},o=function(t){return h.call(g,t)}}else{var y=l("state");p[y]=!0,r=function(t,n){return s(t,y,n),n},i=function(t){return u(t,y)?t[y]:{}},o=function(t){return u(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!f(n)||(e=i(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(66),i=e(59),o=e(23),a=e(21),c=e(107),f=[].push,s=function(t){var n=1==t,e=2==t,s=3==t,u=4==t,l=6==t,p=5==t||l;return function(d,g,v,h){for(var m,y,_=o(d),x=i(_),b=r(g,v,3),w=a(x.length),S=0,E=h||c,O=n?E(d,w):e?E(d,0):void 0;w>S;S++)if((p||S in x)&&(y=b(m=x[S],S,_),t))if(n)O[S]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:f.call(O,m)}else if(u)return!1;return l?-1:s||u?u:O}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,n){t.exports=!1},function(t,n,e){var r=e(4),i=e(14);t.exports=function(t,n){try{i(r,t,n)}catch(e){r[t]=n}return n}},function(t,n,e){var r=e(11);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(61),i=e(63),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},,function(t,n,e){var r=e(7),i=e(144);r({target:"Array",stat:!0,forced:!e(130)((function(t){Array.from(t)}))},{from:i})},function(t,n){t.exports={}},,function(t,n,e){"use strict";var r=e(7),i=e(48).filter,o=e(90),a=e(33),c=o("filter"),f=a("filter");r({target:"Array",proto:!0,forced:!c||!f},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(5),i=e(24),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},,function(t,n,e){var r=e(49),i=e(75);(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(4),i=e(11),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(5);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,n,e){var r=e(75),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},function(t,n,e){var r=e(43);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(78),i=e(53);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r,i=e(8),o=e(118),a=e(53),c=e(44),f=e(106),s=e(62),u=e(52),l=u("IE_PROTO"),p=function(){},d=function(t){return"<script>"+t+"<\/script>"},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,n;g=r?function(t){t.write(d("")),t.close();var n=t.parentWindow.Object;return t=null,n}(r):((n=s("iframe")).style.display="none",f.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var e=a.length;e--;)delete g.prototype[a[e]];return g()};c[l]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=i(t),e=new p,p.prototype=null,e[l]=t):e=g(),void 0===n?e:o(e,n)}},,,function(t,n,e){var r=e(10),i=e(12).f,o=Function.prototype,a=o.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in o)&&i(o,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},function(t,n,e){var r=e(78),i=e(53).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){"use strict";var r,i,o=e(97),a=e(124),c=RegExp.prototype.exec,f=String.prototype.replace,s=c,u=(r=/a/,i=/b*/g,c.call(r,"a"),c.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(u||p||l)&&(s=function(t){var n,e,r,i,a=this,s=l&&a.sticky,d=o.call(a),g=a.source,v=0,h=t;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),h=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(g="(?: "+g+")",h=" "+h,v++),e=new RegExp("^(?:"+g+")",d)),p&&(e=new RegExp("^"+g+"$(?!\\s)",d)),u&&(n=a.lastIndex),r=c.call(s?e:a,h),s?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:u&&r&&(a.lastIndex=a.global?r.index+r[0].length:n),p&&r&&r.length>1&&f.call(r[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=s},function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(4),i=e(50),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,n,e){var r=e(10),i=e(5),o=e(62);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);n.f=o?function(t){var n=i(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(9),i=e(20),o=e(96).indexOf,a=e(44);t.exports=function(t,n){var e,c=i(t),f=0,s=[];for(e in c)!r(a,e)&&r(c,e)&&s.push(e);for(;n.length>f;)r(c,e=n[f++])&&(~o(s,e)||s.push(e));return s}},,,,,,function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(5),i=/#|\.prototype\./,o=function(t,n){var e=c[a(t)];return e==s||e!=f&&("function"==typeof n?r(n):!!n)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},f=o.NATIVE="N",s=o.POLYFILL="P";t.exports=o},function(t,n,e){var r=e(6),i=e(68),o=e(12),a=r("unscopables"),c=Array.prototype;null==c[a]&&o.f(c,a,{configurable:!0,value:i(null)}),t.exports=function(t){c[a][t]=!0}},,function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(12).f,i=e(9),o=e(6)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(5),i=e(6),o=e(115),a=i("species");t.exports=function(t){return o>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},,,function(t,n,e){"use strict";var r=e(98),i=e(8),o=e(23),a=e(21),c=e(35),f=e(22),s=e(112),u=e(99),l=Math.max,p=Math.min,d=Math.floor,g=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,n,e,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,y=h?"$":"$0";return[function(e,r){var i=f(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,r):n.call(String(i),e,r)},function(t,r){if(!h&&m||"string"==typeof r&&-1===r.indexOf(y)){var o=e(n,t,this,r);if(o.done)return o.value}var f=i(t),d=String(this),g="function"==typeof r;g||(r=String(r));var v=f.global;if(v){var x=f.unicode;f.lastIndex=0}for(var b=[];;){var w=u(f,d);if(null===w)break;if(b.push(w),!v)break;""===String(w[0])&&(f.lastIndex=s(d,a(f.lastIndex),x))}for(var S,E="",O=0,A=0;A<b.length;A++){w=b[A];for(var j=String(w[0]),P=l(p(c(w.index),d.length),0),k=[],C=1;C<w.length;C++)k.push(void 0===(S=w[C])?S:String(S));var T=w.groups;if(g){var R=[j].concat(k,P,d);void 0!==T&&R.push(T);var F=String(r.apply(void 0,R))}else F=_(j,d,P,k,T,r);P>=O&&(E+=d.slice(O,P)+F,O=P+j.length)}return E+d.slice(O)}];function _(t,e,r,i,a,c){var f=r+t.length,s=i.length,u=v;return void 0!==a&&(a=o(a),u=g),n.call(c,u,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(f);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var l=d(u/10);return 0===l?n:l<=s?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):n}c=i[u-1]}return void 0===c?"":c}))}}))},,,function(t,n,e){var r=e(20),i=e(21),o=e(105),a=function(t){return function(n,e,a){var c,f=r(n),s=i(f.length),u=o(a,s);if(t&&e!=e){for(;s>u;)if((c=f[u++])!=c)return!0}else for(;s>u;u++)if((t||u in f)&&f[u]===e)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,e){"use strict";var r=e(8);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";e(41);var r=e(26),i=e(5),o=e(6),a=e(73),c=e(14),f=o("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u="$0"==="a".replace(/./,"$0"),l=o("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),d=!i((function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,n,e,l){var g=o(t),v=!i((function(){var n={};return n[g]=function(){return 7},7!=""[t](n)})),h=v&&!i((function(){var n=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[f]=function(){return e},e.flags="",e[g]=/./[g]),e.exec=function(){return n=!0,null},e[g](""),!n}));if(!v||!h||"replace"===t&&(!s||!u||p)||"split"===t&&!d){var m=/./[g],y=e(g,""[t],(function(t,n,e,r,i){return n.exec===a?v&&!i?{done:!0,value:m.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),_=y[0],x=y[1];r(String.prototype,t,_),r(RegExp.prototype,g,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)})}l&&c(RegExp.prototype[g],"sham",!0)}},function(t,n,e){var r=e(24),i=e(73);t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var o=e.call(t,n);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},,function(t,n,e){var r=e(64);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(9),i=e(103),o=e(45),a=e(12);t.exports=function(t,n){for(var e=i(n),c=a.f,f=o.f,s=0;s<e.length;s++){var u=e[s];r(t,u)||c(t,u,f(n,u))}}},function(t,n,e){var r=e(27),i=e(72),o=e(88),a=e(8);t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(a(t)),e=o.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(4);t.exports=r},function(t,n,e){var r=e(35),i=Math.max,o=Math.min;t.exports=function(t,n){var e=r(t);return e<0?i(e+n,0):o(e,n)}},function(t,n,e){var r=e(27);t.exports=r("document","documentElement")},function(t,n,e){var r=e(11),i=e(74),o=e(6)("species");t.exports=function(t,n){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)?r(e)&&null===(e=e[o])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},function(t,n,e){"use strict";var r=e(51),i=e(12),o=e(34);t.exports=function(t,n,e){var a=r(n);a in t?i.f(t,a,o(0,e)):t[a]=e}},function(t,n,e){var r=e(9),i=e(23),o=e(52),a=e(133),c=o("IE_PROTO"),f=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},,,function(t,n,e){"use strict";var r=e(117).charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r={};r[e(6)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(4),i=e(65),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},function(t,n,e){var r,i,o=e(4),a=e(131),c=o.process,f=c&&c.versions,s=f&&f.v8;s?i=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},,function(t,n,e){var r=e(35),i=e(22),o=function(t){return function(n,e){var o,a,c=String(i(n)),f=r(e),s=c.length;return f<0||f>=s?t?"":void 0:(o=c.charCodeAt(f))<55296||o>56319||f+1===s||(a=c.charCodeAt(f+1))<56320||a>57343?t?c.charAt(f):o:t?c.slice(f,f+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,n,e){var r=e(10),i=e(12),o=e(8),a=e(67);t.exports=r?Object.defineProperties:function(t,n){o(t);for(var e,r=a(n),c=r.length,f=0;c>f;)i.f(t,e=r[f++],n[e]);return t}},function(t,n,e){"use strict";var r,i,o,a=e(109),c=e(14),f=e(9),s=e(6),u=e(49),l=s("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):p=!0),null==r&&(r={}),u||f(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},,function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return i}));e(55),e(42),e(25);function r(t,n){var e=Array.from(t);e.pop(),e.map((function(t,e){"none"!==t.style.display&&(t.querySelector(".gform-settings-panel__collapsible-toggle-checkbox").addEventListener("click",(function(){i(t,n,e)})),i(t,n,e,"firstLoad"))}))}function i(t,n,e,r){var i="submit-container-"+e;if(!t.classList.contains("gform-settings-panel--collapsed")){var o=n.querySelector("#submit").cloneNode(!0);o.setAttribute("id","submit_"+e);var a=document.createElement("div");return a.setAttribute("class",i),a.innerHTML=o.outerHTML,t.parentNode.insertBefore(a,t.nextSibling)}r||document.querySelector(".".concat(i)).remove()}},,function(t,n,e){var r=e(11),i=e(24),o=e(6)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,e){"use strict";var r=e(5);function i(t,n){return RegExp(t,n)}n.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),n.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,n,e){var r=e(8),i=e(146);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,o){return r(e),i(o),n?t.call(e,o):e.__proto__=o,e}}():void 0)},function(t,n,e){var r=e(113),i=e(24),o=e(6)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:a?i(n):"Object"==(r=i(n))&&"function"==typeof n.callee?"Arguments":r}},function(t,n,e){var r=e(6),i=e(56),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},function(t,n,e){var r=e(126),i=e(56),o=e(6)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(8);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){var r=e(6)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o={};o[r]=function(){return{next:function(){return{done:e=!0}}}},t(o)}catch(t){}return e}},function(t,n,e){var r=e(27);t.exports=r("navigator","userAgent")||""},function(t,n,e){"use strict";var r=e(7),i=e(145),o=e(109),a=e(125),c=e(89),f=e(14),s=e(26),u=e(6),l=e(49),p=e(56),d=e(119),g=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,h=u("iterator"),m=function(){return this};t.exports=function(t,n,e,u,d,y,_){i(e,n,u);var x,b,w,S=function(t){if(t===d&&P)return P;if(!v&&t in A)return A[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},E=n+" Iterator",O=!1,A=t.prototype,j=A[h]||A["@@iterator"]||d&&A[d],P=!v&&j||S(d),k="Array"==n&&A.entries||j;if(k&&(x=o(k.call(new t)),g!==Object.prototype&&x.next&&(l||o(x)===g||(a?a(x,g):"function"!=typeof x[h]&&f(x,h,m)),c(x,E,!0,!0),l&&(p[E]=m))),"values"==d&&j&&"values"!==j.name&&(O=!0,P=function(){return j.call(this)}),l&&!_||A[h]===P||f(A,h,P),p[n]=P,d)if(b={values:S("values"),keys:y?P:S("keys"),entries:S("entries")},_)for(w in b)(v||O||!(w in A))&&s(A,w,b[w]);else r({target:n,proto:!0,forced:v||O},b);return b}},function(t,n,e){var r=e(5);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},,,,,,,,function(t,n,e){"use strict";var r=e(27),i=e(12),o=e(6),a=e(10),c=o("species");t.exports=function(t){var n=r(t),e=i.f;a&&n&&!n[c]&&e(n,c,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(8),i=e(43),o=e(6)("species");t.exports=function(t,n){var e,a=r(t).constructor;return void 0===a||null==(e=r(a)[o])?n:i(e)}},,function(t,n,e){"use strict";var r=e(66),i=e(23),o=e(129),a=e(127),c=e(21),f=e(108),s=e(128);t.exports=function(t){var n,e,u,l,p,d,g=i(t),v="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,y=void 0!==m,_=s(g),x=0;if(y&&(m=r(m,h>2?arguments[2]:void 0,2)),null==_||v==Array&&a(_))for(e=new v(n=c(g.length));n>x;x++)d=y?m(g[x],x):g[x],f(e,x,d);else for(p=(l=_.call(g)).next,e=new v;!(u=p.call(l)).done;x++)d=y?o(l,m,[u.value,x],!0):u.value,f(e,x,d);return e.length=x,e}},function(t,n,e){"use strict";var r=e(119).IteratorPrototype,i=e(68),o=e(34),a=e(89),c=e(56),f=function(){return this};t.exports=function(t,n,e){var s=n+" Iterator";return t.prototype=i(r,{next:o(1,e)}),a(t,s,!1,!0),c[s]=f,t}},function(t,n,e){var r=e(11);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e(7)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},,,,,,function(t,n,e){var r=e(10),i=e(4),o=e(85),a=e(172),c=e(12).f,f=e(72).f,s=e(123),u=e(97),l=e(124),p=e(26),d=e(5),g=e(47).set,v=e(141),h=e(6)("match"),m=i.RegExp,y=m.prototype,_=/a/g,x=/a/g,b=new m(_)!==_,w=l.UNSUPPORTED_Y;if(r&&o("RegExp",!b||w||d((function(){return x[h]=!1,m(_)!=_||m(x)==x||"/a/i"!=m(_,"i")})))){for(var S=function(t,n){var e,r=this instanceof S,i=s(t),o=void 0===n;if(!r&&i&&t.constructor===S&&o)return t;b?i&&!o&&(t=t.source):t instanceof S&&(o&&(n=u.call(t)),t=t.source),w&&(e=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var c=a(b?new m(t,n):m(t,n),r?this:y,S);return w&&e&&g(c,{sticky:e}),c},E=function(t){t in S||c(S,t,{configurable:!0,get:function(){return m[t]},set:function(n){m[t]=n}})},O=f(m),A=0;O.length>A;)E(O[A++]);y.constructor=S,S.prototype=y,p(i,"RegExp",S)}v("RegExp")},function(t,n,e){var r=e(11),i=e(125);t.exports=function(t,n,e){var o,a;return i&&"function"==typeof(o=n.constructor)&&o!==e&&r(a=o.prototype)&&a!==e.prototype&&i(t,a),t}},function(t,n,e){"use strict";var r=e(98),i=e(123),o=e(8),a=e(22),c=e(142),f=e(112),s=e(21),u=e(99),l=e(73),p=e(5),d=[].push,g=Math.min,v=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,n,e){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var r=String(a(this)),o=void 0===e?4294967295:e>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return n.call(r,t,o);for(var c,f,s,u=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,v=new RegExp(t.source,p+"g");(c=l.call(v,r))&&!((f=v.lastIndex)>g&&(u.push(r.slice(g,c.index)),c.length>1&&c.index<r.length&&d.apply(u,c.slice(1)),s=c[0].length,g=f,u.length>=o));)v.lastIndex===c.index&&v.lastIndex++;return g===r.length?!s&&v.test("")||u.push(""):u.push(r.slice(g)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,e){var i=a(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,e):r.call(String(i),n,e)},function(t,i){var a=e(r,t,this,i,r!==n);if(a.done)return a.value;var l=o(t),p=String(this),d=c(l,RegExp),h=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(v?"y":"g"),y=new d(v?l:"^(?:"+l.source+")",m),_=void 0===i?4294967295:i>>>0;if(0===_)return[];if(0===p.length)return null===u(y,p)?[p]:[];for(var x=0,b=0,w=[];b<p.length;){y.lastIndex=v?b:0;var S,E=u(y,v?p:p.slice(b));if(null===E||(S=g(s(y.lastIndex+(v?0:b)),p.length))===x)b=f(p,b,h);else{if(w.push(p.slice(x,b)),w.length===_)return w;for(var O=1;O<=E.length-1;O++)if(w.push(E[O]),w.length===_)return w;b=x=S}}return w.push(p.slice(x)),w}]}),!v)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n);var r=e(2),i=e.n(r);e(165);e(19);function o(t,n){return i.a.ajax({type:"post",dataType:"json",url:GFPDF.ajaxUrl,data:t,success:n,error:n})}function a(t){return i()("<img alt="+GFPDF.spinnerAlt+" src="+GFPDF.spinnerUrl+" class="+t+" />")}function c(t){var n=i()("#gfpdf-settings-field-wrapper-font, #gfpdf-settings-field-wrapper-font_size, #gfpdf-settings-field-wrapper-font_colour");"legacy"===t?n.hide():n.show()}var f=e(121);function s(){i()("#gfpdf_settings\\[template\\]").off("change").on("change",(function(){var t=a("gfpdf-spinner-template");i()(this).next().after(t),o({action:"gfpdf_get_template_fields",nonce:GFPDF.ajaxNonce,template:i()(this).val(),type:i()(this).attr("id"),id:i()("#gform_id").val(),gform_pdf_id:i()("#gform_pdf_id").val()},(function(n){var e,r,o=i()(".submit-container-2")[0];t.remove(),i()('input[name="gfpdf_settings[advanced_template]"][value="No"]').prop("checked",!0).trigger("change"),n.fields?(i.a.each(n.editors,(function(t,n){var e=tinyMCE.get(n);if(null!==e)try{tinyMCE.remove(e)}catch(t){}})),o||Object(f.b)(i()("#gfpdf-fieldset-gfpdf_form_settings_template")[0],i()("#gfpdf_pdf_form")[0],"2"),i()("#gfpdf-fieldset-gfpdf_form_settings_template").show().find(".gform-settings-panel__content").html(n.fields),e=n.editors,null!=(r=n.editor_init)&&(r.body_class="id post-type-post post-status-publish post-format-standard",r.formats={alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"}},{selector:"img,table,dl.wp-caption",classes:"alignleft"}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"}},{selector:"img,table,dl.wp-caption",classes:"aligncenter"}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"}},{selector:"img,table,dl.wp-caption",classes:"alignright"}],strikethrough:{inline:"del"}},r.content_style='body#tinymce { max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;}'),i.a.each(e,(function(t,n){r.selector="#"+n,tinyMCE.init(r),tinyMCE.execCommand("mceAddEditor",!1,n),"function"==typeof QTags&&(QTags({id:n}),QTags._buttonsInit(),"function"==typeof switchEditors.switchto&&switchEditors.switchto(jQuery("#wp-"+n+"-wrap").find(".wp-switch-editor.switch-"+("html"===getUserSetting("editor")?"html":"tmce"))[0]))})),l.runElements(),window.gfMergeTags&&"undefined"!=typeof form&&i()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").length>=0&&(i()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").each((function(){new gfMergeTagsObj(form,i()(this))})),i()("#gfpdf-fieldset-gfpdf_form_settings_template .gform-settings-field").each((function(){i()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),i()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}))),gform_initialize_tooltips()):(o&&o.remove(),i()("#gfpdf-fieldset-gfpdf_form_settings_template").hide().find(".gform-settings-panel__content").html("")),n.template_type&&c(n.template_type),i()(document).trigger("gfpdf_template_loaded",[n])}))}))}function u(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var l=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"runElements",value:function(){var t;"undefined"!=typeof gf_vars&&(gf_vars.thisFormButton=GFPDF.conditionalText,gf_vars.show=GFPDF.enable,gf_vars.hide=GFPDF.disable),window.formfield="",i()("body").off("click",".gfpdf_settings_upload_button").on("click",".gfpdf_settings_upload_button",(function(n){n.preventDefault();var e=i()(this);window.formfield=i()(this).prev(),t||(t=wp.media.frames.file_frame=wp.media({title:e.data("uploader-title"),button:{text:e.data("uploader-button-text")},multiple:!1})).on("select",(function(){t.state().get("selection").each((function(t){t=t.toJSON(),window.formfield.val(t.url).trigger("change")}))})),t.open()})),i()(".gfpdf-color-picker").each((function(){i()(this).wpColorPicker({width:300}),i()(this).parents(".wp-picker-container").find(".wp-color-result").addClass("ed_button")})),i()(".gfpdf_paper_size").each((function(){var t=i()(this).nextAll(".gfpdf_paper_size_other").first();i()(this).find("select").off("change").on("change",(function(){"CUSTOM"===i()(this).val()?t.fadeIn():t.fadeOut()})).trigger("change")})),i()("form").off("change",".gfpdf-input-toggle").on("change",".gfpdf-input-toggle",(function(){var t=i()(this).parent().next();i()(this).prop("checked")?t.slideDown("slow"):(t.slideUp("slow"),t.find(".wp-editor-area").each((function(){var t=tinyMCE.get(i()(this).attr("id"));null!==t&&t.setContent("")})),t.find("textarea").each((function(){i()(this).val("")})))})),s(),i()(".gfpdf-deactivate-license").on("click",(function(){var t=i()(this).parent(),n=a("gfpdf-spinner");i()(this).append(n);var e=i()(this).data("addon-name");return o({action:"gfpdf_deactivate_license",addon_name:e,license:i()(this).data("license"),nonce:i()(this).data("nonce")},(function(r){n.remove(),r.success?(i()("#gfpdf_settings\\[license_"+e+"\\]").val(""),i()("#gfpdf_settings\\[license_"+e+"_message\\]").val(""),i()("#gfpdf_settings\\[license_"+e+"_status\\]").val(""),t.find("button").remove(),t.find("#message").removeClass("error").addClass("success").html(r.success)):t.find("#message").removeClass("success").addClass("error").html(r.error)})),!1}))}}])&&u(n.prototype,e),r&&u(n,r),t}());e(171),e(41),e(29),e(93);function p(t){t.attr("novalidate","novalidate"),t.find('input[type="submit"]').on("click",(function(){t.addClass("formSubmitted")})),t.find(':input[required=""], :input[required]').each((function(){var t=i()(this).parent();t.find(".gform-settings-panel__title a").length?t.find(".gform-settings-panel__title a").before('<span class="gfield_required">(required)</span>'):t.find(".gform-settings-panel__title").append('<span class="gfield_required">(required)</span>')}))}function d(t,n,e){n=void 0!==n?n:4500,e=void 0!==e&&e;var r=i()('<div id="message">').html("<p>"+t+"</p>");!0===e?r.addClass("error"):r.addClass("updated"),i()(".wrap > h2").after(r),setTimeout((function(){r.slideUp()}),n)}function g(){function t(t){t.append(a("gfpdf-spinner gfpdf-spinner-small")).closest(".row-actions").attr("style","position:static; visibility: visible;"),o({action:"gfpdf_list_delete",nonce:t.data("nonce"),fid:t.data("fid"),pid:t.data("id")},(function(n){n.msg&&(t.closest(".row-actions").attr("style","").find(".gfpdf-spinner").remove(),d(n.msg),t.parents("tr").css("background","#ffb8b8").fadeOut(400,(function(){this.remove(),function(){var t=i()("#gfpdf_list_form tbody");if(0===t.find("tr").length){var n=i()("<tr>").addClass("no-items"),e=i()("<td>").attr("colspan","5").addClass("colspanchange"),r=i()("<a>").attr("href",i()("#gfpdf_list_form a.button:first").attr("href")).append(GFPDF.letsGoCreateOne+".");e.append(GFPDF.thisFormHasNoPdfs).append(" ").append(r),n.append(e),t.append(n)}}()})))}))}i()("#gfpdf_list_form").on("click","a.submitdelete",(function(){String(i()(this).data("id")).length>0&&window.confirm(GFPDF.pdfDeleteWarning)&&t(i()(this));return!1}))}e(71),e(173);function v(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var h=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"setupAJAXListListener",value:function(){g(),i()("#gfpdf_list_form").on("click","a.submitduplicate",(function(t){t.preventDefault();var n=String(i()(this).data("id")),e=this;i()(this).after(a("gfpdf-spinner gfpdf-spinner-small")).parent().parent().attr("style","position:static; visibility: visible;"),n.length>0&&o({action:"gfpdf_list_duplicate",nonce:i()(this).data("nonce"),fid:i()(this).data("fid"),pid:i()(this).data("id")},(function(t){if(t.msg){i()(e).parent().parent().attr("style","").find(".gfpdf-spinner").remove(),d(t.msg);var r=i()(e).parents("tr"),o=r.clone().css("background","#baffb8");o.find(".column-name > a, .edit a").each((function(){var n=i()(this).attr("href");n=function(t,n,e){var r="",i=t.split("?"),o=i[0],a=i[1],c="";if(a){i=a.split("&");for(var f=0;f<i.length;f++)i[f].split("=")[0]!==n&&(r+=c+i[f],c="&")}return o+"?"+r+c+n+"="+e}(n,"pid",t.pid),i()(this).attr("href",n)})),o.find(".column-name > a").html(t.name);var a=o.find(".duplicate a"),c=o.find(".delete a"),f=o.find(".check-column button"),s=o.find(".column-shortcode");a.data("id",t.pid),a.data("nonce",t.dup_nonce),c.data("id",t.pid),c.data("nonce",t.del_nonce),f.data("id",t.pid),f.data("nonce",t.state_nonce),f[0].setAttribute("data-status","inactive");var u=s.find("button").attr("data-clipboard-text");u=u.replace(n,t.pid),s.find("button").attr("data-clipboard-text",u),s.find("input").attr("id",t.pid).attr("value",u),f.removeClass("gform-status--active").addClass("gform-status--inactive").find(".gform-status-indicator-status").html(t.status),o.hide().insertAfter(r).fadeIn().animate({backgroundColor:"#F6F9FC"})}}))})),i()("#gfpdf_list_form").on("click",".check-column button",(function(){var t=String(i()(this).data("id")),n=i()(this),e=n.find("span.gform-status-indicator-status");t.length>0&&(n.addClass("gform_status--pending").removeClass("gform-status--active gform-status--inactive"),o({action:"gfpdf_change_state",nonce:i()(this).data("nonce"),fid:i()(this).data("fid"),pid:i()(this).data("id")},(function(t){e.html(t.state),"active"===n.data("status")?(n[0].setAttribute("data-status","inactive"),n.data("status","inactive").removeClass("gform_status--pending").addClass("gform-status--inactive")):(n[0].setAttribute("data-status","active"),n.data("status","active").removeClass("gform_status--pending").addClass("gform-status--active"))})))}))}}])&&v(n.prototype,e),r&&v(n,r),t}());e(58);function m(){var t,n,e,r,o,a,f,s;p(i()("#gfpdf_pdf_form")),t=i()("#gfpdf-fieldset-gfpdf_form_settings_advanced"),n=t.find('input[name="gfpdf_settings[security]"]'),e=t.find('input[name="gfpdf_settings[format]"]'),r=t.find("#gfpdf-settings-field-wrapper-security"),o=t.find("#gfpdf-settings-field-wrapper-password,#gfpdf-settings-field-wrapper-privileges,#gfpdf-settings-field-wrapper-master_password:not(.gfpdf-hidden)"),n.on("change",(function(){var t=e.filter(":checked").val();"No"===i()(this).val()||"Standard"!==t?o.hide():i()(this).is(":checked")?o.show():o.hide(),"Standard"!==t?r.hide():r.show()})).trigger("change"),e.on("change",(function(){i()(this).is(":checked")&&n.trigger("change")})).trigger("change"),gform.addFilter("gform_conditional_object",(function(t,n){return"gfpdf"===n?window.gfpdf_current_pdf:t})),i()("#gfpdf_conditional_logic").on("change",(function(){void 0===window.gfpdf_current_pdf.conditionalLogic&&i()(this).prop("checked")?window.gfpdf_current_pdf.conditionalLogic=new ConditionalLogic:i()(this).prop("checked")||(window.gfpdf_current_pdf.conditionalLogic=null),ToggleConditionalLogic(!1,"gfpdf")})).trigger("change"),a=i()("#gfpdf-fieldset-gfpdf_form_settings_advanced").find('input[name="gfpdf_settings[public_access]"]'),f=i()("#gfpdf-settings-field-wrapper-restrict_owner"),a.on("change",(function(){i()(this).is(":checked")?f.hide():f.show()})).trigger("change"),c(i()("#gfpdf_settings\\[template\\]").data("template_group")),s=i()("#gfpdf-fieldset-gfpdf_form_settings_appearance"),i()('input[name="gfpdf_settings[advanced_template]"]').on("change",(function(){"Yes"===i()(this).val()?s.hide():s.show()})),i()('input[name="gfpdf_settings[advanced_template]"]:checked').trigger("change"),i()(".gform-settings-field").each((function(){i()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),i()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}));var u=i()("#gfpdf-fieldset-gfpdf_form_settings_template");0===u.find(".gform-settings-panel__content").children().length&&u.hide(),i()(".gform-settings__wrapper > .alert").detach().prependTo("#tab_PDF"),i()("#gfpdf_pdf_form").on("submit",(function(){try{tinyMCE.triggerSave()}catch(t){}})),i()("#gfpdf_pdf_form").on("submit",(function(){i()("#gfpdf_settings\\[conditionalLogic\\]").val(i.a.toJSON(window.gfpdf_current_pdf.conditionalLogic))}))}function y(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var _=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"isSettings",value:function(){return i()("#pdfextended-settings").length}},{key:"isFormSettings",value:function(){return i()(".gforms_edit_form").length}},{key:"isFormSettingsList",value:function(){return i()("#gfpdf_list_form").length}},{key:"isFormSettingsEdit",value:function(){return i()("#gfpdf_pdf_form").length}}])&&y(n.prototype,e),r&&y(n,r),t}());function x(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var b=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"init",value:function(){l.runElements(),_.isSettings()&&this.processSettings(),_.isFormSettings()&&this.processFormSettings()}},{key:"getCurrentSettingsPage",value:function(){return _.isSettings()?i()(".gform-settings-tabs__navigation a.active:first").data("id"):""}},{key:"processSettings",value:function(){switch(i()("#gform_tabs a").each((function(){var t=i()(this).attr("href"),n=new RegExp("&tab=[^&;]*","g");i()(this).attr("href",t.replace(n,""))})),this.getCurrentSettingsPage()){case"general":!function(){p(i()("#pdfextended-settings > form"));var t=i()("#pdf-general-security");t.find('input[name="gfpdf_settings[default_restrict_owner]"]').on("change",(function(){i()(this).is(":checked")&&("Yes"===i()(this).val()?t.find("tr:nth-child(3)").hide():t.find("tr:nth-child(3)").show())})).trigger("change")}()}}},{key:"processFormSettings",value:function(){_.isFormSettingsList()&&h.setupAJAXListListener(),_.isFormSettingsEdit()&&m()}}])&&x(n.prototype,e),r&&x(n,r),t}());i()((function(){b.init()}))}]);
|
dist/assets/js/app.bundle.min.js
CHANGED
@@ -1,25 +1,25 @@
|
|
1 |
-
!function(e){function t(t){for(var n,o,i=t[0],a=t[1],u=0,c=[];u<i.length;u++)o=i[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&c.push(r[o][0]),r[o]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);c.length;)c.shift()()}var n={},r={2:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=i);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.src=function(e){return o.p+"assets/js/chunk-"+({}[e]||e)+"."+{0:"8edcd532c90076289c8a",4:"3958577e9ba487662fcf",5:"f06953d68b59268254e5",6:"6c41d7a031f41a494964",7:"9a1736bd0281c624aba5",8:"4d85e80b996f0e8e6163",9:"490ff386d143b3b668c9",10:"35956ed01838b210014b"}[e]+".js"}(e);var l=new Error;a=function(t){u.onerror=u.onload=null,clearTimeout(c);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,n[1](l)}r[e]=void 0}};var c=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/home/runner/work/gravity-pdf/gravity-pdf/tmp/package/6.1.0/dist/",o.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var u=0;u<i.length;u++)t(i[u]);var l=a;o(o.s=210)}([function(e,t,n){"use strict";e.exports=n(186)},function(e,t,n){e.exports=n(201)()},function(e,t){e.exports=jQuery},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"o",(function(){return o})),n.d(t,"n",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"j",(function(){return c})),n.d(t,"l",(function(){return s})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"i",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return g})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return w})),n.d(t,"s",(function(){return E})),n.d(t,"p",(function(){return x})),n.d(t,"A",(function(){return S})),n.d(t,"u",(function(){return T})),n.d(t,"z",(function(){return O})),n.d(t,"F",(function(){return k})),n.d(t,"y",(function(){return P})),n.d(t,"x",(function(){return _})),n.d(t,"v",(function(){return F})),n.d(t,"w",(function(){return C})),n.d(t,"D",(function(){return j})),n.d(t,"C",(function(){return R})),n.d(t,"E",(function(){return D})),n.d(t,"B",(function(){return A}));var r="GET_CUSTOM_FONT_LIST",o="GET_CUSTOM_FONT_LIST_SUCCESS",i="GET_CUSTOM_FONT_LIST_ERROR",a="ADD_FONT",u="ADD_FONT_SUCCESS",l="ADD_FONT_ERROR",c="EDIT_FONT",s="EDIT_FONT_SUCCESS",f="EDIT_FONT_ERROR",p="VALIDATION_ERROR",d="DELETE_VARIANT_ERROR",h="DELETE_FONT",m="DELETE_FONT_SUCCESS",v="DELETE_FONT_ERROR",y="CLEAR_ADD_FONT_MSG",g="CLEAR_DROPZONE_ERROR",b="RESET_SEARCH_RESULT",w="SEARCH_FONT_LIST",E="SELECT_FONT",x="MOVE_SELECTED_FONT_TO_TOP",S=function(){return{type:r}},T=function(e){return{type:a,payload:e}},O=function(e){return{type:c,payload:e}},k=function(){return{type:p}},P=function(e){return{type:d,payload:e}},_=function(e){return{type:h,payload:e}},F=function(){return{type:y}},C=function(e){return{type:g,payload:e}},j=function(e){return{type:w,payload:e}},R=function(){return{type:b}},D=function(e){return{type:E,payload:e}},A=function(e){return{type:x,payload:e}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(84))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(4),o=n(61),i=n(9),a=n(63),u=n(64),l=n(101),c=o("wks"),s=r.Symbol,f=l?s:s&&s.withoutSetter||a;e.exports=function(e){return i(c,e)||(u&&i(s,e)?c[e]=s[e]:c[e]=f("Symbol."+e)),c[e]}},function(e,t,n){var r=n(4),o=n(45).f,i=n(14),a=n(26),u=n(50),l=n(102),c=n(85);e.exports=function(e,t){var n,s,f,p,d,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in t){if(p=t[s],f=e.noTargetGet?(d=o(n,s))&&d.value:n[s],!c(m?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;l(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,s,p,e)}}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(5);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(10),o=n(76),i=n(8),a=n(51),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"u",(function(){return g})),n.d(t,"v",(function(){return b})),n.d(t,"p",(function(){return w})),n.d(t,"E",(function(){return E})),n.d(t,"s",(function(){return x})),n.d(t,"B",(function(){return S})),n.d(t,"D",(function(){return T})),n.d(t,"C",(function(){return O})),n.d(t,"w",(function(){return k})),n.d(t,"y",(function(){return P})),n.d(t,"x",(function(){return _})),n.d(t,"q",(function(){return F})),n.d(t,"t",(function(){return C})),n.d(t,"A",(function(){return j})),n.d(t,"z",(function(){return R})),n.d(t,"r",(function(){return D}));var r="SEARCH_TEMPLATES",o="SELECT_TEMPLATE",i="ADD_TEMPLATE",a="UPDATE_TEMPLATE_PARAM",u="DELETE_TEMPLATE",l="UPDATE_SELECT_BOX",c="UPDATE_SELECT_BOX_SUCCESS",s="TEMPLATE_PROCESSING",f="TEMPLATE_PROCESSING_SUCCESS",p="TEMPLATE_PROCESSING_FAILED",d="CLEAR_TEMPLATE_PROCESSING",h="POST_TEMPLATE_UPLOAD_PROCESSING",m="TEMPLATE_UPLOAD_PROCESSING_SUCCESS",v="TEMPLATE_UPLOAD_PROCESSING_FAILED",y="CLEAR_TEMPLATE_UPLOAD_PROCESSING",g=function(e){return{type:r,text:e}},b=function(e){return{type:o,id:e}},w=function(e){return{type:i,template:e}},E=function(e,t,n){return{type:a,id:e,name:t,value:n}},x=function(e){return{type:u,id:e}},S=function(){return{type:l}},T=function(e){return{type:c,payload:e}},O=function(){return{type:"UPDATE_SELECT_BOX_FAILED"}},k=function(e){return{type:s,payload:e}},P=function(e){return{type:f,payload:e}},_=function(e){return{type:p,payload:e}},F=function(){return{type:d}},C=function(e,t){return{type:h,payload:{file:e,filename:t}}},j=function(e){return{type:m,payload:e}},R=function(e){return{type:v,payload:e}},D=function(){return{type:y}}},function(e,t,n){var r=n(10),o=n(12),i=n(34);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=o.a.createContext(null);var l=function(e){e()},c={notify:function(){}};function s(){var e=l,t=[],n=[];return{clear:function(){n=null,t=null},notify:function(){var r=t=n;e((function(){for(var e=0;e<r.length;e++)r[e]()}))},get:function(){return n},subscribe:function(e){var r=!0;return n===t&&(n=t.slice()),n.push(e),function(){r&&null!==t&&(r=!1,n===t&&(n=t.slice()),n.splice(n.indexOf(e),1))}}}}var f=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=c,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=s())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=c)},e}();function p(e){var t=e.store,n=e.context,i=e.children,a=Object(r.useMemo)((function(){var e=new f(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),l=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=a.subscription;return e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,l]);var c=n||u;return o.a.createElement(c.Provider,{value:a},i)}p.propTypes={store:a.a.shape({subscribe:a.a.func.isRequired,dispatch:a.a.func.isRequired,getState:a.a.func.isRequired}),context:a.a.object,children:a.a.any};var d=p,h=n(28),m=n(69),v=n(122),y=n.n(v),g=n(70),b=n.n(g),w=n(137),E="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,x=[],S=[null,null];function T(e,t){var n=e[1];return[t.payload,n+1]}var O=function(){return[null,0]};function k(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,l=n.methodName,c=void 0===l?"connectAdvanced":l,s=n.renderCountProp,p=void 0===s?void 0:s,d=n.shouldHandleStateChanges,v=void 0===d||d,g=n.storeKey,k=void 0===g?"store":g,P=n.withRef,_=void 0!==P&&P,F=n.forwardRef,C=void 0!==F&&F,j=n.context,R=void 0===j?u:j,D=Object(m.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);b()(void 0===p,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),b()(!_,"withRef is removed. To access the wrapped instance, use a ref on the connected component");b()("store"===k,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect");var A=R;return function(t){var n=t.displayName||t.name||"Component",i=a(n),u=Object(h.a)({},D,{getDisplayName:a,methodName:c,renderCountProp:p,shouldHandleStateChanges:v,storeKey:k,displayName:i,wrappedComponentName:n,WrappedComponent:t}),l=D.pure;var s=l?r.useMemo:function(e){return e()};function d(n){var a=Object(r.useMemo)((function(){var e=n.forwardedRef,t=Object(m.a)(n,["forwardedRef"]);return[n.context,e,t]}),[n]),l=a[0],c=a[1],p=a[2],d=Object(r.useMemo)((function(){return l&&l.Consumer&&Object(w.isContextConsumer)(o.a.createElement(l.Consumer,null))?l:A}),[l,A]),y=Object(r.useContext)(d),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch),k=Boolean(y)&&Boolean(y.store);b()(g||k,'Could not find "store" in the context of "'+i+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+i+" in connect options.");var P=g?n.store:y.store,_=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,u)}(P)}),[P]),F=Object(r.useMemo)((function(){if(!v)return S;var e=new f(P,g?null:y.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[P,g,y]),C=F[0],j=F[1],R=Object(r.useMemo)((function(){return g?y:Object(h.a)({},y,{subscription:C})}),[g,y,C]),D=Object(r.useReducer)(T,x,O),L=D[0][0],N=D[1];if(L&&L.error)throw L.error;var I=Object(r.useRef)(),M=Object(r.useRef)(p),U=Object(r.useRef)(),q=Object(r.useRef)(!1),z=s((function(){return U.current&&p===M.current?U.current:_(P.getState(),p)}),[P,L,p]);E((function(){M.current=p,I.current=z,q.current=!1,U.current&&(U.current=null,j())})),E((function(){if(v){var e=!1,t=null,n=function(){if(!e){var n,r,o=P.getState();try{n=_(o,M.current)}catch(e){r=e,t=e}r||(t=null),n===I.current?q.current||j():(I.current=n,U.current=n,q.current=!0,N({type:"STORE_UPDATED",payload:{error:r}}))}};C.onStateChange=n,C.trySubscribe(),n();return function(){if(e=!0,C.tryUnsubscribe(),C.onStateChange=null,t)throw t}}}),[P,C,_]);var H=Object(r.useMemo)((function(){return o.a.createElement(t,Object(h.a)({},z,{ref:c}))}),[c,t,z]);return Object(r.useMemo)((function(){return v?o.a.createElement(d.Provider,{value:R},H):H}),[d,H,R])}var g=l?o.a.memo(d):d;if(g.WrappedComponent=t,g.displayName=i,C){var P=o.a.forwardRef((function(e,t){return o.a.createElement(g,Object(h.a)({},e,{forwardedRef:t}))}));return P.displayName=i,P.WrappedComponent=t,y()(P,t)}return y()(g,t)}}var P=Object.prototype.hasOwnProperty;function _(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function F(e,t){if(_(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!P.call(t,n[o])||!_(e[n[o]],t[n[o]]))return!1;return!0}var C=n(79);function j(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function R(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function D(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=R(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=R(o),o=r(t,n)),o},r}}var A=[function(e){return"function"==typeof e?D(e):void 0},function(e){return e?void 0:j((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?j((function(t){return Object(C.bindActionCreators)(e,t)})):void 0}];var L=[function(e){return"function"==typeof e?D(e):void 0},function(e){return e?void 0:j((function(){return{}}))}];function N(e,t,n){return Object(h.a)({},n,{},e,{},t)}var I=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,u){var l=e(t,n,u);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return N}}];function M(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function U(e,t,n,r,o){var i,a,u,l,c,s=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,m,v=!f(d,a),y=!s(o,i);return i=o,a=d,v&&y?(u=e(i,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):v?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):y?(h=e(i,a),m=!p(h,u),u=h,m&&(c=n(u,l,a)),c):c}return function(o,s){return d?h(o,s):(u=e(i=o,a=s),l=t(r,a),c=n(u,l,a),d=!0,c)}}function q(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Object(m.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),l=o(e,i);return(i.pure?U:M)(a,u,l,e,i)}function z(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function H(e,t){return e===t}var G,B,$,V,W,K,Q,X,Y,J,Z,ee,te=($=(B=void 0===G?{}:G).connectHOC,V=void 0===$?k:$,W=B.mapStateToPropsFactories,K=void 0===W?L:W,Q=B.mapDispatchToPropsFactories,X=void 0===Q?A:Q,Y=B.mergePropsFactories,J=void 0===Y?I:Y,Z=B.selectorFactory,ee=void 0===Z?q:Z,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,l=void 0===u?H:u,c=o.areOwnPropsEqual,s=void 0===c?F:c,f=o.areStatePropsEqual,p=void 0===f?F:f,d=o.areMergedPropsEqual,v=void 0===d?F:d,y=Object(m.a)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=z(e,K,"mapStateToProps"),b=z(t,X,"mapDispatchToProps"),w=z(n,J,"mergeProps");return V(ee,Object(h.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:b,initMergeProps:w,pure:a,areStatesEqual:l,areOwnPropsEqual:s,areStatePropsEqual:p,areMergedPropsEqual:v},y))});function ne(){var e=Object(r.useContext)(u);return b()(e,"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"),e}function re(e){void 0===e&&(e=u);var t=e===u?ne:function(){return Object(r.useContext)(e)};return function(){return t().store}}var oe=re();!function(e){void 0===e&&(e=u);var t=e===u?oe:re(e)}();var ie=function(e,t){return e===t};!function(e){void 0===e&&(e=u);var t=e===u?ne:function(){return Object(r.useContext)(e)}}();var ae,ue=n(30);n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return te})),ae=ue.unstable_batchedUpdates,l=ae},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(0),i=n.n(o),a=(n(1),n(46)),u=n(149),l=n(37);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=n(151),f=n.n(s);n(137);function p(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var d=n(122),h=n.n(d);n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return P})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return _}));var m=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router-History"),v=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}r(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.a.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);i.a.Component;i.a.Component;var g={},b=0;function w(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,u=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=g[n]||(g[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return b<1e4&&(r[e]=i,b++),i}(n,{end:i,strict:u,sensitive:c}),o=r.regexp,a=r.keys,l=o.exec(e);if(!l)return null;var s=l[0],p=l.slice(1),d=e===s;return i&&!d?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(l.a)(!1);var n=e.props.location||t.location,r=c({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?w(n.pathname,e.props):t.match}),o=e.props,a=o.children,u=o.component,s=o.render;return Array.isArray(a)&&0===a.length&&(a=null),i.a.createElement(v.Provider,{value:r},r.match?a?"function"==typeof a?a(r):a:u?i.a.createElement(u,r):s?s(r):null:"function"==typeof a?a(r):null)}))},t}(i.a.Component);function x(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var n=x(e);return 0!==t.pathname.indexOf(n)?t:c({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:Object(a.e)(e)}function O(e){return function(){Object(l.a)(!1)}}function k(){}i.a.Component;var P=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(l.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?w(o.pathname,c({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function _(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=p(t,["wrappedComponentRef"]);return i.a.createElement(v.Consumer,null,(function(t){return t||Object(l.a)(!1),i.a.createElement(e,c({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}i.a.useContext},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"g",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"j",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return v})),n.d(t,"r",(function(){return y})),n.d(t,"t",(function(){return g})),n.d(t,"s",(function(){return b})),n.d(t,"q",(function(){return w})),n.d(t,"p",(function(){return E})),n.d(t,"o",(function(){return x}));var r="ADD_TO_CONSOLE",o="ADD_TO_RETRY_LIST",i="CLEAR_CONSOLE",a="CLEAR_BUTTON_CLICKED_AND_RETRY_LIST",u="GET_FILES_FROM_GITHUB",l="GET_FILES_FROM_GITHUB_SUCCESS",c="GET_FILES_FROM_GITHUB_FAILED",s="DOWNLOAD_FONTS_API_CALL",f="REQUEST_SENT_COUNTER",p="CLEAR_REQUEST_REMAINING_DATA",d=function(e,t,n){return{type:r,key:e,status:t,message:n}},h=function(){return{type:i}},m=function(e){return{type:o,name:e}},v=function(){return{type:a}},y=function(){return{type:u}},g=function(e){return{type:l,payload:e}},b=function(e){return{type:c,payload:e}},w=function(e){return{type:s,payload:e}},E=function(){return{type:f}},x=function(){return{type:p}}},function(e,t,n){var r=n(113),o=n(26),i=n(176);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var r=n(7),o=n(48).find,i=n(86),a=n(33),u=!0,l=a("find");"find"in[]&&Array(1).find((function(){u=!1})),r({target:"Array",proto:!0,forced:u||!l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){var r=n(59),o=n(22);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(35),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(117).charAt,o=n(47),i=n(132),a=o.set,u=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(4),o=n(14),i=n(9),a=n(50),u=n(65),l=n(47),c=l.get,s=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,u){var l=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),s(n).source=f.join("string"==typeof t?t:"")),e!==r?(l?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},function(e,t,n){var r=n(104),o=n(4),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(26),o=n(8),i=n(5),a=n(97),u=RegExp.prototype,l=u.toString,c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),s="toString"!=l.name;(c||s)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(187)},function(e,t,n){"use strict";var r=n(7),o=n(4),i=n(27),a=n(49),u=n(10),l=n(64),c=n(101),s=n(5),f=n(9),p=n(74),d=n(11),h=n(8),m=n(23),v=n(20),y=n(51),g=n(34),b=n(68),w=n(67),E=n(72),x=n(197),S=n(88),T=n(45),O=n(12),k=n(77),P=n(14),_=n(26),F=n(61),C=n(52),j=n(44),R=n(63),D=n(6),A=n(159),L=n(160),N=n(89),I=n(47),M=n(48).forEach,U=C("hidden"),q=D("toPrimitive"),z=I.set,H=I.getterFor("Symbol"),G=Object.prototype,B=o.Symbol,$=i("JSON","stringify"),V=T.f,W=O.f,K=x.f,Q=k.f,X=F("symbols"),Y=F("op-symbols"),J=F("string-to-symbol-registry"),Z=F("symbol-to-string-registry"),ee=F("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=u&&s((function(){return 7!=b(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(G,t);r&&delete G[t],W(e,t,n),r&&e!==G&&W(G,t,r)}:W,oe=function(e,t){var n=X[e]=b(B.prototype);return z(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof B},ae=function(e,t,n){e===G&&ae(Y,t,n),h(e);var r=y(t,!0);return h(n),f(X,r)?(n.enumerable?(f(e,U)&&e[U][r]&&(e[U][r]=!1),n=b(n,{enumerable:g(0,!1)})):(f(e,U)||W(e,U,g(1,{})),e[U][r]=!0),re(e,r,n)):W(e,r,n)},ue=function(e,t){h(e);var n=v(t),r=w(n).concat(fe(n));return M(r,(function(t){u&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=y(e,!0),n=Q.call(this,t);return!(this===G&&f(X,t)&&!f(Y,t))&&(!(n||!f(this,t)||!f(X,t)||f(this,U)&&this[U][t])||n)},ce=function(e,t){var n=v(e),r=y(t,!0);if(n!==G||!f(X,r)||f(Y,r)){var o=V(n,r);return!o||!f(X,r)||f(n,U)&&n[U][r]||(o.enumerable=!0),o}},se=function(e){var t=K(v(e)),n=[];return M(t,(function(e){f(X,e)||f(j,e)||n.push(e)})),n},fe=function(e){var t=e===G,n=K(t?Y:v(e)),r=[];return M(n,(function(e){!f(X,e)||t&&!f(G,e)||r.push(X[e])})),r};(l||(_((B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function(e){this===G&&n.call(Y,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),re(this,t,g(1,e))};return u&&ne&&re(G,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return H(this).tag})),_(B,"withoutSetter",(function(e){return oe(R(e),e)})),k.f=le,O.f=ae,T.f=ce,E.f=x.f=se,S.f=fe,A.f=function(e){return oe(D(e),e)},u&&(W(B.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||_(G,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:B}),M(w(ee),(function(e){L(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(J,t))return J[t];var n=B(t);return J[t]=n,Z[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?b(e):ue(b(e),t)},defineProperty:ae,defineProperties:ue,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:se,getOwnPropertySymbols:fe}),r({target:"Object",stat:!0,forced:s((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(m(e))}}),$)&&r({target:"JSON",stat:!0,forced:!l||s((function(){var e=B();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(d(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,$.apply(null,o)}});B.prototype[q]||P(B.prototype,q,B.prototype.valueOf),N(B,"Symbol"),j[U]=!0},function(e,t,n){"use strict";var r=n(20),o=n(86),i=n(56),a=n(47),u=n(132),l=a.set,c=a.getterFor("Array Iterator");e.exports=u(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(10),o=n(5),i=n(9),a=Object.defineProperty,u={},l=function(e){throw e};e.exports=function(e,t){if(i(u,e))return u[e];t||(t={});var n=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,s=i(t,0)?t[0]:l,f=i(t,1)?t[1]:void 0;return u[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,s,f)}))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return u(c(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function u(e,t){var n,r,a,u,l,c,s,f,p,d=1,h=e.length,m="";for(r=0;r<h;r++)if("string"==typeof e[r])m+=e[r];else if("object"==typeof e[r]){if((u=e[r]).keys)for(n=t[d],a=0;a<u.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',u.keys[a],u.keys[a-1]));n=n[u.keys[a]]}else n=u.param_no?t[u.param_no]:t[d++];if(o.not_type.test(u.type)&&o.not_primitive.test(u.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(u.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(u.type)&&(f=n>=0),u.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,u.width?parseInt(u.width):0);break;case"e":n=u.precision?parseFloat(n).toExponential(u.precision):parseFloat(n).toExponential();break;case"f":n=u.precision?parseFloat(n).toFixed(u.precision):parseFloat(n);break;case"g":n=u.precision?String(Number(n.toPrecision(u.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=u.precision?n.substring(0,u.precision):n;break;case"t":n=String(!!n),n=u.precision?n.substring(0,u.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=u.precision?n.substring(0,u.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=u.precision?n.substring(0,u.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(u.type)?m+=n:(!o.number.test(u.type)||f&&!u.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),c=u.pad_char?"0"===u.pad_char?"0":u.pad_char.charAt(1):" ",s=u.width-(p+n).length,l=u.width&&s>0?c.repeat(s):"",m+=u.align?p+n+l:"0"===c?p+l+n:l+p+n)}return m}var l=Object.create(null);function c(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],u=t[2],c=[];if(null===(c=o.key.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(c[1]);""!==(u=u.substring(c[0].length));)if(null!==(c=o.key_access.exec(u)))a.push(c[1]);else{if(null===(c=o.index_access.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(c[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t,n){"use strict";var r=n(7),o=n(10),i=n(4),a=n(9),u=n(11),l=n(12).f,c=n(102),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var f={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new s(e):void 0===e?s():s(e);return""===e&&(f[t]=!0),t};c(p,s);var d=p.prototype=s.prototype;d.constructor=p;var h=d.toString,m="Symbol(test)"==String(s("test")),v=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var e=u(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(e,t,n){n(160)("iterator")},function(e,t,n){var r=n(4),o=n(162),i=n(32),a=n(14),u=n(6),l=u("iterator"),c=u("toStringTag"),s=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[l]!==s)try{a(d,l,s)}catch(e){d[l]=s}if(d[c]||a(d,c,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(e){d[h]=i[h]}}}},function(e,t,n){"use strict";var r=n(7),o=n(73);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";var r=n(7),o=n(48).map,i=n(90),a=n(33),u=i("map"),l=a("map");r({target:"Array",proto:!0,forced:!u||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t){e.exports={}},function(e,t,n){var r=n(10),o=n(77),i=n(34),a=n(20),u=n(51),l=n(9),c=n(76),s=Object.getOwnPropertyDescriptor;t.f=r?s:function(e,t){if(e=a(e),t=u(t,!0),c)try{return s(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],u=e&&o(e),l=t&&o(t),c=u||l;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var s=a[a.length-1];n="."===s||".."===s||""===s}else n=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(37);function s(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return k})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return h}));var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function w(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),g||Object(c.a)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,u=a.forceRefresh,l=void 0!==u&&u,f=a.getUserConfirmation,v=void 0===f?b:f,E=a.keyLength,x=void 0===E?6:E,S=e.basename?d(s(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return S&&(i=p(i,S)),m(i,r,n)}function O(){return Math.random().toString(36).substr(2,x)}var k=y();function P(e){r(U,e),U.length=n.length,k.notifyListeners(U.location,U.action)}function _(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(T(e.state))}function F(){j(T(w()))}var C=!1;function j(e){if(C)C=!1,P();else{k.confirmTransitionTo(e,"POP",v,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(C=!0,L(o))}(e)}))}}var R=T(w()),D=[R.key];function A(e){return S+h(e)}function L(e){n.go(e)}var N=0;function I(e){1===(N+=e)&&1===e?(window.addEventListener("popstate",_),i&&window.addEventListener("hashchange",F)):0===N&&(window.removeEventListener("popstate",_),i&&window.removeEventListener("hashchange",F))}var M=!1;var U={length:n.length,action:"POP",location:R,createHref:A,push:function(e,t){var r=m(e,t,O(),U.location);k.confirmTransitionTo(r,"PUSH",v,(function(e){if(e){var t=A(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var u=D.indexOf(U.location.key),c=D.slice(0,u+1);c.push(r.key),D=c,P({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,O(),U.location);k.confirmTransitionTo(r,"REPLACE",v,(function(e){if(e){var t=A(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var u=D.indexOf(U.location.key);-1!==u&&(D[u]=r.key),P({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}var x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function T(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(S(window.location.href)+"#"+e)}function k(e){void 0===e&&(e={}),g||Object(c.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,u=void 0===a?"slash":a,l=e.basename?d(s(e.basename)):"",f=x[u],v=f.encodePath,w=f.decodePath;function E(){var e=w(T());return l&&(e=p(e,l)),m(e)}var k=y();function P(e){r(U,e),U.length=t.length,k.notifyListeners(U.location,U.action)}var _=!1,F=null;function C(){var e,t,n=T(),r=v(n);if(n!==r)O(r);else{var o=E(),a=U.location;if(!_&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(F===h(o))return;F=null,function(e){if(_)_=!1,P();else{k.confirmTransitionTo(e,"POP",i,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=A.lastIndexOf(h(t));-1===n&&(n=0);var r=A.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(_=!0,L(o))}(e)}))}}(o)}}var j=T(),R=v(j);j!==R&&O(R);var D=E(),A=[h(D)];function L(e){t.go(e)}var N=0;function I(e){1===(N+=e)&&1===e?window.addEventListener("hashchange",C):0===N&&window.removeEventListener("hashchange",C)}var M=!1;var U={length:t.length,action:"POP",location:D,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(l+h(e))},push:function(e,t){var n=m(e,void 0,void 0,U.location);k.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=v(l+t);if(T()!==r){F=t,function(e){window.location.hash=e}(r);var o=A.lastIndexOf(h(U.location)),i=A.slice(0,o+1);i.push(t),A=i,P({action:"PUSH",location:n})}else P()}}))},replace:function(e,t){var n=m(e,void 0,void 0,U.location);k.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=v(l+t);T()!==r&&(F=t,O(r));var o=A.indexOf(h(U.location));-1!==o&&(A[o]=t),P({action:"REPLACE",location:n})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}function P(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,u=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,s=y();function f(e){r(w,e),w.length=w.entries.length,s.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var d=P(u,0,i.length-1),v=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),g=h;function b(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];s.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[d],index:d,entries:v,createHref:g,push:function(e,t){var r=m(e,t,p(),w.location);s.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,p(),w.location);s.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return w}},function(e,t,n){var r,o,i,a=n(114),u=n(4),l=n(11),c=n(14),s=n(9),f=n(52),p=n(44),d=u.WeakMap;if(a){var h=new d,m=h.get,v=h.has,y=h.set;r=function(e,t){return y.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var g=f("state");p[g]=!0,r=function(e,t){return c(e,g,t),t},o=function(e){return s(e,g)?e[g]:{}},i=function(e){return s(e,g)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(66),o=n(59),i=n(23),a=n(21),u=n(107),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,s=4==e,f=6==e,p=5==e||f;return function(d,h,m,v){for(var y,g,b=i(d),w=o(b),E=r(h,m,3),x=a(w.length),S=0,T=v||u,O=t?T(d,x):n?T(d,0):void 0;x>S;S++)if((p||S in w)&&(g=E(y=w[S],S,b),e))if(t)O[S]=g;else if(g)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:l.call(O,y)}else if(s)return!1;return f?-1:c||s?s:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(e,t){e.exports=!1},function(e,t,n){var r=n(4),o=n(14);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(61),o=n(63),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));n(120);
|
2 |
/**
|
3 |
* @package Gravity PDF
|
4 |
-
* @copyright Copyright (c)
|
5 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
6 |
* @since 6.0
|
7 |
*/
|
8 |
-
function r(e,t){var n=document.querySelector(".update-font");if(t){var r=e.location.pathname;return r.substr(r.lastIndexOf("/")+1)===t?o(n,e):i(n,e,t)}return o(n,e)}function o(e,t){if(e.classList.remove("show"),"/fontmanager/"!==t.location.pathname)return t.push("/fontmanager/")}function i(e,t,n){return e.classList.add("show"),t.push("/fontmanager/"+n)}},function(e,t,n){var r=n(7),o=n(144);r({target:"Array",stat:!0,forced:!n(130)((function(e){Array.from(e)}))},{from:o})},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(7),o=n(5),i=n(74),a=n(11),u=n(23),l=n(21),c=n(108),s=n(107),f=n(90),p=n(6),d=n(115),h=p("isConcatSpreadable"),m=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),v=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,o,i,a=u(this),f=s(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,p++,i)}return f.length=p,f}})},function(e,t,n){"use strict";var r=n(7),o=n(48).filter,i=n(90),a=n(33),u=i("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!u||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(5),o=n(24),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){"use strict";var r=n(16);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=n(0),a=n.n(i),u=n(46);n(1);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var s=n(37);n.d(t,"a",(function(){return f}));a.a.Component;var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(u.b)(t.props),t}return o(t,e),t.prototype.render=function(){return a.a.createElement(r.b,{history:this.history,children:this.props.children})},t}(a.a.Component);var p=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?Object(u.c)(e,null,null,t):e},h=function(e){return e},m=a.a.forwardRef;void 0===m&&(m=h);var v=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=c(e,["innerRef","navigate","onClick"]),u=i.target,s=l({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return s.ref=h!==m&&t||n,a.a.createElement("a",s)}));var y=m((function(e,t){var n=e.component,o=void 0===n?v:n,i=e.replace,u=e.to,f=e.innerRef,y=c(e,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(s.a)(!1);var n=e.history,r=d(p(u,e.location),e.location),c=r?n.createHref(r):"",v=l({},y,{href:c,navigate:function(){var t=p(u,e.location);(i?n.replace:n.push)(t)}});return h!==m?v.ref=t||f:v.innerRef=f,a.a.createElement(o,v)}))})),g=function(e){return e},b=a.a.forwardRef;void 0===b&&(b=g);b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,f=e.activeStyle,h=e.className,m=e.exact,v=e.isActive,w=e.location,E=e.sensitive,x=e.strict,S=e.style,T=e.to,O=e.innerRef,k=c(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(s.a)(!1);var n=w||e.location,i=d(p(T,n),n),c=i.pathname,P=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=P?Object(r.e)(n.pathname,{path:P,exact:m,sensitive:E,strict:x}):null,F=!!(v?v(_,n):_),C=F?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,u):h,j=F?l({},S,{},f):S,R=l({"aria-current":F&&o||null,className:C,style:j,to:i},k);return g!==b?R.ref=t||O:R.innerRef=O,a.a.createElement(y,R)}))}))},function(e,t,n){var r=n(49),o=n(75);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(4),o=n(11),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(5);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(75),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(78),o=n(53);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r,o=n(8),i=n(118),a=n(53),u=n(44),l=n(106),c=n(62),s=n(52),f=s("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};u[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[f]=e):n=h(),void 0===t?n:i(n,t)}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;(l=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){var r=n(10),o=n(12).f,i=Function.prototype,a=i.toString,u=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},function(e,t,n){var r=n(78),o=n(53).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r,o,i=n(97),a=n(124),u=RegExp.prototype.exec,l=String.prototype.replace,c=u,s=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(s||p||f)&&(c=function(e){var t,n,r,o,a=this,c=f&&a.sticky,d=i.call(a),h=a.source,m=0,v=e;return c&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",d)),p&&(n=new RegExp("^"+h+"$(?!\\s)",d)),s&&(t=a.lastIndex),r=u.call(c?n:a,v),c?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:s&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),p&&r&&r.length>1&&l.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(4),o=n(50),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(10),o=n(5),i=n(62);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(9),o=n(20),i=n(96).indexOf,a=n(44);e.exports=function(e,t){var n,u=o(e),l=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return i})),n.d(t,"applyMiddleware",(function(){return v})),n.d(t,"bindActionCreators",(function(){return f})),n.d(t,"combineReducers",(function(){return c})),n.d(t,"compose",(function(){return m})),n.d(t,"createStore",(function(){return u}));var r=n(110),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var l=e,c=t,s=[],f=s,p=!1;function d(){f===s&&(f=s.slice())}function h(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return d(),f.push(e),function(){if(t){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,d();var n=f.indexOf(e);f.splice(n,1)}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=l(c,e)}finally{p=!1}for(var t=s=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,v({type:i.REPLACE})}function g(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e}return v({type:i.INIT}),(o={dispatch:v,subscribe:m,getState:h,replaceReducer:y})[r.a]=g,o}function l(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},i=0;i<u.length;i++){var c=u[i],s=n[c],f=e[c],p=s(f,t);if(void 0===p){var d=l(c,t);throw new Error(d)}o[c]=p,r=r||p!==f}return r?o:e}}function s(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return s(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=s(o,t))}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return h({},n,{dispatch:r=m.apply(void 0,i)(n.dispatch)})}}}},function(e,t,n){var r=n(7),o=n(5),i=n(23),a=n(109),u=n(133);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){var r=n(7),o=n(27),i=n(43),a=n(8),u=n(11),l=n(68),c=n(205),s=n(5),f=o("Reflect","construct"),p=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!s((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,s=l(u(o)?o:Object.prototype),h=Function.apply.call(e,s,t);return u(h)?h:s}})},function(e,t,n){"use strict";var r=n(7),o=n(161);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(4),o=n(162),i=n(161),a=n(14);for(var u in o){var l=r[u],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(5),o=/#|\.prototype\./,i=function(e,t){var n=u[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(6),o=n(68),i=n(12),a=r("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},function(e,t,n){"use strict";var r,o,i,a,u=n(7),l=n(49),c=n(4),s=n(27),f=n(177),p=n(26),d=n(178),h=n(89),m=n(141),v=n(11),y=n(43),g=n(179),b=n(24),w=n(65),E=n(180),x=n(130),S=n(142),T=n(154).set,O=n(181),k=n(182),P=n(183),_=n(156),F=n(184),C=n(47),j=n(85),R=n(6),D=n(115),A=R("species"),L="Promise",N=C.get,I=C.set,M=C.getterFor(L),U=f,q=c.TypeError,z=c.document,H=c.process,G=s("fetch"),B=_.f,$=B,V="process"==b(H),W=!!(z&&z.createEvent&&c.dispatchEvent),K=j(L,(function(){if(!(w(U)!==String(U))){if(66===D)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype.finally)return!0;if(D>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[A]=t,!(e.then((function(){}))instanceof t)})),Q=K||!x((function(e){U.all(e).catch((function(){}))})),X=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Y=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;O((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,l,c,s=r[a++],f=i?s.ok:s.fail,p=s.resolve,d=s.reject,h=s.domain;try{f?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),c=!0)),u===s.promise?d(q("Promise-chain cycle")):(l=X(u))?l.call(u,p,d):p(u)):d(o)}catch(e){h&&!c&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Z(e,t)}))}},J=function(e,t,n){var r,o;W?((r=z.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(o=c["on"+e])?o(r):"unhandledrejection"===e&&P("Unhandled promise rejection",n)},Z=function(e,t){T.call(c,(function(){var n,r=t.value;if(ee(t)&&(n=F((function(){V?H.emit("unhandledRejection",r,e):J("unhandledrejection",e,r)})),t.rejection=V||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){T.call(c,(function(){V?H.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,Y(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw q("Promise can't be resolved itself");var o=X(n);o?O((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,Y(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};K&&(U=function(e){g(this,U,L),y(e),r.call(this);var t=N(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){I(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(U.prototype,{then:function(e,t){var n=M(this),r=B(S(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=V?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Y(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},_.f=B=function(e){return e===U||e===i?new o(e):$(e)},l||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,G.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:K},{Promise:U}),h(U,L,!1,!0),m(L),i=s(L),u({target:L,stat:!0,forced:K},{reject:function(e){var t=B(this);return t.reject.call(void 0,e),t.promise}}),u({target:L,stat:!0,forced:l||K},{resolve:function(e){return k(l&&this===i?U:this,e)}}),u({target:L,stat:!0,forced:Q},{all:function(e){var t=this,n=B(t),r=n.resolve,o=n.reject,i=F((function(){var n=y(t.resolve),i=[],a=0,u=1;E(e,(function(e){var l=a++,c=!1;i.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,i[l]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=B(t),r=n.reject,o=F((function(){var o=y(t.resolve);E(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12).f,o=n(9),i=n(6)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(5),o=n(6),i=n(115),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r;"undefined"!=typeof window?r=window:"undefined"!=typeof self?r=self:(console.warn("Using browser-only version of superagent in non-browser environment"),r=this);var o=n(192),i=n(193),a=n(158),u=n(194),l=n(196);function c(){}var s=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=y,s.getXHR=function(){if(!(!r.XMLHttpRequest||r.location&&"file:"==r.location.protocol&&r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only version of superagent could not find XHR")};var f="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function p(e){if(!a(e))return e;var t=[];for(var n in e)d(t,n,e[n]);return t.join("&")}function d(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach((function(n){d(e,t,n)}));else if(a(n))for(var r in n)d(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function h(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)-1==(n=(t=o[i]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function m(e){return/[\/+]json($|[^-\w])/.test(e)}function v(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=function(e){for(var t,n,r,o,i=e.split(/\r?\n/),a={},u=0,l=i.length;u<l;++u)-1!==(t=(n=i[u]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),o=f(n.slice(t+1)),a[r]=o);return a}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function y(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new v(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function g(e,t,n){var r=s("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}s.serializeObject=p,s.parseString=h,s.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},s.serialize={"application/x-www-form-urlencoded":p,"application/json":JSON.stringify},s.parse={"application/x-www-form-urlencoded":h,"application/json":JSON.parse},u(v.prototype),v.prototype._parseBody=function(e){var t=s.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&m(this.type)&&(t=s.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},v.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},s.Response=v,o(y.prototype),i(y.prototype),y.prototype.type=function(e){return this.set("Content-Type",s.types[e]||e),this},y.prototype.accept=function(e){return this.set("Accept",s.types[e]||e),this},y.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});var r=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,r)},y.prototype.query=function(e){return"string"!=typeof e&&(e=p(e)),e&&this._query.push(e),this},y.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},y.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},y.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},y.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},y.prototype.buffer=y.prototype.ca=y.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},y.prototype.pipe=y.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},y.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},y.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||c,this._finalizeQueryString(),this._end()},y.prototype._end=function(){var e=this,t=this.xhr=s.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||s.serialize[o?o.split(";")[0]:""];!i&&m(o)&&(i=s.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0!==n?n:null),this},s.agent=function(){return new l},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){l.prototype[e.toLowerCase()]=function(t,n){var r=new s.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),l.prototype.del=l.prototype.delete,s.get=function(e,t,n){var r=s("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},s.head=function(e,t,n){var r=s("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},s.options=function(e,t,n){var r=s("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.del=g,s.delete=g,s.patch=function(e,t,n){var r=s("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.post=function(e,t,n){var r=s("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.put=function(e,t,n){var r=s("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){var r=n(7),o=n(23),i=n(67);r({target:"Object",stat:!0,forced:n(5)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(23),a=n(21),u=n(35),l=n(22),c=n(112),s=n(99),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(n,r){var o=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!v&&y||"string"==typeof r&&-1===r.indexOf(g)){var i=n(t,e,this,r);if(i.done)return i.value}var l=o(e),d=String(this),h="function"==typeof r;h||(r=String(r));var m=l.global;if(m){var w=l.unicode;l.lastIndex=0}for(var E=[];;){var x=s(l,d);if(null===x)break;if(E.push(x),!m)break;""===String(x[0])&&(l.lastIndex=c(d,a(l.lastIndex),w))}for(var S,T="",O=0,k=0;k<E.length;k++){x=E[k];for(var P=String(x[0]),_=f(p(u(x.index),d.length),0),F=[],C=1;C<x.length;C++)F.push(void 0===(S=x[C])?S:String(S));var j=x.groups;if(h){var R=[P].concat(F,_,d);void 0!==j&&R.push(j);var D=String(r.apply(void 0,R))}else D=b(P,d,_,F,j,r);_>=O&&(T+=d.slice(O,_)+D,O=_+P.length)}return T+d.slice(O)}];function b(e,n,r,o,a,u){var l=r+e.length,c=o.length,s=m;return void 0!==a&&(a=i(a),s=h),t.call(u,s,(function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=a[i.slice(1,-1)];break;default:var s=+i;if(0===s)return t;if(s>c){var f=d(s/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[s-1]}return void 0===u?"":u}))}}))},function(e,t,n){var r=n(7),o=n(5),i=n(20),a=n(45).f,u=n(10),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!u||l,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(7),o=n(10),i=n(103),a=n(20),u=n(45),l=n(108);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,c=i(r),s={},f=0;c.length>f;)void 0!==(n=o(r,t=c[f++]))&&l(s,t,n);return s}})},function(e,t,n){var r=n(20),o=n(21),i=n(105),a=function(e){return function(t,n,a){var u,l=r(t),c=o(l.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var r=n(8);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";n(41);var r=n(26),o=n(5),i=n(6),a=n(73),u=n(14),l=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),s="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!v||"replace"===e&&(!c||!s||p)||"split"===e&&!d){var y=/./[h],g=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},function(e,t,n){var r=n(24),o=n(73);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";var r=n(7),o=n(11),i=n(74),a=n(105),u=n(21),l=n(20),c=n(108),s=n(6),f=n(90),p=n(33),d=f("slice"),h=p("slice",{ACCESSORS:!0,0:0,1:2}),m=s("species"),v=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var n,r,s,f=l(this),p=u(f.length),d=a(e,p),h=a(void 0===t?p:t,p);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(f,d,h);for(r=new(void 0===n?Array:n)(y(h-d,0)),s=0;d<h;d++,s++)d in f&&c(r,s,f[d]);return r.length=s,r}})},function(e,t,n){var r=n(64);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(9),o=n(103),i=n(45),a=n(12);e.exports=function(e,t){for(var n=o(t),u=a.f,l=i.f,c=0;c<n.length;c++){var s=n[c];r(e,s)||u(e,s,l(t,s))}}},function(e,t,n){var r=n(27),o=n(72),i=n(88),a=n(8);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(4);e.exports=r},function(e,t,n){var r=n(35),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(27);e.exports=r("document","documentElement")},function(e,t,n){var r=n(11),o=n(74),i=n(6)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var r=n(51),o=n(12),i=n(34);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(9),o=n(23),i=n(52),a=n(133),u=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";(function(e,r){var o,i=n(169);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(84),n(191)(e))},function(e,t,n){var r=n(7),o=n(185);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(117).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r={};r[n(6)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(4),o=n(65),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r,o,i=n(4),a=n(131),u=i.process,l=u&&u.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=w(a,n);if(u){if(u===s)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var s={};function f(){}function p(){}function d(){}var h={};h[o]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(T([])));v&&v!==t&&n.call(v,o)&&(h=v);var y=d.prototype=f.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,u){var l=c(e[o],e,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(l.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=y.constructor=d,d.constructor=p,p.displayName=u(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},g(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(y),u(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(35),o=n(22),i=function(e){return function(t,n){var i,a,u=String(o(t)),l=r(n),c=u.length;return l<0||l>=c?e?"":void 0:(i=u.charCodeAt(l))<55296||i>56319||l+1===c||(a=u.charCodeAt(l+1))<56320||a>57343?e?u.charAt(l):i:e?u.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){var r=n(10),o=n(12),i=n(8),a=n(67);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,l=0;u>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){"use strict";var r,o,i,a=n(109),u=n(14),l=n(9),c=n(6),s=n(49),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),s||l(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(7),o=n(200);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));n(55),n(42),n(25);function r(e,t){var n=Array.from(e);n.pop(),n.map((function(e,n){"none"!==e.style.display&&(e.querySelector(".gform-settings-panel__collapsible-toggle-checkbox").addEventListener("click",(function(){o(e,t,n)})),o(e,t,n,"firstLoad"))}))}function o(e,t,n,r){var o="submit-container-"+n;if(!e.classList.contains("gform-settings-panel--collapsed")){var i=t.querySelector("#submit").cloneNode(!0);i.setAttribute("id","submit_"+n);var a=document.createElement("div");return a.setAttribute("class",o),a.innerHTML=i.outerHTML,e.parentNode.insertBefore(a,e.nextSibling)}r||document.querySelector(".".concat(o)).remove()}},function(e,t,n){"use strict";var r=n(137),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=l(t),m=l(n),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||r&&r[y]||m&&m[y]||u&&u[y])){var g=p(n,y);try{c(t,y,g)}catch(e){}}}}return t}},function(e,t,n){var r=n(11),o=n(24),i=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(5);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(8),o=n(146);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(113),o=n(24),i=n(6)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(6),o=n(56),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(126),o=n(56),i=n(6)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(8);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(6)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(27);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(7),o=n(145),i=n(109),a=n(125),u=n(89),l=n(14),c=n(26),s=n(6),f=n(49),p=n(56),d=n(119),h=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,v=s("iterator"),y=function(){return this};e.exports=function(e,t,n,s,d,g,b){o(n,t,s);var w,E,x,S=function(e){if(e===d&&_)return _;if(!m&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",O=!1,k=e.prototype,P=k[v]||k["@@iterator"]||d&&k[d],_=!m&&P||S(d),F="Array"==t&&k.entries||P;if(F&&(w=i(F.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[v]&&l(w,v,y)),u(w,T,!0,!0),f&&(p[T]=y))),"values"==d&&P&&"values"!==P.name&&(O=!0,_=function(){return P.call(this)}),f&&!b||k[v]===_||l(k,v,_),p[t]=_,d)if(E={values:S("values"),keys:g?_:S("keys"),entries:S("entries")},b)for(x in E)(m||O||!(x in k))&&c(k,x,E[x]);else r({target:t,proto:!0,forced:m||O},E);return E}},function(e,t,n){var r=n(5);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";var r=n(7),o=n(96).includes,i=n(86);r({target:"Array",proto:!0,forced:!n(33)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(7),o=n(163);r({target:"String",proto:!0,forced:n(164)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(7),o=n(163);r({target:"String",proto:!0,forced:n(164)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";e.exports=n(203)},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=function(e){var t=e.style;return o.a.createElement("img",{alt:GFPDF.spinnerAlt,src:GFPDF.spinnerUrl,className:"gfpdf-spinner "+t})};a.propTypes={style:n.n(i).a.string},t.a=a},function(e,t,n){"use strict";var r=n(190).get;function o(e,t){return e===t}e.exports=function(e,t,n){n=n||o;var i=r(e(),t);return function(o){return function(){var a=r(e(),t);if(!n(i,a)){var u=i;i=a,o(a,u,t)}}}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var r=n(27),o=n(12),i=n(6),a=n(10),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(8),o=n(43),i=n(6)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},,function(e,t,n){"use strict";var r=n(66),o=n(23),i=n(129),a=n(127),u=n(21),l=n(108),c=n(128);e.exports=function(e){var t,n,s,f,p,d,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,g=void 0!==y,b=c(h),w=0;if(g&&(y=r(y,v>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=u(h.length));t>w;w++)d=g?y(h[w],w):h[w],l(n,w,d);else for(p=(f=b.call(h)).next,n=new m;!(s=p.call(f)).done;w++)d=g?i(f,y,[s.value,w],!0):s.value,l(n,w,d);return n.length=w,n}},function(e,t,n){"use strict";var r=n(119).IteratorPrototype,o=n(68),i=n(34),a=n(89),u=n(56),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),u[c]=l,e}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(7),o=n(198),i=n(22);r({target:"String",proto:!0,forced:!n(199)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t){const n=e=>void 0===e,r=e=>Array.isArray(e),o=e=>e&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.slice,i=(e,t,a,u)=>((t=t||{}).indices=!n(t.indices)&&t.indices,t.nullsAsUndefineds=!n(t.nullsAsUndefineds)&&t.nullsAsUndefineds,t.booleansAsIntegers=!n(t.booleansAsIntegers)&&t.booleansAsIntegers,t.allowEmptyArrays=!n(t.allowEmptyArrays)&&t.allowEmptyArrays,a=a||new FormData,n(e)||(null===e?t.nullsAsUndefineds||a.append(u,""):(e=>"boolean"==typeof e)(e)?t.booleansAsIntegers?a.append(u,e?1:0):a.append(u,e):r(e)?e.length?e.forEach((e,n)=>{const r=u+"["+(t.indices?n:"")+"]";i(e,t,a,r)}):t.allowEmptyArrays&&a.append(u+"[]",""):(e=>e instanceof Date)(e)?a.append(u,e.toISOString()):!(e=>e===Object(e))(e)||(e=>o(e)&&"string"==typeof e.name&&("object"==typeof e.lastModifiedDate||"number"==typeof e.lastModified))(e)||o(e)?a.append(u,e):Object.keys(e).forEach(n=>{const o=e[n];if(r(o))for(;n.length>2&&n.lastIndexOf("[]")===n.length-2;)n=n.substring(0,n.length-2);i(o,t,a,u?u+"["+n+"]":n)})),a);e.exports={serialize:i}},function(e,t,n){"use strict";(function(e){var r=n(0),o=n.n(r),i=n(150),a=n(1),u=n.n(a),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var s=o.a.createContext||function(e,t){var n,o,a,s="__create-react-context-"+((l[a="__global_unique_id__"]=(l[a]||0)+1)+"__"),f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[s]=u.a.object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},r.getValue=function(){return this.context[s]?this.context[s].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((o={})[s]=u.a.object,o),{Provider:f,Consumer:p}};t.a=s}).call(this,n(84))},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(204);e.exports=d,e.exports.parse=i,e.exports.compile=function(e,t){return u(i(e,t),t)},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,u="",s=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(u+=e.slice(a,d),a=d+f.length,p)u+=p[1];else{var h=e[a],m=n[2],v=n[3],y=n[4],g=n[5],b=n[6],w=n[7];u&&(r.push(u),u="");var E=null!=m&&null!=h&&h!==m,x="+"===b||"*"===b,S="?"===b||"*"===b,T=n[2]||s,O=y||g;r.push({name:v||i++,prefix:m||"",delimiter:T,optional:S,repeat:x,partial:E,asterisk:!!w,pattern:O?c(O):w?".*":"[^"+l(T)+"]+?"})}}return a<e.length&&(u+=e.substr(a)),u&&r.push(u),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",u=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var s=e[c];if("string"!=typeof s){var f,p=u[s.name];if(null==p){if(s.optional){s.partial&&(i+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(r(p)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var d=0;d<p.length;d++){if(f=l(p[d]),!n[c].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===d?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!n[c].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');i+=s.prefix+f}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",u=0;u<e.length;u++){var c=e[u];if("string"==typeof c)a+=l(c);else{var p=l(c.prefix),d="(?:"+c.pattern+")";t.push(c),c.repeat&&(d+="(?:"+p+d+")*"),a+=d=c.optional?c.partial?p+"("+d+")?":"(?:"+p+"("+d+"))?":p+"("+d+")"}}var h=l(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",s(new RegExp("^"+a,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(d(e[o],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(22),a=n(206),u=n(99);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var s=u(i,l);return a(i.lastIndex,c)||(i.lastIndex=c),null===s?-1:s.index}]}))},function(e,t,n){var r=n(7),o=n(207).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r,o,i,a=n(4),u=n(5),l=n(24),c=n(66),s=n(106),f=n(62),p=n(155),d=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},E=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},x=function(e){return function(){E(e)}},S=function(e){E(e.data)},T=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},"process"==l(v)?r=function(e){v.nextTick(x(e))}:g&&g.now?r=function(e){g.now(x(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=S,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(T)||"file:"===d.protocol?r="onreadystatechange"in f("script")?function(e){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}:(r=T,a.addEventListener("message",S,!1))),e.exports={set:h,clear:m}},function(e,t,n){var r=n(131);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(43),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";
|
9 |
/*
|
10 |
object-assign
|
11 |
(c) Sindre Sorhus
|
12 |
@license MIT
|
13 |
-
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,l=a(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))o.call(n,s)&&(l[s]=n[s]);if(r){u=r(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(l[u[f]]=n[u[f]])}}return l}},function(e,t,n){"use strict";e.exports=function(e){return null!==e&&"object"==typeof e}},function(e,t,n){var r=n(6);t.f=r},function(e,t,n){var r=n(104),o=n(9),i=n(159),a=n(12).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(48).forEach,o=n(140),i=n(33),a=o("forEach"),u=i("forEach");e.exports=a&&u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(22),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(i).replace(o,""")+'"'),u+">"+a+"</"+t+">"}},function(e,t,n){var r=n(5);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},,function(e,t,n){"use strict";var r=n(0),o=n.n(r);function i(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function u(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}l((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}var l=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function c(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=l.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var s=[".DS_Store","Thumbs.db"];function f(e){return(null!==e.target&&e.target.files?h(e.target.files):[]).map((function(e){return c(e)}))}function p(e,t){return i(this,void 0,void 0,(function(){var n;return a(this,(function(r){switch(r.label){case 0:return e.items?(n=h(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(m))]):[3,2];case 1:return[2,d(v(r.sent()))];case 2:return[2,d(h(e.files).map((function(e){return c(e)})))]}}))}))}function d(e){return e.filter((function(e){return-1===s.indexOf(e.name)}))}function h(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function m(e){if("function"!=typeof e.webkitGetAsEntry)return y(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?b(t):y(e)}function v(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}(e,Array.isArray(t)?v(t):[t])}),[])}function y(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=c(t);return Promise.resolve(n)}function g(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,e.isDirectory?b(e):w(e)]}))}))}function b(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var u=this;t.readEntries((function(t){return i(u,void 0,void 0,(function(){var i,u,l;return a(this,(function(a){switch(a.label){case 0:if(t.length)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=a.sent(),e(i),[3,4];case 3:return u=a.sent(),n(u),[3,4];case 4:return[3,6];case 5:l=Promise.all(t.map(g)),r.push(l),o(),a.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function w(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=c(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var E=n(1),x=n.n(E),S=n(170),T=n.n(S),O=("function"==typeof Symbol&&Symbol.iterator,"undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"));function k(e,t){return"application/x-moz-file"===e.type||T()(e,t)}function P(e,t,n){return e.size<=t&&e.size>=n}function _(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function F(e){return void 0!==e.defaultPrevented?e.defaultPrevented:"function"==typeof e.isDefaultPrevented&&e.isDefaultPrevented()}function C(e){return!e.dataTransfer||Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e}))}function j(e){e.preventDefault()}function R(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function D(e){return-1!==e.indexOf("Edge/")}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return R(e)||D(e)}function L(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.defaultPrevented}))}}var N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var G=function(e){function t(){var e,n,r;z(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=H(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},r.isFileDialogActive=!1,r.onDocumentDrop=function(e){r.node&&r.node.contains(e.target)||(e.preventDefault(),r.dragTargets=[])},r.onDragStart=function(e){e.persist(),r.props.onDragStart&&C(e)&&r.props.onDragStart.call(r,e)},r.onDragEnter=function(e){e.preventDefault(),-1===r.dragTargets.indexOf(e.target)&&r.dragTargets.push(e.target),e.persist(),C(e)&&(Promise.resolve(r.props.getDataTransferItems(e)).then((function(t){_(e)||r.setState({draggedFiles:t,isDragActive:!0})})),r.props.onDragEnter&&r.props.onDragEnter.call(r,e))},r.onDragOver=function(e){return e.preventDefault(),e.persist(),e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),r.props.onDragOver&&C(e)&&r.props.onDragOver.call(r,e),!1},r.onDragLeave=function(e){e.preventDefault(),e.persist(),r.dragTargets=r.dragTargets.filter((function(t){return t!==e.target&&r.node.contains(t)})),r.dragTargets.length>0||(r.setState({isDragActive:!1,draggedFiles:[]}),r.props.onDragLeave&&C(e)&&r.props.onDragLeave.call(r,e))},r.onDrop=function(e){var t=r.props,n=t.onDrop,o=t.onDropAccepted,i=t.onDropRejected,a=t.multiple,u=t.accept,l=t.getDataTransferItems;e.preventDefault(),e.persist(),r.dragTargets=[],r.isFileDialogActive=!1,r.draggedFiles=null,r.setState({isDragActive:!1,draggedFiles:[]}),C(e)&&Promise.resolve(l(e)).then((function(t){var l=[],c=[];_(e)||(t.forEach((function(e){k(e,u)&&P(e,r.props.maxSize,r.props.minSize)?l.push(e):c.push(e)})),!a&&l.length>1&&c.push.apply(c,q(l.splice(0))),r.setState({acceptedFiles:l,rejectedFiles:c},(function(){n&&n.call(r,l,c,e),c.length>0&&i&&i.call(r,c,e),l.length>0&&o&&o.call(r,l,e)})))}))},r.onClick=function(e){var t=r.props.onClick;t&&t.call(r,e),F(e)||(e.stopPropagation(),A()?setTimeout(r.open,0):r.open())},r.onInputElementClick=function(e){e.stopPropagation()},r.onFileDialogCancel=function(){var e=r.props.onFileDialogCancel;r.isFileDialogActive&&setTimeout((function(){null!=r.input&&(r.input.files.length||(r.isFileDialogActive=!1,"function"==typeof e&&e()))}),300)},r.onFocus=function(e){var t=r.props.onFocus;t&&t.call(r,e),F(e)||r.setState({isFocused:!0})},r.onBlur=function(e){var t=r.props.onBlur;t&&t.call(r,e),F(e)||r.setState({isFocused:!1})},r.onKeyDown=function(e){var t=r.props.onKeyDown;r.node.isEqualNode(e.target)&&(t&&t.call(r,e),F(e)||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),r.open()))},r.composeHandler=function(e){return r.props.disabled?null:e},r.getRootProps=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.refKey,o=void 0===n?"ref":n,i=t.onKeyDown,a=t.onFocus,u=t.onBlur,l=t.onClick,c=t.onDragStart,s=t.onDragEnter,f=t.onDragOver,p=t.onDragLeave,d=t.onDrop,h=U(t,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragStart","onDragEnter","onDragOver","onDragLeave","onDrop"]);return N((M(e={onKeyDown:r.composeHandler(i?L(i,r.onKeyDown):r.onKeyDown),onFocus:r.composeHandler(a?L(a,r.onFocus):r.onFocus),onBlur:r.composeHandler(u?L(u,r.onBlur):r.onBlur),onClick:r.composeHandler(l?L(l,r.onClick):r.onClick),onDragStart:r.composeHandler(c?L(c,r.onDragStart):r.onDragStart),onDragEnter:r.composeHandler(s?L(s,r.onDragEnter):r.onDragEnter),onDragOver:r.composeHandler(f?L(f,r.onDragOver):r.onDragOver),onDragLeave:r.composeHandler(p?L(p,r.onDragLeave):r.onDragLeave),onDrop:r.composeHandler(d?L(d,r.onDrop):r.onDrop)},o,r.setNodeRef),M(e,"tabIndex",r.props.disabled?-1:0),e),h)},r.getInputProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,o=e.onChange,i=e.onClick,a=U(e,["refKey","onChange","onClick"]),u=r.props,l=u.accept,c=u.multiple,s=u.name,f=M({accept:l,type:"file",style:{display:"none"},multiple:O&&c,onChange:L(o,r.onDrop),onClick:L(i,r.onInputElementClick),autoComplete:"off",tabIndex:-1},n,r.setInputRef);return s&&s.length&&(f.name=s),N({},f,a)},r.setNodeRef=function(e){r.node=e},r.setInputRef=function(e){r.input=e},r.open=function(){r.isFileDialogActive=!0,r.input&&(r.input.value=null,r.input.click())},H(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),I(t,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",j,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),window.addEventListener("focus",this.onFileDialogCancel,!1)}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",j),document.removeEventListener("drop",this.onDocumentDrop)),window.removeEventListener("focus",this.onFileDialogCancel,!1)}},{key:"render",value:function(){var e,t,n=this.props,r=n.children,o=n.multiple,i=n.disabled,a=this.state,u=a.isDragActive,l=a.isFocused,c=a.draggedFiles,s=a.acceptedFiles,f=a.rejectedFiles,p=c.length,d=o||p<=1,h=p>0&&(e=c,t=this.props.accept,e.every((function(e){return k(e,t)})));return r({isDragActive:u,isDragAccept:h,isDragReject:p>0&&(!h||!d),draggedFiles:c,acceptedFiles:s,rejectedFiles:f,isFocused:l&&!i,getRootProps:this.getRootProps,getInputProps:this.getInputProps,open:this.open})}}]),t}(o.a.Component);t.a=G;G.propTypes={accept:x.a.oneOfType([x.a.string,x.a.arrayOf(x.a.string)]),children:x.a.func,disabled:x.a.bool,preventDropOnDocument:x.a.bool,multiple:x.a.bool,name:x.a.string,maxSize:x.a.number,minSize:x.a.number,getDataTransferItems:x.a.func,onClick:x.a.func,onFocus:x.a.func,onBlur:x.a.func,onKeyDown:x.a.func,onDrop:x.a.func,onDropAccepted:x.a.func,onDropRejected:x.a.func,onDragStart:x.a.func,onDragEnter:x.a.func,onDragOver:x.a.func,onDragLeave:x.a.func,onFileDialogCancel:x.a.func},G.defaultProps={preventDropOnDocument:!0,disabled:!1,multiple:!0,maxSize:1/0,minSize:0,getDataTransferItems:function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?p(e.dataTransfer,e.type):f(e))];var n}))}))}}},function(e,t,n){"use strict";n(31),n(38),n(39),n(57),n(32),n(120),n(80),n(18),n(81),n(41),n(29),n(25),n(152),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(15),l=n(16),c=n(3);n(55),n(134),n(42);var s=n(54);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
* @since 6.0
|
19 |
*/var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(a,e);var t,n,r,i=m(a);function a(){var e;p(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(y(e=i.call.apply(i,[this].concat(n))),"handleKeyPress",(function(t){var n=e.props,r=n.id,o=n.history,i=n.clearAddFontMsg,a=n.msg,u=a.success,l=a.error;if(27===t.keyCode&&r)return(u&&u.addFont||l&&l.addFont)&&i(),Object(s.b)(o);27!==t.keyCode||"wp-filter-search"===t.target.className&&""!==t.target.value||e.handleCloseDialog()})),b(y(e),"handleCloseDialog",(function(){e.props.history.push(e.props.closeRoute||"/")})),e}return t=a,(n=[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyPress,!1)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.templateList,r=t.getCustomFontList;e.templateList!==n&&r()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyPress,!1);var e=this.props,t=e.fontList,n=e.selectedFont;if("tools"!==window.location.search.substr(window.location.search.lastIndexOf("=")+1))
|
20 |
/**
|
21 |
* @package Gravity PDF
|
22 |
-
* @copyright Copyright (c)
|
23 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
24 |
* @since 6.0
|
25 |
*/
|
@@ -31,7 +31,7 @@ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),
|
|
31 |
*
|
32 |
* This source code is licensed under the MIT license found in the
|
33 |
* LICENSE file in the root directory of this source tree.
|
34 |
-
*/var r=n(157),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}function E(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=w.prototype;var S=x.prototype=new E;S.constructor=x,r(S,w.prototype),S.isPureReactComponent=!0;var T={current:null},O=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function
|
35 |
/** @license React v16.13.1
|
36 |
* react-dom.production.min.js
|
37 |
*
|
@@ -39,7 +39,7 @@ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),
|
|
39 |
*
|
40 |
* This source code is licensed under the MIT license found in the
|
41 |
* LICENSE file in the root directory of this source tree.
|
42 |
-
*/var r=n(0),o=n(157),i=n(188);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function u(e,t,n,r,o,i,a,u,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var l=!1,c=null,s=!1,f=null,p={onError:function(e){l=!0,c=e}};function d(e,t,n,r,o,i,a,s,f){l=!1,c=null,u.apply(p,arguments)}var h=null,m=null,v=null;function y(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,o,i,u,p,h){if(d.apply(this,arguments),l){if(!l)throw Error(a(198));var m=c;l=!1,c=null,s||(s=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var g=null,b={};function w(){if(g)for(var e in b){var t=b[e],n=g.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!x[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in x[n]=t,n=t.eventTypes){var o=void 0,i=n[r],u=t,l=r;if(S.hasOwnProperty(l))throw Error(a(99,l));S[l]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&E(c[o],u,l);o=!0}else i.registrationName?(E(i.registrationName,u,l),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function E(e,t,n){if(T[e])throw Error(a(100,e));T[e]=t,O[e]=t.eventTypes[n].dependencies}var x=[],S={},T={},O={};function k(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&w()}var P=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),_=null,F=null,C=null;function j(e){if(e=m(e)){if("function"!=typeof _)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),_(e.stateNode,e.type,t))}}function R(e){F?C?C.push(e):C=[e]:F=e}function D(){if(F){var e=F,t=C;if(C=F=null,j(e),t)for(e=0;e<t.length;e++)j(t[e])}}function A(e,t){return e(t)}function L(e,t,n,r,o){return e(t,n,r,o)}function N(){}var I=A,M=!1,U=!1;function q(){null===F&&null===C||(N(),D())}function z(e,t,n){if(U)return e(t,n);U=!0;try{return I(e,t,n)}finally{U=!1,q()}}var H=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,G=Object.prototype.hasOwnProperty,B={},$={};function V(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){W[e]=new V(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];W[t]=new V(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){W[e]=new V(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){W[e]=new V(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){W[e]=new V(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){W[e]=new V(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){W[e]=new V(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){W[e]=new V(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){W[e]=new V(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function Q(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(K,Q);W[t]=new V(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(K,Q);W[t]=new V(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(K,Q);W[t]=new V(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){W[e]=new V(e,1,!1,e.toLowerCase(),null,!1)})),W.xlinkHref=new V("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){W[e]=new V(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Y(e,t,n,r){var o=W.hasOwnProperty(t)?W[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!G.call($,e)||!G.call(B,e)&&(H.test(e)?$[e]=!0:(B[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,re=Z?Symbol.for("react.strict_mode"):60108,oe=Z?Symbol.for("react.profiler"):60114,ie=Z?Symbol.for("react.provider"):60109,ae=Z?Symbol.for("react.context"):60110,ue=Z?Symbol.for("react.concurrent_mode"):60111,le=Z?Symbol.for("react.forward_ref"):60112,ce=Z?Symbol.for("react.suspense"):60113,se=Z?Symbol.for("react.suspense_list"):60120,fe=Z?Symbol.for("react.memo"):60115,pe=Z?Symbol.for("react.lazy"):60116,de=Z?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case se:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ve(e.type);case de:return ve(e.render);case pe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ye(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ve(e.type);n=null,r&&(n=ve(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(J,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ge(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ee(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function xe(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Se(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ge(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Te(e,t){null!=(t=t.checked)&&Y(e,"checked",t,!1)}function Oe(e,t){Te(e,t);var n=ge(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Pe(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pe(e,t.type,ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ke(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Pe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function _e(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Fe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ge(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ce(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function je(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ge(n)}}function Re(e,t){var n=ge(t.value),r=ge(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function De(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ae="http://www.w3.org/1999/xhtml",Le="http://www.w3.org/2000/svg";function Ne(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ie(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ne(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Me,Ue=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Le||"innerHTML"in e)e.innerHTML=t;else{for((Me=Me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function qe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ze(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:ze("Animation","AnimationEnd"),animationiteration:ze("Animation","AnimationIteration"),animationstart:ze("Animation","AnimationStart"),transitionend:ze("Transition","TransitionEnd")},Ge={},Be={};function $e(e){if(Ge[e])return Ge[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in Be)return Ge[e]=n[t];return e}P&&(Be=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ve=$e("animationend"),We=$e("animationiteration"),Ke=$e("animationstart"),Qe=$e("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ye=new("function"==typeof WeakMap?WeakMap:Map);function Je(e){var t=Ye.get(e);return void 0===t&&(t=new Map,Ye.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ze(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=i;break}if(l===r){u=!0,r=o,n=i;break}l=l.sibling}if(!u){for(l=i.child;l;){if(l===n){u=!0,n=i,r=o;break}if(l===r){u=!0,r=i,n=o;break}l=l.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)y(e,t[r],n[r]);else t&&y(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(a(95));if(s)throw e=f,s=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!P)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var st=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>st.length&&st.push(e)}function pt(e,t,n,r){if(st.length){var o=st.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Pn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=lt(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var u=null,l=0;l<x.length;l++){var c=x[l];c&&(c=c.extractEvents(r,t,i,o,a))&&(u=rt(u,c))}ut(u)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Xe.indexOf(e)&&Wt(e,t)}n.set(e,null)}}var mt,vt,yt,gt=!1,bt=[],wt=null,Et=null,xt=null,St=new Map,Tt=new Map,Ot=[],kt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Pt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function _t(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Ft(e,t){switch(e){case"focus":case"blur":wt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":xt=null;break;case"pointerover":case"pointerout":St.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Ct(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=_t(t,n,r,o,i),null!==t&&(null!==(t=_n(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function jt(e){var t=Pn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=_n(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Dt(e,t,n){Rt(e)&&n.delete(t)}function At(){for(gt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=_n(e.blockedOn))&&mt(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==wt&&Rt(wt)&&(wt=null),null!==Et&&Rt(Et)&&(Et=null),null!==xt&&Rt(xt)&&(xt=null),St.forEach(Dt),Tt.forEach(Dt)}function Lt(e,t){e.blockedOn===t&&(e.blockedOn=null,gt||(gt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,At)))}function Nt(e){function t(t){return Lt(t,e)}if(0<bt.length){Lt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==wt&&Lt(wt,e),null!==Et&&Lt(Et,e),null!==xt&&Lt(xt,e),St.forEach(t),Tt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)jt(n),null===n.blockedOn&&Ot.shift()}var It={},Mt=new Map,Ut=new Map,qt=["abort","abort",Ve,"animationEnd",We,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Qe,"transitionEnd","waiting","waiting"];function zt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Ut.set(r,t),Mt.set(r,i),It[o]=i}}zt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),zt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),zt(qt,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Gt=0;Gt<Ht.length;Gt++)Ut.set(Ht[Gt],0);var Bt=i.unstable_UserBlockingPriority,$t=i.unstable_runWithPriority,Vt=!0;function Wt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Ut.get(t);switch(void 0===r?2:r){case 0:r=Qt.bind(null,t,1,e);break;case 1:r=Xt.bind(null,t,1,e);break;default:r=Yt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Qt(e,t,n,r){M||N();var o=Yt,i=M;M=!0;try{L(o,e,t,n,r)}finally{(M=i)||q()}}function Xt(e,t,n,r){$t(Bt,Yt.bind(null,e,t,n,r))}function Yt(e,t,n,r){if(Vt)if(0<bt.length&&-1<kt.indexOf(e))e=_t(null,e,t,n,r),bt.push(e);else{var o=Jt(e,t,n,r);if(null===o)Ft(e,r);else if(-1<kt.indexOf(e))e=_t(o,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return wt=Ct(wt,e,t,n,r,o),!0;case"dragenter":return Et=Ct(Et,e,t,n,r,o),!0;case"mouseover":return xt=Ct(xt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return St.set(i,Ct(St.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Tt.set(i,Ct(Tt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Ft(e,r),e=pt(e,r,null,t);try{z(dt,e)}finally{ft(e)}}}}function Jt(e,t,n,r){if(null!==(n=Pn(n=lt(r)))){var o=Ze(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=pt(e,r,n,t);try{z(dt,e)}finally{ft(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Zt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var rn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Ae;function ln(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=O[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function sn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function dn(){for(var e=window,t=sn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=sn((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn=null,vn=null;function yn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function gn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"==typeof setTimeout?setTimeout:void 0,wn="function"==typeof clearTimeout?clearTimeout:void 0;function En(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function xn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Sn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+Sn,On="__reactEventHandlers$"+Sn,kn="__reactContainere$"+Sn;function Pn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[kn]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=xn(e);null!==e;){if(n=e[Tn])return n;e=xn(e)}return t}n=(e=n).parentNode}return null}function _n(e){return!(e=e[Tn]||e[kn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Fn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Cn(e){return e[On]||null}function jn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Rn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function Dn(e,t,n){(t=Rn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function An(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=jn(t);for(t=n.length;0<t--;)Dn(n[t],"captured",e);for(t=0;t<n.length;t++)Dn(n[t],"bubbled",e)}}function Ln(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Rn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Nn(e){e&&e.dispatchConfig.registrationName&&Ln(e._targetInst,null,e)}function In(e){ot(e,An)}var Mn=null,Un=null,qn=null;function zn(){if(qn)return qn;var e,t,n=Un,r=n.length,o="value"in Mn?Mn.value:Mn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return qn=o.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function Gn(){return!1}function Bn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:Gn,this.isPropagationStopped=Gn,this}function $n(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Vn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Wn(e){e.eventPool=[],e.getPooled=$n,e.release=Vn}o(Bn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:Gn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gn,this._dispatchInstances=this._dispatchListeners=null}}),Bn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Bn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,Wn(n),n},Wn(Bn);var Kn=Bn.extend({data:null}),Qn=Bn.extend({data:null}),Xn=[9,13,27,32],Yn=P&&"CompositionEvent"in window,Jn=null;P&&"documentMode"in document&&(Jn=document.documentMode);var Zn=P&&"TextEvent"in window&&!Jn,er=P&&(!Yn||Jn&&8<Jn&&11>=Jn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var ur={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Yn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=zn()):(Un="value"in(Mn=r)?Mn.value:Mn.textContent,ar=!0)),i=Kn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),In(i),o=i):o=null,(e=Zn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!Yn&&or(e,t)?(e=zn(),qn=Un=Mn=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Qn.getPooled(nr.beforeInput,t,n,r)).data=e,In(t)):t=null,null===o?t:null===t?o:[o,t]}},lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var sr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=Bn.getPooled(sr.change,e,t,n)).type="change",R(n),In(e),e}var pr=null,dr=null;function hr(e){ut(e)}function mr(e){if(Ee(Fn(e)))return e}function vr(e,t){if("change"===e)return t}var yr=!1;function gr(){pr&&(pr.detachEvent("onpropertychange",br),dr=pr=null)}function br(e){if("value"===e.propertyName&&mr(dr))if(e=fr(dr,e,lt(e)),M)ut(e);else{M=!0;try{A(hr,e)}finally{M=!1,q()}}}function wr(e,t,n){"focus"===e?(gr(),dr=n,(pr=t).attachEvent("onpropertychange",br)):"blur"===e&&gr()}function Er(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mr(dr)}function xr(e,t){if("click"===e)return mr(t)}function Sr(e,t){if("input"===e||"change"===e)return mr(t)}P&&(yr=ct("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:sr,_isInputEventSupported:yr,extractEvents:function(e,t,n,r){var o=t?Fn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=vr;else if(cr(o))if(yr)a=Sr;else{a=Er;var u=wr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=xr);if(a&&(a=a(e,t)))return fr(a,n,r);u&&u(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Pe(o,"number",o.value)}},Or=Bn.extend({view:null,detail:null}),kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function _r(){return Pr}var Fr=0,Cr=0,jr=!1,Rr=!1,Dr=Or.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:_r,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Fr;return Fr=e.screenX,jr?"mousemove"===e.type?e.screenX-t:0:(jr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Cr;return Cr=e.screenY,Rr?"mousemove"===e.type?e.screenY-t:0:(Rr=!0,0)}}),Ar=Dr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Lr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Nr={eventTypes:Lr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Pn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var u=Dr,l=Lr.mouseLeave,c=Lr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=Ar,l=Lr.pointerLeave,c=Lr.pointerEnter,s="pointer");if(e=null==a?i:Fn(a),i=null==t?i:Fn(t),(l=u.getPooled(l,a,n,r)).type=s+"leave",l.target=e,l.relatedTarget=i,(n=u.getPooled(c,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=a)&&s)e:{for(c=s,a=0,e=u=r;e;e=jn(e))a++;for(e=0,t=c;t;t=jn(t))e++;for(;0<a-e;)u=jn(u),a--;for(;0<e-a;)c=jn(c),e--;for(;a--;){if(u===c||u===c.alternate)break e;u=jn(u),c=jn(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)u.push(r),r=jn(r);for(r=[];s&&s!==c&&(null===(a=s.alternate)||a!==c);)r.push(s),s=jn(s);for(s=0;s<u.length;s++)Ln(u[s],"bubbled",l);for(s=r.length;0<s--;)Ln(r[s],"captured",n);return 0==(64&o)?[l]:[l,n]}};var Ir="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Mr=Object.prototype.hasOwnProperty;function Ur(e,t){if(Ir(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Mr.call(t,n[r])||!Ir(e[n[r]],t[n[r]]))return!1;return!0}var qr=P&&"documentMode"in document&&11>=document.documentMode,zr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,Gr=null,Br=null,$r=!1;function Vr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return $r||null==Hr||Hr!==sn(n)?null:("selectionStart"in(n=Hr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Br&&Ur(Br,n)?null:(Br=n,(e=Bn.getPooled(zr.select,Gr,e,t)).type="select",e.target=Hr,In(e),e))}var Wr={eventTypes:zr,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Je(o),i=O.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Fn(t):window,e){case"focus":(cr(o)||"true"===o.contentEditable)&&(Hr=o,Gr=t,Br=null);break;case"blur":Br=Gr=Hr=null;break;case"mousedown":$r=!0;break;case"contextmenu":case"mouseup":case"dragend":return $r=!1,Vr(n,r);case"selectionchange":if(qr)break;case"keydown":case"keyup":return Vr(n,r)}return null}},Kr=Bn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Bn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xr=Or.extend({relatedTarget:null});function Yr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Jr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eo=Or.extend({key:function(e){if(e.key){var t=Jr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:_r,charCode:function(e){return"keypress"===e.type?Yr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=Dr.extend({dataTransfer:null}),no=Or.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:_r}),ro=Bn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=Dr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:It,extractEvents:function(e,t,n,r){var o=Mt.get(e);if(!o)return null;switch(e){case"keypress":if(0===Yr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Xr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Dr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case Ve:case We:case Ke:e=Kr;break;case Qe:e=ro;break;case"scroll":e=Or;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Qr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Ar;break;default:e=Bn}return In(t=e.getPooled(o,t,n,r)),t}};if(g)throw Error(a(101));g=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),h=Cn,m=_n,v=Fn,k({SimpleEventPlugin:io,EnterLeaveEventPlugin:Nr,ChangeEventPlugin:Tr,SelectEventPlugin:Wr,BeforeInputEventPlugin:ur});var ao=[],uo=-1;function lo(e){0>uo||(e.current=ao[uo],ao[uo]=null,uo--)}function co(e,t){uo++,ao[uo]=e.current,e.current=t}var so={},fo={current:so},po={current:!1},ho=so;function mo(e,t){var n=e.type.contextTypes;if(!n)return so;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vo(e){return null!=(e=e.childContextTypes)}function yo(){lo(po),lo(fo)}function go(e,t,n){if(fo.current!==so)throw Error(a(168));co(fo,t),co(po,n)}function bo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ve(t)||"Unknown",i));return o({},n,{},r)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||so,ho=fo.current,co(fo,e),co(po,po.current),!0}function Eo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=bo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,lo(po),lo(fo),co(fo,e)):lo(po),co(po,n)}var xo=i.unstable_runWithPriority,So=i.unstable_scheduleCallback,To=i.unstable_cancelCallback,Oo=i.unstable_requestPaint,ko=i.unstable_now,Po=i.unstable_getCurrentPriorityLevel,_o=i.unstable_ImmediatePriority,Fo=i.unstable_UserBlockingPriority,Co=i.unstable_NormalPriority,jo=i.unstable_LowPriority,Ro=i.unstable_IdlePriority,Do={},Ao=i.unstable_shouldYield,Lo=void 0!==Oo?Oo:function(){},No=null,Io=null,Mo=!1,Uo=ko(),qo=1e4>Uo?ko:function(){return ko()-Uo};function zo(){switch(Po()){case _o:return 99;case Fo:return 98;case Co:return 97;case jo:return 96;case Ro:return 95;default:throw Error(a(332))}}function Ho(e){switch(e){case 99:return _o;case 98:return Fo;case 97:return Co;case 96:return jo;case 95:return Ro;default:throw Error(a(332))}}function Go(e,t){return e=Ho(e),xo(e,t)}function Bo(e,t,n){return e=Ho(e),So(e,t,n)}function $o(e){return null===No?(No=[e],Io=So(_o,Wo)):No.push(e),Do}function Vo(){if(null!==Io){var e=Io;Io=null,To(e)}Wo()}function Wo(){if(!Mo&&null!==No){Mo=!0;var e=0;try{var t=No;Go(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),No=null}catch(t){throw null!==No&&(No=No.slice(e+1)),So(_o,Vo),t}finally{Mo=!1}}}function Ko(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Qo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Xo={current:null},Yo=null,Jo=null,Zo=null;function ei(){Zo=Jo=Yo=null}function ti(e){var t=Xo.current;lo(Xo),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){Yo=e,Zo=Jo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ca=!0),e.firstContext=null)}function oi(e,t){if(Zo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Zo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jo){if(null===Yo)throw Error(a(308));Jo=t,Yo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Jo=Jo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function li(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ci(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function si(e,t){var n=e.alternate;null!==n&&ui(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var a=i.baseQueue,u=i.shared.pending;if(null!==u){if(null!==a){var l=a.next;a.next=u.next,u.next=l}a=u,i.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=u))}if(null!==a){l=a.next;var c=i.baseState,s=0,f=null,p=null,d=null;if(null!==l)for(var h=l;;){if((u=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(p=d=m,f=c):d=d.next=m,u>s&&(s=u)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),il(u,h.suspenseConfig);e:{var v=e,y=h;switch(u=t,m=n,y.tag){case 1:if("function"==typeof(v=y.payload)){c=v.call(m,c,u);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(u="function"==typeof(v=y.payload)?v.call(m,c,u):v))break e;c=o({},c,u);break e;case 2:ii=!0}}null!==h.callback&&(e.effectTag|=32,null===(u=i.effects)?i.effects=[h]:u.push(h))}if(null===(h=h.next)||h===l){if(null===(u=i.shared.pending))break;h=a.next=u.next,u.next=l,i.baseQueue=a=u,i.shared.pending=null}}null===d?f=c:d.next=p,i.baseState=f,i.baseQueue=d,al(s),e.expirationTime=s,e.memoizedState=c}}function pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var di=X.ReactCurrentBatchConfig,hi=(new r.Component).refs;function mi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var vi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Vu(),o=di.suspense;(o=li(r=Wu(r,e,o),o)).payload=t,null!=n&&(o.callback=n),ci(e,o),Ku(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Vu(),o=di.suspense;(o=li(r=Wu(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),ci(e,o),Ku(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Vu(),r=di.suspense;(r=li(n=Wu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ci(e,r),Ku(e,n)}};function yi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Ur(n,r)||!Ur(o,i))}function gi(e,t,n){var r=!1,o=so,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(o=vo(t)?ho:fo.current,i=(r=null!=(r=t.contextTypes))?mo(e,o):so),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function bi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vi.enqueueReplaceState(t,t.state,null)}function wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=hi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=oi(i):(i=vo(t)?ho:fo.current,o.context=mo(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(mi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&vi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var Ei=Array.isArray;function xi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===hi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Si(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ti(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=kl(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=xi(e,t,n),r.return=e,r):((r=Pl(n.type,n.key,n.props,null,e.mode,r)).ref=xi(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Cl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=_l(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Fl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Pl(t.type,t.key,t.props,null,e.mode,n)).ref=xi(e,null,t),n.return=e,n;case te:return(t=Cl(t,e.mode,n)).return=e,t}if(Ei(t)||me(t))return(t=_l(t,e.mode,n,null)).return=e,t;Si(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case te:return n.key===o?s(e,t,n,r):null}if(Ei(n)||me(n))return null!==o?null:f(e,t,n,r,null);Si(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case te:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Ei(r)||me(r))return f(t,e=e.get(n)||null,r,o,null);Si(t,r)}return null}function m(o,a,u,l){for(var c=null,s=null,f=a,m=a=0,v=null;null!==f&&m<u.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var y=d(o,f,u[m],l);if(null===y){null===f&&(f=v);break}e&&f&&null===y.alternate&&t(o,f),a=i(y,a,m),null===s?c=y:s.sibling=y,s=y,f=v}if(m===u.length)return n(o,f),c;if(null===f){for(;m<u.length;m++)null!==(f=p(o,u[m],l))&&(a=i(f,a,m),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(o,f);m<u.length;m++)null!==(v=h(f,o,m,u[m],l))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),a=i(v,a,m),null===s?c=v:s.sibling=v,s=v);return e&&f.forEach((function(e){return t(o,e)})),c}function v(o,u,l,c){var s=me(l);if("function"!=typeof s)throw Error(a(150));if(null==(l=s.call(l)))throw Error(a(151));for(var f=s=null,m=u,v=u=0,y=null,g=l.next();null!==m&&!g.done;v++,g=l.next()){m.index>v?(y=m,m=null):y=m.sibling;var b=d(o,m,g.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),u=i(b,u,v),null===f?s=b:f.sibling=b,f=b,m=y}if(g.done)return n(o,m),s;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=p(o,g.value,c))&&(u=i(g,u,v),null===f?s=g:f.sibling=g,f=g);return s}for(m=r(o,m);!g.done;v++,g=l.next())null!==(g=h(m,o,v,g.value,c))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),u=i(g,u,v),null===f?s=g:f.sibling=g,f=g);return e&&m.forEach((function(e){return t(o,e)})),s}return function(e,r,i,l){var c="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;c&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case ee:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(i.type===ne){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}break;default:if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=xi(e,c,i),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}i.type===ne?((r=_l(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Pl(i.type,i.key,i.props,null,e.mode,l)).ref=xi(e,r,i),l.return=e,e=l)}return u(e);case te:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Cl(i,e.mode,l)).return=e,e=r}return u(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Fl(i,e.mode,l)).return=e,e=r),u(e);if(Ei(i))return m(e,r,i,l);if(me(i))return v(e,r,i,l);if(s&&Si(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Oi=Ti(!0),ki=Ti(!1),Pi={},_i={current:Pi},Fi={current:Pi},Ci={current:Pi};function ji(e){if(e===Pi)throw Error(a(174));return e}function Ri(e,t){switch(co(Ci,t),co(Fi,e),co(_i,Pi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ie(null,"");break;default:t=Ie(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lo(_i),co(_i,t)}function Di(){lo(_i),lo(Fi),lo(Ci)}function Ai(e){ji(Ci.current);var t=ji(_i.current),n=Ie(t,e.type);t!==n&&(co(Fi,e),co(_i,n))}function Li(e){Fi.current===e&&(lo(_i),lo(Fi))}var Ni={current:0};function Ii(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Mi(e,t){return{responder:e,props:t}}var Ui=X.ReactCurrentDispatcher,qi=X.ReactCurrentBatchConfig,zi=0,Hi=null,Gi=null,Bi=null,$i=!1;function Vi(){throw Error(a(321))}function Wi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ir(e[n],t[n]))return!1;return!0}function Ki(e,t,n,r,o,i){if(zi=i,Hi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Ui.current=null===e||null===e.memoizedState?ya:ga,e=n(r,o),t.expirationTime===zi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Bi=Gi=null,t.updateQueue=null,Ui.current=ba,e=n(r,o)}while(t.expirationTime===zi)}if(Ui.current=va,t=null!==Gi&&null!==Gi.next,zi=0,Bi=Gi=Hi=null,$i=!1,t)throw Error(a(300));return e}function Qi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Bi?Hi.memoizedState=Bi=e:Bi=Bi.next=e,Bi}function Xi(){if(null===Gi){var e=Hi.alternate;e=null!==e?e.memoizedState:null}else e=Gi.next;var t=null===Bi?Hi.memoizedState:Bi.next;if(null!==t)Bi=t,Gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Gi=e).memoizedState,baseState:Gi.baseState,baseQueue:Gi.baseQueue,queue:Gi.queue,next:null},null===Bi?Hi.memoizedState=Bi=e:Bi=Bi.next=e}return Bi}function Yi(e,t){return"function"==typeof t?t(e):t}function Ji(e){var t=Xi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=u=i=null,c=o;do{var s=c.expirationTime;if(s<zi){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(u=l=f,i=r):l=l.next=f,s>Hi.expirationTime&&(Hi.expirationTime=s,al(s))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),il(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=u,Ir(r,t.memoizedState)||(Ca=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zi(e){var t=Xi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=e(i,u.action),u=u.next}while(u!==o);Ir(i,t.memoizedState)||(Ca=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=Qi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Yi,lastRenderedState:e}).dispatch=ma.bind(null,Hi,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Hi.updateQueue)?(t={lastEffect:null},Hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Xi().memoizedState}function ra(e,t,n,r){var o=Qi();Hi.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Xi();r=void 0===r?null:r;var i=void 0;if(null!==Gi){var a=Gi.memoizedState;if(i=a.destroy,null!==r&&Wi(r,a.deps))return void ta(t,n,i,r)}Hi.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function ua(e,t){return oa(4,2,e,t)}function la(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ca(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)}function sa(){}function fa(e,t){return Qi().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Xi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=Xi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=zo();Go(98>r?98:r,(function(){e(!0)})),Go(97<r?97:r,(function(){var r=qi.suspense;qi.suspense=void 0===t?null:t;try{e(!1),n()}finally{qi.suspense=r}}))}function ma(e,t,n){var r=Vu(),o=di.suspense;o={expirationTime:r=Wu(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Hi||null!==i&&i===Hi)$i=!0,o.expirationTime=zi,Hi.expirationTime=zi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.eagerReducer=i,o.eagerState=u,Ir(u,a))return}catch(e){}Ku(e,r)}}var va={readContext:oi,useCallback:Vi,useContext:Vi,useEffect:Vi,useImperativeHandle:Vi,useLayoutEffect:Vi,useMemo:Vi,useReducer:Vi,useRef:Vi,useState:Vi,useDebugValue:Vi,useResponder:Vi,useDeferredValue:Vi,useTransition:Vi},ya={readContext:oi,useCallback:fa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Qi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ma.bind(null,Hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Qi().memoizedState=e},useState:ea,useDebugValue:sa,useResponder:Mi,useDeferredValue:function(e,t){var n=ea(e),r=n[0],o=n[1];return ia((function(){var n=qi.suspense;qi.suspense=void 0===t?null:t;try{o(e)}finally{qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ga={readContext:oi,useCallback:pa,useContext:oi,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:ua,useMemo:da,useReducer:Ji,useRef:na,useState:function(){return Ji(Yi)},useDebugValue:sa,useResponder:Mi,useDeferredValue:function(e,t){var n=Ji(Yi),r=n[0],o=n[1];return aa((function(){var n=qi.suspense;qi.suspense=void 0===t?null:t;try{o(e)}finally{qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ji(Yi),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:oi,useCallback:pa,useContext:oi,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:ua,useMemo:da,useReducer:Zi,useRef:na,useState:function(){return Zi(Yi)},useDebugValue:sa,useResponder:Mi,useDeferredValue:function(e,t){var n=Zi(Yi),r=n[0],o=n[1];return aa((function(){var n=qi.suspense;qi.suspense=void 0===t?null:t;try{o(e)}finally{qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zi(Yi),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},wa=null,Ea=null,xa=!1;function Sa(e,t){var n=Tl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ta(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Oa(e){if(xa){var t=Ea;if(t){var n=t;if(!Ta(e,t)){if(!(t=En(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,xa=!1,void(wa=e);Sa(wa,n)}wa=e,Ea=En(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,xa=!1,wa=e}}function ka(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;wa=e}function Pa(e){if(e!==wa)return!1;if(!xa)return ka(e),xa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!gn(t,e.memoizedProps))for(t=Ea;t;)Sa(e,t),t=En(t.nextSibling);if(ka(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ea=En(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ea=null}}else Ea=wa?En(e.stateNode.nextSibling):null;return!0}function _a(){Ea=wa=null,xa=!1}var Fa=X.ReactCurrentOwner,Ca=!1;function ja(e,t,n,r){t.child=null===e?ki(t,null,n,r):Oi(t,e.child,n,r)}function Ra(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Ki(e,t,n,r,i,o),null===e||Ca?(t.effectTag|=1,ja(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ka(e,t,o))}function Da(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Ol(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Pl(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Aa(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Ur)(o,r)&&e.ref===t.ref)?Ka(e,t,i):(t.effectTag|=1,(e=kl(a,r)).ref=t.ref,e.return=t,t.child=e)}function Aa(e,t,n,r,o,i){return null!==e&&Ur(e.memoizedProps,r)&&e.ref===t.ref&&(Ca=!1,o<i)?(t.expirationTime=e.expirationTime,Ka(e,t,i)):Na(e,t,n,r,i)}function La(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Na(e,t,n,r,o){var i=vo(n)?ho:fo.current;return i=mo(t,i),ri(t,o),n=Ki(e,t,n,r,i,o),null===e||Ca?(t.effectTag|=1,ja(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ka(e,t,o))}function Ia(e,t,n,r,o){if(vo(n)){var i=!0;wo(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),gi(t,n,r),wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=oi(c):c=mo(t,c=vo(n)?ho:fo.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==c)&&bi(t,a,r,c),ii=!1;var p=t.memoizedState;a.state=p,fi(t,r,a,o),l=t.memoizedState,u!==r||p!==l||po.current||ii?("function"==typeof s&&(mi(t,n,s,r),l=t.memoizedState),(u=ii||yi(t,n,u,r,p,l,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=u):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,ui(e,t),u=t.memoizedProps,a.props=t.type===t.elementType?u:Qo(t.type,u),l=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=oi(c):c=mo(t,c=vo(n)?ho:fo.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==c)&&bi(t,a,r,c),ii=!1,l=t.memoizedState,a.state=l,fi(t,r,a,o),p=t.memoizedState,u!==r||l!==p||po.current||ii?("function"==typeof s&&(mi(t,n,s,r),p=t.memoizedState),(s=ii||yi(t,n,u,r,l,p,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=s):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Ma(e,t,n,r,i,o)}function Ma(e,t,n,r,o,i){La(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&Eo(t,n,!1),Ka(e,t,i);r=t.stateNode,Fa.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Oi(t,e.child,null,i),t.child=Oi(t,null,u,i)):ja(e,t,u,i),t.memoizedState=r.state,o&&Eo(t,n,!0),t.child}function Ua(e){var t=e.stateNode;t.pendingContext?go(0,t.pendingContext,t.pendingContext!==t.context):t.context&&go(0,t.context,!1),Ri(e,t.containerInfo)}var qa,za,Ha,Ga={dehydrated:null,retryTime:0};function Ba(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Ni.current,u=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),co(Ni,1&a),null===e){if(void 0!==i.fallback&&Oa(t),u){if(u=i.fallback,(i=_l(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=_l(u,o,n,null)).return=t,i.sibling=n,t.memoizedState=Ga,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=ki(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,u){if(i=i.fallback,(n=kl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(o=kl(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ga,t.child=n,o}return n=Oi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,u){if(u=i.fallback,(i=_l(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=_l(u,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ga,t.child=i,n}return t.memoizedState=null,t.child=Oi(t,e,i.children,n)}function $a(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Va(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function Wa(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ja(e,t,r.children,n),0!=(2&(r=Ni.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$a(e,n);else if(19===e.tag)$a(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(Ni,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ii(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Va(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ii(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Va(t,!0,n,null,i,t.lastEffect);break;case"together":Va(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ka(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=kl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=kl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qa(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return vo(t.type)&&yo(),null;case 3:return Di(),lo(po),lo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Pa(t)||(t.effectTag|=4),null;case 5:Li(t),n=ji(Ci.current);var i=t.type;if(null!==e&&null!=t.stateNode)za(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=ji(_i.current),Pa(t)){r=t.stateNode,i=t.type;var u=t.memoizedProps;switch(r[Tn]=t,r[On]=u,i){case"iframe":case"object":case"embed":Wt("load",r);break;case"video":case"audio":for(e=0;e<Xe.length;e++)Wt(Xe[e],r);break;case"source":Wt("error",r);break;case"img":case"image":case"link":Wt("error",r),Wt("load",r);break;case"form":Wt("reset",r),Wt("submit",r);break;case"details":Wt("toggle",r);break;case"input":Se(r,u),Wt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Wt("invalid",r),ln(n,"onChange");break;case"textarea":je(r,u),Wt("invalid",r),ln(n,"onChange")}for(var l in on(i,u),e=null,u)if(u.hasOwnProperty(l)){var c=u[l];"children"===l?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):T.hasOwnProperty(l)&&null!=c&&ln(n,l)}switch(i){case"input":we(r),ke(r,u,!0);break;case"textarea":we(r),De(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===un&&(e=Ne(i)),e===un?"script"===i?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(i,{is:r.is}):(e=l.createElement(i),"select"===i&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,i),e[Tn]=t,e[On]=r,qa(e,t),t.stateNode=e,l=an(i,r),i){case"iframe":case"object":case"embed":Wt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Xe.length;c++)Wt(Xe[c],e);c=r;break;case"source":Wt("error",e),c=r;break;case"img":case"image":case"link":Wt("error",e),Wt("load",e),c=r;break;case"form":Wt("reset",e),Wt("submit",e),c=r;break;case"details":Wt("toggle",e),c=r;break;case"input":Se(e,r),c=xe(e,r),Wt("invalid",e),ln(n,"onChange");break;case"option":c=_e(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=o({},r,{value:void 0}),Wt("invalid",e),ln(n,"onChange");break;case"textarea":je(e,r),c=Ce(e,r),Wt("invalid",e),ln(n,"onChange");break;default:c=r}on(i,c);var s=c;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?nn(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&Ue(e,f):"children"===u?"string"==typeof f?("textarea"!==i||""!==f)&&qe(e,f):"number"==typeof f&&qe(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(T.hasOwnProperty(u)?null!=f&&ln(n,u):null!=f&&Y(e,u,f,l))}switch(i){case"input":we(e),ke(e,r,!1);break;case"textarea":we(e),De(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ge(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Fe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Fe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=cn)}yn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ha(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=ji(Ci.current),ji(_i.current),Pa(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return lo(Ni),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Pa(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=i,i.nextEffect=u):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ni.current)?Pu===wu&&(Pu=Eu):(Pu!==wu&&Pu!==Eu||(Pu=xu),0!==Ru&&null!==Tu&&(Dl(Tu,ku),Al(Tu,Ru)))),(n||r)&&(t.effectTag|=4),null);case 4:return Di(),null;case 10:return ti(t),null;case 17:return vo(t.type)&&yo(),null;case 19:if(lo(Ni),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(u=r.rendering)){if(i)Qa(r,!1);else if(Pu!==wu||null!==e&&0!=(64&e.effectTag))for(u=t.child;null!==u;){if(null!==(e=Ii(u))){for(t.effectTag|=64,Qa(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)u=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=u,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,u=e.dependencies,i.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return co(Ni,1&Ni.current|2),t.child}u=u.sibling}}else{if(!i)if(null!==(e=Ii(u))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Qa(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*qo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Qa(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=qo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=qo(),n.sibling=null,t=Ni.current,co(Ni,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Ya(e){switch(e.tag){case 1:vo(e.type)&&yo();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Di(),lo(po),lo(fo),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Li(e),null;case 13:return lo(Ni),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return lo(Ni),null;case 4:return Di(),null;case 10:return ti(e),null;default:return null}}function Ja(e,t){return{value:e,source:t,stack:ye(t)}}qa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},za=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var u,l,c=t.stateNode;switch(ji(_i.current),e=null,n){case"input":a=xe(c,a),r=xe(c,r),e=[];break;case"option":a=_e(c,a),r=_e(c,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Ce(c,a),r=Ce(c,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(c.onclick=cn)}for(u in on(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u)for(l in c=a[u])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(T.hasOwnProperty(u)?e||(e=[]):(e=e||[]).push(u,null));for(u in r){var s=r[u];if(c=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==c&&(null!=s||null!=c))if("style"===u)if(c){for(l in c)!c.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&c[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(e||(e=[]),e.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(u,s)):"children"===u?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(T.hasOwnProperty(u)?(null!=s&&ln(i,u),e||c===s||(e=[])):(e=e||[]).push(u,s))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Ha=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Za="function"==typeof WeakSet?WeakSet:Set;function eu(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ye(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function tu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){gl(e,t)}else t.current=null}function nu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ou(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ou(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&yn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Nt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function au(e,t,n){switch("function"==typeof xl&&xl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Go(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){gl(o,e)}}e=e.next}while(e!==r)}))}break;case 1:tu(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){gl(e,t)}}(t,n);break;case 5:tu(t);break;case 4:su(e,t,n)}}function uu(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&uu(t)}function lu(e){return 5===e.tag||3===e.tag||4===e.tag}function cu(e){e:{for(var t=e.return;null!==t;){if(lu(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(qe(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||lu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function su(e,t,n){for(var r,o,i=t,u=!1;;){if(!u){u=i.return;e:for(;;){if(null===u)throw Error(a(160));switch(r=u.stateNode,u.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}u=u.return}u=!0}if(5===i.tag||6===i.tag){e:for(var l=e,c=i,s=n,f=c;;)if(au(l,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(l=r,c=i.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(au(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(u=!1)}i.sibling.return=i.return,i=i.sibling}}function fu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ru(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[On]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Te(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var u=i[o],l=i[o+1];"style"===u?nn(n,l):"dangerouslySetInnerHTML"===u?Ue(n,l):"children"===u?qe(n,l):Y(n,u,l,t)}switch(e){case"input":Oe(n,r);break;case"textarea":Re(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Fe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Fe(n,!!r.multiple,r.defaultValue,!0):Fe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Nt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Au=qo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void pu(t);case 19:return void pu(t);case 17:return}throw Error(a(163))}function pu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach((function(t){var r=wl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var du="function"==typeof WeakMap?WeakMap:Map;function hu(e,t,n){(n=li(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Nu||(Nu=!0,Iu=r),eu(e,t)},n}function mu(e,t,n){(n=li(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return eu(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Mu?Mu=new Set([this]):Mu.add(this),eu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var vu,yu=Math.ceil,gu=X.ReactCurrentDispatcher,bu=X.ReactCurrentOwner,wu=0,Eu=3,xu=4,Su=0,Tu=null,Ou=null,ku=0,Pu=wu,_u=null,Fu=1073741823,Cu=1073741823,ju=null,Ru=0,Du=!1,Au=0,Lu=null,Nu=!1,Iu=null,Mu=null,Uu=!1,qu=null,zu=90,Hu=null,Gu=0,Bu=null,$u=0;function Vu(){return 0!=(48&Su)?1073741821-(qo()/10|0):0!==$u?$u:$u=1073741821-(qo()/10|0)}function Wu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=zo();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&Su))return ku;if(null!==n)e=Ko(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ko(e,150,100);break;case 97:case 96:e=Ko(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Tu&&e===ku&&--e,e}function Ku(e,t){if(50<Gu)throw Gu=0,Bu=null,Error(a(185));if(null!==(e=Qu(e,t))){var n=zo();1073741823===t?0!=(8&Su)&&0==(48&Su)?Zu(e):(Yu(e),0===Su&&Vo()):Yu(e),0==(4&Su)||98!==n&&99!==n||(null===Hu?Hu=new Map([[e,t]]):(void 0===(n=Hu.get(e))||n>t)&&Hu.set(e,t))}}function Qu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Tu===o&&(al(t),Pu===xu&&Dl(o,ku)),Al(o,t)),o}function Xu(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Rl(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Yu(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=$o(Zu.bind(null,e));else{var t=Xu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Vu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Do&&To(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?$o(Zu.bind(null,e)):Bo(r,Ju.bind(null,e),{timeout:10*(1073741821-t)-qo()}),e.callbackNode=t}}}function Ju(e,t){if($u=0,t)return Ll(e,t=Vu()),Yu(e),null;var n=Xu(e);if(0!==n){if(t=e.callbackNode,0!=(48&Su))throw Error(a(327));if(ml(),e===Tu&&n===ku||nl(e,n),null!==Ou){var r=Su;Su|=16;for(var o=ol();;)try{ll();break}catch(t){rl(e,t)}if(ei(),Su=r,gu.current=o,1===Pu)throw t=_u,nl(e,n),Dl(e,n),Yu(e),t;if(null===Ou)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Pu,Tu=null,r){case wu:case 1:throw Error(a(345));case 2:Ll(e,2<n?2:n);break;case Eu:if(Dl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),1073741823===Fu&&10<(o=Au+500-qo())){if(Du){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(i=Xu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(pl.bind(null,e),o);break}pl(e);break;case xu:if(Dl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),Du&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(o=Xu(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Cu?r=10*(1073741821-Cu)-qo():1073741823===Fu?r=0:(r=10*(1073741821-Fu)-5e3,0>(r=(o=qo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yu(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(pl.bind(null,e),r);break}pl(e);break;case 5:if(1073741823!==Fu&&null!==ju){i=Fu;var u=ju;if(0>=(r=0|u.busyMinDurationMs)?r=0:(o=0|u.busyDelayMs,r=(i=qo()-(10*(1073741821-i)-(0|u.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Dl(e,n),e.timeoutHandle=bn(pl.bind(null,e),r);break}}pl(e);break;default:throw Error(a(329))}if(Yu(e),e.callbackNode===t)return Ju.bind(null,e)}}return null}function Zu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Su))throw Error(a(327));if(ml(),e===Tu&&t===ku||nl(e,t),null!==Ou){var n=Su;Su|=16;for(var r=ol();;)try{ul();break}catch(t){rl(e,t)}if(ei(),Su=n,gu.current=r,1===Pu)throw n=_u,nl(e,t),Dl(e,t),Yu(e),n;if(null!==Ou)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Tu=null,pl(e),Yu(e)}return null}function el(e,t){var n=Su;Su|=1;try{return e(t)}finally{0===(Su=n)&&Vo()}}function tl(e,t){var n=Su;Su&=-2,Su|=8;try{return e(t)}finally{0===(Su=n)&&Vo()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,wn(n)),null!==Ou)for(n=Ou.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&yo();break;case 3:Di(),lo(po),lo(fo);break;case 5:Li(r);break;case 4:Di();break;case 13:case 19:lo(Ni);break;case 10:ti(r)}n=n.return}Tu=e,Ou=kl(e.current,null),ku=t,Pu=wu,_u=null,Cu=Fu=1073741823,ju=null,Ru=0,Du=!1}function rl(e,t){for(;;){try{if(ei(),Ui.current=va,$i)for(var n=Hi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(zi=0,Bi=Gi=Hi=null,$i=!1,null===Ou||null===Ou.return)return Pu=1,_u=t,Ou=null;e:{var o=e,i=Ou.return,a=Ou,u=t;if(t=ku,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var l=u;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var s=0!=(1&Ni.current),f=i;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!s)}}if(p){var m=f.updateQueue;if(null===m){var v=new Set;v.add(l),f.updateQueue=v}else m.add(l);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var y=li(1073741823,null);y.tag=2,ci(a,y)}a.expirationTime=1073741823;break e}u=void 0,a=t;var g=o.pingCache;if(null===g?(g=o.pingCache=new du,u=new Set,g.set(l,u)):void 0===(u=g.get(l))&&(u=new Set,g.set(l,u)),!u.has(a)){u.add(a);var b=bl.bind(null,o,l,a);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);u=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ye(a))}5!==Pu&&(Pu=2),u=Ja(u,a),f=i;do{switch(f.tag){case 3:l=u,f.effectTag|=4096,f.expirationTime=t,si(f,hu(f,l,t));break e;case 1:l=u;var w=f.type,E=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Mu||!Mu.has(E)))){f.effectTag|=4096,f.expirationTime=t,si(f,mu(f,l,t));break e}}f=f.return}while(null!==f)}Ou=sl(Ou)}catch(e){t=e;continue}break}}function ol(){var e=gu.current;return gu.current=va,null===e?va:e}function il(e,t){e<Fu&&2<e&&(Fu=e),null!==t&&e<Cu&&2<e&&(Cu=e,ju=t)}function al(e){e>Ru&&(Ru=e)}function ul(){for(;null!==Ou;)Ou=cl(Ou)}function ll(){for(;null!==Ou&&!Ao();)Ou=cl(Ou)}function cl(e){var t=vu(e.alternate,e,ku);return e.memoizedProps=e.pendingProps,null===t&&(t=sl(e)),bu.current=null,t}function sl(e){Ou=e;do{var t=Ou.alternate;if(e=Ou.return,0==(2048&Ou.effectTag)){if(t=Xa(t,Ou,ku),1===ku||1!==Ou.childExpirationTime){for(var n=0,r=Ou.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Ou.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ou.firstEffect),null!==Ou.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ou.firstEffect),e.lastEffect=Ou.lastEffect),1<Ou.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ou:e.firstEffect=Ou,e.lastEffect=Ou))}else{if(null!==(t=Ya(Ou)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ou.sibling))return t;Ou=e}while(null!==Ou);return Pu===wu&&(Pu=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pl(e){var t=zo();return Go(99,dl.bind(null,e,t)),null}function dl(e,t){do{ml()}while(null!==qu);if(0!=(48&Su))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fl(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Tu&&(Ou=Tu=null,ku=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=Su;Su|=32,bu.current=null,mn=Vt;var u=dn();if(hn(u)){if("selectionStart"in u)var l={start:u.selectionStart,end:u.selectionEnd};else e:{var c=(l=(l=u.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{l.nodeType,f.nodeType}catch(e){l=null;break e}var p=0,d=-1,h=-1,m=0,v=0,y=u,g=null;t:for(;;){for(var b;y!==l||0!==s&&3!==y.nodeType||(d=p+s),y!==f||0!==c&&3!==y.nodeType||(h=p+c),3===y.nodeType&&(p+=y.nodeValue.length),null!==(b=y.firstChild);)g=y,y=b;for(;;){if(y===u)break t;if(g===l&&++m===s&&(d=p),g===f&&++v===c&&(h=p),null!==(b=y.nextSibling))break;g=(y=g).parentNode}y=b}l=-1===d||-1===h?null:{start:d,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;vn={activeElementDetached:null,focusedElem:u,selectionRange:l},Vt=!1,Lu=o;do{try{hl()}catch(e){if(null===Lu)throw Error(a(330));gl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);Lu=o;do{try{for(u=e,l=t;null!==Lu;){var w=Lu.effectTag;if(16&w&&qe(Lu.stateNode,""),128&w){var E=Lu.alternate;if(null!==E){var x=E.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&w){case 2:cu(Lu),Lu.effectTag&=-3;break;case 6:cu(Lu),Lu.effectTag&=-3,fu(Lu.alternate,Lu);break;case 1024:Lu.effectTag&=-1025;break;case 1028:Lu.effectTag&=-1025,fu(Lu.alternate,Lu);break;case 4:fu(Lu.alternate,Lu);break;case 8:su(u,s=Lu,l),uu(s)}Lu=Lu.nextEffect}}catch(e){if(null===Lu)throw Error(a(330));gl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);if(x=vn,E=dn(),w=x.focusedElem,l=x.selectionRange,E!==w&&w&&w.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(w.ownerDocument.documentElement,w)){null!==l&&hn(w)&&(E=l.start,void 0===(x=l.end)&&(x=E),"selectionStart"in w?(w.selectionStart=E,w.selectionEnd=Math.min(x,w.value.length)):(x=(E=w.ownerDocument||document)&&E.defaultView||window).getSelection&&(x=x.getSelection(),s=w.textContent.length,u=Math.min(l.start,s),l=void 0===l.end?u:Math.min(l.end,s),!x.extend&&u>l&&(s=l,l=u,u=s),s=pn(w,u),f=pn(w,l),s&&f&&(1!==x.rangeCount||x.anchorNode!==s.node||x.anchorOffset!==s.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((E=E.createRange()).setStart(s.node,s.offset),x.removeAllRanges(),u>l?(x.addRange(E),x.extend(f.node,f.offset)):(E.setEnd(f.node,f.offset),x.addRange(E))))),E=[];for(x=w;x=x.parentNode;)1===x.nodeType&&E.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<E.length;w++)(x=E[w]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Vt=!!mn,vn=mn=null,e.current=n,Lu=o;do{try{for(w=e;null!==Lu;){var S=Lu.effectTag;if(36&S&&iu(w,Lu.alternate,Lu),128&S){E=void 0;var T=Lu.ref;if(null!==T){var O=Lu.stateNode;switch(Lu.tag){case 5:E=O;break;default:E=O}"function"==typeof T?T(E):T.current=E}}Lu=Lu.nextEffect}}catch(e){if(null===Lu)throw Error(a(330));gl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);Lu=null,Lo(),Su=i}else e.current=n;if(Uu)Uu=!1,qu=e,zu=t;else for(Lu=o;null!==Lu;)t=Lu.nextEffect,Lu.nextEffect=null,Lu=t;if(0===(t=e.firstPendingTime)&&(Mu=null),1073741823===t?e===Bu?Gu++:(Gu=0,Bu=e):Gu=0,"function"==typeof El&&El(n.stateNode,r),Yu(e),Nu)throw Nu=!1,e=Iu,Iu=null,e;return 0!=(8&Su)||Vo(),null}function hl(){for(;null!==Lu;){var e=Lu.effectTag;0!=(256&e)&&nu(Lu.alternate,Lu),0==(512&e)||Uu||(Uu=!0,Bo(97,(function(){return ml(),null}))),Lu=Lu.nextEffect}}function ml(){if(90!==zu){var e=97<zu?97:zu;return zu=90,Go(e,vl)}}function vl(){if(null===qu)return!1;var e=qu;if(qu=null,0!=(48&Su))throw Error(a(331));var t=Su;for(Su|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ru(5,n),ou(5,n)}}catch(t){if(null===e)throw Error(a(330));gl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Su=t,Vo(),!0}function yl(e,t,n){ci(e,t=hu(e,t=Ja(n,t),1073741823)),null!==(e=Qu(e,1073741823))&&Yu(e)}function gl(e,t){if(3===e.tag)yl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){yl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Mu||!Mu.has(r))){ci(n,e=mu(n,e=Ja(t,e),1073741823)),null!==(n=Qu(n,1073741823))&&Yu(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Tu===e&&ku===n?Pu===xu||Pu===Eu&&1073741823===Fu&&qo()-Au<500?nl(e,ku):Du=!0:Rl(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Yu(e)))}function wl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Wu(t=Vu(),e,null)),null!==(e=Qu(e,t))&&Yu(e)}vu=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Ca=!0;else{if(r<n){switch(Ca=!1,t.tag){case 3:Ua(t),_a();break;case 5:if(Ai(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:vo(t.type)&&wo(t);break;case 4:Ri(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,co(Xo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ba(e,t,n):(co(Ni,1&Ni.current),null!==(t=Ka(e,t,n))?t.sibling:null);co(Ni,1&Ni.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Wa(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),co(Ni,Ni.current),!r)return null}return Ka(e,t,n)}Ca=!1}}else Ca=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=mo(t,fo.current),ri(t,n),o=Ki(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vo(r)){var i=!0;wo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var u=r.getDerivedStateFromProps;"function"==typeof u&&mi(t,r,u,e),o.updater=vi,t.stateNode=o,o._reactInternalFiber=t,wi(t,r,e,n),t=Ma(null,t,r,!0,i,n)}else t.tag=0,ja(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return Ol(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(o),e=Qo(o,e),i){case 0:t=Na(null,t,o,e,n);break e;case 1:t=Ia(null,t,o,e,n);break e;case 11:t=Ra(null,t,o,e,n);break e;case 14:t=Da(null,t,o,Qo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Na(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ia(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 3:if(Ua(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ui(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)_a(),t=Ka(e,t,n);else{if((o=t.stateNode.hydrate)&&(Ea=En(t.stateNode.containerInfo.firstChild),wa=t,o=xa=!0),o)for(n=ki(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else ja(e,t,r,n),_a();t=t.child}return t;case 5:return Ai(t),null===e&&Oa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,u=o.children,gn(r,o)?u=null:null!==i&&gn(r,i)&&(t.effectTag|=16),La(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(ja(e,t,u,n),t=t.child),t;case 6:return null===e&&Oa(t),null;case 13:return Ba(e,t,n);case 4:return Ri(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oi(t,null,r,n):ja(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ra(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 7:return ja(e,t,t.pendingProps,n),t.child;case 8:case 12:return ja(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,i=o.value;var l=t.type._context;if(co(Xo,l._currentValue),l._currentValue=i,null!==u)if(l=u.value,0===(i=Ir(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(u.children===o.children&&!po.current){t=Ka(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&i)){1===l.tag&&((s=li(n,null)).tag=2,ci(l,s)),l.expirationTime<n&&(l.expirationTime=n),null!==(s=l.alternate)&&s.expirationTime<n&&(s.expirationTime=n),ni(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else u=10===l.tag&&l.type===t.type?null:l.child;if(null!==u)u.return=l;else for(u=l;null!==u;){if(u===t){u=null;break}if(null!==(l=u.sibling)){l.return=u.return,u=l;break}u=u.return}l=u}ja(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,ja(e,t,r,n),t.child;case 14:return i=Qo(o=t.type,t.pendingProps),Da(e,t,o,i=Qo(o.type,i),r,n);case 15:return Aa(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,vo(r)?(e=!0,wo(t)):e=!1,ri(t,n),gi(t,r,o),wi(t,r,o,n),Ma(null,t,r,!0,e,n);case 19:return Wa(e,t,n)}throw Error(a(156,t.tag))};var El=null,xl=null;function Sl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Tl(e,t,n,r){return new Sl(e,t,n,r)}function Ol(e){return!(!(e=e.prototype)||!e.isReactComponent)}function kl(e,t){var n=e.alternate;return null===n?((n=Tl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pl(e,t,n,r,o,i){var u=2;if(r=e,"function"==typeof e)Ol(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case ne:return _l(n.children,o,i,t);case ue:u=8,o|=7;break;case re:u=8,o|=1;break;case oe:return(e=Tl(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case ce:return(e=Tl(13,n,t,o)).type=ce,e.elementType=ce,e.expirationTime=i,e;case se:return(e=Tl(19,n,t,o)).elementType=se,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:u=10;break e;case ae:u=9;break e;case le:u=11;break e;case fe:u=14;break e;case pe:u=16,r=null;break e;case de:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Tl(u,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function _l(e,t,n,r){return(e=Tl(7,e,r,t)).expirationTime=n,e}function Fl(e,t,n){return(e=Tl(6,e,null,t)).expirationTime=n,e}function Cl(e,t,n){return(t=Tl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Rl(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Dl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Al(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Ll(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Nl(e,t,n,r){var o=t.current,i=Vu(),u=di.suspense;i=Wu(i,o,u);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(vo(c)){n=bo(n,c,l);break e}}n=l}else n=so;return null===t.context?t.context=n:t.pendingContext=n,(t=li(i,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ci(o,t),Ku(o,i),i}function Il(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ml(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Ul(e,t){Ml(e,t),(e=e.alternate)&&Ml(e,t)}function ql(e,t,n){var r=new jl(e,t,n=null!=n&&!0===n.hydrate),o=Tl(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[kn]=r.current,n&&0!==t&&function(e,t){var n=Je(t);kt.forEach((function(e){ht(e,t,n)})),Pt.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var u=o;o=function(){var e=Il(a);u.call(e)}}Nl(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ql(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Il(a);l.call(e)}}tl((function(){Nl(t,a,e,o)}))}return Il(a)}function Gl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Bl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!zl(t))throw Error(a(200));return Gl(e,t,null,n)}ql.prototype.render=function(e){Nl(e,this._internalRoot,null,null)},ql.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Nl(null,e,null,(function(){t[kn]=null}))},mt=function(e){if(13===e.tag){var t=Ko(Vu(),150,100);Ku(e,t),Ul(e,t)}},vt=function(e){13===e.tag&&(Ku(e,3),Ul(e,3))},yt=function(e){if(13===e.tag){var t=Vu();Ku(e,t=Wu(t,e,null)),Ul(e,t)}},_=function(e,t,n){switch(t){case"input":if(Oe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Cn(r);if(!o)throw Error(a(90));Ee(r),Oe(r,o)}}}break;case"textarea":Re(e,n);break;case"select":null!=(t=n.value)&&Fe(e,!!n.multiple,t,!1)}},A=el,L=function(e,t,n,r,o){var i=Su;Su|=4;try{return Go(98,e.bind(null,t,n,r,o))}finally{0===(Su=i)&&Vo()}},N=function(){0==(49&Su)&&(function(){if(null!==Hu){var e=Hu;Hu=null,e.forEach((function(e,t){Ll(t,e),Yu(t)})),Vo()}}(),ml())},I=function(e,t){var n=Su;Su|=2;try{return e(t)}finally{0===(Su=n)&&Vo()}};var $l,Vl,Wl={Events:[_n,Fn,Cn,k,S,In,function(e){ot(e,Nn)},R,D,Yt,ut,ml,{current:!1}]};Vl=($l={findFiberByHostInstance:Pn,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);El=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},xl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(o({},$l,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Vl?Vl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wl,t.createPortal=Bl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&Su))throw Error(a(187));var n=Su;Su|=1;try{return Go(99,e.bind(null,t))}finally{Su=n,Vo()}},t.hydrate=function(e,t,n){if(!zl(t))throw Error(a(200));return Hl(null,e,t,!0,n)},t.render=function(e,t,n){if(!zl(t))throw Error(a(200));return Hl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!zl(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Hl(null,null,e,!1,(function(){e._reactRootContainer=null,e[kn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Bl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!zl(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Hl(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(189)},function(e,t,n){"use strict";
|
43 |
/** @license React v0.19.1
|
44 |
* scheduler.production.min.js
|
45 |
*
|
@@ -47,7 +47,7 @@ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),
|
|
47 |
*
|
48 |
* This source code is licensed under the MIT license found in the
|
49 |
* LICENSE file in the root directory of this source tree.
|
50 |
-
*/var r,o,i,a,u;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(s,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var y=d.now();t.unstable_now=function(){return d.now()-y}}var g=!1,b=null,w=-1,E=5,x=0;a=function(){return t.unstable_now()>=x},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):E=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,T=S.port2;S.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+E;try{b(!0,e)?T.postMessage(null):(g=!1,b=null)}catch(e){throw T.postMessage(null),e}}else g=!1},r=function(e){b=e,g||(g=!0,T.postMessage(null))},o=function(e,n){w=h((function(){e(t.unstable_now())}),n)},i=function(){m(w),w=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<_(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function P(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,l=e[u];if(void 0!==a&&0>_(a,n))void 0!==l&&0>_(l,a)?(e[r]=l,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],C=[],j=1,R=null,D=3,A=!1,L=!1,N=!1;function I(e){for(var t=k(C);null!==t;){if(null===t.callback)P(C);else{if(!(t.startTime<=e))break;P(C),t.sortIndex=t.expirationTime,O(F,t)}t=k(C)}}function M(e){if(N=!1,I(e),!L)if(null!==k(F))L=!0,r(U);else{var t=k(C);null!==t&&o(M,t.startTime-e)}}function U(e,n){L=!1,N&&(N=!1,i()),A=!0;var r=D;try{for(I(n),R=k(F);null!==R&&(!(R.expirationTime>n)||e&&!a());){var u=R.callback;if(null!==u){R.callback=null,D=R.priorityLevel;var l=u(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?R.callback=l:R===k(F)&&P(F),I(n)}else P(F);R=k(F)}if(null!==R)var c=!0;else{var s=k(C);null!==s&&o(M,s.startTime-n),c=!1}return c}finally{R=null,D=r,A=!1}}function q(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||A||(L=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_getFirstCallbackNode=function(){return k(F)},t.unstable_next=function(e){switch(D){case 1:case 2:case 3:var t=3;break;default:t=D}var n=D;D=t;try{return e()}finally{D=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=D;D=e;try{return t()}finally{D=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?u+l:u,a="number"==typeof a.timeout?a.timeout:q(e)}else a=q(e),l=u;return e={id:j++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>u?(e.sortIndex=l,O(C,e),null===k(F)&&e===k(C)&&(N?i():N=!0,o(M,l-u))):(e.sortIndex=a,O(F,e),L||A||(L=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();I(e);var n=k(F);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=D;return function(){var n=D;D=t;try{return e.apply(this,arguments)}finally{D=n}}}},function(e,t,n){var r,o,i;!function(n,a){"use strict";"object"==typeof e.exports?e.exports=a():(o=[],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(){"use strict";var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;function n(e){if(!e)return!0;if(u(e)&&0===e.length)return!0;if(!i(e)){for(var n in e)if(t.call(e,n))return!1;return!0}return!1}function r(t){return e.call(t)}function o(e){return"number"==typeof e||"[object Number]"===r(e)}function i(e){return"string"==typeof e||"[object String]"===r(e)}function a(e){return"object"==typeof e&&"[object Object]"===r(e)}function u(e){return"object"==typeof e&&"number"==typeof e.length&&"[object Array]"===r(e)}function l(e){var t=parseInt(e);return t.toString()===e?t:e}function c(e,t,r,a){if(o(t)&&(t=[t]),n(t))return e;if(i(t))return c(e,t.split(".").map(l),r,a);var u=t[0];if(1===t.length){var s=e[u];return void 0!==s&&a||(e[u]=r),s}return void 0===e[u]&&(o(t[1])?e[u]=[]:e[u]={}),c(e[u],t.slice(1),r,a)}var s=function(e){return Object.keys(s).reduce((function(t,n){return"function"==typeof s[n]&&(t[n]=s[n].bind(s,e)),t}),{})};return s.has=function(e,r){if(n(e))return!1;if(o(r)?r=[r]:i(r)&&(r=r.split(".")),n(r)||0===r.length)return!1;for(var l=0;l<r.length;l++){var c=r[l];if(!a(e)&&!u(e)||!t.call(e,c))return!1;e=e[c]}return!0},s.ensureExists=function(e,t,n){return c(e,t,n,!0)},s.set=function(e,t,n,r){return c(e,t,n,r)},s.insert=function(e,t,n,r){var o=s.get(e,t);r=~~r,u(o)||(o=[],s.set(e,t,o)),o.splice(r,0,n)},s.empty=function(e,l){if(n(l))return e;if(!n(e)){var c,f;if(!(c=s.get(e,l)))return e;if(i(c))return s.set(e,l,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===r(e)}(c))return s.set(e,l,!1);if(o(c))return s.set(e,l,0);if(u(c))c.length=0;else{if(!a(c))return s.set(e,l,null);for(f in c)t.call(c,f)&&delete c[f]}}},s.push=function(e,t){var n=s.get(e,t);u(n)||(n=[],s.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},s.coalesce=function(e,t,n){for(var r,o=0,i=t.length;o<i;o++)if(void 0!==(r=s.get(e,t[o])))return r;return n},s.get=function(e,t,r){if(o(t)&&(t=[t]),n(t))return e;if(n(e))return r;if(i(t))return s.get(e,t.split("."),r);var a=l(t[0]);return 1===t.length?void 0===e[a]?r:e[a]:s.get(e[a],t.slice(1),r)},s.del=function(e,t){return function e(t,r){if(o(r)&&(r=[r]),!n(t)){if(n(r))return t;if(i(r))return e(t,r.split("."));var a=l(r[0]),c=t[a];if(1===r.length)void 0!==c&&(u(t)?t.splice(a,1):delete t[a]);else if(void 0!==t[a])return e(t[a],r.slice(1));return t}}(e,t)},s}))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){"use strict";var r=n(158);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),r(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var o in t)this.field(e,t[o]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},o.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=r(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&r(this._data))for(var o in e)this._data[o]=e[o];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.trace("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,t,n){"use strict";var r=n(195);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.get=function(e){return this.header[e.toLowerCase()]},o.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var o in n)this[o]=n[o];this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},o.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t){function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){n.prototype[e]=function(){return this._defaults.push({fn:e,arguments}),this}})),n.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,t.arguments)}))},e.exports=n},function(e,t,n){var r=n(20),o=n(72).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(123);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(20),o=n(35),i=n(21),a=n(140),u=n(33),l=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),p=u("indexOf",{ACCESSORS:!0,1:0}),d=s||!f||!p;e.exports=d?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){"use strict";var r=n(202);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
|
51 |
/** @license React v16.13.1
|
52 |
* react-is.production.min.js
|
53 |
*
|
@@ -55,56 +55,56 @@ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),
|
|
55 |
*
|
56 |
* This source code is licensed under the MIT license found in the
|
57 |
* LICENSE file in the root directory of this source tree.
|
58 |
-
*/var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case l:case u:case h:return e;default:switch(e=e&&e.$$typeof){case s:case d:case y:case v:case c:return e;default:return t}}case i:return t}}}function S(e){return x(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=l,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||x(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===y},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===u},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===u||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===s||e.$$typeof===d||e.$$typeof===b||e.$$typeof===w||e.$$typeof===E||e.$$typeof===g)},t.typeOf=x},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=n(43),o=n(11),i=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(10),o=n(67),i=n(20),a=n(77).f,u=function(e){return function(t){for(var n,u=i(t),l=o(u),c=l.length,s=0,f=[];c>s;)n=l[s++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(18),n(87);var r=n(2),o=n.n(r),i=(n(111),n(0)),a=n.n(i),u=n(30),l=n(60),c=n(16),s=n(139),f=n.n(s),p=n(168),d=n(79),h=function(e){return"@@redux-saga/"+e},m=h("CANCEL_PROMISE"),v=h("CHANNEL_END"),y=h("IO"),g=h("MATCH"),b=h("MULTICAST"),w=h("SAGA_ACTION"),E=h("SELF_CANCELLATION"),x=h("TASK"),S=h("TASK_CANCEL"),T=h("TERMINATE"),O=h("LOCATION"),k=n(28),P=n(69),_=function(e){return null==e},F=function(e){return null!=e},C=function(e){return"function"==typeof e},j=function(e){return"string"==typeof e},R=Array.isArray,D=function(e){return e&&C(e.then)},A=function(e){return e&&C(e.next)&&C(e.throw)},L=function e(t){return t&&(j(t)||M(t)||C(t)||R(t)&&t.every(e))},N=function(e){return e&&C(e.take)&&C(e.close)},I=function(e){return C(e)&&e.hasOwnProperty("toString")},M=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};var U=function(e){return function(){return e}}(!0),q=function(){};var z=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var H=function(e,t){Object(k.a)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function G(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function B(e){var t=!1;return function(){t||(t=!0,e())}}var $=function(e){throw e},V=function(e){return{value:e,done:!0}};function W(e,t,n){void 0===t&&(t=$),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:V,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function K(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var Q=function(e){return Array.apply(null,new Array(e))},X=function(e){return function(t){return e(Object.defineProperty(t,w,{value:!0}))}},Y=function(e){return e===T},J=function(e){return e===S},Z=function(e){return Y(e)||J(e)};function ee(e,t){var n=Object.keys(e),r=n.length;var o,i=0,a=R(e)?Q(r):{},u={};return n.forEach((function(e){var n=function(n,u){o||(u||Z(n)?(t.cancel(),t(n,u)):(a[e]=n,++i===r&&(o=!0,t(a))))};n.cancel=q,u[e]=n})),t.cancel=function(){o||(o=!0,n.forEach((function(e){return u[e].cancel()})))},u}function te(e){return{name:e.name||"anonymous",location:ne(e)}}function ne(e){return e[O]}function re(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,o=0,i=0,a=function(t){n[o]=t,o=(o+1)%e,r++},u=function(){if(0!=r){var t=n[i];return n[i]=null,r--,i=(i+1)%e,t}},l=function(){for(var e=[];r;)e.push(u());return e};return{isEmpty:function(){return 0==r},put:function(u){var c;if(r<e)a(u);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[o]=u,i=o=(o+1)%e;break;case 4:c=2*e,n=l(),r=n.length,o=n.length,i=0,n.length=c,e=c,a(u)}},take:u,flush:l}}var oe=function(e){return re(e,4)},ie=function(e,t){var n;return(n={})[y]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function ae(e,t){return void 0===e&&(e="*"),L(e)?ie("TAKE",{pattern:e}):N(n=e)&&n[b]&&F(t)&&L(t)?ie("TAKE",{channel:e,pattern:t}):N(e)?ie("TAKE",{channel:e}):void 0;var n}function ue(e,t){return _(t)&&(t=e,e=void 0),ie("PUT",{channel:e,action:t})}function le(e,t){var n,r=null;return C(e)?n=e:(R(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&j(n)&&C(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function ce(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie("CALL",le(e,n))}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie("FORK",le(e,n))}function fe(e){return void 0===e&&(e=E),ie("CANCEL",e)}n(110);var pe=function(){return Math.random().toString(36).substring(7).split("").join(".")};pe(),pe();function de(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function he(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}var me=he,ve=[],ye=0;function ge(e){try{Ee(),e()}finally{xe()}}function be(e){ve.push(e),ye||(Ee(),Se())}function we(e){try{return Ee(),e()}finally{Se()}}function Ee(){ye++}function xe(){ye--}function Se(){var e;for(xe();!ye&&void 0!==(e=ve.shift());)ge(e)}var Te=function(e){return function(t){return e.some((function(e){return Fe(e)(t)}))}},Oe=function(e){return function(t){return e(t)}},ke=function(e){return function(t){return t.type===String(e)}},Pe=function(e){return function(t){return t.type===e}},_e=function(){return U};function Fe(e){var t="*"===e?_e:j(e)?ke:R(e)?Te:I(e)?ke:C(e)?Oe:M(e)?Pe:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var Ce={type:v},je=function(e){return e&&e.type===v};function Re(e){void 0===e&&(e=oe());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(Ce):e.isEmpty()?(n.push(r),r.cancel=function(){G(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(Ce):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,o=e.length;r<o;r++){(0,e[r])(Ce)}}}}}function De(){var e,t,n,r,o,i,a=(t=!1,r=n=[],o=function(){r===n&&(r=n.slice())},i=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(Ce)}))},(e={})[b]=!0,e.put=function(e){if(!t)if(je(e))i();else for(var o=n=r,a=0,u=o.length;a<u;a++){var l=o[a];l[g](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=_e),t?e(Ce):(e[g]=n,o(),r.push(e),e.cancel=B((function(){o(),G(r,e)})))},e.close=i,e),u=a.put;return a.put=function(e){e[w]?u(e):be((function(){u(e)}))},a}function Ae(e,t){var n=e[m];C(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var Le,Ne=0,Ie=function(){return++Ne};function Me(e){e.isRunning()&&e.cancel()}var Ue=((Le={}).TAKE=function(e,t,n){var r=t.channel,o=void 0===r?e.channel:r,i=t.pattern,a=t.maybe,u=function(e){e instanceof Error?n(e,!0):!je(e)||a?n(e):n(T)};try{o.take(u,F(i)?Fe(i):null)}catch(e){return void n(e,!0)}n.cancel=u.cancel},Le.PUT=function(e,t,n){var r=t.channel,o=t.action,i=t.resolve;be((function(){var t;try{t=(r?r.put:e.dispatch)(o)}catch(e){return void n(e,!0)}i&&D(t)?Ae(t,n):n(t)}))},Le.ALL=function(e,t,n,r){var o=r.digestEffect,i=Ne,a=Object.keys(t);if(0!==a.length){var u=ee(t,n);a.forEach((function(e){o(t[e],i,u[e],e)}))}else n(R(t)?[]:{})},Le.RACE=function(e,t,n,r){var o=r.digestEffect,i=Ne,a=Object.keys(t),u=R(t)?Q(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||Z(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,u[e]=t,n(u)))};t.cancel=q,l[e]=t})),n.cancel=function(){c||(c=!0,a.forEach((function(e){return l[e].cancel()})))},a.forEach((function(e){c||o(t[e],i,l[e],e)}))},Le.CALL=function(e,t,n,r){var o=t.context,i=t.fn,a=t.args,u=r.task;try{var l=i.apply(o,a);if(D(l))return void Ae(l,n);if(A(l))return void We(e,l,u.context,Ne,te(i),!1,n);n(l)}catch(e){n(e,!0)}},Le.CPS=function(e,t,n){var r=t.context,o=t.fn,i=t.args;try{var a=function(e,t){_(e)?n(t):n(e,!0)};o.apply(r,i.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},Le.FORK=function(e,t,n,r){var o=t.context,i=t.fn,a=t.args,u=t.detached,l=r.task,c=function(e){var t=e.context,n=e.fn,r=e.args;try{var o=n.apply(t,r);if(A(o))return o;var i=!1;return W((function(e){return i?{value:e,done:!0}:(i=!0,{value:o,done:!D(o)})}))}catch(e){return W((function(){throw e}))}}({context:o,fn:i,args:a}),s=function(e,t){return e.isSagaIterator?{name:e.meta.name}:te(t)}(c,i);we((function(){var t=We(e,c,l.context,Ne,s,u,void 0);u?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},Le.JOIN=function(e,t,n,r){var o=r.task,i=function(e,t){if(e.isRunning()){var n={task:o,cb:t};t.cancel=function(){e.isRunning()&&G(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(R(t)){if(0===t.length)return void n([]);var a=ee(t,n);t.forEach((function(e,t){i(e,a[t])}))}else i(t,n)},Le.CANCEL=function(e,t,n,r){var o=r.task;t===E?Me(o):R(t)?t.forEach(Me):Me(t),n()},Le.SELECT=function(e,t,n){var r=t.selector,o=t.args;try{n(r.apply(void 0,[e.getState()].concat(o)))}catch(e){n(e,!0)}},Le.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,o=Re(t.buffer),i=Fe(r),a=function t(n){je(n)||e.channel.take(t,i),o.put(n)},u=o.close;o.close=function(){a.cancel(),u()},e.channel.take(a,i),n(o)},Le.CANCELLED=function(e,t,n,r){n(r.task.isCancelled())},Le.FLUSH=function(e,t,n){t.flush(n)},Le.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},Le.SET_CONTEXT=function(e,t,n,r){var o=r.task;H(o.context,t),n()},Le);function qe(e,t){return e+"?"+t}function ze(e){var t=e.name,n=e.location;return n?t+" "+qe(n.fileName,n.lineNumber):t}var He=null,Ge=[],Be=function(){He=null,Ge.length=0},$e=function(){var e,t,n,r,o,i,a,u=Ge[0],l=Ge.slice(1),c=u.crashedEffect?(e=u.crashedEffect,(t=ne(e))?t.code+" "+qe(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+ze(u.meta)+(c?" \n when executing effect "+c:"")].concat(l.map((function(e){return" created by "+ze(e.meta)})),[(n=Ge,r=function(e){return e.cancelledTasks},o=n,a=(i=[]).concat.apply(i,o.map(r)),a.length?["Tasks cancelled due to error:"].concat(a).join("\n"):"")]).join("\n")};function Ve(e,t,n,r,o,i,a){var u;void 0===a&&(a=q);var l,c,s=0,f=null,p=[],d=Object.create(n),h=function(e,t,n){var r,o=[],i=!1;function a(e){t(),l(),n(e,!0)}function u(t){o.push(t),t.cont=function(u,l){i||(G(o,t),t.cont=q,l?a(u):(t===e&&(r=u),o.length||(i=!0,n(r))))}}function l(){i||(i=!0,o.forEach((function(e){e.cont=q,e.cancel()})),o=[])}return u(e),{addTask:u,cancelAll:l,abort:a,getTasks:function(){return o}}}(t,(function(){p.push.apply(p,h.getTasks().map((function(e){return e.meta.name})))}),m);function m(t,n){if(n){if(s=2,(i={meta:o,cancelledTasks:p}).crashedEffect=He,Ge.push(i),v.isRoot){var r=$e();Be(),e.onError(t,{sagaStack:r})}c=t,f&&f.reject(t)}else t===S?s=1:1!==s&&(s=3),l=t,f&&f.resolve(t);var i;v.cont(t,n),v.joiners.forEach((function(e){e.cb(t,n)})),v.joiners=null}var v=((u={})[x]=!0,u.id=r,u.meta=o,u.isRoot=i,u.context=d,u.joiners=[],u.queue=h,u.cancel=function(){0===s&&(s=1,h.cancelAll(),m(S,!1))},u.cont=a,u.end=m,u.setContext=function(e){H(d,e)},u.toPromise=function(){return f||(f=me(),2===s?f.reject(c):0!==s&&f.resolve(l)),f.promise},u.isRunning=function(){return 0===s},u.isCancelled=function(){return 1===s||0===s&&1===t.status},u.isAborted=function(){return 2===s},u.result=function(){return l},u.error=function(){return c},u);return v}function We(e,t,n,r,o,i,a){var u=e.finalizeRunEffect((function(t,n,r){if(D(t))Ae(t,r);else if(A(t))We(e,t,c.context,n,o,!1,r);else if(t&&t[y]){(0,Ue[t.type])(e,t.payload,r,s)}else r(t)}));f.cancel=q;var l={meta:o,cancel:function(){0===l.status&&(l.status=1,f(S))},status:0},c=Ve(e,l,n,r,o,i,a),s={task:c,digestEffect:p};return a&&(a.cancel=c.cancel),f(),c;function f(e,n){try{var o;n?(o=t.throw(e),Be()):J(e)?(l.status=1,f.cancel(),o=C(t.return)?t.return(S):{done:!0,value:S}):o=Y(e)?C(t.return)?t.return():{done:!0}:t.next(e),o.done?(1!==l.status&&(l.status=3),l.cont(o.value)):p(o.value,r,f)}catch(e){if(1===l.status)throw e;l.status=2,l.cont(e,!0)}}function p(t,n,r,o){void 0===o&&(o="");var i,a=Ie();function l(n,o){i||(i=!0,r.cancel=q,e.sagaMonitor&&(o?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),o&&function(e){He=e}(t),r(n,o))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:o,effect:t}),l.cancel=q,r.cancel=function(){i||(i=!0,l.cancel(),l.cancel=q,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},u(t,a,l)}}function Ke(e,t){var n=e.channel,r=void 0===n?De():n,o=e.dispatch,i=e.getState,a=e.context,u=void 0===a?{}:a,l=e.sagaMonitor,c=e.effectMiddlewares,s=e.onError,f=void 0===s?K:s;for(var p=arguments.length,d=new Array(p>2?p-2:0),h=2;h<p;h++)d[h-2]=arguments[h];var m=t.apply(void 0,d);var v,y=Ie();if(l&&(l.rootSagaStarted=l.rootSagaStarted||q,l.effectTriggered=l.effectTriggered||q,l.effectResolved=l.effectResolved||q,l.effectRejected=l.effectRejected||q,l.effectCancelled=l.effectCancelled||q,l.actionDispatched=l.actionDispatched||q,l.rootSagaStarted({effectId:y,saga:t,args:d})),c){var g=de.apply(void 0,c);v=function(e){return function(t,n,r){return g((function(t){return e(t,n,r)}))(t)}}}else v=z;var b={channel:r,dispatch:X(o),getState:i,sagaMonitor:l,onError:f,finalizeRunEffect:v};return we((function(){var e=We(b,m,u,y,te(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}var Qe=function(e){var t,n=void 0===e?{}:e,r=n.context,o=void 0===r?{}:r,i=n.channel,a=void 0===i?De():i,u=n.sagaMonitor,l=Object(P.a)(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=Ke.bind(null,Object(k.a)({},l,{context:o,channel:a,dispatch:r,getState:n,sagaMonitor:u})),function(e){return function(t){u&&u.actionDispatched&&u.actionDispatched(t);var n=e(t);return a.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){H(o,e)},c},Xe=(n(116),function(e){return{done:!0,value:e}}),Ye={};function Je(e){return N(e)?"channel":I(e)?String(e):C(e)?e.name:String(e)}function Ze(e,t,n){var r,o,i,a=t;function u(t,n){if(a===Ye)return Xe(t);if(n&&!o)throw a=Ye,n;r&&r(t);var u=n?e[o](n):e[a]();return a=u.nextState,i=u.effect,r=u.stateUpdater,o=u.errorState,a===Ye?Xe(t):i}return W(u,(function(e){return u(null,e)}),n)}function et(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a,u={done:!1,value:ae(e)},l=function(e){return{done:!1,value:se.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:fe(e)}},s=function(e){return i=e},f=function(e){return a=e};return Ze({q1:function(){return{nextState:"q2",effect:u,stateUpdater:f}},q2:function(){return i?{nextState:"q3",effect:c(i)}:{nextState:"q1",effect:l(a),stateUpdater:s}},q3:function(){return{nextState:"q1",effect:l(a),stateUpdater:s}}},"q1","takeLatest("+Je(e)+", "+t.name+")")}function tt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return se.apply(void 0,[et,e,t].concat(r))}var nt=n(13),rt=n(91),ot=n.n(rt);
|
59 |
/**
|
60 |
* @package Gravity PDF
|
61 |
-
* @copyright Copyright (c)
|
62 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
63 |
* @since 5.2
|
64 |
*/
|
65 |
function it(){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_get_template_options").field("nonce",GFPDF.ajaxNonce)}function at(e){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_delete_template").field("nonce",GFPDF.ajaxNonce).field("id",e)}function ut(e,t){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_upload_template").field("nonce",GFPDF.ajaxNonce).attach("template",e,t)}var lt=regeneratorRuntime.mark(ht),ct=regeneratorRuntime.mark(mt),st=regeneratorRuntime.mark(vt),ft=regeneratorRuntime.mark(yt),pt=regeneratorRuntime.mark(gt),dt=regeneratorRuntime.mark(bt);
|
66 |
/**
|
67 |
* @package Gravity PDF
|
68 |
-
* @copyright Copyright (c)
|
69 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
70 |
* @since 5.2
|
71 |
*/function ht(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(it);case 3:return e=t.sent,t.next=6,ue(Object(nt.D)(e.text));case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,ue(Object(nt.C)());case 12:case"end":return t.stop()}}),lt,null,[[0,8]])}function mt(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(at,e.payload);case 3:return t.next=5,ue(Object(nt.y)("success"));case 5:t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(0),t.next=11,ue(Object(nt.x)("failed"));case 11:case"end":return t.stop()}}),ct,null,[[0,7]])}function vt(e){var t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,ce(ut,e.payload.file,e.payload.filename);case 3:return t=n.sent,n.next=6,ue(Object(nt.A)(t));case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,ue(Object(nt.z)(n.t0));case 12:case"end":return n.stop()}}),st,null,[[0,8]])}function yt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.m,ht);case 2:case"end":return e.stop()}}),ft)}function gt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.h,mt);case 2:case"end":return e.stop()}}),pt)}function bt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.e,vt);case 2:case"end":return e.stop()}}),dt)}n(41),n(93);var wt=n(17);
|
72 |
/**
|
73 |
* @package Gravity PDF
|
74 |
-
* @copyright Copyright (c)
|
75 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
76 |
* @since 5.2
|
77 |
*/
|
78 |
-
function Et(){return ot.a.get(GFPDF.pluginUrl+"dist/payload/core-fonts.json").accept("application/json").type("json").parse((function(e){return JSON.parse(e.text)}))}function xt(e){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_save_core_font").field("nonce",GFPDF.ajaxNonce).field("font_name",e)}var St=regeneratorRuntime.mark(
|
79 |
/**
|
80 |
* @package Gravity PDF
|
81 |
-
* @copyright Copyright (c)
|
82 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
83 |
* @since 5.2
|
84 |
-
*/function
|
85 |
/**
|
86 |
* @package Gravity PDF
|
87 |
-
* @copyright Copyright (c)
|
88 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
89 |
* @since 6.0
|
90 |
*/
|
91 |
var Dt=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.fetch(t,n);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Rt(i,r,o,a,u,"next",e)}function u(e){Rt(i,r,o,a,u,"throw",e)}a(void 0)}))});return function(e,n){return t.apply(this,arguments)}}();function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
92 |
/**
|
93 |
* @package Gravity PDF
|
94 |
-
* @copyright Copyright (c)
|
95 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
96 |
* @since 6.0
|
97 |
*/var Nt=function(){var e=GFPDF.restUrl+"fonts/";return Dt(e,{method:"GET",headers:{"X-WP-Nonce":GFPDF.restNonce}})},It=function(e){var t=GFPDF.restUrl+"fonts/",n=Object(jt.serialize)(e);return Dt(t,{method:"POST",headers:{"X-WP-Nonce":GFPDF.restNonce},body:n})},Mt=function(e){var t=e.id,n=e.font,r=GFPDF.restUrl+"fonts/"+t,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){Lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n),i=Object(jt.serialize)(o);return Dt(r,{method:"POST",headers:{"X-WP-Nonce":GFPDF.restNonce},body:i})},Ut=function(e){var t=GFPDF.restUrl+"fonts/"+e;return Dt(t,{method:"DELETE",headers:{"X-WP-Nonce":GFPDF.restNonce}})},qt=n(3),zt=regeneratorRuntime.mark(Qt),Ht=regeneratorRuntime.mark(Xt),Gt=regeneratorRuntime.mark(Yt),Bt=regeneratorRuntime.mark(Jt),$t=regeneratorRuntime.mark(Zt),Vt=regeneratorRuntime.mark(en),Wt=regeneratorRuntime.mark(tn),Kt=regeneratorRuntime.mark(nn);
|
98 |
/**
|
99 |
* @package Gravity PDF
|
100 |
-
* @copyright Copyright (c)
|
101 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
102 |
* @since 6.0
|
103 |
*/
|
104 |
function Qt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(qt.m,Xt);case 2:case"end":return e.stop()}}),zt)}function Xt(){var e,t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,ce(Nt);case 3:if((e=n.sent).ok){n.next=6;break}throw e;case 6:return n.next=8,e.json();case 8:return t=n.sent,n.next=11,ue({type:qt.o,payload:t});case 11:n.next=17;break;case 13:return n.prev=13,n.t0=n.catch(0),n.next=17,ue({type:qt.n,payload:GFPDF.addFatalError});case 17:case"end":return n.stop()}}),Ht,null,[[0,13]])}function Yt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(qt.a,Jt);case 2:case"end":return e.stop()}}),Gt)}function Jt(e){var t,n,r,o,i;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,a.prev=1,a.next=4,ce(It,t);case 4:if((n=a.sent).ok){a.next=7;break}throw n;case 7:return a.next=9,n.json();case 9:return r=a.sent,o={font:r,msg:"<strong>"+GFPDF.addUpdateFontSuccess+"</strong>"},a.next=13,ue({type:qt.c,payload:o});case 13:a.next=30;break;case 15:if(a.prev=15,a.t0=a.catch(1),500!==a.t0.status){a.next=21;break}return a.next=20,ue({type:qt.b,payload:GFPDF.addFatalError});case 20:return a.abrupt("return",a.sent);case 21:return a.next=23,a.t0.json();case 23:if(i=a.sent,400!==a.t0.status||"font_validation_error"!==i.code){a.next=28;break}return a.next=27,ue({type:qt.b,payload:{fontValidationError:GFPDF.fontFileInvalid,msg:i.message}});case 27:return a.abrupt("return",a.sent);case 28:return a.next=30,ue({type:qt.b,payload:i.message});case 30:case"end":return a.stop()}}),Bt,null,[[1,15]])}function Zt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(qt.j,en);case 2:case"end":return e.stop()}}),$t)}function en(e){var t,n,r,o,i;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,a.prev=1,a.next=4,ce(Mt,t);case 4:if((n=a.sent).ok){a.next=7;break}throw n;case 7:return a.next=9,n.json();case 9:return r=a.sent,o={font:r,msg:"<strong>"+GFPDF.addUpdateFontSuccess+"</strong>"},a.next=13,ue({type:qt.l,payload:o});case 13:a.next=30;break;case 15:return a.prev=15,a.t0=a.catch(1),a.next=19,a.t0.json();case 19:if(i=a.sent,500!==a.t0.status||"font_file_gone_missing"===i.code){a.next=24;break}return a.next=23,ue({type:qt.k,payload:GFPDF.addFatalError});case 23:return a.abrupt("return",a.sent);case 24:if(400!==a.t0.status||"font_validation_error"!==i.code){a.next=28;break}return a.next=27,ue({type:qt.k,payload:{fontValidationError:GFPDF.fontFileInvalid,msg:i.message}});case 27:return a.abrupt("return",a.sent);case 28:return a.next=30,ue({type:qt.k,payload:""===i.message?GFPDF.addFatalError:i.message});case 30:case"end":return a.stop()}}),Vt,null,[[1,15]])}function tn(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(qt.f,nn);case 2:case"end":return e.stop()}}),Wt)}function nn(e){var t,n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,ce(Ut,t);case 4:if((n=r.sent).ok){r.next=7;break}throw n;case 7:return r.next=9,ue({type:qt.h,payload:t});case 9:r.next=15;break;case 11:return r.prev=11,r.t0=r.catch(1),r.next=15,ue({type:qt.g,payload:GFPDF.addFatalError});case 15:case"end":return r.stop()}}),Kt,null,[[1,11]])}var rn=regeneratorRuntime.mark(on);
|
105 |
/**
|
106 |
* @package Gravity PDF
|
107 |
-
* @copyright Copyright (c)
|
108 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
109 |
* @since 5.2
|
110 |
*/function on(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t=[yt(),gt(),bt(),Ft(),Ct(),Qt(),Yt(),Zt(),tn()],n=void 0,(n=ie("ALL",t)).combinator=!0,n;case 2:case"end":return e.stop()}var t,n}),rn)}n(38),n(39),n(57),n(55),n(32),n(42),n(100),n(71),n(29),n(25),n(40);function an(e){return function(e){if(Array.isArray(e))return un(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return un(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return un(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function un(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(n),!0).forEach((function(t){sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
@@ -113,33 +113,33 @@ function Qt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e
|
|
113 |
* and updates the template portion of our store
|
114 |
*
|
115 |
* @package Gravity PDF
|
116 |
-
* @copyright Copyright (c)
|
117 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
118 |
* @since 4.1
|
119 |
*/var fn={list:GFPDF.templateList,activeTemplate:GFPDF.activeTemplate||GFPDF.activeDefaultTemplate,search:"",updateSelectBoxText:"",templateProcessing:"",templateUploadProcessingSuccess:{},templateUploadProcessingError:{}};n(134),n(147);function pn(e){return function(e){if(Array.isArray(e))return dn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return dn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach((function(t){vn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
120 |
/**
|
121 |
* @package Gravity PDF
|
122 |
-
* @copyright Copyright (c)
|
123 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
124 |
* @since 5.0
|
125 |
*/var yn={buttonClicked:!1,fontList:[],console:{},retry:[],getFilesFromGitHubFailed:"",requestDownload:"",downloadCounter:0},gn=(n(174),n(135),n(136),n(36));n(120);function bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function En(e){return function(e){if(Array.isArray(e))return xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}
|
126 |
/**
|
127 |
* @package Gravity PDF
|
128 |
-
* @copyright Copyright (c)
|
129 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
130 |
* @since 6.0
|
131 |
-
*/function Sn(e,t){var n=En(e);return n.map((function(e){e.id===t.font.id&&(e.font_name=t.font.font_name,e.regular=t.font.regular,e.italics=t.font.italics,e.bold=t.font.bold,e.bolditalics=t.font.bolditalics)})),n}function Tn(e,t){return En(e).filter((function(e){return e.id!==t}))}function On(e){return e.substr(e.lastIndexOf("/")+1)}function kn(e,t){return e.replace(".ttf","").toLowerCase().includes(t)}function
|
132 |
/**
|
133 |
* @package Gravity PDF
|
134 |
-
* @copyright Copyright (c)
|
135 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
136 |
* @since 6.0
|
137 |
-
*/var An={loading:!1,addFontLoading:!1,deleteFontLoading:!1,fontList:[],searchResult:null,selectedFont:"",msg:{}},Ln=Object(d.combineReducers)({template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case nt.f:return cn({},e,{search:t.text});case nt.g:return cn({},e,{activeTemplate:t.id});case nt.a:return cn({},e,{list:[].concat(an(e.list),[t.template])});case nt.o:var n=e.list.map((function(e){return e.id===t.id?cn({},e,sn({},t.name,t.value)):e}));return cn({},e,{list:n});case nt.d:var r=e.list.filter((function(e){return e.id!==t.id}));return cn({},e,{list:an(r)});case nt.n:return cn({},e,{updateSelectBoxText:t.payload});case nt.j:case nt.i:return cn({},e,{templateProcessing:t.payload});case nt.b:return cn({},e,{templateProcessing:""});case nt.l:return cn({},e,{templateUploadProcessingSuccess:t.payload});case nt.k:return cn({},e,{templateUploadProcessingError:t.payload});case nt.c:return cn({},e,{templateUploadProcessingSuccess:{},templateUploadProcessingError:{}})}return e},coreFonts:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case wt.a:return mn({},e,{console:mn({},e.console,vn({},t.key,{status:t.status,message:t.message}))});case wt.d:return mn({},e,{console:{}});case wt.b:if(e.retry.includes(t.name))break;return mn({},e,{retry:[].concat(pn(e.retry),[t.name])});case wt.c:return mn({},e,{retry:[],buttonClicked:!1});case wt.g:return mn({},e,{buttonClicked:!0});case wt.i:var n=[];return t.payload.map((function(e){n.push(e.name)})),mn({},e,{fontList:n,downloadCounter:n.length});case wt.h:return mn({},e,{getFilesFromGitHubFailed:t.payload});case wt.j:var r=e.retry.length,o=r?"error":"success",i=r?GFPDF.coreFontError.replace("%s",r):GFPDF.coreFontSuccess;if(e.downloadCounter--,0===e.downloadCounter){if(e.retry.length>0)return mn({},e,{console:mn({},e.console,{completed:{status:o,message:i}}),downloadCounter:e.retry.length,requestDownload:"finished"});if(0===e.retry.length&&0===e.downloadCounter)return mn({},e,{console:mn({},e.console,{completed:{status:o,message:i}}),downloadCounter:e.fontList.length,requestDownload:"finished"})}case wt.e:return mn({},e,{requestDownload:""});default:return e}},fontManager:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:An,t=arguments.length>1?arguments[1]:void 0,n=t.payload;switch(t.type){case qt.m:return Rn({},e,{loading:!0,msg:{}});case qt.o:return Rn({},e,{loading:!1,fontList:n});case qt.n:return Rn({},e,{loading:!1,msg:{error:{fontList:n}}});case qt.a:var r=Rn({},e.msg);return r.error&&r.error.fontValidationError&&delete r.error.fontValidationError,Rn({},e,{addFontLoading:!0,msg:
|
138 |
/**
|
139 |
* Render a blank component for use with React Router's default route
|
140 |
*
|
141 |
* @package Gravity PDF
|
142 |
-
* @copyright Copyright (c)
|
143 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
144 |
* @since 4.1
|
145 |
*/function Bn(){return(Bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var $n=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(5)]).then(n.bind(null,272))})),Vn=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,275))})),Wn=function(){return a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(l.a,null,a.a.createElement(c.c,null,a.a.createElement(c.a,{path:"/template",exact:!0,render:function(e){return a.a.createElement($n,Bn({},e,{ajaxUrl:GFPDF.ajaxUrl,ajaxNonce:GFPDF.ajaxNonce,templateDetailsText:GFPDF.templateDetails,templateHeaderText:GFPDF.installedPdfs,genericUploadErrorText:GFPDF.problemWithTheUpload,activateText:GFPDF.select,addTemplateText:GFPDF.addNewTemplate,filenameErrorText:GFPDF.uploadInvalidNotZipFile,filesizeErrorText:GFPDF.uploadInvalidExceedsFileSizeLimit,installSuccessText:GFPDF.templateSuccessfullyInstalled,installUpdatedText:GFPDF.templateSuccessfullyUpdated,templateSuccessfullyInstalledUpdated:GFPDF.templateSuccessfullyInstalledUpdated,templateInstallInstructions:GFPDF.templateInstallInstructions}))}}),a.a.createElement(c.a,{path:"/template/:id",render:function(e){return a.a.createElement(Vn,Bn({},e,{ajaxUrl:GFPDF.ajaxUrl,ajaxNonce:GFPDF.ajaxNonce,pdfWorkingDirPath:GFPDF.pdfWorkingDir,activateText:GFPDF.select,templateDeleteText:GFPDF.delete,templateConfirmDeleteText:GFPDF.doYouWantToDeleteTemplate,templateDeleteErrorText:GFPDF.couldNotDeleteTemplate,currentTemplateText:GFPDF.currentTemplate,versionText:GFPDF.version,groupText:GFPDF.group,tagsText:GFPDF.tags,showPreviousTemplateText:GFPDF.showPreviousTemplate,showNextTemplateText:GFPDF.showNextTemplate}))}}),a.a.createElement(c.a,{component:Gn}))))};function Kn(){return(Kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Qn=Object(i.lazy)((function(){return n.e(10).then(n.bind(null,268))}));
|
@@ -147,86 +147,86 @@ function Qt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e
|
|
147 |
* Advanced Template Selector Bootstrap
|
148 |
*
|
149 |
* @package Gravity PDF
|
150 |
-
* @copyright Copyright (c)
|
151 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
152 |
* @since 4.1
|
153 |
*/function Xn(e){var t=zn();!function(e){e.wrap('<div id="gfpdf-settings-field-wrapper-template-container" />').parent().append('<span id="gpdf-advance-template-selector">').append('<div id="gfpdf-overlay" class="theme-overlay">')}(e),Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(l.a,null,a.a.createElement(c.a,{render:function(e){return a.a.createElement(Qn,Kn({},e,{store:t}))}}))),document.getElementById("gpdf-advance-template-selector")),function(e){Object(u.render)(a.a.createElement(Hn.a,{store:e},a.a.createElement(Wn,null)),document.getElementById("gfpdf-overlay"))}(t),function(e,t){var n=f()(e.getState,"template.activeTemplate");e.subscribe(n((function(e){t.val()!==e&&t.val(e).trigger("change")}))),t[0].addEventListener("change",(function(){t.val()!==e.getState().template.activeTemplate&&e.dispatch(Object(nt.v)(t.val()))}))}(t,e),function(e,t){var n=e.getState().template.list.length,r=f()(e.getState,"template.list");e.subscribe(r((function(r){if(n!==r.length){n=r.length,e.dispatch(Object(nt.B)());var o=f()(e.getState,"template.updateSelectBoxText");e.subscribe(o((function(n){t.html(n).val(e.getState().template.activeTemplate).trigger("chosen:updated")})))}})))}(t,e)}n(175);var Yn=n(1),Jn=n.n(Yn),Zn=(n(80),n(81),n(167)),er=function(e){var t=e.id;return a.a.createElement("div",{className:"theme-header"},a.a.createElement("h1",null,"Font Manager"),a.a.createElement(Zn.a,{id:t}))};er.propTypes={id:Jn.a.string};var tr=er,nr=(n(153),function(e){var t=e.msg;return a.a.createElement("div",{id:"gf-admin-notices-wrapper"},a.a.createElement("div",{className:"notice notice-error gf-notice",dangerouslySetInnerHTML:{__html:t}}))});nr.propTypes={msg:Jn.a.string.isRequired};var rr=nr;function or(e){return(or="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ir(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ur(e,t){return(ur=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=fr(e);if(t){var o=fr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cr(this,n)}}function cr(e,t){return!t||"object"!==or(t)&&"function"!=typeof t?sr(e):t}function sr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fr(e){return(fr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
154 |
/**
|
155 |
* @package Gravity PDF
|
156 |
-
* @copyright Copyright (c)
|
157 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
158 |
* @since 6.0
|
159 |
-
*/var dr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ur(e,t)}(i,e);var t,n,r,o=lr(i);function i(){var e;ir(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return pr(sr(e=o.call.apply(o,[this].concat(n))),"state",{searchInput:""}),pr(sr(e),"handleSearch",(function(t){var n=t.target.value;e.setState({searchInput:n}),e.props.searchFontList(n)})),pr(sr(e),"resetSearchState",(function(){e.setState({searchInput:""})})),e}return t=i,(n=[{key:"componentDidMount",value:function(){this.input.focus()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.id,r=t.searchResult,o=t.msg;e.searchResult===r||r||this.resetSearchState(),JSON.stringify(e.msg)!==JSON.stringify(o)&&o.success&&n&&this.resetSearchState()}},{key:"componentWillUnmount",value:function(){""!==this.state.searchInput&&this.props.resetSearchResult()}},{key:"render",value:function(){var e=this;return a.a.createElement("div",{role:"form"},a.a.createElement("input",{type:"search",id:"font-manager-search-box",className:"wp-filter-search",placeholder:GFPDF.fontManagerSearchPlaceHolder,value:this.state.searchInput,onChange:this.handleSearch,onKeyDown:function(e){return 13===e.keyCode&&e.preventDefault()},ref:function(t){return e.input=t},tabIndex:"143"}))}}])&&ar(t.prototype,n),r&&ar(t,r),i}(i.Component);pr(dr,"propTypes",{id:Jn.a.string,searchResult:Jn.a.oneOfType([Jn.a.oneOf([null]).isRequired,Jn.a.arrayOf(Jn.a.object).isRequired]),msg:Jn.a.object.isRequired,resetSearchResult:Jn.a.func.isRequired,searchFontList:Jn.a.func.isRequired});var hr=Object(Hn.b)((function(e){return{searchResult:e.fontManager.searchResult,msg:e.fontManager.msg}}),{resetSearchResult:qt.C,searchFontList:qt.D})(dr),mr=function(){return a.a.createElement("div",{className:"font-list-header"},a.a.createElement("div",{className:"font-name"},GFPDF.fontListInstalledFonts),a.a.createElement("div",null,GFPDF.fontListRegular),a.a.createElement("div",null,GFPDF.fontListItalics),a.a.createElement("div",null,GFPDF.fontListBold),a.a.createElement("div",null,GFPDF.fontListBoldItalics),a.a.createElement("div",null))},vr=(n(152),function(e){var t=e.font;return a.a.createElement("div",null,a.a.createElement("span",{className:"dashicons dashicons-"+(t?"yes":"no-alt")}))});vr.propTypes={font:Jn.a.string.isRequired};var yr=vr,gr=n(138),br=n(54);function wr(e){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Er(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sr(e,t){return(Sr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=
|
160 |
/**
|
161 |
* @package Gravity PDF
|
162 |
-
* @copyright Copyright (c)
|
163 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
164 |
* @since 6.0
|
165 |
-
*/var Fr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sr(e,t)}(i,e);var t,n,r,o=Tr(i);function i(){var e;Er(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return
|
166 |
/**
|
167 |
* @package Gravity PDF
|
168 |
-
* @copyright Copyright (c)
|
169 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
170 |
* @since 6.0
|
171 |
*/Ar.propTypes={id:Jn.a.string,loading:Jn.a.bool.isRequired,fontList:Jn.a.arrayOf(Jn.a.object).isRequired,searchResult:Jn.a.oneOfType([Jn.a.oneOf([null]).isRequired,Jn.a.arrayOf(Jn.a.object).isRequired]),msg:Jn.a.object.isRequired,history:Jn.a.object.isRequired};var Lr=Object(Hn.b)((function(e){return{loading:e.fontManager.loading,fontList:e.fontManager.fontList,searchResult:e.fontManager.searchResult,msg:e.fontManager.msg}}),{})(Ar),Nr=n(166),Ir=function(e){var t=e.label,n=e.font;return a.a.createElement("div",{htmlFor:"gfpdf-font-variant-"+t},"regular"===t&&"false"===n&&a.a.createElement("span",{dangerouslySetInnerHTML:{__html:Object(gn.sprintf)(GFPDF.fontListRegularRequired,"<span class='required'>","</span>")}}),"regular"===t&&"true"===n&&GFPDF.fontListRegular,"italics"===t&&GFPDF.fontListItalics,"bold"===t&&GFPDF.fontListBold,"bolditalics"===t&&GFPDF.fontListBoldItalics)};Ir.propTypes={label:Jn.a.string.isRequired,font:Jn.a.string};var Mr=Ir;function Ur(){return(Ur=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qr(e){return(qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zr(e,t){return function(e){if(Array.isArray(e))return e}
|
172 |
/**
|
173 |
* @package Gravity PDF
|
174 |
-
* @copyright Copyright (c)
|
175 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
176 |
* @since 6.0
|
177 |
*/(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Gr=function(e){var t=e.state,n=e.fontStyles,r=e.validateRegular,o=e.onHandleUpload,i=e.onHandleDeleteFontStyle,u=e.msg.error,l=e.tabIndex;return a.a.createElement("div",{id:"gfpdf-font-files-setting"},Object.entries(n).map((function(e){var c=zr(e,2),s=c[0],f=c[1],p="gfpdf-font-variant-"+s+" "+t,d=p+" gfpdf-font-files-label",h=""!==f&&"object"!==qr(f)?f.substr(f.lastIndexOf("/")+1):f.name,m=u&&"object"===qr(u.addFont)&&u.addFont[s],v="regular"===s&&!r&&""===n.regular,y=(f?" active":"")+(m?" error":"")+(v?" required":""),g=f?"trash":"plus",b=f?"true":"false";return a.a.createElement(Nr.a,{key:s,accept:".ttf",onDrop:function(e){return o(s,e[0],t)},multiple:!1},(function(e){var n=e.getRootProps,r=e.getInputProps;return a.a.createElement("a",Ur({className:"drop-zone"+y},n(),{tabIndex:l}),f?a.a.createElement("input",Ur({id:p,"aria-labelledby":d,"aria-describedby":"gfpdf-font-files-description"},r({onClick:function(e){return i(e,s,t)}}))):a.a.createElement("input",Ur({id:p,"aria-labelledby":d,"aria-describedby":"gfpdf-font-files-description"},r())),a.a.createElement("span",{className:"gfpdf-font-filename"},v&&a.a.createElement("span",{className:"required"},GFPDF.fontManagerFontFileRequiredRegular),m||h),a.a.createElement("span",{className:"dashicons dashicons-"+g}),a.a.createElement(Mr,{label:s,font:b}))}))})))};Gr.propTypes={state:Jn.a.string.isRequired,fontStyles:Jn.a.object.isRequired,validateRegular:Jn.a.bool.isRequired,onHandleUpload:Jn.a.func.isRequired,onHandleDeleteFontStyle:Jn.a.func.isRequired,msg:Jn.a.object.isRequired,tabIndex:Jn.a.string.isRequired};var Br=Gr;
|
178 |
/**
|
179 |
* @package Gravity PDF
|
180 |
-
* @copyright Copyright (c)
|
181 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
182 |
* @since 6.0
|
183 |
*/function $r(){var e=document.querySelector(".font-list-column"),t=document.querySelector(".update-font.show");e.style.height=window.getComputedStyle(t).height}function Vr(e){return(Vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qr(e,t){return(Qr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Zr(e);if(t){var o=Zr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Yr(this,n)}}function Yr(e,t){return!t||"object"!==Vr(t)&&"function"!=typeof t?Jr(e):t}function Jr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zr(e){return(Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
184 |
/**
|
185 |
* @package Gravity PDF
|
186 |
-
* @copyright Copyright (c)
|
187 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
188 |
* @since 6.0
|
189 |
*/var to=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qr(e,t)}(i,e);var t,n,r,o=Xr(i);function i(){var e;Wr(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return eo(Jr(e=o.call.apply(o,[this].concat(n))),"state",{tooltip:!1}),eo(Jr(e),"handleDisplayInfo",(function(){e.setState({tooltip:!e.state.tooltip}),setTimeout((function(){return $r()}),100)})),eo(Jr(e),"handleContentHighlight",(function(e){e.target.focus(),e.target.select(),document.execCommand("copy")})),e}return t=i,(n=[{key:"render",value:function(){var e=this.props.id,t=this.state.tooltip,n="<style>\n.font-".concat(e," {\n font-family: ").concat(e,', sans-serif;\n}\n</style>\n \n<div class="font-').concat(e,'">Text</div>');return a.a.createElement("div",{className:"msg template-usage-link"},t?a.a.createElement("span",{className:"dashicons dashicons-arrow-down-alt2"}):a.a.createElement("span",{className:"dashicons dashicons-arrow-right-alt2"}),a.a.createElement("a",{onClick:this.handleDisplayInfo},GFPDF.fontManagerTemplateTooltipLabel),t&&a.a.createElement("div",{dangerouslySetInnerHTML:{__html:Object(gn.sprintf)(GFPDF.fontManagerTemplateTooltipDesc,'<a href="https://docs.gravitypdf.com/v6/developers/first-custom-pdf">','<a href="https://docs.gravitypdf.com/v6/users/setup-pdf#font">',"</a>")}}),t&&a.a.createElement("textarea",{id:"template_usage_info_box",onClick:this.handleContentHighlight,onChange:this.handleContentHighlight,value:n}))}}])&&Kr(t.prototype,n),r&&Kr(t,r),i}(i.Component);eo(to,"propTypes",{id:Jn.a.string});var no=to;function ro(e){return(ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function io(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ao(e,t){return(ao=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=so(e);if(t){var o=so(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lo(this,n)}}function lo(e,t){return!t||"object"!==ro(t)&&"function"!=typeof t?co(e):t}function co(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function so(e){return(so=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
190 |
/**
|
191 |
* @package Gravity PDF
|
192 |
-
* @copyright Copyright (c)
|
193 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
194 |
* @since 6.0
|
195 |
*/var po=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ao(e,t)}(i,e);var t,n,r,o=uo(i);function i(){var e;oo(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fo(co(e=o.call.apply(o,[this].concat(n))),"handleSelectFont",(function(t,n){var r=e.props.selectFont;if(t===n)return r("");r(t)})),fo(co(e),"handleSelectFontKeypress",(function(t,n,r){var o=e.props.selectFont;if(13===t.keyCode||32===t.keyCode){if(n===r)return o("");o(n)}})),fo(co(e),"handleDeleteFont",(function(t){window.confirm(GFPDF.fontManagerDeleteFontConfirmation)&&e.props.deleteFont(t)})),fo(co(e),"handleDeleteFontKeypress",(function(t,n){13!==t.keyCode&&32!==t.keyCode||window.confirm(GFPDF.fontManagerDeleteFontConfirmation)&&e.props.deleteFont(n)})),e}return t=i,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.state,r=t.id,o=t.disabled,i=t.onHandleCancelEditFont,u=t.onHandleCancelEditFontKeypress,l=t.selectedFont,c=t.msg,s=c.success,f=c.error,p=t.loading,d=t.tabIndex,h=document.querySelector(".footer button.cancel"),m=f&&f.fontList,v=s&&s.addFont,y=v&&m||v&&!n,g=f&&f.addFont&&f.addFont,b=g&&f.fontValidationError&&f.fontValidationError,w=Object(gn.sprintf)(GFPDF.fontFileMissing,"<strong>","</strong>"),E=""!==r&&r===l?" checked":" uncheck",x=g&&b,S=g&&!b;return a.a.createElement("footer",{className:"footer"+(h?" cancel":"")},a.a.createElement("div",{className:"buttons-icons-container"},a.a.createElement("div",null,r&&a.a.createElement("button",{className:"button gfpdf-button primary cancel",onClick:i,onKeyDown:u,type:"button",tabIndex:d,"aria-label":GFPDF.cancel},GFPDF.fontManagerCancelButtonText),a.a.createElement("button",{className:"button gfpdf-button primary",tabIndex:d,disabled:o,"aria-label":GFPDF.fontManagerUpdateFontAriaLabel},r?GFPDF.fontManagerUpdateTitle+" →":GFPDF.fontManagerAddTitle+" →"),p&&a.a.createElement(gr.a,{style:"add-update-font"})),a.a.createElement("div",{className:"select-delete-icons-container"},r&&a.a.createElement("button",{className:"dashicons dashicons-yes"+E,onClick:function(){return e.handleSelectFont(r,l)},onKeyDown:function(t){return e.handleSelectFontKeypress(t,r,l)},type:"button",tabIndex:d,"aria-label":GFPDF.fontManagerSelectFontAriaLabel}),r&&a.a.createElement("button",{className:"dashicons dashicons-trash",onClick:function(){return e.handleDeleteFont(r)},onKeyDown:function(t){return e.handleDeleteFontKeypress(t,r)},type:"button",tabIndex:d,"aria-label":GFPDF.fontManagerDeleteFontAriaLabel}))),y&&a.a.createElement("span",{className:"msg success",dangerouslySetInnerHTML:{__html:s.addFont}}),x&&a.a.createElement("span",{className:"msg error",dangerouslySetInnerHTML:{__html:b}}),S&&a.a.createElement("span",{className:"msg error",dangerouslySetInnerHTML:{__html:"object"===ro(f.addFont)?w:f.addFont}}),r&&a.a.createElement(no,{id:r}))}}])&&io(t.prototype,n),r&&io(t,r),i}(i.Component);fo(po,"propTypes",{state:Jn.a.string,id:Jn.a.string,disabled:Jn.a.bool,onHandleCancelEditFont:Jn.a.func,onHandleCancelEditFontKeypress:Jn.a.func,selectedFont:Jn.a.string.isRequired,selectFont:Jn.a.func.isRequired,deleteFont:Jn.a.func,msg:Jn.a.object.isRequired,loading:Jn.a.bool.isRequired,tabIndex:Jn.a.string.isRequired});var ho=Object(Hn.b)((function(e){return{selectedFont:e.fontManager.selectedFont}}),{selectFont:qt.E,deleteFont:qt.x})(po),mo=function(e){var t=e.label,n=e.onHandleInputChange,r=e.onHandleUpload,o=e.onHandleDeleteFontStyle,i=e.onHandleSubmit,u=e.fontStyles,l=e.validateLabel,c=e.validateRegular,s=e.msg,f=e.loading,p=e.tabIndexFontName,d=e.tabIndexFontFiles,h=e.tabIndexFooterButtons,m=Object(gn.sprintf)(GFPDF.fontManagerFontNameLabel,"<span class='required'>","</span>");return a.a.createElement("div",{className:"add-font"},a.a.createElement("form",{onSubmit:i},a.a.createElement("h2",null,GFPDF.fontManagerAddTitle),a.a.createElement("p",null,GFPDF.fontManagerAddDesc),a.a.createElement("label",{htmlFor:"gfpdf-font-name-input",dangerouslySetInnerHTML:{__html:m}}),a.a.createElement("p",{id:"gfpdf-font-name-desc-add"},GFPDF.fontManagerFontNameDesc),a.a.createElement("input",{type:"text",id:"gfpdf-add-font-name-input",className:l?"":"input-label-validation-error","aria-describedby":"gfpdf-font-name-desc-add",name:"label",value:t,maxLength:"60",onChange:function(e){return n(e,"addFont")},tabIndex:p}),a.a.createElement("div",{"aria-live":"polite"},!l&&a.a.createElement("span",{className:"required",role:"alert"},a.a.createElement("em",null,GFPDF.fontManagerFontNameValidationError))),a.a.createElement("label",{id:"gfpdf-font-files-label-add","aria-labelledby":"gfpdf-font-files-description-add"},GFPDF.fontManagerFontFilesLabel),a.a.createElement("p",{id:"gfpdf-font-files-description-add"},GFPDF.fontManagerFontFilesDesc),a.a.createElement(Br,{state:"addFont",fontStyles:u,validateRegular:c,onHandleUpload:r,onHandleDeleteFontStyle:o,msg:s,tabIndex:d}),a.a.createElement(ho,{state:"addFont",msg:s,loading:f,tabIndex:h})))};mo.propTypes={label:Jn.a.string.isRequired,onHandleInputChange:Jn.a.func.isRequired,onHandleUpload:Jn.a.func.isRequired,onHandleDeleteFontStyle:Jn.a.func.isRequired,onHandleSubmit:Jn.a.func.isRequired,validateLabel:Jn.a.bool.isRequired,validateRegular:Jn.a.bool.isRequired,fontStyles:Jn.a.object.isRequired,msg:Jn.a.object.isRequired,loading:Jn.a.bool.isRequired,tabIndexFontName:Jn.a.string.isRequired,tabIndexFontFiles:Jn.a.string.isRequired,tabIndexFooterButtons:Jn.a.string.isRequired};var vo=mo,yo=function(e){var t=e.id,n=e.label,r=e.onHandleInputChange,o=e.onHandleUpload,i=e.onHandleDeleteFontStyle,u=e.onHandleCancelEditFont,l=e.onHandleCancelEditFontKeypress,c=e.onHandleSubmit,s=e.fontStyles,f=e.validateLabel,p=e.validateRegular,d=e.disableUpdateButton,h=e.msg,m=e.loading,v=e.tabIndexFontName,y=e.tabIndexFontFiles,g=e.tabIndexFooterButtons,b=Object(gn.sprintf)(GFPDF.fontManagerFontNameLabel,"<span class='required'>","</span>");return a.a.createElement("div",{className:"update-font"},a.a.createElement("form",{onSubmit:c},a.a.createElement("h2",null,GFPDF.fontManagerUpdateTitle),a.a.createElement("p",null,GFPDF.fontManagerUpdateDesc),a.a.createElement("label",{htmlFor:"gfpdf-font-name-input",dangerouslySetInnerHTML:{__html:b}}),a.a.createElement("p",{id:"gfpdf-font-name-desc-update"},GFPDF.fontManagerFontNameDesc),a.a.createElement("input",{type:"text",id:"gfpdf-update-font-name-input",className:f?"":"input-label-validation-error","aria-describedby":"gfpdf-font-name-desc-update",name:"label",value:n,maxLength:"60",onChange:function(e){return r(e,"updateFont")},tabIndex:v}),a.a.createElement("div",{"aria-live":"polite"},!f&&a.a.createElement("span",{className:"required",role:"alert"},a.a.createElement("em",null,GFPDF.fontManagerFontNameValidationError))),a.a.createElement("label",{id:"gfpdf-font-files-label-update","aria-labelledby":"gfpdf-font-files-description-update"},GFPDF.fontManagerFontFilesLabel),a.a.createElement("p",{id:"gfpdf-font-files-description-update"},GFPDF.fontManagerFontFilesDesc),a.a.createElement(Br,{state:"updateFont",fontStyles:s,validateRegular:p,onHandleUpload:o,onHandleDeleteFontStyle:i,msg:h,tabIndex:y}),a.a.createElement(ho,{id:t,label:n,disabled:d,onHandleCancelEditFont:u,onHandleCancelEditFontKeypress:l,msg:h,loading:m,tabIndex:g})))};
|
196 |
/**
|
197 |
* @package Gravity PDF
|
198 |
-
* @copyright Copyright (c)
|
199 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
200 |
* @since 6.0
|
201 |
*/yo.propTypes={id:Jn.a.string,label:Jn.a.string.isRequired,onHandleInputChange:Jn.a.func.isRequired,onHandleUpload:Jn.a.func.isRequired,onHandleDeleteFontStyle:Jn.a.func.isRequired,onHandleCancelEditFont:Jn.a.func.isRequired,onHandleCancelEditFontKeypress:Jn.a.func.isRequired,onHandleSubmit:Jn.a.func.isRequired,validateLabel:Jn.a.bool.isRequired,validateRegular:Jn.a.bool.isRequired,disableUpdateButton:Jn.a.bool.isRequired,fontStyles:Jn.a.object.isRequired,msg:Jn.a.object.isRequired,loading:Jn.a.bool.isRequired,tabIndexFontName:Jn.a.string.isRequired,tabIndexFontFiles:Jn.a.string.isRequired,tabIndexFooterButtons:Jn.a.string.isRequired};var go=yo,bo={id:"",label:"",fontStyles:{regular:"",italics:"",bold:"",bolditalics:""},validateLabel:!0,validateRegular:!0,disableUpdateButton:!1};
|
202 |
/**
|
203 |
* @package Gravity PDF
|
204 |
-
* @copyright Copyright (c)
|
205 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
206 |
* @since 6.0
|
207 |
-
*/function wo(){return(wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Eo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return xo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xo(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function So(e){return(So="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function To(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?To(Object(n),!0).forEach((function(t){Do(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):To(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function
|
208 |
/**
|
209 |
* @package Gravity PDF
|
210 |
-
* @copyright Copyright (c)
|
211 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
212 |
* @since 6.0
|
213 |
-
*/var Ao=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&
|
214 |
/**
|
215 |
* @package Gravity PDF
|
216 |
-
* @copyright Copyright (c)
|
217 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
218 |
* @since 6.0
|
219 |
*/
|
220 |
var Go,Bo,$o,Vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mo(e,t)}(i,e);var t,n,r,o=Uo(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).handleFocus=t.handleFocus.bind(zo(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){document.addEventListener("focus",this.handleFocus,!0),document.activeElement&&"wp-filter-search"!==document.activeElement.className&&this.container.focus()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("focus",this.handleFocus,!0)}},{key:"handleFocus",value:function(e){this.container.contains(e.target)||(e.stopPropagation(),this.container.focus())}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.history;return a.a.createElement("div",{ref:function(t){return e.container=t},tabIndex:"140"},a.a.createElement("div",{className:"backdrop theme-backdrop"}),a.a.createElement("div",{className:"container theme-wrap font-manager"},a.a.createElement(tr,{id:n}),a.a.createElement(Lo,{id:n,history:r})))}}])&&Io(t.prototype,n),r&&Io(t,r),i}(i.Component);Go=Vo,Bo="propTypes",$o={id:Jn.a.string,history:Jn.a.object.isRequired},Bo in Go?Object.defineProperty(Go,Bo,{value:$o,enumerable:!0,configurable:!0,writable:!0}):Go[Bo]=$o;var Wo=Vo,Ko=function(){return a.a.createElement(l.a,null,a.a.createElement(c.c,null,a.a.createElement(c.a,{exact:!0,path:"/fontmanager/",render:function(e){return a.a.createElement(Wo,{id:e.match.params.id,history:e.history})}}),a.a.createElement(c.a,{exact:!0,path:"/fontmanager/:id",render:function(e){return a.a.createElement(Wo,{id:e.match.params.id,history:e.history})}}),a.a.createElement(c.a,{component:Gn})))};
|
221 |
/**
|
222 |
* @package Gravity PDF
|
223 |
-
* @copyright Copyright (c)
|
224 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
225 |
* @since 6.0
|
226 |
*/function Qo(){return(Qo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Ko.propTypes={match:Jn.a.object,history:Jn.a.object};var Xo=Object(i.lazy)((function(){return n.e(8).then(n.bind(null,269))}));
|
227 |
/**
|
228 |
* @package Gravity PDF
|
229 |
-
* @copyright Copyright (c)
|
230 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
231 |
* @since 6.0
|
232 |
*/function Yo(e,t){var n=zn(),r=t||"";!function(e,t){var n=document.createElement("span");n.setAttribute("id","gpdf-advance-font-manager-selector"+t);var r=document.createElement("div");if(r.setAttribute("id","font-manager-overlay"),r.setAttribute("class","theme-overlay"),"SELECT"===e.nodeName){var o=document.createElement("div");o.setAttribute("id","gfpdf-settings-field-wrapper-font-container"),o.innerHTML=e.outerHTML,o.appendChild(n),o.appendChild(r),e.outerHTML=o.outerHTML}else e.appendChild(n),e.appendChild(r)}(e,r),Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(l.a,null,a.a.createElement(c.a,{render:function(e){return a.a.createElement(Xo,Qo({},e,{store:n}))}}))),document.querySelector("#gpdf-advance-font-manager-selector"+r)),function(e){Object(u.render)(a.a.createElement(Hn.a,{store:e},a.a.createElement(Ko,null)),document.querySelector("#font-manager-overlay"))}(n)}var Jo=Object(i.lazy)((function(){return n.e(7).then(n.bind(null,274))}));
|
@@ -234,21 +234,21 @@ var Go,Bo,$o,Vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)thr
|
|
234 |
* Core Font Downloader Bootstrap
|
235 |
*
|
236 |
* @package Gravity PDF
|
237 |
-
* @copyright Copyright (c)
|
238 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
239 |
* @since 5.0
|
240 |
*/var Zo=Object(i.lazy)((function(){return Promise.all([n.e(4),n.e(9)]).then(n.bind(null,276))}));
|
241 |
/**
|
242 |
* @package Gravity PDF
|
243 |
-
* @copyright Copyright (c)
|
244 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
245 |
* @since 5.2
|
246 |
-
*/var ei=n(121);n(19);function ti(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ni(){if(ClipboardJS.isSupported()){var e=new ClipboardJS(".btn-shortcode");e.on("success",(function(e){new t(e.trigger).buttonActive()})),e.on("error",(function(e){n(e.trigger),o()(e.trigger).trigger("click")}));var t=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=jQuery(t)
|
247 |
/**
|
248 |
* JS Entry point for WebPack
|
249 |
*
|
250 |
* @package Gravity PDF
|
251 |
-
* @copyright Copyright (c)
|
252 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
253 |
* @since 4.1
|
254 |
*/o()((function(){if(n.p=GFPDF.pluginUrl+"dist/",void 0!==GFPDF.templateList){window.Promise||(window.Promise=Promise);var e=o()("#gfpdf_settings\\[template\\], #gfpdf_settings\\[default_template\\]");e.length>0&&Xn(e)}var t,r,l;o()("#gfpdf-button-wrapper-install_core_fonts").length&&(t=document.getElementById("gfpdf-button-wrapper-install_core_fonts"),r=t.getElementsByTagName("button")[0],l=zn(),Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(Hn.a,{store:l},a.a.createElement(Jo,{button:r}))),t)),o()("#gpdf-search").length&&function(){var e=zn();Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(Hn.a,{store:e},a.a.createElement(Zo,null))),document.getElementById("gpdf-search"))}();var c=document.querySelector("#gfpdf-settings-field-wrapper-default_font select"),s=document.querySelector("#gfpdf-settings-field-wrapper-manage_fonts"),f=document.querySelector("#gfpdf-settings-field-wrapper-font select"),p=document.querySelector("#gfpdf_pdf_form"),d=document.querySelectorAll("fieldset.gform-settings-panel--full"),h=document.querySelector("form#gfpdf_list_form");null!==c&&Yo(c),null!==s&&Yo(s,"-prevent-button-reset"),null!==f&&Yo(f),p&&4===d.length&&Object(ei.a)(d,p),null!==h&&ni()}))}]);
|
1 |
+
!function(e){function t(t){for(var n,o,i=t[0],a=t[1],u=0,c=[];u<i.length;u++)o=i[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&c.push(r[o][0]),r[o]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);c.length;)c.shift()()}var n={},r={2:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=i);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.src=function(e){return o.p+"assets/js/chunk-"+({}[e]||e)+"."+{0:"e033d172e282e0a2b9cc",4:"3958577e9ba487662fcf",5:"4048e584cf68fa13efd8",6:"ef3565a14028638eb70f",7:"514921733ef2f6274a79",8:"c48910b68a8cb06a33ba",9:"4ab0fcd8be55c0868e3a",10:"d768793400e94cf88b98"}[e]+".js"}(e);var l=new Error;a=function(t){u.onerror=u.onload=null,clearTimeout(c);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,n[1](l)}r[e]=void 0}};var c=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/home/runner/work/gravity-pdf/gravity-pdf/tmp/package/6.2.0/dist/",o.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var u=0;u<i.length;u++)t(i[u]);var l=a;o(o.s=210)}([function(e,t,n){"use strict";e.exports=n(186)},function(e,t,n){e.exports=n(201)()},function(e,t){e.exports=jQuery},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"o",(function(){return o})),n.d(t,"n",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"j",(function(){return c})),n.d(t,"l",(function(){return s})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"i",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return g})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return w})),n.d(t,"s",(function(){return E})),n.d(t,"p",(function(){return x})),n.d(t,"A",(function(){return S})),n.d(t,"u",(function(){return T})),n.d(t,"z",(function(){return O})),n.d(t,"F",(function(){return k})),n.d(t,"y",(function(){return _})),n.d(t,"x",(function(){return P})),n.d(t,"v",(function(){return F})),n.d(t,"w",(function(){return C})),n.d(t,"D",(function(){return j})),n.d(t,"C",(function(){return R})),n.d(t,"E",(function(){return D})),n.d(t,"B",(function(){return A}));var r="GET_CUSTOM_FONT_LIST",o="GET_CUSTOM_FONT_LIST_SUCCESS",i="GET_CUSTOM_FONT_LIST_ERROR",a="ADD_FONT",u="ADD_FONT_SUCCESS",l="ADD_FONT_ERROR",c="EDIT_FONT",s="EDIT_FONT_SUCCESS",f="EDIT_FONT_ERROR",p="VALIDATION_ERROR",d="DELETE_VARIANT_ERROR",h="DELETE_FONT",m="DELETE_FONT_SUCCESS",v="DELETE_FONT_ERROR",y="CLEAR_ADD_FONT_MSG",g="CLEAR_DROPZONE_ERROR",b="RESET_SEARCH_RESULT",w="SEARCH_FONT_LIST",E="SELECT_FONT",x="MOVE_SELECTED_FONT_TO_TOP",S=function(){return{type:r}},T=function(e){return{type:a,payload:e}},O=function(e){return{type:c,payload:e}},k=function(){return{type:p}},_=function(e){return{type:d,payload:e}},P=function(e){return{type:h,payload:e}},F=function(){return{type:y}},C=function(e){return{type:g,payload:e}},j=function(e){return{type:w,payload:e}},R=function(){return{type:b}},D=function(e){return{type:E,payload:e}},A=function(e){return{type:x,payload:e}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(84))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(4),o=n(61),i=n(9),a=n(63),u=n(64),l=n(101),c=o("wks"),s=r.Symbol,f=l?s:s&&s.withoutSetter||a;e.exports=function(e){return i(c,e)||(u&&i(s,e)?c[e]=s[e]:c[e]=f("Symbol."+e)),c[e]}},function(e,t,n){var r=n(4),o=n(45).f,i=n(14),a=n(26),u=n(50),l=n(102),c=n(85);e.exports=function(e,t){var n,s,f,p,d,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in t){if(p=t[s],f=e.noTargetGet?(d=o(n,s))&&d.value:n[s],!c(m?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;l(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,s,p,e)}}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(5);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(10),o=n(76),i=n(8),a=n(51),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"u",(function(){return g})),n.d(t,"v",(function(){return b})),n.d(t,"p",(function(){return w})),n.d(t,"E",(function(){return E})),n.d(t,"s",(function(){return x})),n.d(t,"B",(function(){return S})),n.d(t,"D",(function(){return T})),n.d(t,"C",(function(){return O})),n.d(t,"w",(function(){return k})),n.d(t,"y",(function(){return _})),n.d(t,"x",(function(){return P})),n.d(t,"q",(function(){return F})),n.d(t,"t",(function(){return C})),n.d(t,"A",(function(){return j})),n.d(t,"z",(function(){return R})),n.d(t,"r",(function(){return D}));var r="SEARCH_TEMPLATES",o="SELECT_TEMPLATE",i="ADD_TEMPLATE",a="UPDATE_TEMPLATE_PARAM",u="DELETE_TEMPLATE",l="UPDATE_SELECT_BOX",c="UPDATE_SELECT_BOX_SUCCESS",s="TEMPLATE_PROCESSING",f="TEMPLATE_PROCESSING_SUCCESS",p="TEMPLATE_PROCESSING_FAILED",d="CLEAR_TEMPLATE_PROCESSING",h="POST_TEMPLATE_UPLOAD_PROCESSING",m="TEMPLATE_UPLOAD_PROCESSING_SUCCESS",v="TEMPLATE_UPLOAD_PROCESSING_FAILED",y="CLEAR_TEMPLATE_UPLOAD_PROCESSING",g=function(e){return{type:r,text:e}},b=function(e){return{type:o,id:e}},w=function(e){return{type:i,template:e}},E=function(e,t,n){return{type:a,id:e,name:t,value:n}},x=function(e){return{type:u,id:e}},S=function(){return{type:l}},T=function(e){return{type:c,payload:e}},O=function(){return{type:"UPDATE_SELECT_BOX_FAILED"}},k=function(e){return{type:s,payload:e}},_=function(e){return{type:f,payload:e}},P=function(e){return{type:p,payload:e}},F=function(){return{type:d}},C=function(e,t){return{type:h,payload:{file:e,filename:t}}},j=function(e){return{type:m,payload:e}},R=function(e){return{type:v,payload:e}},D=function(){return{type:y}}},function(e,t,n){var r=n(10),o=n(12),i=n(34);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=o.a.createContext(null);var l=function(e){e()},c={notify:function(){}};function s(){var e=l,t=[],n=[];return{clear:function(){n=null,t=null},notify:function(){var r=t=n;e((function(){for(var e=0;e<r.length;e++)r[e]()}))},get:function(){return n},subscribe:function(e){var r=!0;return n===t&&(n=t.slice()),n.push(e),function(){r&&null!==t&&(r=!1,n===t&&(n=t.slice()),n.splice(n.indexOf(e),1))}}}}var f=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=c,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=s())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=c)},e}();function p(e){var t=e.store,n=e.context,i=e.children,a=Object(r.useMemo)((function(){var e=new f(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),l=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=a.subscription;return e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,l]);var c=n||u;return o.a.createElement(c.Provider,{value:a},i)}p.propTypes={store:a.a.shape({subscribe:a.a.func.isRequired,dispatch:a.a.func.isRequired,getState:a.a.func.isRequired}),context:a.a.object,children:a.a.any};var d=p,h=n(28),m=n(69),v=n(122),y=n.n(v),g=n(70),b=n.n(g),w=n(137),E="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,x=[],S=[null,null];function T(e,t){var n=e[1];return[t.payload,n+1]}var O=function(){return[null,0]};function k(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,l=n.methodName,c=void 0===l?"connectAdvanced":l,s=n.renderCountProp,p=void 0===s?void 0:s,d=n.shouldHandleStateChanges,v=void 0===d||d,g=n.storeKey,k=void 0===g?"store":g,_=n.withRef,P=void 0!==_&&_,F=n.forwardRef,C=void 0!==F&&F,j=n.context,R=void 0===j?u:j,D=Object(m.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);b()(void 0===p,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),b()(!P,"withRef is removed. To access the wrapped instance, use a ref on the connected component");b()("store"===k,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect");var A=R;return function(t){var n=t.displayName||t.name||"Component",i=a(n),u=Object(h.a)({},D,{getDisplayName:a,methodName:c,renderCountProp:p,shouldHandleStateChanges:v,storeKey:k,displayName:i,wrappedComponentName:n,WrappedComponent:t}),l=D.pure;var s=l?r.useMemo:function(e){return e()};function d(n){var a=Object(r.useMemo)((function(){var e=n.forwardedRef,t=Object(m.a)(n,["forwardedRef"]);return[n.context,e,t]}),[n]),l=a[0],c=a[1],p=a[2],d=Object(r.useMemo)((function(){return l&&l.Consumer&&Object(w.isContextConsumer)(o.a.createElement(l.Consumer,null))?l:A}),[l,A]),y=Object(r.useContext)(d),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch),k=Boolean(y)&&Boolean(y.store);b()(g||k,'Could not find "store" in the context of "'+i+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+i+" in connect options.");var _=g?n.store:y.store,P=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,u)}(_)}),[_]),F=Object(r.useMemo)((function(){if(!v)return S;var e=new f(_,g?null:y.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[_,g,y]),C=F[0],j=F[1],R=Object(r.useMemo)((function(){return g?y:Object(h.a)({},y,{subscription:C})}),[g,y,C]),D=Object(r.useReducer)(T,x,O),L=D[0][0],N=D[1];if(L&&L.error)throw L.error;var I=Object(r.useRef)(),M=Object(r.useRef)(p),U=Object(r.useRef)(),q=Object(r.useRef)(!1),z=s((function(){return U.current&&p===M.current?U.current:P(_.getState(),p)}),[_,L,p]);E((function(){M.current=p,I.current=z,q.current=!1,U.current&&(U.current=null,j())})),E((function(){if(v){var e=!1,t=null,n=function(){if(!e){var n,r,o=_.getState();try{n=P(o,M.current)}catch(e){r=e,t=e}r||(t=null),n===I.current?q.current||j():(I.current=n,U.current=n,q.current=!0,N({type:"STORE_UPDATED",payload:{error:r}}))}};C.onStateChange=n,C.trySubscribe(),n();return function(){if(e=!0,C.tryUnsubscribe(),C.onStateChange=null,t)throw t}}}),[_,C,P]);var H=Object(r.useMemo)((function(){return o.a.createElement(t,Object(h.a)({},z,{ref:c}))}),[c,t,z]);return Object(r.useMemo)((function(){return v?o.a.createElement(d.Provider,{value:R},H):H}),[d,H,R])}var g=l?o.a.memo(d):d;if(g.WrappedComponent=t,g.displayName=i,C){var _=o.a.forwardRef((function(e,t){return o.a.createElement(g,Object(h.a)({},e,{forwardedRef:t}))}));return _.displayName=i,_.WrappedComponent=t,y()(_,t)}return y()(g,t)}}var _=Object.prototype.hasOwnProperty;function P(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function F(e,t){if(P(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!_.call(t,n[o])||!P(e[n[o]],t[n[o]]))return!1;return!0}var C=n(79);function j(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function R(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function D(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=R(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=R(o),o=r(t,n)),o},r}}var A=[function(e){return"function"==typeof e?D(e):void 0},function(e){return e?void 0:j((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?j((function(t){return Object(C.bindActionCreators)(e,t)})):void 0}];var L=[function(e){return"function"==typeof e?D(e):void 0},function(e){return e?void 0:j((function(){return{}}))}];function N(e,t,n){return Object(h.a)({},n,{},e,{},t)}var I=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,u){var l=e(t,n,u);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return N}}];function M(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function U(e,t,n,r,o){var i,a,u,l,c,s=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,m,v=!f(d,a),y=!s(o,i);return i=o,a=d,v&&y?(u=e(i,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):v?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):y?(h=e(i,a),m=!p(h,u),u=h,m&&(c=n(u,l,a)),c):c}return function(o,s){return d?h(o,s):(u=e(i=o,a=s),l=t(r,a),c=n(u,l,a),d=!0,c)}}function q(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Object(m.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),l=o(e,i);return(i.pure?U:M)(a,u,l,e,i)}function z(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function H(e,t){return e===t}var G,B,$,V,W,K,Q,X,Y,J,Z,ee,te=($=(B=void 0===G?{}:G).connectHOC,V=void 0===$?k:$,W=B.mapStateToPropsFactories,K=void 0===W?L:W,Q=B.mapDispatchToPropsFactories,X=void 0===Q?A:Q,Y=B.mergePropsFactories,J=void 0===Y?I:Y,Z=B.selectorFactory,ee=void 0===Z?q:Z,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,l=void 0===u?H:u,c=o.areOwnPropsEqual,s=void 0===c?F:c,f=o.areStatePropsEqual,p=void 0===f?F:f,d=o.areMergedPropsEqual,v=void 0===d?F:d,y=Object(m.a)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=z(e,K,"mapStateToProps"),b=z(t,X,"mapDispatchToProps"),w=z(n,J,"mergeProps");return V(ee,Object(h.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:b,initMergeProps:w,pure:a,areStatesEqual:l,areOwnPropsEqual:s,areStatePropsEqual:p,areMergedPropsEqual:v},y))});function ne(){var e=Object(r.useContext)(u);return b()(e,"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"),e}function re(e){void 0===e&&(e=u);var t=e===u?ne:function(){return Object(r.useContext)(e)};return function(){return t().store}}var oe=re();!function(e){void 0===e&&(e=u);var t=e===u?oe:re(e)}();var ie=function(e,t){return e===t};!function(e){void 0===e&&(e=u);var t=e===u?ne:function(){return Object(r.useContext)(e)}}();var ae,ue=n(30);n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return te})),ae=ue.unstable_batchedUpdates,l=ae},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(0),i=n.n(o),a=(n(1),n(46)),u=n(149),l=n(37);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=n(151),f=n.n(s);n(137);function p(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var d=n(122),h=n.n(d);n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return P}));var m=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router-History"),v=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}r(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.a.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);i.a.Component;i.a.Component;var g={},b=0;function w(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,u=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=g[n]||(g[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return b<1e4&&(r[e]=i,b++),i}(n,{end:i,strict:u,sensitive:c}),o=r.regexp,a=r.keys,l=o.exec(e);if(!l)return null;var s=l[0],p=l.slice(1),d=e===s;return i&&!d?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(l.a)(!1);var n=e.props.location||t.location,r=c({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?w(n.pathname,e.props):t.match}),o=e.props,a=o.children,u=o.component,s=o.render;return Array.isArray(a)&&0===a.length&&(a=null),i.a.createElement(v.Provider,{value:r},r.match?a?"function"==typeof a?a(r):a:u?i.a.createElement(u,r):s?s(r):null:"function"==typeof a?a(r):null)}))},t}(i.a.Component);function x(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var n=x(e);return 0!==t.pathname.indexOf(n)?t:c({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:Object(a.e)(e)}function O(e){return function(){Object(l.a)(!1)}}function k(){}i.a.Component;var _=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(l.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?w(o.pathname,c({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function P(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=p(t,["wrappedComponentRef"]);return i.a.createElement(v.Consumer,null,(function(t){return t||Object(l.a)(!1),i.a.createElement(e,c({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}i.a.useContext},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"g",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"j",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return v})),n.d(t,"r",(function(){return y})),n.d(t,"t",(function(){return g})),n.d(t,"s",(function(){return b})),n.d(t,"q",(function(){return w})),n.d(t,"p",(function(){return E})),n.d(t,"o",(function(){return x}));var r="ADD_TO_CONSOLE",o="ADD_TO_RETRY_LIST",i="CLEAR_CONSOLE",a="CLEAR_BUTTON_CLICKED_AND_RETRY_LIST",u="GET_FILES_FROM_GITHUB",l="GET_FILES_FROM_GITHUB_SUCCESS",c="GET_FILES_FROM_GITHUB_FAILED",s="DOWNLOAD_FONTS_API_CALL",f="REQUEST_SENT_COUNTER",p="CLEAR_REQUEST_REMAINING_DATA",d=function(e,t,n){return{type:r,key:e,status:t,message:n}},h=function(){return{type:i}},m=function(e){return{type:o,name:e}},v=function(){return{type:a}},y=function(){return{type:u}},g=function(e){return{type:l,payload:e}},b=function(e){return{type:c,payload:e}},w=function(e){return{type:s,payload:e}},E=function(){return{type:f}},x=function(){return{type:p}}},function(e,t,n){var r=n(113),o=n(26),i=n(176);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var r=n(7),o=n(48).find,i=n(86),a=n(33),u=!0,l=a("find");"find"in[]&&Array(1).find((function(){u=!1})),r({target:"Array",proto:!0,forced:u||!l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){var r=n(59),o=n(22);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(35),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(117).charAt,o=n(47),i=n(132),a=o.set,u=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(4),o=n(14),i=n(9),a=n(50),u=n(65),l=n(47),c=l.get,s=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,u){var l=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),s(n).source=f.join("string"==typeof t?t:"")),e!==r?(l?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},function(e,t,n){var r=n(104),o=n(4),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(26),o=n(8),i=n(5),a=n(97),u=RegExp.prototype,l=u.toString,c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),s="toString"!=l.name;(c||s)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(187)},function(e,t,n){"use strict";var r=n(7),o=n(4),i=n(27),a=n(49),u=n(10),l=n(64),c=n(101),s=n(5),f=n(9),p=n(74),d=n(11),h=n(8),m=n(23),v=n(20),y=n(51),g=n(34),b=n(68),w=n(67),E=n(72),x=n(197),S=n(88),T=n(45),O=n(12),k=n(77),_=n(14),P=n(26),F=n(61),C=n(52),j=n(44),R=n(63),D=n(6),A=n(159),L=n(160),N=n(89),I=n(47),M=n(48).forEach,U=C("hidden"),q=D("toPrimitive"),z=I.set,H=I.getterFor("Symbol"),G=Object.prototype,B=o.Symbol,$=i("JSON","stringify"),V=T.f,W=O.f,K=x.f,Q=k.f,X=F("symbols"),Y=F("op-symbols"),J=F("string-to-symbol-registry"),Z=F("symbol-to-string-registry"),ee=F("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=u&&s((function(){return 7!=b(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(G,t);r&&delete G[t],W(e,t,n),r&&e!==G&&W(G,t,r)}:W,oe=function(e,t){var n=X[e]=b(B.prototype);return z(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof B},ae=function(e,t,n){e===G&&ae(Y,t,n),h(e);var r=y(t,!0);return h(n),f(X,r)?(n.enumerable?(f(e,U)&&e[U][r]&&(e[U][r]=!1),n=b(n,{enumerable:g(0,!1)})):(f(e,U)||W(e,U,g(1,{})),e[U][r]=!0),re(e,r,n)):W(e,r,n)},ue=function(e,t){h(e);var n=v(t),r=w(n).concat(fe(n));return M(r,(function(t){u&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=y(e,!0),n=Q.call(this,t);return!(this===G&&f(X,t)&&!f(Y,t))&&(!(n||!f(this,t)||!f(X,t)||f(this,U)&&this[U][t])||n)},ce=function(e,t){var n=v(e),r=y(t,!0);if(n!==G||!f(X,r)||f(Y,r)){var o=V(n,r);return!o||!f(X,r)||f(n,U)&&n[U][r]||(o.enumerable=!0),o}},se=function(e){var t=K(v(e)),n=[];return M(t,(function(e){f(X,e)||f(j,e)||n.push(e)})),n},fe=function(e){var t=e===G,n=K(t?Y:v(e)),r=[];return M(n,(function(e){!f(X,e)||t&&!f(G,e)||r.push(X[e])})),r};(l||(P((B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function(e){this===G&&n.call(Y,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),re(this,t,g(1,e))};return u&&ne&&re(G,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return H(this).tag})),P(B,"withoutSetter",(function(e){return oe(R(e),e)})),k.f=le,O.f=ae,T.f=ce,E.f=x.f=se,S.f=fe,A.f=function(e){return oe(D(e),e)},u&&(W(B.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||P(G,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:B}),M(w(ee),(function(e){L(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(J,t))return J[t];var n=B(t);return J[t]=n,Z[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?b(e):ue(b(e),t)},defineProperty:ae,defineProperties:ue,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:se,getOwnPropertySymbols:fe}),r({target:"Object",stat:!0,forced:s((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(m(e))}}),$)&&r({target:"JSON",stat:!0,forced:!l||s((function(){var e=B();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(d(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,$.apply(null,o)}});B.prototype[q]||_(B.prototype,q,B.prototype.valueOf),N(B,"Symbol"),j[U]=!0},function(e,t,n){"use strict";var r=n(20),o=n(86),i=n(56),a=n(47),u=n(132),l=a.set,c=a.getterFor("Array Iterator");e.exports=u(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(10),o=n(5),i=n(9),a=Object.defineProperty,u={},l=function(e){throw e};e.exports=function(e,t){if(i(u,e))return u[e];t||(t={});var n=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,s=i(t,0)?t[0]:l,f=i(t,1)?t[1]:void 0;return u[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,s,f)}))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return u(c(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function u(e,t){var n,r,a,u,l,c,s,f,p,d=1,h=e.length,m="";for(r=0;r<h;r++)if("string"==typeof e[r])m+=e[r];else if("object"==typeof e[r]){if((u=e[r]).keys)for(n=t[d],a=0;a<u.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',u.keys[a],u.keys[a-1]));n=n[u.keys[a]]}else n=u.param_no?t[u.param_no]:t[d++];if(o.not_type.test(u.type)&&o.not_primitive.test(u.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(u.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(u.type)&&(f=n>=0),u.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,u.width?parseInt(u.width):0);break;case"e":n=u.precision?parseFloat(n).toExponential(u.precision):parseFloat(n).toExponential();break;case"f":n=u.precision?parseFloat(n).toFixed(u.precision):parseFloat(n);break;case"g":n=u.precision?String(Number(n.toPrecision(u.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=u.precision?n.substring(0,u.precision):n;break;case"t":n=String(!!n),n=u.precision?n.substring(0,u.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=u.precision?n.substring(0,u.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=u.precision?n.substring(0,u.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(u.type)?m+=n:(!o.number.test(u.type)||f&&!u.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),c=u.pad_char?"0"===u.pad_char?"0":u.pad_char.charAt(1):" ",s=u.width-(p+n).length,l=u.width&&s>0?c.repeat(s):"",m+=u.align?p+n+l:"0"===c?p+l+n:l+p+n)}return m}var l=Object.create(null);function c(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],u=t[2],c=[];if(null===(c=o.key.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(c[1]);""!==(u=u.substring(c[0].length));)if(null!==(c=o.key_access.exec(u)))a.push(c[1]);else{if(null===(c=o.index_access.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(c[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t,n){"use strict";var r=n(7),o=n(10),i=n(4),a=n(9),u=n(11),l=n(12).f,c=n(102),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var f={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new s(e):void 0===e?s():s(e);return""===e&&(f[t]=!0),t};c(p,s);var d=p.prototype=s.prototype;d.constructor=p;var h=d.toString,m="Symbol(test)"==String(s("test")),v=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var e=u(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(e,t,n){n(160)("iterator")},function(e,t,n){var r=n(4),o=n(162),i=n(32),a=n(14),u=n(6),l=u("iterator"),c=u("toStringTag"),s=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[l]!==s)try{a(d,l,s)}catch(e){d[l]=s}if(d[c]||a(d,c,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(e){d[h]=i[h]}}}},function(e,t,n){"use strict";var r=n(7),o=n(73);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";var r=n(7),o=n(48).map,i=n(90),a=n(33),u=i("map"),l=a("map");r({target:"Array",proto:!0,forced:!u||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t){e.exports={}},function(e,t,n){var r=n(10),o=n(77),i=n(34),a=n(20),u=n(51),l=n(9),c=n(76),s=Object.getOwnPropertyDescriptor;t.f=r?s:function(e,t){if(e=a(e),t=u(t,!0),c)try{return s(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],u=e&&o(e),l=t&&o(t),c=u||l;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var s=a[a.length-1];n="."===s||".."===s||""===s}else n=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(37);function s(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return k})),n.d(t,"d",(function(){return P})),n.d(t,"c",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return h}));var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function w(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),g||Object(c.a)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,u=a.forceRefresh,l=void 0!==u&&u,f=a.getUserConfirmation,v=void 0===f?b:f,E=a.keyLength,x=void 0===E?6:E,S=e.basename?d(s(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return S&&(i=p(i,S)),m(i,r,n)}function O(){return Math.random().toString(36).substr(2,x)}var k=y();function _(e){r(U,e),U.length=n.length,k.notifyListeners(U.location,U.action)}function P(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(T(e.state))}function F(){j(T(w()))}var C=!1;function j(e){if(C)C=!1,_();else{k.confirmTransitionTo(e,"POP",v,(function(t){t?_({action:"POP",location:e}):function(e){var t=U.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(C=!0,L(o))}(e)}))}}var R=T(w()),D=[R.key];function A(e){return S+h(e)}function L(e){n.go(e)}var N=0;function I(e){1===(N+=e)&&1===e?(window.addEventListener("popstate",P),i&&window.addEventListener("hashchange",F)):0===N&&(window.removeEventListener("popstate",P),i&&window.removeEventListener("hashchange",F))}var M=!1;var U={length:n.length,action:"POP",location:R,createHref:A,push:function(e,t){var r=m(e,t,O(),U.location);k.confirmTransitionTo(r,"PUSH",v,(function(e){if(e){var t=A(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var u=D.indexOf(U.location.key),c=D.slice(0,u+1);c.push(r.key),D=c,_({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,O(),U.location);k.confirmTransitionTo(r,"REPLACE",v,(function(e){if(e){var t=A(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var u=D.indexOf(U.location.key);-1!==u&&(D[u]=r.key),_({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}var x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function T(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(S(window.location.href)+"#"+e)}function k(e){void 0===e&&(e={}),g||Object(c.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,u=void 0===a?"slash":a,l=e.basename?d(s(e.basename)):"",f=x[u],v=f.encodePath,w=f.decodePath;function E(){var e=w(T());return l&&(e=p(e,l)),m(e)}var k=y();function _(e){r(U,e),U.length=t.length,k.notifyListeners(U.location,U.action)}var P=!1,F=null;function C(){var e,t,n=T(),r=v(n);if(n!==r)O(r);else{var o=E(),a=U.location;if(!P&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(F===h(o))return;F=null,function(e){if(P)P=!1,_();else{k.confirmTransitionTo(e,"POP",i,(function(t){t?_({action:"POP",location:e}):function(e){var t=U.location,n=A.lastIndexOf(h(t));-1===n&&(n=0);var r=A.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(P=!0,L(o))}(e)}))}}(o)}}var j=T(),R=v(j);j!==R&&O(R);var D=E(),A=[h(D)];function L(e){t.go(e)}var N=0;function I(e){1===(N+=e)&&1===e?window.addEventListener("hashchange",C):0===N&&window.removeEventListener("hashchange",C)}var M=!1;var U={length:t.length,action:"POP",location:D,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(l+h(e))},push:function(e,t){var n=m(e,void 0,void 0,U.location);k.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=v(l+t);if(T()!==r){F=t,function(e){window.location.hash=e}(r);var o=A.lastIndexOf(h(U.location)),i=A.slice(0,o+1);i.push(t),A=i,_({action:"PUSH",location:n})}else _()}}))},replace:function(e,t){var n=m(e,void 0,void 0,U.location);k.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=v(l+t);T()!==r&&(F=t,O(r));var o=A.indexOf(h(U.location));-1!==o&&(A[o]=t),_({action:"REPLACE",location:n})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}function _(e,t,n){return Math.min(Math.max(e,t),n)}function P(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,u=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,s=y();function f(e){r(w,e),w.length=w.entries.length,s.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var d=_(u,0,i.length-1),v=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),g=h;function b(e){var t=_(w.index+e,0,w.entries.length-1),r=w.entries[t];s.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[d],index:d,entries:v,createHref:g,push:function(e,t){var r=m(e,t,p(),w.location);s.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,p(),w.location);s.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return w}},function(e,t,n){var r,o,i,a=n(114),u=n(4),l=n(11),c=n(14),s=n(9),f=n(52),p=n(44),d=u.WeakMap;if(a){var h=new d,m=h.get,v=h.has,y=h.set;r=function(e,t){return y.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var g=f("state");p[g]=!0,r=function(e,t){return c(e,g,t),t},o=function(e){return s(e,g)?e[g]:{}},i=function(e){return s(e,g)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(66),o=n(59),i=n(23),a=n(21),u=n(107),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,s=4==e,f=6==e,p=5==e||f;return function(d,h,m,v){for(var y,g,b=i(d),w=o(b),E=r(h,m,3),x=a(w.length),S=0,T=v||u,O=t?T(d,x):n?T(d,0):void 0;x>S;S++)if((p||S in w)&&(g=E(y=w[S],S,b),e))if(t)O[S]=g;else if(g)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:l.call(O,y)}else if(s)return!1;return f?-1:c||s?s:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(e,t){e.exports=!1},function(e,t,n){var r=n(4),o=n(14);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(61),o=n(63),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));n(120);
|
2 |
/**
|
3 |
* @package Gravity PDF
|
4 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
5 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
6 |
* @since 6.0
|
7 |
*/
|
8 |
+
function r(e,t){var n=document.querySelector(".update-font");if(t){var r=e.location.pathname;return r.substr(r.lastIndexOf("/")+1)===t?o(n,e):i(n,e,t)}return o(n,e)}function o(e,t){if(e.classList.remove("show"),"/fontmanager/"!==t.location.pathname)return t.push("/fontmanager/")}function i(e,t,n){return e.classList.add("show"),t.push("/fontmanager/"+n)}},function(e,t,n){var r=n(7),o=n(144);r({target:"Array",stat:!0,forced:!n(130)((function(e){Array.from(e)}))},{from:o})},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(7),o=n(5),i=n(74),a=n(11),u=n(23),l=n(21),c=n(108),s=n(107),f=n(90),p=n(6),d=n(115),h=p("isConcatSpreadable"),m=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),v=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,o,i,a=u(this),f=s(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,p++,i)}return f.length=p,f}})},function(e,t,n){"use strict";var r=n(7),o=n(48).filter,i=n(90),a=n(33),u=i("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!u||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(5),o=n(24),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){"use strict";var r=n(16);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=n(0),a=n.n(i),u=n(46);n(1);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var s=n(37);n.d(t,"a",(function(){return f}));a.a.Component;var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(u.b)(t.props),t}return o(t,e),t.prototype.render=function(){return a.a.createElement(r.b,{history:this.history,children:this.props.children})},t}(a.a.Component);var p=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?Object(u.c)(e,null,null,t):e},h=function(e){return e},m=a.a.forwardRef;void 0===m&&(m=h);var v=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=c(e,["innerRef","navigate","onClick"]),u=i.target,s=l({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return s.ref=h!==m&&t||n,a.a.createElement("a",s)}));var y=m((function(e,t){var n=e.component,o=void 0===n?v:n,i=e.replace,u=e.to,f=e.innerRef,y=c(e,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(s.a)(!1);var n=e.history,r=d(p(u,e.location),e.location),c=r?n.createHref(r):"",v=l({},y,{href:c,navigate:function(){var t=p(u,e.location);(i?n.replace:n.push)(t)}});return h!==m?v.ref=t||f:v.innerRef=f,a.a.createElement(o,v)}))})),g=function(e){return e},b=a.a.forwardRef;void 0===b&&(b=g);b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,f=e.activeStyle,h=e.className,m=e.exact,v=e.isActive,w=e.location,E=e.sensitive,x=e.strict,S=e.style,T=e.to,O=e.innerRef,k=c(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(s.a)(!1);var n=w||e.location,i=d(p(T,n),n),c=i.pathname,_=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=_?Object(r.e)(n.pathname,{path:_,exact:m,sensitive:E,strict:x}):null,F=!!(v?v(P,n):P),C=F?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,u):h,j=F?l({},S,{},f):S,R=l({"aria-current":F&&o||null,className:C,style:j,to:i},k);return g!==b?R.ref=t||O:R.innerRef=O,a.a.createElement(y,R)}))}))},function(e,t,n){var r=n(49),o=n(75);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(4),o=n(11),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(5);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(75),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(78),o=n(53);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r,o=n(8),i=n(118),a=n(53),u=n(44),l=n(106),c=n(62),s=n(52),f=s("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};u[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[f]=e):n=h(),void 0===t?n:i(n,t)}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;(l=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){var r=n(10),o=n(12).f,i=Function.prototype,a=i.toString,u=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},function(e,t,n){var r=n(78),o=n(53).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r,o,i=n(97),a=n(124),u=RegExp.prototype.exec,l=String.prototype.replace,c=u,s=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(s||p||f)&&(c=function(e){var t,n,r,o,a=this,c=f&&a.sticky,d=i.call(a),h=a.source,m=0,v=e;return c&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",d)),p&&(n=new RegExp("^"+h+"$(?!\\s)",d)),s&&(t=a.lastIndex),r=u.call(c?n:a,v),c?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:s&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),p&&r&&r.length>1&&l.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(4),o=n(50),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(10),o=n(5),i=n(62);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(9),o=n(20),i=n(96).indexOf,a=n(44);e.exports=function(e,t){var n,u=o(e),l=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return i})),n.d(t,"applyMiddleware",(function(){return v})),n.d(t,"bindActionCreators",(function(){return f})),n.d(t,"combineReducers",(function(){return c})),n.d(t,"compose",(function(){return m})),n.d(t,"createStore",(function(){return u}));var r=n(110),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var l=e,c=t,s=[],f=s,p=!1;function d(){f===s&&(f=s.slice())}function h(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return d(),f.push(e),function(){if(t){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,d();var n=f.indexOf(e);f.splice(n,1)}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=l(c,e)}finally{p=!1}for(var t=s=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,v({type:i.REPLACE})}function g(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e}return v({type:i.INIT}),(o={dispatch:v,subscribe:m,getState:h,replaceReducer:y})[r.a]=g,o}function l(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},i=0;i<u.length;i++){var c=u[i],s=n[c],f=e[c],p=s(f,t);if(void 0===p){var d=l(c,t);throw new Error(d)}o[c]=p,r=r||p!==f}return r?o:e}}function s(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return s(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=s(o,t))}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return h({},n,{dispatch:r=m.apply(void 0,i)(n.dispatch)})}}}},function(e,t,n){var r=n(7),o=n(5),i=n(23),a=n(109),u=n(133);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){var r=n(7),o=n(27),i=n(43),a=n(8),u=n(11),l=n(68),c=n(205),s=n(5),f=o("Reflect","construct"),p=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!s((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,s=l(u(o)?o:Object.prototype),h=Function.apply.call(e,s,t);return u(h)?h:s}})},function(e,t,n){"use strict";var r=n(7),o=n(161);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(4),o=n(162),i=n(161),a=n(14);for(var u in o){var l=r[u],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(5),o=/#|\.prototype\./,i=function(e,t){var n=u[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(6),o=n(68),i=n(12),a=r("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},function(e,t,n){"use strict";var r,o,i,a,u=n(7),l=n(49),c=n(4),s=n(27),f=n(177),p=n(26),d=n(178),h=n(89),m=n(141),v=n(11),y=n(43),g=n(179),b=n(24),w=n(65),E=n(180),x=n(130),S=n(142),T=n(154).set,O=n(181),k=n(182),_=n(183),P=n(156),F=n(184),C=n(47),j=n(85),R=n(6),D=n(115),A=R("species"),L="Promise",N=C.get,I=C.set,M=C.getterFor(L),U=f,q=c.TypeError,z=c.document,H=c.process,G=s("fetch"),B=P.f,$=B,V="process"==b(H),W=!!(z&&z.createEvent&&c.dispatchEvent),K=j(L,(function(){if(!(w(U)!==String(U))){if(66===D)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype.finally)return!0;if(D>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[A]=t,!(e.then((function(){}))instanceof t)})),Q=K||!x((function(e){U.all(e).catch((function(){}))})),X=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Y=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;O((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,l,c,s=r[a++],f=i?s.ok:s.fail,p=s.resolve,d=s.reject,h=s.domain;try{f?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),c=!0)),u===s.promise?d(q("Promise-chain cycle")):(l=X(u))?l.call(u,p,d):p(u)):d(o)}catch(e){h&&!c&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Z(e,t)}))}},J=function(e,t,n){var r,o;W?((r=z.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(o=c["on"+e])?o(r):"unhandledrejection"===e&&_("Unhandled promise rejection",n)},Z=function(e,t){T.call(c,(function(){var n,r=t.value;if(ee(t)&&(n=F((function(){V?H.emit("unhandledRejection",r,e):J("unhandledrejection",e,r)})),t.rejection=V||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){T.call(c,(function(){V?H.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,Y(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw q("Promise can't be resolved itself");var o=X(n);o?O((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,Y(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};K&&(U=function(e){g(this,U,L),y(e),r.call(this);var t=N(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){I(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(U.prototype,{then:function(e,t){var n=M(this),r=B(S(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=V?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Y(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},P.f=B=function(e){return e===U||e===i?new o(e):$(e)},l||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,G.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:K},{Promise:U}),h(U,L,!1,!0),m(L),i=s(L),u({target:L,stat:!0,forced:K},{reject:function(e){var t=B(this);return t.reject.call(void 0,e),t.promise}}),u({target:L,stat:!0,forced:l||K},{resolve:function(e){return k(l&&this===i?U:this,e)}}),u({target:L,stat:!0,forced:Q},{all:function(e){var t=this,n=B(t),r=n.resolve,o=n.reject,i=F((function(){var n=y(t.resolve),i=[],a=0,u=1;E(e,(function(e){var l=a++,c=!1;i.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,i[l]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=B(t),r=n.reject,o=F((function(){var o=y(t.resolve);E(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12).f,o=n(9),i=n(6)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(5),o=n(6),i=n(115),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r;"undefined"!=typeof window?r=window:"undefined"!=typeof self?r=self:(console.warn("Using browser-only version of superagent in non-browser environment"),r=this);var o=n(192),i=n(193),a=n(158),u=n(194),l=n(196);function c(){}var s=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=y,s.getXHR=function(){if(!(!r.XMLHttpRequest||r.location&&"file:"==r.location.protocol&&r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only version of superagent could not find XHR")};var f="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function p(e){if(!a(e))return e;var t=[];for(var n in e)d(t,n,e[n]);return t.join("&")}function d(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach((function(n){d(e,t,n)}));else if(a(n))for(var r in n)d(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function h(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)-1==(n=(t=o[i]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function m(e){return/[\/+]json($|[^-\w])/.test(e)}function v(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=function(e){for(var t,n,r,o,i=e.split(/\r?\n/),a={},u=0,l=i.length;u<l;++u)-1!==(t=(n=i[u]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),o=f(n.slice(t+1)),a[r]=o);return a}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function y(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new v(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function g(e,t,n){var r=s("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}s.serializeObject=p,s.parseString=h,s.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},s.serialize={"application/x-www-form-urlencoded":p,"application/json":JSON.stringify},s.parse={"application/x-www-form-urlencoded":h,"application/json":JSON.parse},u(v.prototype),v.prototype._parseBody=function(e){var t=s.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&m(this.type)&&(t=s.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},v.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},s.Response=v,o(y.prototype),i(y.prototype),y.prototype.type=function(e){return this.set("Content-Type",s.types[e]||e),this},y.prototype.accept=function(e){return this.set("Accept",s.types[e]||e),this},y.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});var r=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,r)},y.prototype.query=function(e){return"string"!=typeof e&&(e=p(e)),e&&this._query.push(e),this},y.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},y.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},y.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},y.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},y.prototype.buffer=y.prototype.ca=y.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},y.prototype.pipe=y.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},y.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},y.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||c,this._finalizeQueryString(),this._end()},y.prototype._end=function(){var e=this,t=this.xhr=s.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||s.serialize[o?o.split(";")[0]:""];!i&&m(o)&&(i=s.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0!==n?n:null),this},s.agent=function(){return new l},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){l.prototype[e.toLowerCase()]=function(t,n){var r=new s.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),l.prototype.del=l.prototype.delete,s.get=function(e,t,n){var r=s("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},s.head=function(e,t,n){var r=s("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},s.options=function(e,t,n){var r=s("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.del=g,s.delete=g,s.patch=function(e,t,n){var r=s("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.post=function(e,t,n){var r=s("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.put=function(e,t,n){var r=s("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){var r=n(7),o=n(23),i=n(67);r({target:"Object",stat:!0,forced:n(5)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(23),a=n(21),u=n(35),l=n(22),c=n(112),s=n(99),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(n,r){var o=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!v&&y||"string"==typeof r&&-1===r.indexOf(g)){var i=n(t,e,this,r);if(i.done)return i.value}var l=o(e),d=String(this),h="function"==typeof r;h||(r=String(r));var m=l.global;if(m){var w=l.unicode;l.lastIndex=0}for(var E=[];;){var x=s(l,d);if(null===x)break;if(E.push(x),!m)break;""===String(x[0])&&(l.lastIndex=c(d,a(l.lastIndex),w))}for(var S,T="",O=0,k=0;k<E.length;k++){x=E[k];for(var _=String(x[0]),P=f(p(u(x.index),d.length),0),F=[],C=1;C<x.length;C++)F.push(void 0===(S=x[C])?S:String(S));var j=x.groups;if(h){var R=[_].concat(F,P,d);void 0!==j&&R.push(j);var D=String(r.apply(void 0,R))}else D=b(_,d,P,F,j,r);P>=O&&(T+=d.slice(O,P)+D,O=P+_.length)}return T+d.slice(O)}];function b(e,n,r,o,a,u){var l=r+e.length,c=o.length,s=m;return void 0!==a&&(a=i(a),s=h),t.call(u,s,(function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=a[i.slice(1,-1)];break;default:var s=+i;if(0===s)return t;if(s>c){var f=d(s/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[s-1]}return void 0===u?"":u}))}}))},function(e,t,n){var r=n(7),o=n(5),i=n(20),a=n(45).f,u=n(10),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!u||l,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(7),o=n(10),i=n(103),a=n(20),u=n(45),l=n(108);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,c=i(r),s={},f=0;c.length>f;)void 0!==(n=o(r,t=c[f++]))&&l(s,t,n);return s}})},function(e,t,n){var r=n(20),o=n(21),i=n(105),a=function(e){return function(t,n,a){var u,l=r(t),c=o(l.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var r=n(8);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";n(41);var r=n(26),o=n(5),i=n(6),a=n(73),u=n(14),l=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),s="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!v||"replace"===e&&(!c||!s||p)||"split"===e&&!d){var y=/./[h],g=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},function(e,t,n){var r=n(24),o=n(73);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";var r=n(7),o=n(11),i=n(74),a=n(105),u=n(21),l=n(20),c=n(108),s=n(6),f=n(90),p=n(33),d=f("slice"),h=p("slice",{ACCESSORS:!0,0:0,1:2}),m=s("species"),v=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var n,r,s,f=l(this),p=u(f.length),d=a(e,p),h=a(void 0===t?p:t,p);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(f,d,h);for(r=new(void 0===n?Array:n)(y(h-d,0)),s=0;d<h;d++,s++)d in f&&c(r,s,f[d]);return r.length=s,r}})},function(e,t,n){var r=n(64);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(9),o=n(103),i=n(45),a=n(12);e.exports=function(e,t){for(var n=o(t),u=a.f,l=i.f,c=0;c<n.length;c++){var s=n[c];r(e,s)||u(e,s,l(t,s))}}},function(e,t,n){var r=n(27),o=n(72),i=n(88),a=n(8);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(4);e.exports=r},function(e,t,n){var r=n(35),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(27);e.exports=r("document","documentElement")},function(e,t,n){var r=n(11),o=n(74),i=n(6)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var r=n(51),o=n(12),i=n(34);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(9),o=n(23),i=n(52),a=n(133),u=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";(function(e,r){var o,i=n(169);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(84),n(191)(e))},function(e,t,n){var r=n(7),o=n(185);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(117).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r={};r[n(6)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(4),o=n(65),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r,o,i=n(4),a=n(131),u=i.process,l=u&&u.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=w(a,n);if(u){if(u===s)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var s={};function f(){}function p(){}function d(){}var h={};h[o]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(T([])));v&&v!==t&&n.call(v,o)&&(h=v);var y=d.prototype=f.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,u){var l=c(e[o],e,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(l.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=y.constructor=d,d.constructor=p,p.displayName=u(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},g(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(y),u(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(35),o=n(22),i=function(e){return function(t,n){var i,a,u=String(o(t)),l=r(n),c=u.length;return l<0||l>=c?e?"":void 0:(i=u.charCodeAt(l))<55296||i>56319||l+1===c||(a=u.charCodeAt(l+1))<56320||a>57343?e?u.charAt(l):i:e?u.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){var r=n(10),o=n(12),i=n(8),a=n(67);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,l=0;u>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){"use strict";var r,o,i,a=n(109),u=n(14),l=n(9),c=n(6),s=n(49),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),s||l(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(7),o=n(200);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));n(55),n(42),n(25);function r(e,t){var n=Array.from(e);n.pop(),n.map((function(e,n){"none"!==e.style.display&&(e.querySelector(".gform-settings-panel__collapsible-toggle-checkbox").addEventListener("click",(function(){o(e,t,n)})),o(e,t,n,"firstLoad"))}))}function o(e,t,n,r){var o="submit-container-"+n;if(!e.classList.contains("gform-settings-panel--collapsed")){var i=t.querySelector("#submit").cloneNode(!0);i.setAttribute("id","submit_"+n);var a=document.createElement("div");return a.setAttribute("class",o),a.innerHTML=i.outerHTML,e.parentNode.insertBefore(a,e.nextSibling)}r||document.querySelector(".".concat(o)).remove()}},function(e,t,n){"use strict";var r=n(137),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=l(t),m=l(n),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||r&&r[y]||m&&m[y]||u&&u[y])){var g=p(n,y);try{c(t,y,g)}catch(e){}}}}return t}},function(e,t,n){var r=n(11),o=n(24),i=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(5);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(8),o=n(146);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(113),o=n(24),i=n(6)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(6),o=n(56),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(126),o=n(56),i=n(6)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(8);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(6)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(27);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(7),o=n(145),i=n(109),a=n(125),u=n(89),l=n(14),c=n(26),s=n(6),f=n(49),p=n(56),d=n(119),h=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,v=s("iterator"),y=function(){return this};e.exports=function(e,t,n,s,d,g,b){o(n,t,s);var w,E,x,S=function(e){if(e===d&&P)return P;if(!m&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",O=!1,k=e.prototype,_=k[v]||k["@@iterator"]||d&&k[d],P=!m&&_||S(d),F="Array"==t&&k.entries||_;if(F&&(w=i(F.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[v]&&l(w,v,y)),u(w,T,!0,!0),f&&(p[T]=y))),"values"==d&&_&&"values"!==_.name&&(O=!0,P=function(){return _.call(this)}),f&&!b||k[v]===P||l(k,v,P),p[t]=P,d)if(E={values:S("values"),keys:g?P:S("keys"),entries:S("entries")},b)for(x in E)(m||O||!(x in k))&&c(k,x,E[x]);else r({target:t,proto:!0,forced:m||O},E);return E}},function(e,t,n){var r=n(5);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";var r=n(7),o=n(96).includes,i=n(86);r({target:"Array",proto:!0,forced:!n(33)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(7),o=n(163);r({target:"String",proto:!0,forced:n(164)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(7),o=n(163);r({target:"String",proto:!0,forced:n(164)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";e.exports=n(203)},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=function(e){var t=e.style;return o.a.createElement("img",{alt:GFPDF.spinnerAlt,src:GFPDF.spinnerUrl,className:"gfpdf-spinner "+t})};a.propTypes={style:n.n(i).a.string},t.a=a},function(e,t,n){"use strict";var r=n(190).get;function o(e,t){return e===t}e.exports=function(e,t,n){n=n||o;var i=r(e(),t);return function(o){return function(){var a=r(e(),t);if(!n(i,a)){var u=i;i=a,o(a,u,t)}}}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var r=n(27),o=n(12),i=n(6),a=n(10),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(8),o=n(43),i=n(6)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},,function(e,t,n){"use strict";var r=n(66),o=n(23),i=n(129),a=n(127),u=n(21),l=n(108),c=n(128);e.exports=function(e){var t,n,s,f,p,d,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,g=void 0!==y,b=c(h),w=0;if(g&&(y=r(y,v>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=u(h.length));t>w;w++)d=g?y(h[w],w):h[w],l(n,w,d);else for(p=(f=b.call(h)).next,n=new m;!(s=p.call(f)).done;w++)d=g?i(f,y,[s.value,w],!0):s.value,l(n,w,d);return n.length=w,n}},function(e,t,n){"use strict";var r=n(119).IteratorPrototype,o=n(68),i=n(34),a=n(89),u=n(56),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),u[c]=l,e}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(7),o=n(198),i=n(22);r({target:"String",proto:!0,forced:!n(199)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t){const n=e=>void 0===e,r=e=>Array.isArray(e),o=e=>e&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.slice,i=(e,t,a,u)=>((t=t||{}).indices=!n(t.indices)&&t.indices,t.nullsAsUndefineds=!n(t.nullsAsUndefineds)&&t.nullsAsUndefineds,t.booleansAsIntegers=!n(t.booleansAsIntegers)&&t.booleansAsIntegers,t.allowEmptyArrays=!n(t.allowEmptyArrays)&&t.allowEmptyArrays,a=a||new FormData,n(e)||(null===e?t.nullsAsUndefineds||a.append(u,""):(e=>"boolean"==typeof e)(e)?t.booleansAsIntegers?a.append(u,e?1:0):a.append(u,e):r(e)?e.length?e.forEach((e,n)=>{const r=u+"["+(t.indices?n:"")+"]";i(e,t,a,r)}):t.allowEmptyArrays&&a.append(u+"[]",""):(e=>e instanceof Date)(e)?a.append(u,e.toISOString()):!(e=>e===Object(e))(e)||(e=>o(e)&&"string"==typeof e.name&&("object"==typeof e.lastModifiedDate||"number"==typeof e.lastModified))(e)||o(e)?a.append(u,e):Object.keys(e).forEach(n=>{const o=e[n];if(r(o))for(;n.length>2&&n.lastIndexOf("[]")===n.length-2;)n=n.substring(0,n.length-2);i(o,t,a,u?u+"["+n+"]":n)})),a);e.exports={serialize:i}},function(e,t,n){"use strict";(function(e){var r=n(0),o=n.n(r),i=n(150),a=n(1),u=n.n(a),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var s=o.a.createContext||function(e,t){var n,o,a,s="__create-react-context-"+((l[a="__global_unique_id__"]=(l[a]||0)+1)+"__"),f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[s]=u.a.object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},r.getValue=function(){return this.context[s]?this.context[s].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((o={})[s]=u.a.object,o),{Provider:f,Consumer:p}};t.a=s}).call(this,n(84))},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(204);e.exports=d,e.exports.parse=i,e.exports.compile=function(e,t){return u(i(e,t),t)},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,u="",s=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(u+=e.slice(a,d),a=d+f.length,p)u+=p[1];else{var h=e[a],m=n[2],v=n[3],y=n[4],g=n[5],b=n[6],w=n[7];u&&(r.push(u),u="");var E=null!=m&&null!=h&&h!==m,x="+"===b||"*"===b,S="?"===b||"*"===b,T=n[2]||s,O=y||g;r.push({name:v||i++,prefix:m||"",delimiter:T,optional:S,repeat:x,partial:E,asterisk:!!w,pattern:O?c(O):w?".*":"[^"+l(T)+"]+?"})}}return a<e.length&&(u+=e.substr(a)),u&&r.push(u),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",u=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var s=e[c];if("string"!=typeof s){var f,p=u[s.name];if(null==p){if(s.optional){s.partial&&(i+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(r(p)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var d=0;d<p.length;d++){if(f=l(p[d]),!n[c].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===d?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!n[c].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');i+=s.prefix+f}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",u=0;u<e.length;u++){var c=e[u];if("string"==typeof c)a+=l(c);else{var p=l(c.prefix),d="(?:"+c.pattern+")";t.push(c),c.repeat&&(d+="(?:"+p+d+")*"),a+=d=c.optional?c.partial?p+"("+d+")?":"(?:"+p+"("+d+"))?":p+"("+d+")"}}var h=l(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",s(new RegExp("^"+a,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(d(e[o],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(22),a=n(206),u=n(99);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var s=u(i,l);return a(i.lastIndex,c)||(i.lastIndex=c),null===s?-1:s.index}]}))},function(e,t,n){var r=n(7),o=n(207).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r,o,i,a=n(4),u=n(5),l=n(24),c=n(66),s=n(106),f=n(62),p=n(155),d=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},E=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},x=function(e){return function(){E(e)}},S=function(e){E(e.data)},T=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},"process"==l(v)?r=function(e){v.nextTick(x(e))}:g&&g.now?r=function(e){g.now(x(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=S,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(T)||"file:"===d.protocol?r="onreadystatechange"in f("script")?function(e){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}:(r=T,a.addEventListener("message",S,!1))),e.exports={set:h,clear:m}},function(e,t,n){var r=n(131);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(43),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";
|
9 |
/*
|
10 |
object-assign
|
11 |
(c) Sindre Sorhus
|
12 |
@license MIT
|
13 |
+
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,l=a(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))o.call(n,s)&&(l[s]=n[s]);if(r){u=r(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(l[u[f]]=n[u[f]])}}return l}},function(e,t,n){"use strict";e.exports=function(e){return null!==e&&"object"==typeof e}},function(e,t,n){var r=n(6);t.f=r},function(e,t,n){var r=n(104),o=n(9),i=n(159),a=n(12).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(48).forEach,o=n(140),i=n(33),a=o("forEach"),u=i("forEach");e.exports=a&&u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(22),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(i).replace(o,""")+'"'),u+">"+a+"</"+t+">"}},function(e,t,n){var r=n(5);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},,function(e,t,n){"use strict";var r=n(0),o=n.n(r);function i(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function u(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}l((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}var l=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function c(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=l.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var s=[".DS_Store","Thumbs.db"];function f(e){return(null!==e.target&&e.target.files?h(e.target.files):[]).map((function(e){return c(e)}))}function p(e,t){return i(this,void 0,void 0,(function(){var n;return a(this,(function(r){switch(r.label){case 0:return e.items?(n=h(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(m))]):[3,2];case 1:return[2,d(v(r.sent()))];case 2:return[2,d(h(e.files).map((function(e){return c(e)})))]}}))}))}function d(e){return e.filter((function(e){return-1===s.indexOf(e.name)}))}function h(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function m(e){if("function"!=typeof e.webkitGetAsEntry)return y(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?b(t):y(e)}function v(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}(e,Array.isArray(t)?v(t):[t])}),[])}function y(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=c(t);return Promise.resolve(n)}function g(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,e.isDirectory?b(e):w(e)]}))}))}function b(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var u=this;t.readEntries((function(t){return i(u,void 0,void 0,(function(){var i,u,l;return a(this,(function(a){switch(a.label){case 0:if(t.length)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=a.sent(),e(i),[3,4];case 3:return u=a.sent(),n(u),[3,4];case 4:return[3,6];case 5:l=Promise.all(t.map(g)),r.push(l),o(),a.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function w(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=c(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var E=n(1),x=n.n(E),S=n(170),T=n.n(S),O=("function"==typeof Symbol&&Symbol.iterator,"undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"));function k(e,t){return"application/x-moz-file"===e.type||T()(e,t)}function _(e,t,n){return e.size<=t&&e.size>=n}function P(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function F(e){return void 0!==e.defaultPrevented?e.defaultPrevented:"function"==typeof e.isDefaultPrevented&&e.isDefaultPrevented()}function C(e){return!e.dataTransfer||Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e}))}function j(e){e.preventDefault()}function R(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function D(e){return-1!==e.indexOf("Edge/")}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return R(e)||D(e)}function L(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.defaultPrevented}))}}var N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var G=function(e){function t(){var e,n,r;z(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=H(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},r.isFileDialogActive=!1,r.onDocumentDrop=function(e){r.node&&r.node.contains(e.target)||(e.preventDefault(),r.dragTargets=[])},r.onDragStart=function(e){e.persist(),r.props.onDragStart&&C(e)&&r.props.onDragStart.call(r,e)},r.onDragEnter=function(e){e.preventDefault(),-1===r.dragTargets.indexOf(e.target)&&r.dragTargets.push(e.target),e.persist(),C(e)&&(Promise.resolve(r.props.getDataTransferItems(e)).then((function(t){P(e)||r.setState({draggedFiles:t,isDragActive:!0})})),r.props.onDragEnter&&r.props.onDragEnter.call(r,e))},r.onDragOver=function(e){return e.preventDefault(),e.persist(),e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),r.props.onDragOver&&C(e)&&r.props.onDragOver.call(r,e),!1},r.onDragLeave=function(e){e.preventDefault(),e.persist(),r.dragTargets=r.dragTargets.filter((function(t){return t!==e.target&&r.node.contains(t)})),r.dragTargets.length>0||(r.setState({isDragActive:!1,draggedFiles:[]}),r.props.onDragLeave&&C(e)&&r.props.onDragLeave.call(r,e))},r.onDrop=function(e){var t=r.props,n=t.onDrop,o=t.onDropAccepted,i=t.onDropRejected,a=t.multiple,u=t.accept,l=t.getDataTransferItems;e.preventDefault(),e.persist(),r.dragTargets=[],r.isFileDialogActive=!1,r.draggedFiles=null,r.setState({isDragActive:!1,draggedFiles:[]}),C(e)&&Promise.resolve(l(e)).then((function(t){var l=[],c=[];P(e)||(t.forEach((function(e){k(e,u)&&_(e,r.props.maxSize,r.props.minSize)?l.push(e):c.push(e)})),!a&&l.length>1&&c.push.apply(c,q(l.splice(0))),r.setState({acceptedFiles:l,rejectedFiles:c},(function(){n&&n.call(r,l,c,e),c.length>0&&i&&i.call(r,c,e),l.length>0&&o&&o.call(r,l,e)})))}))},r.onClick=function(e){var t=r.props.onClick;t&&t.call(r,e),F(e)||(e.stopPropagation(),A()?setTimeout(r.open,0):r.open())},r.onInputElementClick=function(e){e.stopPropagation()},r.onFileDialogCancel=function(){var e=r.props.onFileDialogCancel;r.isFileDialogActive&&setTimeout((function(){null!=r.input&&(r.input.files.length||(r.isFileDialogActive=!1,"function"==typeof e&&e()))}),300)},r.onFocus=function(e){var t=r.props.onFocus;t&&t.call(r,e),F(e)||r.setState({isFocused:!0})},r.onBlur=function(e){var t=r.props.onBlur;t&&t.call(r,e),F(e)||r.setState({isFocused:!1})},r.onKeyDown=function(e){var t=r.props.onKeyDown;r.node.isEqualNode(e.target)&&(t&&t.call(r,e),F(e)||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),r.open()))},r.composeHandler=function(e){return r.props.disabled?null:e},r.getRootProps=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.refKey,o=void 0===n?"ref":n,i=t.onKeyDown,a=t.onFocus,u=t.onBlur,l=t.onClick,c=t.onDragStart,s=t.onDragEnter,f=t.onDragOver,p=t.onDragLeave,d=t.onDrop,h=U(t,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragStart","onDragEnter","onDragOver","onDragLeave","onDrop"]);return N((M(e={onKeyDown:r.composeHandler(i?L(i,r.onKeyDown):r.onKeyDown),onFocus:r.composeHandler(a?L(a,r.onFocus):r.onFocus),onBlur:r.composeHandler(u?L(u,r.onBlur):r.onBlur),onClick:r.composeHandler(l?L(l,r.onClick):r.onClick),onDragStart:r.composeHandler(c?L(c,r.onDragStart):r.onDragStart),onDragEnter:r.composeHandler(s?L(s,r.onDragEnter):r.onDragEnter),onDragOver:r.composeHandler(f?L(f,r.onDragOver):r.onDragOver),onDragLeave:r.composeHandler(p?L(p,r.onDragLeave):r.onDragLeave),onDrop:r.composeHandler(d?L(d,r.onDrop):r.onDrop)},o,r.setNodeRef),M(e,"tabIndex",r.props.disabled?-1:0),e),h)},r.getInputProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,o=e.onChange,i=e.onClick,a=U(e,["refKey","onChange","onClick"]),u=r.props,l=u.accept,c=u.multiple,s=u.name,f=M({accept:l,type:"file",style:{display:"none"},multiple:O&&c,onChange:L(o,r.onDrop),onClick:L(i,r.onInputElementClick),autoComplete:"off",tabIndex:-1},n,r.setInputRef);return s&&s.length&&(f.name=s),N({},f,a)},r.setNodeRef=function(e){r.node=e},r.setInputRef=function(e){r.input=e},r.open=function(){r.isFileDialogActive=!0,r.input&&(r.input.value=null,r.input.click())},H(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),I(t,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",j,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),window.addEventListener("focus",this.onFileDialogCancel,!1)}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",j),document.removeEventListener("drop",this.onDocumentDrop)),window.removeEventListener("focus",this.onFileDialogCancel,!1)}},{key:"render",value:function(){var e,t,n=this.props,r=n.children,o=n.multiple,i=n.disabled,a=this.state,u=a.isDragActive,l=a.isFocused,c=a.draggedFiles,s=a.acceptedFiles,f=a.rejectedFiles,p=c.length,d=o||p<=1,h=p>0&&(e=c,t=this.props.accept,e.every((function(e){return k(e,t)})));return r({isDragActive:u,isDragAccept:h,isDragReject:p>0&&(!h||!d),draggedFiles:c,acceptedFiles:s,rejectedFiles:f,isFocused:l&&!i,getRootProps:this.getRootProps,getInputProps:this.getInputProps,open:this.open})}}]),t}(o.a.Component);t.a=G;G.propTypes={accept:x.a.oneOfType([x.a.string,x.a.arrayOf(x.a.string)]),children:x.a.func,disabled:x.a.bool,preventDropOnDocument:x.a.bool,multiple:x.a.bool,name:x.a.string,maxSize:x.a.number,minSize:x.a.number,getDataTransferItems:x.a.func,onClick:x.a.func,onFocus:x.a.func,onBlur:x.a.func,onKeyDown:x.a.func,onDrop:x.a.func,onDropAccepted:x.a.func,onDropRejected:x.a.func,onDragStart:x.a.func,onDragEnter:x.a.func,onDragOver:x.a.func,onDragLeave:x.a.func,onFileDialogCancel:x.a.func},G.defaultProps={preventDropOnDocument:!0,disabled:!1,multiple:!0,maxSize:1/0,minSize:0,getDataTransferItems:function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?p(e.dataTransfer,e.type):f(e))];var n}))}))}}},function(e,t,n){"use strict";n(31),n(38),n(39),n(57),n(32),n(120),n(80),n(18),n(81),n(41),n(29),n(25),n(152),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(15),l=n(16),c=n(3);n(55),n(134),n(42);var s=n(54);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
* @since 6.0
|
19 |
*/var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(a,e);var t,n,r,i=m(a);function a(){var e;p(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(y(e=i.call.apply(i,[this].concat(n))),"handleKeyPress",(function(t){var n=e.props,r=n.id,o=n.history,i=n.clearAddFontMsg,a=n.msg,u=a.success,l=a.error;if(27===t.keyCode&&r)return(u&&u.addFont||l&&l.addFont)&&i(),Object(s.b)(o);27!==t.keyCode||"wp-filter-search"===t.target.className&&""!==t.target.value||e.handleCloseDialog()})),b(y(e),"handleCloseDialog",(function(){e.props.history.push(e.props.closeRoute||"/")})),e}return t=a,(n=[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyPress,!1)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.templateList,r=t.getCustomFontList;e.templateList!==n&&r()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyPress,!1);var e=this.props,t=e.fontList,n=e.selectedFont;if("tools"!==window.location.search.substr(window.location.search.lastIndexOf("=")+1))
|
20 |
/**
|
21 |
* @package Gravity PDF
|
22 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
23 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
24 |
* @since 6.0
|
25 |
*/
|
31 |
*
|
32 |
* This source code is licensed under the MIT license found in the
|
33 |
* LICENSE file in the root directory of this source tree.
|
34 |
+
*/var r=n(157),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}function E(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=w.prototype;var S=x.prototype=new E;S.constructor=x,r(S,w.prototype),S.isPureReactComponent=!0;var T={current:null},O=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var r,o={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)O.call(t,r)&&!k.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:a,ref:u,props:o,_owner:T.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var F=/\/+/g,C=[];function j(e,t,n,r){if(C.length){var o=C.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function R(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>C.length&&C.push(e)}function D(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var l=!1;if(null===t)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return r(o,t,""===n?"."+A(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var s=n+A(u=t[c],c);l+=e(u,s,r,o)}else if(null===t||"object"!=typeof t?s=null:s="function"==typeof(s=v&&t[v]||t["@@iterator"])?s:null,"function"==typeof s)for(t=s.call(t),c=0;!(u=t.next()).done;)l+=e(u=u.value,s=n+A(u,c++),r,o);else if("object"===u)throw r=""+t,Error(y(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return l}(e,"",t,n)}function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?I(e,r,n,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(F,"$&/")+"/")+n)),r.push(e))}function I(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(F,"$&/")+"/"),D(e,N,t=j(t,i,r,o)),R(t)}var M={current:null};function U(){var e=M.current;if(null===e)throw Error(y(321));return e}var q={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return I(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;D(e,L,t=j(null,null,t,n)),R(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return I(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(y(143));return e}},t.Component=w,t.Fragment=u,t.Profiler=c,t.PureComponent=x,t.StrictMode=l,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,t.cloneElement=function(e,t,n){if(null==e)throw Error(y(267,e));var o=r({},e.props),a=e.key,u=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,l=T.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)O.call(t,s)&&!k.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:u,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return U().useCallback(e,t)},t.useContext=function(e,t){return U().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return U().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return U().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return U().useLayoutEffect(e,t)},t.useMemo=function(e,t){return U().useMemo(e,t)},t.useReducer=function(e,t,n){return U().useReducer(e,t,n)},t.useRef=function(e){return U().useRef(e)},t.useState=function(e){return U().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";
|
35 |
/** @license React v16.13.1
|
36 |
* react-dom.production.min.js
|
37 |
*
|
39 |
*
|
40 |
* This source code is licensed under the MIT license found in the
|
41 |
* LICENSE file in the root directory of this source tree.
|
42 |
+
*/var r=n(0),o=n(157),i=n(188);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function u(e,t,n,r,o,i,a,u,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var l=!1,c=null,s=!1,f=null,p={onError:function(e){l=!0,c=e}};function d(e,t,n,r,o,i,a,s,f){l=!1,c=null,u.apply(p,arguments)}var h=null,m=null,v=null;function y(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,o,i,u,p,h){if(d.apply(this,arguments),l){if(!l)throw Error(a(198));var m=c;l=!1,c=null,s||(s=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var g=null,b={};function w(){if(g)for(var e in b){var t=b[e],n=g.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!x[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in x[n]=t,n=t.eventTypes){var o=void 0,i=n[r],u=t,l=r;if(S.hasOwnProperty(l))throw Error(a(99,l));S[l]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&E(c[o],u,l);o=!0}else i.registrationName?(E(i.registrationName,u,l),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function E(e,t,n){if(T[e])throw Error(a(100,e));T[e]=t,O[e]=t.eventTypes[n].dependencies}var x=[],S={},T={},O={};function k(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&w()}var _=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),P=null,F=null,C=null;function j(e){if(e=m(e)){if("function"!=typeof P)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),P(e.stateNode,e.type,t))}}function R(e){F?C?C.push(e):C=[e]:F=e}function D(){if(F){var e=F,t=C;if(C=F=null,j(e),t)for(e=0;e<t.length;e++)j(t[e])}}function A(e,t){return e(t)}function L(e,t,n,r,o){return e(t,n,r,o)}function N(){}var I=A,M=!1,U=!1;function q(){null===F&&null===C||(N(),D())}function z(e,t,n){if(U)return e(t,n);U=!0;try{return I(e,t,n)}finally{U=!1,q()}}var H=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,G=Object.prototype.hasOwnProperty,B={},$={};function V(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){W[e]=new V(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];W[t]=new V(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){W[e]=new V(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){W[e]=new V(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){W[e]=new V(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){W[e]=new V(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){W[e]=new V(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){W[e]=new V(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){W[e]=new V(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function Q(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(K,Q);W[t]=new V(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(K,Q);W[t]=new V(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(K,Q);W[t]=new V(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){W[e]=new V(e,1,!1,e.toLowerCase(),null,!1)})),W.xlinkHref=new V("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){W[e]=new V(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Y(e,t,n,r){var o=W.hasOwnProperty(t)?W[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!G.call($,e)||!G.call(B,e)&&(H.test(e)?$[e]=!0:(B[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,re=Z?Symbol.for("react.strict_mode"):60108,oe=Z?Symbol.for("react.profiler"):60114,ie=Z?Symbol.for("react.provider"):60109,ae=Z?Symbol.for("react.context"):60110,ue=Z?Symbol.for("react.concurrent_mode"):60111,le=Z?Symbol.for("react.forward_ref"):60112,ce=Z?Symbol.for("react.suspense"):60113,se=Z?Symbol.for("react.suspense_list"):60120,fe=Z?Symbol.for("react.memo"):60115,pe=Z?Symbol.for("react.lazy"):60116,de=Z?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case se:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ve(e.type);case de:return ve(e.render);case pe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ye(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ve(e.type);n=null,r&&(n=ve(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(J,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ge(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ee(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function xe(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Se(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ge(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Te(e,t){null!=(t=t.checked)&&Y(e,"checked",t,!1)}function Oe(e,t){Te(e,t);var n=ge(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?_e(e,t.type,n):t.hasOwnProperty("defaultValue")&&_e(e,t.type,ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ke(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function _e(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Pe(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Fe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ge(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ce(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function je(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ge(n)}}function Re(e,t){var n=ge(t.value),r=ge(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function De(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ae="http://www.w3.org/1999/xhtml",Le="http://www.w3.org/2000/svg";function Ne(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ie(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ne(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Me,Ue=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Le||"innerHTML"in e)e.innerHTML=t;else{for((Me=Me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function qe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ze(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:ze("Animation","AnimationEnd"),animationiteration:ze("Animation","AnimationIteration"),animationstart:ze("Animation","AnimationStart"),transitionend:ze("Transition","TransitionEnd")},Ge={},Be={};function $e(e){if(Ge[e])return Ge[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in Be)return Ge[e]=n[t];return e}_&&(Be=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ve=$e("animationend"),We=$e("animationiteration"),Ke=$e("animationstart"),Qe=$e("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ye=new("function"==typeof WeakMap?WeakMap:Map);function Je(e){var t=Ye.get(e);return void 0===t&&(t=new Map,Ye.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ze(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=i;break}if(l===r){u=!0,r=o,n=i;break}l=l.sibling}if(!u){for(l=i.child;l;){if(l===n){u=!0,n=i,r=o;break}if(l===r){u=!0,r=i,n=o;break}l=l.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)y(e,t[r],n[r]);else t&&y(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(a(95));if(s)throw e=f,s=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!_)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var st=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>st.length&&st.push(e)}function pt(e,t,n,r){if(st.length){var o=st.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=_n(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=lt(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var u=null,l=0;l<x.length;l++){var c=x[l];c&&(c=c.extractEvents(r,t,i,o,a))&&(u=rt(u,c))}ut(u)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Xe.indexOf(e)&&Wt(e,t)}n.set(e,null)}}var mt,vt,yt,gt=!1,bt=[],wt=null,Et=null,xt=null,St=new Map,Tt=new Map,Ot=[],kt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),_t="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Pt(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Ft(e,t){switch(e){case"focus":case"blur":wt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":xt=null;break;case"pointerover":case"pointerout":St.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Ct(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Pt(t,n,r,o,i),null!==t&&(null!==(t=Pn(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function jt(e){var t=_n(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Pn(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Dt(e,t,n){Rt(e)&&n.delete(t)}function At(){for(gt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Pn(e.blockedOn))&&mt(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==wt&&Rt(wt)&&(wt=null),null!==Et&&Rt(Et)&&(Et=null),null!==xt&&Rt(xt)&&(xt=null),St.forEach(Dt),Tt.forEach(Dt)}function Lt(e,t){e.blockedOn===t&&(e.blockedOn=null,gt||(gt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,At)))}function Nt(e){function t(t){return Lt(t,e)}if(0<bt.length){Lt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==wt&&Lt(wt,e),null!==Et&&Lt(Et,e),null!==xt&&Lt(xt,e),St.forEach(t),Tt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)jt(n),null===n.blockedOn&&Ot.shift()}var It={},Mt=new Map,Ut=new Map,qt=["abort","abort",Ve,"animationEnd",We,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Qe,"transitionEnd","waiting","waiting"];function zt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Ut.set(r,t),Mt.set(r,i),It[o]=i}}zt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),zt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),zt(qt,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Gt=0;Gt<Ht.length;Gt++)Ut.set(Ht[Gt],0);var Bt=i.unstable_UserBlockingPriority,$t=i.unstable_runWithPriority,Vt=!0;function Wt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Ut.get(t);switch(void 0===r?2:r){case 0:r=Qt.bind(null,t,1,e);break;case 1:r=Xt.bind(null,t,1,e);break;default:r=Yt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Qt(e,t,n,r){M||N();var o=Yt,i=M;M=!0;try{L(o,e,t,n,r)}finally{(M=i)||q()}}function Xt(e,t,n,r){$t(Bt,Yt.bind(null,e,t,n,r))}function Yt(e,t,n,r){if(Vt)if(0<bt.length&&-1<kt.indexOf(e))e=Pt(null,e,t,n,r),bt.push(e);else{var o=Jt(e,t,n,r);if(null===o)Ft(e,r);else if(-1<kt.indexOf(e))e=Pt(o,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return wt=Ct(wt,e,t,n,r,o),!0;case"dragenter":return Et=Ct(Et,e,t,n,r,o),!0;case"mouseover":return xt=Ct(xt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return St.set(i,Ct(St.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Tt.set(i,Ct(Tt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Ft(e,r),e=pt(e,r,null,t);try{z(dt,e)}finally{ft(e)}}}}function Jt(e,t,n,r){if(null!==(n=_n(n=lt(r)))){var o=Ze(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=pt(e,r,n,t);try{z(dt,e)}finally{ft(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Zt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var rn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Ae;function ln(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=O[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function sn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function dn(){for(var e=window,t=sn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=sn((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn=null,vn=null;function yn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function gn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"==typeof setTimeout?setTimeout:void 0,wn="function"==typeof clearTimeout?clearTimeout:void 0;function En(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function xn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Sn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+Sn,On="__reactEventHandlers$"+Sn,kn="__reactContainere$"+Sn;function _n(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[kn]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=xn(e);null!==e;){if(n=e[Tn])return n;e=xn(e)}return t}n=(e=n).parentNode}return null}function Pn(e){return!(e=e[Tn]||e[kn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Fn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Cn(e){return e[On]||null}function jn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Rn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function Dn(e,t,n){(t=Rn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function An(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=jn(t);for(t=n.length;0<t--;)Dn(n[t],"captured",e);for(t=0;t<n.length;t++)Dn(n[t],"bubbled",e)}}function Ln(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Rn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Nn(e){e&&e.dispatchConfig.registrationName&&Ln(e._targetInst,null,e)}function In(e){ot(e,An)}var Mn=null,Un=null,qn=null;function zn(){if(qn)return qn;var e,t,n=Un,r=n.length,o="value"in Mn?Mn.value:Mn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return qn=o.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function Gn(){return!1}function Bn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:Gn,this.isPropagationStopped=Gn,this}function $n(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Vn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Wn(e){e.eventPool=[],e.getPooled=$n,e.release=Vn}o(Bn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:Gn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gn,this._dispatchInstances=this._dispatchListeners=null}}),Bn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Bn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,Wn(n),n},Wn(Bn);var Kn=Bn.extend({data:null}),Qn=Bn.extend({data:null}),Xn=[9,13,27,32],Yn=_&&"CompositionEvent"in window,Jn=null;_&&"documentMode"in document&&(Jn=document.documentMode);var Zn=_&&"TextEvent"in window&&!Jn,er=_&&(!Yn||Jn&&8<Jn&&11>=Jn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var ur={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Yn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=zn()):(Un="value"in(Mn=r)?Mn.value:Mn.textContent,ar=!0)),i=Kn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),In(i),o=i):o=null,(e=Zn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!Yn&&or(e,t)?(e=zn(),qn=Un=Mn=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Qn.getPooled(nr.beforeInput,t,n,r)).data=e,In(t)):t=null,null===o?t:null===t?o:[o,t]}},lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var sr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=Bn.getPooled(sr.change,e,t,n)).type="change",R(n),In(e),e}var pr=null,dr=null;function hr(e){ut(e)}function mr(e){if(Ee(Fn(e)))return e}function vr(e,t){if("change"===e)return t}var yr=!1;function gr(){pr&&(pr.detachEvent("onpropertychange",br),dr=pr=null)}function br(e){if("value"===e.propertyName&&mr(dr))if(e=fr(dr,e,lt(e)),M)ut(e);else{M=!0;try{A(hr,e)}finally{M=!1,q()}}}function wr(e,t,n){"focus"===e?(gr(),dr=n,(pr=t).attachEvent("onpropertychange",br)):"blur"===e&&gr()}function Er(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mr(dr)}function xr(e,t){if("click"===e)return mr(t)}function Sr(e,t){if("input"===e||"change"===e)return mr(t)}_&&(yr=ct("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:sr,_isInputEventSupported:yr,extractEvents:function(e,t,n,r){var o=t?Fn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=vr;else if(cr(o))if(yr)a=Sr;else{a=Er;var u=wr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=xr);if(a&&(a=a(e,t)))return fr(a,n,r);u&&u(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&_e(o,"number",o.value)}},Or=Bn.extend({view:null,detail:null}),kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _r(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function Pr(){return _r}var Fr=0,Cr=0,jr=!1,Rr=!1,Dr=Or.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Pr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Fr;return Fr=e.screenX,jr?"mousemove"===e.type?e.screenX-t:0:(jr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Cr;return Cr=e.screenY,Rr?"mousemove"===e.type?e.screenY-t:0:(Rr=!0,0)}}),Ar=Dr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Lr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Nr={eventTypes:Lr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?_n(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var u=Dr,l=Lr.mouseLeave,c=Lr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=Ar,l=Lr.pointerLeave,c=Lr.pointerEnter,s="pointer");if(e=null==a?i:Fn(a),i=null==t?i:Fn(t),(l=u.getPooled(l,a,n,r)).type=s+"leave",l.target=e,l.relatedTarget=i,(n=u.getPooled(c,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=a)&&s)e:{for(c=s,a=0,e=u=r;e;e=jn(e))a++;for(e=0,t=c;t;t=jn(t))e++;for(;0<a-e;)u=jn(u),a--;for(;0<e-a;)c=jn(c),e--;for(;a--;){if(u===c||u===c.alternate)break e;u=jn(u),c=jn(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)u.push(r),r=jn(r);for(r=[];s&&s!==c&&(null===(a=s.alternate)||a!==c);)r.push(s),s=jn(s);for(s=0;s<u.length;s++)Ln(u[s],"bubbled",l);for(s=r.length;0<s--;)Ln(r[s],"captured",n);return 0==(64&o)?[l]:[l,n]}};var Ir="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Mr=Object.prototype.hasOwnProperty;function Ur(e,t){if(Ir(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Mr.call(t,n[r])||!Ir(e[n[r]],t[n[r]]))return!1;return!0}var qr=_&&"documentMode"in document&&11>=document.documentMode,zr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,Gr=null,Br=null,$r=!1;function Vr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return $r||null==Hr||Hr!==sn(n)?null:("selectionStart"in(n=Hr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Br&&Ur(Br,n)?null:(Br=n,(e=Bn.getPooled(zr.select,Gr,e,t)).type="select",e.target=Hr,In(e),e))}var Wr={eventTypes:zr,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Je(o),i=O.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Fn(t):window,e){case"focus":(cr(o)||"true"===o.contentEditable)&&(Hr=o,Gr=t,Br=null);break;case"blur":Br=Gr=Hr=null;break;case"mousedown":$r=!0;break;case"contextmenu":case"mouseup":case"dragend":return $r=!1,Vr(n,r);case"selectionchange":if(qr)break;case"keydown":case"keyup":return Vr(n,r)}return null}},Kr=Bn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Bn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xr=Or.extend({relatedTarget:null});function Yr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Jr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eo=Or.extend({key:function(e){if(e.key){var t=Jr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Pr,charCode:function(e){return"keypress"===e.type?Yr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=Dr.extend({dataTransfer:null}),no=Or.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Pr}),ro=Bn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=Dr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:It,extractEvents:function(e,t,n,r){var o=Mt.get(e);if(!o)return null;switch(e){case"keypress":if(0===Yr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Xr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Dr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case Ve:case We:case Ke:e=Kr;break;case Qe:e=ro;break;case"scroll":e=Or;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Qr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Ar;break;default:e=Bn}return In(t=e.getPooled(o,t,n,r)),t}};if(g)throw Error(a(101));g=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),h=Cn,m=Pn,v=Fn,k({SimpleEventPlugin:io,EnterLeaveEventPlugin:Nr,ChangeEventPlugin:Tr,SelectEventPlugin:Wr,BeforeInputEventPlugin:ur});var ao=[],uo=-1;function lo(e){0>uo||(e.current=ao[uo],ao[uo]=null,uo--)}function co(e,t){uo++,ao[uo]=e.current,e.current=t}var so={},fo={current:so},po={current:!1},ho=so;function mo(e,t){var n=e.type.contextTypes;if(!n)return so;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vo(e){return null!=(e=e.childContextTypes)}function yo(){lo(po),lo(fo)}function go(e,t,n){if(fo.current!==so)throw Error(a(168));co(fo,t),co(po,n)}function bo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ve(t)||"Unknown",i));return o({},n,{},r)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||so,ho=fo.current,co(fo,e),co(po,po.current),!0}function Eo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=bo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,lo(po),lo(fo),co(fo,e)):lo(po),co(po,n)}var xo=i.unstable_runWithPriority,So=i.unstable_scheduleCallback,To=i.unstable_cancelCallback,Oo=i.unstable_requestPaint,ko=i.unstable_now,_o=i.unstable_getCurrentPriorityLevel,Po=i.unstable_ImmediatePriority,Fo=i.unstable_UserBlockingPriority,Co=i.unstable_NormalPriority,jo=i.unstable_LowPriority,Ro=i.unstable_IdlePriority,Do={},Ao=i.unstable_shouldYield,Lo=void 0!==Oo?Oo:function(){},No=null,Io=null,Mo=!1,Uo=ko(),qo=1e4>Uo?ko:function(){return ko()-Uo};function zo(){switch(_o()){case Po:return 99;case Fo:return 98;case Co:return 97;case jo:return 96;case Ro:return 95;default:throw Error(a(332))}}function Ho(e){switch(e){case 99:return Po;case 98:return Fo;case 97:return Co;case 96:return jo;case 95:return Ro;default:throw Error(a(332))}}function Go(e,t){return e=Ho(e),xo(e,t)}function Bo(e,t,n){return e=Ho(e),So(e,t,n)}function $o(e){return null===No?(No=[e],Io=So(Po,Wo)):No.push(e),Do}function Vo(){if(null!==Io){var e=Io;Io=null,To(e)}Wo()}function Wo(){if(!Mo&&null!==No){Mo=!0;var e=0;try{var t=No;Go(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),No=null}catch(t){throw null!==No&&(No=No.slice(e+1)),So(Po,Vo),t}finally{Mo=!1}}}function Ko(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Qo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Xo={current:null},Yo=null,Jo=null,Zo=null;function ei(){Zo=Jo=Yo=null}function ti(e){var t=Xo.current;lo(Xo),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){Yo=e,Zo=Jo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ca=!0),e.firstContext=null)}function oi(e,t){if(Zo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Zo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jo){if(null===Yo)throw Error(a(308));Jo=t,Yo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Jo=Jo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function li(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ci(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function si(e,t){var n=e.alternate;null!==n&&ui(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var a=i.baseQueue,u=i.shared.pending;if(null!==u){if(null!==a){var l=a.next;a.next=u.next,u.next=l}a=u,i.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=u))}if(null!==a){l=a.next;var c=i.baseState,s=0,f=null,p=null,d=null;if(null!==l)for(var h=l;;){if((u=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(p=d=m,f=c):d=d.next=m,u>s&&(s=u)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),il(u,h.suspenseConfig);e:{var v=e,y=h;switch(u=t,m=n,y.tag){case 1:if("function"==typeof(v=y.payload)){c=v.call(m,c,u);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(u="function"==typeof(v=y.payload)?v.call(m,c,u):v))break e;c=o({},c,u);break e;case 2:ii=!0}}null!==h.callback&&(e.effectTag|=32,null===(u=i.effects)?i.effects=[h]:u.push(h))}if(null===(h=h.next)||h===l){if(null===(u=i.shared.pending))break;h=a.next=u.next,u.next=l,i.baseQueue=a=u,i.shared.pending=null}}null===d?f=c:d.next=p,i.baseState=f,i.baseQueue=d,al(s),e.expirationTime=s,e.memoizedState=c}}function pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var di=X.ReactCurrentBatchConfig,hi=(new r.Component).refs;function mi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var vi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Vu(),o=di.suspense;(o=li(r=Wu(r,e,o),o)).payload=t,null!=n&&(o.callback=n),ci(e,o),Ku(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Vu(),o=di.suspense;(o=li(r=Wu(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),ci(e,o),Ku(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Vu(),r=di.suspense;(r=li(n=Wu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ci(e,r),Ku(e,n)}};function yi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Ur(n,r)||!Ur(o,i))}function gi(e,t,n){var r=!1,o=so,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(o=vo(t)?ho:fo.current,i=(r=null!=(r=t.contextTypes))?mo(e,o):so),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function bi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vi.enqueueReplaceState(t,t.state,null)}function wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=hi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=oi(i):(i=vo(t)?ho:fo.current,o.context=mo(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(mi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&vi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var Ei=Array.isArray;function xi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===hi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Si(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ti(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=kl(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=xi(e,t,n),r.return=e,r):((r=_l(n.type,n.key,n.props,null,e.mode,r)).ref=xi(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Cl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Pl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Fl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=_l(t.type,t.key,t.props,null,e.mode,n)).ref=xi(e,null,t),n.return=e,n;case te:return(t=Cl(t,e.mode,n)).return=e,t}if(Ei(t)||me(t))return(t=Pl(t,e.mode,n,null)).return=e,t;Si(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case te:return n.key===o?s(e,t,n,r):null}if(Ei(n)||me(n))return null!==o?null:f(e,t,n,r,null);Si(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case te:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Ei(r)||me(r))return f(t,e=e.get(n)||null,r,o,null);Si(t,r)}return null}function m(o,a,u,l){for(var c=null,s=null,f=a,m=a=0,v=null;null!==f&&m<u.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var y=d(o,f,u[m],l);if(null===y){null===f&&(f=v);break}e&&f&&null===y.alternate&&t(o,f),a=i(y,a,m),null===s?c=y:s.sibling=y,s=y,f=v}if(m===u.length)return n(o,f),c;if(null===f){for(;m<u.length;m++)null!==(f=p(o,u[m],l))&&(a=i(f,a,m),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(o,f);m<u.length;m++)null!==(v=h(f,o,m,u[m],l))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),a=i(v,a,m),null===s?c=v:s.sibling=v,s=v);return e&&f.forEach((function(e){return t(o,e)})),c}function v(o,u,l,c){var s=me(l);if("function"!=typeof s)throw Error(a(150));if(null==(l=s.call(l)))throw Error(a(151));for(var f=s=null,m=u,v=u=0,y=null,g=l.next();null!==m&&!g.done;v++,g=l.next()){m.index>v?(y=m,m=null):y=m.sibling;var b=d(o,m,g.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),u=i(b,u,v),null===f?s=b:f.sibling=b,f=b,m=y}if(g.done)return n(o,m),s;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=p(o,g.value,c))&&(u=i(g,u,v),null===f?s=g:f.sibling=g,f=g);return s}for(m=r(o,m);!g.done;v++,g=l.next())null!==(g=h(m,o,v,g.value,c))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),u=i(g,u,v),null===f?s=g:f.sibling=g,f=g);return e&&m.forEach((function(e){return t(o,e)})),s}return function(e,r,i,l){var c="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;c&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case ee:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(i.type===ne){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}break;default:if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=xi(e,c,i),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}i.type===ne?((r=Pl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=_l(i.type,i.key,i.props,null,e.mode,l)).ref=xi(e,r,i),l.return=e,e=l)}return u(e);case te:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Cl(i,e.mode,l)).return=e,e=r}return u(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Fl(i,e.mode,l)).return=e,e=r),u(e);if(Ei(i))return m(e,r,i,l);if(me(i))return v(e,r,i,l);if(s&&Si(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Oi=Ti(!0),ki=Ti(!1),_i={},Pi={current:_i},Fi={current:_i},Ci={current:_i};function ji(e){if(e===_i)throw Error(a(174));return e}function Ri(e,t){switch(co(Ci,t),co(Fi,e),co(Pi,_i),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ie(null,"");break;default:t=Ie(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lo(Pi),co(Pi,t)}function Di(){lo(Pi),lo(Fi),lo(Ci)}function Ai(e){ji(Ci.current);var t=ji(Pi.current),n=Ie(t,e.type);t!==n&&(co(Fi,e),co(Pi,n))}function Li(e){Fi.current===e&&(lo(Pi),lo(Fi))}var Ni={current:0};function Ii(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Mi(e,t){return{responder:e,props:t}}var Ui=X.ReactCurrentDispatcher,qi=X.ReactCurrentBatchConfig,zi=0,Hi=null,Gi=null,Bi=null,$i=!1;function Vi(){throw Error(a(321))}function Wi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ir(e[n],t[n]))return!1;return!0}function Ki(e,t,n,r,o,i){if(zi=i,Hi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Ui.current=null===e||null===e.memoizedState?ya:ga,e=n(r,o),t.expirationTime===zi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Bi=Gi=null,t.updateQueue=null,Ui.current=ba,e=n(r,o)}while(t.expirationTime===zi)}if(Ui.current=va,t=null!==Gi&&null!==Gi.next,zi=0,Bi=Gi=Hi=null,$i=!1,t)throw Error(a(300));return e}function Qi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Bi?Hi.memoizedState=Bi=e:Bi=Bi.next=e,Bi}function Xi(){if(null===Gi){var e=Hi.alternate;e=null!==e?e.memoizedState:null}else e=Gi.next;var t=null===Bi?Hi.memoizedState:Bi.next;if(null!==t)Bi=t,Gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Gi=e).memoizedState,baseState:Gi.baseState,baseQueue:Gi.baseQueue,queue:Gi.queue,next:null},null===Bi?Hi.memoizedState=Bi=e:Bi=Bi.next=e}return Bi}function Yi(e,t){return"function"==typeof t?t(e):t}function Ji(e){var t=Xi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=u=i=null,c=o;do{var s=c.expirationTime;if(s<zi){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(u=l=f,i=r):l=l.next=f,s>Hi.expirationTime&&(Hi.expirationTime=s,al(s))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),il(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=u,Ir(r,t.memoizedState)||(Ca=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zi(e){var t=Xi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=e(i,u.action),u=u.next}while(u!==o);Ir(i,t.memoizedState)||(Ca=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=Qi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Yi,lastRenderedState:e}).dispatch=ma.bind(null,Hi,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Hi.updateQueue)?(t={lastEffect:null},Hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Xi().memoizedState}function ra(e,t,n,r){var o=Qi();Hi.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Xi();r=void 0===r?null:r;var i=void 0;if(null!==Gi){var a=Gi.memoizedState;if(i=a.destroy,null!==r&&Wi(r,a.deps))return void ta(t,n,i,r)}Hi.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function ua(e,t){return oa(4,2,e,t)}function la(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ca(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)}function sa(){}function fa(e,t){return Qi().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Xi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=Xi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=zo();Go(98>r?98:r,(function(){e(!0)})),Go(97<r?97:r,(function(){var r=qi.suspense;qi.suspense=void 0===t?null:t;try{e(!1),n()}finally{qi.suspense=r}}))}function ma(e,t,n){var r=Vu(),o=di.suspense;o={expirationTime:r=Wu(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Hi||null!==i&&i===Hi)$i=!0,o.expirationTime=zi,Hi.expirationTime=zi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.eagerReducer=i,o.eagerState=u,Ir(u,a))return}catch(e){}Ku(e,r)}}var va={readContext:oi,useCallback:Vi,useContext:Vi,useEffect:Vi,useImperativeHandle:Vi,useLayoutEffect:Vi,useMemo:Vi,useReducer:Vi,useRef:Vi,useState:Vi,useDebugValue:Vi,useResponder:Vi,useDeferredValue:Vi,useTransition:Vi},ya={readContext:oi,useCallback:fa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Qi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ma.bind(null,Hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Qi().memoizedState=e},useState:ea,useDebugValue:sa,useResponder:Mi,useDeferredValue:function(e,t){var n=ea(e),r=n[0],o=n[1];return ia((function(){var n=qi.suspense;qi.suspense=void 0===t?null:t;try{o(e)}finally{qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ga={readContext:oi,useCallback:pa,useContext:oi,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:ua,useMemo:da,useReducer:Ji,useRef:na,useState:function(){return Ji(Yi)},useDebugValue:sa,useResponder:Mi,useDeferredValue:function(e,t){var n=Ji(Yi),r=n[0],o=n[1];return aa((function(){var n=qi.suspense;qi.suspense=void 0===t?null:t;try{o(e)}finally{qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ji(Yi),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:oi,useCallback:pa,useContext:oi,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:ua,useMemo:da,useReducer:Zi,useRef:na,useState:function(){return Zi(Yi)},useDebugValue:sa,useResponder:Mi,useDeferredValue:function(e,t){var n=Zi(Yi),r=n[0],o=n[1];return aa((function(){var n=qi.suspense;qi.suspense=void 0===t?null:t;try{o(e)}finally{qi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zi(Yi),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},wa=null,Ea=null,xa=!1;function Sa(e,t){var n=Tl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ta(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Oa(e){if(xa){var t=Ea;if(t){var n=t;if(!Ta(e,t)){if(!(t=En(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,xa=!1,void(wa=e);Sa(wa,n)}wa=e,Ea=En(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,xa=!1,wa=e}}function ka(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;wa=e}function _a(e){if(e!==wa)return!1;if(!xa)return ka(e),xa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!gn(t,e.memoizedProps))for(t=Ea;t;)Sa(e,t),t=En(t.nextSibling);if(ka(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ea=En(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ea=null}}else Ea=wa?En(e.stateNode.nextSibling):null;return!0}function Pa(){Ea=wa=null,xa=!1}var Fa=X.ReactCurrentOwner,Ca=!1;function ja(e,t,n,r){t.child=null===e?ki(t,null,n,r):Oi(t,e.child,n,r)}function Ra(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Ki(e,t,n,r,i,o),null===e||Ca?(t.effectTag|=1,ja(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ka(e,t,o))}function Da(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Ol(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=_l(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Aa(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Ur)(o,r)&&e.ref===t.ref)?Ka(e,t,i):(t.effectTag|=1,(e=kl(a,r)).ref=t.ref,e.return=t,t.child=e)}function Aa(e,t,n,r,o,i){return null!==e&&Ur(e.memoizedProps,r)&&e.ref===t.ref&&(Ca=!1,o<i)?(t.expirationTime=e.expirationTime,Ka(e,t,i)):Na(e,t,n,r,i)}function La(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Na(e,t,n,r,o){var i=vo(n)?ho:fo.current;return i=mo(t,i),ri(t,o),n=Ki(e,t,n,r,i,o),null===e||Ca?(t.effectTag|=1,ja(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ka(e,t,o))}function Ia(e,t,n,r,o){if(vo(n)){var i=!0;wo(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),gi(t,n,r),wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=oi(c):c=mo(t,c=vo(n)?ho:fo.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==c)&&bi(t,a,r,c),ii=!1;var p=t.memoizedState;a.state=p,fi(t,r,a,o),l=t.memoizedState,u!==r||p!==l||po.current||ii?("function"==typeof s&&(mi(t,n,s,r),l=t.memoizedState),(u=ii||yi(t,n,u,r,p,l,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=u):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,ui(e,t),u=t.memoizedProps,a.props=t.type===t.elementType?u:Qo(t.type,u),l=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=oi(c):c=mo(t,c=vo(n)?ho:fo.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==c)&&bi(t,a,r,c),ii=!1,l=t.memoizedState,a.state=l,fi(t,r,a,o),p=t.memoizedState,u!==r||l!==p||po.current||ii?("function"==typeof s&&(mi(t,n,s,r),p=t.memoizedState),(s=ii||yi(t,n,u,r,l,p,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=s):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Ma(e,t,n,r,i,o)}function Ma(e,t,n,r,o,i){La(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&Eo(t,n,!1),Ka(e,t,i);r=t.stateNode,Fa.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Oi(t,e.child,null,i),t.child=Oi(t,null,u,i)):ja(e,t,u,i),t.memoizedState=r.state,o&&Eo(t,n,!0),t.child}function Ua(e){var t=e.stateNode;t.pendingContext?go(0,t.pendingContext,t.pendingContext!==t.context):t.context&&go(0,t.context,!1),Ri(e,t.containerInfo)}var qa,za,Ha,Ga={dehydrated:null,retryTime:0};function Ba(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Ni.current,u=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),co(Ni,1&a),null===e){if(void 0!==i.fallback&&Oa(t),u){if(u=i.fallback,(i=Pl(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Pl(u,o,n,null)).return=t,i.sibling=n,t.memoizedState=Ga,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=ki(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,u){if(i=i.fallback,(n=kl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(o=kl(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ga,t.child=n,o}return n=Oi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,u){if(u=i.fallback,(i=Pl(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Pl(u,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ga,t.child=i,n}return t.memoizedState=null,t.child=Oi(t,e,i.children,n)}function $a(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Va(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function Wa(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ja(e,t,r.children,n),0!=(2&(r=Ni.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$a(e,n);else if(19===e.tag)$a(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(Ni,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ii(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Va(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ii(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Va(t,!0,n,null,i,t.lastEffect);break;case"together":Va(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ka(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=kl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=kl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qa(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return vo(t.type)&&yo(),null;case 3:return Di(),lo(po),lo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!_a(t)||(t.effectTag|=4),null;case 5:Li(t),n=ji(Ci.current);var i=t.type;if(null!==e&&null!=t.stateNode)za(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=ji(Pi.current),_a(t)){r=t.stateNode,i=t.type;var u=t.memoizedProps;switch(r[Tn]=t,r[On]=u,i){case"iframe":case"object":case"embed":Wt("load",r);break;case"video":case"audio":for(e=0;e<Xe.length;e++)Wt(Xe[e],r);break;case"source":Wt("error",r);break;case"img":case"image":case"link":Wt("error",r),Wt("load",r);break;case"form":Wt("reset",r),Wt("submit",r);break;case"details":Wt("toggle",r);break;case"input":Se(r,u),Wt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Wt("invalid",r),ln(n,"onChange");break;case"textarea":je(r,u),Wt("invalid",r),ln(n,"onChange")}for(var l in on(i,u),e=null,u)if(u.hasOwnProperty(l)){var c=u[l];"children"===l?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):T.hasOwnProperty(l)&&null!=c&&ln(n,l)}switch(i){case"input":we(r),ke(r,u,!0);break;case"textarea":we(r),De(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===un&&(e=Ne(i)),e===un?"script"===i?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(i,{is:r.is}):(e=l.createElement(i),"select"===i&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,i),e[Tn]=t,e[On]=r,qa(e,t),t.stateNode=e,l=an(i,r),i){case"iframe":case"object":case"embed":Wt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Xe.length;c++)Wt(Xe[c],e);c=r;break;case"source":Wt("error",e),c=r;break;case"img":case"image":case"link":Wt("error",e),Wt("load",e),c=r;break;case"form":Wt("reset",e),Wt("submit",e),c=r;break;case"details":Wt("toggle",e),c=r;break;case"input":Se(e,r),c=xe(e,r),Wt("invalid",e),ln(n,"onChange");break;case"option":c=Pe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=o({},r,{value:void 0}),Wt("invalid",e),ln(n,"onChange");break;case"textarea":je(e,r),c=Ce(e,r),Wt("invalid",e),ln(n,"onChange");break;default:c=r}on(i,c);var s=c;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?nn(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&Ue(e,f):"children"===u?"string"==typeof f?("textarea"!==i||""!==f)&&qe(e,f):"number"==typeof f&&qe(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(T.hasOwnProperty(u)?null!=f&&ln(n,u):null!=f&&Y(e,u,f,l))}switch(i){case"input":we(e),ke(e,r,!1);break;case"textarea":we(e),De(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ge(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Fe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Fe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=cn)}yn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ha(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=ji(Ci.current),ji(Pi.current),_a(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return lo(Ni),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&_a(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=i,i.nextEffect=u):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ni.current)?_u===wu&&(_u=Eu):(_u!==wu&&_u!==Eu||(_u=xu),0!==Ru&&null!==Tu&&(Dl(Tu,ku),Al(Tu,Ru)))),(n||r)&&(t.effectTag|=4),null);case 4:return Di(),null;case 10:return ti(t),null;case 17:return vo(t.type)&&yo(),null;case 19:if(lo(Ni),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(u=r.rendering)){if(i)Qa(r,!1);else if(_u!==wu||null!==e&&0!=(64&e.effectTag))for(u=t.child;null!==u;){if(null!==(e=Ii(u))){for(t.effectTag|=64,Qa(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)u=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=u,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,u=e.dependencies,i.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return co(Ni,1&Ni.current|2),t.child}u=u.sibling}}else{if(!i)if(null!==(e=Ii(u))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Qa(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*qo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Qa(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=qo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=qo(),n.sibling=null,t=Ni.current,co(Ni,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Ya(e){switch(e.tag){case 1:vo(e.type)&&yo();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Di(),lo(po),lo(fo),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Li(e),null;case 13:return lo(Ni),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return lo(Ni),null;case 4:return Di(),null;case 10:return ti(e),null;default:return null}}function Ja(e,t){return{value:e,source:t,stack:ye(t)}}qa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},za=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var u,l,c=t.stateNode;switch(ji(Pi.current),e=null,n){case"input":a=xe(c,a),r=xe(c,r),e=[];break;case"option":a=Pe(c,a),r=Pe(c,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Ce(c,a),r=Ce(c,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(c.onclick=cn)}for(u in on(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u)for(l in c=a[u])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(T.hasOwnProperty(u)?e||(e=[]):(e=e||[]).push(u,null));for(u in r){var s=r[u];if(c=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==c&&(null!=s||null!=c))if("style"===u)if(c){for(l in c)!c.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&c[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(e||(e=[]),e.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(u,s)):"children"===u?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(T.hasOwnProperty(u)?(null!=s&&ln(i,u),e||c===s||(e=[])):(e=e||[]).push(u,s))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Ha=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Za="function"==typeof WeakSet?WeakSet:Set;function eu(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ye(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function tu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){gl(e,t)}else t.current=null}function nu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ou(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ou(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&yn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Nt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function au(e,t,n){switch("function"==typeof xl&&xl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Go(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){gl(o,e)}}e=e.next}while(e!==r)}))}break;case 1:tu(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){gl(e,t)}}(t,n);break;case 5:tu(t);break;case 4:su(e,t,n)}}function uu(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&uu(t)}function lu(e){return 5===e.tag||3===e.tag||4===e.tag}function cu(e){e:{for(var t=e.return;null!==t;){if(lu(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(qe(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||lu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function su(e,t,n){for(var r,o,i=t,u=!1;;){if(!u){u=i.return;e:for(;;){if(null===u)throw Error(a(160));switch(r=u.stateNode,u.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}u=u.return}u=!0}if(5===i.tag||6===i.tag){e:for(var l=e,c=i,s=n,f=c;;)if(au(l,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(l=r,c=i.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(au(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(u=!1)}i.sibling.return=i.return,i=i.sibling}}function fu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ru(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[On]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Te(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var u=i[o],l=i[o+1];"style"===u?nn(n,l):"dangerouslySetInnerHTML"===u?Ue(n,l):"children"===u?qe(n,l):Y(n,u,l,t)}switch(e){case"input":Oe(n,r);break;case"textarea":Re(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Fe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Fe(n,!!r.multiple,r.defaultValue,!0):Fe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Nt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Au=qo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void pu(t);case 19:return void pu(t);case 17:return}throw Error(a(163))}function pu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach((function(t){var r=wl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var du="function"==typeof WeakMap?WeakMap:Map;function hu(e,t,n){(n=li(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Nu||(Nu=!0,Iu=r),eu(e,t)},n}function mu(e,t,n){(n=li(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return eu(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Mu?Mu=new Set([this]):Mu.add(this),eu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var vu,yu=Math.ceil,gu=X.ReactCurrentDispatcher,bu=X.ReactCurrentOwner,wu=0,Eu=3,xu=4,Su=0,Tu=null,Ou=null,ku=0,_u=wu,Pu=null,Fu=1073741823,Cu=1073741823,ju=null,Ru=0,Du=!1,Au=0,Lu=null,Nu=!1,Iu=null,Mu=null,Uu=!1,qu=null,zu=90,Hu=null,Gu=0,Bu=null,$u=0;function Vu(){return 0!=(48&Su)?1073741821-(qo()/10|0):0!==$u?$u:$u=1073741821-(qo()/10|0)}function Wu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=zo();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&Su))return ku;if(null!==n)e=Ko(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ko(e,150,100);break;case 97:case 96:e=Ko(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Tu&&e===ku&&--e,e}function Ku(e,t){if(50<Gu)throw Gu=0,Bu=null,Error(a(185));if(null!==(e=Qu(e,t))){var n=zo();1073741823===t?0!=(8&Su)&&0==(48&Su)?Zu(e):(Yu(e),0===Su&&Vo()):Yu(e),0==(4&Su)||98!==n&&99!==n||(null===Hu?Hu=new Map([[e,t]]):(void 0===(n=Hu.get(e))||n>t)&&Hu.set(e,t))}}function Qu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Tu===o&&(al(t),_u===xu&&Dl(o,ku)),Al(o,t)),o}function Xu(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Rl(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Yu(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=$o(Zu.bind(null,e));else{var t=Xu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Vu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Do&&To(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?$o(Zu.bind(null,e)):Bo(r,Ju.bind(null,e),{timeout:10*(1073741821-t)-qo()}),e.callbackNode=t}}}function Ju(e,t){if($u=0,t)return Ll(e,t=Vu()),Yu(e),null;var n=Xu(e);if(0!==n){if(t=e.callbackNode,0!=(48&Su))throw Error(a(327));if(ml(),e===Tu&&n===ku||nl(e,n),null!==Ou){var r=Su;Su|=16;for(var o=ol();;)try{ll();break}catch(t){rl(e,t)}if(ei(),Su=r,gu.current=o,1===_u)throw t=Pu,nl(e,n),Dl(e,n),Yu(e),t;if(null===Ou)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=_u,Tu=null,r){case wu:case 1:throw Error(a(345));case 2:Ll(e,2<n?2:n);break;case Eu:if(Dl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),1073741823===Fu&&10<(o=Au+500-qo())){if(Du){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(i=Xu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(pl.bind(null,e),o);break}pl(e);break;case xu:if(Dl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),Du&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(o=Xu(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Cu?r=10*(1073741821-Cu)-qo():1073741823===Fu?r=0:(r=10*(1073741821-Fu)-5e3,0>(r=(o=qo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yu(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(pl.bind(null,e),r);break}pl(e);break;case 5:if(1073741823!==Fu&&null!==ju){i=Fu;var u=ju;if(0>=(r=0|u.busyMinDurationMs)?r=0:(o=0|u.busyDelayMs,r=(i=qo()-(10*(1073741821-i)-(0|u.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Dl(e,n),e.timeoutHandle=bn(pl.bind(null,e),r);break}}pl(e);break;default:throw Error(a(329))}if(Yu(e),e.callbackNode===t)return Ju.bind(null,e)}}return null}function Zu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Su))throw Error(a(327));if(ml(),e===Tu&&t===ku||nl(e,t),null!==Ou){var n=Su;Su|=16;for(var r=ol();;)try{ul();break}catch(t){rl(e,t)}if(ei(),Su=n,gu.current=r,1===_u)throw n=Pu,nl(e,t),Dl(e,t),Yu(e),n;if(null!==Ou)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Tu=null,pl(e),Yu(e)}return null}function el(e,t){var n=Su;Su|=1;try{return e(t)}finally{0===(Su=n)&&Vo()}}function tl(e,t){var n=Su;Su&=-2,Su|=8;try{return e(t)}finally{0===(Su=n)&&Vo()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,wn(n)),null!==Ou)for(n=Ou.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&yo();break;case 3:Di(),lo(po),lo(fo);break;case 5:Li(r);break;case 4:Di();break;case 13:case 19:lo(Ni);break;case 10:ti(r)}n=n.return}Tu=e,Ou=kl(e.current,null),ku=t,_u=wu,Pu=null,Cu=Fu=1073741823,ju=null,Ru=0,Du=!1}function rl(e,t){for(;;){try{if(ei(),Ui.current=va,$i)for(var n=Hi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(zi=0,Bi=Gi=Hi=null,$i=!1,null===Ou||null===Ou.return)return _u=1,Pu=t,Ou=null;e:{var o=e,i=Ou.return,a=Ou,u=t;if(t=ku,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var l=u;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var s=0!=(1&Ni.current),f=i;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!s)}}if(p){var m=f.updateQueue;if(null===m){var v=new Set;v.add(l),f.updateQueue=v}else m.add(l);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var y=li(1073741823,null);y.tag=2,ci(a,y)}a.expirationTime=1073741823;break e}u=void 0,a=t;var g=o.pingCache;if(null===g?(g=o.pingCache=new du,u=new Set,g.set(l,u)):void 0===(u=g.get(l))&&(u=new Set,g.set(l,u)),!u.has(a)){u.add(a);var b=bl.bind(null,o,l,a);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);u=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ye(a))}5!==_u&&(_u=2),u=Ja(u,a),f=i;do{switch(f.tag){case 3:l=u,f.effectTag|=4096,f.expirationTime=t,si(f,hu(f,l,t));break e;case 1:l=u;var w=f.type,E=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Mu||!Mu.has(E)))){f.effectTag|=4096,f.expirationTime=t,si(f,mu(f,l,t));break e}}f=f.return}while(null!==f)}Ou=sl(Ou)}catch(e){t=e;continue}break}}function ol(){var e=gu.current;return gu.current=va,null===e?va:e}function il(e,t){e<Fu&&2<e&&(Fu=e),null!==t&&e<Cu&&2<e&&(Cu=e,ju=t)}function al(e){e>Ru&&(Ru=e)}function ul(){for(;null!==Ou;)Ou=cl(Ou)}function ll(){for(;null!==Ou&&!Ao();)Ou=cl(Ou)}function cl(e){var t=vu(e.alternate,e,ku);return e.memoizedProps=e.pendingProps,null===t&&(t=sl(e)),bu.current=null,t}function sl(e){Ou=e;do{var t=Ou.alternate;if(e=Ou.return,0==(2048&Ou.effectTag)){if(t=Xa(t,Ou,ku),1===ku||1!==Ou.childExpirationTime){for(var n=0,r=Ou.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Ou.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ou.firstEffect),null!==Ou.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ou.firstEffect),e.lastEffect=Ou.lastEffect),1<Ou.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ou:e.firstEffect=Ou,e.lastEffect=Ou))}else{if(null!==(t=Ya(Ou)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ou.sibling))return t;Ou=e}while(null!==Ou);return _u===wu&&(_u=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pl(e){var t=zo();return Go(99,dl.bind(null,e,t)),null}function dl(e,t){do{ml()}while(null!==qu);if(0!=(48&Su))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fl(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Tu&&(Ou=Tu=null,ku=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=Su;Su|=32,bu.current=null,mn=Vt;var u=dn();if(hn(u)){if("selectionStart"in u)var l={start:u.selectionStart,end:u.selectionEnd};else e:{var c=(l=(l=u.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{l.nodeType,f.nodeType}catch(e){l=null;break e}var p=0,d=-1,h=-1,m=0,v=0,y=u,g=null;t:for(;;){for(var b;y!==l||0!==s&&3!==y.nodeType||(d=p+s),y!==f||0!==c&&3!==y.nodeType||(h=p+c),3===y.nodeType&&(p+=y.nodeValue.length),null!==(b=y.firstChild);)g=y,y=b;for(;;){if(y===u)break t;if(g===l&&++m===s&&(d=p),g===f&&++v===c&&(h=p),null!==(b=y.nextSibling))break;g=(y=g).parentNode}y=b}l=-1===d||-1===h?null:{start:d,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;vn={activeElementDetached:null,focusedElem:u,selectionRange:l},Vt=!1,Lu=o;do{try{hl()}catch(e){if(null===Lu)throw Error(a(330));gl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);Lu=o;do{try{for(u=e,l=t;null!==Lu;){var w=Lu.effectTag;if(16&w&&qe(Lu.stateNode,""),128&w){var E=Lu.alternate;if(null!==E){var x=E.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&w){case 2:cu(Lu),Lu.effectTag&=-3;break;case 6:cu(Lu),Lu.effectTag&=-3,fu(Lu.alternate,Lu);break;case 1024:Lu.effectTag&=-1025;break;case 1028:Lu.effectTag&=-1025,fu(Lu.alternate,Lu);break;case 4:fu(Lu.alternate,Lu);break;case 8:su(u,s=Lu,l),uu(s)}Lu=Lu.nextEffect}}catch(e){if(null===Lu)throw Error(a(330));gl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);if(x=vn,E=dn(),w=x.focusedElem,l=x.selectionRange,E!==w&&w&&w.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(w.ownerDocument.documentElement,w)){null!==l&&hn(w)&&(E=l.start,void 0===(x=l.end)&&(x=E),"selectionStart"in w?(w.selectionStart=E,w.selectionEnd=Math.min(x,w.value.length)):(x=(E=w.ownerDocument||document)&&E.defaultView||window).getSelection&&(x=x.getSelection(),s=w.textContent.length,u=Math.min(l.start,s),l=void 0===l.end?u:Math.min(l.end,s),!x.extend&&u>l&&(s=l,l=u,u=s),s=pn(w,u),f=pn(w,l),s&&f&&(1!==x.rangeCount||x.anchorNode!==s.node||x.anchorOffset!==s.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((E=E.createRange()).setStart(s.node,s.offset),x.removeAllRanges(),u>l?(x.addRange(E),x.extend(f.node,f.offset)):(E.setEnd(f.node,f.offset),x.addRange(E))))),E=[];for(x=w;x=x.parentNode;)1===x.nodeType&&E.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<E.length;w++)(x=E[w]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Vt=!!mn,vn=mn=null,e.current=n,Lu=o;do{try{for(w=e;null!==Lu;){var S=Lu.effectTag;if(36&S&&iu(w,Lu.alternate,Lu),128&S){E=void 0;var T=Lu.ref;if(null!==T){var O=Lu.stateNode;switch(Lu.tag){case 5:E=O;break;default:E=O}"function"==typeof T?T(E):T.current=E}}Lu=Lu.nextEffect}}catch(e){if(null===Lu)throw Error(a(330));gl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);Lu=null,Lo(),Su=i}else e.current=n;if(Uu)Uu=!1,qu=e,zu=t;else for(Lu=o;null!==Lu;)t=Lu.nextEffect,Lu.nextEffect=null,Lu=t;if(0===(t=e.firstPendingTime)&&(Mu=null),1073741823===t?e===Bu?Gu++:(Gu=0,Bu=e):Gu=0,"function"==typeof El&&El(n.stateNode,r),Yu(e),Nu)throw Nu=!1,e=Iu,Iu=null,e;return 0!=(8&Su)||Vo(),null}function hl(){for(;null!==Lu;){var e=Lu.effectTag;0!=(256&e)&&nu(Lu.alternate,Lu),0==(512&e)||Uu||(Uu=!0,Bo(97,(function(){return ml(),null}))),Lu=Lu.nextEffect}}function ml(){if(90!==zu){var e=97<zu?97:zu;return zu=90,Go(e,vl)}}function vl(){if(null===qu)return!1;var e=qu;if(qu=null,0!=(48&Su))throw Error(a(331));var t=Su;for(Su|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ru(5,n),ou(5,n)}}catch(t){if(null===e)throw Error(a(330));gl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Su=t,Vo(),!0}function yl(e,t,n){ci(e,t=hu(e,t=Ja(n,t),1073741823)),null!==(e=Qu(e,1073741823))&&Yu(e)}function gl(e,t){if(3===e.tag)yl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){yl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Mu||!Mu.has(r))){ci(n,e=mu(n,e=Ja(t,e),1073741823)),null!==(n=Qu(n,1073741823))&&Yu(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Tu===e&&ku===n?_u===xu||_u===Eu&&1073741823===Fu&&qo()-Au<500?nl(e,ku):Du=!0:Rl(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Yu(e)))}function wl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Wu(t=Vu(),e,null)),null!==(e=Qu(e,t))&&Yu(e)}vu=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Ca=!0;else{if(r<n){switch(Ca=!1,t.tag){case 3:Ua(t),Pa();break;case 5:if(Ai(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:vo(t.type)&&wo(t);break;case 4:Ri(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,co(Xo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ba(e,t,n):(co(Ni,1&Ni.current),null!==(t=Ka(e,t,n))?t.sibling:null);co(Ni,1&Ni.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Wa(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),co(Ni,Ni.current),!r)return null}return Ka(e,t,n)}Ca=!1}}else Ca=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=mo(t,fo.current),ri(t,n),o=Ki(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vo(r)){var i=!0;wo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var u=r.getDerivedStateFromProps;"function"==typeof u&&mi(t,r,u,e),o.updater=vi,t.stateNode=o,o._reactInternalFiber=t,wi(t,r,e,n),t=Ma(null,t,r,!0,i,n)}else t.tag=0,ja(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return Ol(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(o),e=Qo(o,e),i){case 0:t=Na(null,t,o,e,n);break e;case 1:t=Ia(null,t,o,e,n);break e;case 11:t=Ra(null,t,o,e,n);break e;case 14:t=Da(null,t,o,Qo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Na(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ia(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 3:if(Ua(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ui(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Pa(),t=Ka(e,t,n);else{if((o=t.stateNode.hydrate)&&(Ea=En(t.stateNode.containerInfo.firstChild),wa=t,o=xa=!0),o)for(n=ki(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else ja(e,t,r,n),Pa();t=t.child}return t;case 5:return Ai(t),null===e&&Oa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,u=o.children,gn(r,o)?u=null:null!==i&&gn(r,i)&&(t.effectTag|=16),La(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(ja(e,t,u,n),t=t.child),t;case 6:return null===e&&Oa(t),null;case 13:return Ba(e,t,n);case 4:return Ri(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oi(t,null,r,n):ja(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ra(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 7:return ja(e,t,t.pendingProps,n),t.child;case 8:case 12:return ja(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,i=o.value;var l=t.type._context;if(co(Xo,l._currentValue),l._currentValue=i,null!==u)if(l=u.value,0===(i=Ir(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(u.children===o.children&&!po.current){t=Ka(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&i)){1===l.tag&&((s=li(n,null)).tag=2,ci(l,s)),l.expirationTime<n&&(l.expirationTime=n),null!==(s=l.alternate)&&s.expirationTime<n&&(s.expirationTime=n),ni(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else u=10===l.tag&&l.type===t.type?null:l.child;if(null!==u)u.return=l;else for(u=l;null!==u;){if(u===t){u=null;break}if(null!==(l=u.sibling)){l.return=u.return,u=l;break}u=u.return}l=u}ja(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,ja(e,t,r,n),t.child;case 14:return i=Qo(o=t.type,t.pendingProps),Da(e,t,o,i=Qo(o.type,i),r,n);case 15:return Aa(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,vo(r)?(e=!0,wo(t)):e=!1,ri(t,n),gi(t,r,o),wi(t,r,o,n),Ma(null,t,r,!0,e,n);case 19:return Wa(e,t,n)}throw Error(a(156,t.tag))};var El=null,xl=null;function Sl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Tl(e,t,n,r){return new Sl(e,t,n,r)}function Ol(e){return!(!(e=e.prototype)||!e.isReactComponent)}function kl(e,t){var n=e.alternate;return null===n?((n=Tl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function _l(e,t,n,r,o,i){var u=2;if(r=e,"function"==typeof e)Ol(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case ne:return Pl(n.children,o,i,t);case ue:u=8,o|=7;break;case re:u=8,o|=1;break;case oe:return(e=Tl(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case ce:return(e=Tl(13,n,t,o)).type=ce,e.elementType=ce,e.expirationTime=i,e;case se:return(e=Tl(19,n,t,o)).elementType=se,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:u=10;break e;case ae:u=9;break e;case le:u=11;break e;case fe:u=14;break e;case pe:u=16,r=null;break e;case de:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Tl(u,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Pl(e,t,n,r){return(e=Tl(7,e,r,t)).expirationTime=n,e}function Fl(e,t,n){return(e=Tl(6,e,null,t)).expirationTime=n,e}function Cl(e,t,n){return(t=Tl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Rl(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Dl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Al(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Ll(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Nl(e,t,n,r){var o=t.current,i=Vu(),u=di.suspense;i=Wu(i,o,u);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(vo(c)){n=bo(n,c,l);break e}}n=l}else n=so;return null===t.context?t.context=n:t.pendingContext=n,(t=li(i,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ci(o,t),Ku(o,i),i}function Il(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ml(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Ul(e,t){Ml(e,t),(e=e.alternate)&&Ml(e,t)}function ql(e,t,n){var r=new jl(e,t,n=null!=n&&!0===n.hydrate),o=Tl(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[kn]=r.current,n&&0!==t&&function(e,t){var n=Je(t);kt.forEach((function(e){ht(e,t,n)})),_t.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var u=o;o=function(){var e=Il(a);u.call(e)}}Nl(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ql(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Il(a);l.call(e)}}tl((function(){Nl(t,a,e,o)}))}return Il(a)}function Gl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Bl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!zl(t))throw Error(a(200));return Gl(e,t,null,n)}ql.prototype.render=function(e){Nl(e,this._internalRoot,null,null)},ql.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Nl(null,e,null,(function(){t[kn]=null}))},mt=function(e){if(13===e.tag){var t=Ko(Vu(),150,100);Ku(e,t),Ul(e,t)}},vt=function(e){13===e.tag&&(Ku(e,3),Ul(e,3))},yt=function(e){if(13===e.tag){var t=Vu();Ku(e,t=Wu(t,e,null)),Ul(e,t)}},P=function(e,t,n){switch(t){case"input":if(Oe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Cn(r);if(!o)throw Error(a(90));Ee(r),Oe(r,o)}}}break;case"textarea":Re(e,n);break;case"select":null!=(t=n.value)&&Fe(e,!!n.multiple,t,!1)}},A=el,L=function(e,t,n,r,o){var i=Su;Su|=4;try{return Go(98,e.bind(null,t,n,r,o))}finally{0===(Su=i)&&Vo()}},N=function(){0==(49&Su)&&(function(){if(null!==Hu){var e=Hu;Hu=null,e.forEach((function(e,t){Ll(t,e),Yu(t)})),Vo()}}(),ml())},I=function(e,t){var n=Su;Su|=2;try{return e(t)}finally{0===(Su=n)&&Vo()}};var $l,Vl,Wl={Events:[Pn,Fn,Cn,k,S,In,function(e){ot(e,Nn)},R,D,Yt,ut,ml,{current:!1}]};Vl=($l={findFiberByHostInstance:_n,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);El=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},xl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(o({},$l,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Vl?Vl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wl,t.createPortal=Bl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&Su))throw Error(a(187));var n=Su;Su|=1;try{return Go(99,e.bind(null,t))}finally{Su=n,Vo()}},t.hydrate=function(e,t,n){if(!zl(t))throw Error(a(200));return Hl(null,e,t,!0,n)},t.render=function(e,t,n){if(!zl(t))throw Error(a(200));return Hl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!zl(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Hl(null,null,e,!1,(function(){e._reactRootContainer=null,e[kn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Bl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!zl(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Hl(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(189)},function(e,t,n){"use strict";
|
43 |
/** @license React v0.19.1
|
44 |
* scheduler.production.min.js
|
45 |
*
|
47 |
*
|
48 |
* This source code is licensed under the MIT license found in the
|
49 |
* LICENSE file in the root directory of this source tree.
|
50 |
+
*/var r,o,i,a,u;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(s,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var y=d.now();t.unstable_now=function(){return d.now()-y}}var g=!1,b=null,w=-1,E=5,x=0;a=function(){return t.unstable_now()>=x},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):E=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,T=S.port2;S.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+E;try{b(!0,e)?T.postMessage(null):(g=!1,b=null)}catch(e){throw T.postMessage(null),e}}else g=!1},r=function(e){b=e,g||(g=!0,T.postMessage(null))},o=function(e,n){w=h((function(){e(t.unstable_now())}),n)},i=function(){m(w),w=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<P(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,l=e[u];if(void 0!==a&&0>P(a,n))void 0!==l&&0>P(l,a)?(e[r]=l,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>P(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],C=[],j=1,R=null,D=3,A=!1,L=!1,N=!1;function I(e){for(var t=k(C);null!==t;){if(null===t.callback)_(C);else{if(!(t.startTime<=e))break;_(C),t.sortIndex=t.expirationTime,O(F,t)}t=k(C)}}function M(e){if(N=!1,I(e),!L)if(null!==k(F))L=!0,r(U);else{var t=k(C);null!==t&&o(M,t.startTime-e)}}function U(e,n){L=!1,N&&(N=!1,i()),A=!0;var r=D;try{for(I(n),R=k(F);null!==R&&(!(R.expirationTime>n)||e&&!a());){var u=R.callback;if(null!==u){R.callback=null,D=R.priorityLevel;var l=u(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?R.callback=l:R===k(F)&&_(F),I(n)}else _(F);R=k(F)}if(null!==R)var c=!0;else{var s=k(C);null!==s&&o(M,s.startTime-n),c=!1}return c}finally{R=null,D=r,A=!1}}function q(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||A||(L=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_getFirstCallbackNode=function(){return k(F)},t.unstable_next=function(e){switch(D){case 1:case 2:case 3:var t=3;break;default:t=D}var n=D;D=t;try{return e()}finally{D=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=D;D=e;try{return t()}finally{D=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?u+l:u,a="number"==typeof a.timeout?a.timeout:q(e)}else a=q(e),l=u;return e={id:j++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>u?(e.sortIndex=l,O(C,e),null===k(F)&&e===k(C)&&(N?i():N=!0,o(M,l-u))):(e.sortIndex=a,O(F,e),L||A||(L=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();I(e);var n=k(F);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=D;return function(){var n=D;D=t;try{return e.apply(this,arguments)}finally{D=n}}}},function(e,t,n){var r,o,i;!function(n,a){"use strict";"object"==typeof e.exports?e.exports=a():(o=[],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(){"use strict";var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;function n(e){if(!e)return!0;if(u(e)&&0===e.length)return!0;if(!i(e)){for(var n in e)if(t.call(e,n))return!1;return!0}return!1}function r(t){return e.call(t)}function o(e){return"number"==typeof e||"[object Number]"===r(e)}function i(e){return"string"==typeof e||"[object String]"===r(e)}function a(e){return"object"==typeof e&&"[object Object]"===r(e)}function u(e){return"object"==typeof e&&"number"==typeof e.length&&"[object Array]"===r(e)}function l(e){var t=parseInt(e);return t.toString()===e?t:e}function c(e,t,r,a){if(o(t)&&(t=[t]),n(t))return e;if(i(t))return c(e,t.split(".").map(l),r,a);var u=t[0];if(1===t.length){var s=e[u];return void 0!==s&&a||(e[u]=r),s}return void 0===e[u]&&(o(t[1])?e[u]=[]:e[u]={}),c(e[u],t.slice(1),r,a)}var s=function(e){return Object.keys(s).reduce((function(t,n){return"function"==typeof s[n]&&(t[n]=s[n].bind(s,e)),t}),{})};return s.has=function(e,r){if(n(e))return!1;if(o(r)?r=[r]:i(r)&&(r=r.split(".")),n(r)||0===r.length)return!1;for(var l=0;l<r.length;l++){var c=r[l];if(!a(e)&&!u(e)||!t.call(e,c))return!1;e=e[c]}return!0},s.ensureExists=function(e,t,n){return c(e,t,n,!0)},s.set=function(e,t,n,r){return c(e,t,n,r)},s.insert=function(e,t,n,r){var o=s.get(e,t);r=~~r,u(o)||(o=[],s.set(e,t,o)),o.splice(r,0,n)},s.empty=function(e,l){if(n(l))return e;if(!n(e)){var c,f;if(!(c=s.get(e,l)))return e;if(i(c))return s.set(e,l,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===r(e)}(c))return s.set(e,l,!1);if(o(c))return s.set(e,l,0);if(u(c))c.length=0;else{if(!a(c))return s.set(e,l,null);for(f in c)t.call(c,f)&&delete c[f]}}},s.push=function(e,t){var n=s.get(e,t);u(n)||(n=[],s.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},s.coalesce=function(e,t,n){for(var r,o=0,i=t.length;o<i;o++)if(void 0!==(r=s.get(e,t[o])))return r;return n},s.get=function(e,t,r){if(o(t)&&(t=[t]),n(t))return e;if(n(e))return r;if(i(t))return s.get(e,t.split("."),r);var a=l(t[0]);return 1===t.length?void 0===e[a]?r:e[a]:s.get(e[a],t.slice(1),r)},s.del=function(e,t){return function e(t,r){if(o(r)&&(r=[r]),!n(t)){if(n(r))return t;if(i(r))return e(t,r.split("."));var a=l(r[0]),c=t[a];if(1===r.length)void 0!==c&&(u(t)?t.splice(a,1):delete t[a]);else if(void 0!==t[a])return e(t[a],r.slice(1));return t}}(e,t)},s}))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){"use strict";var r=n(158);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),r(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var o in t)this.field(e,t[o]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},o.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=r(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&r(this._data))for(var o in e)this._data[o]=e[o];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.trace("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,t,n){"use strict";var r=n(195);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.get=function(e){return this.header[e.toLowerCase()]},o.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var o in n)this[o]=n[o];this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},o.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t){function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){n.prototype[e]=function(){return this._defaults.push({fn:e,arguments}),this}})),n.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,t.arguments)}))},e.exports=n},function(e,t,n){var r=n(20),o=n(72).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(123);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(20),o=n(35),i=n(21),a=n(140),u=n(33),l=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),p=u("indexOf",{ACCESSORS:!0,1:0}),d=s||!f||!p;e.exports=d?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){"use strict";var r=n(202);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
|
51 |
/** @license React v16.13.1
|
52 |
* react-is.production.min.js
|
53 |
*
|
55 |
*
|
56 |
* This source code is licensed under the MIT license found in the
|
57 |
* LICENSE file in the root directory of this source tree.
|
58 |
+
*/var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case l:case u:case h:return e;default:switch(e=e&&e.$$typeof){case s:case d:case y:case v:case c:return e;default:return t}}case i:return t}}}function S(e){return x(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=l,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||x(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===y},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===u},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===u||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===s||e.$$typeof===d||e.$$typeof===b||e.$$typeof===w||e.$$typeof===E||e.$$typeof===g)},t.typeOf=x},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=n(43),o=n(11),i=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(10),o=n(67),i=n(20),a=n(77).f,u=function(e){return function(t){for(var n,u=i(t),l=o(u),c=l.length,s=0,f=[];c>s;)n=l[s++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(18),n(87);var r=n(2),o=n.n(r),i=(n(111),n(0)),a=n.n(i),u=n(30),l=n(60),c=n(16),s=n(139),f=n.n(s),p=n(168),d=n(79),h=function(e){return"@@redux-saga/"+e},m=h("CANCEL_PROMISE"),v=h("CHANNEL_END"),y=h("IO"),g=h("MATCH"),b=h("MULTICAST"),w=h("SAGA_ACTION"),E=h("SELF_CANCELLATION"),x=h("TASK"),S=h("TASK_CANCEL"),T=h("TERMINATE"),O=h("LOCATION"),k=n(28),_=n(69),P=function(e){return null==e},F=function(e){return null!=e},C=function(e){return"function"==typeof e},j=function(e){return"string"==typeof e},R=Array.isArray,D=function(e){return e&&C(e.then)},A=function(e){return e&&C(e.next)&&C(e.throw)},L=function e(t){return t&&(j(t)||M(t)||C(t)||R(t)&&t.every(e))},N=function(e){return e&&C(e.take)&&C(e.close)},I=function(e){return C(e)&&e.hasOwnProperty("toString")},M=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};var U=function(e){return function(){return e}}(!0),q=function(){};var z=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var H=function(e,t){Object(k.a)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function G(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function B(e){var t=!1;return function(){t||(t=!0,e())}}var $=function(e){throw e},V=function(e){return{value:e,done:!0}};function W(e,t,n){void 0===t&&(t=$),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:V,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function K(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var Q=function(e){return Array.apply(null,new Array(e))},X=function(e){return function(t){return e(Object.defineProperty(t,w,{value:!0}))}},Y=function(e){return e===T},J=function(e){return e===S},Z=function(e){return Y(e)||J(e)};function ee(e,t){var n=Object.keys(e),r=n.length;var o,i=0,a=R(e)?Q(r):{},u={};return n.forEach((function(e){var n=function(n,u){o||(u||Z(n)?(t.cancel(),t(n,u)):(a[e]=n,++i===r&&(o=!0,t(a))))};n.cancel=q,u[e]=n})),t.cancel=function(){o||(o=!0,n.forEach((function(e){return u[e].cancel()})))},u}function te(e){return{name:e.name||"anonymous",location:ne(e)}}function ne(e){return e[O]}function re(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,o=0,i=0,a=function(t){n[o]=t,o=(o+1)%e,r++},u=function(){if(0!=r){var t=n[i];return n[i]=null,r--,i=(i+1)%e,t}},l=function(){for(var e=[];r;)e.push(u());return e};return{isEmpty:function(){return 0==r},put:function(u){var c;if(r<e)a(u);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[o]=u,i=o=(o+1)%e;break;case 4:c=2*e,n=l(),r=n.length,o=n.length,i=0,n.length=c,e=c,a(u)}},take:u,flush:l}}var oe=function(e){return re(e,4)},ie=function(e,t){var n;return(n={})[y]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function ae(e,t){return void 0===e&&(e="*"),L(e)?ie("TAKE",{pattern:e}):N(n=e)&&n[b]&&F(t)&&L(t)?ie("TAKE",{channel:e,pattern:t}):N(e)?ie("TAKE",{channel:e}):void 0;var n}function ue(e,t){return P(t)&&(t=e,e=void 0),ie("PUT",{channel:e,action:t})}function le(e,t){var n,r=null;return C(e)?n=e:(R(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&j(n)&&C(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function ce(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie("CALL",le(e,n))}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie("FORK",le(e,n))}function fe(e){return void 0===e&&(e=E),ie("CANCEL",e)}n(110);var pe=function(){return Math.random().toString(36).substring(7).split("").join(".")};pe(),pe();function de(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function he(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}var me=he,ve=[],ye=0;function ge(e){try{Ee(),e()}finally{xe()}}function be(e){ve.push(e),ye||(Ee(),Se())}function we(e){try{return Ee(),e()}finally{Se()}}function Ee(){ye++}function xe(){ye--}function Se(){var e;for(xe();!ye&&void 0!==(e=ve.shift());)ge(e)}var Te=function(e){return function(t){return e.some((function(e){return Fe(e)(t)}))}},Oe=function(e){return function(t){return e(t)}},ke=function(e){return function(t){return t.type===String(e)}},_e=function(e){return function(t){return t.type===e}},Pe=function(){return U};function Fe(e){var t="*"===e?Pe:j(e)?ke:R(e)?Te:I(e)?ke:C(e)?Oe:M(e)?_e:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var Ce={type:v},je=function(e){return e&&e.type===v};function Re(e){void 0===e&&(e=oe());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(Ce):e.isEmpty()?(n.push(r),r.cancel=function(){G(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(Ce):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,o=e.length;r<o;r++){(0,e[r])(Ce)}}}}}function De(){var e,t,n,r,o,i,a=(t=!1,r=n=[],o=function(){r===n&&(r=n.slice())},i=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(Ce)}))},(e={})[b]=!0,e.put=function(e){if(!t)if(je(e))i();else for(var o=n=r,a=0,u=o.length;a<u;a++){var l=o[a];l[g](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=Pe),t?e(Ce):(e[g]=n,o(),r.push(e),e.cancel=B((function(){o(),G(r,e)})))},e.close=i,e),u=a.put;return a.put=function(e){e[w]?u(e):be((function(){u(e)}))},a}function Ae(e,t){var n=e[m];C(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var Le,Ne=0,Ie=function(){return++Ne};function Me(e){e.isRunning()&&e.cancel()}var Ue=((Le={}).TAKE=function(e,t,n){var r=t.channel,o=void 0===r?e.channel:r,i=t.pattern,a=t.maybe,u=function(e){e instanceof Error?n(e,!0):!je(e)||a?n(e):n(T)};try{o.take(u,F(i)?Fe(i):null)}catch(e){return void n(e,!0)}n.cancel=u.cancel},Le.PUT=function(e,t,n){var r=t.channel,o=t.action,i=t.resolve;be((function(){var t;try{t=(r?r.put:e.dispatch)(o)}catch(e){return void n(e,!0)}i&&D(t)?Ae(t,n):n(t)}))},Le.ALL=function(e,t,n,r){var o=r.digestEffect,i=Ne,a=Object.keys(t);if(0!==a.length){var u=ee(t,n);a.forEach((function(e){o(t[e],i,u[e],e)}))}else n(R(t)?[]:{})},Le.RACE=function(e,t,n,r){var o=r.digestEffect,i=Ne,a=Object.keys(t),u=R(t)?Q(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||Z(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,u[e]=t,n(u)))};t.cancel=q,l[e]=t})),n.cancel=function(){c||(c=!0,a.forEach((function(e){return l[e].cancel()})))},a.forEach((function(e){c||o(t[e],i,l[e],e)}))},Le.CALL=function(e,t,n,r){var o=t.context,i=t.fn,a=t.args,u=r.task;try{var l=i.apply(o,a);if(D(l))return void Ae(l,n);if(A(l))return void We(e,l,u.context,Ne,te(i),!1,n);n(l)}catch(e){n(e,!0)}},Le.CPS=function(e,t,n){var r=t.context,o=t.fn,i=t.args;try{var a=function(e,t){P(e)?n(t):n(e,!0)};o.apply(r,i.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},Le.FORK=function(e,t,n,r){var o=t.context,i=t.fn,a=t.args,u=t.detached,l=r.task,c=function(e){var t=e.context,n=e.fn,r=e.args;try{var o=n.apply(t,r);if(A(o))return o;var i=!1;return W((function(e){return i?{value:e,done:!0}:(i=!0,{value:o,done:!D(o)})}))}catch(e){return W((function(){throw e}))}}({context:o,fn:i,args:a}),s=function(e,t){return e.isSagaIterator?{name:e.meta.name}:te(t)}(c,i);we((function(){var t=We(e,c,l.context,Ne,s,u,void 0);u?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},Le.JOIN=function(e,t,n,r){var o=r.task,i=function(e,t){if(e.isRunning()){var n={task:o,cb:t};t.cancel=function(){e.isRunning()&&G(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(R(t)){if(0===t.length)return void n([]);var a=ee(t,n);t.forEach((function(e,t){i(e,a[t])}))}else i(t,n)},Le.CANCEL=function(e,t,n,r){var o=r.task;t===E?Me(o):R(t)?t.forEach(Me):Me(t),n()},Le.SELECT=function(e,t,n){var r=t.selector,o=t.args;try{n(r.apply(void 0,[e.getState()].concat(o)))}catch(e){n(e,!0)}},Le.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,o=Re(t.buffer),i=Fe(r),a=function t(n){je(n)||e.channel.take(t,i),o.put(n)},u=o.close;o.close=function(){a.cancel(),u()},e.channel.take(a,i),n(o)},Le.CANCELLED=function(e,t,n,r){n(r.task.isCancelled())},Le.FLUSH=function(e,t,n){t.flush(n)},Le.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},Le.SET_CONTEXT=function(e,t,n,r){var o=r.task;H(o.context,t),n()},Le);function qe(e,t){return e+"?"+t}function ze(e){var t=e.name,n=e.location;return n?t+" "+qe(n.fileName,n.lineNumber):t}var He=null,Ge=[],Be=function(){He=null,Ge.length=0},$e=function(){var e,t,n,r,o,i,a,u=Ge[0],l=Ge.slice(1),c=u.crashedEffect?(e=u.crashedEffect,(t=ne(e))?t.code+" "+qe(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+ze(u.meta)+(c?" \n when executing effect "+c:"")].concat(l.map((function(e){return" created by "+ze(e.meta)})),[(n=Ge,r=function(e){return e.cancelledTasks},o=n,a=(i=[]).concat.apply(i,o.map(r)),a.length?["Tasks cancelled due to error:"].concat(a).join("\n"):"")]).join("\n")};function Ve(e,t,n,r,o,i,a){var u;void 0===a&&(a=q);var l,c,s=0,f=null,p=[],d=Object.create(n),h=function(e,t,n){var r,o=[],i=!1;function a(e){t(),l(),n(e,!0)}function u(t){o.push(t),t.cont=function(u,l){i||(G(o,t),t.cont=q,l?a(u):(t===e&&(r=u),o.length||(i=!0,n(r))))}}function l(){i||(i=!0,o.forEach((function(e){e.cont=q,e.cancel()})),o=[])}return u(e),{addTask:u,cancelAll:l,abort:a,getTasks:function(){return o}}}(t,(function(){p.push.apply(p,h.getTasks().map((function(e){return e.meta.name})))}),m);function m(t,n){if(n){if(s=2,(i={meta:o,cancelledTasks:p}).crashedEffect=He,Ge.push(i),v.isRoot){var r=$e();Be(),e.onError(t,{sagaStack:r})}c=t,f&&f.reject(t)}else t===S?s=1:1!==s&&(s=3),l=t,f&&f.resolve(t);var i;v.cont(t,n),v.joiners.forEach((function(e){e.cb(t,n)})),v.joiners=null}var v=((u={})[x]=!0,u.id=r,u.meta=o,u.isRoot=i,u.context=d,u.joiners=[],u.queue=h,u.cancel=function(){0===s&&(s=1,h.cancelAll(),m(S,!1))},u.cont=a,u.end=m,u.setContext=function(e){H(d,e)},u.toPromise=function(){return f||(f=me(),2===s?f.reject(c):0!==s&&f.resolve(l)),f.promise},u.isRunning=function(){return 0===s},u.isCancelled=function(){return 1===s||0===s&&1===t.status},u.isAborted=function(){return 2===s},u.result=function(){return l},u.error=function(){return c},u);return v}function We(e,t,n,r,o,i,a){var u=e.finalizeRunEffect((function(t,n,r){if(D(t))Ae(t,r);else if(A(t))We(e,t,c.context,n,o,!1,r);else if(t&&t[y]){(0,Ue[t.type])(e,t.payload,r,s)}else r(t)}));f.cancel=q;var l={meta:o,cancel:function(){0===l.status&&(l.status=1,f(S))},status:0},c=Ve(e,l,n,r,o,i,a),s={task:c,digestEffect:p};return a&&(a.cancel=c.cancel),f(),c;function f(e,n){try{var o;n?(o=t.throw(e),Be()):J(e)?(l.status=1,f.cancel(),o=C(t.return)?t.return(S):{done:!0,value:S}):o=Y(e)?C(t.return)?t.return():{done:!0}:t.next(e),o.done?(1!==l.status&&(l.status=3),l.cont(o.value)):p(o.value,r,f)}catch(e){if(1===l.status)throw e;l.status=2,l.cont(e,!0)}}function p(t,n,r,o){void 0===o&&(o="");var i,a=Ie();function l(n,o){i||(i=!0,r.cancel=q,e.sagaMonitor&&(o?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),o&&function(e){He=e}(t),r(n,o))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:o,effect:t}),l.cancel=q,r.cancel=function(){i||(i=!0,l.cancel(),l.cancel=q,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},u(t,a,l)}}function Ke(e,t){var n=e.channel,r=void 0===n?De():n,o=e.dispatch,i=e.getState,a=e.context,u=void 0===a?{}:a,l=e.sagaMonitor,c=e.effectMiddlewares,s=e.onError,f=void 0===s?K:s;for(var p=arguments.length,d=new Array(p>2?p-2:0),h=2;h<p;h++)d[h-2]=arguments[h];var m=t.apply(void 0,d);var v,y=Ie();if(l&&(l.rootSagaStarted=l.rootSagaStarted||q,l.effectTriggered=l.effectTriggered||q,l.effectResolved=l.effectResolved||q,l.effectRejected=l.effectRejected||q,l.effectCancelled=l.effectCancelled||q,l.actionDispatched=l.actionDispatched||q,l.rootSagaStarted({effectId:y,saga:t,args:d})),c){var g=de.apply(void 0,c);v=function(e){return function(t,n,r){return g((function(t){return e(t,n,r)}))(t)}}}else v=z;var b={channel:r,dispatch:X(o),getState:i,sagaMonitor:l,onError:f,finalizeRunEffect:v};return we((function(){var e=We(b,m,u,y,te(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}var Qe=function(e){var t,n=void 0===e?{}:e,r=n.context,o=void 0===r?{}:r,i=n.channel,a=void 0===i?De():i,u=n.sagaMonitor,l=Object(_.a)(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=Ke.bind(null,Object(k.a)({},l,{context:o,channel:a,dispatch:r,getState:n,sagaMonitor:u})),function(e){return function(t){u&&u.actionDispatched&&u.actionDispatched(t);var n=e(t);return a.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){H(o,e)},c},Xe=(n(116),function(e){return{done:!0,value:e}}),Ye={};function Je(e){return N(e)?"channel":I(e)?String(e):C(e)?e.name:String(e)}function Ze(e,t,n){var r,o,i,a=t;function u(t,n){if(a===Ye)return Xe(t);if(n&&!o)throw a=Ye,n;r&&r(t);var u=n?e[o](n):e[a]();return a=u.nextState,i=u.effect,r=u.stateUpdater,o=u.errorState,a===Ye?Xe(t):i}return W(u,(function(e){return u(null,e)}),n)}function et(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a,u={done:!1,value:ae(e)},l=function(e){return{done:!1,value:se.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:fe(e)}},s=function(e){return i=e},f=function(e){return a=e};return Ze({q1:function(){return{nextState:"q2",effect:u,stateUpdater:f}},q2:function(){return i?{nextState:"q3",effect:c(i)}:{nextState:"q1",effect:l(a),stateUpdater:s}},q3:function(){return{nextState:"q1",effect:l(a),stateUpdater:s}}},"q1","takeLatest("+Je(e)+", "+t.name+")")}function tt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return se.apply(void 0,[et,e,t].concat(r))}var nt=n(13),rt=n(91),ot=n.n(rt);
|
59 |
/**
|
60 |
* @package Gravity PDF
|
61 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
62 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
63 |
* @since 5.2
|
64 |
*/
|
65 |
function it(){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_get_template_options").field("nonce",GFPDF.ajaxNonce)}function at(e){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_delete_template").field("nonce",GFPDF.ajaxNonce).field("id",e)}function ut(e,t){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_upload_template").field("nonce",GFPDF.ajaxNonce).attach("template",e,t)}var lt=regeneratorRuntime.mark(ht),ct=regeneratorRuntime.mark(mt),st=regeneratorRuntime.mark(vt),ft=regeneratorRuntime.mark(yt),pt=regeneratorRuntime.mark(gt),dt=regeneratorRuntime.mark(bt);
|
66 |
/**
|
67 |
* @package Gravity PDF
|
68 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
69 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
70 |
* @since 5.2
|
71 |
*/function ht(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(it);case 3:return e=t.sent,t.next=6,ue(Object(nt.D)(e.text));case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,ue(Object(nt.C)());case 12:case"end":return t.stop()}}),lt,null,[[0,8]])}function mt(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(at,e.payload);case 3:return t.next=5,ue(Object(nt.y)("success"));case 5:t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(0),t.next=11,ue(Object(nt.x)("failed"));case 11:case"end":return t.stop()}}),ct,null,[[0,7]])}function vt(e){var t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,ce(ut,e.payload.file,e.payload.filename);case 3:return t=n.sent,n.next=6,ue(Object(nt.A)(t));case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,ue(Object(nt.z)(n.t0));case 12:case"end":return n.stop()}}),st,null,[[0,8]])}function yt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.m,ht);case 2:case"end":return e.stop()}}),ft)}function gt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.h,mt);case 2:case"end":return e.stop()}}),pt)}function bt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.e,vt);case 2:case"end":return e.stop()}}),dt)}n(41),n(93);var wt=n(17);
|
72 |
/**
|
73 |
* @package Gravity PDF
|
74 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
75 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
76 |
* @since 5.2
|
77 |
*/
|
78 |
+
function Et(){return ot.a.get(GFPDF.pluginUrl+"dist/payload/core-fonts.json").accept("application/json").type("json").parse((function(e){return JSON.parse(e.text)}))}function xt(e){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_save_core_font").field("nonce",GFPDF.ajaxNonce).field("font_name",e)}var St=regeneratorRuntime.mark(_t),Tt=regeneratorRuntime.mark(Pt),Ot=regeneratorRuntime.mark(Ft),kt=regeneratorRuntime.mark(Ct);
|
79 |
/**
|
80 |
* @package Gravity PDF
|
81 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
82 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
83 |
* @since 5.2
|
84 |
+
*/function _t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(Et);case 3:return e=t.sent,t.next=6,ue(Object(wt.t)(e.body));case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,ue(Object(wt.s)(GFPDF.coreFontGithubError));case 12:case"end":return t.stop()}}),St,null,[[0,8]])}function Pt(e){var t,n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=3,ae(e);case 3:return t=r.sent,r.next=6,ue(Object(wt.k)(t,"pending",GFPDF.coreFontItemPendingMessage.replace("%s",t)));case 6:return r.prev=6,r.next=9,ce(xt,t);case 9:if((n=r.sent).body){r.next=12;break}throw n;case 12:return r.next=14,ue(Object(wt.k)(t,"success",GFPDF.coreFontItemSuccessMessage.replace("%s",t)));case 14:r.next=22;break;case 16:return r.prev=16,r.t0=r.catch(6),r.next=20,ue(Object(wt.k)(t,"error",GFPDF.coreFontItemErrorMessage.replace("%s",t)));case 20:return r.next=22,ue(Object(wt.l)(t));case 22:return r.prev=22,r.next=25,ue(Object(wt.p)());case 25:return r.finish(22);case 26:r.next=0;break;case 28:case"end":return r.stop()}}),Tt,null,[[6,16,22,26]])}function Ft(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(wt.g,_t);case 2:case"end":return e.stop()}}),Ot)}function Ct(){var e,t,n,r;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,ce(Re);case 2:e=o.sent,t=0;case 4:if(!(t<5)){o.next=10;break}return o.next=7,se(Pt,e);case 7:t++,o.next=4;break;case 10:return o.next=13,ae(wt.f);case 13:return n=o.sent,r=n.payload,o.next=17,ue(e,r);case 17:o.next=10;break;case 19:case"end":return o.stop()}}),kt)}n(31),n(58),n(82),n(94),n(95),n(92),n(83);var jt=n(148);function Rt(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}
|
85 |
/**
|
86 |
* @package Gravity PDF
|
87 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
88 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
89 |
* @since 6.0
|
90 |
*/
|
91 |
var Dt=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.fetch(t,n);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Rt(i,r,o,a,u,"next",e)}function u(e){Rt(i,r,o,a,u,"throw",e)}a(void 0)}))});return function(e,n){return t.apply(this,arguments)}}();function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
92 |
/**
|
93 |
* @package Gravity PDF
|
94 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
95 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
96 |
* @since 6.0
|
97 |
*/var Nt=function(){var e=GFPDF.restUrl+"fonts/";return Dt(e,{method:"GET",headers:{"X-WP-Nonce":GFPDF.restNonce}})},It=function(e){var t=GFPDF.restUrl+"fonts/",n=Object(jt.serialize)(e);return Dt(t,{method:"POST",headers:{"X-WP-Nonce":GFPDF.restNonce},body:n})},Mt=function(e){var t=e.id,n=e.font,r=GFPDF.restUrl+"fonts/"+t,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){Lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n),i=Object(jt.serialize)(o);return Dt(r,{method:"POST",headers:{"X-WP-Nonce":GFPDF.restNonce},body:i})},Ut=function(e){var t=GFPDF.restUrl+"fonts/"+e;return Dt(t,{method:"DELETE",headers:{"X-WP-Nonce":GFPDF.restNonce}})},qt=n(3),zt=regeneratorRuntime.mark(Qt),Ht=regeneratorRuntime.mark(Xt),Gt=regeneratorRuntime.mark(Yt),Bt=regeneratorRuntime.mark(Jt),$t=regeneratorRuntime.mark(Zt),Vt=regeneratorRuntime.mark(en),Wt=regeneratorRuntime.mark(tn),Kt=regeneratorRuntime.mark(nn);
|
98 |
/**
|
99 |
* @package Gravity PDF
|
100 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
101 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
102 |
* @since 6.0
|
103 |
*/
|
104 |
function Qt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(qt.m,Xt);case 2:case"end":return e.stop()}}),zt)}function Xt(){var e,t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,ce(Nt);case 3:if((e=n.sent).ok){n.next=6;break}throw e;case 6:return n.next=8,e.json();case 8:return t=n.sent,n.next=11,ue({type:qt.o,payload:t});case 11:n.next=17;break;case 13:return n.prev=13,n.t0=n.catch(0),n.next=17,ue({type:qt.n,payload:GFPDF.addFatalError});case 17:case"end":return n.stop()}}),Ht,null,[[0,13]])}function Yt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(qt.a,Jt);case 2:case"end":return e.stop()}}),Gt)}function Jt(e){var t,n,r,o,i;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,a.prev=1,a.next=4,ce(It,t);case 4:if((n=a.sent).ok){a.next=7;break}throw n;case 7:return a.next=9,n.json();case 9:return r=a.sent,o={font:r,msg:"<strong>"+GFPDF.addUpdateFontSuccess+"</strong>"},a.next=13,ue({type:qt.c,payload:o});case 13:a.next=30;break;case 15:if(a.prev=15,a.t0=a.catch(1),500!==a.t0.status){a.next=21;break}return a.next=20,ue({type:qt.b,payload:GFPDF.addFatalError});case 20:return a.abrupt("return",a.sent);case 21:return a.next=23,a.t0.json();case 23:if(i=a.sent,400!==a.t0.status||"font_validation_error"!==i.code){a.next=28;break}return a.next=27,ue({type:qt.b,payload:{fontValidationError:GFPDF.fontFileInvalid,msg:i.message}});case 27:return a.abrupt("return",a.sent);case 28:return a.next=30,ue({type:qt.b,payload:i.message});case 30:case"end":return a.stop()}}),Bt,null,[[1,15]])}function Zt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(qt.j,en);case 2:case"end":return e.stop()}}),$t)}function en(e){var t,n,r,o,i;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,a.prev=1,a.next=4,ce(Mt,t);case 4:if((n=a.sent).ok){a.next=7;break}throw n;case 7:return a.next=9,n.json();case 9:return r=a.sent,o={font:r,msg:"<strong>"+GFPDF.addUpdateFontSuccess+"</strong>"},a.next=13,ue({type:qt.l,payload:o});case 13:a.next=30;break;case 15:return a.prev=15,a.t0=a.catch(1),a.next=19,a.t0.json();case 19:if(i=a.sent,500!==a.t0.status||"font_file_gone_missing"===i.code){a.next=24;break}return a.next=23,ue({type:qt.k,payload:GFPDF.addFatalError});case 23:return a.abrupt("return",a.sent);case 24:if(400!==a.t0.status||"font_validation_error"!==i.code){a.next=28;break}return a.next=27,ue({type:qt.k,payload:{fontValidationError:GFPDF.fontFileInvalid,msg:i.message}});case 27:return a.abrupt("return",a.sent);case 28:return a.next=30,ue({type:qt.k,payload:""===i.message?GFPDF.addFatalError:i.message});case 30:case"end":return a.stop()}}),Vt,null,[[1,15]])}function tn(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(qt.f,nn);case 2:case"end":return e.stop()}}),Wt)}function nn(e){var t,n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,ce(Ut,t);case 4:if((n=r.sent).ok){r.next=7;break}throw n;case 7:return r.next=9,ue({type:qt.h,payload:t});case 9:r.next=15;break;case 11:return r.prev=11,r.t0=r.catch(1),r.next=15,ue({type:qt.g,payload:GFPDF.addFatalError});case 15:case"end":return r.stop()}}),Kt,null,[[1,11]])}var rn=regeneratorRuntime.mark(on);
|
105 |
/**
|
106 |
* @package Gravity PDF
|
107 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
108 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
109 |
* @since 5.2
|
110 |
*/function on(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t=[yt(),gt(),bt(),Ft(),Ct(),Qt(),Yt(),Zt(),tn()],n=void 0,(n=ie("ALL",t)).combinator=!0,n;case 2:case"end":return e.stop()}var t,n}),rn)}n(38),n(39),n(57),n(55),n(32),n(42),n(100),n(71),n(29),n(25),n(40);function an(e){return function(e){if(Array.isArray(e))return un(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return un(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return un(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function un(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(n),!0).forEach((function(t){sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
113 |
* and updates the template portion of our store
|
114 |
*
|
115 |
* @package Gravity PDF
|
116 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
117 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
118 |
* @since 4.1
|
119 |
*/var fn={list:GFPDF.templateList,activeTemplate:GFPDF.activeTemplate||GFPDF.activeDefaultTemplate,search:"",updateSelectBoxText:"",templateProcessing:"",templateUploadProcessingSuccess:{},templateUploadProcessingError:{}};n(134),n(147);function pn(e){return function(e){if(Array.isArray(e))return dn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return dn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach((function(t){vn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
120 |
/**
|
121 |
* @package Gravity PDF
|
122 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
123 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
124 |
* @since 5.0
|
125 |
*/var yn={buttonClicked:!1,fontList:[],console:{},retry:[],getFilesFromGitHubFailed:"",requestDownload:"",downloadCounter:0},gn=(n(174),n(135),n(136),n(36));n(120);function bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function En(e){return function(e){if(Array.isArray(e))return xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}
|
126 |
/**
|
127 |
* @package Gravity PDF
|
128 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
129 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
130 |
* @since 6.0
|
131 |
+
*/function Sn(e,t){var n=En(e);return n.map((function(e){e.id===t.font.id&&(e.font_name=t.font.font_name,e.regular=t.font.regular,e.italics=t.font.italics,e.bold=t.font.bold,e.bolditalics=t.font.bolditalics)})),n}function Tn(e,t){return En(e).filter((function(e){return e.id!==t}))}function On(e){return e.substr(e.lastIndexOf("/")+1)}function kn(e,t){return e.replace(".ttf","").toLowerCase().includes(t)}function _n(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bn(Object(n),!0).forEach((function(t){wn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return t.success&&delete t.success,t.error&&t.error.addFont&&delete t.error.addFont,t}function Pn(e){return(Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fn(e){return function(e){if(Array.isArray(e))return Cn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Cn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach((function(t){Dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
132 |
/**
|
133 |
* @package Gravity PDF
|
134 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
135 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
136 |
* @since 6.0
|
137 |
+
*/var An={loading:!1,addFontLoading:!1,deleteFontLoading:!1,fontList:[],searchResult:null,selectedFont:"",msg:{}},Ln=Object(d.combineReducers)({template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case nt.f:return cn({},e,{search:t.text});case nt.g:return cn({},e,{activeTemplate:t.id});case nt.a:return cn({},e,{list:[].concat(an(e.list),[t.template])});case nt.o:var n=e.list.map((function(e){return e.id===t.id?cn({},e,sn({},t.name,t.value)):e}));return cn({},e,{list:n});case nt.d:var r=e.list.filter((function(e){return e.id!==t.id}));return cn({},e,{list:an(r)});case nt.n:return cn({},e,{updateSelectBoxText:t.payload});case nt.j:case nt.i:return cn({},e,{templateProcessing:t.payload});case nt.b:return cn({},e,{templateProcessing:""});case nt.l:return cn({},e,{templateUploadProcessingSuccess:t.payload});case nt.k:return cn({},e,{templateUploadProcessingError:t.payload});case nt.c:return cn({},e,{templateUploadProcessingSuccess:{},templateUploadProcessingError:{}})}return e},coreFonts:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case wt.a:return mn({},e,{console:mn({},e.console,vn({},t.key,{status:t.status,message:t.message}))});case wt.d:return mn({},e,{console:{}});case wt.b:if(e.retry.includes(t.name))break;return mn({},e,{retry:[].concat(pn(e.retry),[t.name])});case wt.c:return mn({},e,{retry:[],buttonClicked:!1});case wt.g:return mn({},e,{buttonClicked:!0});case wt.i:var n=[];return t.payload.map((function(e){n.push(e.name)})),mn({},e,{fontList:n,downloadCounter:n.length});case wt.h:return mn({},e,{getFilesFromGitHubFailed:t.payload});case wt.j:var r=e.retry.length,o=r?"error":"success",i=r?GFPDF.coreFontError.replace("%s",r):GFPDF.coreFontSuccess;if(e.downloadCounter--,0===e.downloadCounter){if(e.retry.length>0)return mn({},e,{console:mn({},e.console,{completed:{status:o,message:i}}),downloadCounter:e.retry.length,requestDownload:"finished"});if(0===e.retry.length&&0===e.downloadCounter)return mn({},e,{console:mn({},e.console,{completed:{status:o,message:i}}),downloadCounter:e.fontList.length,requestDownload:"finished"})}case wt.e:return mn({},e,{requestDownload:""});default:return e}},fontManager:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:An,t=arguments.length>1?arguments[1]:void 0,n=t.payload;switch(t.type){case qt.m:return Rn({},e,{loading:!0,msg:{}});case qt.o:return Rn({},e,{loading:!1,fontList:n});case qt.n:return Rn({},e,{loading:!1,msg:{error:{fontList:n}}});case qt.a:var r=Rn({},e.msg);return r.error&&r.error.fontValidationError&&delete r.error.fontValidationError,Rn({},e,{addFontLoading:!0,msg:_n(Rn({},r))});case qt.c:if(e.msg.error&&e.msg.error.fontList)return Rn({},e,{addFontLoading:!1,msg:Rn({},e.msg,{success:{addFont:n.msg}})});var o=[].concat(Fn(e.fontList),[n.font]);return Rn({},e,{addFontLoading:!1,fontList:o,searchResult:e.searchResult?o:null,msg:{success:{addFont:n.msg}}});case qt.b:case qt.k:var i;return i=Rn({},e.msg,{error:Rn({},e.msg.error,{addFont:n})}),n.fontValidationError&&(i=Rn({},e.msg,{error:Rn({},e.msg.error,{addFont:n.msg,fontValidationError:Object(gn.sprintf)(n.fontValidationError,"<strong>","</strong>")})})),i.error&&i.error.deleteFont&&delete i.error.deleteFont,Rn({},e,{addFontLoading:!1,msg:i});case qt.j:var a=Rn({},e.msg);return a.success&&delete a.success,a.error&&a.error.addFont&&delete a.error.addFont,a.error&&a.error.fontValidationError&&delete a.error.fontValidationError,Rn({},e,{addFontLoading:!0,msg:a});case qt.l:var u={success:{addFont:n.msg}};return e.searchResult?Rn({},e,{addFontLoading:!1,fontList:Sn(Fn(e.fontList),n),searchResult:Sn(Fn(e.searchResult),n),msg:u}):Rn({},e,{addFontLoading:!1,fontList:Sn(Fn(e.fontList),n),msg:u});case qt.t:return Rn({},e,{msg:{error:Rn({},e.msg.error,{addFont:Object(gn.sprintf)(GFPDF.addUpdateFontError,"<strong>","</strong>")})}});case qt.i:var l=Rn({},e.msg.error.addFont);return delete l[n],Rn({},e,{msg:{error:Rn({},e.msg.error,{addFont:l})}});case qt.f:var c=Rn({},e.msg);return c.success&&delete c.success,c.error&&c.error.deleteFont&&delete c.error.deleteFont,Rn({},e,{deleteFontLoading:!0,msg:c});case qt.h:return e.searchResult?Rn({},e,{deleteFontLoading:!1,fontList:Tn(Fn(e.fontList),n),searchResult:0===Tn(Fn(e.searchResult),n).length?null:Tn(Fn(e.searchResult),n)}):Rn({},e,{deleteFontLoading:!1,fontList:Tn(Fn(e.fontList),n)});case qt.g:return Rn({},e,{deleteFontLoading:!1,msg:Rn({},e.msg,{error:Rn({},e.msg.error,{deleteFont:n})})});case qt.d:return Rn({},e,{msg:_n(Rn({},e.msg))});case qt.e:var s=e.msg.error.addFont;return"object"===Pn(s)&&delete s[n],Rn({},e,{msg:Rn({},e.msg,{error:Rn({},e.msg.error,{addFont:s})})});case qt.q:return Rn({},e,{searchResult:null});case qt.r:var f=Fn(e.fontList);if(""===n)return Rn({},e,{searchResult:f});var p=n.toLowerCase(),d=[],h=f.map((function(e){return e.regular=On(e.regular),e.italics=On(e.italics),e.bold=On(e.bold),e.bolditalics=On(e.bolditalics),Rn({},e)}));h.map((function(e){(kn(e.font_name,p)||kn(e.regular,p)||kn(e.italics,p)||kn(e.bold,p)||kn(e.bolditalics,p))&&d.push(e)}));var m=[],v=[];d.map((function(e){if(e.font_name.toLowerCase().includes(p))return m.push(e);v.push(e)}));var y=[].concat(Fn(m.sort((function(e,t){return e.font_name.localeCompare(t.font_name)}))),Fn(v.sort((function(e,t){return e.font_name.localeCompare(t.font_name)}))));return Rn({},e,{searchResult:y});case qt.s:return Rn({},e,{selectedFont:n});case qt.p:var g=Fn(e.fontList),b=g.filter((function(e){return e.id!==n})),w=g.filter((function(e){return e.id===n})),E=[].concat(Fn(w),Fn(b));return Rn({},e,{fontList:E})}return e}}),Nn=Qe(),In=[Nn],Mn=[d.applyMiddleware.apply(void 0,In)],Un=p.composeWithDevTools.apply(void 0,Mn),qn=Object(d.createStore)(Ln,Un);function zn(){return qn}Nn.run(on);var Hn=n(15),Gn=function(){return!1};
|
138 |
/**
|
139 |
* Render a blank component for use with React Router's default route
|
140 |
*
|
141 |
* @package Gravity PDF
|
142 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
143 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
144 |
* @since 4.1
|
145 |
*/function Bn(){return(Bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var $n=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(5)]).then(n.bind(null,272))})),Vn=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,275))})),Wn=function(){return a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(l.a,null,a.a.createElement(c.c,null,a.a.createElement(c.a,{path:"/template",exact:!0,render:function(e){return a.a.createElement($n,Bn({},e,{ajaxUrl:GFPDF.ajaxUrl,ajaxNonce:GFPDF.ajaxNonce,templateDetailsText:GFPDF.templateDetails,templateHeaderText:GFPDF.installedPdfs,genericUploadErrorText:GFPDF.problemWithTheUpload,activateText:GFPDF.select,addTemplateText:GFPDF.addNewTemplate,filenameErrorText:GFPDF.uploadInvalidNotZipFile,filesizeErrorText:GFPDF.uploadInvalidExceedsFileSizeLimit,installSuccessText:GFPDF.templateSuccessfullyInstalled,installUpdatedText:GFPDF.templateSuccessfullyUpdated,templateSuccessfullyInstalledUpdated:GFPDF.templateSuccessfullyInstalledUpdated,templateInstallInstructions:GFPDF.templateInstallInstructions}))}}),a.a.createElement(c.a,{path:"/template/:id",render:function(e){return a.a.createElement(Vn,Bn({},e,{ajaxUrl:GFPDF.ajaxUrl,ajaxNonce:GFPDF.ajaxNonce,pdfWorkingDirPath:GFPDF.pdfWorkingDir,activateText:GFPDF.select,templateDeleteText:GFPDF.delete,templateConfirmDeleteText:GFPDF.doYouWantToDeleteTemplate,templateDeleteErrorText:GFPDF.couldNotDeleteTemplate,currentTemplateText:GFPDF.currentTemplate,versionText:GFPDF.version,groupText:GFPDF.group,tagsText:GFPDF.tags,showPreviousTemplateText:GFPDF.showPreviousTemplate,showNextTemplateText:GFPDF.showNextTemplate}))}}),a.a.createElement(c.a,{component:Gn}))))};function Kn(){return(Kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Qn=Object(i.lazy)((function(){return n.e(10).then(n.bind(null,268))}));
|
147 |
* Advanced Template Selector Bootstrap
|
148 |
*
|
149 |
* @package Gravity PDF
|
150 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
151 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
152 |
* @since 4.1
|
153 |
*/function Xn(e){var t=zn();!function(e){e.wrap('<div id="gfpdf-settings-field-wrapper-template-container" />').parent().append('<span id="gpdf-advance-template-selector">').append('<div id="gfpdf-overlay" class="theme-overlay">')}(e),Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(l.a,null,a.a.createElement(c.a,{render:function(e){return a.a.createElement(Qn,Kn({},e,{store:t}))}}))),document.getElementById("gpdf-advance-template-selector")),function(e){Object(u.render)(a.a.createElement(Hn.a,{store:e},a.a.createElement(Wn,null)),document.getElementById("gfpdf-overlay"))}(t),function(e,t){var n=f()(e.getState,"template.activeTemplate");e.subscribe(n((function(e){t.val()!==e&&t.val(e).trigger("change")}))),t[0].addEventListener("change",(function(){t.val()!==e.getState().template.activeTemplate&&e.dispatch(Object(nt.v)(t.val()))}))}(t,e),function(e,t){var n=e.getState().template.list.length,r=f()(e.getState,"template.list");e.subscribe(r((function(r){if(n!==r.length){n=r.length,e.dispatch(Object(nt.B)());var o=f()(e.getState,"template.updateSelectBoxText");e.subscribe(o((function(n){t.html(n).val(e.getState().template.activeTemplate).trigger("chosen:updated")})))}})))}(t,e)}n(175);var Yn=n(1),Jn=n.n(Yn),Zn=(n(80),n(81),n(167)),er=function(e){var t=e.id;return a.a.createElement("div",{className:"theme-header"},a.a.createElement("h1",null,"Font Manager"),a.a.createElement(Zn.a,{id:t}))};er.propTypes={id:Jn.a.string};var tr=er,nr=(n(153),function(e){var t=e.msg;return a.a.createElement("div",{id:"gf-admin-notices-wrapper"},a.a.createElement("div",{className:"notice notice-error gf-notice",dangerouslySetInnerHTML:{__html:t}}))});nr.propTypes={msg:Jn.a.string.isRequired};var rr=nr;function or(e){return(or="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ir(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ur(e,t){return(ur=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=fr(e);if(t){var o=fr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cr(this,n)}}function cr(e,t){return!t||"object"!==or(t)&&"function"!=typeof t?sr(e):t}function sr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fr(e){return(fr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
154 |
/**
|
155 |
* @package Gravity PDF
|
156 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
157 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
158 |
* @since 6.0
|
159 |
+
*/var dr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ur(e,t)}(i,e);var t,n,r,o=lr(i);function i(){var e;ir(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return pr(sr(e=o.call.apply(o,[this].concat(n))),"state",{searchInput:""}),pr(sr(e),"handleSearch",(function(t){var n=t.target.value;e.setState({searchInput:n}),e.props.searchFontList(n)})),pr(sr(e),"resetSearchState",(function(){e.setState({searchInput:""})})),e}return t=i,(n=[{key:"componentDidMount",value:function(){this.input.focus()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.id,r=t.searchResult,o=t.msg;e.searchResult===r||r||this.resetSearchState(),JSON.stringify(e.msg)!==JSON.stringify(o)&&o.success&&n&&this.resetSearchState()}},{key:"componentWillUnmount",value:function(){""!==this.state.searchInput&&this.props.resetSearchResult()}},{key:"render",value:function(){var e=this;return a.a.createElement("div",{role:"form"},a.a.createElement("input",{type:"search",id:"font-manager-search-box",className:"wp-filter-search",placeholder:GFPDF.fontManagerSearchPlaceHolder,value:this.state.searchInput,onChange:this.handleSearch,onKeyDown:function(e){return 13===e.keyCode&&e.preventDefault()},ref:function(t){return e.input=t},tabIndex:"143"}))}}])&&ar(t.prototype,n),r&&ar(t,r),i}(i.Component);pr(dr,"propTypes",{id:Jn.a.string,searchResult:Jn.a.oneOfType([Jn.a.oneOf([null]).isRequired,Jn.a.arrayOf(Jn.a.object).isRequired]),msg:Jn.a.object.isRequired,resetSearchResult:Jn.a.func.isRequired,searchFontList:Jn.a.func.isRequired});var hr=Object(Hn.b)((function(e){return{searchResult:e.fontManager.searchResult,msg:e.fontManager.msg}}),{resetSearchResult:qt.C,searchFontList:qt.D})(dr),mr=function(){return a.a.createElement("div",{className:"font-list-header"},a.a.createElement("div",{className:"font-name"},GFPDF.fontListInstalledFonts),a.a.createElement("div",null,GFPDF.fontListRegular),a.a.createElement("div",null,GFPDF.fontListItalics),a.a.createElement("div",null,GFPDF.fontListBold),a.a.createElement("div",null,GFPDF.fontListBoldItalics),a.a.createElement("div",null))},vr=(n(152),function(e){var t=e.font;return a.a.createElement("div",null,a.a.createElement("span",{className:"dashicons dashicons-"+(t?"yes":"no-alt")}))});vr.propTypes={font:Jn.a.string.isRequired};var yr=vr,gr=n(138),br=n(54);function wr(e){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Er(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sr(e,t){return(Sr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_r(e);if(t){var o=_r(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Or(this,n)}}function Or(e,t){return!t||"object"!==wr(t)&&"function"!=typeof t?kr(e):t}function kr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _r(e){return(_r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
160 |
/**
|
161 |
* @package Gravity PDF
|
162 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
163 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
164 |
* @since 6.0
|
165 |
+
*/var Fr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sr(e,t)}(i,e);var t,n,r,o=Tr(i);function i(){var e;Er(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Pr(kr(e=o.call.apply(o,[this].concat(n))),"state",{disableSelectFontName:!1,deleteId:"",moveSelectedFontToTop:!0}),Pr(kr(e),"handleDisableSelectFields",(function(){var t=window.location.search.substr(window.location.search.lastIndexOf("=")+1);if("tools"===t)return e.setState({disableSelectFontName:!0});e.handleSetSelectedFontNameValue(t)})),Pr(kr(e),"handleSetSelectedFontNameValue",(function(t){var n,r=e.props,o=r.fontList,i=r.selectFont;if(n="PDF"!==t&&"general"!==t?document.querySelector("#gfpdf_settings\\[font\\]").value:document.querySelector("#gfpdf_settings\\[default_font\\]").value,!e.handleCheckSelectBoxValue(o,n))return i("");i(n)})),Pr(kr(e),"handleCheckSelectBoxValue",(function(e,t){return!(!e||!e.filter((function(e){return e.id===t}))[0])})),Pr(kr(e),"handleResetLoadingState",(function(){e.setState({deleteId:""})})),Pr(kr(e),"handleMoveSelectedFontAtTheTopOfTheList",(function(t){e.setState({moveSelectedFontToTop:!1}),e.props.moveSelectedFontToTop(t)})),Pr(kr(e),"handleFontClick",(function(t){var n=e.props,r=n.id,o=n.history,i=n.clearAddFontMsg,a=n.msg,u=a.success,l=a.error;if((u&&u.addFont||l&&l.addFont)&&i(),r===t)return Object(br.b)(o);Object(br.b)(o,t)})),Pr(kr(e),"handleFontClickKeypress",(function(t,n){13!==t.keyCode&&32!==t.keyCode||e.handleFontClick(n)})),Pr(kr(e),"handleDeleteFont",(function(t,n){t.stopPropagation(),e.setState({deleteId:n}),window.confirm(GFPDF.fontManagerDeleteFontConfirmation)&&e.props.deleteFont(n)})),Pr(kr(e),"handleDeleteFontKeypress",(function(t,n){13!==t.keyCode&&32!==t.keyCode||e.handleDeleteFont(t,n)})),Pr(kr(e),"handleSelectFont",(function(t){e.props.selectFont(t.target.value),document.querySelectorAll(".select-font-name").forEach((function(e){e.value!==t.target.value?e.checked=!1:e.checked=!0}))})),Pr(kr(e),"handleSelectFontKeypress",(function(t){13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),t.stopPropagation(),e.handleSelectFont(t))})),e}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.props.selectedFont;this.handleDisableSelectFields(),e&&this.handleMoveSelectedFontAtTheTopOfTheList(e)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.history,r=t.loading,o=t.fontList,i=t.selectedFont,a=t.id,u=document.querySelector(".update-font.show");e.loading===r||r||this.handleResetLoadingState(),e.loading!==r&&e.fontList!==o&&u&&Object(br.b)(n),""===e.selectedFont&&i&&!a&&this.state.moveSelectedFontToTop&&this.handleMoveSelectedFontAtTheTopOfTheList(i)}},{key:"render",value:function(){var e=this,t=document.querySelector(".update-font.show"),n=this.state,r=n.disableSelectFontName,o=n.deleteId,i=this.props,u=i.id,l=i.loading,c=i.fontList,s=i.searchResult,f=i.selectedFont,p=s||c,d=t?"-1":"144";return a.a.createElement("div",{className:"font-list-items",role:"listbox","aria-label":GFPDF.fontListInstalledFonts,"aria-live":"polite"},p&&p.map((function(t){return a.a.createElement("div",{key:t.id,className:"font-list-item"+(t.id===u?" active":""),onClick:function(){return e.handleFontClick(t.id)},onKeyDown:function(n){return e.handleFontClickKeypress(n,t.id)},tabIndex:d,role:"option"},a.a.createElement("span",{className:"font-name"},!r&&a.a.createElement("input",{type:"radio",className:"select-font-name",name:"select-font-name-"+t.id,value:t.id,onChange:function(t){return e.handleSelectFont(t)},onClick:function(e){return e.stopPropagation()},onKeyDown:function(t){return e.handleSelectFontKeypress(t)},checked:t.id===f,"aria-label":GFPDF.fontManagerSelectFontAriaLabel+": "+t.font_name,tabIndex:d}),t.font_name),a.a.createElement(yr,{font:t.regular}),a.a.createElement(yr,{font:t.italics}),a.a.createElement(yr,{font:t.bold}),a.a.createElement(yr,{font:t.bolditalics}),l&&o===t.id?a.a.createElement(gr.a,{style:"delete-font"}):a.a.createElement("span",{className:"dashicons dashicons-trash",onClick:function(n){return e.handleDeleteFont(n,t.id)},onKeyDown:function(n){return e.handleDeleteFontKeypress(n,t.id)},tabIndex:d}))})))}}])&&xr(t.prototype,n),r&&xr(t,r),i}(i.Component);Pr(Fr,"propTypes",{id:Jn.a.string,history:Jn.a.object.isRequired,clearAddFontMsg:Jn.a.func.isRequired,msg:Jn.a.object.isRequired,deleteFont:Jn.a.func.isRequired,selectFont:Jn.a.func.isRequired,moveSelectedFontToTop:Jn.a.func.isRequired,fontList:Jn.a.arrayOf(Jn.a.shape({font_name:Jn.a.string.isRequired,id:Jn.a.string.isRequired,regular:Jn.a.string.isRequired,italics:Jn.a.string.isRequired,bold:Jn.a.string.isRequired,bolditalics:Jn.a.string.isRequired})).isRequired,searchResult:Jn.a.oneOfType([Jn.a.oneOf([null]).isRequired,Jn.a.arrayOf(Jn.a.object).isRequired]),selectedFont:Jn.a.string.isRequired,loading:Jn.a.bool.isRequired});var Cr=Object(Hn.b)((function(e){return{loading:e.fontManager.deleteFontLoading,fontList:e.fontManager.fontList,searchResult:e.fontManager.searchResult,selectedFont:e.fontManager.selectedFont,msg:e.fontManager.msg}}),{clearAddFontMsg:qt.v,deleteFont:qt.x,selectFont:qt.E,moveSelectedFontToTop:qt.B})(Fr),jr=function(){return a.a.createElement("div",{className:"font-list-items-skeleton"},["a","b","c","d","e","f","g","h"].map((function(e){return a.a.createElement("div",{key:e,className:"font-list-item"},a.a.createElement("div",null,a.a.createElement("span",{className:"placeholder dashicons dashicons-trash"})),a.a.createElement("span",{className:"placeholder font-name"}),a.a.createElement("div",null,a.a.createElement("span",{className:"placeholder dashicons dashicons-yes"})),a.a.createElement("div",null,a.a.createElement("span",{className:"placeholder dashicons dashicons-no-alt"})),a.a.createElement("div",null,a.a.createElement("span",{className:"placeholder dashicons dashicons-no-alt"})),a.a.createElement("div",null,a.a.createElement("span",{className:"placeholder dashicons dashicons-no-alt"})))})))},Rr=function(e){var t=e.empty,n=e.error,r=e.getCustomFontList,o=e.resetSearchResult,i=a.a.createElement("span",null,GFPDF.fontListEmpty),u=a.a.createElement("span",null,GFPDF.searchResultEmpty," ",a.a.createElement("span",{className:"link",onClick:o},"Clear Search.")),l=t?i:n?a.a.createElement("p",{className:"link",onClick:r},n):u;return a.a.createElement("div",{className:"alert-message"},l)};Rr.propTypes={empty:Jn.a.bool,error:Jn.a.string,getCustomFontList:Jn.a.func.isRequired,resetSearchResult:Jn.a.func.isRequired};var Dr=Object(Hn.b)(null,{getCustomFontList:qt.A,resetSearchResult:qt.C})(Rr),Ar=function(e){var t=e.id,n=e.loading,r=e.fontList,o=e.searchResult,i=e.msg.error,u=e.history,l=i&&i.fontList,c=0===r.length&&!o,s=o&&0===o.length||!o,f=r.length>0&&!o,p=!l&&!n&&!f&&s;return a.a.createElement("div",{className:"font-list","aria-live":"polite"},a.a.createElement(mr,null),n?a.a.createElement(jr,null):a.a.createElement(Cr,{id:t,history:u}),c&&p&&a.a.createElement(Dr,{empty:c}),!c&&p&&a.a.createElement(Dr,null),l&&a.a.createElement(Dr,{error:i.fontList}))};
|
166 |
/**
|
167 |
* @package Gravity PDF
|
168 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
169 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
170 |
* @since 6.0
|
171 |
*/Ar.propTypes={id:Jn.a.string,loading:Jn.a.bool.isRequired,fontList:Jn.a.arrayOf(Jn.a.object).isRequired,searchResult:Jn.a.oneOfType([Jn.a.oneOf([null]).isRequired,Jn.a.arrayOf(Jn.a.object).isRequired]),msg:Jn.a.object.isRequired,history:Jn.a.object.isRequired};var Lr=Object(Hn.b)((function(e){return{loading:e.fontManager.loading,fontList:e.fontManager.fontList,searchResult:e.fontManager.searchResult,msg:e.fontManager.msg}}),{})(Ar),Nr=n(166),Ir=function(e){var t=e.label,n=e.font;return a.a.createElement("div",{htmlFor:"gfpdf-font-variant-"+t},"regular"===t&&"false"===n&&a.a.createElement("span",{dangerouslySetInnerHTML:{__html:Object(gn.sprintf)(GFPDF.fontListRegularRequired,"<span class='required'>","</span>")}}),"regular"===t&&"true"===n&&GFPDF.fontListRegular,"italics"===t&&GFPDF.fontListItalics,"bold"===t&&GFPDF.fontListBold,"bolditalics"===t&&GFPDF.fontListBoldItalics)};Ir.propTypes={label:Jn.a.string.isRequired,font:Jn.a.string};var Mr=Ir;function Ur(){return(Ur=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qr(e){return(qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zr(e,t){return function(e){if(Array.isArray(e))return e}
|
172 |
/**
|
173 |
* @package Gravity PDF
|
174 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
175 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
176 |
* @since 6.0
|
177 |
*/(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Gr=function(e){var t=e.state,n=e.fontStyles,r=e.validateRegular,o=e.onHandleUpload,i=e.onHandleDeleteFontStyle,u=e.msg.error,l=e.tabIndex;return a.a.createElement("div",{id:"gfpdf-font-files-setting"},Object.entries(n).map((function(e){var c=zr(e,2),s=c[0],f=c[1],p="gfpdf-font-variant-"+s+" "+t,d=p+" gfpdf-font-files-label",h=""!==f&&"object"!==qr(f)?f.substr(f.lastIndexOf("/")+1):f.name,m=u&&"object"===qr(u.addFont)&&u.addFont[s],v="regular"===s&&!r&&""===n.regular,y=(f?" active":"")+(m?" error":"")+(v?" required":""),g=f?"trash":"plus",b=f?"true":"false";return a.a.createElement(Nr.a,{key:s,accept:".ttf",onDrop:function(e){return o(s,e[0],t)},multiple:!1},(function(e){var n=e.getRootProps,r=e.getInputProps;return a.a.createElement("a",Ur({className:"drop-zone"+y},n(),{tabIndex:l}),f?a.a.createElement("input",Ur({id:p,"aria-labelledby":d,"aria-describedby":"gfpdf-font-files-description"},r({onClick:function(e){return i(e,s,t)}}))):a.a.createElement("input",Ur({id:p,"aria-labelledby":d,"aria-describedby":"gfpdf-font-files-description"},r())),a.a.createElement("span",{className:"gfpdf-font-filename"},v&&a.a.createElement("span",{className:"required"},GFPDF.fontManagerFontFileRequiredRegular),m||h),a.a.createElement("span",{className:"dashicons dashicons-"+g}),a.a.createElement(Mr,{label:s,font:b}))}))})))};Gr.propTypes={state:Jn.a.string.isRequired,fontStyles:Jn.a.object.isRequired,validateRegular:Jn.a.bool.isRequired,onHandleUpload:Jn.a.func.isRequired,onHandleDeleteFontStyle:Jn.a.func.isRequired,msg:Jn.a.object.isRequired,tabIndex:Jn.a.string.isRequired};var Br=Gr;
|
178 |
/**
|
179 |
* @package Gravity PDF
|
180 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
181 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
182 |
* @since 6.0
|
183 |
*/function $r(){var e=document.querySelector(".font-list-column"),t=document.querySelector(".update-font.show");e.style.height=window.getComputedStyle(t).height}function Vr(e){return(Vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qr(e,t){return(Qr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Zr(e);if(t){var o=Zr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Yr(this,n)}}function Yr(e,t){return!t||"object"!==Vr(t)&&"function"!=typeof t?Jr(e):t}function Jr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zr(e){return(Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
184 |
/**
|
185 |
* @package Gravity PDF
|
186 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
187 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
188 |
* @since 6.0
|
189 |
*/var to=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qr(e,t)}(i,e);var t,n,r,o=Xr(i);function i(){var e;Wr(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return eo(Jr(e=o.call.apply(o,[this].concat(n))),"state",{tooltip:!1}),eo(Jr(e),"handleDisplayInfo",(function(){e.setState({tooltip:!e.state.tooltip}),setTimeout((function(){return $r()}),100)})),eo(Jr(e),"handleContentHighlight",(function(e){e.target.focus(),e.target.select(),document.execCommand("copy")})),e}return t=i,(n=[{key:"render",value:function(){var e=this.props.id,t=this.state.tooltip,n="<style>\n.font-".concat(e," {\n font-family: ").concat(e,', sans-serif;\n}\n</style>\n \n<div class="font-').concat(e,'">Text</div>');return a.a.createElement("div",{className:"msg template-usage-link"},t?a.a.createElement("span",{className:"dashicons dashicons-arrow-down-alt2"}):a.a.createElement("span",{className:"dashicons dashicons-arrow-right-alt2"}),a.a.createElement("a",{onClick:this.handleDisplayInfo},GFPDF.fontManagerTemplateTooltipLabel),t&&a.a.createElement("div",{dangerouslySetInnerHTML:{__html:Object(gn.sprintf)(GFPDF.fontManagerTemplateTooltipDesc,'<a href="https://docs.gravitypdf.com/v6/developers/first-custom-pdf">','<a href="https://docs.gravitypdf.com/v6/users/setup-pdf#font">',"</a>")}}),t&&a.a.createElement("textarea",{id:"template_usage_info_box",onClick:this.handleContentHighlight,onChange:this.handleContentHighlight,value:n}))}}])&&Kr(t.prototype,n),r&&Kr(t,r),i}(i.Component);eo(to,"propTypes",{id:Jn.a.string});var no=to;function ro(e){return(ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function io(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ao(e,t){return(ao=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=so(e);if(t){var o=so(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lo(this,n)}}function lo(e,t){return!t||"object"!==ro(t)&&"function"!=typeof t?co(e):t}function co(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function so(e){return(so=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
190 |
/**
|
191 |
* @package Gravity PDF
|
192 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
193 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
194 |
* @since 6.0
|
195 |
*/var po=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ao(e,t)}(i,e);var t,n,r,o=uo(i);function i(){var e;oo(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fo(co(e=o.call.apply(o,[this].concat(n))),"handleSelectFont",(function(t,n){var r=e.props.selectFont;if(t===n)return r("");r(t)})),fo(co(e),"handleSelectFontKeypress",(function(t,n,r){var o=e.props.selectFont;if(13===t.keyCode||32===t.keyCode){if(n===r)return o("");o(n)}})),fo(co(e),"handleDeleteFont",(function(t){window.confirm(GFPDF.fontManagerDeleteFontConfirmation)&&e.props.deleteFont(t)})),fo(co(e),"handleDeleteFontKeypress",(function(t,n){13!==t.keyCode&&32!==t.keyCode||window.confirm(GFPDF.fontManagerDeleteFontConfirmation)&&e.props.deleteFont(n)})),e}return t=i,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.state,r=t.id,o=t.disabled,i=t.onHandleCancelEditFont,u=t.onHandleCancelEditFontKeypress,l=t.selectedFont,c=t.msg,s=c.success,f=c.error,p=t.loading,d=t.tabIndex,h=document.querySelector(".footer button.cancel"),m=f&&f.fontList,v=s&&s.addFont,y=v&&m||v&&!n,g=f&&f.addFont&&f.addFont,b=g&&f.fontValidationError&&f.fontValidationError,w=Object(gn.sprintf)(GFPDF.fontFileMissing,"<strong>","</strong>"),E=""!==r&&r===l?" checked":" uncheck",x=g&&b,S=g&&!b;return a.a.createElement("footer",{className:"footer"+(h?" cancel":"")},a.a.createElement("div",{className:"buttons-icons-container"},a.a.createElement("div",null,r&&a.a.createElement("button",{className:"button gfpdf-button primary cancel",onClick:i,onKeyDown:u,type:"button",tabIndex:d,"aria-label":GFPDF.cancel},GFPDF.fontManagerCancelButtonText),a.a.createElement("button",{className:"button gfpdf-button primary",tabIndex:d,disabled:o,"aria-label":GFPDF.fontManagerUpdateFontAriaLabel},r?GFPDF.fontManagerUpdateTitle+" →":GFPDF.fontManagerAddTitle+" →"),p&&a.a.createElement(gr.a,{style:"add-update-font"})),a.a.createElement("div",{className:"select-delete-icons-container"},r&&a.a.createElement("button",{className:"dashicons dashicons-yes"+E,onClick:function(){return e.handleSelectFont(r,l)},onKeyDown:function(t){return e.handleSelectFontKeypress(t,r,l)},type:"button",tabIndex:d,"aria-label":GFPDF.fontManagerSelectFontAriaLabel}),r&&a.a.createElement("button",{className:"dashicons dashicons-trash",onClick:function(){return e.handleDeleteFont(r)},onKeyDown:function(t){return e.handleDeleteFontKeypress(t,r)},type:"button",tabIndex:d,"aria-label":GFPDF.fontManagerDeleteFontAriaLabel}))),y&&a.a.createElement("span",{className:"msg success",dangerouslySetInnerHTML:{__html:s.addFont}}),x&&a.a.createElement("span",{className:"msg error",dangerouslySetInnerHTML:{__html:b}}),S&&a.a.createElement("span",{className:"msg error",dangerouslySetInnerHTML:{__html:"object"===ro(f.addFont)?w:f.addFont}}),r&&a.a.createElement(no,{id:r}))}}])&&io(t.prototype,n),r&&io(t,r),i}(i.Component);fo(po,"propTypes",{state:Jn.a.string,id:Jn.a.string,disabled:Jn.a.bool,onHandleCancelEditFont:Jn.a.func,onHandleCancelEditFontKeypress:Jn.a.func,selectedFont:Jn.a.string.isRequired,selectFont:Jn.a.func.isRequired,deleteFont:Jn.a.func,msg:Jn.a.object.isRequired,loading:Jn.a.bool.isRequired,tabIndex:Jn.a.string.isRequired});var ho=Object(Hn.b)((function(e){return{selectedFont:e.fontManager.selectedFont}}),{selectFont:qt.E,deleteFont:qt.x})(po),mo=function(e){var t=e.label,n=e.onHandleInputChange,r=e.onHandleUpload,o=e.onHandleDeleteFontStyle,i=e.onHandleSubmit,u=e.fontStyles,l=e.validateLabel,c=e.validateRegular,s=e.msg,f=e.loading,p=e.tabIndexFontName,d=e.tabIndexFontFiles,h=e.tabIndexFooterButtons,m=Object(gn.sprintf)(GFPDF.fontManagerFontNameLabel,"<span class='required'>","</span>");return a.a.createElement("div",{className:"add-font"},a.a.createElement("form",{onSubmit:i},a.a.createElement("h2",null,GFPDF.fontManagerAddTitle),a.a.createElement("p",null,GFPDF.fontManagerAddDesc),a.a.createElement("label",{htmlFor:"gfpdf-font-name-input",dangerouslySetInnerHTML:{__html:m}}),a.a.createElement("p",{id:"gfpdf-font-name-desc-add"},GFPDF.fontManagerFontNameDesc),a.a.createElement("input",{type:"text",id:"gfpdf-add-font-name-input",className:l?"":"input-label-validation-error","aria-describedby":"gfpdf-font-name-desc-add",name:"label",value:t,maxLength:"60",onChange:function(e){return n(e,"addFont")},tabIndex:p}),a.a.createElement("div",{"aria-live":"polite"},!l&&a.a.createElement("span",{className:"required",role:"alert"},a.a.createElement("em",null,GFPDF.fontManagerFontNameValidationError))),a.a.createElement("label",{id:"gfpdf-font-files-label-add","aria-labelledby":"gfpdf-font-files-description-add"},GFPDF.fontManagerFontFilesLabel),a.a.createElement("p",{id:"gfpdf-font-files-description-add"},GFPDF.fontManagerFontFilesDesc),a.a.createElement(Br,{state:"addFont",fontStyles:u,validateRegular:c,onHandleUpload:r,onHandleDeleteFontStyle:o,msg:s,tabIndex:d}),a.a.createElement(ho,{state:"addFont",msg:s,loading:f,tabIndex:h})))};mo.propTypes={label:Jn.a.string.isRequired,onHandleInputChange:Jn.a.func.isRequired,onHandleUpload:Jn.a.func.isRequired,onHandleDeleteFontStyle:Jn.a.func.isRequired,onHandleSubmit:Jn.a.func.isRequired,validateLabel:Jn.a.bool.isRequired,validateRegular:Jn.a.bool.isRequired,fontStyles:Jn.a.object.isRequired,msg:Jn.a.object.isRequired,loading:Jn.a.bool.isRequired,tabIndexFontName:Jn.a.string.isRequired,tabIndexFontFiles:Jn.a.string.isRequired,tabIndexFooterButtons:Jn.a.string.isRequired};var vo=mo,yo=function(e){var t=e.id,n=e.label,r=e.onHandleInputChange,o=e.onHandleUpload,i=e.onHandleDeleteFontStyle,u=e.onHandleCancelEditFont,l=e.onHandleCancelEditFontKeypress,c=e.onHandleSubmit,s=e.fontStyles,f=e.validateLabel,p=e.validateRegular,d=e.disableUpdateButton,h=e.msg,m=e.loading,v=e.tabIndexFontName,y=e.tabIndexFontFiles,g=e.tabIndexFooterButtons,b=Object(gn.sprintf)(GFPDF.fontManagerFontNameLabel,"<span class='required'>","</span>");return a.a.createElement("div",{className:"update-font"},a.a.createElement("form",{onSubmit:c},a.a.createElement("h2",null,GFPDF.fontManagerUpdateTitle),a.a.createElement("p",null,GFPDF.fontManagerUpdateDesc),a.a.createElement("label",{htmlFor:"gfpdf-font-name-input",dangerouslySetInnerHTML:{__html:b}}),a.a.createElement("p",{id:"gfpdf-font-name-desc-update"},GFPDF.fontManagerFontNameDesc),a.a.createElement("input",{type:"text",id:"gfpdf-update-font-name-input",className:f?"":"input-label-validation-error","aria-describedby":"gfpdf-font-name-desc-update",name:"label",value:n,maxLength:"60",onChange:function(e){return r(e,"updateFont")},tabIndex:v}),a.a.createElement("div",{"aria-live":"polite"},!f&&a.a.createElement("span",{className:"required",role:"alert"},a.a.createElement("em",null,GFPDF.fontManagerFontNameValidationError))),a.a.createElement("label",{id:"gfpdf-font-files-label-update","aria-labelledby":"gfpdf-font-files-description-update"},GFPDF.fontManagerFontFilesLabel),a.a.createElement("p",{id:"gfpdf-font-files-description-update"},GFPDF.fontManagerFontFilesDesc),a.a.createElement(Br,{state:"updateFont",fontStyles:s,validateRegular:p,onHandleUpload:o,onHandleDeleteFontStyle:i,msg:h,tabIndex:y}),a.a.createElement(ho,{id:t,label:n,disabled:d,onHandleCancelEditFont:u,onHandleCancelEditFontKeypress:l,msg:h,loading:m,tabIndex:g})))};
|
196 |
/**
|
197 |
* @package Gravity PDF
|
198 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
199 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
200 |
* @since 6.0
|
201 |
*/yo.propTypes={id:Jn.a.string,label:Jn.a.string.isRequired,onHandleInputChange:Jn.a.func.isRequired,onHandleUpload:Jn.a.func.isRequired,onHandleDeleteFontStyle:Jn.a.func.isRequired,onHandleCancelEditFont:Jn.a.func.isRequired,onHandleCancelEditFontKeypress:Jn.a.func.isRequired,onHandleSubmit:Jn.a.func.isRequired,validateLabel:Jn.a.bool.isRequired,validateRegular:Jn.a.bool.isRequired,disableUpdateButton:Jn.a.bool.isRequired,fontStyles:Jn.a.object.isRequired,msg:Jn.a.object.isRequired,loading:Jn.a.bool.isRequired,tabIndexFontName:Jn.a.string.isRequired,tabIndexFontFiles:Jn.a.string.isRequired,tabIndexFooterButtons:Jn.a.string.isRequired};var go=yo,bo={id:"",label:"",fontStyles:{regular:"",italics:"",bold:"",bolditalics:""},validateLabel:!0,validateRegular:!0,disableUpdateButton:!1};
|
202 |
/**
|
203 |
* @package Gravity PDF
|
204 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
205 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
206 |
* @since 6.0
|
207 |
+
*/function wo(){return(wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Eo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return xo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xo(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function So(e){return(So="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function To(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?To(Object(n),!0).forEach((function(t){Do(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):To(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Po(e,t){return(Po=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ro(e);if(t){var o=Ro(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Co(this,n)}}function Co(e,t){return!t||"object"!==So(t)&&"function"!=typeof t?jo(e):t}function jo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ro(e){return(Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Do(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
208 |
/**
|
209 |
* @package Gravity PDF
|
210 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
211 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
212 |
* @since 6.0
|
213 |
+
*/var Ao=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Po(e,t)}(i,e);var t,n,r,o=Fo(i);function i(){var e;ko(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Do(jo(e=o.call.apply(o,[this].concat(n))),"state",{addFont:bo,updateFont:bo}),Do(jo(e),"handleCheckValidId",(function(e,t){return!!e.filter((function(e){return e.id===t}))[0]})),Do(jo(e),"handleRequestFontDetails",(function(){var t=e.props,n=t.fontList,r=t.id,o=n.filter((function(e){return e.id===r}))[0];e.setState({addFont:bo,updateFont:{id:o.id,label:o.font_name,fontStyles:{regular:o.regular,italics:o.italics,bold:o.bold,bolditalics:o.bolditalics},validateLabel:!0,validateRegular:!0,disableUpdateButton:!0}}),setTimeout((function(){return $r()}),100)})),Do(jo(e),"handleSetDefaultState",(function(){e.setState({addFont:bo,updateFont:bo})})),Do(jo(e),"handleAutoSelectNewAddedFont",(function(t,n){var r=n[Object.keys(n).slice(-1).pop()];e.props.selectFont(r.id),Object(br.b)(t,r.id)})),Do(jo(e),"handleGetCurrentColumnState",(function(t){return"addFont"===t?e.state.addFont:e.state.updateFont})),Do(jo(e),"handleDeleteFontStyle",(function(t,n,r){t.preventDefault();var o=e.props,i=o.msg.error,a=o.clearDropzoneError;if(i&&i.addFont){var u="gfpdf-font-variant-".concat(n);document.querySelector("div[for=".concat(u,"]")).classList.remove("error"),a(n)}e.handleGetCurrentColumnState(r).fontStyles[n]="",e.setState(Do({},r,Oo({},e.handleGetCurrentColumnState(r),{validateRegular:!0}))),e.forceUpdate(),e.handleUpdateFontState()})),Do(jo(e),"handleInputChange",(function(t,n){var r=e.state,o=r.addFont,i=r.updateFont,a="addFont"===n?o:i;e.setState(Do({},n,Oo({},a,{label:t.target.value})),(function(){return e.handleUpdateFontState()}))})),Do(jo(e),"handleUpload",(function(t,n,r){var o=e.props.msg.error,i=o&&"object"===So(o.addFont)&&o.addFont;i&&Object.entries(i).map((function(n){var r=Eo(n,1)[0];t===r&&e.props.deleteVariantError(t)}));var a=n||"";e.setState(Do({},r,Oo({},e.handleGetCurrentColumnState(r),{fontStyles:Oo({},e.handleGetCurrentColumnState(r).fontStyles,Do({},t,a))})),(function(){return e.handleUpdateFontState()}))})),Do(jo(e),"handleValidateInputFields",(function(t,n,r){var o="addFont"===t?e.state.addFont:e.state.updateFont,i={validateLabel:!0,validateRegular:!0},a=!1,u=!1,l=/^[0-9a-zA-Z ]*$/;return l.test(n)&&""!==n||(a=!1,i.validateLabel=!1),l.test(n)&&""!==n&&(a=!0,i.validateLabel=!0),r||(u=!1,i.validateRegular=!1),r&&(u=!0,i.validateRegular=!0),a&&u?(e.setState(Do({},t,Oo({},o,{},i))),!0):(e.setState(Do({},t,Oo({},o,{},i))),e.props.validationError(),!1)})),Do(jo(e),"handleUpdateFontState",(function(){var t=e.props,n=t.fontList,r=t.id;if(r){var o=e.state.updateFont,i=o.label,a=o.fontStyles,u=n.filter((function(e){return e.id===r}))[0];if(u.font_name===i&&u.regular===a.regular&&u.italics===a.italics&&u.bold===a.bold&&u.bolditalics===a.bolditalics)return e.setState({updateFont:Oo({},e.state.updateFont,{disableUpdateButton:!0})});e.setState({updateFont:Oo({},e.state.updateFont,{disableUpdateButton:!1})})}})),Do(jo(e),"handleAddFont",(function(){var t=e.state.addFont,n=t.label,r=t.fontStyles;e.handleValidateInputFields("addFont",n,r.regular)&&e.props.addFont(Oo({label:n},r))})),Do(jo(e),"handleEditFont",(function(t){var n=e.state.updateFont,r=n.label,o=n.fontStyles,i=e.props,a=i.fontList,u=i.editFont,l=i.clearAddFontMsg,c={};if(e.handleValidateInputFields("updateFont",r,o.regular)){Object.keys(o).forEach((function(e){"object"!==So(o[e])&&""!==o[e]||(c[e]=o[e])}));var s=a.filter((function(e){return e.id===t}))[0],f={regular:s.regular,italics:s.italics,bold:s.bold,bolditalics:s.bolditalics};if(r===s.font_name&&JSON.stringify(o)===JSON.stringify(f))return l();u({id:t,font:Oo({label:r},c)})}})),Do(jo(e),"handleCancelEditFont",(function(){var t=e.props,n=t.history,r=t.clearAddFontMsg;Object(br.b)(n),r()})),Do(jo(e),"handleCancelEditFontKeypress",(function(t){if(13===t.keyCode||32===t.keyCode){var n=e.props,r=n.history,o=n.clearAddFontMsg;Object(br.b)(r),o()}})),Do(jo(e),"handleSubmit",(function(t){t.preventDefault();var n=e.props.id;if(n)return e.handleEditFont(n);e.handleAddFont()})),e}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.getCustomFontList,n=e.id,r=e.history;t(),n&&Object(br.a)(document.querySelector(".update-font"),r,n)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.id,r=t.fontList,o=t.msg,i=t.history;if(e.id!==n&&n){if(!this.handleCheckValidId(r,n))return i.push("/fontmanager/");this.handleRequestFontDetails()}if(e.fontList!==r&&r&&n){if(!this.handleCheckValidId(r,n))return i.push("/fontmanager/");this.handleRequestFontDetails()}if(e.msg!==o&&o.success&&!n){if(o.error&&o.error.fontList)return this.handleSetDefaultState();this.handleAutoSelectNewAddedFont(i,r)}}},{key:"render",value:function(){var e=document.querySelector(".update-font.show"),t=this.props,n=t.id,r=t.fontList,o=t.msg,i=t.loading,u=t.history;return a.a.createElement("div",{id:"gfpdf-font-manager-container",className:"wp-clearfix theme-about"},a.a.createElement("div",{className:"font-list-column container"},a.a.createElement(hr,{id:n}),o.error&&o.error.deleteFont&&a.a.createElement(rr,{msg:o.error.deleteFont}),a.a.createElement(Lr,{id:n,history:u})),a.a.createElement("div",{className:"add-update-font-column container"},a.a.createElement(vo,wo({onHandleInputChange:this.handleInputChange,onHandleUpload:this.handleUpload,onHandleDeleteFontStyle:this.handleDeleteFontStyle,onHandleSubmit:this.handleSubmit,msg:o,loading:i,tabIndexFontName:e?"-1":"145",tabIndexFontFiles:e?"-1":"146",tabIndexFooterButtons:e?"-1":"147"},this.state.addFont)),a.a.createElement(go,wo({onHandleInputChange:this.handleInputChange,onHandleUpload:this.handleUpload,onHandleDeleteFontStyle:this.handleDeleteFontStyle,onHandleCancelEditFont:this.handleCancelEditFont,onHandleCancelEditFontKeypress:this.handleCancelEditFontKeypress,onHandleSubmit:this.handleSubmit,fontList:r,msg:o,loading:i,tabIndexFontName:e?"145":"-1",tabIndexFontFiles:e?"146":"-1",tabIndexFooterButtons:e?"147":"-1"},this.state.updateFont))))}}])&&_o(t.prototype,n),r&&_o(t,r),i}(i.Component);Do(Ao,"propTypes",{getCustomFontList:Jn.a.func.isRequired,id:Jn.a.string,loading:Jn.a.bool.isRequired,fontList:Jn.a.arrayOf(Jn.a.object).isRequired,msg:Jn.a.object.isRequired,clearDropzoneError:Jn.a.func.isRequired,clearAddFontMsg:Jn.a.func.isRequired,editFont:Jn.a.func.isRequired,validationError:Jn.a.func.isRequired,deleteVariantError:Jn.a.func.isRequired,selectFont:Jn.a.func.isRequired,addFont:Jn.a.func.isRequired,history:Jn.a.object.isRequired});var Lo=Object(Hn.b)((function(e){return{loading:e.fontManager.addFontLoading,fontList:e.fontManager.fontList,msg:e.fontManager.msg}}),{getCustomFontList:qt.A,addFont:qt.u,editFont:qt.z,validationError:qt.F,deleteVariantError:qt.y,selectFont:qt.E,clearAddFontMsg:qt.v,clearDropzoneError:qt.w})(Ao);function No(e){return(No="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Io(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mo(e,t){return(Mo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Uo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ho(e);if(t){var o=Ho(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qo(this,n)}}function qo(e,t){return!t||"object"!==No(t)&&"function"!=typeof t?zo(e):t}function zo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ho(e){return(Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
|
214 |
/**
|
215 |
* @package Gravity PDF
|
216 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
217 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
218 |
* @since 6.0
|
219 |
*/
|
220 |
var Go,Bo,$o,Vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mo(e,t)}(i,e);var t,n,r,o=Uo(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).handleFocus=t.handleFocus.bind(zo(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){document.addEventListener("focus",this.handleFocus,!0),document.activeElement&&"wp-filter-search"!==document.activeElement.className&&this.container.focus()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("focus",this.handleFocus,!0)}},{key:"handleFocus",value:function(e){this.container.contains(e.target)||(e.stopPropagation(),this.container.focus())}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.history;return a.a.createElement("div",{ref:function(t){return e.container=t},tabIndex:"140"},a.a.createElement("div",{className:"backdrop theme-backdrop"}),a.a.createElement("div",{className:"container theme-wrap font-manager"},a.a.createElement(tr,{id:n}),a.a.createElement(Lo,{id:n,history:r})))}}])&&Io(t.prototype,n),r&&Io(t,r),i}(i.Component);Go=Vo,Bo="propTypes",$o={id:Jn.a.string,history:Jn.a.object.isRequired},Bo in Go?Object.defineProperty(Go,Bo,{value:$o,enumerable:!0,configurable:!0,writable:!0}):Go[Bo]=$o;var Wo=Vo,Ko=function(){return a.a.createElement(l.a,null,a.a.createElement(c.c,null,a.a.createElement(c.a,{exact:!0,path:"/fontmanager/",render:function(e){return a.a.createElement(Wo,{id:e.match.params.id,history:e.history})}}),a.a.createElement(c.a,{exact:!0,path:"/fontmanager/:id",render:function(e){return a.a.createElement(Wo,{id:e.match.params.id,history:e.history})}}),a.a.createElement(c.a,{component:Gn})))};
|
221 |
/**
|
222 |
* @package Gravity PDF
|
223 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
224 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
225 |
* @since 6.0
|
226 |
*/function Qo(){return(Qo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Ko.propTypes={match:Jn.a.object,history:Jn.a.object};var Xo=Object(i.lazy)((function(){return n.e(8).then(n.bind(null,269))}));
|
227 |
/**
|
228 |
* @package Gravity PDF
|
229 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
230 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
231 |
* @since 6.0
|
232 |
*/function Yo(e,t){var n=zn(),r=t||"";!function(e,t){var n=document.createElement("span");n.setAttribute("id","gpdf-advance-font-manager-selector"+t);var r=document.createElement("div");if(r.setAttribute("id","font-manager-overlay"),r.setAttribute("class","theme-overlay"),"SELECT"===e.nodeName){var o=document.createElement("div");o.setAttribute("id","gfpdf-settings-field-wrapper-font-container"),o.innerHTML=e.outerHTML,o.appendChild(n),o.appendChild(r),e.outerHTML=o.outerHTML}else e.appendChild(n),e.appendChild(r)}(e,r),Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(l.a,null,a.a.createElement(c.a,{render:function(e){return a.a.createElement(Xo,Qo({},e,{store:n}))}}))),document.querySelector("#gpdf-advance-font-manager-selector"+r)),function(e){Object(u.render)(a.a.createElement(Hn.a,{store:e},a.a.createElement(Ko,null)),document.querySelector("#font-manager-overlay"))}(n)}var Jo=Object(i.lazy)((function(){return n.e(7).then(n.bind(null,274))}));
|
234 |
* Core Font Downloader Bootstrap
|
235 |
*
|
236 |
* @package Gravity PDF
|
237 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
238 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
239 |
* @since 5.0
|
240 |
*/var Zo=Object(i.lazy)((function(){return Promise.all([n.e(4),n.e(9)]).then(n.bind(null,276))}));
|
241 |
/**
|
242 |
* @package Gravity PDF
|
243 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
244 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
245 |
* @since 5.2
|
246 |
+
*/var ei=n(121);n(19);function ti(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ni(){if(ClipboardJS.isSupported()){var e=new ClipboardJS(".btn-shortcode");e.on("success",(function(e){new t(e.trigger).buttonActive()})),e.on("error",(function(e){n(e.trigger),o()(e.trigger).trigger("click")}));var t=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=jQuery(t)}var t,n,r;return t=e,(n=[{key:"buttonDefault",value:function(){this.element.hasClass("gf_2_5")?(this.element.removeClass("btn-success"),this.element.text(this.element.text())):this.element.removeClass("gform-embed-form__shortcode-trigger--copied")}},{key:"buttonActive",value:function(){var e=this;this.element.hasClass("gf_2_5")?(this.element.addClass("btn-success"),this.element.text(this.element.data("selectedText"))):this.element.addClass("gform-embed-form__shortcode-trigger--copied"),setTimeout((function(){return e.buttonDefault()}),3e3)}}])&&ti(t.prototype,n),r&&ti(t,r),e}()}else n(".btn-shortcode");function n(e){o()(e).on("click",(function(){o()(this).toggleClass("toggle"),o()(this).hasClass("toggle")&&o()(this).next().find("input").focus()})),o()(this).next().find("input").on("click focus",(function(){o()(this).select()}))}}n(208);
|
247 |
/**
|
248 |
* JS Entry point for WebPack
|
249 |
*
|
250 |
* @package Gravity PDF
|
251 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
252 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
253 |
* @since 4.1
|
254 |
*/o()((function(){if(n.p=GFPDF.pluginUrl+"dist/",void 0!==GFPDF.templateList){window.Promise||(window.Promise=Promise);var e=o()("#gfpdf_settings\\[template\\], #gfpdf_settings\\[default_template\\]");e.length>0&&Xn(e)}var t,r,l;o()("#gfpdf-button-wrapper-install_core_fonts").length&&(t=document.getElementById("gfpdf-button-wrapper-install_core_fonts"),r=t.getElementsByTagName("button")[0],l=zn(),Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(Hn.a,{store:l},a.a.createElement(Jo,{button:r}))),t)),o()("#gpdf-search").length&&function(){var e=zn();Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(Hn.a,{store:e},a.a.createElement(Zo,null))),document.getElementById("gpdf-search"))}();var c=document.querySelector("#gfpdf-settings-field-wrapper-default_font select"),s=document.querySelector("#gfpdf-settings-field-wrapper-manage_fonts"),f=document.querySelector("#gfpdf-settings-field-wrapper-font select"),p=document.querySelector("#gfpdf_pdf_form"),d=document.querySelectorAll("fieldset.gform-settings-panel--full"),h=document.querySelector("form#gfpdf_list_form");null!==c&&Yo(c),null!==s&&Yo(s,"-prevent-button-reset"),null!==f&&Yo(f),p&&4===d.length&&Object(ei.a)(d,p),null!==h&&ni()}))}]);
|
dist/assets/js/{chunk-0.8edcd532c90076289c8a.js → chunk-0.e033d172e282e0a2b9cc.js}
RENAMED
@@ -3,7 +3,7 @@
|
|
3 |
* Renders a message or error, with the option to self-clear itself
|
4 |
*
|
5 |
* @package Gravity PDF
|
6 |
-
* @copyright Copyright (c)
|
7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
8 |
* @since 4.1
|
9 |
*/var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(u,e);var t,n,r,i=m(u);function u(){var e;s(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=i.call.apply(i,[this].concat(n))),"state",{visible:!0}),v(h(e),"shouldSetTimer",(function(){e.props.dismissable&&e.setTimer()})),v(h(e),"setTimer",(function(){e._timer=null!==e._timer?clearTimeout(e._timer):null,e._timer=setTimeout((function(){o()(e._message).removeClass("inline").slideUp(400,(function(){o()(e._message).removeAttr("style"),e.setState({visible:!1}),e._timer=null,e.props.dismissableCallback&&e.props.dismissableCallback()}))}),e.props.delay)})),v(h(e),"resetState",(function(){e.setState({visible:!0}),e.shouldSetTimer()})),e}return t=u,(n=[{key:"componentDidMount",value:function(){this.shouldSetTimer()}},{key:"componentDidUpdate",value:function(e,t){t.visible||this.resetState()}},{key:"componentWillUnmount",value:function(){this.props.dismissable&&clearTimeout(this._timer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.text,r="notice inline";return t.error&&(r+=" error"),this.state.visible?a.a.createElement("div",{ref:function(t){return e._message=t},className:r},a.a.createElement("p",null,n)):a.a.createElement("div",null)}}])&&f(t.prototype,n),r&&f(t,r),u}(i.Component);v(d,"defaultProps",{delay:4e3,dismissable:!1}),v(d,"propTypes",{text:c.a.string.isRequired,error:c.a.bool,delay:c.a.number,dismissable:c.a.bool,dismissableCallback:c.a.func}),t.a=d},231:function(e,t,n){"use strict";n(31),n(38),n(39),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(167);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
|
@@ -11,7 +11,7 @@
|
|
11 |
* Renders our Advanced Template Selector container which is shared amongst the components
|
12 |
*
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
* @since 4.1
|
17 |
*/
|
@@ -21,7 +21,7 @@ var h,b,v,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw n
|
|
21 |
* On click it triggers our Redux action.
|
22 |
*
|
23 |
* @package Gravity PDF
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
26 |
* @since 4.1
|
27 |
*/var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(a,e);var t,n,r,i=y(a);function a(){var e;f(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(b(e=i.call.apply(i,[this].concat(n))),"handleSelectTemplate",(function(t){t.preventDefault(),t.stopPropagation(),e.props.history.push(""),e.props.onTemplateSelect(e.props.template.id)})),e}return t=a,(n=[{key:"render",value:function(){return o.a.createElement("a",{onClick:this.handleSelectTemplate,href:"#",tabIndex:"150",className:"button activate","aria-label":this.props.buttonText+" "+GFPDF.template},this.props.buttonText)}}])&&p(t.prototype,n),r&&p(t,r),a}(r.Component);d(g,"propTypes",{history:a.a.object,onTemplateSelect:a.a.func,template:a.a.object,buttonText:a.a.string});t.a=Object(c.f)(Object(u.b)(null,(function(e){return{onTemplateSelect:function(t){return e(Object(l.v)(t))}}}))(g))},247:function(e,t,n){"use strict";n(31),n(38),n(58),n(82),n(42),n(174),n(94),n(95),n(92),n(18),n(171),n(41),n(29),n(93),n(152),n(83);function r(e,t){return e===t}function o(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}var a=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=0,u=r.pop(),c=i(r),l=e.apply(void 0,[function(){return a++,u.apply(null,arguments)}].concat(n)),s=e((function(){for(var e=[],t=c.length,n=0;n<t;n++)e.push(c[n].apply(null,arguments));return l.apply(null,e)}));return s.resultFunc=u,s.dependencies=c,s.recomputations=function(){return a},s.resetRecomputations=function(){return a=0},s}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return o(t,n,arguments)||(i=e.apply(null,arguments)),n=arguments,i}}));n(173);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
@@ -30,7 +30,7 @@ var h,b,v,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw n
|
|
30 |
* It also checks if the PDF templates are compatible with the current version of Gravity PDF
|
31 |
*
|
32 |
* @package Gravity PDF
|
33 |
-
* @copyright Copyright (c)
|
34 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
35 |
* @since 4.1
|
36 |
*/var s=function(e){return e.map((function(e){var t=e.required_pdf_version;return function(e,t,n){var r,o,i=0,a={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},u=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]},c=function(e){return e?isNaN(e)?a[e]||-7:parseInt(e,10):0};for(e=u(e),t=u(t),o=Math.max(e.length,t.length),r=0;r<o;r++)if(e[r]!==t[r]){if(e[r]=c(e[r]),t[r]=c(t[r]),e[r]<t[r]){i=-1;break}if(e[r]>t[r]){i=1;break}}if(!n)return i;switch(n){case">":case"gt":return i>0;case">=":case"ge":return i>=0;case"<=":case"le":return i<=0;case"===":case"=":case"eq":return 0===i;case"<>":case"!==":case"ne":return 0!==i;case"":case"<":case"lt":return i<0;default:return null}}(t,GFPDF.currentVersion,">")?c({},e,{compatible:!1,error:GFPDF.requiresGravityPdfVersion.replace(/%s/g,t),long_error:GFPDF.templateNotCompatibleWithGravityPdfVersion.replace(/%s/g,t)}):c({},e,{compatible:!0})}))};t.a=a([function(e){return e.template.list},function(e){return e.template.search},function(e){return e.template.activeTemplate}],(function(e,t,n){return e=s(e),t&&(e=function(e,t){e=(e=e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")).replace(/ /g,")(?=.*");var n=new RegExp("^(?=.*"+e+").+","i");return t.filter((function(e){var t=e.template.replace(/(<([^>]+)>)/gi,""),r=e.description.replace(/(<([^>]+)>)/gi,""),o=e.author.replace(/(<([^>]+)>)/gi,""),i=e.group.replace(/(<([^>]+)>)/gi,"");return n.test([t,e.id,i,r,o].toString())}))}(t,e)),function(e,t){return e.sort((function(e,n){return!0===e.new&&!0===e.new?0:!0===e.new?1:!0===n.new||t===e.id?-1:t===n.id?1:e.group<n.group?-1:e.group>n.group?1:e.template<n.template?-1:e.template>n.template?1:0}))}(e,n)}))}}]);
|
3 |
* Renders a message or error, with the option to self-clear itself
|
4 |
*
|
5 |
* @package Gravity PDF
|
6 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
8 |
* @since 4.1
|
9 |
*/var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(u,e);var t,n,r,i=m(u);function u(){var e;s(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=i.call.apply(i,[this].concat(n))),"state",{visible:!0}),v(h(e),"shouldSetTimer",(function(){e.props.dismissable&&e.setTimer()})),v(h(e),"setTimer",(function(){e._timer=null!==e._timer?clearTimeout(e._timer):null,e._timer=setTimeout((function(){o()(e._message).removeClass("inline").slideUp(400,(function(){o()(e._message).removeAttr("style"),e.setState({visible:!1}),e._timer=null,e.props.dismissableCallback&&e.props.dismissableCallback()}))}),e.props.delay)})),v(h(e),"resetState",(function(){e.setState({visible:!0}),e.shouldSetTimer()})),e}return t=u,(n=[{key:"componentDidMount",value:function(){this.shouldSetTimer()}},{key:"componentDidUpdate",value:function(e,t){t.visible||this.resetState()}},{key:"componentWillUnmount",value:function(){this.props.dismissable&&clearTimeout(this._timer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.text,r="notice inline";return t.error&&(r+=" error"),this.state.visible?a.a.createElement("div",{ref:function(t){return e._message=t},className:r},a.a.createElement("p",null,n)):a.a.createElement("div",null)}}])&&f(t.prototype,n),r&&f(t,r),u}(i.Component);v(d,"defaultProps",{delay:4e3,dismissable:!1}),v(d,"propTypes",{text:c.a.string.isRequired,error:c.a.bool,delay:c.a.number,dismissable:c.a.bool,dismissableCallback:c.a.func}),t.a=d},231:function(e,t,n){"use strict";n(31),n(38),n(39),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(167);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
|
11 |
* Renders our Advanced Template Selector container which is shared amongst the components
|
12 |
*
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
* @since 4.1
|
17 |
*/
|
21 |
* On click it triggers our Redux action.
|
22 |
*
|
23 |
* @package Gravity PDF
|
24 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
25 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
26 |
* @since 4.1
|
27 |
*/var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(a,e);var t,n,r,i=y(a);function a(){var e;f(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(b(e=i.call.apply(i,[this].concat(n))),"handleSelectTemplate",(function(t){t.preventDefault(),t.stopPropagation(),e.props.history.push(""),e.props.onTemplateSelect(e.props.template.id)})),e}return t=a,(n=[{key:"render",value:function(){return o.a.createElement("a",{onClick:this.handleSelectTemplate,href:"#",tabIndex:"150",className:"button activate","aria-label":this.props.buttonText+" "+GFPDF.template},this.props.buttonText)}}])&&p(t.prototype,n),r&&p(t,r),a}(r.Component);d(g,"propTypes",{history:a.a.object,onTemplateSelect:a.a.func,template:a.a.object,buttonText:a.a.string});t.a=Object(c.f)(Object(u.b)(null,(function(e){return{onTemplateSelect:function(t){return e(Object(l.v)(t))}}}))(g))},247:function(e,t,n){"use strict";n(31),n(38),n(58),n(82),n(42),n(174),n(94),n(95),n(92),n(18),n(171),n(41),n(29),n(93),n(152),n(83);function r(e,t){return e===t}function o(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}var a=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=0,u=r.pop(),c=i(r),l=e.apply(void 0,[function(){return a++,u.apply(null,arguments)}].concat(n)),s=e((function(){for(var e=[],t=c.length,n=0;n<t;n++)e.push(c[n].apply(null,arguments));return l.apply(null,e)}));return s.resultFunc=u,s.dependencies=c,s.recomputations=function(){return a},s.resetRecomputations=function(){return a=0},s}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return o(t,n,arguments)||(i=e.apply(null,arguments)),n=arguments,i}}));n(173);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
|
30 |
* It also checks if the PDF templates are compatible with the current version of Gravity PDF
|
31 |
*
|
32 |
* @package Gravity PDF
|
33 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
34 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
35 |
* @since 4.1
|
36 |
*/var s=function(e){return e.map((function(e){var t=e.required_pdf_version;return function(e,t,n){var r,o,i=0,a={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},u=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]},c=function(e){return e?isNaN(e)?a[e]||-7:parseInt(e,10):0};for(e=u(e),t=u(t),o=Math.max(e.length,t.length),r=0;r<o;r++)if(e[r]!==t[r]){if(e[r]=c(e[r]),t[r]=c(t[r]),e[r]<t[r]){i=-1;break}if(e[r]>t[r]){i=1;break}}if(!n)return i;switch(n){case">":case"gt":return i>0;case">=":case"ge":return i>=0;case"<=":case"le":return i<=0;case"===":case"=":case"eq":return 0===i;case"<>":case"!==":case"ne":return 0!==i;case"":case"<":case"lt":return i<0;default:return null}}(t,GFPDF.currentVersion,">")?c({},e,{compatible:!1,error:GFPDF.requiresGravityPdfVersion.replace(/%s/g,t),long_error:GFPDF.templateNotCompatibleWithGravityPdfVersion.replace(/%s/g,t)}):c({},e,{compatible:!0})}))};t.a=a([function(e){return e.template.list},function(e){return e.template.search},function(e){return e.template.activeTemplate}],(function(e,t,n){return e=s(e),t&&(e=function(e,t){e=(e=e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")).replace(/ /g,")(?=.*");var n=new RegExp("^(?=.*"+e+").+","i");return t.filter((function(e){var t=e.template.replace(/(<([^>]+)>)/gi,""),r=e.description.replace(/(<([^>]+)>)/gi,""),o=e.author.replace(/(<([^>]+)>)/gi,""),i=e.group.replace(/(<([^>]+)>)/gi,"");return n.test([t,e.id,i,r,o].toString())}))}(t,e)),function(e,t){return e.sort((function(e,n){return!0===e.new&&!0===e.new?0:!0===e.new?1:!0===n.new||t===e.id?-1:t===n.id?1:e.group<n.group?-1:e.group>n.group?1:e.template<n.template?-1:e.template>n.template?1:0}))}(e,n)}))}}]);
|
dist/assets/js/{chunk-10.35956ed01838b210014b.js → chunk-10.d768793400e94cf88b98.js}
RENAMED
@@ -3,7 +3,7 @@
|
|
3 |
* Render the button used to option our Fancy PDF template selector
|
4 |
*
|
5 |
* @package Gravity PDF
|
6 |
-
* @copyright Copyright (c)
|
7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
8 |
* @since 4.1
|
9 |
*/var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(c,t);var e,n,r,u=p(c);function c(){var t;a(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return h(y(t=u.call.apply(u,[this].concat(n))),"handleClick",(function(e){e.preventDefault(),e.stopPropagation(),t.props.history.push("/template")})),t}return e=c,(n=[{key:"render",value:function(){var t=this;return o.a.createElement("button",{type:"button",id:"fancy-template-selector",className:"button gfpdf-button",onClick:this.handleClick,ref:function(e){return t.button=e},"aria-label":GFPDF.manageTemplates},GFPDF.manage)}}])&&f(e.prototype,n),r&&f(e,r),c}(r.Component);h(m,"propTypes",{history:c.a.object}),e.default=m}}]);
|
3 |
* Render the button used to option our Fancy PDF template selector
|
4 |
*
|
5 |
* @package Gravity PDF
|
6 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
8 |
* @since 4.1
|
9 |
*/var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(c,t);var e,n,r,u=p(c);function c(){var t;a(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return h(y(t=u.call.apply(u,[this].concat(n))),"handleClick",(function(e){e.preventDefault(),e.stopPropagation(),t.props.history.push("/template")})),t}return e=c,(n=[{key:"render",value:function(){var t=this;return o.a.createElement("button",{type:"button",id:"fancy-template-selector",className:"button gfpdf-button",onClick:this.handleClick,ref:function(e){return t.button=e},"aria-label":GFPDF.manageTemplates},GFPDF.manage)}}])&&f(e.prototype,n),r&&f(e,r),c}(r.Component);h(m,"propTypes",{history:c.a.object}),e.default=m}}]);
|
dist/assets/js/{chunk-5.f06953d68b59268254e5.js → chunk-5.4048e584cf68fa13efd8.js}
RENAMED
@@ -8,7 +8,7 @@
|
|
8 |
* Display the individual template item for usage our template list
|
9 |
*
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
* @since 4.1
|
14 |
*/var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(i,e);var t,r,n,o=j(i);function i(){var e;g(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return w(E(e=o.call.apply(o,[this].concat(r))),"handleMaybeShowDetailedTemplate",(function(t){13===t.keyCode&&-1===t.target.className.indexOf("button")&&e.handleShowDetailedTemplate()})),w(E(e),"handleShowDetailedTemplate",(function(){e.props.history.push("/template/"+e.props.template.id)})),w(E(e),"removeMessage",(function(){e.props.updateTemplateParam(e.props.template.id,"message",null)})),e}return t=i,(r=[{key:"render",value:function(){var e=this.props.template,t=this.props.activeTemplate===e.id,r=e.compatible,n=t?"active theme":"theme";return a.a.createElement("div",{onClick:this.handleShowDetailedTemplate,onKeyDown:this.handleMaybeShowDetailedTemplate,className:n,"data-slug":e.id,tabIndex:"150",role:"option","aria-label":e.group+" "+e.template+" "+GFPDF.details},a.a.createElement(p,{image:e.screenshot}),e.error?a.a.createElement(f.a,{text:e.error,error:!0}):null,e.message?a.a.createElement(f.a,{text:e.message,dismissableCallback:this.removeMessage,dismissable:!0,delay:12e3}):null,a.a.createElement(m,{label:this.props.templateDetailsText}),a.a.createElement(d,{group:e.group}),a.a.createElement(y.e,{name:e.template}),a.a.createElement("div",{className:"theme-actions"},!t&&r?a.a.createElement(b.a,{template:this.props.template,buttonText:this.props.activateText}):null))}}])&&T(t.prototype,r),n&&T(t,n),i}(n.Component);w(P,"propTypes",{history:i.a.object,template:i.a.object,activeTemplate:i.a.string,updateTemplateParam:i.a.func,activateText:i.a.string,templateDetailsText:i.a.string});var U=Object(l.f)(Object(c.b)((function(e){return{activeTemplate:e.template.activeTemplate}}),(function(e){return{updateTemplateParam:function(t,r,n){e(Object(h.E)(t,r,n))}}}))(P)),_=(r(41),r(152),r(249)),D=r.n(_);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=z(e);if(t){var a=z(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return C(this,r)}}function C(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?F(e):t}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
@@ -16,7 +16,7 @@
|
|
16 |
* Handles the PDF template search functionality
|
17 |
*
|
18 |
* @package Gravity PDF
|
19 |
-
* @copyright Copyright (c)
|
20 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
21 |
* @since 4.1
|
22 |
*/var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(i,e);var t,r,n,o=I(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),M(F(t=o.call(this,e)),"handleSearch",(function(e){e.persist(),t.runSearch(e)})),M(F(t),"runSearch",(function(e){t.props.onSearch(e.target.value||"")})),t.runSearch=D()(t.runSearch,200),t}return t=i,(r=[{key:"componentDidMount",value:function(){this.input.focus()}},{key:"render",value:function(){var e=this;return a.a.createElement("div",{role:"form"},a.a.createElement("input",{className:"wp-filter-search",id:"wp-filter-search-input",ref:function(t){return e.input=t},placeholder:GFPDF.searchTemplatePlaceholder,type:"search","aria-describedby":"live-search-desc",tabIndex:"145",onChange:this.handleSearch,defaultValue:this.props.search}))}}])&&k(t.prototype,r),n&&k(t,n),i}(n.Component);M(A,"propTypes",{onSearch:i.a.func,search:i.a.string});var G=Object(c.b)((function(e){return{search:e.template.search}}),(function(e){return{onSearch:function(t){e(Object(h.u)(t))}}}))(A),$=function(e){var t=e.header;return a.a.createElement("h1",null,t)};$.propTypes={header:i.a.string};var H=$,J=(r(19),r(82),r(71),r(111),r(92),r(83),r(215)),W=r.n(J),K=r(166);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ee(e);if(t){var a=ee(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Y(this,r)}}function Y(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?Z(e):t}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
@@ -24,7 +24,7 @@
|
|
24 |
* Handles the uploading of new PDF templates to the server
|
25 |
*
|
26 |
* @package Gravity PDF
|
27 |
-
* @copyright Copyright (c)
|
28 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
29 |
* @since 4.1
|
30 |
*/var re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(i,e);var t,r,n,o=X(i);function i(){var e;q(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return te(Z(e=o.call.apply(o,[this].concat(r))),"state",{ajax:!1,error:"",message:""}),te(Z(e),"handleOndrop",(function(t){t instanceof Array&&t.length>0&&t.forEach((function(t){var r=t.name;e.checkFilename(r)&&e.checkFilesize(t.size)&&(e.setState({ajax:!0,error:"",message:""}),e.props.postTemplateUploadProcessing(t,r))}))})),te(Z(e),"checkFilename",(function(t){return".zip"===t.substr(t.length-4)||(e.setState({error:e.props.filenameErrorText}),!1)})),te(Z(e),"checkFilesize",(function(t){return!(t/1024>10240)||(e.setState({error:e.props.filesizeErrorText}),!1)})),te(Z(e),"ajaxSuccess",(function(t){t.body.templates.forEach((function(t){void 0===e.props.templates.find((function(e){return e.id===t.id}))?(t.new=!0,t.message=e.props.installSuccessText,e.props.addNewTemplate(t)):e.props.updateTemplateParam(t.id,"message",e.props.installUpdatedText)})),e.setState({ajax:!1,message:e.props.templateSuccessfullyInstalledUpdated}),e.props.clearTemplateUploadProcessing()})),te(Z(e),"ajaxFailed",(function(t){e.setState({error:t.response.body&&void 0!==t.response.body.error?t.response.body.error:e.props.genericUploadErrorText,ajax:!1}),e.props.clearTemplateUploadProcessing()})),te(Z(e),"removeMessage",(function(){e.setState({message:""})})),e}return t=i,(r=[{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.templateUploadProcessingSuccess,n=t.templateUploadProcessingError;e.templateUploadProcessingSuccess!==r&&Object.keys(r).length>0&&this.ajaxSuccess(r),e.templateUploadProcessingError!==n&&Object.keys(n).length>0&&this.ajaxFailed(n)}},{key:"render",value:function(){var e=this;return a.a.createElement("div",{className:"theme add-new-theme gfpdf-dropzone"},a.a.createElement(K.a,{onDrop:this.handleOndrop},(function(t){var r=t.getRootProps,n=t.getInputProps,o=t.isDragActive;return a.a.createElement("div",V({},r(),{className:W()("dropzone",{"dropzone--isActive":o})}),a.a.createElement("input",n()),a.a.createElement("a",{href:"#/template",className:e.state.ajax?"doing-ajax":"","aria-labelledby":"gfpdf-template-install-instructions"},a.a.createElement("div",{className:"theme-screenshot"},a.a.createElement("span",null)),""!==e.state.error?a.a.createElement(f.a,{text:e.state.error,error:!0}):null,""!==e.state.message?a.a.createElement(f.a,{text:e.state.message,dismissable:!0,dismissableCallback:e.removeMessage}):null,a.a.createElement("h2",{className:"theme-name"},e.props.addTemplateText)),a.a.createElement("div",{className:"gfpdf-template-install-instructions",id:"gfpdf-template-install-instructions"},e.props.templateInstallInstructions))})))}}])&&B(t.prototype,r),n&&B(t,n),i}(n.Component);te(re,"propTypes",{genericUploadErrorText:i.a.string,addTemplateText:i.a.string,filenameErrorText:i.a.string,filesizeErrorText:i.a.string,installSuccessText:i.a.string,installUpdatedText:i.a.string,templateSuccessfullyInstalledUpdated:i.a.string,templateInstallInstructions:i.a.string,addNewTemplate:i.a.func,updateTemplateParam:i.a.func,postTemplateUploadProcessing:i.a.func,clearTemplateUploadProcessing:i.a.func,templates:i.a.array,templateUploadProcessingSuccess:i.a.object,templateUploadProcessingError:i.a.object});var ne=Object(c.b)((function(e){return{templates:e.template.list,templateUploadProcessingSuccess:e.template.templateUploadProcessingSuccess,templateUploadProcessingError:e.template.templateUploadProcessingError}}),(function(e){return{addNewTemplate:function(t){e(Object(h.p)(t))},updateTemplateParam:function(t,r,n){e(Object(h.E)(t,r,n))},postTemplateUploadProcessing:function(t,r){e(Object(h.t)(t,r))},clearTemplateUploadProcessing:function(){e(Object(h.r)())}}}))(re),ae=r(247);function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=pe(e);if(t){var a=pe(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return ue(this,r)}}function ue(e,t){return!t||"object"!==oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"TemplateList",(function(){return ye}));
|
@@ -32,7 +32,7 @@
|
|
32 |
* The master component for rendering the all PDF templates as a list
|
33 |
*
|
34 |
* @package Gravity PDF
|
35 |
-
* @copyright Copyright (c)
|
36 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
37 |
* @since 4.1
|
38 |
*/
|
8 |
* Display the individual template item for usage our template list
|
9 |
*
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
* @since 4.1
|
14 |
*/var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(i,e);var t,r,n,o=j(i);function i(){var e;g(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return w(E(e=o.call.apply(o,[this].concat(r))),"handleMaybeShowDetailedTemplate",(function(t){13===t.keyCode&&-1===t.target.className.indexOf("button")&&e.handleShowDetailedTemplate()})),w(E(e),"handleShowDetailedTemplate",(function(){e.props.history.push("/template/"+e.props.template.id)})),w(E(e),"removeMessage",(function(){e.props.updateTemplateParam(e.props.template.id,"message",null)})),e}return t=i,(r=[{key:"render",value:function(){var e=this.props.template,t=this.props.activeTemplate===e.id,r=e.compatible,n=t?"active theme":"theme";return a.a.createElement("div",{onClick:this.handleShowDetailedTemplate,onKeyDown:this.handleMaybeShowDetailedTemplate,className:n,"data-slug":e.id,tabIndex:"150",role:"option","aria-label":e.group+" "+e.template+" "+GFPDF.details},a.a.createElement(p,{image:e.screenshot}),e.error?a.a.createElement(f.a,{text:e.error,error:!0}):null,e.message?a.a.createElement(f.a,{text:e.message,dismissableCallback:this.removeMessage,dismissable:!0,delay:12e3}):null,a.a.createElement(m,{label:this.props.templateDetailsText}),a.a.createElement(d,{group:e.group}),a.a.createElement(y.e,{name:e.template}),a.a.createElement("div",{className:"theme-actions"},!t&&r?a.a.createElement(b.a,{template:this.props.template,buttonText:this.props.activateText}):null))}}])&&T(t.prototype,r),n&&T(t,n),i}(n.Component);w(P,"propTypes",{history:i.a.object,template:i.a.object,activeTemplate:i.a.string,updateTemplateParam:i.a.func,activateText:i.a.string,templateDetailsText:i.a.string});var U=Object(l.f)(Object(c.b)((function(e){return{activeTemplate:e.template.activeTemplate}}),(function(e){return{updateTemplateParam:function(t,r,n){e(Object(h.E)(t,r,n))}}}))(P)),_=(r(41),r(152),r(249)),D=r.n(_);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=z(e);if(t){var a=z(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return C(this,r)}}function C(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?F(e):t}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
16 |
* Handles the PDF template search functionality
|
17 |
*
|
18 |
* @package Gravity PDF
|
19 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
20 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
21 |
* @since 4.1
|
22 |
*/var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(i,e);var t,r,n,o=I(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),M(F(t=o.call(this,e)),"handleSearch",(function(e){e.persist(),t.runSearch(e)})),M(F(t),"runSearch",(function(e){t.props.onSearch(e.target.value||"")})),t.runSearch=D()(t.runSearch,200),t}return t=i,(r=[{key:"componentDidMount",value:function(){this.input.focus()}},{key:"render",value:function(){var e=this;return a.a.createElement("div",{role:"form"},a.a.createElement("input",{className:"wp-filter-search",id:"wp-filter-search-input",ref:function(t){return e.input=t},placeholder:GFPDF.searchTemplatePlaceholder,type:"search","aria-describedby":"live-search-desc",tabIndex:"145",onChange:this.handleSearch,defaultValue:this.props.search}))}}])&&k(t.prototype,r),n&&k(t,n),i}(n.Component);M(A,"propTypes",{onSearch:i.a.func,search:i.a.string});var G=Object(c.b)((function(e){return{search:e.template.search}}),(function(e){return{onSearch:function(t){e(Object(h.u)(t))}}}))(A),$=function(e){var t=e.header;return a.a.createElement("h1",null,t)};$.propTypes={header:i.a.string};var H=$,J=(r(19),r(82),r(71),r(111),r(92),r(83),r(215)),W=r.n(J),K=r(166);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ee(e);if(t){var a=ee(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Y(this,r)}}function Y(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?Z(e):t}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
24 |
* Handles the uploading of new PDF templates to the server
|
25 |
*
|
26 |
* @package Gravity PDF
|
27 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
28 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
29 |
* @since 4.1
|
30 |
*/var re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(i,e);var t,r,n,o=X(i);function i(){var e;q(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return te(Z(e=o.call.apply(o,[this].concat(r))),"state",{ajax:!1,error:"",message:""}),te(Z(e),"handleOndrop",(function(t){t instanceof Array&&t.length>0&&t.forEach((function(t){var r=t.name;e.checkFilename(r)&&e.checkFilesize(t.size)&&(e.setState({ajax:!0,error:"",message:""}),e.props.postTemplateUploadProcessing(t,r))}))})),te(Z(e),"checkFilename",(function(t){return".zip"===t.substr(t.length-4)||(e.setState({error:e.props.filenameErrorText}),!1)})),te(Z(e),"checkFilesize",(function(t){return!(t/1024>10240)||(e.setState({error:e.props.filesizeErrorText}),!1)})),te(Z(e),"ajaxSuccess",(function(t){t.body.templates.forEach((function(t){void 0===e.props.templates.find((function(e){return e.id===t.id}))?(t.new=!0,t.message=e.props.installSuccessText,e.props.addNewTemplate(t)):e.props.updateTemplateParam(t.id,"message",e.props.installUpdatedText)})),e.setState({ajax:!1,message:e.props.templateSuccessfullyInstalledUpdated}),e.props.clearTemplateUploadProcessing()})),te(Z(e),"ajaxFailed",(function(t){e.setState({error:t.response.body&&void 0!==t.response.body.error?t.response.body.error:e.props.genericUploadErrorText,ajax:!1}),e.props.clearTemplateUploadProcessing()})),te(Z(e),"removeMessage",(function(){e.setState({message:""})})),e}return t=i,(r=[{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.templateUploadProcessingSuccess,n=t.templateUploadProcessingError;e.templateUploadProcessingSuccess!==r&&Object.keys(r).length>0&&this.ajaxSuccess(r),e.templateUploadProcessingError!==n&&Object.keys(n).length>0&&this.ajaxFailed(n)}},{key:"render",value:function(){var e=this;return a.a.createElement("div",{className:"theme add-new-theme gfpdf-dropzone"},a.a.createElement(K.a,{onDrop:this.handleOndrop},(function(t){var r=t.getRootProps,n=t.getInputProps,o=t.isDragActive;return a.a.createElement("div",V({},r(),{className:W()("dropzone",{"dropzone--isActive":o})}),a.a.createElement("input",n()),a.a.createElement("a",{href:"#/template",className:e.state.ajax?"doing-ajax":"","aria-labelledby":"gfpdf-template-install-instructions"},a.a.createElement("div",{className:"theme-screenshot"},a.a.createElement("span",null)),""!==e.state.error?a.a.createElement(f.a,{text:e.state.error,error:!0}):null,""!==e.state.message?a.a.createElement(f.a,{text:e.state.message,dismissable:!0,dismissableCallback:e.removeMessage}):null,a.a.createElement("h2",{className:"theme-name"},e.props.addTemplateText)),a.a.createElement("div",{className:"gfpdf-template-install-instructions",id:"gfpdf-template-install-instructions"},e.props.templateInstallInstructions))})))}}])&&B(t.prototype,r),n&&B(t,n),i}(n.Component);te(re,"propTypes",{genericUploadErrorText:i.a.string,addTemplateText:i.a.string,filenameErrorText:i.a.string,filesizeErrorText:i.a.string,installSuccessText:i.a.string,installUpdatedText:i.a.string,templateSuccessfullyInstalledUpdated:i.a.string,templateInstallInstructions:i.a.string,addNewTemplate:i.a.func,updateTemplateParam:i.a.func,postTemplateUploadProcessing:i.a.func,clearTemplateUploadProcessing:i.a.func,templates:i.a.array,templateUploadProcessingSuccess:i.a.object,templateUploadProcessingError:i.a.object});var ne=Object(c.b)((function(e){return{templates:e.template.list,templateUploadProcessingSuccess:e.template.templateUploadProcessingSuccess,templateUploadProcessingError:e.template.templateUploadProcessingError}}),(function(e){return{addNewTemplate:function(t){e(Object(h.p)(t))},updateTemplateParam:function(t,r,n){e(Object(h.E)(t,r,n))},postTemplateUploadProcessing:function(t,r){e(Object(h.t)(t,r))},clearTemplateUploadProcessing:function(){e(Object(h.r)())}}}))(re),ae=r(247);function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=pe(e);if(t){var a=pe(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return ue(this,r)}}function ue(e,t){return!t||"object"!==oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"TemplateList",(function(){return ye}));
|
32 |
* The master component for rendering the all PDF templates as a list
|
33 |
*
|
34 |
* @package Gravity PDF
|
35 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
36 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
37 |
* @since 4.1
|
38 |
*/
|
dist/assets/js/{chunk-6.6c41d7a031f41a494964.js → chunk-6.ef3565a14028638eb70f.js}
RENAMED
@@ -4,7 +4,7 @@
|
|
4 |
* /template/:id pages.
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.1
|
10 |
*/var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(i,e);var t,r,n,a=y(i);function i(){var e;u(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return v(b(e=a.call.apply(a,[this].concat(r))),"handlePreviousTemplate",(function(t){t.preventDefault(),t.stopPropagation();var r=e.props.templates[e.props.templateIndex-1].id;r&&e.props.history.push("/template/"+r)})),v(b(e),"handleNextTemplate",(function(t){t.preventDefault(),t.stopPropagation();var r=e.props.templates[e.props.templateIndex+1].id;r&&e.props.history.push("/template/"+r)})),v(b(e),"handleKeyPress",(function(t){e.props.isFirst||37!==t.keyCode||e.handlePreviousTemplate(t),e.props.isLast||39!==t.keyCode||e.handleNextTemplate(t)})),e}return t=i,(r=[{key:"componentDidMount",value:function(){window.addEventListener("keydown",this.handleKeyPress,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this.handleKeyPress,!1)}},{key:"render",value:function(){var e=this.props.isFirst,t=this.props.isLast,r=e?"dashicons dashicons-no left disabled":"dashicons dashicons-no left",n=t?"dashicons dashicons-no right disabled":"dashicons dashicons-no right",a=e?"disabled":"",i=t?"disabled":"";return o.a.createElement("span",null,o.a.createElement("button",{onClick:this.handlePreviousTemplate,onKeyDown:this.handleKeyPress,className:r,tabIndex:"141",disabled:a},o.a.createElement("span",{className:"screen-reader-text"},this.props.showPreviousTemplateText)),o.a.createElement("button",{onClick:this.handleNextTemplate,onKeyDown:this.handleKeyPress,className:n,tabIndex:"141",disabled:i},o.a.createElement("span",{className:"screen-reader-text"},this.props.showNextTemplateText)))}}])&&f(t.prototype,r),n&&f(t,n),i}(n.Component);v(g,"propTypes",{templates:i.a.array.isRequired,templateIndex:i.a.number.isRequired,history:i.a.object,isFirst:i.a.bool,isLast:i.a.bool,showPreviousTemplateText:i.a.string,showNextTemplateText:i.a.string});var T=Object(p.f)(Object(c.b)((function(e,t){var r=t.templates,n=t.template.id,o=r.length-1;return{isFirst:r[0].id===n,isLast:r[o].id===n}}))(g)),x=(r(232),r(234)),w=(r(58),r(82),r(94),r(95),r(92),r(83),r(13));function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=C(e);if(t){var o=C(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
@@ -13,7 +13,7 @@
|
|
13 |
* removes the selected PDF template
|
14 |
*
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
* @since 4.1
|
19 |
*/var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(i,e);var t,r,n,a=k(i);function i(){var e;E(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return N(R(e=a.call.apply(a,[this].concat(r))),"deleteTemplate",(function(t){t.preventDefault(),t.stopPropagation(),window.confirm(e.props.templateConfirmDeleteText)&&(e.props.templateProcessing(e.props.template.id),"success"===e.props.getTemplateProcessing&&e.props.history.push("/template"),e.props.onTemplateDelete(e.props.template.id))})),N(R(e),"ajaxFailed",(function(){var t=P({},e.props.template,{error:e.props.templateDeleteErrorText});e.props.addTemplate(t),e.props.history.push("/template"),e.props.clearTemplateProcessing()})),e}return t=i,(r=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.getTemplateProcessing,r=e.history;"success"===t&&r.push("/template"),"failed"===t&&this.ajaxFailed()}},{key:"render",value:function(){var e=this.props.callbackFunction?this.props.callbackFunction:this.deleteTemplate;return o.a.createElement("a",{onClick:e,href:"#",tabIndex:"150",className:"button button-secondary delete-theme ed_button","aria-label":this.props.buttonText+" "+GFPDF.template},this.props.buttonText)}}])&&D(t.prototype,r),n&&D(t,n),i}(n.Component);N(I,"propTypes",{template:i.a.object,addTemplate:i.a.func,onTemplateDelete:i.a.func,callbackFunction:i.a.func,templateProcessing:i.a.func,clearTemplateProcessing:i.a.func,getTemplateProcessing:i.a.string,history:i.a.object,buttonText:i.a.string,templateConfirmDeleteText:i.a.string,templateDeleteErrorText:i.a.string});var F=Object(p.f)(Object(c.b)((function(e){return{getTemplateProcessing:e.template.templateProcessing}}),(function(e){return{addTemplate:function(t){e(Object(w.p)(t))},onTemplateDelete:function(t){e(Object(w.s)(t))},templateProcessing:function(t){e(Object(w.w)(t))},clearTemplateProcessing:function(){e(Object(w.q)())}}}))(I));function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=G(e);if(t){var o=G(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return q(this,r)}}function q(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?J(e):t}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
@@ -22,7 +22,7 @@
|
|
22 |
* /template/:id pages.
|
23 |
*
|
24 |
* @package Gravity PDF
|
25 |
-
* @copyright Copyright (c)
|
26 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
27 |
* @since 4.1
|
28 |
*/var z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}(i,e);var t,r,n,a=W(i);function i(){var e;U(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return M(J(e=a.call.apply(a,[this].concat(r))),"notCoreTemplate",(function(t){return-1!==t.path.indexOf(e.props.pdfWorkingDirPath)})),e}return t=i,(r=[{key:"render",value:function(){var e=this.props.template,t=e.compatible;return o.a.createElement("div",{className:"theme-actions"},!this.props.isActiveTemplate&&t?o.a.createElement(x.a,{template:e,buttonText:this.props.activateText}):null,!this.props.isActiveTemplate&&this.notCoreTemplate(e)?o.a.createElement(F,{template:e,ajaxUrl:this.props.ajaxUrl,ajaxNonce:this.props.ajaxNonce,buttonText:this.props.templateDeleteText,templateConfirmDeleteText:this.props.templateConfirmDeleteText,templateDeleteErrorText:this.props.templateDeleteErrorText}):null)}}])&&K(t.prototype,r),n&&K(t,n),i}(n.Component);M(z,"propTypes",{template:i.a.object.isRequired,isActiveTemplate:i.a.bool,ajaxUrl:i.a.string,ajaxNonce:i.a.string,activateText:i.a.string,pdfWorkingDirPath:i.a.string,templateDeleteText:i.a.string,templateConfirmDeleteText:i.a.string,templateDeleteErrorText:i.a.string});var B=z,H=function(e){var t=e.image,r=t?"screenshot":"screenshot blank";return o.a.createElement("div",{className:"theme-screenshots"},o.a.createElement("div",{className:r},t?o.a.createElement("img",{src:t,alt:""}):null))};
|
@@ -30,7 +30,7 @@
|
|
30 |
* Display the Template Screenshot for the individual templates (uses different markup - out of our control)
|
31 |
*
|
32 |
* @package Gravity PDF
|
33 |
-
* @copyright Copyright (c)
|
34 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
35 |
* @since 4.1
|
36 |
*/H.propTypes={image:i.a.string};var Q=H,V=r(220),X=r(233),Y=r(247);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function te(e,t){return(te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=oe(e);if(t){var o=oe(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ne(this,r)}}function ne(e,t){return!t||"object"!==Z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"TemplateSingle",(function(){return se}));
|
@@ -38,7 +38,7 @@
|
|
38 |
* Renders a single PDF template, which get displayed on the /template/:id page.
|
39 |
*
|
40 |
* @package Gravity PDF
|
41 |
-
* @copyright Copyright (c)
|
42 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
43 |
* @since 4.1
|
44 |
*/
|
4 |
* /template/:id pages.
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.1
|
10 |
*/var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(i,e);var t,r,n,a=y(i);function i(){var e;u(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return v(b(e=a.call.apply(a,[this].concat(r))),"handlePreviousTemplate",(function(t){t.preventDefault(),t.stopPropagation();var r=e.props.templates[e.props.templateIndex-1].id;r&&e.props.history.push("/template/"+r)})),v(b(e),"handleNextTemplate",(function(t){t.preventDefault(),t.stopPropagation();var r=e.props.templates[e.props.templateIndex+1].id;r&&e.props.history.push("/template/"+r)})),v(b(e),"handleKeyPress",(function(t){e.props.isFirst||37!==t.keyCode||e.handlePreviousTemplate(t),e.props.isLast||39!==t.keyCode||e.handleNextTemplate(t)})),e}return t=i,(r=[{key:"componentDidMount",value:function(){window.addEventListener("keydown",this.handleKeyPress,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this.handleKeyPress,!1)}},{key:"render",value:function(){var e=this.props.isFirst,t=this.props.isLast,r=e?"dashicons dashicons-no left disabled":"dashicons dashicons-no left",n=t?"dashicons dashicons-no right disabled":"dashicons dashicons-no right",a=e?"disabled":"",i=t?"disabled":"";return o.a.createElement("span",null,o.a.createElement("button",{onClick:this.handlePreviousTemplate,onKeyDown:this.handleKeyPress,className:r,tabIndex:"141",disabled:a},o.a.createElement("span",{className:"screen-reader-text"},this.props.showPreviousTemplateText)),o.a.createElement("button",{onClick:this.handleNextTemplate,onKeyDown:this.handleKeyPress,className:n,tabIndex:"141",disabled:i},o.a.createElement("span",{className:"screen-reader-text"},this.props.showNextTemplateText)))}}])&&f(t.prototype,r),n&&f(t,n),i}(n.Component);v(g,"propTypes",{templates:i.a.array.isRequired,templateIndex:i.a.number.isRequired,history:i.a.object,isFirst:i.a.bool,isLast:i.a.bool,showPreviousTemplateText:i.a.string,showNextTemplateText:i.a.string});var T=Object(p.f)(Object(c.b)((function(e,t){var r=t.templates,n=t.template.id,o=r.length-1;return{isFirst:r[0].id===n,isLast:r[o].id===n}}))(g)),x=(r(232),r(234)),w=(r(58),r(82),r(94),r(95),r(92),r(83),r(13));function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=C(e);if(t){var o=C(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
13 |
* removes the selected PDF template
|
14 |
*
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
* @since 4.1
|
19 |
*/var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(i,e);var t,r,n,a=k(i);function i(){var e;E(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return N(R(e=a.call.apply(a,[this].concat(r))),"deleteTemplate",(function(t){t.preventDefault(),t.stopPropagation(),window.confirm(e.props.templateConfirmDeleteText)&&(e.props.templateProcessing(e.props.template.id),"success"===e.props.getTemplateProcessing&&e.props.history.push("/template"),e.props.onTemplateDelete(e.props.template.id))})),N(R(e),"ajaxFailed",(function(){var t=P({},e.props.template,{error:e.props.templateDeleteErrorText});e.props.addTemplate(t),e.props.history.push("/template"),e.props.clearTemplateProcessing()})),e}return t=i,(r=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.getTemplateProcessing,r=e.history;"success"===t&&r.push("/template"),"failed"===t&&this.ajaxFailed()}},{key:"render",value:function(){var e=this.props.callbackFunction?this.props.callbackFunction:this.deleteTemplate;return o.a.createElement("a",{onClick:e,href:"#",tabIndex:"150",className:"button button-secondary delete-theme ed_button","aria-label":this.props.buttonText+" "+GFPDF.template},this.props.buttonText)}}])&&D(t.prototype,r),n&&D(t,n),i}(n.Component);N(I,"propTypes",{template:i.a.object,addTemplate:i.a.func,onTemplateDelete:i.a.func,callbackFunction:i.a.func,templateProcessing:i.a.func,clearTemplateProcessing:i.a.func,getTemplateProcessing:i.a.string,history:i.a.object,buttonText:i.a.string,templateConfirmDeleteText:i.a.string,templateDeleteErrorText:i.a.string});var F=Object(p.f)(Object(c.b)((function(e){return{getTemplateProcessing:e.template.templateProcessing}}),(function(e){return{addTemplate:function(t){e(Object(w.p)(t))},onTemplateDelete:function(t){e(Object(w.s)(t))},templateProcessing:function(t){e(Object(w.w)(t))},clearTemplateProcessing:function(){e(Object(w.q)())}}}))(I));function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=G(e);if(t){var o=G(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return q(this,r)}}function q(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?J(e):t}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
22 |
* /template/:id pages.
|
23 |
*
|
24 |
* @package Gravity PDF
|
25 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
26 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
27 |
* @since 4.1
|
28 |
*/var z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}(i,e);var t,r,n,a=W(i);function i(){var e;U(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return M(J(e=a.call.apply(a,[this].concat(r))),"notCoreTemplate",(function(t){return-1!==t.path.indexOf(e.props.pdfWorkingDirPath)})),e}return t=i,(r=[{key:"render",value:function(){var e=this.props.template,t=e.compatible;return o.a.createElement("div",{className:"theme-actions"},!this.props.isActiveTemplate&&t?o.a.createElement(x.a,{template:e,buttonText:this.props.activateText}):null,!this.props.isActiveTemplate&&this.notCoreTemplate(e)?o.a.createElement(F,{template:e,ajaxUrl:this.props.ajaxUrl,ajaxNonce:this.props.ajaxNonce,buttonText:this.props.templateDeleteText,templateConfirmDeleteText:this.props.templateConfirmDeleteText,templateDeleteErrorText:this.props.templateDeleteErrorText}):null)}}])&&K(t.prototype,r),n&&K(t,n),i}(n.Component);M(z,"propTypes",{template:i.a.object.isRequired,isActiveTemplate:i.a.bool,ajaxUrl:i.a.string,ajaxNonce:i.a.string,activateText:i.a.string,pdfWorkingDirPath:i.a.string,templateDeleteText:i.a.string,templateConfirmDeleteText:i.a.string,templateDeleteErrorText:i.a.string});var B=z,H=function(e){var t=e.image,r=t?"screenshot":"screenshot blank";return o.a.createElement("div",{className:"theme-screenshots"},o.a.createElement("div",{className:r},t?o.a.createElement("img",{src:t,alt:""}):null))};
|
30 |
* Display the Template Screenshot for the individual templates (uses different markup - out of our control)
|
31 |
*
|
32 |
* @package Gravity PDF
|
33 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
34 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
35 |
* @since 4.1
|
36 |
*/H.propTypes={image:i.a.string};var Q=H,V=r(220),X=r(233),Y=r(247);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function te(e,t){return(te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=oe(e);if(t){var o=oe(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ne(this,r)}}function ne(e,t){return!t||"object"!==Z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"TemplateSingle",(function(){return se}));
|
38 |
* Renders a single PDF template, which get displayed on the /template/:id page.
|
39 |
*
|
40 |
* @package Gravity PDF
|
41 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
42 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
43 |
* @since 4.1
|
44 |
*/
|
dist/assets/js/{chunk-7.9a1736bd0281c624aba5.js → chunk-7.514921733ef2f6274a79.js}
RENAMED
@@ -1,20 +1,20 @@
|
|
1 |
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{251:function(t,e,r){"use strict";var n=r(7),o=r(74),a=[].reverse,c=[1,2];n({target:"Array",proto:!0,forced:String(c)===String(c.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a.call(this)}})},274:function(t,e,r){"use strict";r.r(e);var n=r(0),o=r.n(n),a=r(1),c=r.n(a),i=r(60),u=r(16),s=(r(31),r(38),r(39),r(57),r(32),r(42),r(80),r(18),r(81),r(41),r(29),r(25),r(93),r(40),r(15)),l=(r(251),r(92),function(){return o.a.createElement("div",{className:"gfpdf-core-font-spacer"},"---")});function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e,r){return e&&y(t.prototype,e),r&&y(t,r),t}function b(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=v(t);if(e){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return F(this,r)}}function F(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?g(t):e}function g(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}
|
2 |
/**
|
3 |
* @package Gravity PDF
|
4 |
-
* @copyright Copyright (c)
|
5 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
6 |
* @since 5.0
|
7 |
*/var D=function(t){b(r,t);var e=m(r);function r(){return p(this,r),e.apply(this,arguments)}return d(r,[{key:"render",value:function(){var t=this,e=this.props.console,r=Object.keys(e).reverse(),n=this.props.retry.length>0;return r.length?o.a.createElement("ul",{className:"gfpdf-core-font-list-results-container","aria-label":GFPDF.coreFontAriaLabel},r.map((function(r){return o.a.createElement("li",{key:r,className:"gfpdf-core-font-status-"+e[r].status},e[r].message," ","completed"===r&&n&&o.a.createElement(C,{history:t.props.history,retryText:t.props.retryText}),"completed"===r&&o.a.createElement(l,null))}))):null}}]),r}(n.Component);w(D,"propTypes",{console:c.a.object,retry:c.a.array,history:c.a.object,retryText:c.a.string});var C=function(t){b(r,t);var e=m(r);function r(){var t;p(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return w(g(t=e.call.apply(e,[this].concat(o))),"handleTriggerRetryFontDownload",(function(e){e.preventDefault(),t.props.history.replace("retryDownloadCoreFonts")})),t}return d(r,[{key:"render",value:function(){return o.a.createElement("a",{href:"#",onClick:this.handleTriggerRetryFontDownload,"aria-live":"polite",role:"dialog"},this.props.retryText)}}]),r}(n.Component);w(C,"propTypes",{history:c.a.object,retryText:c.a.string});
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
* @since 5.0
|
13 |
*/
|
14 |
var T=function(t){var e=t.queue,r=t.text;return o.a.createElement("span",{className:"gfpdf-core-font-counter"},r," ",e)};T.propTypes={queue:c.a.number,text:c.a.string};var j=T,x=r(138),E=r(17);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=q(t);if(e){var o=q(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return G(this,r)}}function G(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?_(t):e}function _(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
-
* @copyright Copyright (c)
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
* @since 5.0
|
20 |
*/var L=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(c,t);var e,r,n,a=k(c);function c(){var t;R(this,c);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return A(_(t=a.call.apply(a,[this].concat(r))),"state",{ajax:!1}),A(_(t),"maybeStartDownload",(function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;"/downloadCoreFonts"===e&&t.startDownloadFonts(r,n),"/retryDownloadCoreFonts"===e&&(t.setState({ajax:!0}),t.startDownloadFonts(r,n))})),A(_(t),"startDownloadFonts",(function(e,r){if(0===e.length)return t.props.clearButtonClickedAndRetryList(),t.handleGithubApiError(r);t.props.clearConsole(),t.props.clearButtonClickedAndRetryList(),t.props.history.replace(""),setTimeout((function(){return e.map((function(e){return t.props.downloadFontsApiCall(e)}))}),300)})),A(_(t),"handleGithubApiError",(function(e){t.setState({ajax:!1}),t.props.addToConsole("completed","error",e),t.props.history.replace("")})),A(_(t),"handleTriggerFontDownload",(function(){!1===t.state.ajax&&t.setState({ajax:!0},(function(){t.props.getFilesFromGitHub()}))})),A(_(t),"resetState",(function(){var e=t.props,r=e.clearRequestRemainingData,n=e.history;t.setState({ajax:!1}),r(),n.replace("")})),t}return e=c,(r=[{key:"componentDidUpdate",value:function(){var t=this.props,e=t.fontList,r=t.buttonClicked,n=t.location,o=t.retry,a=t.getFilesFromGitHubFailed,c=t.requestDownload;e.length>0&&r&&this.startDownloadFonts(e),"/downloadCoreFonts"===n.pathname&&this.handleTriggerFontDownload(),"/retryDownloadCoreFonts"===n.pathname&&this.maybeStartDownload(n.pathname,o),""!==a&&r&&this.startDownloadFonts(e,a),"finished"===c&&this.resetState()}},{key:"componentDidMount",value:function(){"/downloadCoreFonts"===this.props.location.pathname&&this.handleTriggerFontDownload()}},{key:"render",value:function(){var t=this.state.ajax,e=this.props,r=e.fontList,n=e.buttonClassName,a=e.buttonText,c=e.counterText,i=e.queue,u=e.history,s=e.console,l=e.retry,f=e.retryText,p=i<r.length&&0!==i||t;return o.a.createElement("div",null,o.a.createElement("button",{className:n,type:"button",onClick:this.handleTriggerFontDownload,disabled:p},a),t&&o.a.createElement(x.a,null),t&&0!==i&&o.a.createElement(j,{text:c,queue:i}),o.a.createElement(D,{history:u,console:s,retry:l,retryText:f}))}}])&&O(e.prototype,r),n&&O(e,n),c}(n.Component);A(L,"propTypes",{location:c.a.object,requestDownload:c.a.string,clearRequestRemainingData:c.a.func,getFilesFromGitHub:c.a.func,buttonClicked:c.a.bool,fontList:c.a.array,getFilesFromGitHubFailed:c.a.string,retry:c.a.array,clearConsole:c.a.func,history:c.a.object,clearButtonClickedAndRetryList:c.a.func,downloadFontsApiCall:c.a.func,addToConsole:c.a.func,console:c.a.object,buttonClassName:c.a.string,buttonText:c.a.string,counterText:c.a.string,retryText:c.a.string,queue:c.a.number});var N=Object(s.b)((function(t){return{buttonClicked:t.coreFonts.buttonClicked,fontList:t.coreFonts.fontList,getFilesFromGitHubFailed:t.coreFonts.getFilesFromGitHubFailed,console:t.coreFonts.console,retry:t.coreFonts.retry,requestDownload:t.coreFonts.requestDownload,queue:t.coreFonts.downloadCounter}}),{addToConsole:E.k,clearButtonClickedAndRetryList:E.m,getFilesFromGitHub:E.r,downloadFontsApiCall:E.q,clearRequestRemainingData:E.o,clearConsole:E.n})(L),H=function(t){var e=t.button;return o.a.createElement(i.a,null,o.a.createElement(u.c,null,o.a.createElement(u.a,{render:function(t){return o.a.createElement(B,{history:t.history,button:e})}}),o.a.createElement(u.a,{path:"/downloadCoreFonts",exact:!0,render:function(t){return o.a.createElement(B,{history:t.history,button:e})}}),o.a.createElement(u.a,{path:"/retryDownloadCoreFonts",exact:!0,render:function(t){return o.a.createElement(B,{history:t.history,button:e})}})))};H.propTypes={history:c.a.object,button:c.a.object};var B=function(t){var e=t.history,r=t.button;return o.a.createElement(N,{history:e,location:e.location,buttonClassName:r.className,buttonText:r.innerText,success:GFPDF.coreFontSuccess,error:GFPDF.coreFontError,itemPending:GFPDF.coreFontItemPendingMessage,itemSuccess:GFPDF.coreFontItemSuccessMessage,itemError:GFPDF.coreFontItemErrorMessage,counterText:GFPDF.coreFontCounter,retryText:GFPDF.coreFontRetry})};B.propTypes={history:c.a.object,button:c.a.object};e.default=H}}]);
|
1 |
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{251:function(t,e,r){"use strict";var n=r(7),o=r(74),a=[].reverse,c=[1,2];n({target:"Array",proto:!0,forced:String(c)===String(c.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a.call(this)}})},274:function(t,e,r){"use strict";r.r(e);var n=r(0),o=r.n(n),a=r(1),c=r.n(a),i=r(60),u=r(16),s=(r(31),r(38),r(39),r(57),r(32),r(42),r(80),r(18),r(81),r(41),r(29),r(25),r(93),r(40),r(15)),l=(r(251),r(92),function(){return o.a.createElement("div",{className:"gfpdf-core-font-spacer"},"---")});function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e,r){return e&&y(t.prototype,e),r&&y(t,r),t}function b(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=v(t);if(e){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return F(this,r)}}function F(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?g(t):e}function g(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}
|
2 |
/**
|
3 |
* @package Gravity PDF
|
4 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
5 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
6 |
* @since 5.0
|
7 |
*/var D=function(t){b(r,t);var e=m(r);function r(){return p(this,r),e.apply(this,arguments)}return d(r,[{key:"render",value:function(){var t=this,e=this.props.console,r=Object.keys(e).reverse(),n=this.props.retry.length>0;return r.length?o.a.createElement("ul",{className:"gfpdf-core-font-list-results-container","aria-label":GFPDF.coreFontAriaLabel},r.map((function(r){return o.a.createElement("li",{key:r,className:"gfpdf-core-font-status-"+e[r].status},e[r].message," ","completed"===r&&n&&o.a.createElement(C,{history:t.props.history,retryText:t.props.retryText}),"completed"===r&&o.a.createElement(l,null))}))):null}}]),r}(n.Component);w(D,"propTypes",{console:c.a.object,retry:c.a.array,history:c.a.object,retryText:c.a.string});var C=function(t){b(r,t);var e=m(r);function r(){var t;p(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return w(g(t=e.call.apply(e,[this].concat(o))),"handleTriggerRetryFontDownload",(function(e){e.preventDefault(),t.props.history.replace("retryDownloadCoreFonts")})),t}return d(r,[{key:"render",value:function(){return o.a.createElement("a",{href:"#",onClick:this.handleTriggerRetryFontDownload,"aria-live":"polite",role:"dialog"},this.props.retryText)}}]),r}(n.Component);w(C,"propTypes",{history:c.a.object,retryText:c.a.string});
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
* @since 5.0
|
13 |
*/
|
14 |
var T=function(t){var e=t.queue,r=t.text;return o.a.createElement("span",{className:"gfpdf-core-font-counter"},r," ",e)};T.propTypes={queue:c.a.number,text:c.a.string};var j=T,x=r(138),E=r(17);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=q(t);if(e){var o=q(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return G(this,r)}}function G(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?_(t):e}function _(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
* @since 5.0
|
20 |
*/var L=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(c,t);var e,r,n,a=k(c);function c(){var t;R(this,c);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return A(_(t=a.call.apply(a,[this].concat(r))),"state",{ajax:!1}),A(_(t),"maybeStartDownload",(function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;"/downloadCoreFonts"===e&&t.startDownloadFonts(r,n),"/retryDownloadCoreFonts"===e&&(t.setState({ajax:!0}),t.startDownloadFonts(r,n))})),A(_(t),"startDownloadFonts",(function(e,r){if(0===e.length)return t.props.clearButtonClickedAndRetryList(),t.handleGithubApiError(r);t.props.clearConsole(),t.props.clearButtonClickedAndRetryList(),t.props.history.replace(""),setTimeout((function(){return e.map((function(e){return t.props.downloadFontsApiCall(e)}))}),300)})),A(_(t),"handleGithubApiError",(function(e){t.setState({ajax:!1}),t.props.addToConsole("completed","error",e),t.props.history.replace("")})),A(_(t),"handleTriggerFontDownload",(function(){!1===t.state.ajax&&t.setState({ajax:!0},(function(){t.props.getFilesFromGitHub()}))})),A(_(t),"resetState",(function(){var e=t.props,r=e.clearRequestRemainingData,n=e.history;t.setState({ajax:!1}),r(),n.replace("")})),t}return e=c,(r=[{key:"componentDidUpdate",value:function(){var t=this.props,e=t.fontList,r=t.buttonClicked,n=t.location,o=t.retry,a=t.getFilesFromGitHubFailed,c=t.requestDownload;e.length>0&&r&&this.startDownloadFonts(e),"/downloadCoreFonts"===n.pathname&&this.handleTriggerFontDownload(),"/retryDownloadCoreFonts"===n.pathname&&this.maybeStartDownload(n.pathname,o),""!==a&&r&&this.startDownloadFonts(e,a),"finished"===c&&this.resetState()}},{key:"componentDidMount",value:function(){"/downloadCoreFonts"===this.props.location.pathname&&this.handleTriggerFontDownload()}},{key:"render",value:function(){var t=this.state.ajax,e=this.props,r=e.fontList,n=e.buttonClassName,a=e.buttonText,c=e.counterText,i=e.queue,u=e.history,s=e.console,l=e.retry,f=e.retryText,p=i<r.length&&0!==i||t;return o.a.createElement("div",null,o.a.createElement("button",{className:n,type:"button",onClick:this.handleTriggerFontDownload,disabled:p},a),t&&o.a.createElement(x.a,null),t&&0!==i&&o.a.createElement(j,{text:c,queue:i}),o.a.createElement(D,{history:u,console:s,retry:l,retryText:f}))}}])&&O(e.prototype,r),n&&O(e,n),c}(n.Component);A(L,"propTypes",{location:c.a.object,requestDownload:c.a.string,clearRequestRemainingData:c.a.func,getFilesFromGitHub:c.a.func,buttonClicked:c.a.bool,fontList:c.a.array,getFilesFromGitHubFailed:c.a.string,retry:c.a.array,clearConsole:c.a.func,history:c.a.object,clearButtonClickedAndRetryList:c.a.func,downloadFontsApiCall:c.a.func,addToConsole:c.a.func,console:c.a.object,buttonClassName:c.a.string,buttonText:c.a.string,counterText:c.a.string,retryText:c.a.string,queue:c.a.number});var N=Object(s.b)((function(t){return{buttonClicked:t.coreFonts.buttonClicked,fontList:t.coreFonts.fontList,getFilesFromGitHubFailed:t.coreFonts.getFilesFromGitHubFailed,console:t.coreFonts.console,retry:t.coreFonts.retry,requestDownload:t.coreFonts.requestDownload,queue:t.coreFonts.downloadCounter}}),{addToConsole:E.k,clearButtonClickedAndRetryList:E.m,getFilesFromGitHub:E.r,downloadFontsApiCall:E.q,clearRequestRemainingData:E.o,clearConsole:E.n})(L),H=function(t){var e=t.button;return o.a.createElement(i.a,null,o.a.createElement(u.c,null,o.a.createElement(u.a,{render:function(t){return o.a.createElement(B,{history:t.history,button:e})}}),o.a.createElement(u.a,{path:"/downloadCoreFonts",exact:!0,render:function(t){return o.a.createElement(B,{history:t.history,button:e})}}),o.a.createElement(u.a,{path:"/retryDownloadCoreFonts",exact:!0,render:function(t){return o.a.createElement(B,{history:t.history,button:e})}})))};H.propTypes={history:c.a.object,button:c.a.object};var B=function(t){var e=t.history,r=t.button;return o.a.createElement(N,{history:e,location:e.location,buttonClassName:r.className,buttonText:r.innerText,success:GFPDF.coreFontSuccess,error:GFPDF.coreFontError,itemPending:GFPDF.coreFontItemPendingMessage,itemSuccess:GFPDF.coreFontItemSuccessMessage,itemError:GFPDF.coreFontItemErrorMessage,counterText:GFPDF.coreFontCounter,retryText:GFPDF.coreFontRetry})};B.propTypes={history:c.a.object,button:c.a.object};e.default=H}}]);
|
dist/assets/js/{chunk-8.4d85e80b996f0e8e6163.js → chunk-8.c48910b68a8cb06a33ba.js}
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{269:function(t,e,n){"use strict";n.r(e),n.d(e,"AdvancedButton",(function(){return d}));n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(0),o=n.n(r),u=n(1),c=n.n(u);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?y(t):e}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}
|
2 |
/**
|
3 |
* @package Gravity PDF
|
4 |
-
* @copyright Copyright (c)
|
5 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
6 |
* @since 6.0
|
7 |
*/var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(c,t);var e,n,r,u=p(c);function c(){var t;f(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return h(y(t=u.call.apply(u,[this].concat(n))),"handleClick",(function(e){e.preventDefault(),t.props.history.push("/fontmanager/")})),t}return e=c,(n=[{key:"render",value:function(){return o.a.createElement("button",{type:"button",className:"button gfpdf-button",onClick:this.handleClick},GFPDF.manage)}}])&&a(e.prototype,n),r&&a(e,r),c}(r.Component);h(d,"propTypes",{history:c.a.object}),e.default=d}}]);
|
1 |
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{269:function(t,e,n){"use strict";n.r(e),n.d(e,"AdvancedButton",(function(){return d}));n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(0),o=n.n(r),u=n(1),c=n.n(u);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?y(t):e}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}
|
2 |
/**
|
3 |
* @package Gravity PDF
|
4 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
5 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
6 |
* @since 6.0
|
7 |
*/var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(c,t);var e,n,r,u=p(c);function c(){var t;f(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return h(y(t=u.call.apply(u,[this].concat(n))),"handleClick",(function(e){e.preventDefault(),t.props.history.push("/fontmanager/")})),t}return e=c,(n=[{key:"render",value:function(){return o.a.createElement("button",{type:"button",className:"button gfpdf-button",onClick:this.handleClick},GFPDF.manage)}}])&&a(e.prototype,n),r&&a(e,r),c}(r.Component);h(d,"propTypes",{history:c.a.object}),e.default=d}}]);
|
dist/assets/js/{chunk-9.490ff386d143b3b668c9.js → chunk-9.4ab0fcd8be55c0868e3a.js}
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{276:function(e,t,r){"use strict";r.r(t);r(31),r(38),r(39),r(57),r(58),r(82),r(55),r(32),r(252),r(100),r(71),r(94),r(95),r(80),r(92),r(18),r(81),r(41),r(29),r(25),r(152),r(83),r(40);var n=r(0),a=r.n(n),o=r(254),c=r.n(o),i=r(270),l=r(273),u=r(277),s=r(271),f=(r(42),r(153),r(1)),h=function(e){var t=e.groups;return a.a.createElement("div",{className:"search-result"},Object.entries(t).map((function(e,t){return a.a.createElement("section",{className:"group-section",key:t},a.a.createElement("div",{className:"group-name"},e[0]),a.a.createElement("ul",{className:"search-menu"},e[1].map((function(e,t){var r=e[1],n=e[2],o=(e[0].lvl2?e[0].lvl2:"")+(e[0].lvl3?" - "+e[0].lvl3:""),c=n?n.substr(0,80)+"...":o;return a.a.createElement("li",{key:t},a.a.createElement("a",{href:r},a.a.createElement("div",{className:"hit-container"},a.a.createElement("div",{className:"hit-icon"},a.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},a.a.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))),a.a.createElement("div",{className:"hit-content-wrapper"},a.a.createElement("span",{className:"hit-title",dangerouslySetInnerHTML:{__html:e[0].lvl1}}),a.a.createElement("span",{className:"hit-path",dangerouslySetInnerHTML:{__html:c}})),a.a.createElement("div",{className:"hit-action"},a.a.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},a.a.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},a.a.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),a.a.createElement("path",{d:"M8 17l-6-6 6-6"})))))))}))))})))};h.propTypes={groups:r.n(f).a.object.isRequired};var p=h;function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){T(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return j(this,r)}}function j(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
2 |
/**
|
3 |
* @package Gravity PDF
|
4 |
-
* @copyright Copyright (c)
|
5 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
6 |
* @since 5.2
|
7 |
*/r.d(t,"HelpContainer",(function(){return k}));var k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(f,e);var t,r,n,o=E(f);function f(){var e;g(this,f);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return T(P(e=o.call.apply(o,[this].concat(r))),"onHandleHit",(function(e){var t=e.hits.reduce((function(e,t){return d({},e,T({},t.hierarchy.lvl0,[].concat(m(e[t.hierarchy.lvl0]||[]),[[t.hierarchy,t.url,t.content]])))}),{});return a.a.createElement(p,{groups:t})})),e}return t=f,(r=[{key:"render",value:function(){var e=c()("BH4D9OD16A","3f8f81a078907e98ed8d3a5bedc3c61c"),t={search:function(t){if(""!==t[0].params.query)return e.search(t)}},r=Object(i.a)(this.onHandleHit);return a.a.createElement(l.a,{searchClient:t,indexName:"gravitypdf"},a.a.createElement(u.a,{facetFilters:["version:v6"],highlightPreTag:"<mark>",highlightPostTag:"</mark>",attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:5","hierarchy.lvl2:5","hierarchy.lvl3:5","hierarchy.lvl4:5","hierarchy.lvl5:5","hierarchy.lvl6:5","content:5"],snippetEllipsisText:"…"}),a.a.createElement(s.a,{translations:{submitTitle:GFPDF.searchBoxSubmitTitle,resetTitle:GFPDF.searchBoxResetTitle,placeholder:GFPDF.searchBoxPlaceHolderText},autofocus:!0}),a.a.createElement(r,null))}}])&&O(t.prototype,r),n&&O(t,n),f}(n.Component);t.default=k}}]);
|
1 |
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{276:function(e,t,r){"use strict";r.r(t);r(31),r(38),r(39),r(57),r(58),r(82),r(55),r(32),r(252),r(100),r(71),r(94),r(95),r(80),r(92),r(18),r(81),r(41),r(29),r(25),r(152),r(83),r(40);var n=r(0),a=r.n(n),o=r(254),c=r.n(o),i=r(270),l=r(273),u=r(277),s=r(271),f=(r(42),r(153),r(1)),h=function(e){var t=e.groups;return a.a.createElement("div",{className:"search-result"},Object.entries(t).map((function(e,t){return a.a.createElement("section",{className:"group-section",key:t},a.a.createElement("div",{className:"group-name"},e[0]),a.a.createElement("ul",{className:"search-menu"},e[1].map((function(e,t){var r=e[1],n=e[2],o=(e[0].lvl2?e[0].lvl2:"")+(e[0].lvl3?" - "+e[0].lvl3:""),c=n?n.substr(0,80)+"...":o;return a.a.createElement("li",{key:t},a.a.createElement("a",{href:r},a.a.createElement("div",{className:"hit-container"},a.a.createElement("div",{className:"hit-icon"},a.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},a.a.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))),a.a.createElement("div",{className:"hit-content-wrapper"},a.a.createElement("span",{className:"hit-title",dangerouslySetInnerHTML:{__html:e[0].lvl1}}),a.a.createElement("span",{className:"hit-path",dangerouslySetInnerHTML:{__html:c}})),a.a.createElement("div",{className:"hit-action"},a.a.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},a.a.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},a.a.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),a.a.createElement("path",{d:"M8 17l-6-6 6-6"})))))))}))))})))};h.propTypes={groups:r.n(f).a.object.isRequired};var p=h;function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){T(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return j(this,r)}}function j(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
|
2 |
/**
|
3 |
* @package Gravity PDF
|
4 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
5 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
6 |
* @since 5.2
|
7 |
*/r.d(t,"HelpContainer",(function(){return k}));var k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(f,e);var t,r,n,o=E(f);function f(){var e;g(this,f);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return T(P(e=o.call.apply(o,[this].concat(r))),"onHandleHit",(function(e){var t=e.hits.reduce((function(e,t){return d({},e,T({},t.hierarchy.lvl0,[].concat(m(e[t.hierarchy.lvl0]||[]),[[t.hierarchy,t.url,t.content]])))}),{});return a.a.createElement(p,{groups:t})})),e}return t=f,(r=[{key:"render",value:function(){var e=c()("BH4D9OD16A","3f8f81a078907e98ed8d3a5bedc3c61c"),t={search:function(t){if(""!==t[0].params.query)return e.search(t)}},r=Object(i.a)(this.onHandleHit);return a.a.createElement(l.a,{searchClient:t,indexName:"gravitypdf"},a.a.createElement(u.a,{facetFilters:["version:v6"],highlightPreTag:"<mark>",highlightPostTag:"</mark>",attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:5","hierarchy.lvl2:5","hierarchy.lvl3:5","hierarchy.lvl4:5","hierarchy.lvl5:5","hierarchy.lvl6:5","content:5"],snippetEllipsisText:"…"}),a.a.createElement(s.a,{translations:{submitTitle:GFPDF.searchBoxSubmitTitle,resetTitle:GFPDF.searchBoxResetTitle,placeholder:GFPDF.searchBoxPlaceHolderText},autofocus:!0}),a.a.createElement(r,null))}}])&&O(t.prototype,r),n&&O(t,n),f}(n.Component);t.default=k}}]);
|
dist/assets/js/gfpdf-entries.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="/home/runner/work/gravity-pdf/gravity-pdf/tmp/package/6.1.0/dist/",r(r.s=209)}([,,,,function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")()}).call(this,r(84))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(4),o=r(61),i=r(9),u=r(63),c=r(64),f=r(101),a=o("wks"),s=e.Symbol,p=f?s:s&&s.withoutSetter||u;t.exports=function(t){return i(a,t)||(c&&i(s,t)?a[t]=s[t]:a[t]=p("Symbol."+t)),a[t]}},function(t,n,r){var e=r(4),o=r(45).f,i=r(14),u=r(26),c=r(50),f=r(102),a=r(85);t.exports=function(t,n){var r,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(r=d?e:h?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in n){if(l=n[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,s,l,t)}}},function(t,n,r){var e=r(11);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(5);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(10),o=r(76),i=r(8),u=r(51),c=Object.defineProperty;n.f=e?c:function(t,n,r){if(i(t),n=u(n,!0),i(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},,function(t,n,r){var e=r(10),o=r(12),i=r(34);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},,,,,function(t,n,r){"use strict";var e=r(7),o=r(48).find,i=r(86),u=r(33),c=!0,f=u("find");"find"in[]&&Array(1).find((function(){c=!1})),e({target:"Array",proto:!0,forced:c||!f},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(t,n,r){var e=r(59),o=r(22);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(35),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(22);t.exports=function(t){return Object(e(t))}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},,function(t,n,r){var e=r(4),o=r(14),i=r(9),u=r(50),c=r(65),f=r(47),a=f.get,s=f.enforce,p=String(String).split("String");(t.exports=function(t,n,r,c){var f=!!c&&!!c.unsafe,a=!!c&&!!c.enumerable,l=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof n||i(r,"name")||o(r,"name",n),s(r).source=p.join("string"==typeof n?n:"")),t!==e?(f?!l&&t[n]&&(a=!0):delete t[n],a?t[n]=r:o(t,n,r)):a?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||c(this)}))},function(t,n,r){var e=r(104),o=r(4),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t])||i(o[t]):e[t]&&e[t][n]||o[t]&&o[t][n]}},,,,,,function(t,n,r){var e=r(10),o=r(5),i=r(9),u=Object.defineProperty,c={},f=function(t){throw t};t.exports=function(t,n){if(i(c,t))return c[t];n||(n={});var r=[][t],a=!!i(n,"ACCESSORS")&&n.ACCESSORS,s=i(n,0)?n[0]:f,p=i(n,1)?n[1]:void 0;return c[t]=!!r&&!o((function(){if(a&&!e)return!0;var t={length:-1};a?u(t,1,{enumerable:!0,get:f}):t[1]=1,r.call(t,s,p)}))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},,,,,,,,function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n){t.exports={}},function(t,n,r){var e=r(10),o=r(77),i=r(34),u=r(20),c=r(51),f=r(9),a=r(76),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=u(t),n=c(n,!0),a)try{return s(t,n)}catch(t){}if(f(t,n))return i(!o.f.call(t,n),t[n])}},,function(t,n,r){var e,o,i,u=r(114),c=r(4),f=r(11),a=r(14),s=r(9),p=r(52),l=r(44),v=c.WeakMap;if(u){var y=new v,d=y.get,h=y.has,x=y.set;e=function(t,n){return x.call(y,t,n),n},o=function(t){return d.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=p("state");l[b]=!0,e=function(t,n){return a(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!f(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(66),o=r(59),i=r(23),u=r(21),c=r(107),f=[].push,a=function(t){var n=1==t,r=2==t,a=3==t,s=4==t,p=6==t,l=5==t||p;return function(v,y,d,h){for(var x,b,g=i(v),m=o(g),O=e(y,d,3),S=u(m.length),w=0,j=h||c,P=n?j(v,S):r?j(v,0):void 0;S>w;w++)if((l||w in m)&&(b=O(x=m[w],w,g),t))if(n)P[w]=b;else if(b)switch(t){case 3:return!0;case 5:return x;case 6:return w;case 2:f.call(P,x)}else if(s)return!1;return p?-1:a||s?s:P}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6)}},function(t,n){t.exports=!1},function(t,n,r){var e=r(4),o=r(14);t.exports=function(t,n){try{o(e,t,n)}catch(r){e[t]=n}return n}},function(t,n,r){var e=r(11);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(61),o=r(63),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},,,,,,function(t,n,r){var e=r(5),o=r(24),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},,function(t,n,r){var e=r(49),o=r(75);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:e?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(4),o=r(11),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},function(t,n,r){var e=r(5);t.exports=!!Object.getOwnPropertySymbols&&!e((function(){return!String(Symbol())}))},function(t,n,r){var e=r(75),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},function(t,n,r){var e=r(43);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 0:return function(){return t.call(n)};case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(78),o=r(53);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e,o=r(8),i=r(118),u=r(53),c=r(44),f=r(106),a=r(62),s=r(52),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(){try{e=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,n;y=e?function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n}(e):((n=a("iframe")).style.display="none",f.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F);for(var r=u.length;r--;)delete y.prototype[u[r]];return y()};c[p]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(l.prototype=o(t),r=new l,l.prototype=null,r[p]=t):r=y(),void 0===n?r:i(r,n)}},,,,function(t,n,r){var e=r(78),o=r(53).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},,function(t,n,r){var e=r(24);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(4),o=r(50),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(10),o=r(5),i=r(62);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(9),o=r(20),i=r(96).indexOf,u=r(44);t.exports=function(t,n){var r,c=o(t),f=0,a=[];for(r in c)!e(u,r)&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~i(a,r)||a.push(r));return a}},,,,,,function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){var e=r(5),o=/#|\.prototype\./,i=function(t,n){var r=c[u(t)];return r==a||r!=f&&("function"==typeof n?e(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,n,r){var e=r(6),o=r(68),i=r(12),u=e("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},,function(t,n){n.f=Object.getOwnPropertySymbols},,,,,,,,function(t,n,r){var e=r(20),o=r(21),i=r(105),u=function(t){return function(n,r,u){var c,f=e(n),a=o(f.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},,,,,function(t,n,r){var e=r(64);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(9),o=r(103),i=r(45),u=r(12);t.exports=function(t,n){for(var r=o(n),c=u.f,f=i.f,a=0;a<r.length;a++){var s=r[a];e(t,s)||c(t,s,f(n,s))}}},function(t,n,r){var e=r(27),o=r(72),i=r(88),u=r(8);t.exports=e("Reflect","ownKeys")||function(t){var n=o.f(u(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(4);t.exports=e},function(t,n,r){var e=r(35),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(27);t.exports=e("document","documentElement")},function(t,n,r){var e=r(11),o=r(74),i=r(6)("species");t.exports=function(t,n){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)}},,,,,,,function(t,n,r){var e=r(4),o=r(65),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},,,,function(t,n,r){var e=r(10),o=r(12),i=r(8),u=r(67);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),c=e.length,f=0;c>f;)o.f(t,r=e[f++],n[r]);return t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n);var e;r(19);(e=jQuery)((function(){var t=null;e(".gfpdf_form_action_has_submenu > a").on("click",(function(){return"false"===e(this).attr("aria-expanded")?(e(this).parent().addClass("open"),e(this).attr("aria-expanded","true")):(e(this).parent().removeClass("open"),e(this).attr("aria-expanded","false")),!1})).parent().on("mouseover",(function(){clearTimeout(t),e(this).addClass("open").find("> a").attr("aria-expanded","true")})).on("mouseout",(function(){var n=e(this);t=setTimeout((function(){n.removeClass("open").find("> a").attr("aria-expanded","false")}),1e3)}))}))}]);
|
1 |
+
!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="/home/runner/work/gravity-pdf/gravity-pdf/tmp/package/6.2.0/dist/",r(r.s=209)}([,,,,function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")()}).call(this,r(84))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(4),o=r(61),i=r(9),u=r(63),c=r(64),f=r(101),a=o("wks"),s=e.Symbol,p=f?s:s&&s.withoutSetter||u;t.exports=function(t){return i(a,t)||(c&&i(s,t)?a[t]=s[t]:a[t]=p("Symbol."+t)),a[t]}},function(t,n,r){var e=r(4),o=r(45).f,i=r(14),u=r(26),c=r(50),f=r(102),a=r(85);t.exports=function(t,n){var r,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(r=d?e:h?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in n){if(l=n[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,s,l,t)}}},function(t,n,r){var e=r(11);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(5);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(10),o=r(76),i=r(8),u=r(51),c=Object.defineProperty;n.f=e?c:function(t,n,r){if(i(t),n=u(n,!0),i(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},,function(t,n,r){var e=r(10),o=r(12),i=r(34);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},,,,,function(t,n,r){"use strict";var e=r(7),o=r(48).find,i=r(86),u=r(33),c=!0,f=u("find");"find"in[]&&Array(1).find((function(){c=!1})),e({target:"Array",proto:!0,forced:c||!f},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(t,n,r){var e=r(59),o=r(22);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(35),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(22);t.exports=function(t){return Object(e(t))}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},,function(t,n,r){var e=r(4),o=r(14),i=r(9),u=r(50),c=r(65),f=r(47),a=f.get,s=f.enforce,p=String(String).split("String");(t.exports=function(t,n,r,c){var f=!!c&&!!c.unsafe,a=!!c&&!!c.enumerable,l=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof n||i(r,"name")||o(r,"name",n),s(r).source=p.join("string"==typeof n?n:"")),t!==e?(f?!l&&t[n]&&(a=!0):delete t[n],a?t[n]=r:o(t,n,r)):a?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||c(this)}))},function(t,n,r){var e=r(104),o=r(4),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t])||i(o[t]):e[t]&&e[t][n]||o[t]&&o[t][n]}},,,,,,function(t,n,r){var e=r(10),o=r(5),i=r(9),u=Object.defineProperty,c={},f=function(t){throw t};t.exports=function(t,n){if(i(c,t))return c[t];n||(n={});var r=[][t],a=!!i(n,"ACCESSORS")&&n.ACCESSORS,s=i(n,0)?n[0]:f,p=i(n,1)?n[1]:void 0;return c[t]=!!r&&!o((function(){if(a&&!e)return!0;var t={length:-1};a?u(t,1,{enumerable:!0,get:f}):t[1]=1,r.call(t,s,p)}))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},,,,,,,,function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n){t.exports={}},function(t,n,r){var e=r(10),o=r(77),i=r(34),u=r(20),c=r(51),f=r(9),a=r(76),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=u(t),n=c(n,!0),a)try{return s(t,n)}catch(t){}if(f(t,n))return i(!o.f.call(t,n),t[n])}},,function(t,n,r){var e,o,i,u=r(114),c=r(4),f=r(11),a=r(14),s=r(9),p=r(52),l=r(44),v=c.WeakMap;if(u){var y=new v,d=y.get,h=y.has,x=y.set;e=function(t,n){return x.call(y,t,n),n},o=function(t){return d.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=p("state");l[b]=!0,e=function(t,n){return a(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!f(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(66),o=r(59),i=r(23),u=r(21),c=r(107),f=[].push,a=function(t){var n=1==t,r=2==t,a=3==t,s=4==t,p=6==t,l=5==t||p;return function(v,y,d,h){for(var x,b,g=i(v),m=o(g),O=e(y,d,3),S=u(m.length),w=0,j=h||c,P=n?j(v,S):r?j(v,0):void 0;S>w;w++)if((l||w in m)&&(b=O(x=m[w],w,g),t))if(n)P[w]=b;else if(b)switch(t){case 3:return!0;case 5:return x;case 6:return w;case 2:f.call(P,x)}else if(s)return!1;return p?-1:a||s?s:P}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6)}},function(t,n){t.exports=!1},function(t,n,r){var e=r(4),o=r(14);t.exports=function(t,n){try{o(e,t,n)}catch(r){e[t]=n}return n}},function(t,n,r){var e=r(11);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(61),o=r(63),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},,,,,,function(t,n,r){var e=r(5),o=r(24),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},,function(t,n,r){var e=r(49),o=r(75);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:e?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(4),o=r(11),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},function(t,n,r){var e=r(5);t.exports=!!Object.getOwnPropertySymbols&&!e((function(){return!String(Symbol())}))},function(t,n,r){var e=r(75),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},function(t,n,r){var e=r(43);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 0:return function(){return t.call(n)};case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(78),o=r(53);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e,o=r(8),i=r(118),u=r(53),c=r(44),f=r(106),a=r(62),s=r(52),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(){try{e=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,n;y=e?function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n}(e):((n=a("iframe")).style.display="none",f.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F);for(var r=u.length;r--;)delete y.prototype[u[r]];return y()};c[p]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(l.prototype=o(t),r=new l,l.prototype=null,r[p]=t):r=y(),void 0===n?r:i(r,n)}},,,,function(t,n,r){var e=r(78),o=r(53).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},,function(t,n,r){var e=r(24);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(4),o=r(50),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(10),o=r(5),i=r(62);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(9),o=r(20),i=r(96).indexOf,u=r(44);t.exports=function(t,n){var r,c=o(t),f=0,a=[];for(r in c)!e(u,r)&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~i(a,r)||a.push(r));return a}},,,,,,function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){var e=r(5),o=/#|\.prototype\./,i=function(t,n){var r=c[u(t)];return r==a||r!=f&&("function"==typeof n?e(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,n,r){var e=r(6),o=r(68),i=r(12),u=e("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},,function(t,n){n.f=Object.getOwnPropertySymbols},,,,,,,,function(t,n,r){var e=r(20),o=r(21),i=r(105),u=function(t){return function(n,r,u){var c,f=e(n),a=o(f.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},,,,,function(t,n,r){var e=r(64);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(9),o=r(103),i=r(45),u=r(12);t.exports=function(t,n){for(var r=o(n),c=u.f,f=i.f,a=0;a<r.length;a++){var s=r[a];e(t,s)||c(t,s,f(n,s))}}},function(t,n,r){var e=r(27),o=r(72),i=r(88),u=r(8);t.exports=e("Reflect","ownKeys")||function(t){var n=o.f(u(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(4);t.exports=e},function(t,n,r){var e=r(35),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(27);t.exports=e("document","documentElement")},function(t,n,r){var e=r(11),o=r(74),i=r(6)("species");t.exports=function(t,n){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)}},,,,,,,function(t,n,r){var e=r(4),o=r(65),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},,,,function(t,n,r){var e=r(10),o=r(12),i=r(8),u=r(67);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),c=e.length,f=0;c>f;)o.f(t,r=e[f++],n[r]);return t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n);var e;r(19);(e=jQuery)((function(){var t=null;e(".gfpdf_form_action_has_submenu > a").on("click",(function(){return"false"===e(this).attr("aria-expanded")?(e(this).parent().addClass("open"),e(this).attr("aria-expanded","true")):(e(this).parent().removeClass("open"),e(this).attr("aria-expanded","false")),!1})).parent().on("mouseover",(function(){clearTimeout(t),e(this).addClass("open").find("> a").attr("aria-expanded","true")})).on("mouseout",(function(){var n=e(this);t=setTimeout((function(){n.removeClass("open").find("> a").attr("aria-expanded","false")}),1e3)}))}))}]);
|
pdf.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gravity PDF
|
4 |
-
Version: 6.
|
5 |
Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
|
6 |
Author: Gravity PDF
|
7 |
Author URI: https://gravitypdf.com
|
@@ -14,7 +14,7 @@ Requires PHP: 7.3
|
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
-
* @copyright Copyright (c)
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
@@ -26,7 +26,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
26 |
/*
|
27 |
* Set base constants we'll use throughout the plugin
|
28 |
*/
|
29 |
-
define( 'PDF_EXTENDED_VERSION', '6.
|
30 |
define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
|
31 |
define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
|
32 |
define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gravity PDF
|
4 |
+
Version: 6.2.0
|
5 |
Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
|
6 |
Author: Gravity PDF
|
7 |
Author URI: https://gravitypdf.com
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
26 |
/*
|
27 |
* Set base constants we'll use throughout the plugin
|
28 |
*/
|
29 |
+
define( 'PDF_EXTENDED_VERSION', '6.2.0' ); /* the current plugin version */
|
30 |
define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
|
31 |
define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
|
32 |
define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
|
src/Controller/Controller_Actions.php
CHANGED
@@ -15,7 +15,7 @@ use Psr\Log\LoggerInterface;
|
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
-
* @copyright Copyright (c)
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
src/Controller/Controller_Activation.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Controller/Controller_Custom_Fonts.php
CHANGED
@@ -27,7 +27,7 @@ use WP_REST_Server;
|
|
27 |
|
28 |
/**
|
29 |
* @package Gravity PDF
|
30 |
-
* @copyright Copyright (c)
|
31 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
32 |
*/
|
33 |
|
27 |
|
28 |
/**
|
29 |
* @package Gravity PDF
|
30 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
31 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
32 |
*/
|
33 |
|
src/Controller/Controller_Debug.php
CHANGED
@@ -13,7 +13,7 @@ use GFPDF_Vendor\Mpdf\MpdfException;
|
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
src/Controller/Controller_Export_Entries.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Controller;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Controller/Controller_Form_Settings.php
CHANGED
@@ -17,7 +17,7 @@ use GFPDF\View\View_Form_Settings;
|
|
17 |
|
18 |
/**
|
19 |
* @package Gravity PDF
|
20 |
-
* @copyright Copyright (c)
|
21 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
22 |
*/
|
23 |
|
17 |
|
18 |
/**
|
19 |
* @package Gravity PDF
|
20 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
21 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
22 |
*/
|
23 |
|
src/Controller/Controller_Install.php
CHANGED
@@ -17,7 +17,7 @@ use Psr\Log\LoggerInterface;
|
|
17 |
|
18 |
/**
|
19 |
* @package Gravity PDF
|
20 |
-
* @copyright Copyright (c)
|
21 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
22 |
*/
|
23 |
|
17 |
|
18 |
/**
|
19 |
* @package Gravity PDF
|
20 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
21 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
22 |
*/
|
23 |
|
src/Controller/Controller_Mergetags.php
CHANGED
@@ -9,7 +9,7 @@ use GFPDF\Model\Model_Shortcodes;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Controller/Controller_PDF.php
CHANGED
@@ -17,7 +17,7 @@ use SiteGround_Optimizer\Minifier\Minifier;
|
|
17 |
|
18 |
/**
|
19 |
* @package Gravity PDF
|
20 |
-
* @copyright Copyright (c)
|
21 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
22 |
*/
|
23 |
|
17 |
|
18 |
/**
|
19 |
* @package Gravity PDF
|
20 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
21 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
22 |
*/
|
23 |
|
src/Controller/Controller_Pdf_Queue.php
CHANGED
@@ -13,7 +13,7 @@ use Psr\Log\LoggerInterface;
|
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
src/Controller/Controller_Save_Core_Fonts.php
CHANGED
@@ -10,7 +10,7 @@ use Psr\Log\LoggerInterface;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Controller/Controller_Settings.php
CHANGED
@@ -19,7 +19,7 @@ use Psr\Log\LoggerInterface;
|
|
19 |
|
20 |
/**
|
21 |
* @package Gravity PDF
|
22 |
-
* @copyright Copyright (c)
|
23 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
24 |
*/
|
25 |
|
19 |
|
20 |
/**
|
21 |
* @package Gravity PDF
|
22 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
23 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
24 |
*/
|
25 |
|
src/Controller/Controller_Shortcodes.php
CHANGED
@@ -12,7 +12,7 @@ use Psr\Log\LoggerInterface;
|
|
12 |
|
13 |
/**
|
14 |
* @package Gravity PDF
|
15 |
-
* @copyright Copyright (c)
|
16 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
17 |
*/
|
18 |
|
12 |
|
13 |
/**
|
14 |
* @package Gravity PDF
|
15 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
16 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
17 |
*/
|
18 |
|
src/Controller/Controller_System_Report.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\View\View_System_Report;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Controller/Controller_Templates.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF\Helper\Helper_Interface_Actions;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Controller/Controller_Uninstaller.php
CHANGED
@@ -14,7 +14,7 @@ use GFPDF\View\View_Uninstaller;
|
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
-
* @copyright Copyright (c)
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
src/Controller/Controller_Upgrade_Routines.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF\Model\Model_Custom_Fonts;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Controller/Controller_Webhooks.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Controller;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Exceptions/GravityPdfDatabaseUpdateException.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Exceptions;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Exceptions/GravityPdfDomainException.php
CHANGED
@@ -6,7 +6,7 @@ use DomainException;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Exceptions/GravityPdfException.php
CHANGED
@@ -6,7 +6,7 @@ use Exception;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Exceptions/GravityPdfFontNotFoundException.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Exceptions;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Exceptions/GravityPdfIdException.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Exceptions;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Exceptions/GravityPdfModelNotUpdatedException.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Exceptions;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Exceptions/GravityPdfRuntimeException.php
CHANGED
@@ -6,7 +6,7 @@ use RuntimeException;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Exceptions/GravityPdfShortcodeEntryIdException.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Exceptions;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Exceptions/GravityPdfShortcodePdfConditionalLogicFailedException.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Exceptions;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Exceptions/GravityPdfShortcodePdfConfigNotFoundException.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Exceptions;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Exceptions/GravityPdfShortcodePdfInactiveException.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Exceptions;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Fields/Field_Address.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Chainedselect.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Fields/Field_Checkbox.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Fields/Field_Consent.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Coupon.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Creditcard.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Date.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Fields/Field_Default.php
CHANGED
@@ -7,7 +7,7 @@ use GFPDF\Helper\Helper_Abstract_Fields;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/Helper/Fields/Field_Discount.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Field_Products;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_Email.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Fileupload.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Form.php
CHANGED
@@ -14,7 +14,7 @@ use GPDFAPI;
|
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
-
* @copyright Copyright (c)
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
src/Helper/Fields/Field_Hidden.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Html.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Likert.php
CHANGED
@@ -7,7 +7,7 @@ use GFPDF\Helper\Helper_Abstract_Fields;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/Helper/Fields/Field_List.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Multiselect.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Fields/Field_Name.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Number.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
@@ -78,7 +78,7 @@ class Field_Number extends Helper_Abstract_Fields {
|
|
78 |
return $this->cache();
|
79 |
}
|
80 |
|
81 |
-
$value = esc_html( GFCommon::format_number( $this->get_value(), $this->field->numberFormat, $this->entry['currency'] ) );
|
82 |
|
83 |
$this->cache( $value );
|
84 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
78 |
return $this->cache();
|
79 |
}
|
80 |
|
81 |
+
$value = esc_html( GFCommon::format_number( $this->get_value(), $this->field->numberFormat, $this->entry['currency'], apply_filters( 'gform_include_thousands_sep_pre_format_number', false, $this->field ) ) );
|
82 |
|
83 |
$this->cache( $value );
|
84 |
|
src/Helper/Fields/Field_Option.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF\Helper\Helper_Abstract_Field_Products;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Helper/Fields/Field_Phone.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Poll.php
CHANGED
@@ -9,7 +9,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Helper/Fields/Field_Post_Category.php
CHANGED
@@ -9,7 +9,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Helper/Fields/Field_Post_Content.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Post_Custom_Field.php
CHANGED
@@ -9,7 +9,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Helper/Fields/Field_Post_Excerpt.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Post_Image.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Post_Tags.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Post_Title.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Product.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Field_Products;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_Products.php
CHANGED
@@ -8,7 +8,7 @@ use GP_Ecommerce_Fields;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Helper/Fields/Field_Quantity.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Field_Products;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_Quiz.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF\Helper\Helper_QueryPath;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Helper/Fields/Field_Radio.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Fields/Field_Rank.php
CHANGED
@@ -7,7 +7,7 @@ use GFPDF\Helper\Helper_Abstract_Fields;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/Helper/Fields/Field_Rating.php
CHANGED
@@ -7,7 +7,7 @@ use GFPDF\Helper\Helper_Abstract_Fields;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/Helper/Fields/Field_Repeater.php
CHANGED
@@ -14,7 +14,7 @@ use GPDFAPI;
|
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
-
* @copyright Copyright (c)
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
@@ -102,7 +102,10 @@ class Field_Repeater extends Helper_Abstract_Fields {
|
|
102 |
|
103 |
$class = $pdf_model->get_field_class( $sub_field, $this->form, $item, $products );
|
104 |
$form_data = $class->form_data();
|
105 |
-
|
|
|
|
|
|
|
106 |
}
|
107 |
}
|
108 |
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
102 |
|
103 |
$class = $pdf_model->get_field_class( $sub_field, $this->form, $item, $products );
|
104 |
$form_data = $class->form_data();
|
105 |
+
|
106 |
+
if ( isset( $form_data['field'] ) ) {
|
107 |
+
$data = array_replace_recursive( $data, [ $id => $form_data['field'] ] );
|
108 |
+
}
|
109 |
}
|
110 |
}
|
111 |
|
src/Helper/Fields/Field_Section.php
CHANGED
@@ -13,7 +13,7 @@ use GPDFAPI;
|
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
src/Helper/Fields/Field_Select.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Fields/Field_Shipping.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Field_Products;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_Signature.php
CHANGED
@@ -7,7 +7,7 @@ use GFPDF\Helper\Helper_Abstract_Fields;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/Helper/Fields/Field_Slim.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Fields;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_Slim_Post.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Fields;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_Subtotal.php
CHANGED
@@ -7,7 +7,7 @@ use GFPDF\Helper\Helper_Abstract_Field_Products;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/Helper/Fields/Field_Survey.php
CHANGED
@@ -9,7 +9,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Helper/Fields/Field_Tax.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Field_Products;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_Text.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Textarea.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Time.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Tos.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Fields/Field_Total.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Field_Products;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_V3_List.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_Fields;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Fields/Field_V3_Products.php
CHANGED
@@ -7,7 +7,7 @@ use GFPDF_Vendor\QueryPath\Exception;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/Helper/Fields/Field_V3_Section.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper\Fields;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Fields/Field_Website.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF\Helper\Helper_Misc;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Fonts/FlushCache.php
CHANGED
@@ -8,7 +8,7 @@ use GPDFAPI;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Helper/Fonts/LocalFile.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF_Vendor\Upload\File;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Helper/Fonts/LocalFilesystem.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF_Vendor\Upload\Storage\FileSystem;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Helper/Fonts/SupportsOtl.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF_Vendor\Mpdf\TTFontFile;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Fonts/TtfFontValidation.php
CHANGED
@@ -13,7 +13,7 @@ use GFPDF_Vendor\Upload\Validation\Base;
|
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
src/Helper/Helper_Abstract_Addon.php
CHANGED
@@ -6,7 +6,7 @@ use Psr\Log\LoggerInterface;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Helper_Abstract_Config_Settings.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Abstract_Controller.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Abstract_Field_Products.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Fields\Field_Products;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Helper_Abstract_Fields.php
CHANGED
@@ -10,7 +10,7 @@ use GFFormsModel;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Helper/Helper_Abstract_Form.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Abstract_Model.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Abstract_Options.php
CHANGED
@@ -9,7 +9,7 @@ use WP_Error;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Helper/Helper_Abstract_Pdf_Shortcode.php
CHANGED
@@ -12,7 +12,7 @@ use Psr\Log\LoggerInterface;
|
|
12 |
|
13 |
/**
|
14 |
* @package Gravity PDF
|
15 |
-
* @copyright Copyright (c)
|
16 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
17 |
*/
|
18 |
|
12 |
|
13 |
/**
|
14 |
* @package Gravity PDF
|
15 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
16 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
17 |
*/
|
18 |
|
src/Helper/Helper_Abstract_View.php
CHANGED
@@ -6,7 +6,7 @@ use WP_Error;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Helper_Data.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Field_Container.php
CHANGED
@@ -6,7 +6,7 @@ use GF_Field;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Helper_Field_Container_Gf25.php
CHANGED
@@ -6,7 +6,7 @@ use GF_Field;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Helper_Field_Container_Void.php
CHANGED
@@ -6,7 +6,7 @@ use GF_Field;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Helper_Form.php
CHANGED
@@ -9,7 +9,7 @@ use WP_Error;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Helper/Helper_Interface_Actions.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Interface_Config.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Interface_Config_Settings.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Interface_Extension_Settings.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Interface_Filters.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Interface_Setup_TearDown.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Interface_Url_Signer.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_Logger.php
CHANGED
@@ -15,7 +15,7 @@ use Psr\Log\LoggerInterface;
|
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
-
* @copyright Copyright (c)
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
src/Helper/Helper_Misc.php
CHANGED
@@ -13,7 +13,7 @@ use WP_Error;
|
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
@@ -357,6 +357,8 @@ class Helper_Misc {
|
|
357 |
*/
|
358 |
public function rmdir( $dir ) {
|
359 |
|
|
|
|
|
360 |
try {
|
361 |
$files = new RecursiveIteratorIterator(
|
362 |
new RecursiveDirectoryIterator( $dir, RecursiveDirectoryIterator::SKIP_DOTS ),
|
@@ -368,6 +370,8 @@ class Helper_Misc {
|
|
368 |
if ( ! $function( $fileinfo->getRealPath() ) ) {
|
369 |
throw new Exception( 'Could not run ' . $function . ' on ' . $fileinfo->getRealPath() );
|
370 |
}
|
|
|
|
|
371 |
}
|
372 |
} catch ( Exception $e ) {
|
373 |
$this->log->error(
|
@@ -381,7 +385,14 @@ class Helper_Misc {
|
|
381 |
return new WP_Error( 'recursion_delete_problem', $e );
|
382 |
}
|
383 |
|
384 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
}
|
386 |
|
387 |
/**
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
357 |
*/
|
358 |
public function rmdir( $dir ) {
|
359 |
|
360 |
+
$this->log->notice( sprintf( 'Begin deleting directory recursively: %s', $dir ) );
|
361 |
+
|
362 |
try {
|
363 |
$files = new RecursiveIteratorIterator(
|
364 |
new RecursiveDirectoryIterator( $dir, RecursiveDirectoryIterator::SKIP_DOTS ),
|
370 |
if ( ! $function( $fileinfo->getRealPath() ) ) {
|
371 |
throw new Exception( 'Could not run ' . $function . ' on ' . $fileinfo->getRealPath() );
|
372 |
}
|
373 |
+
|
374 |
+
$this->log->notice( sprintf( 'Successfully ran `%s` on %s', $function, $fileinfo->getRealPath() ) );
|
375 |
}
|
376 |
} catch ( Exception $e ) {
|
377 |
$this->log->error(
|
385 |
return new WP_Error( 'recursion_delete_problem', $e );
|
386 |
}
|
387 |
|
388 |
+
$results = rmdir( $dir );
|
389 |
+
if ( ! $results ) {
|
390 |
+
$this->log->error( sprintf( 'Could not delete the top-level directory: %s', $dir ) );
|
391 |
+
}
|
392 |
+
|
393 |
+
$this->log->notice( sprintf( 'End deleting directory recursively: %s', $dir ) );
|
394 |
+
|
395 |
+
return $results;
|
396 |
}
|
397 |
|
398 |
/**
|
src/Helper/Helper_Mpdf.php
CHANGED
@@ -11,7 +11,7 @@ use GFPDF_Vendor\setasign\Fpdi\PdfParser\Type\PdfTypeException;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Helper_Notices.php
CHANGED
@@ -7,7 +7,7 @@ use GFForms;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/Helper/Helper_Options_Fields.php
CHANGED
@@ -4,7 +4,7 @@ namespace GFPDF\Helper;
|
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
4 |
|
5 |
/**
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
*/
|
10 |
|
src/Helper/Helper_PDF.php
CHANGED
@@ -11,7 +11,7 @@ use Psr\Log\LoggerInterface;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Helper/Helper_PDF_List_Table.php
CHANGED
@@ -6,7 +6,7 @@ use WP_List_Table;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
@@ -172,8 +172,9 @@ class Helper_PDF_List_Table extends WP_List_Table {
|
|
172 |
*/
|
173 |
public function single_row( $item ) {
|
174 |
static $row_class = '';
|
|
|
175 |
|
176 |
-
$row_class = ( $row_class === '' ? 'class
|
177 |
|
178 |
echo '<tr id="gfpdf-' . $item['id'] . '" ' . $row_class . '>';
|
179 |
$this->single_row_columns( $item );
|
@@ -291,14 +292,32 @@ class Helper_PDF_List_Table extends WP_List_Table {
|
|
291 |
$aria_label = sprintf( __( 'Copy the %s PDF shortcode to the clipboard', 'gravity-forms-pdf-extended' ), $item['name'] );
|
292 |
|
293 |
ob_start();
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
<div class="gpdf-fallback-input">
|
301 |
-
<input type="text" id="<?= $pdf_id ?>" value="<?= esc_attr( $shortcode ) ?>"
|
|
|
302 |
</div>
|
303 |
|
304 |
<?php
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
172 |
*/
|
173 |
public function single_row( $item ) {
|
174 |
static $row_class = '';
|
175 |
+
$class = version_compare( '2.6-rc-1', \GFCommon::$version, '>=' ) ? 'gf-locking' : 'alternate';
|
176 |
|
177 |
+
$row_class = ( $row_class === '' ? "class='$class'" : $row_class );
|
178 |
|
179 |
echo '<tr id="gfpdf-' . $item['id'] . '" ' . $row_class . '>';
|
180 |
$this->single_row_columns( $item );
|
292 |
$aria_label = sprintf( __( 'Copy the %s PDF shortcode to the clipboard', 'gravity-forms-pdf-extended' ), $item['name'] );
|
293 |
|
294 |
ob_start();
|
295 |
+
/* If the current GF version is 2.6 or higher, use the new updated UI for the shortcode button or else use the pre GF 2.5 version. */
|
296 |
+
if ( version_compare( '2.6-rc-1', \GFCommon::$version, '<=' ) ):
|
297 |
+
?>
|
298 |
+
<button type="button"
|
299 |
+
class="gform-button gform-button--size-r gform-button--white gform-button--icon-leading gform-embed-form__shortcode-trigger btn-shortcode"
|
300 |
+
data-clipboard-text="<?= esc_attr( $shortcode ) ?>" aria-label="<?= esc_attr( $aria_label ) ?>"
|
301 |
+
role="dialog" aria-live="polite">
|
302 |
+
<i class="gform-button__icon gform-icon gform-icon--copy"></i>
|
303 |
+
<span class="gform-embed-form__shortcode-copy-label"
|
304 |
+
aria-hidden="false"><?= esc_attr__( 'Copy', 'gravity-forms-pdf-extended' ) ?></span>
|
305 |
+
<span class="gform-embed-form__shortcode-copy-copied" aria-hidden="true">
|
306 |
+
<i class="gform-embed-form__shortcode-copy-icon gform-icon gform-icon--circle-check-alt"></i>
|
307 |
+
<?= esc_attr__( 'Copied', 'gravity-forms-pdf-extended' ) ?>
|
308 |
+
</span>
|
309 |
+
</button>
|
310 |
+
<?php else : ?>
|
311 |
+
<button data-selected-text="<?= esc_attr__( 'Shortcode copied!', 'gravity-forms-pdf-extended' ) ?>"
|
312 |
+
type="button" class="gform-status-indicator btn-shortcode gf_2_5 "
|
313 |
+
data-clipboard-text="<?= esc_attr( $shortcode ) ?>" aria-label="<?= esc_attr( $aria_label ) ?>"
|
314 |
+
role="status" aria-live="polite">
|
315 |
+
<?= esc_html__( 'Copy Shortcode', 'gravity-forms-pdf-extended' ) ?>
|
316 |
+
</button>
|
317 |
+
<?php endif; ?>
|
318 |
<div class="gpdf-fallback-input">
|
319 |
+
<input type="text" id="<?= $pdf_id ?>" value="<?= esc_attr( $shortcode ) ?>"
|
320 |
+
aria-label="<?= esc_attr( $aria_label ) ?>" />
|
321 |
</div>
|
322 |
|
323 |
<?php
|
src/Helper/Helper_Pdf_Queue.php
CHANGED
@@ -9,7 +9,7 @@ use Psr\Log\LoggerInterface;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
@@ -85,6 +85,12 @@ class Helper_Pdf_Queue extends GF_Background_Process {
|
|
85 |
public function task( $callbacks ) {
|
86 |
$callback = array_shift( $callbacks );
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
$this->log->notice(
|
89 |
sprintf(
|
90 |
'Begin async PDF task for %s',
|
@@ -92,47 +98,57 @@ class Helper_Pdf_Queue extends GF_Background_Process {
|
|
92 |
)
|
93 |
);
|
94 |
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
$this->log->error(
|
104 |
sprintf(
|
105 |
-
'Async PDF task
|
106 |
$callback['id']
|
107 |
-
)
|
108 |
-
[
|
109 |
-
'args' => ( isset( $callback['args'] ) ) ? $callback['args'] : [],
|
110 |
-
'exception' => $e->getMessage(),
|
111 |
-
]
|
112 |
);
|
113 |
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
sprintf(
|
121 |
-
'Async PDF task retry limit reached for %s.',
|
122 |
-
$callback['id']
|
123 |
-
)
|
124 |
);
|
125 |
|
126 |
-
|
127 |
-
$this->log->critical(
|
128 |
-
'Cancel async queue due to retry limit reached on unrecoverable callback.',
|
129 |
-
[
|
130 |
-
'callbacks' => $callbacks,
|
131 |
-
]
|
132 |
-
);
|
133 |
-
|
134 |
-
$callbacks = [];
|
135 |
-
}
|
136 |
}
|
137 |
}
|
138 |
}
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
85 |
public function task( $callbacks ) {
|
86 |
$callback = array_shift( $callbacks );
|
87 |
|
88 |
+
/* Something went wrong so cancel queue */
|
89 |
+
if ( ! isset( $callback['id'], $callback['func'] ) ) {
|
90 |
+
$this->log->critical( 'PDF queue ran with invalid queue item', [ 'callbacks' => $callbacks ] );
|
91 |
+
return false;
|
92 |
+
}
|
93 |
+
|
94 |
$this->log->notice(
|
95 |
sprintf(
|
96 |
'Begin async PDF task for %s',
|
98 |
)
|
99 |
);
|
100 |
|
101 |
+
/* Something went wrong so cancel queue */
|
102 |
+
if ( ! is_callable( $callback['func'] ) ) {
|
103 |
+
$this->log->critical(
|
104 |
+
'PDF queue ran with invalid callback',
|
105 |
+
[
|
106 |
+
'callback' => $callback,
|
107 |
+
'callbacks' => $callbacks,
|
108 |
+
]
|
109 |
+
);
|
110 |
+
return false;
|
111 |
+
}
|
112 |
|
113 |
+
try {
|
114 |
+
/* Call our use function and pass in any arguments */
|
115 |
+
$args = ( isset( $callback['args'] ) && is_array( $callback['args'] ) ) ? $callback['args'] : [];
|
116 |
+
call_user_func_array( $callback['func'], $args );
|
117 |
+
} catch ( Exception $e ) {
|
118 |
+
|
119 |
+
/* Log Error */
|
120 |
+
$this->log->error(
|
121 |
+
sprintf(
|
122 |
+
'Async PDF task error for %s',
|
123 |
+
$callback['id']
|
124 |
+
),
|
125 |
+
[
|
126 |
+
'args' => ( isset( $callback['args'] ) ) ? $callback['args'] : [],
|
127 |
+
'exception' => $e->getMessage(),
|
128 |
+
]
|
129 |
+
);
|
130 |
+
|
131 |
+
/* Add back to our queue to retry (up to a grand total of three times) */
|
132 |
+
if ( empty( $callback['retry'] ) || $callback['retry'] < 2 ) {
|
133 |
+
$callback['retry'] = isset( $callback['retry'] ) ? $callback['retry'] + 1 : 1;
|
134 |
+
array_unshift( $callbacks, $callback );
|
135 |
+
} else {
|
136 |
$this->log->error(
|
137 |
sprintf(
|
138 |
+
'Async PDF task retry limit reached for %s.',
|
139 |
$callback['id']
|
140 |
+
)
|
|
|
|
|
|
|
|
|
141 |
);
|
142 |
|
143 |
+
if ( $callback['unrecoverable'] ?? false ) {
|
144 |
+
$this->log->critical(
|
145 |
+
'Cancel async queue due to retry limit reached on unrecoverable callback.',
|
146 |
+
[
|
147 |
+
'callbacks' => $callbacks,
|
148 |
+
]
|
|
|
|
|
|
|
|
|
149 |
);
|
150 |
|
151 |
+
$callbacks = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
}
|
153 |
}
|
154 |
}
|
src/Helper/Helper_QueryPath.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF_Vendor\QueryPath\DOMQuery;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/Helper/Helper_Sha256_Url_Signer.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF_Vendor\Spatie\UrlSigner\BaseUrlSigner;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Helper_Singleton.php
CHANGED
@@ -12,7 +12,7 @@ namespace GFPDF\Helper;
|
|
12 |
|
13 |
/**
|
14 |
* @package Gravity PDF
|
15 |
-
* @copyright Copyright (c)
|
16 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
17 |
*/
|
18 |
|
12 |
|
13 |
/**
|
14 |
* @package Gravity PDF
|
15 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
16 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
17 |
*/
|
18 |
|
src/Helper/Helper_Templates.php
CHANGED
@@ -9,7 +9,7 @@ use stdClass;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Helper/Helper_Trait_Logger.php
CHANGED
@@ -6,7 +6,7 @@ use Psr\Log\LoggerInterface;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/Helper/Helper_Url_Signer.php
CHANGED
@@ -9,7 +9,7 @@ use GPDFAPI;
|
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
-
* @copyright Copyright (c)
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
9 |
|
10 |
/**
|
11 |
* @package Gravity PDF
|
12 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
13 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
14 |
*/
|
15 |
|
src/Model/Model_Actions.php
CHANGED
@@ -11,7 +11,7 @@ use GPDFAPI;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Model/Model_Custom_Fonts.php
CHANGED
@@ -10,7 +10,7 @@ use GFPDF\Helper\Helper_Abstract_Options;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
src/Model/Model_Form_Settings.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
namespace GFPDF\Model;
|
4 |
|
5 |
use GFFormsModel;
|
|
|
6 |
use GFPDF\Helper\Helper_Abstract_Form;
|
7 |
use GFPDF\Helper\Helper_Abstract_Model;
|
8 |
use GFPDF\Helper\Helper_Abstract_Options;
|
@@ -19,7 +20,7 @@ use Psr\Log\LoggerInterface;
|
|
19 |
|
20 |
/**
|
21 |
* @package Gravity PDF
|
22 |
-
* @copyright Copyright (c)
|
23 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
24 |
*/
|
25 |
|
@@ -222,6 +223,12 @@ class Model_Form_Settings extends Helper_Abstract_Model {
|
|
222 |
}
|
223 |
}
|
224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
$entry_meta = GFFormsModel::get_entry_meta( $form_id );
|
226 |
$entry_meta = apply_filters( 'gform_entry_meta_conditional_logic_confirmations', $entry_meta, $form, '' );
|
227 |
|
@@ -253,6 +260,7 @@ class Model_Form_Settings extends Helper_Abstract_Model {
|
|
253 |
'form' => $form,
|
254 |
'entry_meta' => $entry_meta,
|
255 |
'pdf' => $pdf,
|
|
|
256 |
]
|
257 |
);
|
258 |
}
|
3 |
namespace GFPDF\Model;
|
4 |
|
5 |
use GFFormsModel;
|
6 |
+
use GFCommon;
|
7 |
use GFPDF\Helper\Helper_Abstract_Form;
|
8 |
use GFPDF\Helper\Helper_Abstract_Model;
|
9 |
use GFPDF\Helper\Helper_Abstract_Options;
|
20 |
|
21 |
/**
|
22 |
* @package Gravity PDF
|
23 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
24 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
25 |
*/
|
26 |
|
223 |
}
|
224 |
}
|
225 |
|
226 |
+
/* add custom classes to form */
|
227 |
+
$form_classes = '';
|
228 |
+
if ( version_compare( '2.6-rc-1', GFCommon::$version, '>=' ) ) {
|
229 |
+
$form_classes .= 'gfpdf-gf-2-6';
|
230 |
+
}
|
231 |
+
|
232 |
$entry_meta = GFFormsModel::get_entry_meta( $form_id );
|
233 |
$entry_meta = apply_filters( 'gform_entry_meta_conditional_logic_confirmations', $entry_meta, $form, '' );
|
234 |
|
260 |
'form' => $form,
|
261 |
'entry_meta' => $entry_meta,
|
262 |
'pdf' => $pdf,
|
263 |
+
'form_classes' => $form_classes,
|
264 |
]
|
265 |
);
|
266 |
}
|
src/Model/Model_Install.php
CHANGED
@@ -14,7 +14,7 @@ use Psr\Log\LoggerInterface;
|
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
-
* @copyright Copyright (c)
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
src/Model/Model_Mergetags.php
CHANGED
@@ -11,7 +11,7 @@ use Psr\Log\LoggerInterface;
|
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
-
* @copyright Copyright (c)
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
11 |
|
12 |
/**
|
13 |
* @package Gravity PDF
|
14 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
15 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
16 |
*/
|
17 |
|
src/Model/Model_PDF.php
CHANGED
@@ -33,7 +33,7 @@ use WP_Error;
|
|
33 |
|
34 |
/**
|
35 |
* @package Gravity PDF
|
36 |
-
* @copyright Copyright (c)
|
37 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
38 |
*/
|
39 |
|
33 |
|
34 |
/**
|
35 |
* @package Gravity PDF
|
36 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
37 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
38 |
*/
|
39 |
|
src/Model/Model_Settings.php
CHANGED
@@ -16,7 +16,7 @@ use Psr\Log\LoggerInterface;
|
|
16 |
|
17 |
/**
|
18 |
* @package Gravity PDF
|
19 |
-
* @copyright Copyright (c)
|
20 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
21 |
*/
|
22 |
|
16 |
|
17 |
/**
|
18 |
* @package Gravity PDF
|
19 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
20 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
21 |
*/
|
22 |
|
src/Model/Model_Shortcodes.php
CHANGED
@@ -12,7 +12,7 @@ use GPDFAPI;
|
|
12 |
|
13 |
/**
|
14 |
* @package Gravity PDF
|
15 |
-
* @copyright Copyright (c)
|
16 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
17 |
*/
|
18 |
|
12 |
|
13 |
/**
|
14 |
* @package Gravity PDF
|
15 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
16 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
17 |
*/
|
18 |
|
src/Model/Model_System_Report.php
CHANGED
@@ -14,7 +14,7 @@ use Psr\Log\LoggerInterface;
|
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
-
* @copyright Copyright (c)
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
14 |
|
15 |
/**
|
16 |
* @package Gravity PDF
|
17 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
src/Model/Model_Templates.php
CHANGED
@@ -17,7 +17,7 @@ use Psr\Log\LoggerInterface;
|
|
17 |
|
18 |
/**
|
19 |
* @package Gravity PDF
|
20 |
-
* @copyright Copyright (c)
|
21 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
22 |
*/
|
23 |
|
17 |
|
18 |
/**
|
19 |
* @package Gravity PDF
|
20 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
21 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
22 |
*/
|
23 |
|
src/Model/Model_Uninstall.php
CHANGED
@@ -13,7 +13,7 @@ use Psr\Log\LoggerInterface;
|
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
src/Statics/Queue_Callbacks.php
CHANGED
@@ -10,7 +10,7 @@ use GPDFAPI;
|
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
-
* @copyright Copyright (c)
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
@@ -53,6 +53,8 @@ class Queue_Callbacks {
|
|
53 |
|
54 |
throw new Exception();
|
55 |
}
|
|
|
|
|
56 |
}
|
57 |
|
58 |
/**
|
10 |
|
11 |
/**
|
12 |
* @package Gravity PDF
|
13 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
14 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
15 |
*/
|
16 |
|
53 |
|
54 |
throw new Exception();
|
55 |
}
|
56 |
+
|
57 |
+
$log->notice( sprintf( 'PDF successfully generated and saved to %s', $results ) );
|
58 |
}
|
59 |
|
60 |
/**
|
src/View/View_Actions.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_View;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/View/View_Form_Settings.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_View;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/View/View_GravityForm_Settings_Markup.php
CHANGED
@@ -7,7 +7,7 @@ use WP_Error;
|
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
-
* @copyright Copyright (c)
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
7 |
|
8 |
/**
|
9 |
* @package Gravity PDF
|
10 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
11 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
12 |
*/
|
13 |
|
src/View/View_PDF.php
CHANGED
@@ -25,7 +25,7 @@ use WP_Error;
|
|
25 |
|
26 |
/**
|
27 |
* @package Gravity PDF
|
28 |
-
* @copyright Copyright (c)
|
29 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
30 |
*/
|
31 |
|
25 |
|
26 |
/**
|
27 |
* @package Gravity PDF
|
28 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
29 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
30 |
*/
|
31 |
|
src/View/View_Settings.php
CHANGED
@@ -15,7 +15,7 @@ use Psr\Log\LoggerInterface;
|
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
-
* @copyright Copyright (c)
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
src/View/View_Shortcodes.php
CHANGED
@@ -6,7 +6,7 @@ use GFPDF\Helper\Helper_Abstract_View;
|
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
-
* @copyright Copyright (c)
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
6 |
|
7 |
/**
|
8 |
* @package Gravity PDF
|
9 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
10 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
11 |
*/
|
12 |
|
src/View/View_System_Report.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF\Helper\Helper_Abstract_View;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/View/View_Uninstaller.php
CHANGED
@@ -8,7 +8,7 @@ use GFPDF\Helper\Helper_Abstract_View;
|
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
-
* @copyright Copyright (c)
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
8 |
|
9 |
/**
|
10 |
* @package Gravity PDF
|
11 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
12 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
13 |
*/
|
14 |
|
src/View/html/Actions/action_buttons.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The Dismissal Button
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* The Dismissal Button
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Actions/core_font.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The Review Plugin Notice
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* The Review Plugin Notice
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/FormSettings/add_edit.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The Add/Edit Form Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
@@ -17,7 +17,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
17 |
/** @var $args array */
|
18 |
|
19 |
global $wp_settings_fields;
|
20 |
-
|
21 |
?>
|
22 |
|
23 |
<!-- Merge tag functionality requires a global form object -->
|
@@ -34,7 +33,8 @@ global $wp_settings_fields;
|
|
34 |
<?php GFFormSettings::page_header( $args['title'] ); ?>
|
35 |
|
36 |
<!-- Prevent Firefox auto-filling fields on refresh. @see https://stackoverflow.com/a/44504822/1614565 -->
|
37 |
-
<form name="gfpdf-settings-form-<?= rand() ?>" method="post" id="gfpdf_pdf_form"
|
|
|
38 |
|
39 |
<?php wp_nonce_field( 'gfpdf_save_pdf', 'gfpdf_save_pdf' ); ?>
|
40 |
|
4 |
* The Add/Edit Form Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
17 |
/** @var $args array */
|
18 |
|
19 |
global $wp_settings_fields;
|
|
|
20 |
?>
|
21 |
|
22 |
<!-- Merge tag functionality requires a global form object -->
|
33 |
<?php GFFormSettings::page_header( $args['title'] ); ?>
|
34 |
|
35 |
<!-- Prevent Firefox auto-filling fields on refresh. @see https://stackoverflow.com/a/44504822/1614565 -->
|
36 |
+
<form name="gfpdf-settings-form-<?= rand() ?>" method="post" id="gfpdf_pdf_form"
|
37 |
+
class="gform_settings_form <?= $args['form_classes'] ?>">
|
38 |
|
39 |
<?php wp_nonce_field( 'gfpdf_save_pdf', 'gfpdf_save_pdf' ); ?>
|
40 |
|
src/View/html/FormSettings/list.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* List of Form Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* List of Form Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/GravityForms/fieldset.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package Gravity PDF
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
7 |
* @since 6.0
|
8 |
*/
|
2 |
|
3 |
/**
|
4 |
* @package Gravity PDF
|
5 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
6 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
7 |
* @since 6.0
|
8 |
*/
|
src/View/html/GravityForms/settings_field.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package Gravity PDF
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
7 |
* @since 6.0
|
8 |
*/
|
2 |
|
3 |
/**
|
4 |
* @package Gravity PDF
|
5 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
6 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
7 |
* @since 6.0
|
8 |
*/
|
src/View/html/PDF/core_template_styles.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The styles needed to display our core PDF styles like header, footer, font and colour
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* The styles needed to display our core PDF styles like header, footer, font and colour
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/PDF/entry_detailed_pdf.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The "View PDF" link for the entry list page
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* The "View PDF" link for the entry list page
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/PDF/entry_list_pdf_multiple.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The "View PDF" link for the entry list page
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
@@ -24,17 +24,19 @@ $parent_link_text = $download ? esc_html__( 'Download PDFs', 'gravity-forms-pdf-
|
|
24 |
<div class="gfpdf_form_action_has_submenu">
|
25 |
| <a href="#" aria-haspopup="true" aria-expanded="false"><?= $parent_link_text ?></a>
|
26 |
<div class="gform-form-toolbar__submenu">
|
27 |
-
<
|
28 |
-
|
29 |
-
|
30 |
-
<
|
31 |
-
<?=
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
39 |
</div>
|
40 |
</div>
|
4 |
* The "View PDF" link for the entry list page
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
24 |
<div class="gfpdf_form_action_has_submenu">
|
25 |
| <a href="#" aria-haspopup="true" aria-expanded="false"><?= $parent_link_text ?></a>
|
26 |
<div class="gform-form-toolbar__submenu">
|
27 |
+
<div data-simplebar>
|
28 |
+
<ul>
|
29 |
+
<?php foreach ( $args['pdfs'] as $pdf ): ?>
|
30 |
+
<li>
|
31 |
+
<a href="<?= $download ? esc_url( $pdf['download'] ) : esc_url( $pdf['view'] ); ?>"
|
32 |
+
<?= ! $download ? 'target="_blank"' : ''; ?>
|
33 |
+
data-label="<?= esc_attr( $pdf['name'] ) ?>"
|
34 |
+
>
|
35 |
+
<?= esc_html( $pdf['name'] ); ?>
|
36 |
+
</a>
|
37 |
+
</li>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</ul>
|
40 |
+
</div>
|
41 |
</div>
|
42 |
</div>
|
src/View/html/PDF/entry_list_pdf_single.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The "View PDF" link for the entry list page
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* The "View PDF" link for the entry list page
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/PDF/entry_no_valid_pdf.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Shows a warning message when all the PDF conditional logic doesn't pass for the current entry
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 6.0
|
10 |
*/
|
4 |
* Shows a warning message when all the PDF conditional logic doesn't pass for the current entry
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 6.0
|
10 |
*/
|
src/View/html/PDF/form_title.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The HTML mark-up needed to display our core PDF title
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* The HTML mark-up needed to display our core PDF title
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/PDF/page_title.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The HTML mark-up to display our core PDF page
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* The HTML mark-up to display our core PDF page
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Settings/extensions.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Extensions Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* Extensions Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Settings/general.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* General Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* General Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Settings/help.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Help Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* Help Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Settings/licence-info.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* License Info
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.2
|
10 |
*/
|
4 |
* License Info
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.2
|
10 |
*/
|
src/View/html/Settings/licence.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* License Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.2
|
10 |
*/
|
4 |
* License Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.2
|
10 |
*/
|
src/View/html/Settings/tabs.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Navigation Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* Navigation Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Settings/tools.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Tools Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* Tools Settings View
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Shortcodes/conditional_logic_not_met.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* PDF Conditional Logic not met
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* PDF Conditional Logic not met
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Shortcodes/gravitypdf.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* The [gravitypdf] shortcode output
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* The [gravitypdf] shortcode output
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Shortcodes/invalid_pdf_config.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* No Entry ID for Shortcode
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* No Entry ID for Shortcode
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Shortcodes/no_entry_id.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* No Entry ID for Shortcode
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* No Entry ID for Shortcode
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Shortcodes/pdf_not_active.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* PDF is not active.
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
-
* @copyright Copyright (c)
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
4 |
* PDF is not active.
|
5 |
*
|
6 |
* @package Gravity PDF
|
7 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
* @since 4.0
|
10 |
*/
|
src/View/html/Uninstaller/uninstall_button.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package Gravity PDF
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
7 |
* @since 6.0
|
8 |
*/
|
2 |
|
3 |
/**
|
4 |
* @package Gravity PDF
|
5 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
6 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
7 |
* @since 6.0
|
8 |
*/
|
src/assets/languages/gravity-forms-pdf-extended.pot
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Gravity PDF package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
@@ -6,6 +6,10 @@ msgstr ""
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
|
|
|
|
9 |
"X-Poedit-Basepath: ..\n"
|
10 |
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
11 |
"X-Poedit-SearchPath-0: .\n"
|
@@ -137,7 +141,7 @@ msgstr ""
|
|
137 |
msgid "Install Core Fonts"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: ../../Controller/Controller_Actions.php:207, ../../Model/Model_Form_Settings.php:
|
141 |
msgid "You do not have permission to access this page"
|
142 |
msgstr ""
|
143 |
|
@@ -445,7 +449,7 @@ msgstr ""
|
|
445 |
msgid "Could not find Gravity PDF Font"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: ../../Helper/Helper_Abstract_Options.php:1068
|
449 |
msgid "Copy"
|
450 |
msgstr ""
|
451 |
|
@@ -581,15 +585,15 @@ msgstr ""
|
|
581 |
msgid "Cancel"
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: ../../Helper/Helper_Data.php:232, ../../Helper/Helper_PDF_List_Table.php:
|
585 |
msgid "Delete"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: ../../Helper/Helper_Data.php:233, ../../Helper/Helper_PDF_List_Table.php:
|
589 |
msgid "Active"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: ../../Helper/Helper_Data.php:234, ../../Helper/Helper_PDF_List_Table.php:
|
593 |
msgid "Inactive"
|
594 |
msgstr ""
|
595 |
|
@@ -1369,51 +1373,55 @@ msgstr ""
|
|
1369 |
msgid "PDF List"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1373 |
msgid "None"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1377 |
msgid "Download PDF"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1381 |
msgid "Copy the %s PDF shortcode to the clipboard"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1385 |
msgid "Shortcode copied!"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1389 |
msgid "Copy Shortcode"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
|
|
|
|
|
|
|
|
1393 |
msgid "Edit this PDF"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1397 |
msgid "Edit"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1401 |
msgid "Duplicate this PDF"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1405 |
msgid "Duplicate"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1409 |
msgid "Delete this PDF"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1413 |
msgid "%s PDF"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
-
#: ../../Helper/Helper_PDF_List_Table.php:
|
1417 |
msgid "This form doesn't have any PDFs. Let's go %1$screate one%2$s."
|
1418 |
msgstr ""
|
1419 |
|
@@ -1425,31 +1433,31 @@ msgstr ""
|
|
1425 |
msgid "Legacy"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#: ../../Model/Model_Form_Settings.php:
|
1429 |
msgid "Update PDF"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#: ../../Model/Model_Form_Settings.php:
|
1433 |
msgid "Add PDF"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: ../../Model/Model_Form_Settings.php:
|
1437 |
msgid "There was a problem saving your PDF settings. Please try again."
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#: ../../Model/Model_Form_Settings.php:
|
1441 |
msgid "PDF could not be saved. Please enter all required information below."
|
1442 |
msgstr ""
|
1443 |
|
1444 |
-
#: ../../Model/Model_Form_Settings.php:
|
1445 |
msgid "PDF saved successfully. %1$sBack to PDF list.%2$s"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#: ../../Model/Model_Form_Settings.php:
|
1449 |
msgid "PDF successfully deleted."
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#: ../../Model/Model_Form_Settings.php:
|
1453 |
msgid "PDF successfully duplicated."
|
1454 |
msgstr ""
|
1455 |
|
1 |
+
# Copyright (C) 2022 Gravity PDF
|
2 |
# This file is distributed under the same license as the Gravity PDF package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Content-Transfer-Econdig: 8bit\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Project-Id-Version: Gravity PDF\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
141 |
msgid "Install Core Fonts"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: ../../Controller/Controller_Actions.php:207, ../../Model/Model_Form_Settings.php:171, ../../Model/Model_Form_Settings.php:208, ../../Model/Model_Form_Settings.php:321, ../../View/View_Settings.php:361
|
145 |
msgid "You do not have permission to access this page"
|
146 |
msgstr ""
|
147 |
|
449 |
msgid "Could not find Gravity PDF Font"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: ../../Helper/Helper_Abstract_Options.php:1068, ../../Helper/Helper_PDF_List_Table.php:304
|
453 |
msgid "Copy"
|
454 |
msgstr ""
|
455 |
|
585 |
msgid "Cancel"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: ../../Helper/Helper_Data.php:232, ../../Helper/Helper_PDF_List_Table.php:370
|
589 |
msgid "Delete"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: ../../Helper/Helper_Data.php:233, ../../Helper/Helper_PDF_List_Table.php:225, ../../Model/Model_Form_Settings.php:912
|
593 |
msgid "Active"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: ../../Helper/Helper_Data.php:234, ../../Helper/Helper_PDF_List_Table.php:228, ../../Model/Model_Form_Settings.php:865, ../../Model/Model_Form_Settings.php:912
|
597 |
msgid "Inactive"
|
598 |
msgstr ""
|
599 |
|
1373 |
msgid "PDF List"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
+
#: ../../Helper/Helper_PDF_List_Table.php:250
|
1377 |
msgid "None"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: ../../Helper/Helper_PDF_List_Table.php:289, ../../View/html/PDF/entry_list_pdf_single.php:23
|
1381 |
msgid "Download PDF"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
+
#: ../../Helper/Helper_PDF_List_Table.php:292
|
1385 |
msgid "Copy the %s PDF shortcode to the clipboard"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: ../../Helper/Helper_PDF_List_Table.php:311
|
1389 |
msgid "Shortcode copied!"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: ../../Helper/Helper_PDF_List_Table.php:315
|
1393 |
msgid "Copy Shortcode"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: ../../Helper/Helper_PDF_List_Table.php:307
|
1397 |
+
msgid "Copied"
|
1398 |
+
msgstr ""
|
1399 |
+
|
1400 |
+
#: ../../Helper/Helper_PDF_List_Table.php:368
|
1401 |
msgid "Edit this PDF"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
+
#: ../../Helper/Helper_PDF_List_Table.php:368
|
1405 |
msgid "Edit"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: ../../Helper/Helper_PDF_List_Table.php:369
|
1409 |
msgid "Duplicate this PDF"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
+
#: ../../Helper/Helper_PDF_List_Table.php:369
|
1413 |
msgid "Duplicate"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
+
#: ../../Helper/Helper_PDF_List_Table.php:370
|
1417 |
msgid "Delete this PDF"
|
1418 |
msgstr ""
|
1419 |
|
1420 |
+
#: ../../Helper/Helper_PDF_List_Table.php:378
|
1421 |
msgid "%s PDF"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
+
#: ../../Helper/Helper_PDF_List_Table.php:408
|
1425 |
msgid "This form doesn't have any PDFs. Let's go %1$screate one%2$s."
|
1426 |
msgstr ""
|
1427 |
|
1433 |
msgid "Legacy"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
+
#: ../../Model/Model_Form_Settings.php:245
|
1437 |
msgid "Update PDF"
|
1438 |
msgstr ""
|
1439 |
|
1440 |
+
#: ../../Model/Model_Form_Settings.php:246
|
1441 |
msgid "Add PDF"
|
1442 |
msgstr ""
|
1443 |
|
1444 |
+
#: ../../Model/Model_Form_Settings.php:327, ../../Model/Model_Form_Settings.php:349, ../../Model/Model_Form_Settings.php:398, ../../Model/Model_Form_Settings.php:506
|
1445 |
msgid "There was a problem saving your PDF settings. Please try again."
|
1446 |
msgstr ""
|
1447 |
|
1448 |
+
#: ../../Model/Model_Form_Settings.php:370
|
1449 |
msgid "PDF could not be saved. Please enter all required information below."
|
1450 |
msgstr ""
|
1451 |
|
1452 |
+
#: ../../Model/Model_Form_Settings.php:392
|
1453 |
msgid "PDF saved successfully. %1$sBack to PDF list.%2$s"
|
1454 |
msgstr ""
|
1455 |
|
1456 |
+
#: ../../Model/Model_Form_Settings.php:798
|
1457 |
msgid "PDF successfully deleted."
|
1458 |
msgstr ""
|
1459 |
|
1460 |
+
#: ../../Model/Model_Form_Settings.php:859
|
1461 |
msgid "PDF successfully duplicated."
|
1462 |
msgstr ""
|
1463 |
|
src/assets/scss/Pages/_pdf-list.scss
CHANGED
@@ -24,36 +24,49 @@
|
|
24 |
width: 20px;
|
25 |
}
|
26 |
|
27 |
-
.
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
&:before {
|
34 |
-
font-family: dashicons;
|
35 |
-
content: "\f150";
|
36 |
-
font-size: 1rem;
|
37 |
-
vertical-align: middle;
|
38 |
-
font-weight: 400;
|
39 |
-
padding-right: 0.2rem;
|
40 |
}
|
|
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
border-color: #080;
|
46 |
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
border-color: #080;
|
|
|
|
|
|
|
|
|
49 |
}
|
50 |
}
|
51 |
}
|
52 |
|
53 |
-
.btn-shortcode + .gpdf-fallback-input {
|
54 |
-
display: none;
|
55 |
-
}
|
56 |
-
|
57 |
.btn-shortcode.toggle + .gpdf-fallback-input {
|
58 |
display: block;
|
59 |
position: absolute;
|
@@ -92,3 +105,13 @@
|
|
92 |
}
|
93 |
|
94 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
width: 20px;
|
25 |
}
|
26 |
|
27 |
+
/* Modify the Gravity Forms 2.6 shortcode button version to fit in our PDF list table. */
|
28 |
+
td.column-shortcode {
|
29 |
+
.gform-button {
|
30 |
+
width: 100%;
|
31 |
+
text-align: center;
|
32 |
+
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
+
}
|
35 |
|
36 |
+
.btn-shortcode + .gpdf-fallback-input {
|
37 |
+
display: none;
|
38 |
+
}
|
|
|
39 |
|
40 |
+
/* This supports Gravity Form version 2.5 or lower */
|
41 |
+
.btn-shortcode {
|
42 |
+
&.gf_2_5 {
|
43 |
+
margin-left: 0;
|
44 |
+
border-radius: 1px;
|
45 |
+
padding: 0.3rem 0.5rem;
|
46 |
+
white-space: normal;
|
47 |
+
|
48 |
+
&:before {
|
49 |
+
font-family: dashicons;
|
50 |
+
content: "\f150";
|
51 |
+
font-size: 1rem;
|
52 |
+
vertical-align: middle;
|
53 |
+
font-weight: 400;
|
54 |
+
padding-right: 0.2rem;
|
55 |
+
padding-bottom: 0.1rem;
|
56 |
+
}
|
57 |
+
|
58 |
+
&.btn-success,
|
59 |
+
&.toggle {
|
60 |
+
color: #080;
|
61 |
border-color: #080;
|
62 |
+
|
63 |
+
&:hover {
|
64 |
+
border-color: #080;
|
65 |
+
}
|
66 |
}
|
67 |
}
|
68 |
}
|
69 |
|
|
|
|
|
|
|
|
|
70 |
.btn-shortcode.toggle + .gpdf-fallback-input {
|
71 |
display: block;
|
72 |
position: absolute;
|
105 |
}
|
106 |
|
107 |
}
|
108 |
+
|
109 |
+
@media (min-width: 782px) and (max-width: 1100px) {
|
110 |
+
#tab_PDF {
|
111 |
+
td.column-shortcode {
|
112 |
+
.gform-button__icon {
|
113 |
+
display: none;
|
114 |
+
}
|
115 |
+
}
|
116 |
+
}
|
117 |
+
}
|
src/assets/scss/Pages/_pdf-settings.scss
CHANGED
@@ -40,4 +40,23 @@
|
|
40 |
}
|
41 |
}
|
42 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
40 |
}
|
41 |
}
|
42 |
}
|
43 |
+
|
44 |
+
/* GF 2.6 UI updates */
|
45 |
+
.gfpdf-gf-2-6 {
|
46 |
+
.gfpdf-settings-field-wrapper {
|
47 |
+
.wp-editor-wrap {
|
48 |
+
margin-right: 0rem;
|
49 |
+
}
|
50 |
+
}
|
51 |
+
|
52 |
+
.wp-media-buttons {
|
53 |
+
.all-merge-tags {
|
54 |
+
top: -0.15rem;
|
55 |
+
}
|
56 |
+
|
57 |
+
.gform-icon--merge-tag {
|
58 |
+
font-size: 2.25rem;
|
59 |
+
}
|
60 |
+
}
|
61 |
+
}
|
62 |
}
|
src/assets/scss/RTL/Pages/_rtl-pdf-settings.scss
CHANGED
@@ -73,4 +73,14 @@ html[dir="rtl"] {
|
|
73 |
}
|
74 |
}
|
75 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
73 |
}
|
74 |
}
|
75 |
}
|
76 |
+
|
77 |
+
/* GF 2.6 UI updates */
|
78 |
+
.gfpdf-gf-2-6 {
|
79 |
+
.gfpdf-settings-field-wrapper {
|
80 |
+
.wp-editor-wrap {
|
81 |
+
margin-left: 0rem;
|
82 |
+
}
|
83 |
+
}
|
84 |
+
}
|
85 |
+
|
86 |
}
|
src/autoload.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package Gravity PDF
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
7 |
*/
|
8 |
|
2 |
|
3 |
/**
|
4 |
* @package Gravity PDF
|
5 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
6 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
7 |
*/
|
8 |
|
src/bootstrap.php
CHANGED
@@ -25,7 +25,7 @@ use Psr\Log\LoggerInterface;
|
|
25 |
|
26 |
/**
|
27 |
* @package Gravity PDF
|
28 |
-
* @copyright Copyright (c)
|
29 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
30 |
*/
|
31 |
|
25 |
|
26 |
/**
|
27 |
* @package Gravity PDF
|
28 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
29 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
30 |
*/
|
31 |
|
src/deprecated.php
CHANGED
@@ -13,7 +13,7 @@ use GFPDF_Vendor\Mpdf\MpdfException;
|
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
-
* @copyright Copyright (c)
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
13 |
|
14 |
/**
|
15 |
* @package Gravity PDF
|
16 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
17 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
18 |
*/
|
19 |
|
src/templates/config/blank-slate.php
CHANGED
@@ -15,7 +15,7 @@ use GFPDF\Helper\Helper_Interface_Config;
|
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
-
* @copyright Copyright (c)
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
src/templates/config/focus-gravity.php
CHANGED
@@ -15,7 +15,7 @@ use GFPDF\Helper\Helper_Interface_Config;
|
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
-
* @copyright Copyright (c)
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
15 |
|
16 |
/**
|
17 |
* @package Gravity PDF
|
18 |
+
* @copyright Copyright (c) 2022, Blue Liquid Designs
|
19 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
20 |
*/
|
21 |
|
vendor/autoload.php
CHANGED
File without changes
|
vendor/composer/ClassLoader.php
CHANGED
@@ -42,30 +42,75 @@ namespace Composer\Autoload;
|
|
42 |
*/
|
43 |
class ClassLoader
|
44 |
{
|
|
|
45 |
private $vendorDir;
|
46 |
|
47 |
// PSR-4
|
|
|
|
|
|
|
|
|
48 |
private $prefixLengthsPsr4 = array();
|
|
|
|
|
|
|
|
|
49 |
private $prefixDirsPsr4 = array();
|
|
|
|
|
|
|
|
|
50 |
private $fallbackDirsPsr4 = array();
|
51 |
|
52 |
// PSR-0
|
|
|
|
|
|
|
|
|
53 |
private $prefixesPsr0 = array();
|
|
|
|
|
|
|
|
|
54 |
private $fallbackDirsPsr0 = array();
|
55 |
|
|
|
56 |
private $useIncludePath = false;
|
|
|
|
|
|
|
|
|
|
|
57 |
private $classMap = array();
|
|
|
|
|
58 |
private $classMapAuthoritative = false;
|
|
|
|
|
|
|
|
|
|
|
59 |
private $missingClasses = array();
|
|
|
|
|
60 |
private $apcuPrefix;
|
61 |
|
|
|
|
|
|
|
62 |
private static $registeredLoaders = array();
|
63 |
|
|
|
|
|
|
|
64 |
public function __construct($vendorDir = null)
|
65 |
{
|
66 |
$this->vendorDir = $vendorDir;
|
67 |
}
|
68 |
|
|
|
|
|
|
|
69 |
public function getPrefixes()
|
70 |
{
|
71 |
if (!empty($this->prefixesPsr0)) {
|
@@ -75,28 +120,47 @@ class ClassLoader
|
|
75 |
return array();
|
76 |
}
|
77 |
|
|
|
|
|
|
|
|
|
78 |
public function getPrefixesPsr4()
|
79 |
{
|
80 |
return $this->prefixDirsPsr4;
|
81 |
}
|
82 |
|
|
|
|
|
|
|
|
|
83 |
public function getFallbackDirs()
|
84 |
{
|
85 |
return $this->fallbackDirsPsr0;
|
86 |
}
|
87 |
|
|
|
|
|
|
|
|
|
88 |
public function getFallbackDirsPsr4()
|
89 |
{
|
90 |
return $this->fallbackDirsPsr4;
|
91 |
}
|
92 |
|
|
|
|
|
|
|
|
|
93 |
public function getClassMap()
|
94 |
{
|
95 |
return $this->classMap;
|
96 |
}
|
97 |
|
98 |
/**
|
99 |
-
* @param
|
|
|
|
|
|
|
100 |
*/
|
101 |
public function addClassMap(array $classMap)
|
102 |
{
|
@@ -111,9 +175,11 @@ class ClassLoader
|
|
111 |
* Registers a set of PSR-0 directories for a given prefix, either
|
112 |
* appending or prepending to the ones previously set for this prefix.
|
113 |
*
|
114 |
-
* @param string
|
115 |
-
* @param
|
116 |
-
* @param bool
|
|
|
|
|
117 |
*/
|
118 |
public function add($prefix, $paths, $prepend = false)
|
119 |
{
|
@@ -156,11 +222,13 @@ class ClassLoader
|
|
156 |
* Registers a set of PSR-4 directories for a given namespace, either
|
157 |
* appending or prepending to the ones previously set for this namespace.
|
158 |
*
|
159 |
-
* @param string
|
160 |
-
* @param
|
161 |
-
* @param bool
|
162 |
*
|
163 |
* @throws \InvalidArgumentException
|
|
|
|
|
164 |
*/
|
165 |
public function addPsr4($prefix, $paths, $prepend = false)
|
166 |
{
|
@@ -204,8 +272,10 @@ class ClassLoader
|
|
204 |
* Registers a set of PSR-0 directories for a given prefix,
|
205 |
* replacing any others previously set for this prefix.
|
206 |
*
|
207 |
-
* @param string
|
208 |
-
* @param
|
|
|
|
|
209 |
*/
|
210 |
public function set($prefix, $paths)
|
211 |
{
|
@@ -220,10 +290,12 @@ class ClassLoader
|
|
220 |
* Registers a set of PSR-4 directories for a given namespace,
|
221 |
* replacing any others previously set for this namespace.
|
222 |
*
|
223 |
-
* @param string
|
224 |
-
* @param
|
225 |
*
|
226 |
* @throws \InvalidArgumentException
|
|
|
|
|
227 |
*/
|
228 |
public function setPsr4($prefix, $paths)
|
229 |
{
|
@@ -243,6 +315,8 @@ class ClassLoader
|
|
243 |
* Turns on searching the include path for class files.
|
244 |
*
|
245 |
* @param bool $useIncludePath
|
|
|
|
|
246 |
*/
|
247 |
public function setUseIncludePath($useIncludePath)
|
248 |
{
|
@@ -265,6 +339,8 @@ class ClassLoader
|
|
265 |
* that have not been registered with the class map.
|
266 |
*
|
267 |
* @param bool $classMapAuthoritative
|
|
|
|
|
268 |
*/
|
269 |
public function setClassMapAuthoritative($classMapAuthoritative)
|
270 |
{
|
@@ -285,6 +361,8 @@ class ClassLoader
|
|
285 |
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
286 |
*
|
287 |
* @param string|null $apcuPrefix
|
|
|
|
|
288 |
*/
|
289 |
public function setApcuPrefix($apcuPrefix)
|
290 |
{
|
@@ -305,6 +383,8 @@ class ClassLoader
|
|
305 |
* Registers this instance as an autoloader.
|
306 |
*
|
307 |
* @param bool $prepend Whether to prepend the autoloader or not
|
|
|
|
|
308 |
*/
|
309 |
public function register($prepend = false)
|
310 |
{
|
@@ -324,6 +404,8 @@ class ClassLoader
|
|
324 |
|
325 |
/**
|
326 |
* Unregisters this instance as an autoloader.
|
|
|
|
|
327 |
*/
|
328 |
public function unregister()
|
329 |
{
|
@@ -403,6 +485,11 @@ class ClassLoader
|
|
403 |
return self::$registeredLoaders;
|
404 |
}
|
405 |
|
|
|
|
|
|
|
|
|
|
|
406 |
private function findFileWithExtension($class, $ext)
|
407 |
{
|
408 |
// PSR-4 lookup
|
@@ -474,6 +561,10 @@ class ClassLoader
|
|
474 |
* Scope isolated include.
|
475 |
*
|
476 |
* Prevents access to $this/self from included files.
|
|
|
|
|
|
|
|
|
477 |
*/
|
478 |
function includeFile($file)
|
479 |
{
|
42 |
*/
|
43 |
class ClassLoader
|
44 |
{
|
45 |
+
/** @var ?string */
|
46 |
private $vendorDir;
|
47 |
|
48 |
// PSR-4
|
49 |
+
/**
|
50 |
+
* @var array[]
|
51 |
+
* @psalm-var array<string, array<string, int>>
|
52 |
+
*/
|
53 |
private $prefixLengthsPsr4 = array();
|
54 |
+
/**
|
55 |
+
* @var array[]
|
56 |
+
* @psalm-var array<string, array<int, string>>
|
57 |
+
*/
|
58 |
private $prefixDirsPsr4 = array();
|
59 |
+
/**
|
60 |
+
* @var array[]
|
61 |
+
* @psalm-var array<string, string>
|
62 |
+
*/
|
63 |
private $fallbackDirsPsr4 = array();
|
64 |
|
65 |
// PSR-0
|
66 |
+
/**
|
67 |
+
* @var array[]
|
68 |
+
* @psalm-var array<string, array<string, string[]>>
|
69 |
+
*/
|
70 |
private $prefixesPsr0 = array();
|
71 |
+
/**
|
72 |
+
* @var array[]
|
73 |
+
* @psalm-var array<string, string>
|
74 |
+
*/
|
75 |
private $fallbackDirsPsr0 = array();
|
76 |
|
77 |
+
/** @var bool */
|
78 |
private $useIncludePath = false;
|
79 |
+
|
80 |
+
/**
|
81 |
+
* @var string[]
|
82 |
+
* @psalm-var array<string, string>
|
83 |
+
*/
|
84 |
private $classMap = array();
|
85 |
+
|
86 |
+
/** @var bool */
|
87 |
private $classMapAuthoritative = false;
|
88 |
+
|
89 |
+
/**
|
90 |
+
* @var bool[]
|
91 |
+
* @psalm-var array<string, bool>
|
92 |
+
*/
|
93 |
private $missingClasses = array();
|
94 |
+
|
95 |
+
/** @var ?string */
|
96 |
private $apcuPrefix;
|
97 |
|
98 |
+
/**
|
99 |
+
* @var self[]
|
100 |
+
*/
|
101 |
private static $registeredLoaders = array();
|
102 |
|
103 |
+
/**
|
104 |
+
* @param ?string $vendorDir
|
105 |
+
*/
|
106 |
public function __construct($vendorDir = null)
|
107 |
{
|
108 |
$this->vendorDir = $vendorDir;
|
109 |
}
|
110 |
|
111 |
+
/**
|
112 |
+
* @return string[]
|
113 |
+
*/
|
114 |
public function getPrefixes()
|
115 |
{
|
116 |
if (!empty($this->prefixesPsr0)) {
|
120 |
return array();
|
121 |
}
|
122 |
|
123 |
+
/**
|
124 |
+
* @return array[]
|
125 |
+
* @psalm-return array<string, array<int, string>>
|
126 |
+
*/
|
127 |
public function getPrefixesPsr4()
|
128 |
{
|
129 |
return $this->prefixDirsPsr4;
|
130 |
}
|
131 |
|
132 |
+
/**
|
133 |
+
* @return array[]
|
134 |
+
* @psalm-return array<string, string>
|
135 |
+
*/
|
136 |
public function getFallbackDirs()
|
137 |
{
|
138 |
return $this->fallbackDirsPsr0;
|
139 |
}
|
140 |
|
141 |
+
/**
|
142 |
+
* @return array[]
|
143 |
+
* @psalm-return array<string, string>
|
144 |
+
*/
|
145 |
public function getFallbackDirsPsr4()
|
146 |
{
|
147 |
return $this->fallbackDirsPsr4;
|
148 |
}
|
149 |
|
150 |
+
/**
|
151 |
+
* @return string[] Array of classname => path
|
152 |
+
* @psalm-return array<string, string>
|
153 |
+
*/
|
154 |
public function getClassMap()
|
155 |
{
|
156 |
return $this->classMap;
|
157 |
}
|
158 |
|
159 |
/**
|
160 |
+
* @param string[] $classMap Class to filename map
|
161 |
+
* @psalm-param array<string, string> $classMap
|
162 |
+
*
|
163 |
+
* @return void
|
164 |
*/
|
165 |
public function addClassMap(array $classMap)
|
166 |
{
|
175 |
* Registers a set of PSR-0 directories for a given prefix, either
|
176 |
* appending or prepending to the ones previously set for this prefix.
|
177 |
*
|
178 |
+
* @param string $prefix The prefix
|
179 |
+
* @param string[]|string $paths The PSR-0 root directories
|
180 |
+
* @param bool $prepend Whether to prepend the directories
|
181 |
+
*
|
182 |
+
* @return void
|
183 |
*/
|
184 |
public function add($prefix, $paths, $prepend = false)
|
185 |
{
|
222 |
* Registers a set of PSR-4 directories for a given namespace, either
|
223 |
* appending or prepending to the ones previously set for this namespace.
|
224 |
*
|
225 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
226 |
+
* @param string[]|string $paths The PSR-4 base directories
|
227 |
+
* @param bool $prepend Whether to prepend the directories
|
228 |
*
|
229 |
* @throws \InvalidArgumentException
|
230 |
+
*
|
231 |
+
* @return void
|
232 |
*/
|
233 |
public function addPsr4($prefix, $paths, $prepend = false)
|
234 |
{
|
272 |
* Registers a set of PSR-0 directories for a given prefix,
|
273 |
* replacing any others previously set for this prefix.
|
274 |
*
|
275 |
+
* @param string $prefix The prefix
|
276 |
+
* @param string[]|string $paths The PSR-0 base directories
|
277 |
+
*
|
278 |
+
* @return void
|
279 |
*/
|
280 |
public function set($prefix, $paths)
|
281 |
{
|
290 |
* Registers a set of PSR-4 directories for a given namespace,
|
291 |
* replacing any others previously set for this namespace.
|
292 |
*
|
293 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
294 |
+
* @param string[]|string $paths The PSR-4 base directories
|
295 |
*
|
296 |
* @throws \InvalidArgumentException
|
297 |
+
*
|
298 |
+
* @return void
|
299 |
*/
|
300 |
public function setPsr4($prefix, $paths)
|
301 |
{
|
315 |
* Turns on searching the include path for class files.
|
316 |
*
|
317 |
* @param bool $useIncludePath
|
318 |
+
*
|
319 |
+
* @return void
|
320 |
*/
|
321 |
public function setUseIncludePath($useIncludePath)
|
322 |
{
|
339 |
* that have not been registered with the class map.
|
340 |
*
|
341 |
* @param bool $classMapAuthoritative
|
342 |
+
*
|
343 |
+
* @return void
|
344 |
*/
|
345 |
public function setClassMapAuthoritative($classMapAuthoritative)
|
346 |
{
|
361 |
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
362 |
*
|
363 |
* @param string|null $apcuPrefix
|
364 |
+
*
|
365 |
+
* @return void
|
366 |
*/
|
367 |
public function setApcuPrefix($apcuPrefix)
|
368 |
{
|
383 |
* Registers this instance as an autoloader.
|
384 |
*
|
385 |
* @param bool $prepend Whether to prepend the autoloader or not
|
386 |
+
*
|
387 |
+
* @return void
|
388 |
*/
|
389 |
public function register($prepend = false)
|
390 |
{
|
404 |
|
405 |
/**
|
406 |
* Unregisters this instance as an autoloader.
|
407 |
+
*
|
408 |
+
* @return void
|
409 |
*/
|
410 |
public function unregister()
|
411 |
{
|
485 |
return self::$registeredLoaders;
|
486 |
}
|
487 |
|
488 |
+
/**
|
489 |
+
* @param string $class
|
490 |
+
* @param string $ext
|
491 |
+
* @return string|false
|
492 |
+
*/
|
493 |
private function findFileWithExtension($class, $ext)
|
494 |
{
|
495 |
// PSR-4 lookup
|
561 |
* Scope isolated include.
|
562 |
*
|
563 |
* Prevents access to $this/self from included files.
|
564 |
+
*
|
565 |
+
* @param string $file
|
566 |
+
* @return void
|
567 |
+
* @private
|
568 |
*/
|
569 |
function includeFile($file)
|
570 |
{
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -20,12 +20,25 @@ use Composer\Semver\VersionParser;
|
|
20 |
*
|
21 |
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
22 |
*
|
23 |
-
* To require
|
24 |
*/
|
25 |
class InstalledVersions
|
26 |
{
|
|
|
|
|
|
|
|
|
27 |
private static $installed;
|
|
|
|
|
|
|
|
|
28 |
private static $canGetVendors;
|
|
|
|
|
|
|
|
|
|
|
29 |
private static $installedByVendor = array();
|
30 |
|
31 |
/**
|
@@ -228,7 +241,7 @@ class InstalledVersions
|
|
228 |
|
229 |
/**
|
230 |
* @return array
|
231 |
-
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
|
232 |
*/
|
233 |
public static function getRootPackage()
|
234 |
{
|
@@ -242,7 +255,7 @@ class InstalledVersions
|
|
242 |
*
|
243 |
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
|
244 |
* @return array[]
|
245 |
-
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
|
246 |
*/
|
247 |
public static function getRawData()
|
248 |
{
|
@@ -265,7 +278,7 @@ class InstalledVersions
|
|
265 |
* Returns the raw data of all installed.php which are currently loaded for custom implementations
|
266 |
*
|
267 |
* @return array[]
|
268 |
-
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases
|
20 |
*
|
21 |
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
22 |
*
|
23 |
+
* To require its presence, you can require `composer-runtime-api ^2.0`
|
24 |
*/
|
25 |
class InstalledVersions
|
26 |
{
|
27 |
+
/**
|
28 |
+
* @var mixed[]|null
|
29 |
+
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
|
30 |
+
*/
|
31 |
private static $installed;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* @var bool|null
|
35 |
+
*/
|
36 |
private static $canGetVendors;
|
37 |
+
|
38 |
+
/**
|
39 |
+
* @var array[]
|
40 |
+
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
|
41 |
+
*/
|
42 |
private static $installedByVendor = array();
|
43 |
|
44 |
/**
|
241 |
|
242 |
/**
|
243 |
* @return array
|
244 |
+
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
|
245 |
*/
|
246 |
public static function getRootPackage()
|
247 |
{
|
255 |
*
|
256 |
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
|
257 |
* @return array[]
|
258 |
+
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
|
259 |
*/
|
260 |
public static function getRawData()
|
261 |
{
|
278 |
* Returns the raw data of all installed.php which are currently loaded for custom implementations
|
279 |
*
|
280 |
* @return array[]
|
281 |
+
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases
|