Gravity PDF - Version 6.3.0

Version Description

  • Feature: Support for mapping PDF URLs to your favorite services using Gravity Forms feeds. This includes (but is not limited to): PayPal, MailChimp, HubSpot, Stripe, Square, ActiveCampaign, Agile CRM, Capsule, CleverReach, Constant Contact, EmailOctopus, Zoho CRM
  • Feature: Support for the Zapier add-on: PDF URLs can now be passed to your zaps
  • Feature: Add [gravitypdf] shortcode rendering support to Gravity Wiz's Entry Block perk
  • Housekeeping: Change "document" icon used for settings menus to the "Gravity PDF" icon
  • Housekeeping: duplicating PDFs on a form will now have the correct alternating background color in the table
  • Housekeeping: Process the [gravitypdf] shortcode when merge tags get processed so that it can be used where ever merge tags are supported
  • Developer: Add new gfpdf_current_form_object filter to manipulate the $form array when processing PDFs
  • Bug: Fix a race condition when using Background Processing that could see the PDF deleted before being attached to notifications
  • Bug: Do not strip the backslash character when used in PDF settings
Download this release

Release Info

Developer Blue Liquid Designs
Plugin Icon 128x128 Gravity PDF
Version 6.3.0
Comparing to
See all releases

Code changes from version 6.2.1 to 6.3.0

Files changed (38) hide show
  1. README.txt +13 -2
  2. dist/assets/css/gfpdf-styles.min.css +1 -1
  3. dist/assets/js/admin.min.js +1 -1
  4. dist/assets/js/app.bundle.min.js +1 -1
  5. dist/assets/js/gfpdf-entries.min.js +1 -1
  6. pdf.php +3 -3
  7. src/Controller/Controller_Mergetags.php +3 -0
  8. src/Controller/Controller_Pdf_Queue.php +16 -7
  9. src/Controller/Controller_Settings.php +1 -1
  10. src/Controller/Controller_Shortcodes.php +1 -4
  11. src/Controller/Controller_Uninstaller.php +1 -1
  12. src/Controller/Controller_Zapier.php +58 -0
  13. src/Helper/Helper_Abstract_Options.php +11 -11
  14. src/Helper/Helper_Abstract_Pdf_Shortcode.php +28 -31
  15. src/Helper/Helper_PDF.php +1 -1
  16. src/Helper/Helper_PDF_List_Table.php +1 -6
  17. src/Model/Model_Form_Settings.php +1 -1
  18. src/Model/Model_Mergetags.php +98 -0
  19. src/Model/Model_PDF.php +13 -10
  20. src/View/View_PDF.php +3 -3
  21. src/assets/languages/gravity-forms-pdf-extended.pot +45 -32
  22. src/assets/scss/Pages/_pdf-list.scss +42 -35
  23. src/bootstrap.php +11 -0
  24. vendor/autoload.php +5 -0
  25. vendor/composer/autoload_classmap.php +2 -0
  26. vendor/composer/autoload_real.php +1 -1
  27. vendor/composer/autoload_static.php +2 -0
  28. vendor/composer/installed.json +17 -12
  29. vendor/composer/installed.php +9 -9
  30. vendor_prefixed/monolog/src/Monolog/Attribute/AsMonologProcessor.php +10 -1
  31. vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php +17 -2
  32. vendor_prefixed/monolog/src/Monolog/Handler/ElasticsearchHandler.php +32 -8
  33. vendor_prefixed/monolog/src/Monolog/Handler/SwiftMailerHandler.php +2 -0
  34. vendor_prefixed/monolog/src/Monolog/Handler/SymfonyMailerHandler.php +101 -0
  35. vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php +23 -13
  36. vendor_prefixed/monolog/src/Monolog/Logger.php +35 -19
  37. vendor_prefixed/monolog/src/Monolog/Processor/IntrospectionProcessor.php +1 -1
  38. vendor_prefixed/monolog/src/Monolog/Test/TestCase.php +7 -0
README.txt CHANGED
@@ -4,8 +4,8 @@ Plugin URI: https://gravitypdf.com/
4
  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.2.1
9
  Requires PHP: 7.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl.txt
@@ -105,6 +105,17 @@ _If you aren't able to meet the v6 minimum requirements [you can download v5 whi
105
 
106
  == Changelog ==
107
 
 
 
 
 
 
 
 
 
 
 
 
108
  = 6.2.1 =
109
  * Bug: Always generate a new PDF when using the GPDFAPI::create_pdf() method
110
  * Bug: Fix fatal error during PDF generation when using the `gform_address_display_format` filter
4
  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: 6.0
8
+ Stable tag: 6.3.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.3.0 =
109
+ * Feature: Support for mapping PDF URLs to your favorite services using Gravity Forms feeds. This includes (but is not limited to): PayPal, MailChimp, HubSpot, Stripe, Square, ActiveCampaign, Agile CRM, Capsule, CleverReach, Constant Contact, EmailOctopus, Zoho CRM
110
+ * Feature: Support for the Zapier add-on: PDF URLs can now be passed to your zaps
111
+ * Feature: Add [gravitypdf] shortcode rendering support to Gravity Wiz's Entry Block perk
112
+ * Housekeeping: Change "document" icon used for settings menus to the "Gravity PDF" icon
113
+ * Housekeeping: duplicating PDFs on a form will now have the correct alternating background color in the table
114
+ * Housekeeping: Process the [gravitypdf] shortcode when merge tags get processed so that it can be used where ever merge tags are supported
115
+ * Developer: Add new `gfpdf_current_form_object` filter to manipulate the $form array when processing PDFs
116
+ * Bug: Fix a race condition when using Background Processing that could see the PDF deleted before being attached to notifications
117
+ * Bug: Do not strip the backslash character when used in PDF settings
118
+
119
  = 6.2.1 =
120
  * Bug: Always generate a new PDF when using the GPDFAPI::create_pdf() method
121
  * Bug: Fix fatal error during PDF generation when using the `gform_address_display_format` filter
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 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}}
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 table tbody>:nth-child(odd){background-color:#f6f7f7}#tab_PDF #gfpdf_list_form table tbody td.column-shortcode .gform-button{width:100%;text-align:center;justify-content:center}#tab_PDF #gfpdf_list_form table tbody .btn-shortcode+.gpdf-fallback-input{display:none}#tab_PDF #gfpdf_list_form table tbody .btn-shortcode.gf_2_5{margin-left:0;border-radius:1px;padding:.3rem .5rem;white-space:normal}#tab_PDF #gfpdf_list_form table tbody .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 table tbody .btn-shortcode.gf_2_5.btn-success,#tab_PDF #gfpdf_list_form table tbody .btn-shortcode.gf_2_5.toggle{color:#080;border-color:#080}#tab_PDF #gfpdf_list_form table tbody .btn-shortcode.gf_2_5.btn-success:hover,#tab_PDF #gfpdf_list_form table tbody .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.2.1/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()}))}]);
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.3.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 I=String(r.apply(void 0,R))}else I=_(j,d,P,k,T,r);P>=O&&(E+=d.slice(O,P)+I,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();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()}}))})),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,4 +1,4 @@
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.1/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
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.3.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
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.2.1/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.3.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.2.1
5
  Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
6
  Author: Gravity PDF
7
  Author URI: https://gravitypdf.com
@@ -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.2.1' ); /* 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 */
@@ -80,7 +80,7 @@ class GFPDF_Major_Compatibility_Checks {
80
  *
81
  * @since 4.0
82
  */
83
- public $required_gf_version = '2.5.0';
84
 
85
  /**
86
  * The plugin's required WordPress version
1
  <?php
2
  /*
3
  Plugin Name: Gravity PDF
4
+ Version: 6.3.0
5
  Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
6
  Author: Gravity PDF
7
  Author URI: https://gravitypdf.com
26
  /*
27
  * Set base constants we'll use throughout the plugin
28
  */
29
+ define( 'PDF_EXTENDED_VERSION', '6.3.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 */
80
  *
81
  * @since 4.0
82
  */
83
+ public $required_gf_version = '2.5';
84
 
85
  /**
86
  * The plugin's required WordPress version
src/Controller/Controller_Mergetags.php CHANGED
@@ -61,5 +61,8 @@ class Controller_Mergetags extends Helper_Abstract_Controller implements Helper_
61
  public function add_filters() {
62
  add_filter( 'gform_replace_merge_tags', [ $this->model, 'process_pdf_mergetags' ], 10, 4 );
63
  add_filter( 'gform_custom_merge_tags', [ $this->model, 'add_pdf_mergetags' ], 10, 2 );
 
 
 
64
  }
65
  }
61
  public function add_filters() {
62
  add_filter( 'gform_replace_merge_tags', [ $this->model, 'process_pdf_mergetags' ], 10, 4 );
63
  add_filter( 'gform_custom_merge_tags', [ $this->model, 'add_pdf_mergetags' ], 10, 2 );
64
+
65
+ add_filter( 'gform_field_map_choices', [ $this->model, 'add_field_map_choices' ], 10, 4 );
66
+ add_filter( 'gform_addon_field_value', [ $this->model, 'process_field_value' ], 10, 4 );
67
  }
68
  }
src/Controller/Controller_Pdf_Queue.php CHANGED
@@ -341,14 +341,23 @@ class Controller_Pdf_Queue extends Helper_Abstract_Controller implements Helper_
341
  $queue_data = apply_filters( 'gfpdf_queue_pre_pdf_creation', [], $entry, $form );
342
 
343
  foreach ( $pdfs as $pdf ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  foreach ( $notifications as $notification ) {
345
- if ( $this->model_pdf->maybe_always_save_pdf( $pdf, $form['id'] ) || $this->model_pdf->maybe_attach_to_notification( $notification, $pdf, $entry, $form ) ) {
346
- $queue_data[] = [
347
- 'id' => $this->get_queue_id( $form, $entry, $pdf ),
348
- 'func' => '\GFPDF\Statics\Queue_Callbacks::create_pdf',
349
- 'args' => [ $entry['id'], $pdf['id'] ],
350
- 'unrecoverable' => true,
351
- ];
352
 
353
  /* Only queue each PDF once (even if attached to multiple notifications) */
354
  break;
341
  $queue_data = apply_filters( 'gfpdf_queue_pre_pdf_creation', [], $entry, $form );
342
 
343
  foreach ( $pdfs as $pdf ) {
344
+ $pdf_queue_data = [
345
+ 'id' => $this->get_queue_id( $form, $entry, $pdf ),
346
+ 'func' => '\GFPDF\Statics\Queue_Callbacks::create_pdf',
347
+ 'args' => [ $entry['id'], $pdf['id'] ],
348
+ 'unrecoverable' => true,
349
+ ];
350
+
351
+ /* Check if we need to save the PDF due to a filter */
352
+ if ( $this->model_pdf->maybe_always_save_pdf( $pdf, $form['id'] ) ) {
353
+ $queue_data[] = $pdf_queue_data;
354
+ continue;
355
+ }
356
+
357
+ /* If a filter isn't implemented to force the PDF to save, check if it needs to be attached to a notification email */
358
  foreach ( $notifications as $notification ) {
359
+ if ( $this->model_pdf->maybe_attach_to_notification( $notification, $pdf, $entry, $form ) ) {
360
+ $queue_data[] = $pdf_queue_data;
 
 
 
 
 
361
 
362
  /* Only queue each PDF once (even if attached to multiple notifications) */
363
  break;
src/Controller/Controller_Settings.php CHANGED
@@ -130,7 +130,7 @@ class Controller_Settings extends Helper_Abstract_Controller implements Helper_I
130
  GFForms::add_settings_page(
131
  [
132
  'name' => $this->data->short_title,
133
- 'icon' => 'dashicons-media-document',
134
  'handler' => [ $this, 'display_page' ],
135
  ],
136
  ''
130
  GFForms::add_settings_page(
131
  [
132
  'name' => $this->data->short_title,
133
+ 'icon' => 'gform-icon--gravity-pdf',
134
  'handler' => [ $this, 'display_page' ],
135
  ],
136
  ''
src/Controller/Controller_Shortcodes.php CHANGED
@@ -76,14 +76,11 @@ class Controller_Shortcodes extends Helper_Abstract_Controller implements Helper
76
  *
77
  * @return void
78
  * @since 4.0
79
- *
80
  */
81
  public function add_filters() {
82
-
83
- add_filter( 'gform_confirmation', [ $this->model, 'gravitypdf_confirmation' ], 100, 3 );
84
- add_filter( 'gform_notification', [ $this->model, 'gravitypdf_notification' ], 100, 3 );
85
  add_filter( 'gform_admin_pre_render', [ $this->model, 'gravitypdf_redirect_confirmation' ] );
86
  add_filter( 'gform_confirmation', [ $this->model, 'gravitypdf_redirect_confirmation_shortcode_processing' ], 10, 3 );
 
87
 
88
  /* Basic GravityView Support */
89
  add_filter( 'gravityview/fields/custom/content_before', [ $this->model, 'gravitypdf_gravityview_custom' ], 10 );
76
  *
77
  * @return void
78
  * @since 4.0
 
79
  */
80
  public function add_filters() {
 
 
 
81
  add_filter( 'gform_admin_pre_render', [ $this->model, 'gravitypdf_redirect_confirmation' ] );
82
  add_filter( 'gform_confirmation', [ $this->model, 'gravitypdf_redirect_confirmation_shortcode_processing' ], 10, 3 );
83
+ add_filter( 'gform_pre_replace_merge_tags', [ $this->model, 'gravitypdf_process_during_merge_tag_replacement' ], 10, 3 );
84
 
85
  /* Basic GravityView Support */
86
  add_filter( 'gravityview/fields/custom/content_before', [ $this->model, 'gravitypdf_gravityview_custom' ], 10 );
src/Controller/Controller_Uninstaller.php CHANGED
@@ -92,7 +92,7 @@ class Controller_Uninstaller extends Helper_Abstract_Controller {
92
  * @since 6.0
93
  */
94
  public function get_menu_icon(): string {
95
- return 'dashicons-media-document';
96
  }
97
 
98
  /**
92
  * @since 6.0
93
  */
94
  public function get_menu_icon(): string {
95
+ return 'gform-icon--gravity-pdf';
96
  }
97
 
98
  /**
src/Controller/Controller_Zapier.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace GFPDF\Controller;
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
+
11
+ /* Exit if accessed directly */
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
16
+ /**
17
+ * Class Controller_Zapier
18
+ *
19
+ * @package GFPDF\Controller
20
+ */
21
+ class Controller_Zapier {
22
+
23
+ /**
24
+ * @since 6.3
25
+ */
26
+ public function init(): void {
27
+ add_filter( 'gform_zapier_request_body', [ $this, 'add_zapier_support' ], 10, 3 );
28
+ }
29
+
30
+ /**
31
+ * Add PDF URLs to the Zapier body array
32
+ *
33
+ * @param array $body An associative array containing the request body that will be sent to Zapier.
34
+ * @param array $feed The Feed Object currently being processed.
35
+ * @param array $entry The Entry Object currently being processed.
36
+ *
37
+ * @return array
38
+ *
39
+ * @since 6.3
40
+ */
41
+ public function add_zapier_support( $body, $feed, $entry ) {
42
+ $zapier = \GF_Zapier::get_instance();
43
+ $pdfs = \GPDFAPI::get_entry_pdfs( $entry['id'] ?? 0 );
44
+
45
+ if ( is_wp_error( $pdfs ) ) {
46
+ return $body;
47
+ }
48
+
49
+ foreach ( $pdfs as $pdf ) {
50
+ $body[ $zapier->get_body_key( $body, $pdf['name'] . ' PDF URL' ) ] = do_shortcode( sprintf( '[gravitypdf id="%2$s" entry="%1$d" raw="1"]', $entry['id'], $pdf['id'] ) );
51
+ $body[ $zapier->get_body_key( $body, $pdf['name'] . ' PDF URL - SIGNED 1 WEEK' ) ] = do_shortcode( sprintf( '[gravitypdf id="%2$s" entry="%1$d" raw="1" signed="1" expires="+1 week"]', $entry['id'], $pdf['id'] ) );
52
+ $body[ $zapier->get_body_key( $body, $pdf['name'] . ' PDF URL - SIGNED 1 MONTH' ) ] = do_shortcode( sprintf( '[gravitypdf id="%2$s" entry="%1$d" raw="1" signed="1" expires="+1 month"]', $entry['id'], $pdf['id'] ) );
53
+ $body[ $zapier->get_body_key( $body, $pdf['name'] . ' PDF URL - SIGNED 1 YEAR' ) ] = do_shortcode( sprintf( '[gravitypdf id="%2$s" entry="%1$d" raw="1" signed="1" expires="+1 year"]', $entry['id'], $pdf['id'] ) );
54
+ }
55
+
56
+ return $body;
57
+ }
58
+ }
src/Helper/Helper_Abstract_Options.php CHANGED
@@ -1615,7 +1615,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
1615
 
1616
  $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? esc_attr( $args['size'] ) : 'regular';
1617
  $html = '<div class="gform-settings-description gform-kitchen-sink"><label for="gfpdf_settings[' . $args['id'] . ']"> ' . wp_kses_post( $args['desc'] ) . '</label></div>';
1618
- $html .= '<input type="text" class="' . $size . '-text ' . $class . '" id="gfpdf_settings[' . $args['id'] . ']" class="gfpdf_settings_' . $args['id'] . '" name="gfpdf_settings[' . $args['id'] . ']" value="' . esc_attr( stripslashes( $value ) ) . '" ' . $required;
1619
 
1620
  foreach ( $input_data as $data_id => $data_value ) {
1621
  $html .= ' data-' . $data_id . '="' . esc_html( $data_value ) . '" ';
@@ -1657,7 +1657,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
1657
  }
1658
 
1659
  $html .= '<label for="gfpdf_settings[' . esc_attr( $args['id'] ) . ']" class="screen-reader-text"> ' . esc_html( $args['name'] ) . ' ' . esc_html__( 'license key', 'gravity-forms-pdf-extended' ) . '</label>';
1660
- $html .= '<input autocomplete="off" type="text" class="regular-text" id="gfpdf_settings[' . esc_attr( $args['id'] ) . ']" class="gfpdf_settings_' . esc_attr( $args['id'] ) . '" name="gfpdf_settings[' . esc_attr( $args['id'] ) . ']" value="' . esc_attr( stripslashes( $value['key'] ) ) . '" />';
1661
 
1662
  /* Add renewal info */
1663
  if ( $is_active ) {
@@ -1708,7 +1708,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
1708
 
1709
  $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? esc_attr( $args['size'] ) : 'regular';
1710
  $html = '<div class="gform-settings-description gform-kitchen-sink"><label for="gfpdf_settings[' . $args['id'] . ']"> ' . wp_kses_post( $args['desc'] ) . '</label></div>';
1711
- $html .= '<input type="number" step="' . esc_attr( $step ) . '" max="' . esc_attr( $max ) . '" min="' . esc_attr( $min ) . '" class="' . $size . '-text gfpdf_settings_' . $args['id'] . ' ' . $class . '" id="gfpdf_settings[' . $args['id'] . ']" name="gfpdf_settings[' . $args['id'] . ']" value="' . esc_attr( stripslashes( $value ) ) . '" ' . $required;
1712
 
1713
  foreach ( $input_data as $data_id => $data_value ) {
1714
  $html .= ' data-' . $data_id . '="' . esc_html( $data_value ) . '" ';
@@ -1748,7 +1748,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
1748
  $html .= ' data-' . $data_id . '="' . esc_html( $data_value ) . '" ';
1749
  }
1750
 
1751
- $html .= '>' . esc_textarea( stripslashes( $value ) ) . '</textarea>';
1752
 
1753
  /* Check if the field should include a toggle option */
1754
  $toggle = ( ! empty( $args['toggle'] ) ) ? $args['toggle'] : false;
@@ -1925,7 +1925,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
1925
  ob_start();
1926
  echo '<span class="mt-gfpdf_settings_' . $args['id'] . ' mt-gfpdf-merge-tag-selector-container"></span>';
1927
  wp_editor(
1928
- stripslashes( $value ),
1929
  'gfpdf_settings_' . $args['id'],
1930
  apply_filters(
1931
  'gfpdf_rich_editor_settings',
@@ -1940,7 +1940,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
1940
  );
1941
  $html .= ob_get_clean();
1942
  } else {
1943
- $html .= '<textarea class="large-text" rows="' . $rows . '" class="gfpdf_settings_' . $args['id'] . ' ' . $class . '" id="gfpdf_settings[' . $args['id'] . ']" name="gfpdf_settings[' . $args['id'] . ']">' . esc_textarea( stripslashes( $value ) ) . '</textarea>';
1944
  }
1945
 
1946
  /* Check if the field should include a toggle option */
@@ -1979,7 +1979,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
1979
  $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? esc_attr( $args['size'] ) : 'regular';
1980
 
1981
  $html = '<div class="gform-settings-description gform-kitchen-sink"><label for="gfpdf_settings[' . $args['id'] . ']"> ' . wp_kses_post( $args['desc'] ) . '</label></div>';
1982
- $html .= '<div class="gfpdf-upload-setting-container"><input type="text" class="' . $size . '-text gfpdf_settings_' . $args['id'] . ' ' . $class . '" id="gfpdf_settings[' . $args['id'] . ']" name="gfpdf_settings[' . $args['id'] . ']" value="' . esc_attr( stripslashes( $value ) ) . '" ' . $required . ' />';
1983
  $html .= '<input type="button" class="gfpdf_settings_upload_button button-secondary" data-uploader-title="' . $uploader_title . '" data-uploader-button-text="' . $uploader_button_text . '" value="' . $button_text . '" /></div>';
1984
  $html .= wp_kses_post( $args['desc2'] );
1985
 
@@ -2123,7 +2123,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
2123
  $input_data = ( isset( $args['data'] ) && is_array( $args['data'] ) ) ? $args['data'] : [];
2124
  $args['id'] = esc_attr( $args['id'] );
2125
 
2126
- $html = '<input type="hidden" id="gfpdf_settings[' . $args['id'] . ']" class="gfpdf_settings_' . $args['id'] . ' ' . $class . '" name="gfpdf_settings[' . $args['id'] . ']" value="' . esc_attr( stripslashes( $value ) ) . '"';
2127
 
2128
  foreach ( $input_data as $data_id => $data_value ) {
2129
  $html .= ' data-' . $data_id . '="' . esc_html( $data_value ) . '" ';
@@ -2157,8 +2157,8 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
2157
  $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? esc_attr( $args['size'] ) : 'regular';
2158
 
2159
  $html = '<div class="gform-settings-description gform-kitchen-sink"><label for="gfpdf_settings[' . esc_attr( $args['id'] ) . ']"> ' . wp_kses_post( $args['desc'] ) . '</label></div>';
2160
- $html .= esc_html__( 'Width', 'gravity-forms-pdf-extended' ) . ' <input type="number" class="' . $size . '-text gfpdf_settings_' . $args['id'] . '" id="gfpdf_settings[' . $args['id'] . ']_width" min="0" style="width: 6rem" name="gfpdf_settings[' . $args['id'] . '][]" value="' . esc_attr( stripslashes( $value[0] ) ) . '" /> &nbsp;';
2161
- $html .= esc_html__( 'Height', 'gravity-forms-pdf-extended' ) . ' <input type="number" class="' . $size . '-text gfpdf_settings_' . $args['id'] . '" id="gfpdf_settings[' . $args['id'] . ']_height" min="0" style="width: 6rem" name="gfpdf_settings[' . $args['id'] . '][]" value="' . esc_attr( stripslashes( $value[1] ) ) . '" /> &nbsp;';
2162
 
2163
  $measurement = apply_filters(
2164
  'gfpdf_paper_size_dimensions',
@@ -2170,7 +2170,7 @@ abstract class Helper_Abstract_Options implements Helper_Interface_Filters {
2170
 
2171
  $html .= ' <select id="gfpdf_settings[' . $args['id'] . ']_measurement" style="width: 6rem" class="gfpdf_settings_' . $args['id'] . ' ' . $class . '" name="gfpdf_settings[' . $args['id'] . '][]" data-placeholder="' . $placeholder . '">';
2172
 
2173
- $measure_value = esc_attr( stripslashes( $value[2] ) );
2174
  foreach ( $measurement as $key => $val ) {
2175
  $selected = ( $measure_value === $key ) ? 'selected="selected"' : '';
2176
  $html .= '<option value="' . $key . '" ' . $selected . '>' . $val . '</option>';
1615
 
1616
  $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? esc_attr( $args['size'] ) : 'regular';
1617
  $html = '<div class="gform-settings-description gform-kitchen-sink"><label for="gfpdf_settings[' . $args['id'] . ']"> ' . wp_kses_post( $args['desc'] ) . '</label></div>';
1618
+ $html .= '<input type="text" class="' . $size . '-text ' . $class . '" id="gfpdf_settings[' . $args['id'] . ']" class="gfpdf_settings_' . $args['id'] . '" name="gfpdf_settings[' . $args['id'] . ']" value="' . esc_attr( $value ) . '" ' . $required;
1619
 
1620
  foreach ( $input_data as $data_id => $data_value ) {
1621
  $html .= ' data-' . $data_id . '="' . esc_html( $data_value ) . '" ';
1657
  }
1658
 
1659
  $html .= '<label for="gfpdf_settings[' . esc_attr( $args['id'] ) . ']" class="screen-reader-text"> ' . esc_html( $args['name'] ) . ' ' . esc_html__( 'license key', 'gravity-forms-pdf-extended' ) . '</label>';
1660
+ $html .= '<input autocomplete="off" type="text" class="regular-text" id="gfpdf_settings[' . esc_attr( $args['id'] ) . ']" class="gfpdf_settings_' . esc_attr( $args['id'] ) . '" name="gfpdf_settings[' . esc_attr( $args['id'] ) . ']" value="' . esc_attr( $value['key'] ) . '" />';
1661
 
1662
  /* Add renewal info */
1663
  if ( $is_active ) {
1708
 
1709
  $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? esc_attr( $args['size'] ) : 'regular';
1710
  $html = '<div class="gform-settings-description gform-kitchen-sink"><label for="gfpdf_settings[' . $args['id'] . ']"> ' . wp_kses_post( $args['desc'] ) . '</label></div>';
1711
+ $html .= '<input type="number" step="' . esc_attr( $step ) . '" max="' . esc_attr( $max ) . '" min="' . esc_attr( $min ) . '" class="' . $size . '-text gfpdf_settings_' . $args['id'] . ' ' . $class . '" id="gfpdf_settings[' . $args['id'] . ']" name="gfpdf_settings[' . $args['id'] . ']" value="' . esc_attr( $value ) . '" ' . $required;
1712
 
1713
  foreach ( $input_data as $data_id => $data_value ) {
1714
  $html .= ' data-' . $data_id . '="' . esc_html( $data_value ) . '" ';
1748
  $html .= ' data-' . $data_id . '="' . esc_html( $data_value ) . '" ';
1749
  }
1750
 
1751
+ $html .= '>' . esc_textarea( $value ) . '</textarea>';
1752
 
1753
  /* Check if the field should include a toggle option */
1754
  $toggle = ( ! empty( $args['toggle'] ) ) ? $args['toggle'] : false;
1925
  ob_start();
1926
  echo '<span class="mt-gfpdf_settings_' . $args['id'] . ' mt-gfpdf-merge-tag-selector-container"></span>';
1927
  wp_editor(
1928
+ $value,
1929
  'gfpdf_settings_' . $args['id'],
1930
  apply_filters(
1931
  'gfpdf_rich_editor_settings',
1940
  );
1941
  $html .= ob_get_clean();
1942
  } else {
1943
+ $html .= '<textarea class="large-text" rows="' . $rows . '" class="gfpdf_settings_' . $args['id'] . ' ' . $class . '" id="gfpdf_settings[' . $args['id'] . ']" name="gfpdf_settings[' . $args['id'] . ']">' . esc_textarea( $value ) . '</textarea>';
1944
  }
1945
 
1946
  /* Check if the field should include a toggle option */
1979
  $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? esc_attr( $args['size'] ) : 'regular';
1980
 
1981
  $html = '<div class="gform-settings-description gform-kitchen-sink"><label for="gfpdf_settings[' . $args['id'] . ']"> ' . wp_kses_post( $args['desc'] ) . '</label></div>';
1982
+ $html .= '<div class="gfpdf-upload-setting-container"><input type="text" class="' . $size . '-text gfpdf_settings_' . $args['id'] . ' ' . $class . '" id="gfpdf_settings[' . $args['id'] . ']" name="gfpdf_settings[' . $args['id'] . ']" value="' . esc_attr( $value ) . '" ' . $required . ' />';
1983
  $html .= '<input type="button" class="gfpdf_settings_upload_button button-secondary" data-uploader-title="' . $uploader_title . '" data-uploader-button-text="' . $uploader_button_text . '" value="' . $button_text . '" /></div>';
1984
  $html .= wp_kses_post( $args['desc2'] );
1985
 
2123
  $input_data = ( isset( $args['data'] ) && is_array( $args['data'] ) ) ? $args['data'] : [];
2124
  $args['id'] = esc_attr( $args['id'] );
2125
 
2126
+ $html = '<input type="hidden" id="gfpdf_settings[' . $args['id'] . ']" class="gfpdf_settings_' . $args['id'] . ' ' . $class . '" name="gfpdf_settings[' . $args['id'] . ']" value="' . esc_attr( $value ) . '"';
2127
 
2128
  foreach ( $input_data as $data_id => $data_value ) {
2129
  $html .= ' data-' . $data_id . '="' . esc_html( $data_value ) . '" ';
2157
  $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? esc_attr( $args['size'] ) : 'regular';
2158
 
2159
  $html = '<div class="gform-settings-description gform-kitchen-sink"><label for="gfpdf_settings[' . esc_attr( $args['id'] ) . ']"> ' . wp_kses_post( $args['desc'] ) . '</label></div>';
2160
+ $html .= esc_html__( 'Width', 'gravity-forms-pdf-extended' ) . ' <input type="number" class="' . $size . '-text gfpdf_settings_' . $args['id'] . '" id="gfpdf_settings[' . $args['id'] . ']_width" min="0" style="width: 6rem" name="gfpdf_settings[' . $args['id'] . '][]" value="' . esc_attr( $value[0] ) . '" /> &nbsp;';
2161
+ $html .= esc_html__( 'Height', 'gravity-forms-pdf-extended' ) . ' <input type="number" class="' . $size . '-text gfpdf_settings_' . $args['id'] . '" id="gfpdf_settings[' . $args['id'] . ']_height" min="0" style="width: 6rem" name="gfpdf_settings[' . $args['id'] . '][]" value="' . esc_attr( $value[1] ) . '" /> &nbsp;';
2162
 
2163
  $measurement = apply_filters(
2164
  'gfpdf_paper_size_dimensions',
2170
 
2171
  $html .= ' <select id="gfpdf_settings[' . $args['id'] . ']_measurement" style="width: 6rem" class="gfpdf_settings_' . $args['id'] . ' ' . $class . '" name="gfpdf_settings[' . $args['id'] . '][]" data-placeholder="' . $placeholder . '">';
2172
 
2173
+ $measure_value = esc_attr( $value[2] );
2174
  foreach ( $measurement as $key => $val ) {
2175
  $selected = ( $measure_value === $key ) ? 'selected="selected"' : '';
2176
  $html .= '<option value="' . $key . '" ' . $selected . '>' . $val . '</option>';
src/Helper/Helper_Abstract_Pdf_Shortcode.php CHANGED
@@ -153,6 +153,25 @@ abstract class Helper_Abstract_Pdf_Shortcode extends Helper_Abstract_Model {
153
  return $settings;
154
  }
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  /**
157
  * Update our Gravity Forms "Text" Confirmation Shortcode to include the current entry ID
158
  *
@@ -163,25 +182,12 @@ abstract class Helper_Abstract_Pdf_Shortcode extends Helper_Abstract_Model {
163
  * @return string|array The confirmation text
164
  *
165
  * @since 4.0
 
 
 
166
  */
167
  public function gravitypdf_confirmation( $confirmation, $form, $entry ) {
168
-
169
- /**
170
- * Do nothing if WP_Error is passed
171
- *
172
- * This resolves a conflict with a third party GF plugin which was passing an error instead of the expected GF confirmation response
173
- *
174
- * @see https://github.com/GravityPDF/gravity-pdf/issues/999
175
- */
176
- if ( is_wp_error( $confirmation ) || is_wp_error( $form ) || is_wp_error( $entry ) ) {
177
- return $confirmation;
178
- }
179
-
180
- if ( isset( $form['confirmation']['type'] ) && $form['confirmation']['type'] === 'message' ) {
181
- $confirmation = $this->add_entry_id_to_shortcode( $confirmation, $entry['id'] );
182
- }
183
-
184
- return $confirmation;
185
  }
186
 
187
  /**
@@ -194,22 +200,13 @@ abstract class Helper_Abstract_Pdf_Shortcode extends Helper_Abstract_Model {
194
  * @return array The notification
195
  *
196
  * @since 4.0
 
 
 
197
  */
198
  public function gravitypdf_notification( $notification, $form, $entry ) {
199
-
200
- /**
201
- * Do nothing if WP_Error is passed
202
- *
203
- * This resolves a conflict with a third party GF plugin which was passing an error instead of the expected GF confirmation response
204
- *
205
- * @see https://github.com/GravityPDF/gravity-pdf/issues/999
206
- */
207
- if ( is_wp_error( $notification ) || is_wp_error( $entry ) || empty( $entry['id'] ) ) {
208
- return $notification;
209
- }
210
-
211
- if ( isset( $notification['message'] ) ) {
212
- $notification['message'] = $this->add_entry_id_to_shortcode( $notification['message'], $entry['id'] );
213
  }
214
 
215
  return $notification;
153
  return $settings;
154
  }
155
 
156
+ /**
157
+ * Auto-inject the entry ID into the [gravitypdf] shortcode when merge tags are processed
158
+ *
159
+ * @param string $html The text to be processed
160
+ * @param array $form The Gravity Form array
161
+ * @param array $entry The Gravity Form entry information
162
+ *
163
+ * @return string
164
+ *
165
+ * @since 6.3
166
+ */
167
+ public function gravitypdf_process_during_merge_tag_replacement( $html, $form, $entry ) {
168
+ if ( empty( $entry['id'] ) || ! is_string( $html ) ) {
169
+ return $html;
170
+ }
171
+
172
+ return $this->add_entry_id_to_shortcode( $html, $entry['id'] );
173
+ }
174
+
175
  /**
176
  * Update our Gravity Forms "Text" Confirmation Shortcode to include the current entry ID
177
  *
182
  * @return string|array The confirmation text
183
  *
184
  * @since 4.0
185
+ *
186
+ * @depecated 6.3. Processing handled automatically when merge tags processed
187
+ * @see Helper_Abstract_Pdf_Shortcode::gravitypdf_process_during_merge_tag_replacement()
188
  */
189
  public function gravitypdf_confirmation( $confirmation, $form, $entry ) {
190
+ return $this->gravitypdf_process_during_merge_tag_replacement( $confirmation, $form, $entry );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  }
192
 
193
  /**
200
  * @return array The notification
201
  *
202
  * @since 4.0
203
+ *
204
+ * @depecated 6.3. Processing handled automatically when merge tags processed
205
+ * @see Helper_Abstract_Pdf_Shortcode::gravitypdf_process_during_merge_tag_replacement()
206
  */
207
  public function gravitypdf_notification( $notification, $form, $entry ) {
208
+ if ( is_array( $notification ) && isset( $notification['message'] ) ) {
209
+ $notification['message'] = $this->gravitypdf_process_during_merge_tag_replacement( $notification['message'], $form, $entry );
 
 
 
 
 
 
 
 
 
 
 
 
210
  }
211
 
212
  return $notification;
src/Helper/Helper_PDF.php CHANGED
@@ -197,7 +197,7 @@ class Helper_PDF {
197
  $this->misc = $misc;
198
  $this->templates = $templates;
199
  $this->log = $log;
200
- $this->form = $this->gform->get_form( $entry['form_id'] );
201
 
202
  $this->set_path();
203
  }
197
  $this->misc = $misc;
198
  $this->templates = $templates;
199
  $this->log = $log;
200
+ $this->form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, 'initialize_pdf_class' );
201
 
202
  $this->set_path();
203
  }
src/Helper/Helper_PDF_List_Table.php CHANGED
@@ -171,12 +171,7 @@ class Helper_PDF_List_Table extends WP_List_Table {
171
  * @since 4.0
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 );
181
  echo '</tr>';
182
  }
171
  * @since 4.0
172
  */
173
  public function single_row( $item ) {
174
+ echo '<tr id="gfpdf-' . $item['id'] . '">';
 
 
 
 
 
175
  $this->single_row_columns( $item );
176
  echo '</tr>';
177
  }
src/Model/Model_Form_Settings.php CHANGED
@@ -147,7 +147,7 @@ class Model_Form_Settings extends Helper_Abstract_Model {
147
  'name' => $this->data->slug,
148
  'label' => $this->data->short_title,
149
  'query' => [ 'pid' => null ],
150
- 'icon' => 'dashicons-media-document',
151
  'capabilities' => [ 'gravityforms_edit_settings' ],
152
  ];
153
 
147
  'name' => $this->data->slug,
148
  'label' => $this->data->short_title,
149
  'query' => [ 'pid' => null ],
150
+ 'icon' => 'gform-icon--gravity-pdf',
151
  'capabilities' => [ 'gravityforms_edit_settings' ],
152
  ];
153
 
src/Model/Model_Mergetags.php CHANGED
@@ -244,4 +244,102 @@ class Model_Mergetags extends Helper_Abstract_Model {
244
 
245
  return $text;
246
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  }
244
 
245
  return $text;
246
  }
247
+
248
+ /**
249
+ * Add PDFs to the field map list
250
+ *
251
+ * @param array $fields
252
+ * @param int $form_id
253
+ *
254
+ * @return array
255
+ *
256
+ * @since 6.3
257
+ */
258
+ public function add_field_map_choices( $fields, $form_id, $field_type, $exclude_field_types ) {
259
+
260
+ /* Only add PDFs to choices if $fields contains the Entry Properties information */
261
+ if ( ! in_array( esc_html__( 'Entry Properties', 'gravityforms' ), array_column( $fields, 'label' ) ) ) {
262
+ return $fields;
263
+ }
264
+
265
+ $combined_choices = [];
266
+ $pdfs = $this->options->get_form_pdfs( $form_id );
267
+
268
+ if ( is_wp_error( $pdfs ) ) {
269
+ return $fields;
270
+ }
271
+
272
+ foreach ( $pdfs as $pdf ) {
273
+ /* Ignore inactive pdf template. */
274
+ if ( $pdf['active'] === false ) {
275
+ continue;
276
+ }
277
+
278
+ $combined_choices[] = [
279
+ 'label' => $pdf['name'],
280
+ 'value' => sprintf(
281
+ '{%s:pdf:%s}',
282
+ $pdf['name'],
283
+ $pdf['id']
284
+ ),
285
+ ];
286
+
287
+ $combined_choices[] = [
288
+ 'label' => $pdf['name'] . ' ' . __( 'Signed (+1 week)', 'gravity-forms-pdf-extended' ),
289
+ 'value' => sprintf(
290
+ '{%s:pdf:%s:signed,1 week}',
291
+ $pdf['name'],
292
+ $pdf['id']
293
+ ),
294
+ ];
295
+
296
+ $combined_choices[] = [
297
+ 'label' => $pdf['name'] . ' ' . __( 'Signed (+1 month)', 'gravity-forms-pdf-extended' ),
298
+ 'value' => sprintf(
299
+ '{%s:pdf:%s:signed,1 month}',
300
+ $pdf['name'],
301
+ $pdf['id']
302
+ ),
303
+ ];
304
+
305
+ $combined_choices[] = [
306
+ 'label' => $pdf['name'] . ' ' . __( 'Signed (+1 year)', 'gravity-forms-pdf-extended' ),
307
+ 'value' => sprintf(
308
+ '{%s:pdf:%s:signed,12 months}',
309
+ $pdf['name'],
310
+ $pdf['id']
311
+ ),
312
+ ];
313
+ }
314
+
315
+ if ( count( $combined_choices ) > 0 ) {
316
+ $fields[] = [
317
+ 'label' => __( 'PDF URLs', 'gravity-forms-pdf-extended' ),
318
+ 'choices' => $combined_choices,
319
+ ];
320
+ }
321
+
322
+ return $fields;
323
+ }
324
+
325
+ /**
326
+ * @param string $field_value
327
+ * @param array $form
328
+ * @param array $entry
329
+ * @param int $field_id
330
+ *
331
+ * @return string
332
+ *
333
+ * @since 6.3
334
+ */
335
+ public function process_field_value( $field_value, $form, $entry, $field_id ) {
336
+
337
+ if ( ! empty( $field_value ) || strpos( $field_id, ':pdf:' ) === false ) {
338
+ return $field_value;
339
+ }
340
+
341
+ $gform = \GPDFAPI::get_form_class();
342
+ return $gform->process_tags( $field_id, $gform->get_form( $form['id'] ), $gform->get_entry( $entry['id'] ) );
343
+ }
344
+
345
  }
src/Model/Model_PDF.php CHANGED
@@ -256,7 +256,7 @@ class Model_PDF extends Helper_Abstract_Model {
256
  */
257
  public function apply_backwards_compatibility_filters( $settings, $entry ) {
258
 
259
- $form = $this->gform->get_form( $entry['form_id'] );
260
 
261
  $settings['filename'] = $this->misc->remove_extension_from_string( apply_filters( 'gfpdfe_pdf_name', $settings['filename'], $form, $entry ) );
262
  $settings['template'] = $this->misc->remove_extension_from_string( apply_filters( 'gfpdfe_template', $settings['template'], $form, $entry ), '.php' );
@@ -664,7 +664,7 @@ class Model_PDF extends Helper_Abstract_Model {
664
  $args = [];
665
 
666
  /* Check if we have any PDFs */
667
- $form = $this->gform->get_form( $entry['form_id'] );
668
  $pdfs = ( isset( $form['gfpdf_form_settings'] ) ) ? $this->get_active_pdfs( $form['gfpdf_form_settings'], $entry ) : [];
669
 
670
  if ( ! empty( $pdfs ) ) {
@@ -703,7 +703,7 @@ class Model_PDF extends Helper_Abstract_Model {
703
  public function get_active_pdfs( $pdfs, $entry ) {
704
 
705
  $filtered = [];
706
- $form = $this->gform->get_form( $entry['form_id'] );
707
 
708
  foreach ( $pdfs as $pdf ) {
709
  if ( $pdf['active'] && ( empty( $pdf['conditionalLogic'] ) || $this->misc->evaluate_conditional_logic( $pdf['conditionalLogic'], $entry ) ) ) {
@@ -731,7 +731,7 @@ class Model_PDF extends Helper_Abstract_Model {
731
  */
732
  public function get_pdf_name( $settings, $entry ) {
733
 
734
- $form = $this->gform->get_form( $entry['form_id'] );
735
  $name = $this->gform->process_tags( $settings['filename'], $form, $entry );
736
 
737
  /* Decode HTML entities */
@@ -1034,7 +1034,7 @@ class Model_PDF extends Helper_Abstract_Model {
1034
  /* Get required parameters */
1035
  $entry = $pdf->get_entry();
1036
  $settings = $pdf->get_settings();
1037
- $form = $this->gform->get_form( $entry['form_id'] );
1038
 
1039
  do_action( 'gfpdf_pre_pdf_generation', $form, $entry, $settings, $pdf );
1040
 
@@ -1135,7 +1135,7 @@ class Model_PDF extends Helper_Abstract_Model {
1135
  return [];
1136
  }
1137
 
1138
- $form = $this->gform->get_form( $entry['form_id'] );
1139
 
1140
  if ( ! is_array( $form ) ) {
1141
  return [];
@@ -1259,7 +1259,7 @@ class Model_PDF extends Helper_Abstract_Model {
1259
  */
1260
  public function handle_legacy_tier_2_processing( Helper_PDF $pdf, $entry, $settings, $args ) {
1261
 
1262
- $form = $this->gform->get_form( $entry['form_id'] );
1263
 
1264
  $prevent_main_pdf_loader = apply_filters(
1265
  'gfpdfe_pre_load_template',
@@ -1770,7 +1770,7 @@ class Model_PDF extends Helper_Abstract_Model {
1770
 
1771
  if ( is_file( $pdf_path ) ) {
1772
  /* Add appropriate filters so developers can access the PDF when it is generated */
1773
- $form = $this->gform->get_form( $entry['form_id'] );
1774
  $filename = basename( $pdf_path );
1775
 
1776
  do_action( 'gfpdf_post_pdf_save', $form['id'], $entry['id'], $settings, $pdf_path ); /* Backwards compatibility */
@@ -1843,11 +1843,14 @@ class Model_PDF extends Helper_Abstract_Model {
1843
  * @internal In future we may give the option to cache PDFs to save on processing power
1844
  *
1845
  * @since 4.0
1846
- *
1847
- * @todo Add PDF caching support to make software more performant. Need to review correct triggers for a cleanup (API-based, UI actions, 3rd-party add-on compatibility)
1848
  */
1849
  public function cleanup_pdf( $entry, $form ) {
1850
 
 
 
 
 
 
1851
  $pdfs = ( isset( $form['gfpdf_form_settings'] ) ) ? $this->get_active_pdfs( $form['gfpdf_form_settings'], $entry ) : [];
1852
 
1853
  if ( count( $pdfs ) > 0 ) {
256
  */
257
  public function apply_backwards_compatibility_filters( $settings, $entry ) {
258
 
259
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
260
 
261
  $settings['filename'] = $this->misc->remove_extension_from_string( apply_filters( 'gfpdfe_pdf_name', $settings['filename'], $form, $entry ) );
262
  $settings['template'] = $this->misc->remove_extension_from_string( apply_filters( 'gfpdfe_template', $settings['template'], $form, $entry ), '.php' );
664
  $args = [];
665
 
666
  /* Check if we have any PDFs */
667
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
668
  $pdfs = ( isset( $form['gfpdf_form_settings'] ) ) ? $this->get_active_pdfs( $form['gfpdf_form_settings'], $entry ) : [];
669
 
670
  if ( ! empty( $pdfs ) ) {
703
  public function get_active_pdfs( $pdfs, $entry ) {
704
 
705
  $filtered = [];
706
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
707
 
708
  foreach ( $pdfs as $pdf ) {
709
  if ( $pdf['active'] && ( empty( $pdf['conditionalLogic'] ) || $this->misc->evaluate_conditional_logic( $pdf['conditionalLogic'], $entry ) ) ) {
731
  */
732
  public function get_pdf_name( $settings, $entry ) {
733
 
734
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
735
  $name = $this->gform->process_tags( $settings['filename'], $form, $entry );
736
 
737
  /* Decode HTML entities */
1034
  /* Get required parameters */
1035
  $entry = $pdf->get_entry();
1036
  $settings = $pdf->get_settings();
1037
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
1038
 
1039
  do_action( 'gfpdf_pre_pdf_generation', $form, $entry, $settings, $pdf );
1040
 
1135
  return [];
1136
  }
1137
 
1138
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
1139
 
1140
  if ( ! is_array( $form ) ) {
1141
  return [];
1259
  */
1260
  public function handle_legacy_tier_2_processing( Helper_PDF $pdf, $entry, $settings, $args ) {
1261
 
1262
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
1263
 
1264
  $prevent_main_pdf_loader = apply_filters(
1265
  'gfpdfe_pre_load_template',
1770
 
1771
  if ( is_file( $pdf_path ) ) {
1772
  /* Add appropriate filters so developers can access the PDF when it is generated */
1773
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
1774
  $filename = basename( $pdf_path );
1775
 
1776
  do_action( 'gfpdf_post_pdf_save', $form['id'], $entry['id'], $settings, $pdf_path ); /* Backwards compatibility */
1843
  * @internal In future we may give the option to cache PDFs to save on processing power
1844
  *
1845
  * @since 4.0
 
 
1846
  */
1847
  public function cleanup_pdf( $entry, $form ) {
1848
 
1849
+ /* Exit early if background processing is enabled */
1850
+ if ( $this->options->get_option( 'background_processing', 'No' ) === 'Yes' ) {
1851
+ return;
1852
+ }
1853
+
1854
  $pdfs = ( isset( $form['gfpdf_form_settings'] ) ) ? $this->get_active_pdfs( $form['gfpdf_form_settings'], $entry ) : [];
1855
 
1856
  if ( count( $pdfs ) > 0 ) {
src/View/View_PDF.php CHANGED
@@ -150,7 +150,7 @@ class View_PDF extends Helper_Abstract_View {
150
 
151
  $controller = $this->getController();
152
  $model = $controller->model;
153
- $form = $this->gform->get_form( $entry['form_id'] );
154
  $form = $this->add_gravity_perk_conditional_logic_date_support( $form );
155
 
156
  /**
@@ -369,7 +369,7 @@ class View_PDF extends Helper_Abstract_View {
369
  public function generate_html_structure( $entry, Helper_Abstract_Model $model, $config = [] ) {
370
 
371
  /* Set up required variables */
372
- $form = $this->gform->get_form( $entry['form_id'] );
373
  $products = new Field_Products( new GF_Field(), $entry, $this->gform, $this->misc );
374
  $page_number = 0;
375
 
@@ -613,7 +613,7 @@ class View_PDF extends Helper_Abstract_View {
613
  * @since 4.0
614
  */
615
  public function get_core_template_styles( $settings, $entry ) {
616
- $form = $this->gform->get_form( $entry['form_id'] );
617
 
618
  $html = $this->load_core_template_styles( $settings );
619
 
150
 
151
  $controller = $this->getController();
152
  $model = $controller->model;
153
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
154
  $form = $this->add_gravity_perk_conditional_logic_date_support( $form );
155
 
156
  /**
369
  public function generate_html_structure( $entry, Helper_Abstract_Model $model, $config = [] ) {
370
 
371
  /* Set up required variables */
372
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
373
  $products = new Field_Products( new GF_Field(), $entry, $this->gform, $this->misc );
374
  $page_number = 0;
375
 
613
  * @since 4.0
614
  */
615
  public function get_core_template_styles( $settings, $entry ) {
616
+ $form = apply_filters( 'gfpdf_current_form_object', $this->gform->get_form( $entry['form_id'] ), $entry, __FUNCTION__ );
617
 
618
  $html = $this->load_core_template_styles( $settings );
619
 
src/assets/languages/gravity-forms-pdf-extended.pot CHANGED
@@ -6,10 +6,7 @@ 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"
@@ -97,43 +94,43 @@ msgstr ""
97
  msgid "\"%s\" has been deprecated as of Gravity PDF 4.0"
98
  msgstr ""
99
 
100
- #: ../../bootstrap.php:308
101
  msgid "View Gravity PDF Settings"
102
  msgstr ""
103
 
104
- #: ../../bootstrap.php:308, ../../View/View_Settings.php:162
105
  msgid "Settings"
106
  msgstr ""
107
 
108
- #: ../../bootstrap.php:328
109
  msgid "View Gravity PDF Documentation"
110
  msgstr ""
111
 
112
- #: ../../bootstrap.php:328, ../../Helper/Helper_Abstract_Addon.php:641
113
  msgid "Docs"
114
  msgstr ""
115
 
116
- #: ../../bootstrap.php:329, ../../Helper/Helper_Abstract_Addon.php:644
117
  msgid "Get Help and Support"
118
  msgstr ""
119
 
120
- #: ../../bootstrap.php:329, ../../Helper/Helper_Abstract_Addon.php:644
121
  msgid "Support"
122
  msgstr ""
123
 
124
- #: ../../bootstrap.php:330
125
  msgid "View Gravity PDF Extensions Shop"
126
  msgstr ""
127
 
128
- #: ../../bootstrap.php:330, ../../View/View_Settings.php:189
129
  msgid "Extensions"
130
  msgstr ""
131
 
132
- #: ../../bootstrap.php:331
133
  msgid "View Gravity PDF Template Shop"
134
  msgstr ""
135
 
136
- #: ../../bootstrap.php:331, ../../Helper/Helper_Options_Fields.php:70
137
  msgid "Templates"
138
  msgstr ""
139
 
@@ -449,7 +446,7 @@ msgstr ""
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,15 +582,15 @@ msgstr ""
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,55 +1370,55 @@ msgstr ""
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
 
@@ -1469,6 +1466,22 @@ msgstr ""
1469
  msgid "There was a problem creating the %s directory. Ensure you have write permissions to your uploads folder."
1470
  msgstr ""
1471
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1472
  #: ../../Model/Model_PDF.php:365
1473
  msgid "The PDF configuration is not currently active."
1474
  msgstr ""
@@ -1493,7 +1506,7 @@ msgstr ""
1493
  msgid "The PDF could not be saved."
1494
  msgstr ""
1495
 
1496
- #: ../../Model/Model_PDF.php:2010
1497
  msgid "Could not find PDF configuration requested"
1498
  msgstr ""
1499
 
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
+ "POT-Creation-Date: 2022-05-12 22:51+0000\n"
 
 
 
10
  "X-Poedit-Basepath: ..\n"
11
  "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"
12
  "X-Poedit-SearchPath-0: .\n"
94
  msgid "\"%s\" has been deprecated as of Gravity PDF 4.0"
95
  msgstr ""
96
 
97
+ #: ../../bootstrap.php:309
98
  msgid "View Gravity PDF Settings"
99
  msgstr ""
100
 
101
+ #: ../../bootstrap.php:309, ../../View/View_Settings.php:162
102
  msgid "Settings"
103
  msgstr ""
104
 
105
+ #: ../../bootstrap.php:329
106
  msgid "View Gravity PDF Documentation"
107
  msgstr ""
108
 
109
+ #: ../../bootstrap.php:329, ../../Helper/Helper_Abstract_Addon.php:641
110
  msgid "Docs"
111
  msgstr ""
112
 
113
+ #: ../../bootstrap.php:330, ../../Helper/Helper_Abstract_Addon.php:644
114
  msgid "Get Help and Support"
115
  msgstr ""
116
 
117
+ #: ../../bootstrap.php:330, ../../Helper/Helper_Abstract_Addon.php:644
118
  msgid "Support"
119
  msgstr ""
120
 
121
+ #: ../../bootstrap.php:331
122
  msgid "View Gravity PDF Extensions Shop"
123
  msgstr ""
124
 
125
+ #: ../../bootstrap.php:331, ../../View/View_Settings.php:189
126
  msgid "Extensions"
127
  msgstr ""
128
 
129
+ #: ../../bootstrap.php:332
130
  msgid "View Gravity PDF Template Shop"
131
  msgstr ""
132
 
133
+ #: ../../bootstrap.php:332, ../../Helper/Helper_Options_Fields.php:70
134
  msgid "Templates"
135
  msgstr ""
136
 
446
  msgid "Could not find Gravity PDF Font"
447
  msgstr ""
448
 
449
+ #: ../../Helper/Helper_Abstract_Options.php:1068, ../../Helper/Helper_PDF_List_Table.php:299
450
  msgid "Copy"
451
  msgstr ""
452
 
582
  msgid "Cancel"
583
  msgstr ""
584
 
585
+ #: ../../Helper/Helper_Data.php:232, ../../Helper/Helper_PDF_List_Table.php:365
586
  msgid "Delete"
587
  msgstr ""
588
 
589
+ #: ../../Helper/Helper_Data.php:233, ../../Helper/Helper_PDF_List_Table.php:220, ../../Model/Model_Form_Settings.php:912
590
  msgid "Active"
591
  msgstr ""
592
 
593
+ #: ../../Helper/Helper_Data.php:234, ../../Helper/Helper_PDF_List_Table.php:223, ../../Model/Model_Form_Settings.php:865, ../../Model/Model_Form_Settings.php:912
594
  msgid "Inactive"
595
  msgstr ""
596
 
1370
  msgid "PDF List"
1371
  msgstr ""
1372
 
1373
+ #: ../../Helper/Helper_PDF_List_Table.php:245
1374
  msgid "None"
1375
  msgstr ""
1376
 
1377
+ #: ../../Helper/Helper_PDF_List_Table.php:284, ../../View/html/PDF/entry_list_pdf_single.php:23
1378
  msgid "Download PDF"
1379
  msgstr ""
1380
 
1381
+ #: ../../Helper/Helper_PDF_List_Table.php:287
1382
  msgid "Copy the %s PDF shortcode to the clipboard"
1383
  msgstr ""
1384
 
1385
+ #: ../../Helper/Helper_PDF_List_Table.php:306
1386
  msgid "Shortcode copied!"
1387
  msgstr ""
1388
 
1389
+ #: ../../Helper/Helper_PDF_List_Table.php:310
1390
  msgid "Copy Shortcode"
1391
  msgstr ""
1392
 
1393
+ #: ../../Helper/Helper_PDF_List_Table.php:302
1394
  msgid "Copied"
1395
  msgstr ""
1396
 
1397
+ #: ../../Helper/Helper_PDF_List_Table.php:363
1398
  msgid "Edit this PDF"
1399
  msgstr ""
1400
 
1401
+ #: ../../Helper/Helper_PDF_List_Table.php:363
1402
  msgid "Edit"
1403
  msgstr ""
1404
 
1405
+ #: ../../Helper/Helper_PDF_List_Table.php:364
1406
  msgid "Duplicate this PDF"
1407
  msgstr ""
1408
 
1409
+ #: ../../Helper/Helper_PDF_List_Table.php:364
1410
  msgid "Duplicate"
1411
  msgstr ""
1412
 
1413
+ #: ../../Helper/Helper_PDF_List_Table.php:365
1414
  msgid "Delete this PDF"
1415
  msgstr ""
1416
 
1417
+ #: ../../Helper/Helper_PDF_List_Table.php:373
1418
  msgid "%s PDF"
1419
  msgstr ""
1420
 
1421
+ #: ../../Helper/Helper_PDF_List_Table.php:403
1422
  msgid "This form doesn't have any PDFs. Let's go %1$screate one%2$s."
1423
  msgstr ""
1424
 
1466
  msgid "There was a problem creating the %s directory. Ensure you have write permissions to your uploads folder."
1467
  msgstr ""
1468
 
1469
+ #: ../../Model/Model_Mergetags.php:288
1470
+ msgid "Signed (+1 week)"
1471
+ msgstr ""
1472
+
1473
+ #: ../../Model/Model_Mergetags.php:297
1474
+ msgid "Signed (+1 month)"
1475
+ msgstr ""
1476
+
1477
+ #: ../../Model/Model_Mergetags.php:306
1478
+ msgid "Signed (+1 year)"
1479
+ msgstr ""
1480
+
1481
+ #: ../../Model/Model_Mergetags.php:317
1482
+ msgid "PDF URLs"
1483
+ msgstr ""
1484
+
1485
  #: ../../Model/Model_PDF.php:365
1486
  msgid "The PDF configuration is not currently active."
1487
  msgstr ""
1506
  msgid "The PDF could not be saved."
1507
  msgstr ""
1508
 
1509
+ #: ../../Model/Model_PDF.php:2013
1510
  msgid "Could not find PDF configuration requested"
1511
  msgstr ""
1512
 
src/assets/scss/Pages/_pdf-list.scss CHANGED
@@ -17,51 +17,58 @@
17
  }
18
 
19
  #tab_PDF {
20
-
21
  #gfpdf_list_form {
22
 
23
  .gfpdf-spinner {
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
  }
17
  }
18
 
19
  #tab_PDF {
 
20
  #gfpdf_list_form {
21
 
22
  .gfpdf-spinner {
23
  width: 20px;
24
  }
25
 
26
+ table {
27
+ tbody {
28
+ & > :nth-child(odd) {
29
+ background-color: #f6f7f7;
30
+ }
 
 
 
 
 
 
 
31
 
32
+ /* Modify the Gravity Forms 2.6 shortcode button version to fit in our PDF list table. */
33
+ td.column-shortcode {
34
+ .gform-button {
35
+ width: 100%;
36
+ text-align: center;
37
+ justify-content: center;
38
+ }
 
 
 
 
 
 
 
 
 
39
  }
40
 
41
+ .btn-shortcode + .gpdf-fallback-input {
42
+ display: none;
43
+ }
 
44
 
45
+ /* This supports Gravity Form version 2.5 or lower */
46
+ .btn-shortcode {
47
+ &.gf_2_5 {
48
+ margin-left: 0;
49
+ border-radius: 1px;
50
+ padding: 0.3rem 0.5rem;
51
+ white-space: normal;
52
+
53
+ &:before {
54
+ font-family: dashicons;
55
+ content: "\f150";
56
+ font-size: 1rem;
57
+ vertical-align: middle;
58
+ font-weight: 400;
59
+ padding-right: 0.2rem;
60
+ padding-bottom: 0.1rem;
61
+ }
62
+
63
+ &.btn-success,
64
+ &.toggle {
65
+ color: #080;
66
+ border-color: #080;
67
+
68
+ &:hover {
69
+ border-color: #080;
70
+ }
71
+ }
72
  }
73
  }
74
  }
src/bootstrap.php CHANGED
@@ -226,6 +226,7 @@ class Router implements Helper\Helper_Interface_Actions, Helper\Helper_Interface
226
  $this->check_system_status();
227
  $this->export();
228
  $this->webhooks();
 
229
 
230
  /* Add localisation support */
231
  $this->add_localization_support();
@@ -899,6 +900,16 @@ class Router implements Helper\Helper_Interface_Actions, Helper\Helper_Interface
899
  $this->singleton->add_class( $class );
900
  }
901
 
 
 
 
 
 
 
 
 
 
 
902
  /**
903
  * Detect any Gravity PDF messages and convert to Gravity Forms message system
904
  *
226
  $this->check_system_status();
227
  $this->export();
228
  $this->webhooks();
229
+ $this->zapier();
230
 
231
  /* Add localisation support */
232
  $this->add_localization_support();
900
  $this->singleton->add_class( $class );
901
  }
902
 
903
+ /**
904
+ * @since 6.3
905
+ */
906
+ public function zapier(): void {
907
+ $class = new Controller\Controller_Zapier();
908
+ $class->init();
909
+
910
+ $this->singleton->add_class( $class );
911
+ }
912
+
913
  /**
914
  * Detect any Gravity PDF messages and convert to Gravity Forms message system
915
  *
vendor/autoload.php CHANGED
@@ -2,6 +2,11 @@
2
 
3
  // autoload.php @generated by Composer
4
 
 
 
 
 
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
  return ComposerAutoloaderInitGravityPDFPlugin::getLoader();
2
 
3
  // autoload.php @generated by Composer
4
 
5
+ if (PHP_VERSION_ID < 50600) {
6
+ echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
7
+ exit(1);
8
+ }
9
+
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
  return ComposerAutoloaderInitGravityPDFPlugin::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -24,6 +24,7 @@ return array(
24
  'GFPDF\\Controller\\Controller_Uninstaller' => $baseDir . '/src/Controller/Controller_Uninstaller.php',
25
  'GFPDF\\Controller\\Controller_Upgrade_Routines' => $baseDir . '/src/Controller/Controller_Upgrade_Routines.php',
26
  'GFPDF\\Controller\\Controller_Webhooks' => $baseDir . '/src/Controller/Controller_Webhooks.php',
 
27
  'GFPDF\\Exceptions\\GravityPdfDatabaseUpdateException' => $baseDir . '/src/Exceptions/GravityPdfDatabaseUpdateException.php',
28
  'GFPDF\\Exceptions\\GravityPdfDomainException' => $baseDir . '/src/Exceptions/GravityPdfDomainException.php',
29
  'GFPDF\\Exceptions\\GravityPdfException' => $baseDir . '/src/Exceptions/GravityPdfException.php',
@@ -334,6 +335,7 @@ return array(
334
  'GFPDF_Vendor\\Monolog\\Handler\\SqsHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SqsHandler.php',
335
  'GFPDF_Vendor\\Monolog\\Handler\\StreamHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/StreamHandler.php',
336
  'GFPDF_Vendor\\Monolog\\Handler\\SwiftMailerHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SwiftMailerHandler.php',
 
337
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogHandler.php',
338
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogUdpHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdpHandler.php',
339
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogUdp\\UdpSocket' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php',
24
  'GFPDF\\Controller\\Controller_Uninstaller' => $baseDir . '/src/Controller/Controller_Uninstaller.php',
25
  'GFPDF\\Controller\\Controller_Upgrade_Routines' => $baseDir . '/src/Controller/Controller_Upgrade_Routines.php',
26
  'GFPDF\\Controller\\Controller_Webhooks' => $baseDir . '/src/Controller/Controller_Webhooks.php',
27
+ 'GFPDF\\Controller\\Controller_Zapier' => $baseDir . '/src/Controller/Controller_Zapier.php',
28
  'GFPDF\\Exceptions\\GravityPdfDatabaseUpdateException' => $baseDir . '/src/Exceptions/GravityPdfDatabaseUpdateException.php',
29
  'GFPDF\\Exceptions\\GravityPdfDomainException' => $baseDir . '/src/Exceptions/GravityPdfDomainException.php',
30
  'GFPDF\\Exceptions\\GravityPdfException' => $baseDir . '/src/Exceptions/GravityPdfException.php',
335
  'GFPDF_Vendor\\Monolog\\Handler\\SqsHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SqsHandler.php',
336
  'GFPDF_Vendor\\Monolog\\Handler\\StreamHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/StreamHandler.php',
337
  'GFPDF_Vendor\\Monolog\\Handler\\SwiftMailerHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SwiftMailerHandler.php',
338
+ 'GFPDF_Vendor\\Monolog\\Handler\\SymfonyMailerHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SymfonyMailerHandler.php',
339
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogHandler.php',
340
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogUdpHandler' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdpHandler.php',
341
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogUdp\\UdpSocket' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php',
vendor/composer/autoload_real.php CHANGED
@@ -29,7 +29,7 @@ class ComposerAutoloaderInitGravityPDFPlugin
29
  spl_autoload_unregister(array('ComposerAutoloaderInitGravityPDFPlugin', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- \Composer\Autoload\ComposerStaticInitGravityPDFPlugin::getInitializer($loader)();
33
 
34
  $loader->register(true);
35
 
29
  spl_autoload_unregister(array('ComposerAutoloaderInitGravityPDFPlugin', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInitGravityPDFPlugin::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
vendor/composer/autoload_static.php CHANGED
@@ -52,6 +52,7 @@ class ComposerStaticInitGravityPDFPlugin
52
  'GFPDF\\Controller\\Controller_Uninstaller' => __DIR__ . '/../..' . '/src/Controller/Controller_Uninstaller.php',
53
  'GFPDF\\Controller\\Controller_Upgrade_Routines' => __DIR__ . '/../..' . '/src/Controller/Controller_Upgrade_Routines.php',
54
  'GFPDF\\Controller\\Controller_Webhooks' => __DIR__ . '/../..' . '/src/Controller/Controller_Webhooks.php',
 
55
  'GFPDF\\Exceptions\\GravityPdfDatabaseUpdateException' => __DIR__ . '/../..' . '/src/Exceptions/GravityPdfDatabaseUpdateException.php',
56
  'GFPDF\\Exceptions\\GravityPdfDomainException' => __DIR__ . '/../..' . '/src/Exceptions/GravityPdfDomainException.php',
57
  'GFPDF\\Exceptions\\GravityPdfException' => __DIR__ . '/../..' . '/src/Exceptions/GravityPdfException.php',
@@ -362,6 +363,7 @@ class ComposerStaticInitGravityPDFPlugin
362
  'GFPDF_Vendor\\Monolog\\Handler\\SqsHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SqsHandler.php',
363
  'GFPDF_Vendor\\Monolog\\Handler\\StreamHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/StreamHandler.php',
364
  'GFPDF_Vendor\\Monolog\\Handler\\SwiftMailerHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SwiftMailerHandler.php',
 
365
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogHandler.php',
366
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogUdpHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdpHandler.php',
367
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogUdp\\UdpSocket' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php',
52
  'GFPDF\\Controller\\Controller_Uninstaller' => __DIR__ . '/../..' . '/src/Controller/Controller_Uninstaller.php',
53
  'GFPDF\\Controller\\Controller_Upgrade_Routines' => __DIR__ . '/../..' . '/src/Controller/Controller_Upgrade_Routines.php',
54
  'GFPDF\\Controller\\Controller_Webhooks' => __DIR__ . '/../..' . '/src/Controller/Controller_Webhooks.php',
55
+ 'GFPDF\\Controller\\Controller_Zapier' => __DIR__ . '/../..' . '/src/Controller/Controller_Zapier.php',
56
  'GFPDF\\Exceptions\\GravityPdfDatabaseUpdateException' => __DIR__ . '/../..' . '/src/Exceptions/GravityPdfDatabaseUpdateException.php',
57
  'GFPDF\\Exceptions\\GravityPdfDomainException' => __DIR__ . '/../..' . '/src/Exceptions/GravityPdfDomainException.php',
58
  'GFPDF\\Exceptions\\GravityPdfException' => __DIR__ . '/../..' . '/src/Exceptions/GravityPdfException.php',
363
  'GFPDF_Vendor\\Monolog\\Handler\\SqsHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SqsHandler.php',
364
  'GFPDF_Vendor\\Monolog\\Handler\\StreamHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/StreamHandler.php',
365
  'GFPDF_Vendor\\Monolog\\Handler\\SwiftMailerHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SwiftMailerHandler.php',
366
+ 'GFPDF_Vendor\\Monolog\\Handler\\SymfonyMailerHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SymfonyMailerHandler.php',
367
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogHandler.php',
368
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogUdpHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdpHandler.php',
369
  'GFPDF_Vendor\\Monolog\\Handler\\SyslogUdp\\UdpSocket' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php',
vendor/composer/installed.json CHANGED
@@ -393,17 +393,17 @@
393
  },
394
  {
395
  "name": "monolog/monolog",
396
- "version": "2.4.0",
397
- "version_normalized": "2.4.0.0",
398
  "source": {
399
  "type": "git",
400
  "url": "https://github.com/Seldaek/monolog.git",
401
- "reference": "d7fd7450628561ba697b7097d86db72662f54aef"
402
  },
403
  "dist": {
404
  "type": "zip",
405
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d7fd7450628561ba697b7097d86db72662f54aef",
406
- "reference": "d7fd7450628561ba697b7097d86db72662f54aef",
407
  "shasum": ""
408
  },
409
  "require": {
@@ -416,18 +416,23 @@
416
  "require-dev": {
417
  "aws/aws-sdk-php": "^2.4.9 || ^3.0",
418
  "doctrine/couchdb": "~1.0@dev",
419
- "elasticsearch/elasticsearch": "^7",
 
420
  "graylog2/gelf-php": "^1.4.2",
 
 
421
  "mongodb/mongodb": "^1.8",
422
  "php-amqplib/php-amqplib": "~2.4 || ^3",
423
  "php-console/php-console": "^3.1.3",
424
- "phpspec/prophecy": "^1.6.1",
425
  "phpstan/phpstan": "^0.12.91",
426
- "phpunit/phpunit": "^8.5",
427
  "predis/predis": "^1.1",
428
  "rollbar/rollbar": "^1.3 || ^2 || ^3",
429
- "ruflin/elastica": ">=0.90@dev",
430
- "swiftmailer/swiftmailer": "^5.3|^6.0"
 
 
431
  },
432
  "suggest": {
433
  "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
@@ -446,7 +451,7 @@
446
  "rollbar/rollbar": "Allow sending log messages to Rollbar",
447
  "ruflin/elastica": "Allow sending log messages to an Elastic Search server"
448
  },
449
- "time": "2022-03-14T12:44:37+00:00",
450
  "type": "library",
451
  "extra": {
452
  "branch-alias": {
@@ -479,7 +484,7 @@
479
  ],
480
  "support": {
481
  "issues": "https://github.com/Seldaek/monolog/issues",
482
- "source": "https://github.com/Seldaek/monolog/tree/2.4.0"
483
  },
484
  "funding": [
485
  {
393
  },
394
  {
395
  "name": "monolog/monolog",
396
+ "version": "2.6.0",
397
+ "version_normalized": "2.6.0.0",
398
  "source": {
399
  "type": "git",
400
  "url": "https://github.com/Seldaek/monolog.git",
401
+ "reference": "247918972acd74356b0a91dfaa5adcaec069b6c0"
402
  },
403
  "dist": {
404
  "type": "zip",
405
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/247918972acd74356b0a91dfaa5adcaec069b6c0",
406
+ "reference": "247918972acd74356b0a91dfaa5adcaec069b6c0",
407
  "shasum": ""
408
  },
409
  "require": {
416
  "require-dev": {
417
  "aws/aws-sdk-php": "^2.4.9 || ^3.0",
418
  "doctrine/couchdb": "~1.0@dev",
419
+ "elasticsearch/elasticsearch": "^7 || ^8",
420
+ "ext-json": "*",
421
  "graylog2/gelf-php": "^1.4.2",
422
+ "guzzlehttp/guzzle": "^7.4",
423
+ "guzzlehttp/psr7": "^2.2",
424
  "mongodb/mongodb": "^1.8",
425
  "php-amqplib/php-amqplib": "~2.4 || ^3",
426
  "php-console/php-console": "^3.1.3",
427
+ "phpspec/prophecy": "^1.15",
428
  "phpstan/phpstan": "^0.12.91",
429
+ "phpunit/phpunit": "^8.5.14",
430
  "predis/predis": "^1.1",
431
  "rollbar/rollbar": "^1.3 || ^2 || ^3",
432
+ "ruflin/elastica": "^7",
433
+ "swiftmailer/swiftmailer": "^5.3|^6.0",
434
+ "symfony/mailer": "^5.4 || ^6",
435
+ "symfony/mime": "^5.4 || ^6"
436
  },
437
  "suggest": {
438
  "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
451
  "rollbar/rollbar": "Allow sending log messages to Rollbar",
452
  "ruflin/elastica": "Allow sending log messages to an Elastic Search server"
453
  },
454
+ "time": "2022-05-10T09:36:00+00:00",
455
  "type": "library",
456
  "extra": {
457
  "branch-alias": {
484
  ],
485
  "support": {
486
  "issues": "https://github.com/Seldaek/monolog/issues",
487
+ "source": "https://github.com/Seldaek/monolog/tree/2.6.0"
488
  },
489
  "funding": [
490
  {
vendor/composer/installed.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php return array(
2
  'root' => array(
3
- 'pretty_version' => '6.2.1',
4
- 'version' => '6.2.1.0',
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => 'ca74626e68cc47355d206bae87688e270ed20121',
9
  'name' => 'gravitypdf/gravitypdf',
10
  'dev' => false,
11
  ),
@@ -20,12 +20,12 @@
20
  'dev_requirement' => false,
21
  ),
22
  'gravitypdf/gravitypdf' => array(
23
- 'pretty_version' => '6.2.1',
24
- 'version' => '6.2.1.0',
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
- 'reference' => 'ca74626e68cc47355d206bae87688e270ed20121',
29
  'dev_requirement' => false,
30
  ),
31
  'league/uri' => array(
@@ -65,12 +65,12 @@
65
  'dev_requirement' => false,
66
  ),
67
  'monolog/monolog' => array(
68
- 'pretty_version' => '2.4.0',
69
- 'version' => '2.4.0.0',
70
  'type' => 'library',
71
  'install_path' => __DIR__ . '/../monolog/monolog',
72
  'aliases' => array(),
73
- 'reference' => 'd7fd7450628561ba697b7097d86db72662f54aef',
74
  'dev_requirement' => false,
75
  ),
76
  'mpdf/mpdf' => array(
1
  <?php return array(
2
  'root' => array(
3
+ 'pretty_version' => '6.3.0',
4
+ 'version' => '6.3.0.0',
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '416d94f266ef0aa8a073f901807c625872c0d51a',
9
  'name' => 'gravitypdf/gravitypdf',
10
  'dev' => false,
11
  ),
20
  'dev_requirement' => false,
21
  ),
22
  'gravitypdf/gravitypdf' => array(
23
+ 'pretty_version' => '6.3.0',
24
+ 'version' => '6.3.0.0',
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
+ 'reference' => '416d94f266ef0aa8a073f901807c625872c0d51a',
29
  'dev_requirement' => false,
30
  ),
31
  'league/uri' => array(
65
  'dev_requirement' => false,
66
  ),
67
  'monolog/monolog' => array(
68
+ 'pretty_version' => '2.6.0',
69
+ 'version' => '2.6.0.0',
70
  'type' => 'library',
71
  'install_path' => __DIR__ . '/../monolog/monolog',
72
  'aliases' => array(),
73
+ 'reference' => '247918972acd74356b0a91dfaa5adcaec069b6c0',
74
  'dev_requirement' => false,
75
  ),
76
  'mpdf/mpdf' => array(
vendor_prefixed/monolog/src/Monolog/Attribute/AsMonologProcessor.php CHANGED
@@ -22,12 +22,21 @@ namespace GFPDF_Vendor\Monolog\Attribute;
22
  #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
23
  class AsMonologProcessor
24
  {
 
 
 
 
 
 
25
  /**
26
  * @param string|null $channel The logging channel the processor should be pushed to.
27
  * @param string|null $handler The handler the processor should be pushed to.
28
  * @param string|null $method The method that processes the records (if the attribute is used at the class level).
29
  */
30
- public function __construct(public ?string $channel = null, public ?string $handler = null, public ?string $method = null)
31
  {
 
 
 
32
  }
33
  }
22
  #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
23
  class AsMonologProcessor
24
  {
25
+ /** @var string|null */
26
+ public $channel = null;
27
+ /** @var string|null */
28
+ public $handler = null;
29
+ /** @var string|null */
30
+ public $method = null;
31
  /**
32
  * @param string|null $channel The logging channel the processor should be pushed to.
33
  * @param string|null $handler The handler the processor should be pushed to.
34
  * @param string|null $method The method that processes the records (if the attribute is used at the class level).
35
  */
36
+ public function __construct(?string $channel = null, ?string $handler = null, ?string $method = null)
37
  {
38
+ $this->channel = $channel;
39
+ $this->handler = $handler;
40
+ $this->method = $method;
41
  }
42
  }
vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php CHANGED
@@ -31,6 +31,8 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
31
  protected $ignoreEmptyContextAndExtra;
32
  /** @var bool */
33
  protected $includeStacktraces;
 
 
34
  /**
35
  * @param string|null $format The format of the message
36
  * @param string|null $dateFormat The format of the timestamp: one supported by DateTime::format
@@ -45,11 +47,12 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
45
  $this->includeStacktraces($includeStacktraces);
46
  parent::__construct($dateFormat);
47
  }
48
- public function includeStacktraces(bool $include = \true) : self
49
  {
50
  $this->includeStacktraces = $include;
51
  if ($this->includeStacktraces) {
52
  $this->allowInlineLineBreaks = \true;
 
53
  }
54
  return $this;
55
  }
@@ -175,8 +178,20 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
175
  }
176
  $str .= '): ' . $e->getMessage() . ' at ' . $e->getFile() . ':' . $e->getLine() . ')';
177
  if ($this->includeStacktraces) {
178
- $str .= "\n[stacktrace]\n" . $e->getTraceAsString() . "\n";
179
  }
180
  return $str;
181
  }
 
 
 
 
 
 
 
 
 
 
 
 
182
  }
31
  protected $ignoreEmptyContextAndExtra;
32
  /** @var bool */
33
  protected $includeStacktraces;
34
+ /** @var ?callable */
35
+ protected $stacktracesParser;
36
  /**
37
  * @param string|null $format The format of the message
38
  * @param string|null $dateFormat The format of the timestamp: one supported by DateTime::format
47
  $this->includeStacktraces($includeStacktraces);
48
  parent::__construct($dateFormat);
49
  }
50
+ public function includeStacktraces(bool $include = \true, ?callable $parser = null) : self
51
  {
52
  $this->includeStacktraces = $include;
53
  if ($this->includeStacktraces) {
54
  $this->allowInlineLineBreaks = \true;
55
+ $this->stacktracesParser = $parser;
56
  }
57
  return $this;
58
  }
178
  }
179
  $str .= '): ' . $e->getMessage() . ' at ' . $e->getFile() . ':' . $e->getLine() . ')';
180
  if ($this->includeStacktraces) {
181
+ $str .= $this->stacktracesParser($e);
182
  }
183
  return $str;
184
  }
185
+ private function stacktracesParser(\Throwable $e) : string
186
+ {
187
+ $trace = $e->getTraceAsString();
188
+ if ($this->stacktracesParser) {
189
+ $trace = $this->stacktracesParserCustom($trace);
190
+ }
191
+ return "\n[stacktrace]\n" . $trace . "\n";
192
+ }
193
+ private function stacktracesParserCustom(string $trace) : string
194
+ {
195
+ return \implode("\n", \array_filter(\array_map($this->stacktracesParser, \explode("\n", $trace))));
196
+ }
197
  }
vendor_prefixed/monolog/src/Monolog/Handler/ElasticsearchHandler.php CHANGED
@@ -11,6 +11,7 @@ declare (strict_types=1);
11
  */
12
  namespace GFPDF_Vendor\Monolog\Handler;
13
 
 
14
  use Throwable;
15
  use RuntimeException;
16
  use GFPDF_Vendor\Monolog\Logger;
@@ -19,6 +20,8 @@ use GFPDF_Vendor\Monolog\Formatter\ElasticsearchFormatter;
19
  use InvalidArgumentException;
20
  use GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException as ElasticsearchRuntimeException;
21
  use GFPDF_Vendor\Elasticsearch\Client;
 
 
22
  /**
23
  * Elasticsearch handler
24
  *
@@ -43,7 +46,7 @@ use GFPDF_Vendor\Elasticsearch\Client;
43
  class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
44
  {
45
  /**
46
- * @var Client
47
  */
48
  protected $client;
49
  /**
@@ -51,11 +54,18 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
51
  */
52
  protected $options = [];
53
  /**
54
- * @param Client $client Elasticsearch Client object
55
- * @param mixed[] $options Handler configuration
56
  */
57
- public function __construct(\GFPDF_Vendor\Elasticsearch\Client $client, array $options = [], $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
 
 
 
 
 
58
  {
 
 
 
59
  parent::__construct($level, $bubble);
60
  $this->client = $client;
61
  $this->options = \array_merge([
@@ -65,6 +75,13 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
65
  // Elastic document type
66
  'ignore_error' => \false,
67
  ], $options);
 
 
 
 
 
 
 
68
  }
69
  /**
70
  * {@inheritDoc}
@@ -118,10 +135,11 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
118
  try {
119
  $params = ['body' => []];
120
  foreach ($records as $record) {
121
- $params['body'][] = ['index' => ['_index' => $record['_index'], '_type' => $record['_type']]];
122
  unset($record['_index'], $record['_type']);
123
  $params['body'][] = $record;
124
  }
 
125
  $responses = $this->client->bulk($params);
126
  if ($responses['errors'] === \true) {
127
  throw $this->createExceptionFromResponses($responses);
@@ -137,15 +155,18 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
137
  *
138
  * Only the first error is converted into an exception.
139
  *
140
- * @param mixed[] $responses returned by $this->client->bulk()
141
  */
142
- protected function createExceptionFromResponses(array $responses) : \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException
143
  {
144
  foreach ($responses['items'] ?? [] as $item) {
145
  if (isset($item['index']['error'])) {
146
  return $this->createExceptionFromError($item['index']['error']);
147
  }
148
  }
 
 
 
149
  return new \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException('Elasticsearch failed to index one or more records.');
150
  }
151
  /**
@@ -153,9 +174,12 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
153
  *
154
  * @param mixed[] $error
155
  */
156
- protected function createExceptionFromError(array $error) : \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException
157
  {
158
  $previous = isset($error['caused_by']) ? $this->createExceptionFromError($error['caused_by']) : null;
 
 
 
159
  return new \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException($error['type'] . ': ' . $error['reason'], 0, $previous);
160
  }
161
  }
11
  */
12
  namespace GFPDF_Vendor\Monolog\Handler;
13
 
14
+ use GFPDF_Vendor\Elastic\Elasticsearch\Response\Elasticsearch;
15
  use Throwable;
16
  use RuntimeException;
17
  use GFPDF_Vendor\Monolog\Logger;
20
  use InvalidArgumentException;
21
  use GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException as ElasticsearchRuntimeException;
22
  use GFPDF_Vendor\Elasticsearch\Client;
23
+ use GFPDF_Vendor\Elastic\Elasticsearch\Exception\InvalidArgumentException as ElasticInvalidArgumentException;
24
+ use GFPDF_Vendor\Elastic\Elasticsearch\Client as Client8;
25
  /**
26
  * Elasticsearch handler
27
  *
46
  class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
47
  {
48
  /**
49
+ * @var Client|Client8
50
  */
51
  protected $client;
52
  /**
54
  */
55
  protected $options = [];
56
  /**
57
+ * @var bool
 
58
  */
59
+ private $needsType;
60
+ /**
61
+ * @param Client|Client8 $client Elasticsearch Client object
62
+ * @param mixed[] $options Handler configuration
63
+ */
64
+ public function __construct($client, array $options = [], $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
65
  {
66
+ if (!$client instanceof \GFPDF_Vendor\Elasticsearch\Client && !$client instanceof \GFPDF_Vendor\Elastic\Elasticsearch\Client) {
67
+ throw new \TypeError('Elasticsearch\\Client or Elastic\\Elasticsearch\\Client instance required');
68
+ }
69
  parent::__construct($level, $bubble);
70
  $this->client = $client;
71
  $this->options = \array_merge([
75
  // Elastic document type
76
  'ignore_error' => \false,
77
  ], $options);
78
+ if ($client instanceof \GFPDF_Vendor\Elastic\Elasticsearch\Client || $client::VERSION[0] === '7') {
79
+ $this->needsType = \false;
80
+ // force the type to _doc for ES8/ES7
81
+ $this->options['type'] = '_doc';
82
+ } else {
83
+ $this->needsType = \true;
84
+ }
85
  }
86
  /**
87
  * {@inheritDoc}
135
  try {
136
  $params = ['body' => []];
137
  foreach ($records as $record) {
138
+ $params['body'][] = ['index' => $this->needsType ? ['_index' => $record['_index'], '_type' => $record['_type']] : ['_index' => $record['_index']]];
139
  unset($record['_index'], $record['_type']);
140
  $params['body'][] = $record;
141
  }
142
+ /** @var Elasticsearch */
143
  $responses = $this->client->bulk($params);
144
  if ($responses['errors'] === \true) {
145
  throw $this->createExceptionFromResponses($responses);
155
  *
156
  * Only the first error is converted into an exception.
157
  *
158
+ * @param mixed[]|Elasticsearch $responses returned by $this->client->bulk()
159
  */
160
+ protected function createExceptionFromResponses($responses) : \Throwable
161
  {
162
  foreach ($responses['items'] ?? [] as $item) {
163
  if (isset($item['index']['error'])) {
164
  return $this->createExceptionFromError($item['index']['error']);
165
  }
166
  }
167
+ if (\class_exists(\GFPDF_Vendor\Elastic\Elasticsearch\Exception\InvalidArgumentException::class)) {
168
+ return new \GFPDF_Vendor\Elastic\Elasticsearch\Exception\InvalidArgumentException('Elasticsearch failed to index one or more records.');
169
+ }
170
  return new \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException('Elasticsearch failed to index one or more records.');
171
  }
172
  /**
174
  *
175
  * @param mixed[] $error
176
  */
177
+ protected function createExceptionFromError(array $error) : \Throwable
178
  {
179
  $previous = isset($error['caused_by']) ? $this->createExceptionFromError($error['caused_by']) : null;
180
+ if (\class_exists(\GFPDF_Vendor\Elastic\Elasticsearch\Exception\InvalidArgumentException::class)) {
181
+ return new \GFPDF_Vendor\Elastic\Elasticsearch\Exception\InvalidArgumentException($error['type'] . ': ' . $error['reason'], 0, $previous);
182
+ }
183
  return new \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException($error['type'] . ': ' . $error['reason'], 0, $previous);
184
  }
185
  }
vendor_prefixed/monolog/src/Monolog/Handler/SwiftMailerHandler.php CHANGED
@@ -23,6 +23,7 @@ use GFPDF_Vendor\Swift;
23
  * @author Gyula Sallai
24
  *
25
  * @phpstan-import-type Record from \Monolog\Logger
 
26
  */
27
  class SwiftMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
28
  {
@@ -39,6 +40,7 @@ class SwiftMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
39
  public function __construct(\GFPDF_Vendor\Swift_Mailer $mailer, $message, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true)
40
  {
41
  parent::__construct($level, $bubble);
 
42
  $this->mailer = $mailer;
43
  $this->messageTemplate = $message;
44
  }
23
  * @author Gyula Sallai
24
  *
25
  * @phpstan-import-type Record from \Monolog\Logger
26
+ * @deprecated Since Monolog 2.6. Use SymfonyMailerHandler instead.
27
  */
28
  class SwiftMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
29
  {
40
  public function __construct(\GFPDF_Vendor\Swift_Mailer $mailer, $message, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true)
41
  {
42
  parent::__construct($level, $bubble);
43
+ @\trigger_error('The SwiftMailerHandler is deprecated since Monolog 2.6. Use SymfonyMailerHandler instead.', \E_USER_DEPRECATED);
44
  $this->mailer = $mailer;
45
  $this->messageTemplate = $message;
46
  }
vendor_prefixed/monolog/src/Monolog/Handler/SymfonyMailerHandler.php ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ declare (strict_types=1);
4
+ /*
5
+ * This file is part of the Monolog package.
6
+ *
7
+ * (c) Jordi Boggiano <j.boggiano@seld.be>
8
+ *
9
+ * For the full copyright and license information, please view the LICENSE
10
+ * file that was distributed with this source code.
11
+ */
12
+ namespace GFPDF_Vendor\Monolog\Handler;
13
+
14
+ use GFPDF_Vendor\Monolog\Logger;
15
+ use GFPDF_Vendor\Monolog\Utils;
16
+ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
17
+ use GFPDF_Vendor\Monolog\Formatter\LineFormatter;
18
+ use GFPDF_Vendor\Symfony\Component\Mailer\MailerInterface;
19
+ use GFPDF_Vendor\Symfony\Component\Mailer\Transport\TransportInterface;
20
+ use GFPDF_Vendor\Symfony\Component\Mime\Email;
21
+ /**
22
+ * SymfonyMailerHandler uses Symfony's Mailer component to send the emails
23
+ *
24
+ * @author Jordi Boggiano <j.boggiano@seld.be>
25
+ *
26
+ * @phpstan-import-type Record from \Monolog\Logger
27
+ */
28
+ class SymfonyMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
29
+ {
30
+ /** @var MailerInterface|TransportInterface */
31
+ protected $mailer;
32
+ /** @var Email|callable(string, Record[]): Email */
33
+ private $emailTemplate;
34
+ /**
35
+ * @psalm-param Email|callable(string, Record[]): Email $email
36
+ *
37
+ * @param MailerInterface|TransportInterface $mailer The mailer to use
38
+ * @param callable|Email $email An email template, the subject/body will be replaced
39
+ */
40
+ public function __construct($mailer, $email, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true)
41
+ {
42
+ parent::__construct($level, $bubble);
43
+ $this->mailer = $mailer;
44
+ $this->emailTemplate = $email;
45
+ }
46
+ /**
47
+ * {@inheritDoc}
48
+ */
49
+ protected function send(string $content, array $records) : void
50
+ {
51
+ $this->mailer->send($this->buildMessage($content, $records));
52
+ }
53
+ /**
54
+ * Gets the formatter for the Swift_Message subject.
55
+ *
56
+ * @param string|null $format The format of the subject
57
+ */
58
+ protected function getSubjectFormatter(?string $format) : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
59
+ {
60
+ return new \GFPDF_Vendor\Monolog\Formatter\LineFormatter($format);
61
+ }
62
+ /**
63
+ * Creates instance of Email to be sent
64
+ *
65
+ * @param string $content formatted email body to be sent
66
+ * @param array $records Log records that formed the content
67
+ *
68
+ * @phpstan-param Record[] $records
69
+ */
70
+ protected function buildMessage(string $content, array $records) : \GFPDF_Vendor\Symfony\Component\Mime\Email
71
+ {
72
+ $message = null;
73
+ if ($this->emailTemplate instanceof \GFPDF_Vendor\Symfony\Component\Mime\Email) {
74
+ $message = clone $this->emailTemplate;
75
+ } elseif (\is_callable($this->emailTemplate)) {
76
+ $message = ($this->emailTemplate)($content, $records);
77
+ }
78
+ if (!$message instanceof \GFPDF_Vendor\Symfony\Component\Mime\Email) {
79
+ $record = \reset($records);
80
+ throw new \InvalidArgumentException('Could not resolve message as instance of Email or a callable returning it' . ($record ? \GFPDF_Vendor\Monolog\Utils::getRecordMessageForException($record) : ''));
81
+ }
82
+ if ($records) {
83
+ $subjectFormatter = $this->getSubjectFormatter($message->getSubject());
84
+ $message->subject($subjectFormatter->format($this->getHighestRecord($records)));
85
+ }
86
+ if ($this->isHtmlBody($content)) {
87
+ if (null !== ($charset = $message->getHtmlCharset())) {
88
+ $message->html($content, $charset);
89
+ } else {
90
+ $message->html($content);
91
+ }
92
+ } else {
93
+ if (null !== ($charset = $message->getTextCharset())) {
94
+ $message->text($content, $charset);
95
+ } else {
96
+ $message->text($content);
97
+ }
98
+ }
99
+ return $message->date(new \DateTimeImmutable());
100
+ }
101
+ }
vendor_prefixed/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php CHANGED
@@ -21,19 +21,11 @@ class UdpSocket
21
  /** @var int */
22
  protected $port;
23
  /** @var resource|Socket|null */
24
- protected $socket;
25
  public function __construct(string $ip, int $port = 514)
26
  {
27
  $this->ip = $ip;
28
  $this->port = $port;
29
- $domain = \AF_INET;
30
- $protocol = \SOL_UDP;
31
- // Check if we are using unix sockets.
32
- if ($port === 0) {
33
- $domain = \AF_UNIX;
34
- $protocol = \IPPROTO_IP;
35
- }
36
- $this->socket = \socket_create($domain, \SOCK_DGRAM, $protocol) ?: null;
37
  }
38
  /**
39
  * @param string $line
@@ -51,12 +43,30 @@ class UdpSocket
51
  $this->socket = null;
52
  }
53
  }
54
- protected function send(string $chunk) : void
 
 
 
55
  {
56
- if (!\is_resource($this->socket) && !$this->socket instanceof \Socket) {
57
- throw new \RuntimeException('The UdpSocket to ' . $this->ip . ':' . $this->port . ' has been closed and can not be written to anymore');
58
  }
59
- \socket_sendto($this->socket, $chunk, \strlen($chunk), $flags = 0, $this->ip, $this->port);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
61
  protected function assembleMessage(string $line, string $header) : string
62
  {
21
  /** @var int */
22
  protected $port;
23
  /** @var resource|Socket|null */
24
+ protected $socket = null;
25
  public function __construct(string $ip, int $port = 514)
26
  {
27
  $this->ip = $ip;
28
  $this->port = $port;
 
 
 
 
 
 
 
 
29
  }
30
  /**
31
  * @param string $line
43
  $this->socket = null;
44
  }
45
  }
46
+ /**
47
+ * @return resource|Socket
48
+ */
49
+ protected function getSocket()
50
  {
51
+ if (null !== $this->socket) {
52
+ return $this->socket;
53
  }
54
+ $domain = \AF_INET;
55
+ $protocol = \SOL_UDP;
56
+ // Check if we are using unix sockets.
57
+ if ($this->port === 0) {
58
+ $domain = \AF_UNIX;
59
+ $protocol = \IPPROTO_IP;
60
+ }
61
+ $this->socket = \socket_create($domain, \SOCK_DGRAM, $protocol) ?: null;
62
+ if (null === $this->socket) {
63
+ throw new \RuntimeException('The UdpSocket to ' . $this->ip . ':' . $this->port . ' could not be opened via socket_create');
64
+ }
65
+ return $this->socket;
66
+ }
67
+ protected function send(string $chunk) : void
68
+ {
69
+ \socket_sendto($this->getSocket(), $chunk, \strlen($chunk), $flags = 0, $this->ip, $this->port);
70
  }
71
  protected function assembleMessage(string $line, string $header) : string
72
  {
vendor_prefixed/monolog/src/Monolog/Logger.php CHANGED
@@ -121,6 +121,10 @@ class Logger implements \Psr\Log\LoggerInterface, \GFPDF_Vendor\Monolog\Resettab
121
  * @var callable|null
122
  */
123
  protected $exceptionHandler;
 
 
 
 
124
  /**
125
  * @psalm-param array<callable(array): array> $processors
126
  *
@@ -247,33 +251,45 @@ class Logger implements \Psr\Log\LoggerInterface, \GFPDF_Vendor\Monolog\Resettab
247
  */
248
  public function addRecord(int $level, string $message, array $context = []) : bool
249
  {
250
- $record = null;
251
- foreach ($this->handlers as $handler) {
252
- if (null === $record) {
253
- // skip creating the record as long as no handler is going to handle it
254
- if (!$handler->isHandling(['level' => $level])) {
255
- continue;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  }
257
- $levelName = static::getLevelName($level);
258
- $record = ['message' => $message, 'context' => $context, 'level' => $level, 'level_name' => $levelName, 'channel' => $this->name, 'datetime' => new \GFPDF_Vendor\Monolog\DateTimeImmutable($this->microsecondTimestamps, $this->timezone), 'extra' => []];
259
  try {
260
- foreach ($this->processors as $processor) {
261
- $record = $processor($record);
262
  }
263
  } catch (\Throwable $e) {
264
  $this->handleException($e, $record);
265
  return \true;
266
  }
267
  }
268
- // once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
269
- try {
270
- if (\true === $handler->handle($record)) {
271
- break;
272
- }
273
- } catch (\Throwable $e) {
274
- $this->handleException($e, $record);
275
- return \true;
276
- }
277
  }
278
  return null !== $record;
279
  }
121
  * @var callable|null
122
  */
123
  protected $exceptionHandler;
124
+ /**
125
+ * @var int Keeps track of depth to prevent infinite logging loops
126
+ */
127
+ private $logDepth = 0;
128
  /**
129
  * @psalm-param array<callable(array): array> $processors
130
  *
251
  */
252
  public function addRecord(int $level, string $message, array $context = []) : bool
253
  {
254
+ $this->logDepth += 1;
255
+ if ($this->logDepth === 3) {
256
+ $this->warning('A possible infinite logging loop was detected and aborted. It appears some of your handler code is triggering logging, see the previous log record for a hint as to what may be the cause.');
257
+ return \false;
258
+ } elseif ($this->logDepth >= 5) {
259
+ // log depth 4 is let through so we can log the warning above
260
+ return \false;
261
+ }
262
+ try {
263
+ $record = null;
264
+ foreach ($this->handlers as $handler) {
265
+ if (null === $record) {
266
+ // skip creating the record as long as no handler is going to handle it
267
+ if (!$handler->isHandling(['level' => $level])) {
268
+ continue;
269
+ }
270
+ $levelName = static::getLevelName($level);
271
+ $record = ['message' => $message, 'context' => $context, 'level' => $level, 'level_name' => $levelName, 'channel' => $this->name, 'datetime' => new \GFPDF_Vendor\Monolog\DateTimeImmutable($this->microsecondTimestamps, $this->timezone), 'extra' => []];
272
+ try {
273
+ foreach ($this->processors as $processor) {
274
+ $record = $processor($record);
275
+ }
276
+ } catch (\Throwable $e) {
277
+ $this->handleException($e, $record);
278
+ return \true;
279
+ }
280
  }
281
+ // once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
 
282
  try {
283
+ if (\true === $handler->handle($record)) {
284
+ break;
285
  }
286
  } catch (\Throwable $e) {
287
  $this->handleException($e, $record);
288
  return \true;
289
  }
290
  }
291
+ } finally {
292
+ $this->logDepth--;
 
 
 
 
 
 
 
293
  }
294
  return null !== $record;
295
  }
vendor_prefixed/monolog/src/Monolog/Processor/IntrospectionProcessor.php CHANGED
@@ -80,7 +80,7 @@ class IntrospectionProcessor implements \GFPDF_Vendor\Monolog\Processor\Processo
80
  }
81
  $i += $this->skipStackFramesCount;
82
  // we should have the call source now
83
- $record['extra'] = \array_merge($record['extra'], ['file' => isset($trace[$i - 1]['file']) ? $trace[$i - 1]['file'] : null, 'line' => isset($trace[$i - 1]['line']) ? $trace[$i - 1]['line'] : null, 'class' => isset($trace[$i]['class']) ? $trace[$i]['class'] : null, 'function' => isset($trace[$i]['function']) ? $trace[$i]['function'] : null]);
84
  return $record;
85
  }
86
  /**
80
  }
81
  $i += $this->skipStackFramesCount;
82
  // we should have the call source now
83
+ $record['extra'] = \array_merge($record['extra'], ['file' => isset($trace[$i - 1]['file']) ? $trace[$i - 1]['file'] : null, 'line' => isset($trace[$i - 1]['line']) ? $trace[$i - 1]['line'] : null, 'class' => isset($trace[$i]['class']) ? $trace[$i]['class'] : null, 'callType' => isset($trace[$i]['type']) ? $trace[$i]['type'] : null, 'function' => isset($trace[$i]['function']) ? $trace[$i]['function'] : null]);
84
  return $record;
85
  }
86
  /**
vendor_prefixed/monolog/src/Monolog/Test/TestCase.php CHANGED
@@ -24,6 +24,13 @@ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
24
  */
25
  class TestCase extends \GFPDF_Vendor\PHPUnit\Framework\TestCase
26
  {
 
 
 
 
 
 
 
27
  /**
28
  * @param mixed[] $context
29
  *
24
  */
25
  class TestCase extends \GFPDF_Vendor\PHPUnit\Framework\TestCase
26
  {
27
+ public function tearDown() : void
28
+ {
29
+ parent::tearDown();
30
+ if (isset($this->handler)) {
31
+ unset($this->handler);
32
+ }
33
+ }
34
  /**
35
  * @param mixed[] $context
36
  *