Gravity PDF - Version 6.1.1

Version Description

  • Bug: Allow number field to show a thousand separator by using the 'gform_include_thousands_sep_pre_format_number' filter.
  • Bug: Fix PHP Notice when displaying Repeater field caused by processing field's not present in $form_data['field'] array key
  • Housekeeping: Add logging to file/directory cleanup method
  • Housekeeping: Add additional checks and logging when processing background tasks
Download this release

Release Info

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

Code changes from version 6.0.3 to 6.1.1

Files changed (153) hide show
  1. README.txt +14 -4
  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 +11 -11
  5. dist/assets/js/{chunk-0.b10f4e82b22c1ae2f616.js → chunk-0.8edcd532c90076289c8a.js} +4 -4
  6. dist/assets/js/{chunk-10.37420e890af7835a054d.js → chunk-10.35956ed01838b210014b.js} +1 -1
  7. dist/assets/js/{chunk-4.edfe66cefec156a603e6.js → chunk-4.3958577e9ba487662fcf.js} +1 -1
  8. dist/assets/js/{chunk-5.17f1520bfd98b4fd6ef2.js → chunk-5.f06953d68b59268254e5.js} +2 -2
  9. dist/assets/js/{chunk-6.92c470970cbebc716b25.js → chunk-6.6c41d7a031f41a494964.js} +2 -2
  10. dist/assets/js/{chunk-7.8372fab709561b6d1b31.js → chunk-7.9a1736bd0281c624aba5.js} +1 -1
  11. dist/assets/js/{chunk-8.6ad70cde0bdac6951f56.js → chunk-8.4d85e80b996f0e8e6163.js} +1 -1
  12. dist/assets/js/{chunk-9.63fc3295f246d2b91cbf.js → chunk-9.490ff386d143b3b668c9.js} +1 -1
  13. dist/assets/js/gfpdf-entries.min.js +1 -1
  14. pdf.php +2 -2
  15. src/Helper/Fields/Field_Number.php +1 -1
  16. src/Helper/Fields/Field_Radio.php +1 -1
  17. src/Helper/Fields/Field_Repeater.php +4 -1
  18. src/Helper/Helper_Misc.php +12 -1
  19. src/Helper/Helper_PDF_List_Table.php +22 -7
  20. src/Helper/Helper_Pdf_Queue.php +49 -33
  21. src/Statics/Queue_Callbacks.php +2 -0
  22. src/View/View_Settings.php +1 -4
  23. src/assets/languages/gravity-forms-pdf-extended.pot +26 -26
  24. src/assets/scss/MediaQueries/_min-1200.scss +7 -0
  25. src/assets/scss/Pages/_pdf-list.scss +73 -1
  26. vendor/autoload.php +0 -0
  27. vendor/composer/ClassLoader.php +102 -11
  28. vendor/composer/InstalledVersions.php +19 -6
  29. vendor/composer/LICENSE +0 -0
  30. vendor/composer/autoload_classmap.php +4 -0
  31. vendor/composer/autoload_namespaces.php +0 -0
  32. vendor/composer/autoload_psr4.php +0 -0
  33. vendor/composer/autoload_real.php +0 -0
  34. vendor/composer/autoload_static.php +4 -0
  35. vendor/composer/installed.json +109 -97
  36. vendor/composer/installed.php +34 -37
  37. vendor/composer/platform_check.php +0 -0
  38. vendor/paragonie/random_compat/LICENSE +0 -0
  39. vendor/paragonie/random_compat/composer.json +0 -0
  40. vendor/paragonie/random_compat/dist/random_compat.phar.pubkey +0 -0
  41. vendor/paragonie/random_compat/dist/random_compat.phar.pubkey.asc +0 -0
  42. vendor/paragonie/random_compat/lib/random.php +0 -0
  43. vendor/paragonie/random_compat/other/build_phar.php +0 -0
  44. vendor/paragonie/random_compat/psalm-autoload.php +0 -0
  45. vendor/paragonie/random_compat/psalm.xml +0 -0
  46. vendor/psr/http-message/CHANGELOG.md +0 -0
  47. vendor/psr/http-message/LICENSE +0 -0
  48. vendor/psr/http-message/README.md +0 -0
  49. vendor/psr/http-message/composer.json +0 -0
  50. vendor/psr/http-message/src/MessageInterface.php +0 -0
  51. vendor/psr/http-message/src/RequestInterface.php +0 -0
  52. vendor/psr/http-message/src/ResponseInterface.php +0 -0
  53. vendor/psr/http-message/src/ServerRequestInterface.php +0 -0
  54. vendor/psr/http-message/src/StreamInterface.php +0 -0
  55. vendor/psr/http-message/src/UploadedFileInterface.php +0 -0
  56. vendor/psr/http-message/src/UriInterface.php +0 -0
  57. vendor/psr/log/LICENSE +0 -0
  58. vendor/psr/log/Psr/Log/AbstractLogger.php +16 -16
  59. vendor/psr/log/Psr/Log/InvalidArgumentException.php +0 -0
  60. vendor/psr/log/Psr/Log/LogLevel.php +0 -0
  61. vendor/psr/log/Psr/Log/LoggerAwareInterface.php +0 -0
  62. vendor/psr/log/Psr/Log/LoggerAwareTrait.php +1 -1
  63. vendor/psr/log/Psr/Log/LoggerInterface.php +0 -0
  64. vendor/psr/log/Psr/Log/LoggerTrait.php +0 -0
  65. vendor/psr/log/Psr/Log/NullLogger.php +0 -0
  66. vendor/psr/log/Psr/Log/Test/DummyTest.php +0 -0
  67. vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php +0 -0
  68. vendor/psr/log/Psr/Log/Test/TestLogger.php +0 -0
  69. vendor/psr/log/README.md +0 -0
  70. vendor/psr/log/composer.json +1 -1
  71. vendor_prefixed/league/uri-components/src/Components/Authority.php +1 -3
  72. vendor_prefixed/league/uri-components/src/Components/Component.php +10 -8
  73. vendor_prefixed/league/uri-components/src/Components/DataPath.php +8 -3
  74. vendor_prefixed/league/uri-components/src/Components/Domain.php +8 -3
  75. vendor_prefixed/league/uri-components/src/Components/Fragment.php +1 -3
  76. vendor_prefixed/league/uri-components/src/Components/HierarchicalPath.php +8 -3
  77. vendor_prefixed/league/uri-components/src/Components/Host.php +16 -81
  78. vendor_prefixed/league/uri-components/src/Components/Path.php +8 -3
  79. vendor_prefixed/league/uri-components/src/Components/Port.php +1 -3
  80. vendor_prefixed/league/uri-components/src/Components/Query.php +1 -3
  81. vendor_prefixed/league/uri-components/src/Components/Scheme.php +1 -3
  82. vendor_prefixed/league/uri-components/src/Components/UserInfo.php +1 -3
  83. vendor_prefixed/league/uri-components/src/Exceptions/IPv4CalculatorMissing.php +1 -3
  84. vendor_prefixed/league/uri-components/src/Exceptions/OffsetOutOfBounds.php +1 -3
  85. vendor_prefixed/league/uri-components/src/IPv4Calculators/BCMathCalculator.php +1 -3
  86. vendor_prefixed/league/uri-components/src/IPv4Calculators/GMPCalculator.php +1 -3
  87. vendor_prefixed/league/uri-components/src/IPv4Calculators/IPv4Calculator.php +1 -3
  88. vendor_prefixed/league/uri-components/src/IPv4Calculators/NativeCalculator.php +1 -3
  89. vendor_prefixed/league/uri-components/src/IPv4Normalizer.php +1 -3
  90. vendor_prefixed/league/uri-components/src/QueryString.php +9 -4
  91. vendor_prefixed/league/uri-components/src/UriModifier.php +1 -3
  92. vendor_prefixed/league/uri-interfaces/src/Exceptions/IdnaConversionFailed.php +36 -0
  93. vendor_prefixed/league/uri-interfaces/src/Idna/Idna.php +172 -0
  94. vendor_prefixed/league/uri-interfaces/src/Idna/IdnaInfo.php +78 -0
  95. vendor_prefixed/league/uri/src/Uri.php +18 -86
  96. vendor_prefixed/league/uri/src/UriString.php +5 -79
  97. vendor_prefixed/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php +2 -1
  98. vendor_prefixed/monolog/src/Monolog/ErrorHandler.php +58 -23
  99. vendor_prefixed/monolog/src/Monolog/Formatter/ChromePHPFormatter.php +4 -2
  100. vendor_prefixed/monolog/src/Monolog/Formatter/ElasticaFormatter.php +7 -3
  101. vendor_prefixed/monolog/src/Monolog/Formatter/ElasticsearchFormatter.php +5 -5
  102. vendor_prefixed/monolog/src/Monolog/Formatter/FlowdockFormatter.php +6 -2
  103. vendor_prefixed/monolog/src/Monolog/Formatter/FormatterInterface.php +6 -0
  104. vendor_prefixed/monolog/src/Monolog/Formatter/GelfMessageFormatter.php +25 -16
  105. vendor_prefixed/monolog/src/Monolog/Formatter/HtmlFormatter.php +5 -2
  106. vendor_prefixed/monolog/src/Monolog/Formatter/JsonFormatter.php +23 -4
  107. vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php +18 -4
  108. vendor_prefixed/monolog/src/Monolog/Formatter/LogstashFormatter.php +2 -2
  109. vendor_prefixed/monolog/src/Monolog/Formatter/MongoDBFormatter.php +38 -20
  110. vendor_prefixed/monolog/src/Monolog/Formatter/NormalizerFormatter.php +15 -7
  111. vendor_prefixed/monolog/src/Monolog/Formatter/ScalarFormatter.php +8 -5
  112. vendor_prefixed/monolog/src/Monolog/Formatter/WildfireFormatter.php +14 -4
  113. vendor_prefixed/monolog/src/Monolog/Handler/AbstractHandler.php +18 -2
  114. vendor_prefixed/monolog/src/Monolog/Handler/AbstractProcessingHandler.php +12 -1
  115. vendor_prefixed/monolog/src/Monolog/Handler/AbstractSyslogHandler.php +7 -3
  116. vendor_prefixed/monolog/src/Monolog/Handler/AmqpHandler.php +6 -2
  117. vendor_prefixed/monolog/src/Monolog/Handler/BrowserConsoleHandler.php +26 -1
  118. vendor_prefixed/monolog/src/Monolog/Handler/BufferHandler.php +12 -6
  119. vendor_prefixed/monolog/src/Monolog/Handler/ChromePHPHandler.php +9 -6
  120. vendor_prefixed/monolog/src/Monolog/Handler/CouchDBHandler.php +4 -0
  121. vendor_prefixed/monolog/src/Monolog/Handler/CubeHandler.php +20 -9
  122. vendor_prefixed/monolog/src/Monolog/Handler/Curl/Util.php +1 -0
  123. vendor_prefixed/monolog/src/Monolog/Handler/DeduplicationHandler.php +14 -1
  124. vendor_prefixed/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php +1 -0
  125. vendor_prefixed/monolog/src/Monolog/Handler/DynamoDbHandler.php +6 -5
  126. vendor_prefixed/monolog/src/Monolog/Handler/ElasticaHandler.php +12 -7
  127. vendor_prefixed/monolog/src/Monolog/Handler/ElasticsearchHandler.php +9 -11
  128. vendor_prefixed/monolog/src/Monolog/Handler/ErrorLogHandler.php +11 -6
  129. vendor_prefixed/monolog/src/Monolog/Handler/FallbackGroupHandler.php +13 -2
  130. vendor_prefixed/monolog/src/Monolog/Handler/FilterHandler.php +29 -7
  131. vendor_prefixed/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php +4 -0
  132. vendor_prefixed/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php +15 -4
  133. vendor_prefixed/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php +7 -1
  134. vendor_prefixed/monolog/src/Monolog/Handler/FingersCrossedHandler.php +33 -9
  135. vendor_prefixed/monolog/src/Monolog/Handler/FirePHPHandler.php +18 -4
  136. vendor_prefixed/monolog/src/Monolog/Handler/FleepHookHandler.php +5 -3
  137. vendor_prefixed/monolog/src/Monolog/Handler/FlowdockHandler.php +7 -8
  138. vendor_prefixed/monolog/src/Monolog/Handler/FormattableHandlerTrait.php +2 -2
  139. vendor_prefixed/monolog/src/Monolog/Handler/GelfHandler.php +3 -5
  140. vendor_prefixed/monolog/src/Monolog/Handler/GroupHandler.php +9 -4
  141. vendor_prefixed/monolog/src/Monolog/Handler/Handler.php +2 -2
  142. vendor_prefixed/monolog/src/Monolog/Handler/HandlerInterface.php +9 -0
  143. vendor_prefixed/monolog/src/Monolog/Handler/HandlerWrapper.php +8 -8
  144. vendor_prefixed/monolog/src/Monolog/Handler/IFTTTHandler.php +8 -5
  145. vendor_prefixed/monolog/src/Monolog/Handler/InsightOpsHandler.php +1 -3
  146. vendor_prefixed/monolog/src/Monolog/Handler/LogEntriesHandler.php +1 -3
  147. vendor_prefixed/monolog/src/Monolog/Handler/LogglyHandler.php +3 -3
  148. vendor_prefixed/monolog/src/Monolog/Handler/LogmaticHandler.php +2 -4
  149. vendor_prefixed/monolog/src/Monolog/Handler/MailHandler.php +14 -4
  150. vendor_prefixed/monolog/src/Monolog/Handler/MandrillHandler.php +1 -3
  151. vendor_prefixed/monolog/src/Monolog/Handler/MongoDBHandler.php +3 -2
  152. vendor_prefixed/monolog/src/Monolog/Handler/NativeMailerHandler.php +10 -12
  153. vendor_prefixed/monolog/src/Monolog/Handler/NewRelicHandler.php +2 -2
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.8
8
- Stable tag: 6.0.3
9
  Requires PHP: 7.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl.txt
@@ -54,7 +54,7 @@ Pay for additional PDF designs and functionality [from our online store](https:/
54
  * **On-screen Preview** – allow users to preview the PDF before form submission (and optionally payment) so they can see what the end result will be. This is a great feature for capturing e-signatures, selling PDF reports / certificates / gift cards, or providing an on-screen proof before the PDF is sent to the printers (perfect for business cards).
55
  * **Bulk Download** - search, filter, and select entries and then zip up all your PDFs and download all together in a convenient zip file
56
  * **GFChart** - create PDF reports that display pie, bar, or column charts with aggregate Gravity Forms data [using GFChart](https://gfchart.com).
57
- * 30-day refund guarantee – Purchase with confidence knowing when you buy a product from our store that you can get a refund within 30 days, for any reason.
58
 
59
  = Hire the Experts =
60
 
@@ -78,7 +78,7 @@ _Note: When Gravity Forms isn't installed and you activate Gravity PDF we displa
78
 
79
  == Installation ==
80
 
81
- Gravity PDF can be run on most shared web hosting without any issues. It requires **PHP 7.3+** and at least 128MB of WP Memory. You'll also need to be running WordPress 5.3+ and have [Gravity Forms 2.5+](https://rocketgenius.pxf.io/c/1211356/445235/7938) (affiliate link).
82
 
83
  [You'll find detailed installation instructions at docs.gravitypdf.com](https://docs.gravitypdf.com/v6/users/five-minute-install).
84
 
@@ -105,6 +105,16 @@ _If you aren't able to meet the v6 minimum requirements [you can download v5 whi
105
 
106
  == Changelog ==
107
 
 
 
 
 
 
 
 
 
 
 
108
  = 6.0.3 =
109
  * Bug: Reduce the Focus Gravity template column widths by a fraction to prevent edge-case display issues (props Hiwire Creative)
110
  * Bug: Fix Help page results text encoding problems
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.1.1
9
  Requires PHP: 7.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl.txt
54
  * **On-screen Preview** – allow users to preview the PDF before form submission (and optionally payment) so they can see what the end result will be. This is a great feature for capturing e-signatures, selling PDF reports / certificates / gift cards, or providing an on-screen proof before the PDF is sent to the printers (perfect for business cards).
55
  * **Bulk Download** - search, filter, and select entries and then zip up all your PDFs and download all together in a convenient zip file
56
  * **GFChart** - create PDF reports that display pie, bar, or column charts with aggregate Gravity Forms data [using GFChart](https://gfchart.com).
57
+ * **30-Day Refund Guarantee** – Purchase with confidence knowing when you buy a product from our store that you can get a refund within 30 days, for any reason.
58
 
59
  = Hire the Experts =
60
 
78
 
79
  == Installation ==
80
 
81
+ Gravity PDF can be run on most modern shared web hosting without any issues. It requires **PHP 7.3+** and at least 128MB of WP Memory. You'll also need to be running WordPress 5.3+ and have [Gravity Forms 2.5+](https://rocketgenius.pxf.io/c/1211356/445235/7938) (affiliate link).
82
 
83
  [You'll find detailed installation instructions at docs.gravitypdf.com](https://docs.gravitypdf.com/v6/users/five-minute-install).
84
 
105
 
106
  == Changelog ==
107
 
108
+ = 6.1.1 =
109
+ * Bug: Allow number field to show a thousand separator by using the 'gform_include_thousands_sep_pre_format_number' filter.
110
+ * Bug: Fix PHP Notice when displaying Repeater field caused by processing field's not present in `$form_data['field']` array key
111
+ * Housekeeping: Add logging to file/directory cleanup method
112
+ * Housekeeping: Add additional checks and logging when processing background tasks
113
+
114
+ = 6.1.0 =
115
+ * Feature: Add Copy to Clipboard feature for PDF Shortcode on the PDF List page
116
+ * Bug: Fix empty check on the Radio field so a zero (0) value is not considered empty
117
+
118
  = 6.0.3 =
119
  * Bug: Reduce the Focus Gravity template column widths by a fraction to prevent edge-case display issues (props Hiwire Creative)
120
  * Bug: Fix Help page results text encoding problems
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)}#tab_PDF #gfpdf_list_form .gfpdf-spinner{width:20px}#tab_PDF #gfpdf_list_form .check-column{width:6rem}#tab_PDF #gfpdf_list_form .check-column img{margin:-2px 0 0 8px}#tab_PDF .gform_settings_form button.add_field_choice,#tab_PDF .gform_settings_form button.delete_field_choice{max-width:18px;width:100%}#tab_PDF .gform_settings_form .all-merge-tags.textarea .tooltip-merge-tag{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzNlN2RhNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCAxMGgydjJIOHYtMnptNiAyaC0ydi0yaDJ2MnptMS42MzUtNi4yNUgxNHYtMS41aDEuNjM1Yy45MjYgMCAxLjYyNS40MyAyLjA1OCAxLjA5My40MDkuNjI1LjU1NyAxLjQxMi41NTcgMi4xNnYxLjA0M2MwIDEuMDU0LjY3MyAxLjY1NyAxLjI1IDEuNjU3bC43NS43NXYuMDMxbC0uNzUxLjc1Yy0uNTgtLjAwMS0xLjI0OS41OTMtMS4yNDkgMS42NDZ2MS42MDNjMCAuNzQzLS4xNDcgMS40NjctLjYyMyAyLjAwNS0uNDk0LjU1Ny0xLjIwNC43NjQtMS45OTIuNzY0SDE0di0xLjVoMS42MzVjLjU0IDAgLjc2Mi0uMTM4Ljg3LS4yNTkuMTIzLS4xNC4yNDUtLjQyNS4yNDUtMS4wMVYxMy4zOGMwLS45MTkuMzU3LTEuODE1Ljk3MS0yLjQxNC0uNjE1LS42MDMtLjk3MS0xLjUwNC0uOTcxLTIuNDJWNy41MDNjMC0uNTgtLjEyLTEuMDQ1LS4zMTItMS4zNC0uMTY3LS4yNTUtLjQwMS0uNDEzLS44MDMtLjQxM3ptLTkuMjcgMGMtLjg2IDAtMS42MTUuNzgyLTEuNjE1IDEuNzUzdjEuMDY0YzAgLjMxNyAwIC42NjgtLjAzNi45OTctLjAzNi4zMzgtLjExNi43MTMtLjMxNCAxLjA1N2ExLjk0NiAxLjk0NiAwIDAxLS4yNS4zNDVjLjA5My4xMDIuMTc3LjIxNS4yNS4zNDEuMTk4LjM0NC4yNzguNzE4LjMxNCAxLjA1Ni4wMzYuMzI4LjAzNi42NzguMDM2Ljk5NXYxLjYyNWMwIC40NDguMTY0LjczMi40MDEuOTIuMjU5LjIwNi42Ny4zNDggMS4yMTQuMzQ4SDcuNXYxLjVINi4zNjVjLS43ODQgMC0xLjU1NS0uMjAzLTIuMTQ3LS42NzQtLjYxNC0uNDg4LS45NjgtMS4yMTMtLjk2OC0yLjA5NHYtMS42MDRjMC0uMzQyIDAtLjYxNS0uMDI3LS44NTQtLjAyNi0uMjM2LS4wNy0uMzc4LS4xMjItLjQ2Ny0uMDU2LS4wOTYtLjIyLS4zMjUtMS4xMDEtLjMyNWwtLjc1LS43NXYtLjAzbC43NS0uNzVjLjg3OSAwIDEuMDQzLS4yMyAxLjEtLjMyOC4wNTItLjA5Mi4wOTctLjIzNi4xMjMtLjQ3My4wMjYtLjI0LjAyNy0uNTE0LjAyNy0uODU2VjcuNTAzYzAtMS42ODcgMS4zMTktMy4yNTMgMy4xMTUtMy4yNTNINy41djEuNUg2LjM2NXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIgY2xhc3M9Im5jLWljb24td3JhcHBlciIvPjwvZz48L3N2Zz4=);border:1px solid #3e7da6!important;border-radius:3px;height:2rem;width:2.25rem}#tab_PDF .gform_settings_form .all-merge-tags.textarea #gf_merge_tag_list{margin-right:.5rem}#tab_PDF .gform_settings_form .all-merge-tags.input #gf_merge_tag_list{right:0}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:4.125rem}@media only screen and (max-width:960px){#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container{display:flex;flex-direction:column}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list{width:85%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-800px}}@media only screen and (min-width:961px){#tab_PDF #pdfextended-settings .about-wrap #dashboard-widgets .postbox-container{width:49.5%}#tab_PDF #pdfextended-settings .about-wrap #dashboard-widgets .postbox-container a{margin-right:30px;min-height:90px;line-height:1.8em}}@media only screen and (min-width:961px)and (max-width:1200px){#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-450px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .buttons-icons-container{display:block}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .buttons-icons-container .select-delete-icons-container{margin-top:.5rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .msg.template-usage-link #template_usage_info_box{width:90%}}@media only screen and (min-width:1201px){#tab_PDF #gfpdf-settings-field-wrapper-font-container,#tab_PDF #gfpdf-settings-field-wrapper-template-container{display:flex}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-590px}}html[dir=rtl] #tab_PDF #gfpdf_settings\[default_font\],html[dir=rtl] #tab_PDF #gfpdf_settings\[font\]{margin:0 0 .2rem .2rem}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name,html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name{text-align:right}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-720px}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font.show{right:0}html[dir=rtl] #tab_PDF #gfpdf_settings\[default_template\],html[dir=rtl] #tab_PDF #gfpdf_settings\[template\]{margin:0 0 .2rem .2rem}html[dir=rtl] #tab_PDF .theme-wrap .theme-header h1{float:right;font-size:23px;font-weight:400;margin:0;padding:9px 2% 4px 0;line-height:1.3}html[dir=rtl] #tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-actions{left:0;right:inherit}html[dir=rtl] #tab_PDF .gfpdf-spinner-template{padding:10px 10px 0 0}html[dir=rtl] #tab_PDF .gfpdf-upload-setting-container input:first-of-type{border-bottom-left-radius:0;border-left:none;border-right:1px solid #9092b2;border-top-left-radius:0}html[dir=rtl] #tab_PDF .gfpdf-upload-setting-container input:last-of-type{border-radius:5px 0 0 5px}html[dir=rtl] #tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container .mt-gfpdf-merge-tag-selector-container{float:left}html[dir=rtl] #tab_PDF{font-family:system-ui}html[dir=rtl] #tab_PDF .gform-settings-panel__content .tablenav .alignleft{width:0}html[dir=rtl] #tab_PDF .gform-settings-panel__content .tablenav .actions{padding:0}html[dir=rtl] #tab_PDF .gform_settings_form .entry-view{margin-right:0}html[dir=rtl] #tab_PDF .gform_settings_form .entry-view label{float:right;margin-left:1rem;padding-top:.2rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator{margin:0 .375rem 0 0;padding:0 .375rem 0 1rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator svg{right:auto;left:.25rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator .gform-status-indicator-status{margin-left:.375rem}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag input[type=text],html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper input[type=text]{border-bottom-right-radius:0;border-top-right-radius:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag input[type=radio],html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper input[type=radio]{float:right;margin-top:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags{margin:0 0 0 .5rem}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags a.open-list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags a.open-list{border-radius:3px 0 0 3px}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags.textarea #gf_merge_tag_list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags.textarea #gf_merge_tag_list{margin-left:.5rem;right:unset;left:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags.input #gf_merge_tag_list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags.input #gf_merge_tag_list{right:unset;left:0}html[dir=rtl] #tab_PDF .gform_settings_form button.add_field_choice{margin-right:.625rem;margin-left:.25rem}html[dir=rtl] #tab_PDF .gform_settings_form button.delete_field_choice{margin-left:.25rem}html[dir=rtl] #tab_PDF .gform_settings_form span .select2-selection__rendered{padding-right:2rem}html[dir=rtl] #tab_PDF .gform_settings_form span .select2-container--open{position:unset!important}html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:0;margin-left:4.125rem}@media only screen and (max-width:960px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-800px}}@media only screen and (min-width:961px)and (max-width:1200px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-450px}}@media only screen and (min-width:1201px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-590px}}
1
+ div#adminmenuback{z-index:2}.wp-clearfix:after{content:unset}input[type=number]::-webkit-inner-spin-button{opacity:1}#tab_PDF .gf-notice{display:block}#tab_PDF #gpdf-advance-font-manager-selector,#tab_PDF #gpdf-advance-template-selector{display:inline-block;vertical-align:top}#tab_PDF #gpdf-advance-font-manager-selector button,#tab_PDF #gpdf-advance-template-selector button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455;line-height:2.95}#tab_PDF .wp-picker-container button{padding:0 0 0 35px;border:1px solid #9092b2;border-image:initial;height:auto}#tab_PDF .wp-picker-container button .wp-color-result-text{font-size:.875rem}#tab_PDF .wp-picker-container .wp-picker-input-wrap .button-small,#tab_PDF .wp-picker-container .wp-picker-input-wrap .button-small:hover{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455}#tab_PDF .wp-picker-container .wp-picker-input-wrap input[type=text]{width:5.25rem;font-size:1rem}#tab_PDF .gfpdf-core-font-counter{display:inline-block}#tab_PDF .gfpdf-core-font-list-results-container{border:1px solid #e3e6ef;border-radius:6px;box-shadow:0 1px 4px rgba(18,25,97,.0779552);margin-top:1rem;padding:.75rem;height:200px;overflow:auto;font-family:Courier New,Courier,monospace}#tab_PDF .gfpdf-core-font-list-results-container .gfpdf-core-font-status-success{color:#22a753}#tab_PDF .gfpdf-core-font-list-results-container .gfpdf-core-font-status-error{color:#dd301d}#tab_PDF #gfpdf_settings\[default_font\],#tab_PDF #gfpdf_settings\[font\]{margin:0 .2rem .2rem 0}#tab_PDF #gfpdf_pdf_form #gfpdf-settings-field-wrapper-font-container{display:flex}#tab_PDF #font-manager-overlay .font-manager{overflow:hidden}#tab_PDF #font-manager-overlay .font-manager .theme-about{background-color:#fff;bottom:0;padding:2% 4% 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;color:#242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .wp-filter-search{width:60%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .input-label-validation-error{border-color:#dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column{z-index:2;background-color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list{margin-top:1rem;overflow:auto;max-height:600px;box-shadow:0 1px 1px rgba(0,0,0,.04)}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .alert-message{border:0;text-align:center;margin:40px 0;box-shadow:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .alert-message .link{color:#0073aa;cursor:pointer;text-decoration:underline}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item{display:grid;grid-template-columns:4fr 1.5fr 1.5fr 1.5fr 2fr .75fr;gap:1rem;padding:.325rem 0;text-align:center}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name{text-align:left;word-break:break-all}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name .select-font-name,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name .select-font-name{width:1rem;height:1rem;margin-right:.5rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header{font-weight:600}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item{border-top:1px solid #d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item:hover{cursor:pointer;background:#d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item.active{background-color:#d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .font-list-item:focus{border:1px dotted #5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash{color:#5b5e80;text-align:center;transition:color .25s ease;margin-left:5px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash:focus,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-trash:hover{color:#dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-no-alt,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-yes{font-size:22px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-yes{color:#22a753}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-items .dashicons-no-alt{color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column{display:flex;position:relative;width:100%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column #gfpdf-add-font-name-input,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column #gfpdf-update-font-name-input{width:100%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .add-font{width:79%;margin-left:1px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{background-color:#fff;padding-right:.5rem;position:absolute;left:-720px;transition:.5s;width:100%;z-index:-1;width:80%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font.show{left:0;transition:.5s;z-index:1}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form h2{font-size:1.8em;margin:.5rem 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form h2+p{margin:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form label{display:block;margin-top:1rem;font-size:1rem;font-weight:600}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form label+p{margin:.325rem 0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .required{color:#b71f1f;font-size:.8rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting{display:grid;grid-template-columns:50% 50%;grid-template-rows:1fr 1fr;gap:1rem;margin:.75rem 0;width:96%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting a{color:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting a:focus{box-shadow:unset}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;border:5px dashed #d5d7e9;height:160px;transition:all .3s ease-out}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.active,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:hover{background-color:#d5d7e9;border:5px solid #d5d7e9}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.active .dashicons,#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:hover .dashicons{background-color:#fff;color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone:focus{outline:none;border:5px dashed #242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required{border:5px dashed #dd301d}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required .dashicons{background-color:#dd301d;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.required:focus{border-color:#242748}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone.error{background-color:#b71f1f;border-color:#b71f1f;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone input{display:none}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .gfpdf-font-filename{overflow:hidden;text-align:center}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .gfpdf-font-filename.required{color:#b71f1f}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons{width:70px;height:70px;margin:.675rem;background-color:#d5d7e9;border-radius:50%;font-size:3.2rem;color:#5b5e80;cursor:pointer}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons:before{margin-left:-1px;vertical-align:middle}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons-trash{font-size:2.9rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form #gfpdf-font-files-setting .drop-zone .dashicons-trash:before{margin-left:3px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer{padding-bottom:40px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container{display:grid;grid-template-columns:3fr 1fr}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .cancel button{margin-bottom:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .gfpdf-spinner{padding-left:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .button{height:35px;margin-right:8px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .select-delete-icons-container{justify-self:end}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .buttons-icons-container .select-delete-icons-container .dashicons{width:auto;height:auto}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons{border:1px solid #d5d7e9;border-radius:3px;margin-right:.3rem;padding:.4rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons:hover{cursor:pointer}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes:hover{background-color:#d5d7e9;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes.checked{background-color:#22a753;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-yes.checked:hover{background-color:#d5d7e9;color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-trash{color:#5b5e80}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .dashicons.dashicons-trash:hover{background-color:#dd301d;color:#fff}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg{display:block}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link{margin-top:1rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link a{color:#0073aa;cursor:pointer;text-decoration:underline}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link .dashicons{border:0;font-size:.9rem;margin-top:.2rem;padding:0}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link div{margin-left:1.6rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.template-usage-link #template_usage_info_box{color:#000;font-family:Courier New,Courier,monospace;font-size:.8rem;margin:.5rem 0 0 1.6rem;height:170px;width:80%;border:3px solid #aaa;border-radius:5px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.success{color:#22a753}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .footer .msg.error{color:#dd301d}.font-list-items-skeleton .font-list-item{border-top:1px solid #d5d7e9}.font-list-items-skeleton .font-list-item .placeholder{display:inline-block;background-color:#444;border-radius:100px;opacity:.1;animation:fading 1.5s infinite}.font-list-items-skeleton .font-list-item .placeholder.dashicons{background:unset}.font-list-items-skeleton .font-list-item .placeholder.dashicons.dashicons-yes{color:#22a753}.font-list-items-skeleton .font-list-item .placeholder.font-name{height:10px;margin:5px 0}@keyframes fading{0%{opacity:.1}50%{opacity:.2}to{opacity:.1}}#tab_PDF .gpdf-help h2{text-align:center;color:#242748;font-size:2.375rem;font-weight:400;margin:2.3125rem 0;padding:9px 0 4px;line-height:1.3}#tab_PDF .gpdf-help h2+p{width:80%;margin:0 auto;text-align:center;color:#242748;font-size:1.125rem;line-height:2rem}#tab_PDF .gpdf-help .about-text{text-align:center;margin-right:0;max-width:none;min-height:0;line-height:1.8em}#tab_PDF .gpdf-help .about-text .about-text-disclaimer{font-size:13px}#tab_PDF .gpdf-help #gpdf-action-links{margin:2.3125rem 0 0;text-align:center}#tab_PDF .gpdf-help #gpdf-action-links .button-large{background:#007cba;border:none;height:35px;line-height:33px;padding:0 17px 9px}#tab_PDF .gpdf-help #gpdf-action-links .button-large:hover{background:#0071a1}#tab_PDF .gpdf-help #gpdf-search{width:80%;margin:1.875rem auto 0}#tab_PDF .gpdf-help .ais-SearchBox-form{display:inline-block;position:relative;width:100%;height:3.0625rem;white-space:nowrap;box-sizing:border-box;margin:0 auto}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input{width:100%;background-color:#fff;-webkit-appearance:none;-moz-appearance:none;background:transparent;display:inline-block;-webkit-transition:box-shadow .4s ease,background .4s ease;transition:box-shadow .4s ease,background .4s ease;border:1px solid #d4d8e3;border-radius:4px;background:#fff;box-shadow:0 1px 1px 0 rgba(85,95,110,.2);padding:16px 16px 16px 46px;vertical-align:middle;white-space:normal;font-size:inherit;appearance:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-cancel-button,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-decoration,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-results-button,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-search-results-decoration{display:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:active,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:focus,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:hover{box-shadow:none;outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-webkit-input-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::-moz-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:-ms-input-placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input::placeholder{color:#9faab2}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit{position:absolute;top:0;right:inherit;left:0;margin:0;border:0;border-radius:4px 0 0 4px;background-color:hsla(0,0%,100%,0);padding-top:16px;width:46px;height:100%;vertical-align:middle;text-align:center;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:before{display:inline-block;margin-right:-4px;height:100%;vertical-align:middle;content:""}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:active,#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:hover{cursor:pointer}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit:focus{outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-submit svg{width:20px;height:20px;vertical-align:middle;fill:#bfc7d8}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset{display:none;position:absolute;top:13px;right:13px;margin:0;border:0;background:none;cursor:pointer;padding-top:8px;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#bfc7d8}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset:focus{outline:0}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-reset svg{display:block;margin:4px;width:16px;height:16px}#tab_PDF .gpdf-help .ais-SearchBox-form .ais-SearchBox-input:valid~.ais-SearchBox-reset{display:block;-webkit-animation-name:a;animation-name:a;-webkit-animation-duration:.25s;animation-duration:.25s}@keyframes a{0%{opacity:0}to{opacity:1}}#tab_PDF .gpdf-help .search-result:not(:empty){padding:1rem 1rem .8rem}#tab_PDF .gpdf-help .search-result:not(:empty) .group-name{color:#3e7da6;font-size:.85rem;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;top:0;z-index:10}#tab_PDF .gpdf-help .search-result:not(:empty) ul li{border-radius:4px;display:flex;padding-bottom:4px;position:relative}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a{background-color:#fff;border-radius:4px;box-shadow:0 1px 3px 0 #d4d9e1;display:block;width:100%;text-decoration:none}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover{background-color:#3e7da6}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-content-wrapper,#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-icon{color:#fff}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-content-wrapper .hit-path{color:#fff;text-overflow:ellipsis}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a:hover .hit-container .hit-action{color:#fff;display:flex}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container{align-items:center;color:#444950;display:flex;flex-direction:row;min-height:56px;padding-right:15px;padding-left:15px}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-icon{color:#969faf;height:20px;stroke-width:1.4;width:20px}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2rem;margin:0 8px;position:relative;text-overflow:ellipsis;width:80%}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper .hit-title{font-size:.9rem}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-content-wrapper .hit-path{color:#969faf;font-size:.75rem}#tab_PDF .gpdf-help .search-result:not(:empty) ul li a .hit-container .hit-action{align-items:center;color:#969faf;display:none;height:22px;stroke-width:1.4;width:22px}#tab_PDF form+form{margin-top:2rem}#tab_PDF .gfpdf-settings-field-wrapper:after{content:"";display:table;clear:both}#tab_PDF .gform_settings_form .gform-settings-panel--full{grid-column:span 2}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper{margin-bottom:1.25rem}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .gform-settings-panel__title{color:#23282d;font-size:.8125rem}#tab_PDF .gform_settings_form legend{font-size:.875rem;margin-bottom:.25rem}#tab_PDF .gform_settings_form .gform-settings-panel__header legend{margin-bottom:0}#tab_PDF .gform-settings-panel--collapsible .gform-settings-panel--full{grid-column:span 2}#tab_PDF .gfpdf-deactivate-license{margin-top:.5rem}#tab_PDF .gfpdf-settings-multicheck-wrapper{margin-bottom:.25rem}#tab_PDF .col-1-3 .gfpdf-settings-multicheck-wrapper{float:left;width:33%}#tab_PDF input[type=number].small-text{width:6rem}.theme-overlay .theme-backdrop{position:fixed;z-index:1}#tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container{display:block}#tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container .mt-gfpdf-merge-tag-selector-container{position:relative;float:right;top:3rem}#tab_PDF .wp-editor-wrap .wp-editor-tools button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455;margin:0}#tab_PDF .wp-editor-wrap .wp-editor-tools .wp-editor-tabs button{margin-left:5px}#tab_PDF .wp-editor-wrap .quicktags-toolbar .button{font-size:.9rem;padding:0 .75rem;height:auto;line-height:2.54545455}#tab_PDF .theme-wrap #gfpdf-template-container .wp-filter-search{margin:0 0 5px;font-size:1.1rem;font-weight:300;line-height:1.5;width:100%}#tab_PDF .gfpdf-spinner{padding:0 5px;vertical-align:middle;width:27px}#tab_PDF .gfpdf-spinner.add-update-font{width:20px;height:20px;padding:10px 0 0 10px}#tab_PDF .gfpdf-spinner.delete-font{width:17px;height:17px;padding:1px 0 0 8px}#tab_PDF .gfpdf-spinner-template{width:23px;height:23px;padding:10px 0 0 10px}#tab_PDF #gfpdf_list_form .gfpdf-spinner,#tab_PDF button .gfpdf-spinner{width:20px}#tab_PDF button .gfpdf-spinner{padding-right:0}#tab_PDF #gfpdf-button-wrapper-install_core_fonts .gfpdf-spinner{padding:5px}#tab_PDF #submit-and-promo-container{display:flex;justify-content:space-between;margin-top:.5rem;grid-column:span 2/auto}#tab_PDF #submit-and-promo-container .extensions-upsell{font-style:italic}#tab_PDF #gfpdf_settings\[default_template\],#tab_PDF #gfpdf_settings\[template\]{margin:0 .2rem .2rem 0}#tab_PDF #gfpdf_pdf_form #gfpdf-settings-field-wrapper-template-container{display:flex}#tab_PDF .theme-wrap .theme-header h1{float:left;padding-left:2%}#tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-author{display:block}#tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-actions{opacity:1;left:inherit;border-top:none;height:41px;padding:6px 3px 0;top:auto;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transform:none;transform:none;box-shadow:none}@-moz-keyframes gfpdfspin{to{-moz-transform:rotate(-1turn)}}@-webkit-keyframes gfpdfspin{to{-webkit-transform:rotate(-1turn)}}@keyframes gfpdfspin{to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:hover span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax span:after{font-family:dashicons;content:"";font-size:79px;background:none;width:auto;height:auto;left:51.5%;text-indent:0;-webkit-animation:gfpdfspin 1s linear infinite;animation:gfpdfspin 1s linear infinite}#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:focus span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme .doing-ajax:hover span:after,#tab_PDF .theme-wrap #gfpdf-template-container .theme.gfpdf-dropzone-active .doing-ajax span:after{color:#fff;background:none}#tab_PDF .theme-wrap #gfpdf-template-container .gfpdf-dropzone .dropzone .gfpdf-template-install-instructions{font-size:85%;text-align:center;margin-top:5px}#tab_PDF .theme-wrap #gfpdf-template-container .notice{border-color:#22a753}#tab_PDF .theme-wrap #gfpdf-template-container .notice.error{border-color:#dd301d;color:#000;margin:0;padding:1px 12px}#gfpdf-settings-field-wrapper-uninstaller .alert{margin:0}#tab_PDF .gfpdf-upload-setting-container{display:flex}#tab_PDF .gfpdf-upload-setting-container input:first-of-type{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}#tab_PDF .gfpdf-upload-setting-container input:last-of-type{background:#fdfdff;border:1px solid #9092b2;border-radius:0 5px 5px 0;height:2.75rem;margin-left:0}#tab_PDF .gfpdf-hidden{display:none}#tab_PDF .gform_settings_form .entry-view{margin-right:1rem}div.gf_entry_wrap div#gfpdf-entry-details-list .inside{margin:0;padding:0;max-height:18rem;overflow-y:auto}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_container{margin-bottom:.25rem;border-bottom:1px solid #ebebf2;padding:.5rem .75rem}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_container:last-of-type{border-bottom:none;margin-bottom:0}div.gf_entry_wrap div#gfpdf-entry-details-list .gfpdf_detailed_pdf_cta{color:#ddd}.gfpdf_form_action_has_submenu{position:relative;display:inline-block}.gfpdf_form_action_has_submenu.open .gform-form-toolbar__submenu{display:block;min-width:10rem;max-width:30rem}.gfpdf_form_action_has_submenu.open .gform-form-toolbar__submenu a:focus{box-shadow:inset 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.no-js #tab_PDF #gfpdf_list_form .btn-shortcode{display:none}.no-js #tab_PDF #gfpdf_list_form .btn-shortcode+.gpdf-fallback-input{display:block}#tab_PDF #gfpdf_list_form .gfpdf-spinner{width:20px}#tab_PDF #gfpdf_list_form .btn-shortcode{margin-left:0;border-radius:1px;padding:.3rem .5rem;white-space:normal}#tab_PDF #gfpdf_list_form .btn-shortcode:before{font-family:dashicons;content:"";font-size:1rem;vertical-align:middle;font-weight:400;padding-right:.2rem}#tab_PDF #gfpdf_list_form .btn-shortcode.btn-success,#tab_PDF #gfpdf_list_form .btn-shortcode.toggle{color:#080;border-color:#080}#tab_PDF #gfpdf_list_form .btn-shortcode.btn-success:hover,#tab_PDF #gfpdf_list_form .btn-shortcode.toggle:hover{border-color:#080}#tab_PDF #gfpdf_list_form .btn-shortcode+.gpdf-fallback-input{display:none}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input{display:block;position:absolute;right:2.7rem;margin-top:5px;width:45vw;z-index:1}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input:after{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #9092b2;content:"";position:absolute;top:-5px;right:1rem}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input input{font-size:12px;padding:0 .25rem;text-align:center}#tab_PDF #gfpdf_list_form .check-column{width:6rem}#tab_PDF #gfpdf_list_form .check-column img{margin:-2px 0 0 8px}#tab_PDF .gform_settings_form button.add_field_choice,#tab_PDF .gform_settings_form button.delete_field_choice{max-width:18px;width:100%}#tab_PDF .gform_settings_form .all-merge-tags.textarea .tooltip-merge-tag{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzNlN2RhNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCAxMGgydjJIOHYtMnptNiAyaC0ydi0yaDJ2MnptMS42MzUtNi4yNUgxNHYtMS41aDEuNjM1Yy45MjYgMCAxLjYyNS40MyAyLjA1OCAxLjA5My40MDkuNjI1LjU1NyAxLjQxMi41NTcgMi4xNnYxLjA0M2MwIDEuMDU0LjY3MyAxLjY1NyAxLjI1IDEuNjU3bC43NS43NXYuMDMxbC0uNzUxLjc1Yy0uNTgtLjAwMS0xLjI0OS41OTMtMS4yNDkgMS42NDZ2MS42MDNjMCAuNzQzLS4xNDcgMS40NjctLjYyMyAyLjAwNS0uNDk0LjU1Ny0xLjIwNC43NjQtMS45OTIuNzY0SDE0di0xLjVoMS42MzVjLjU0IDAgLjc2Mi0uMTM4Ljg3LS4yNTkuMTIzLS4xNC4yNDUtLjQyNS4yNDUtMS4wMVYxMy4zOGMwLS45MTkuMzU3LTEuODE1Ljk3MS0yLjQxNC0uNjE1LS42MDMtLjk3MS0xLjUwNC0uOTcxLTIuNDJWNy41MDNjMC0uNTgtLjEyLTEuMDQ1LS4zMTItMS4zNC0uMTY3LS4yNTUtLjQwMS0uNDEzLS44MDMtLjQxM3ptLTkuMjcgMGMtLjg2IDAtMS42MTUuNzgyLTEuNjE1IDEuNzUzdjEuMDY0YzAgLjMxNyAwIC42NjgtLjAzNi45OTctLjAzNi4zMzgtLjExNi43MTMtLjMxNCAxLjA1N2ExLjk0NiAxLjk0NiAwIDAxLS4yNS4zNDVjLjA5My4xMDIuMTc3LjIxNS4yNS4zNDEuMTk4LjM0NC4yNzguNzE4LjMxNCAxLjA1Ni4wMzYuMzI4LjAzNi42NzguMDM2Ljk5NXYxLjYyNWMwIC40NDguMTY0LjczMi40MDEuOTIuMjU5LjIwNi42Ny4zNDggMS4yMTQuMzQ4SDcuNXYxLjVINi4zNjVjLS43ODQgMC0xLjU1NS0uMjAzLTIuMTQ3LS42NzQtLjYxNC0uNDg4LS45NjgtMS4yMTMtLjk2OC0yLjA5NHYtMS42MDRjMC0uMzQyIDAtLjYxNS0uMDI3LS44NTQtLjAyNi0uMjM2LS4wNy0uMzc4LS4xMjItLjQ2Ny0uMDU2LS4wOTYtLjIyLS4zMjUtMS4xMDEtLjMyNWwtLjc1LS43NXYtLjAzbC43NS0uNzVjLjg3OSAwIDEuMDQzLS4yMyAxLjEtLjMyOC4wNTItLjA5Mi4wOTctLjIzNi4xMjMtLjQ3My4wMjYtLjI0LjAyNy0uNTE0LjAyNy0uODU2VjcuNTAzYzAtMS42ODcgMS4zMTktMy4yNTMgMy4xMTUtMy4yNTNINy41djEuNUg2LjM2NXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIgY2xhc3M9Im5jLWljb24td3JhcHBlciIvPjwvZz48L3N2Zz4=);border:1px solid #3e7da6!important;border-radius:3px;height:2rem;width:2.25rem}#tab_PDF .gform_settings_form .all-merge-tags.textarea #gf_merge_tag_list{margin-right:.5rem}#tab_PDF .gform_settings_form .all-merge-tags.input #gf_merge_tag_list{right:0}#tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:4.125rem}@media only screen and (max-width:960px){#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container{display:flex;flex-direction:column}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list{width:85%}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-800px}}@media only screen and (min-width:961px){#tab_PDF #pdfextended-settings .about-wrap #dashboard-widgets .postbox-container{width:49.5%}#tab_PDF #pdfextended-settings .about-wrap #dashboard-widgets .postbox-container a{margin-right:30px;min-height:90px;line-height:1.8em}}@media only screen and (min-width:961px)and (max-width:1200px){#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-450px}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .buttons-icons-container{display:block}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .buttons-icons-container .select-delete-icons-container{margin-top:.5rem}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column form .footer .msg.template-usage-link #template_usage_info_box{width:90%}}@media only screen and (min-width:1201px){#tab_PDF #gfpdf-settings-field-wrapper-font-container,#tab_PDF #gfpdf-settings-field-wrapper-template-container{display:flex}#tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{left:-590px}#tab_PDF #gfpdf_list_form .btn-shortcode.toggle+.gpdf-fallback-input{width:35vw}}html[dir=rtl] #tab_PDF #gfpdf_settings\[default_font\],html[dir=rtl] #tab_PDF #gfpdf_settings\[font\]{margin:0 0 .2rem .2rem}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-header .font-name,html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .font-list-column .font-list .font-list-item .font-name{text-align:right}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-720px}html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font.show{right:0}html[dir=rtl] #tab_PDF #gfpdf_settings\[default_template\],html[dir=rtl] #tab_PDF #gfpdf_settings\[template\]{margin:0 0 .2rem .2rem}html[dir=rtl] #tab_PDF .theme-wrap .theme-header h1{float:right;font-size:23px;font-weight:400;margin:0;padding:9px 2% 4px 0;line-height:1.3}html[dir=rtl] #tab_PDF .theme-wrap #gfpdf-template-container .theme .theme-actions{left:0;right:inherit}html[dir=rtl] #tab_PDF .gfpdf-spinner-template{padding:10px 10px 0 0}html[dir=rtl] #tab_PDF .gfpdf-upload-setting-container input:first-of-type{border-bottom-left-radius:0;border-left:none;border-right:1px solid #9092b2;border-top-left-radius:0}html[dir=rtl] #tab_PDF .gfpdf-upload-setting-container input:last-of-type{border-radius:5px 0 0 5px}html[dir=rtl] #tab_PDF .gform-settings-input__container--with-merge-tag.gfpdf-merge-tag-container .mt-gfpdf-merge-tag-selector-container{float:left}html[dir=rtl] #tab_PDF{font-family:system-ui}html[dir=rtl] #tab_PDF .gform-settings-panel__content .tablenav .alignleft{width:0}html[dir=rtl] #tab_PDF .gform-settings-panel__content .tablenav .actions{padding:0}html[dir=rtl] #tab_PDF .gform_settings_form .entry-view{margin-right:0}html[dir=rtl] #tab_PDF .gform_settings_form .entry-view label{float:right;margin-left:1rem;padding-top:.2rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator{margin:0 .375rem 0 0;padding:0 .375rem 0 1rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator svg{right:auto;left:.25rem}html[dir=rtl] #tab_PDF #gfpdf_list_form #the-list .check-column .gform-status-indicator .gform-status-indicator-status{margin-left:.375rem}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag input[type=text],html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper input[type=text]{border-bottom-right-radius:0;border-top-right-radius:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag input[type=radio],html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper input[type=radio]{float:right;margin-top:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags{margin:0 0 0 .5rem}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags a.open-list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags a.open-list{border-radius:3px 0 0 3px}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags.textarea #gf_merge_tag_list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags.textarea #gf_merge_tag_list{margin-left:.5rem;right:unset;left:0}html[dir=rtl] #tab_PDF .gform_settings_form .gform-settings-input__container--with-merge-tag .all-merge-tags.input #gf_merge_tag_list,html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .all-merge-tags.input #gf_merge_tag_list{right:unset;left:0}html[dir=rtl] #tab_PDF .gform_settings_form button.add_field_choice{margin-right:.625rem;margin-left:.25rem}html[dir=rtl] #tab_PDF .gform_settings_form button.delete_field_choice{margin-left:.25rem}html[dir=rtl] #tab_PDF .gform_settings_form span .select2-selection__rendered{padding-right:2rem}html[dir=rtl] #tab_PDF .gform_settings_form span .select2-container--open{position:unset!important}html[dir=rtl] #tab_PDF .gform_settings_form .gfpdf-settings-field-wrapper .wp-editor-wrap{margin-right:0;margin-left:4.125rem}@media only screen and (max-width:960px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-800px}}@media only screen and (min-width:961px)and (max-width:1200px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-450px}}@media only screen and (min-width:1201px){html[dir=rtl] #tab_PDF #font-manager-overlay .font-manager #gfpdf-font-manager-container .add-update-font-column .update-font{right:-590px}}
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.0.3/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){var r=e(59),i=e(23);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,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){"use strict";var r=e(7),i=e(55).find,o=e(95),a=e(42),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){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(23);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){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){"use strict";var r=e(7),i=e(55).map,o=e(89),a=e(42),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,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){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){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(19),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(7),i=e(144);r({target:"Array",stat:!0,forced:!e(130)((function(t){Array.from(t)}))},{from:i})},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(66),i=e(59),o=e(24),a=e(20),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={}},,function(t,n,e){"use strict";var r=e(7),i=e(55).filter,o=e(89),a=e(42),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(25),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(25);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(19),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){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(24),a=e(20),c=e(35),f=e(23),s=e(112),u=e(99),l=Math.max,p=Math.min,d=Math.floor,g=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,n,e,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,y=h?"$":"$0";return[function(e,r){var i=f(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,r):n.call(String(i),e,r)},function(t,r){if(!h&&m||"string"==typeof r&&-1===r.indexOf(y)){var o=e(n,t,this,r);if(o.done)return o.value}var f=i(t),d=String(this),g="function"==typeof r;g||(r=String(r));var v=f.global;if(v){var x=f.unicode;f.lastIndex=0}for(var b=[];;){var w=u(f,d);if(null===w)break;if(b.push(w),!v)break;""===String(w[0])&&(f.lastIndex=s(d,a(f.lastIndex),x))}for(var S,E="",O=0,A=0;A<b.length;A++){w=b[A];for(var j=String(w[0]),k=l(p(c(w.index),d.length),0),P=[],C=1;C<w.length;C++)P.push(void 0===(S=w[C])?S:String(S));var T=w.groups;if(g){var R=[j].concat(P,k,d);void 0!==T&&R.push(T);var F=String(r.apply(void 0,R))}else F=_(j,d,k,P,T,r);k>=O&&(E+=d.slice(O,k)+F,O=k+j.length)}return E+d.slice(O)}];function _(t,e,r,i,a,c){var f=r+t.length,s=i.length,u=v;return void 0!==a&&(a=o(a),u=g),n.call(c,u,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(f);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var l=d(u/10);return 0===l?n:l<=s?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):n}c=i[u-1]}return void 0===c?"":c}))}}))},,,function(t,n,e){var r=e(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,e){var r=e(19),i=e(20),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(25),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(87),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(24),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(23),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(48),e(33),e(21);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(25),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(25),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(88),f=e(14),s=e(26),u=e(6),l=e(49),p=e(56),d=e(119),g=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,h=u("iterator"),m=function(){return this};t.exports=function(t,n,e,u,d,y,_){i(e,n,u);var x,b,w,S=function(t){if(t===d&&k)return k;if(!v&&t in A)return A[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},E=n+" Iterator",O=!1,A=t.prototype,j=A[h]||A["@@iterator"]||d&&A[d],k=!v&&j||S(d),P="Array"==n&&A.entries||j;if(P&&(x=o(P.call(new t)),g!==Object.prototype&&x.next&&(l||o(x)===g||(a?a(x,g):"function"!=typeof x[h]&&f(x,h,m)),c(x,E,!0,!0),l&&(p[E]=m))),"values"==d&&j&&"values"!==j.name&&(O=!0,k=function(){return j.call(this)}),l&&!_||A[h]===k||f(A,h,k),p[n]=k,d)if(b={values:S("values"),keys:y?k:S("keys"),entries:S("entries")},_)for(w in b)(v||O||!(w in A))&&s(A,w,b[w]);else r({target:n,proto:!0,forced:v||O},b);return b}},function(t,n,e){var r=e(5);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},,,,,,,,function(t,n,e){"use strict";var r=e(27),i=e(12),o=e(6),a=e(10),c=o("species");t.exports=function(t){var n=r(t),e=i.f;a&&n&&!n[c]&&e(n,c,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(8),i=e(43),o=e(6)("species");t.exports=function(t,n){var e,a=r(t).constructor;return void 0===a||null==(e=r(a)[o])?n:i(e)}},,function(t,n,e){"use strict";var r=e(66),i=e(24),o=e(129),a=e(127),c=e(20),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(88),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(23),c=e(142),f=e(112),s=e(20),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(22);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(92);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 input");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.val();u=u.replace(n,t.pid),s.val(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.1.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]),k=l(p(c(w.index),d.length),0),P=[],C=1;C<w.length;C++)P.push(void 0===(S=w[C])?S:String(S));var T=w.groups;if(g){var R=[j].concat(P,k,d);void 0!==T&&R.push(T);var F=String(r.apply(void 0,R))}else F=_(j,d,k,P,T,r);k>=O&&(E+=d.slice(O,k)+F,O=k+j.length)}return E+d.slice(O)}];function _(t,e,r,i,a,c){var f=r+t.length,s=i.length,u=v;return void 0!==a&&(a=o(a),u=g),n.call(c,u,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(f);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var l=d(u/10);return 0===l?n:l<=s?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):n}c=i[u-1]}return void 0===c?"":c}))}}))},,,function(t,n,e){var r=e(20),i=e(21),o=e(105),a=function(t){return function(n,e,a){var c,f=r(n),s=i(f.length),u=o(a,s);if(t&&e!=e){for(;s>u;)if((c=f[u++])!=c)return!0}else for(;s>u;u++)if((t||u in f)&&f[u]===e)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,e){"use strict";var r=e(8);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";e(41);var r=e(26),i=e(5),o=e(6),a=e(73),c=e(14),f=o("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u="$0"==="a".replace(/./,"$0"),l=o("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),d=!i((function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,n,e,l){var g=o(t),v=!i((function(){var n={};return n[g]=function(){return 7},7!=""[t](n)})),h=v&&!i((function(){var n=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[f]=function(){return e},e.flags="",e[g]=/./[g]),e.exec=function(){return n=!0,null},e[g](""),!n}));if(!v||!h||"replace"===t&&(!s||!u||p)||"split"===t&&!d){var m=/./[g],y=e(g,""[t],(function(t,n,e,r,i){return n.exec===a?v&&!i?{done:!0,value:m.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),_=y[0],x=y[1];r(String.prototype,t,_),r(RegExp.prototype,g,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)})}l&&c(RegExp.prototype[g],"sham",!0)}},function(t,n,e){var r=e(24),i=e(73);t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var o=e.call(t,n);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},,function(t,n,e){var r=e(64);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(9),i=e(103),o=e(45),a=e(12);t.exports=function(t,n){for(var e=i(n),c=a.f,f=o.f,s=0;s<e.length;s++){var u=e[s];r(t,u)||c(t,u,f(n,u))}}},function(t,n,e){var r=e(27),i=e(72),o=e(88),a=e(8);t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(a(t)),e=o.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(4);t.exports=r},function(t,n,e){var r=e(35),i=Math.max,o=Math.min;t.exports=function(t,n){var e=r(t);return e<0?i(e+n,0):o(e,n)}},function(t,n,e){var r=e(27);t.exports=r("document","documentElement")},function(t,n,e){var r=e(11),i=e(74),o=e(6)("species");t.exports=function(t,n){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)?r(e)&&null===(e=e[o])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},function(t,n,e){"use strict";var r=e(51),i=e(12),o=e(34);t.exports=function(t,n,e){var a=r(n);a in t?i.f(t,a,o(0,e)):t[a]=e}},function(t,n,e){var r=e(9),i=e(23),o=e(52),a=e(133),c=o("IE_PROTO"),f=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},,,function(t,n,e){"use strict";var r=e(117).charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r={};r[e(6)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(4),i=e(65),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},function(t,n,e){var r,i,o=e(4),a=e(131),c=o.process,f=c&&c.versions,s=f&&f.v8;s?i=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},,function(t,n,e){var r=e(35),i=e(22),o=function(t){return function(n,e){var o,a,c=String(i(n)),f=r(e),s=c.length;return f<0||f>=s?t?"":void 0:(o=c.charCodeAt(f))<55296||o>56319||f+1===s||(a=c.charCodeAt(f+1))<56320||a>57343?t?c.charAt(f):o:t?c.slice(f,f+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,n,e){var r=e(10),i=e(12),o=e(8),a=e(67);t.exports=r?Object.defineProperties:function(t,n){o(t);for(var e,r=a(n),c=r.length,f=0;c>f;)i.f(t,e=r[f++],n[e]);return t}},function(t,n,e){"use strict";var r,i,o,a=e(109),c=e(14),f=e(9),s=e(6),u=e(49),l=s("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):p=!0),null==r&&(r={}),u||f(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},,function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return i}));e(55),e(42),e(25);function r(t,n){var e=Array.from(t);e.pop(),e.map((function(t,e){"none"!==t.style.display&&(t.querySelector(".gform-settings-panel__collapsible-toggle-checkbox").addEventListener("click",(function(){i(t,n,e)})),i(t,n,e,"firstLoad"))}))}function i(t,n,e,r){var i="submit-container-"+e;if(!t.classList.contains("gform-settings-panel--collapsed")){var o=n.querySelector("#submit").cloneNode(!0);o.setAttribute("id","submit_"+e);var a=document.createElement("div");return a.setAttribute("class",i),a.innerHTML=o.outerHTML,t.parentNode.insertBefore(a,t.nextSibling)}r||document.querySelector(".".concat(i)).remove()}},,function(t,n,e){var r=e(11),i=e(24),o=e(6)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,e){"use strict";var r=e(5);function i(t,n){return RegExp(t,n)}n.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),n.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,n,e){var r=e(8),i=e(146);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,o){return r(e),i(o),n?t.call(e,o):e.__proto__=o,e}}():void 0)},function(t,n,e){var r=e(113),i=e(24),o=e(6)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:a?i(n):"Object"==(r=i(n))&&"function"==typeof n.callee?"Arguments":r}},function(t,n,e){var r=e(6),i=e(56),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},function(t,n,e){var r=e(126),i=e(56),o=e(6)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(8);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){var r=e(6)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o={};o[r]=function(){return{next:function(){return{done:e=!0}}}},t(o)}catch(t){}return e}},function(t,n,e){var r=e(27);t.exports=r("navigator","userAgent")||""},function(t,n,e){"use strict";var r=e(7),i=e(145),o=e(109),a=e(125),c=e(89),f=e(14),s=e(26),u=e(6),l=e(49),p=e(56),d=e(119),g=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,h=u("iterator"),m=function(){return this};t.exports=function(t,n,e,u,d,y,_){i(e,n,u);var x,b,w,S=function(t){if(t===d&&k)return k;if(!v&&t in A)return A[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},E=n+" Iterator",O=!1,A=t.prototype,j=A[h]||A["@@iterator"]||d&&A[d],k=!v&&j||S(d),P="Array"==n&&A.entries||j;if(P&&(x=o(P.call(new t)),g!==Object.prototype&&x.next&&(l||o(x)===g||(a?a(x,g):"function"!=typeof x[h]&&f(x,h,m)),c(x,E,!0,!0),l&&(p[E]=m))),"values"==d&&j&&"values"!==j.name&&(O=!0,k=function(){return j.call(this)}),l&&!_||A[h]===k||f(A,h,k),p[n]=k,d)if(b={values:S("values"),keys:y?k:S("keys"),entries:S("entries")},_)for(w in b)(v||O||!(w in A))&&s(A,w,b[w]);else r({target:n,proto:!0,forced:v||O},b);return b}},function(t,n,e){var r=e(5);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},,,,,,,,function(t,n,e){"use strict";var r=e(27),i=e(12),o=e(6),a=e(10),c=o("species");t.exports=function(t){var n=r(t),e=i.f;a&&n&&!n[c]&&e(n,c,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(8),i=e(43),o=e(6)("species");t.exports=function(t,n){var e,a=r(t).constructor;return void 0===a||null==(e=r(a)[o])?n:i(e)}},,function(t,n,e){"use strict";var r=e(66),i=e(23),o=e(129),a=e(127),c=e(21),f=e(108),s=e(128);t.exports=function(t){var n,e,u,l,p,d,g=i(t),v="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,y=void 0!==m,_=s(g),x=0;if(y&&(m=r(m,h>2?arguments[2]:void 0,2)),null==_||v==Array&&a(_))for(e=new v(n=c(g.length));n>x;x++)d=y?m(g[x],x):g[x],f(e,x,d);else for(p=(l=_.call(g)).next,e=new v;!(u=p.call(l)).done;x++)d=y?o(l,m,[u.value,x],!0):u.value,f(e,x,d);return e.length=x,e}},function(t,n,e){"use strict";var r=e(119).IteratorPrototype,i=e(68),o=e(34),a=e(89),c=e(56),f=function(){return this};t.exports=function(t,n,e){var s=n+" Iterator";return t.prototype=i(r,{next:o(1,e)}),a(t,s,!1,!0),c[s]=f,t}},function(t,n,e){var r=e(11);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e(7)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},,,,,,function(t,n,e){var r=e(10),i=e(4),o=e(85),a=e(172),c=e(12).f,f=e(72).f,s=e(123),u=e(97),l=e(124),p=e(26),d=e(5),g=e(47).set,v=e(141),h=e(6)("match"),m=i.RegExp,y=m.prototype,_=/a/g,x=/a/g,b=new m(_)!==_,w=l.UNSUPPORTED_Y;if(r&&o("RegExp",!b||w||d((function(){return x[h]=!1,m(_)!=_||m(x)==x||"/a/i"!=m(_,"i")})))){for(var S=function(t,n){var e,r=this instanceof S,i=s(t),o=void 0===n;if(!r&&i&&t.constructor===S&&o)return t;b?i&&!o&&(t=t.source):t instanceof S&&(o&&(n=u.call(t)),t=t.source),w&&(e=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var c=a(b?new m(t,n):m(t,n),r?this:y,S);return w&&e&&g(c,{sticky:e}),c},E=function(t){t in S||c(S,t,{configurable:!0,get:function(){return m[t]},set:function(n){m[t]=n}})},O=f(m),A=0;O.length>A;)E(O[A++]);y.constructor=S,S.prototype=y,p(i,"RegExp",S)}v("RegExp")},function(t,n,e){var r=e(11),i=e(125);t.exports=function(t,n,e){var o,a;return i&&"function"==typeof(o=n.constructor)&&o!==e&&r(a=o.prototype)&&a!==e.prototype&&i(t,a),t}},function(t,n,e){"use strict";var r=e(98),i=e(123),o=e(8),a=e(22),c=e(142),f=e(112),s=e(21),u=e(99),l=e(73),p=e(5),d=[].push,g=Math.min,v=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,n,e){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var r=String(a(this)),o=void 0===e?4294967295:e>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return n.call(r,t,o);for(var c,f,s,u=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,v=new RegExp(t.source,p+"g");(c=l.call(v,r))&&!((f=v.lastIndex)>g&&(u.push(r.slice(g,c.index)),c.length>1&&c.index<r.length&&d.apply(u,c.slice(1)),s=c[0].length,g=f,u.length>=o));)v.lastIndex===c.index&&v.lastIndex++;return g===r.length?!s&&v.test("")||u.push(""):u.push(r.slice(g)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,e){var i=a(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,e):r.call(String(i),n,e)},function(t,i){var a=e(r,t,this,i,r!==n);if(a.done)return a.value;var l=o(t),p=String(this),d=c(l,RegExp),h=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(v?"y":"g"),y=new d(v?l:"^(?:"+l.source+")",m),_=void 0===i?4294967295:i>>>0;if(0===_)return[];if(0===p.length)return null===u(y,p)?[p]:[];for(var x=0,b=0,w=[];b<p.length;){y.lastIndex=v?b:0;var S,E=u(y,v?p:p.slice(b));if(null===E||(S=g(s(y.lastIndex+(v?0:b)),p.length))===x)b=f(p,b,h);else{if(w.push(p.slice(x,b)),w.length===_)return w;for(var O=1;O<=E.length-1;O++)if(w.push(E[O]),w.length===_)return w;b=x=S}}return w.push(p.slice(x)),w}]}),!v)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n);var r=e(2),i=e.n(r);e(165);e(19);function o(t,n){return i.a.ajax({type:"post",dataType:"json",url:GFPDF.ajaxUrl,data:t,success:n,error:n})}function a(t){return i()("<img alt="+GFPDF.spinnerAlt+" src="+GFPDF.spinnerUrl+" class="+t+" />")}function c(t){var n=i()("#gfpdf-settings-field-wrapper-font, #gfpdf-settings-field-wrapper-font_size, #gfpdf-settings-field-wrapper-font_colour");"legacy"===t?n.hide():n.show()}var f=e(121);function s(){i()("#gfpdf_settings\\[template\\]").off("change").on("change",(function(){var t=a("gfpdf-spinner-template");i()(this).next().after(t),o({action:"gfpdf_get_template_fields",nonce:GFPDF.ajaxNonce,template:i()(this).val(),type:i()(this).attr("id"),id:i()("#gform_id").val(),gform_pdf_id:i()("#gform_pdf_id").val()},(function(n){var e,r,o=i()(".submit-container-2")[0];t.remove(),i()('input[name="gfpdf_settings[advanced_template]"][value="No"]').prop("checked",!0).trigger("change"),n.fields?(i.a.each(n.editors,(function(t,n){var e=tinyMCE.get(n);if(null!==e)try{tinyMCE.remove(e)}catch(t){}})),o||Object(f.b)(i()("#gfpdf-fieldset-gfpdf_form_settings_template")[0],i()("#gfpdf_pdf_form")[0],"2"),i()("#gfpdf-fieldset-gfpdf_form_settings_template").show().find(".gform-settings-panel__content").html(n.fields),e=n.editors,null!=(r=n.editor_init)&&(r.body_class="id post-type-post post-status-publish post-format-standard",r.formats={alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"}},{selector:"img,table,dl.wp-caption",classes:"alignleft"}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"}},{selector:"img,table,dl.wp-caption",classes:"aligncenter"}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"}},{selector:"img,table,dl.wp-caption",classes:"alignright"}],strikethrough:{inline:"del"}},r.content_style='body#tinymce { max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;}'),i.a.each(e,(function(t,n){r.selector="#"+n,tinyMCE.init(r),tinyMCE.execCommand("mceAddEditor",!1,n),"function"==typeof QTags&&(QTags({id:n}),QTags._buttonsInit(),"function"==typeof switchEditors.switchto&&switchEditors.switchto(jQuery("#wp-"+n+"-wrap").find(".wp-switch-editor.switch-"+("html"===getUserSetting("editor")?"html":"tmce"))[0]))})),l.runElements(),window.gfMergeTags&&"undefined"!=typeof form&&i()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").length>=0&&(i()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").each((function(){new gfMergeTagsObj(form,i()(this))})),i()("#gfpdf-fieldset-gfpdf_form_settings_template .gform-settings-field").each((function(){i()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),i()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}))),gform_initialize_tooltips()):(o&&o.remove(),i()("#gfpdf-fieldset-gfpdf_form_settings_template").hide().find(".gform-settings-panel__content").html("")),n.template_type&&c(n.template_type),i()(document).trigger("gfpdf_template_loaded",[n])}))}))}function u(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var l=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"runElements",value:function(){var t;"undefined"!=typeof gf_vars&&(gf_vars.thisFormButton=GFPDF.conditionalText,gf_vars.show=GFPDF.enable,gf_vars.hide=GFPDF.disable),window.formfield="",i()("body").off("click",".gfpdf_settings_upload_button").on("click",".gfpdf_settings_upload_button",(function(n){n.preventDefault();var e=i()(this);window.formfield=i()(this).prev(),t||(t=wp.media.frames.file_frame=wp.media({title:e.data("uploader-title"),button:{text:e.data("uploader-button-text")},multiple:!1})).on("select",(function(){t.state().get("selection").each((function(t){t=t.toJSON(),window.formfield.val(t.url).trigger("change")}))})),t.open()})),i()(".gfpdf-color-picker").each((function(){i()(this).wpColorPicker({width:300}),i()(this).parents(".wp-picker-container").find(".wp-color-result").addClass("ed_button")})),i()(".gfpdf_paper_size").each((function(){var t=i()(this).nextAll(".gfpdf_paper_size_other").first();i()(this).find("select").off("change").on("change",(function(){"CUSTOM"===i()(this).val()?t.fadeIn():t.fadeOut()})).trigger("change")})),i()("form").off("change",".gfpdf-input-toggle").on("change",".gfpdf-input-toggle",(function(){var t=i()(this).parent().next();i()(this).prop("checked")?t.slideDown("slow"):(t.slideUp("slow"),t.find(".wp-editor-area").each((function(){var t=tinyMCE.get(i()(this).attr("id"));null!==t&&t.setContent("")})),t.find("textarea").each((function(){i()(this).val("")})))})),s(),i()(".gfpdf-deactivate-license").on("click",(function(){var t=i()(this).parent(),n=a("gfpdf-spinner");i()(this).append(n);var e=i()(this).data("addon-name");return o({action:"gfpdf_deactivate_license",addon_name:e,license:i()(this).data("license"),nonce:i()(this).data("nonce")},(function(r){n.remove(),r.success?(i()("#gfpdf_settings\\[license_"+e+"\\]").val(""),i()("#gfpdf_settings\\[license_"+e+"_message\\]").val(""),i()("#gfpdf_settings\\[license_"+e+"_status\\]").val(""),t.find("button").remove(),t.find("#message").removeClass("error").addClass("success").html(r.success)):t.find("#message").removeClass("success").addClass("error").html(r.error)})),!1}))}}])&&u(n.prototype,e),r&&u(n,r),t}());e(171),e(41),e(29),e(93);function p(t){t.attr("novalidate","novalidate"),t.find('input[type="submit"]').on("click",(function(){t.addClass("formSubmitted")})),t.find(':input[required=""], :input[required]').each((function(){var t=i()(this).parent();t.find(".gform-settings-panel__title a").length?t.find(".gform-settings-panel__title a").before('<span class="gfield_required">(required)</span>'):t.find(".gform-settings-panel__title").append('<span class="gfield_required">(required)</span>')}))}function d(t,n,e){n=void 0!==n?n:4500,e=void 0!==e&&e;var r=i()('<div id="message">').html("<p>"+t+"</p>");!0===e?r.addClass("error"):r.addClass("updated"),i()(".wrap > h2").after(r),setTimeout((function(){r.slideUp()}),n)}function g(){function t(t){t.append(a("gfpdf-spinner gfpdf-spinner-small")).closest(".row-actions").attr("style","position:static; visibility: visible;"),o({action:"gfpdf_list_delete",nonce:t.data("nonce"),fid:t.data("fid"),pid:t.data("id")},(function(n){n.msg&&(t.closest(".row-actions").attr("style","").find(".gfpdf-spinner").remove(),d(n.msg),t.parents("tr").css("background","#ffb8b8").fadeOut(400,(function(){this.remove(),function(){var t=i()("#gfpdf_list_form tbody");if(0===t.find("tr").length){var n=i()("<tr>").addClass("no-items"),e=i()("<td>").attr("colspan","5").addClass("colspanchange"),r=i()("<a>").attr("href",i()("#gfpdf_list_form a.button:first").attr("href")).append(GFPDF.letsGoCreateOne+".");e.append(GFPDF.thisFormHasNoPdfs).append(" ").append(r),n.append(e),t.append(n)}}()})))}))}i()("#gfpdf_list_form").on("click","a.submitdelete",(function(){String(i()(this).data("id")).length>0&&window.confirm(GFPDF.pdfDeleteWarning)&&t(i()(this));return!1}))}e(71),e(173);function v(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var h=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"setupAJAXListListener",value:function(){g(),i()("#gfpdf_list_form").on("click","a.submitduplicate",(function(t){t.preventDefault();var n=String(i()(this).data("id")),e=this;i()(this).after(a("gfpdf-spinner gfpdf-spinner-small")).parent().parent().attr("style","position:static; visibility: visible;"),n.length>0&&o({action:"gfpdf_list_duplicate",nonce:i()(this).data("nonce"),fid:i()(this).data("fid"),pid:i()(this).data("id")},(function(t){if(t.msg){i()(e).parent().parent().attr("style","").find(".gfpdf-spinner").remove(),d(t.msg);var r=i()(e).parents("tr"),o=r.clone().css("background","#baffb8");o.find(".column-name > a, .edit a").each((function(){var n=i()(this).attr("href");n=function(t,n,e){var r="",i=t.split("?"),o=i[0],a=i[1],c="";if(a){i=a.split("&");for(var f=0;f<i.length;f++)i[f].split("=")[0]!==n&&(r+=c+i[f],c="&")}return o+"?"+r+c+n+"="+e}(n,"pid",t.pid),i()(this).attr("href",n)})),o.find(".column-name > a").html(t.name);var a=o.find(".duplicate a"),c=o.find(".delete a"),f=o.find(".check-column button"),s=o.find(".column-shortcode");a.data("id",t.pid),a.data("nonce",t.dup_nonce),c.data("id",t.pid),c.data("nonce",t.del_nonce),f.data("id",t.pid),f.data("nonce",t.state_nonce),f[0].setAttribute("data-status","inactive");var u=s.find("button").attr("data-clipboard-text");u=u.replace(n,t.pid),s.find("button").attr("data-clipboard-text",u),s.find("input").attr("id",t.pid).attr("value",u),f.removeClass("gform-status--active").addClass("gform-status--inactive").find(".gform-status-indicator-status").html(t.status),o.hide().insertAfter(r).fadeIn().animate({backgroundColor:"#F6F9FC"})}}))})),i()("#gfpdf_list_form").on("click",".check-column button",(function(){var t=String(i()(this).data("id")),n=i()(this),e=n.find("span.gform-status-indicator-status");t.length>0&&(n.addClass("gform_status--pending").removeClass("gform-status--active gform-status--inactive"),o({action:"gfpdf_change_state",nonce:i()(this).data("nonce"),fid:i()(this).data("fid"),pid:i()(this).data("id")},(function(t){e.html(t.state),"active"===n.data("status")?(n[0].setAttribute("data-status","inactive"),n.data("status","inactive").removeClass("gform_status--pending").addClass("gform-status--inactive")):(n[0].setAttribute("data-status","active"),n.data("status","active").removeClass("gform_status--pending").addClass("gform-status--active"))})))}))}}])&&v(n.prototype,e),r&&v(n,r),t}());e(58);function m(){var t,n,e,r,o,a,f,s;p(i()("#gfpdf_pdf_form")),t=i()("#gfpdf-fieldset-gfpdf_form_settings_advanced"),n=t.find('input[name="gfpdf_settings[security]"]'),e=t.find('input[name="gfpdf_settings[format]"]'),r=t.find("#gfpdf-settings-field-wrapper-security"),o=t.find("#gfpdf-settings-field-wrapper-password,#gfpdf-settings-field-wrapper-privileges,#gfpdf-settings-field-wrapper-master_password:not(.gfpdf-hidden)"),n.on("change",(function(){var t=e.filter(":checked").val();"No"===i()(this).val()||"Standard"!==t?o.hide():i()(this).is(":checked")?o.show():o.hide(),"Standard"!==t?r.hide():r.show()})).trigger("change"),e.on("change",(function(){i()(this).is(":checked")&&n.trigger("change")})).trigger("change"),gform.addFilter("gform_conditional_object",(function(t,n){return"gfpdf"===n?window.gfpdf_current_pdf:t})),i()("#gfpdf_conditional_logic").on("change",(function(){void 0===window.gfpdf_current_pdf.conditionalLogic&&i()(this).prop("checked")?window.gfpdf_current_pdf.conditionalLogic=new ConditionalLogic:i()(this).prop("checked")||(window.gfpdf_current_pdf.conditionalLogic=null),ToggleConditionalLogic(!1,"gfpdf")})).trigger("change"),a=i()("#gfpdf-fieldset-gfpdf_form_settings_advanced").find('input[name="gfpdf_settings[public_access]"]'),f=i()("#gfpdf-settings-field-wrapper-restrict_owner"),a.on("change",(function(){i()(this).is(":checked")?f.hide():f.show()})).trigger("change"),c(i()("#gfpdf_settings\\[template\\]").data("template_group")),s=i()("#gfpdf-fieldset-gfpdf_form_settings_appearance"),i()('input[name="gfpdf_settings[advanced_template]"]').on("change",(function(){"Yes"===i()(this).val()?s.hide():s.show()})),i()('input[name="gfpdf_settings[advanced_template]"]:checked').trigger("change"),i()(".gform-settings-field").each((function(){i()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),i()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}));var u=i()("#gfpdf-fieldset-gfpdf_form_settings_template");0===u.find(".gform-settings-panel__content").children().length&&u.hide(),i()(".gform-settings__wrapper > .alert").detach().prependTo("#tab_pdf"),i()("#gfpdf_pdf_form").on("submit",(function(){try{tinyMCE.triggerSave()}catch(t){}})),i()("#gfpdf_pdf_form").on("submit",(function(){i()("#gfpdf_settings\\[conditionalLogic\\]").val(i.a.toJSON(window.gfpdf_current_pdf.conditionalLogic))}))}function y(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var _=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"isSettings",value:function(){return i()("#pdfextended-settings").length}},{key:"isFormSettings",value:function(){return i()(".gforms_edit_form").length}},{key:"isFormSettingsList",value:function(){return i()("#gfpdf_list_form").length}},{key:"isFormSettingsEdit",value:function(){return i()("#gfpdf_pdf_form").length}}])&&y(n.prototype,e),r&&y(n,r),t}());function x(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var b=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,e,r;return n=t,(e=[{key:"init",value:function(){l.runElements(),_.isSettings()&&this.processSettings(),_.isFormSettings()&&this.processFormSettings()}},{key:"getCurrentSettingsPage",value:function(){return _.isSettings()?i()(".gform-settings-tabs__navigation a.active:first").data("id"):""}},{key:"processSettings",value:function(){switch(i()("#gform_tabs a").each((function(){var t=i()(this).attr("href"),n=new RegExp("&tab=[^&;]*","g");i()(this).attr("href",t.replace(n,""))})),this.getCurrentSettingsPage()){case"general":!function(){p(i()("#pdfextended-settings > form"));var t=i()("#pdf-general-security");t.find('input[name="gfpdf_settings[default_restrict_owner]"]').on("change",(function(){i()(this).is(":checked")&&("Yes"===i()(this).val()?t.find("tr:nth-child(3)").hide():t.find("tr:nth-child(3)").show())})).trigger("change")}()}}},{key:"processFormSettings",value:function(){_.isFormSettingsList()&&h.setupAJAXListListener(),_.isFormSettingsEdit()&&m()}}])&&x(n.prototype,e),r&&x(n,r),t}());i()((function(){b.init()}))}]);
dist/assets/js/app.bundle.min.js CHANGED
@@ -1,16 +1,16 @@
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:"b10f4e82b22c1ae2f616",4:"edfe66cefec156a603e6",5:"17f1520bfd98b4fd6ef2",6:"92c470970cbebc716b25",7:"8372fab709561b6d1b31",8:"6ad70cde0bdac6951f56",9:"63fc3295f246d2b91cbf",10:"37420e890af7835a054d"}[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.0.3/dist/",o.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var u=0;u<i.length;u++)t(i[u]);var l=a;o(o.s=210)}([function(e,t,n){"use strict";e.exports=n(186)},function(e,t,n){e.exports=n(201)()},function(e,t){e.exports=jQuery},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"o",(function(){return o})),n.d(t,"n",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"j",(function(){return c})),n.d(t,"l",(function(){return s})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"i",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return g})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return w})),n.d(t,"s",(function(){return E})),n.d(t,"p",(function(){return x})),n.d(t,"A",(function(){return S})),n.d(t,"u",(function(){return T})),n.d(t,"z",(function(){return O})),n.d(t,"F",(function(){return k})),n.d(t,"y",(function(){return P})),n.d(t,"x",(function(){return _})),n.d(t,"v",(function(){return F})),n.d(t,"w",(function(){return C})),n.d(t,"D",(function(){return j})),n.d(t,"C",(function(){return R})),n.d(t,"E",(function(){return D})),n.d(t,"B",(function(){return A}));var r="GET_CUSTOM_FONT_LIST",o="GET_CUSTOM_FONT_LIST_SUCCESS",i="GET_CUSTOM_FONT_LIST_ERROR",a="ADD_FONT",u="ADD_FONT_SUCCESS",l="ADD_FONT_ERROR",c="EDIT_FONT",s="EDIT_FONT_SUCCESS",f="EDIT_FONT_ERROR",p="VALIDATION_ERROR",d="DELETE_VARIANT_ERROR",h="DELETE_FONT",m="DELETE_FONT_SUCCESS",v="DELETE_FONT_ERROR",y="CLEAR_ADD_FONT_MSG",g="CLEAR_DROPZONE_ERROR",b="RESET_SEARCH_RESULT",w="SEARCH_FONT_LIST",E="SELECT_FONT",x="MOVE_SELECTED_FONT_TO_TOP",S=function(){return{type:r}},T=function(e){return{type:a,payload:e}},O=function(e){return{type:c,payload:e}},k=function(){return{type:p}},P=function(e){return{type:d,payload:e}},_=function(e){return{type:h,payload:e}},F=function(){return{type:y}},C=function(e){return{type:g,payload:e}},j=function(e){return{type:w,payload:e}},R=function(){return{type:b}},D=function(e){return{type:E,payload:e}},A=function(e){return{type:x,payload:e}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(84))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(4),o=n(61),i=n(9),a=n(63),u=n(64),l=n(101),c=o("wks"),s=r.Symbol,f=l?s:s&&s.withoutSetter||a;e.exports=function(e){return i(c,e)||(u&&i(s,e)?c[e]=s[e]:c[e]=f("Symbol."+e)),c[e]}},function(e,t,n){var r=n(4),o=n(45).f,i=n(14),a=n(26),u=n(50),l=n(102),c=n(85);e.exports=function(e,t){var n,s,f,p,d,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in t){if(p=t[s],f=e.noTargetGet?(d=o(n,s))&&d.value:n[s],!c(m?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;l(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,s,p,e)}}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(5);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(10),o=n(76),i=n(8),a=n(51),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"u",(function(){return g})),n.d(t,"v",(function(){return b})),n.d(t,"p",(function(){return w})),n.d(t,"E",(function(){return E})),n.d(t,"s",(function(){return x})),n.d(t,"B",(function(){return S})),n.d(t,"D",(function(){return T})),n.d(t,"C",(function(){return O})),n.d(t,"w",(function(){return k})),n.d(t,"y",(function(){return P})),n.d(t,"x",(function(){return _})),n.d(t,"q",(function(){return F})),n.d(t,"t",(function(){return C})),n.d(t,"A",(function(){return j})),n.d(t,"z",(function(){return R})),n.d(t,"r",(function(){return D}));var r="SEARCH_TEMPLATES",o="SELECT_TEMPLATE",i="ADD_TEMPLATE",a="UPDATE_TEMPLATE_PARAM",u="DELETE_TEMPLATE",l="UPDATE_SELECT_BOX",c="UPDATE_SELECT_BOX_SUCCESS",s="TEMPLATE_PROCESSING",f="TEMPLATE_PROCESSING_SUCCESS",p="TEMPLATE_PROCESSING_FAILED",d="CLEAR_TEMPLATE_PROCESSING",h="POST_TEMPLATE_UPLOAD_PROCESSING",m="TEMPLATE_UPLOAD_PROCESSING_SUCCESS",v="TEMPLATE_UPLOAD_PROCESSING_FAILED",y="CLEAR_TEMPLATE_UPLOAD_PROCESSING",g=function(e){return{type:r,text:e}},b=function(e){return{type:o,id:e}},w=function(e){return{type:i,template:e}},E=function(e,t,n){return{type:a,id:e,name:t,value:n}},x=function(e){return{type:u,id:e}},S=function(){return{type:l}},T=function(e){return{type:c,payload:e}},O=function(){return{type:"UPDATE_SELECT_BOX_FAILED"}},k=function(e){return{type:s,payload:e}},P=function(e){return{type:f,payload:e}},_=function(e){return{type:p,payload:e}},F=function(){return{type:d}},C=function(e,t){return{type:h,payload:{file:e,filename:t}}},j=function(e){return{type:m,payload:e}},R=function(e){return{type:v,payload:e}},D=function(){return{type:y}}},function(e,t,n){var r=n(10),o=n(12),i=n(34);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=o.a.createContext(null);var l=function(e){e()},c={notify:function(){}};function s(){var e=l,t=[],n=[];return{clear:function(){n=null,t=null},notify:function(){var r=t=n;e((function(){for(var e=0;e<r.length;e++)r[e]()}))},get:function(){return n},subscribe:function(e){var r=!0;return n===t&&(n=t.slice()),n.push(e),function(){r&&null!==t&&(r=!1,n===t&&(n=t.slice()),n.splice(n.indexOf(e),1))}}}}var f=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=c,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=s())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=c)},e}();function p(e){var t=e.store,n=e.context,i=e.children,a=Object(r.useMemo)((function(){var e=new f(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),l=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=a.subscription;return e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,l]);var c=n||u;return o.a.createElement(c.Provider,{value:a},i)}p.propTypes={store:a.a.shape({subscribe:a.a.func.isRequired,dispatch:a.a.func.isRequired,getState:a.a.func.isRequired}),context:a.a.object,children:a.a.any};var d=p,h=n(28),m=n(69),v=n(122),y=n.n(v),g=n(70),b=n.n(g),w=n(137),E="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,x=[],S=[null,null];function T(e,t){var n=e[1];return[t.payload,n+1]}var O=function(){return[null,0]};function k(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,l=n.methodName,c=void 0===l?"connectAdvanced":l,s=n.renderCountProp,p=void 0===s?void 0:s,d=n.shouldHandleStateChanges,v=void 0===d||d,g=n.storeKey,k=void 0===g?"store":g,P=n.withRef,_=void 0!==P&&P,F=n.forwardRef,C=void 0!==F&&F,j=n.context,R=void 0===j?u:j,D=Object(m.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);b()(void 0===p,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),b()(!_,"withRef is removed. To access the wrapped instance, use a ref on the connected component");b()("store"===k,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect");var A=R;return function(t){var n=t.displayName||t.name||"Component",i=a(n),u=Object(h.a)({},D,{getDisplayName:a,methodName:c,renderCountProp:p,shouldHandleStateChanges:v,storeKey:k,displayName:i,wrappedComponentName:n,WrappedComponent:t}),l=D.pure;var s=l?r.useMemo:function(e){return e()};function d(n){var a=Object(r.useMemo)((function(){var e=n.forwardedRef,t=Object(m.a)(n,["forwardedRef"]);return[n.context,e,t]}),[n]),l=a[0],c=a[1],p=a[2],d=Object(r.useMemo)((function(){return l&&l.Consumer&&Object(w.isContextConsumer)(o.a.createElement(l.Consumer,null))?l:A}),[l,A]),y=Object(r.useContext)(d),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch),k=Boolean(y)&&Boolean(y.store);b()(g||k,'Could not find "store" in the context of "'+i+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+i+" in connect options.");var P=g?n.store:y.store,_=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,u)}(P)}),[P]),F=Object(r.useMemo)((function(){if(!v)return S;var e=new f(P,g?null:y.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[P,g,y]),C=F[0],j=F[1],R=Object(r.useMemo)((function(){return g?y:Object(h.a)({},y,{subscription:C})}),[g,y,C]),D=Object(r.useReducer)(T,x,O),L=D[0][0],N=D[1];if(L&&L.error)throw L.error;var I=Object(r.useRef)(),M=Object(r.useRef)(p),U=Object(r.useRef)(),q=Object(r.useRef)(!1),z=s((function(){return U.current&&p===M.current?U.current:_(P.getState(),p)}),[P,L,p]);E((function(){M.current=p,I.current=z,q.current=!1,U.current&&(U.current=null,j())})),E((function(){if(v){var e=!1,t=null,n=function(){if(!e){var n,r,o=P.getState();try{n=_(o,M.current)}catch(e){r=e,t=e}r||(t=null),n===I.current?q.current||j():(I.current=n,U.current=n,q.current=!0,N({type:"STORE_UPDATED",payload:{error:r}}))}};C.onStateChange=n,C.trySubscribe(),n();return function(){if(e=!0,C.tryUnsubscribe(),C.onStateChange=null,t)throw t}}}),[P,C,_]);var H=Object(r.useMemo)((function(){return o.a.createElement(t,Object(h.a)({},z,{ref:c}))}),[c,t,z]);return Object(r.useMemo)((function(){return v?o.a.createElement(d.Provider,{value:R},H):H}),[d,H,R])}var g=l?o.a.memo(d):d;if(g.WrappedComponent=t,g.displayName=i,C){var P=o.a.forwardRef((function(e,t){return o.a.createElement(g,Object(h.a)({},e,{forwardedRef:t}))}));return P.displayName=i,P.WrappedComponent=t,y()(P,t)}return y()(g,t)}}var P=Object.prototype.hasOwnProperty;function _(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function F(e,t){if(_(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!P.call(t,n[o])||!_(e[n[o]],t[n[o]]))return!1;return!0}var C=n(79);function j(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function R(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function D(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=R(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=R(o),o=r(t,n)),o},r}}var A=[function(e){return"function"==typeof e?D(e):void 0},function(e){return e?void 0:j((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?j((function(t){return Object(C.bindActionCreators)(e,t)})):void 0}];var L=[function(e){return"function"==typeof e?D(e):void 0},function(e){return e?void 0:j((function(){return{}}))}];function N(e,t,n){return Object(h.a)({},n,{},e,{},t)}var I=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,u){var l=e(t,n,u);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return N}}];function M(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function U(e,t,n,r,o){var i,a,u,l,c,s=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,m,v=!f(d,a),y=!s(o,i);return i=o,a=d,v&&y?(u=e(i,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):v?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):y?(h=e(i,a),m=!p(h,u),u=h,m&&(c=n(u,l,a)),c):c}return function(o,s){return d?h(o,s):(u=e(i=o,a=s),l=t(r,a),c=n(u,l,a),d=!0,c)}}function q(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Object(m.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),l=o(e,i);return(i.pure?U:M)(a,u,l,e,i)}function z(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function H(e,t){return e===t}var G,B,$,V,W,K,Q,X,Y,J,Z,ee,te=($=(B=void 0===G?{}:G).connectHOC,V=void 0===$?k:$,W=B.mapStateToPropsFactories,K=void 0===W?L:W,Q=B.mapDispatchToPropsFactories,X=void 0===Q?A:Q,Y=B.mergePropsFactories,J=void 0===Y?I:Y,Z=B.selectorFactory,ee=void 0===Z?q:Z,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,l=void 0===u?H:u,c=o.areOwnPropsEqual,s=void 0===c?F:c,f=o.areStatePropsEqual,p=void 0===f?F:f,d=o.areMergedPropsEqual,v=void 0===d?F:d,y=Object(m.a)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=z(e,K,"mapStateToProps"),b=z(t,X,"mapDispatchToProps"),w=z(n,J,"mergeProps");return V(ee,Object(h.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:b,initMergeProps:w,pure:a,areStatesEqual:l,areOwnPropsEqual:s,areStatePropsEqual:p,areMergedPropsEqual:v},y))});function ne(){var e=Object(r.useContext)(u);return b()(e,"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"),e}function re(e){void 0===e&&(e=u);var t=e===u?ne:function(){return Object(r.useContext)(e)};return function(){return t().store}}var oe=re();!function(e){void 0===e&&(e=u);var t=e===u?oe:re(e)}();var ie=function(e,t){return e===t};!function(e){void 0===e&&(e=u);var t=e===u?ne:function(){return Object(r.useContext)(e)}}();var ae,ue=n(30);n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return te})),ae=ue.unstable_batchedUpdates,l=ae},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(0),i=n.n(o),a=(n(1),n(46)),u=n(149),l=n(37);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=n(151),f=n.n(s);n(137);function p(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var d=n(122),h=n.n(d);n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return P})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return _}));var m=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router-History"),v=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}r(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.a.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);i.a.Component;i.a.Component;var g={},b=0;function w(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,u=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=g[n]||(g[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return b<1e4&&(r[e]=i,b++),i}(n,{end:i,strict:u,sensitive:c}),o=r.regexp,a=r.keys,l=o.exec(e);if(!l)return null;var s=l[0],p=l.slice(1),d=e===s;return i&&!d?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(l.a)(!1);var n=e.props.location||t.location,r=c({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?w(n.pathname,e.props):t.match}),o=e.props,a=o.children,u=o.component,s=o.render;return Array.isArray(a)&&0===a.length&&(a=null),i.a.createElement(v.Provider,{value:r},r.match?a?"function"==typeof a?a(r):a:u?i.a.createElement(u,r):s?s(r):null:"function"==typeof a?a(r):null)}))},t}(i.a.Component);function x(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var n=x(e);return 0!==t.pathname.indexOf(n)?t:c({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:Object(a.e)(e)}function O(e){return function(){Object(l.a)(!1)}}function k(){}i.a.Component;var P=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(l.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?w(o.pathname,c({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function _(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=p(t,["wrappedComponentRef"]);return i.a.createElement(v.Consumer,null,(function(t){return t||Object(l.a)(!1),i.a.createElement(e,c({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}i.a.useContext},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"g",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"j",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return v})),n.d(t,"r",(function(){return y})),n.d(t,"t",(function(){return g})),n.d(t,"s",(function(){return b})),n.d(t,"q",(function(){return w})),n.d(t,"p",(function(){return E})),n.d(t,"o",(function(){return x}));var r="ADD_TO_CONSOLE",o="ADD_TO_RETRY_LIST",i="CLEAR_CONSOLE",a="CLEAR_BUTTON_CLICKED_AND_RETRY_LIST",u="GET_FILES_FROM_GITHUB",l="GET_FILES_FROM_GITHUB_SUCCESS",c="GET_FILES_FROM_GITHUB_FAILED",s="DOWNLOAD_FONTS_API_CALL",f="REQUEST_SENT_COUNTER",p="CLEAR_REQUEST_REMAINING_DATA",d=function(e,t,n){return{type:r,key:e,status:t,message:n}},h=function(){return{type:i}},m=function(e){return{type:o,name:e}},v=function(){return{type:a}},y=function(){return{type:u}},g=function(e){return{type:l,payload:e}},b=function(e){return{type:c,payload:e}},w=function(e){return{type:s,payload:e}},E=function(){return{type:f}},x=function(){return{type:p}}},function(e,t,n){var r=n(113),o=n(26),i=n(176);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){var r=n(59),o=n(23);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,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){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(23);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){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(24),v=n(19),y=n(51),g=n(34),b=n(68),w=n(67),E=n(72),x=n(197),S=n(87),T=n(45),O=n(12),k=n(77),P=n(14),_=n(26),F=n(61),C=n(52),j=n(44),R=n(63),D=n(6),A=n(159),L=n(160),N=n(88),I=n(47),M=n(55).forEach,U=C("hidden"),q=D("toPrimitive"),z=I.set,H=I.getterFor("Symbol"),G=Object.prototype,B=o.Symbol,$=i("JSON","stringify"),V=T.f,W=O.f,K=x.f,Q=k.f,X=F("symbols"),Y=F("op-symbols"),J=F("string-to-symbol-registry"),Z=F("symbol-to-string-registry"),ee=F("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=u&&s((function(){return 7!=b(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(G,t);r&&delete G[t],W(e,t,n),r&&e!==G&&W(G,t,r)}:W,oe=function(e,t){var n=X[e]=b(B.prototype);return z(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof B},ae=function(e,t,n){e===G&&ae(Y,t,n),h(e);var r=y(t,!0);return h(n),f(X,r)?(n.enumerable?(f(e,U)&&e[U][r]&&(e[U][r]=!1),n=b(n,{enumerable:g(0,!1)})):(f(e,U)||W(e,U,g(1,{})),e[U][r]=!0),re(e,r,n)):W(e,r,n)},ue=function(e,t){h(e);var n=v(t),r=w(n).concat(fe(n));return M(r,(function(t){u&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=y(e,!0),n=Q.call(this,t);return!(this===G&&f(X,t)&&!f(Y,t))&&(!(n||!f(this,t)||!f(X,t)||f(this,U)&&this[U][t])||n)},ce=function(e,t){var n=v(e),r=y(t,!0);if(n!==G||!f(X,r)||f(Y,r)){var o=V(n,r);return!o||!f(X,r)||f(n,U)&&n[U][r]||(o.enumerable=!0),o}},se=function(e){var t=K(v(e)),n=[];return M(t,(function(e){f(X,e)||f(j,e)||n.push(e)})),n},fe=function(e){var t=e===G,n=K(t?Y:v(e)),r=[];return M(n,(function(e){!f(X,e)||t&&!f(G,e)||r.push(X[e])})),r};(l||(_((B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function(e){this===G&&n.call(Y,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),re(this,t,g(1,e))};return u&&ne&&re(G,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return H(this).tag})),_(B,"withoutSetter",(function(e){return oe(R(e),e)})),k.f=le,O.f=ae,T.f=ce,E.f=x.f=se,S.f=fe,A.f=function(e){return oe(D(e),e)},u&&(W(B.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||_(G,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:B}),M(w(ee),(function(e){L(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(J,t))return J[t];var n=B(t);return J[t]=n,Z[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?b(e):ue(b(e),t)},defineProperty:ae,defineProperties:ue,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:se,getOwnPropertySymbols:fe}),r({target:"Object",stat:!0,forced:s((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(m(e))}}),$)&&r({target:"JSON",stat:!0,forced:!l||s((function(){var e=B();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(d(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,$.apply(null,o)}});B.prototype[q]||P(B.prototype,q,B.prototype.valueOf),N(B,"Symbol"),j[U]=!0},function(e,t,n){"use strict";var r=n(19),o=n(95),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){"use strict";var r=n(7),o=n(55).map,i=n(89),a=n(42),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,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){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){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(19),u=n(51),l=n(9),c=n(76),s=Object.getOwnPropertyDescriptor;t.f=r?s:function(e,t){if(e=a(e),t=u(t,!0),c)try{return s(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],u=e&&o(e),l=t&&o(t),c=u||l;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var s=a[a.length-1];n="."===s||".."===s||""===s}else n=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(37);function s(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return k})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return h}));var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function w(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),g||Object(c.a)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,u=a.forceRefresh,l=void 0!==u&&u,f=a.getUserConfirmation,v=void 0===f?b:f,E=a.keyLength,x=void 0===E?6:E,S=e.basename?d(s(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return S&&(i=p(i,S)),m(i,r,n)}function O(){return Math.random().toString(36).substr(2,x)}var k=y();function P(e){r(U,e),U.length=n.length,k.notifyListeners(U.location,U.action)}function _(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(T(e.state))}function F(){j(T(w()))}var C=!1;function j(e){if(C)C=!1,P();else{k.confirmTransitionTo(e,"POP",v,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(C=!0,L(o))}(e)}))}}var R=T(w()),D=[R.key];function A(e){return S+h(e)}function L(e){n.go(e)}var N=0;function I(e){1===(N+=e)&&1===e?(window.addEventListener("popstate",_),i&&window.addEventListener("hashchange",F)):0===N&&(window.removeEventListener("popstate",_),i&&window.removeEventListener("hashchange",F))}var M=!1;var U={length:n.length,action:"POP",location:R,createHref:A,push:function(e,t){var r=m(e,t,O(),U.location);k.confirmTransitionTo(r,"PUSH",v,(function(e){if(e){var t=A(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var u=D.indexOf(U.location.key),c=D.slice(0,u+1);c.push(r.key),D=c,P({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,O(),U.location);k.confirmTransitionTo(r,"REPLACE",v,(function(e){if(e){var t=A(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var u=D.indexOf(U.location.key);-1!==u&&(D[u]=r.key),P({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}var x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function T(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(S(window.location.href)+"#"+e)}function k(e){void 0===e&&(e={}),g||Object(c.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,u=void 0===a?"slash":a,l=e.basename?d(s(e.basename)):"",f=x[u],v=f.encodePath,w=f.decodePath;function E(){var e=w(T());return l&&(e=p(e,l)),m(e)}var k=y();function P(e){r(U,e),U.length=t.length,k.notifyListeners(U.location,U.action)}var _=!1,F=null;function C(){var e,t,n=T(),r=v(n);if(n!==r)O(r);else{var o=E(),a=U.location;if(!_&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(F===h(o))return;F=null,function(e){if(_)_=!1,P();else{k.confirmTransitionTo(e,"POP",i,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=A.lastIndexOf(h(t));-1===n&&(n=0);var r=A.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(_=!0,L(o))}(e)}))}}(o)}}var j=T(),R=v(j);j!==R&&O(R);var D=E(),A=[h(D)];function L(e){t.go(e)}var N=0;function I(e){1===(N+=e)&&1===e?window.addEventListener("hashchange",C):0===N&&window.removeEventListener("hashchange",C)}var M=!1;var U={length:t.length,action:"POP",location:D,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(l+h(e))},push:function(e,t){var n=m(e,void 0,void 0,U.location);k.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=v(l+t);if(T()!==r){F=t,function(e){window.location.hash=e}(r);var o=A.lastIndexOf(h(U.location)),i=A.slice(0,o+1);i.push(t),A=i,P({action:"PUSH",location:n})}else P()}}))},replace:function(e,t){var n=m(e,void 0,void 0,U.location);k.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=v(l+t);T()!==r&&(F=t,O(r));var o=A.indexOf(h(U.location));-1!==o&&(A[o]=t),P({action:"REPLACE",location:n})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}function P(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,u=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,s=y();function f(e){r(w,e),w.length=w.entries.length,s.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var d=P(u,0,i.length-1),v=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),g=h;function b(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];s.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[d],index:d,entries:v,createHref:g,push:function(e,t){var r=m(e,t,p(),w.location);s.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,p(),w.location);s.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return w}},function(e,t,n){var r,o,i,a=n(114),u=n(4),l=n(11),c=n(14),s=n(9),f=n(52),p=n(44),d=u.WeakMap;if(a){var h=new d,m=h.get,v=h.has,y=h.set;r=function(e,t){return y.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var g=f("state");p[g]=!0,r=function(e,t){return c(e,g,t),t},o=function(e){return s(e,g)?e[g]:{}},i=function(e){return s(e,g)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(7),o=n(144);r({target:"Array",stat:!0,forced:!n(130)((function(e){Array.from(e)}))},{from:o})},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) 2021, Blue Liquid Designs
5
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
6
  * @since 6.0
7
  */
8
- function r(e,t){var n=document.querySelector(".update-font");if(t){var r=e.location.pathname;return r.substr(r.lastIndexOf("/")+1)===t?o(n,e):i(n,e,t)}return o(n,e)}function o(e,t){if(e.classList.remove("show"),"/fontmanager/"!==t.location.pathname)return t.push("/fontmanager/")}function i(e,t,n){return e.classList.add("show"),t.push("/fontmanager/"+n)}},function(e,t,n){var r=n(66),o=n(59),i=n(24),a=n(20),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={}},function(e,t,n){"use strict";var r=n(7),o=n(5),i=n(74),a=n(11),u=n(24),l=n(20),c=n(108),s=n(107),f=n(89),p=n(6),d=n(115),h=p("isConcatSpreadable"),m=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),v=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,o,i,a=u(this),f=s(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,p++,i)}return f.length=p,f}})},function(e,t,n){"use strict";var r=n(7),o=n(55).filter,i=n(89),a=n(42),u=i("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!u||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(5),o=n(25),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){"use strict";var r=n(16);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=n(0),a=n.n(i),u=n(46);n(1);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var s=n(37);n.d(t,"a",(function(){return f}));a.a.Component;var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(u.b)(t.props),t}return o(t,e),t.prototype.render=function(){return a.a.createElement(r.b,{history:this.history,children:this.props.children})},t}(a.a.Component);var p=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?Object(u.c)(e,null,null,t):e},h=function(e){return e},m=a.a.forwardRef;void 0===m&&(m=h);var v=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=c(e,["innerRef","navigate","onClick"]),u=i.target,s=l({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return s.ref=h!==m&&t||n,a.a.createElement("a",s)}));var y=m((function(e,t){var n=e.component,o=void 0===n?v:n,i=e.replace,u=e.to,f=e.innerRef,y=c(e,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(s.a)(!1);var n=e.history,r=d(p(u,e.location),e.location),c=r?n.createHref(r):"",v=l({},y,{href:c,navigate:function(){var t=p(u,e.location);(i?n.replace:n.push)(t)}});return h!==m?v.ref=t||f:v.innerRef=f,a.a.createElement(o,v)}))})),g=function(e){return e},b=a.a.forwardRef;void 0===b&&(b=g);b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,f=e.activeStyle,h=e.className,m=e.exact,v=e.isActive,w=e.location,E=e.sensitive,x=e.strict,S=e.style,T=e.to,O=e.innerRef,k=c(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(s.a)(!1);var n=w||e.location,i=d(p(T,n),n),c=i.pathname,P=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=P?Object(r.e)(n.pathname,{path:P,exact:m,sensitive:E,strict:x}):null,F=!!(v?v(_,n):_),C=F?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,u):h,j=F?l({},S,{},f):S,R=l({"aria-current":F&&o||null,className:C,style:j,to:i},k);return g!==b?R.ref=t||O:R.innerRef=O,a.a.createElement(y,R)}))}))},function(e,t,n){var r=n(49),o=n(75);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(4),o=n(11),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(5);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(75),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(78),o=n(53);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r,o=n(8),i=n(118),a=n(53),u=n(44),l=n(106),c=n(62),s=n(52),f=s("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};u[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[f]=e):n=h(),void 0===t?n:i(n,t)}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;(l=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){var r=n(10),o=n(12).f,i=Function.prototype,a=i.toString,u=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},function(e,t,n){var r=n(78),o=n(53).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r,o,i=n(97),a=n(124),u=RegExp.prototype.exec,l=String.prototype.replace,c=u,s=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(s||p||f)&&(c=function(e){var t,n,r,o,a=this,c=f&&a.sticky,d=i.call(a),h=a.source,m=0,v=e;return c&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",d)),p&&(n=new RegExp("^"+h+"$(?!\\s)",d)),s&&(t=a.lastIndex),r=u.call(c?n:a,v),c?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:s&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),p&&r&&r.length>1&&l.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},function(e,t,n){var r=n(25);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(4),o=n(50),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(10),o=n(5),i=n(62);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(9),o=n(19),i=n(96).indexOf,a=n(44);e.exports=function(e,t){var n,u=o(e),l=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return i})),n.d(t,"applyMiddleware",(function(){return v})),n.d(t,"bindActionCreators",(function(){return f})),n.d(t,"combineReducers",(function(){return c})),n.d(t,"compose",(function(){return m})),n.d(t,"createStore",(function(){return u}));var r=n(110),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var l=e,c=t,s=[],f=s,p=!1;function d(){f===s&&(f=s.slice())}function h(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return d(),f.push(e),function(){if(t){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,d();var n=f.indexOf(e);f.splice(n,1)}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=l(c,e)}finally{p=!1}for(var t=s=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,v({type:i.REPLACE})}function g(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e}return v({type:i.INIT}),(o={dispatch:v,subscribe:m,getState:h,replaceReducer:y})[r.a]=g,o}function l(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},i=0;i<u.length;i++){var c=u[i],s=n[c],f=e[c],p=s(f,t);if(void 0===p){var d=l(c,t);throw new Error(d)}o[c]=p,r=r||p!==f}return r?o:e}}function s(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return s(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=s(o,t))}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return h({},n,{dispatch:r=m.apply(void 0,i)(n.dispatch)})}}}},function(e,t,n){var r=n(7),o=n(5),i=n(24),a=n(109),u=n(133);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){var r=n(7),o=n(27),i=n(43),a=n(8),u=n(11),l=n(68),c=n(205),s=n(5),f=o("Reflect","construct"),p=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!s((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,s=l(u(o)?o:Object.prototype),h=Function.apply.call(e,s,t);return u(h)?h:s}})},function(e,t,n){"use strict";var r=n(7),o=n(161);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(4),o=n(162),i=n(161),a=n(14);for(var u in o){var l=r[u],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(5),o=/#|\.prototype\./,i=function(e,t){var n=u[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var r,o,i,a,u=n(7),l=n(49),c=n(4),s=n(27),f=n(177),p=n(26),d=n(178),h=n(88),m=n(141),v=n(11),y=n(43),g=n(179),b=n(25),w=n(65),E=n(180),x=n(130),S=n(142),T=n(154).set,O=n(181),k=n(182),P=n(183),_=n(156),F=n(184),C=n(47),j=n(85),R=n(6),D=n(115),A=R("species"),L="Promise",N=C.get,I=C.set,M=C.getterFor(L),U=f,q=c.TypeError,z=c.document,H=c.process,G=s("fetch"),B=_.f,$=B,V="process"==b(H),W=!!(z&&z.createEvent&&c.dispatchEvent),K=j(L,(function(){if(!(w(U)!==String(U))){if(66===D)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype.finally)return!0;if(D>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[A]=t,!(e.then((function(){}))instanceof t)})),Q=K||!x((function(e){U.all(e).catch((function(){}))})),X=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Y=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;O((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,l,c,s=r[a++],f=i?s.ok:s.fail,p=s.resolve,d=s.reject,h=s.domain;try{f?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),c=!0)),u===s.promise?d(q("Promise-chain cycle")):(l=X(u))?l.call(u,p,d):p(u)):d(o)}catch(e){h&&!c&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Z(e,t)}))}},J=function(e,t,n){var r,o;W?((r=z.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(o=c["on"+e])?o(r):"unhandledrejection"===e&&P("Unhandled promise rejection",n)},Z=function(e,t){T.call(c,(function(){var n,r=t.value;if(ee(t)&&(n=F((function(){V?H.emit("unhandledRejection",r,e):J("unhandledrejection",e,r)})),t.rejection=V||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){T.call(c,(function(){V?H.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,Y(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw q("Promise can't be resolved itself");var o=X(n);o?O((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,Y(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};K&&(U=function(e){g(this,U,L),y(e),r.call(this);var t=N(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){I(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(U.prototype,{then:function(e,t){var n=M(this),r=B(S(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=V?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Y(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},_.f=B=function(e){return e===U||e===i?new o(e):$(e)},l||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,G.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:K},{Promise:U}),h(U,L,!1,!0),m(L),i=s(L),u({target:L,stat:!0,forced:K},{reject:function(e){var t=B(this);return t.reject.call(void 0,e),t.promise}}),u({target:L,stat:!0,forced:l||K},{resolve:function(e){return k(l&&this===i?U:this,e)}}),u({target:L,stat:!0,forced:Q},{all:function(e){var t=this,n=B(t),r=n.resolve,o=n.reject,i=F((function(){var n=y(t.resolve),i=[],a=0,u=1;E(e,(function(e){var l=a++,c=!1;i.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,i[l]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=B(t),r=n.reject,o=F((function(){var o=y(t.resolve);E(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12).f,o=n(9),i=n(6)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(5),o=n(6),i=n(115),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r;"undefined"!=typeof window?r=window:"undefined"!=typeof self?r=self:(console.warn("Using browser-only version of superagent in non-browser environment"),r=this);var o=n(192),i=n(193),a=n(158),u=n(194),l=n(196);function c(){}var s=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=y,s.getXHR=function(){if(!(!r.XMLHttpRequest||r.location&&"file:"==r.location.protocol&&r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only version of superagent could not find XHR")};var f="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function p(e){if(!a(e))return e;var t=[];for(var n in e)d(t,n,e[n]);return t.join("&")}function d(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach((function(n){d(e,t,n)}));else if(a(n))for(var r in n)d(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function h(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)-1==(n=(t=o[i]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function m(e){return/[\/+]json($|[^-\w])/.test(e)}function v(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=function(e){for(var t,n,r,o,i=e.split(/\r?\n/),a={},u=0,l=i.length;u<l;++u)-1!==(t=(n=i[u]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),o=f(n.slice(t+1)),a[r]=o);return a}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function y(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new v(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function g(e,t,n){var r=s("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}s.serializeObject=p,s.parseString=h,s.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},s.serialize={"application/x-www-form-urlencoded":p,"application/json":JSON.stringify},s.parse={"application/x-www-form-urlencoded":h,"application/json":JSON.parse},u(v.prototype),v.prototype._parseBody=function(e){var t=s.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&m(this.type)&&(t=s.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},v.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},s.Response=v,o(y.prototype),i(y.prototype),y.prototype.type=function(e){return this.set("Content-Type",s.types[e]||e),this},y.prototype.accept=function(e){return this.set("Accept",s.types[e]||e),this},y.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});var r=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,r)},y.prototype.query=function(e){return"string"!=typeof e&&(e=p(e)),e&&this._query.push(e),this},y.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},y.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},y.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},y.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},y.prototype.buffer=y.prototype.ca=y.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},y.prototype.pipe=y.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},y.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},y.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||c,this._finalizeQueryString(),this._end()},y.prototype._end=function(){var e=this,t=this.xhr=s.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||s.serialize[o?o.split(";")[0]:""];!i&&m(o)&&(i=s.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0!==n?n:null),this},s.agent=function(){return new l},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){l.prototype[e.toLowerCase()]=function(t,n){var r=new s.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),l.prototype.del=l.prototype.delete,s.get=function(e,t,n){var r=s("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},s.head=function(e,t,n){var r=s("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},s.options=function(e,t,n){var r=s("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.del=g,s.delete=g,s.patch=function(e,t,n){var r=s("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.post=function(e,t,n){var r=s("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.put=function(e,t,n){var r=s("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){var r=n(7),o=n(24),i=n(67);r({target:"Object",stat:!0,forced:n(5)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(24),a=n(20),u=n(35),l=n(23),c=n(112),s=n(99),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(n,r){var o=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!v&&y||"string"==typeof r&&-1===r.indexOf(g)){var i=n(t,e,this,r);if(i.done)return i.value}var l=o(e),d=String(this),h="function"==typeof r;h||(r=String(r));var m=l.global;if(m){var w=l.unicode;l.lastIndex=0}for(var E=[];;){var x=s(l,d);if(null===x)break;if(E.push(x),!m)break;""===String(x[0])&&(l.lastIndex=c(d,a(l.lastIndex),w))}for(var S,T="",O=0,k=0;k<E.length;k++){x=E[k];for(var P=String(x[0]),_=f(p(u(x.index),d.length),0),F=[],C=1;C<x.length;C++)F.push(void 0===(S=x[C])?S:String(S));var j=x.groups;if(h){var R=[P].concat(F,_,d);void 0!==j&&R.push(j);var D=String(r.apply(void 0,R))}else D=b(P,d,_,F,j,r);_>=O&&(T+=d.slice(O,_)+D,O=_+P.length)}return T+d.slice(O)}];function b(e,n,r,o,a,u){var l=r+e.length,c=o.length,s=m;return void 0!==a&&(a=i(a),s=h),t.call(u,s,(function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=a[i.slice(1,-1)];break;default:var s=+i;if(0===s)return t;if(s>c){var f=d(s/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[s-1]}return void 0===u?"":u}))}}))},function(e,t,n){var r=n(7),o=n(5),i=n(19),a=n(45).f,u=n(10),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!u||l,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(7),o=n(10),i=n(103),a=n(19),u=n(45),l=n(108);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,c=i(r),s={},f=0;c.length>f;)void 0!==(n=o(r,t=c[f++]))&&l(s,t,n);return s}})},function(e,t,n){var r=n(6),o=n(68),i=n(12),a=r("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},function(e,t,n){var r=n(19),o=n(20),i=n(105),a=function(e){return function(t,n,a){var u,l=r(t),c=o(l.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var r=n(8);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";n(41);var r=n(26),o=n(5),i=n(6),a=n(73),u=n(14),l=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),s="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!v||"replace"===e&&(!c||!s||p)||"split"===e&&!d){var y=/./[h],g=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},function(e,t,n){var r=n(25),o=n(73);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";var r=n(7),o=n(11),i=n(74),a=n(105),u=n(20),l=n(19),c=n(108),s=n(6),f=n(89),p=n(42),d=f("slice"),h=p("slice",{ACCESSORS:!0,0:0,1:2}),m=s("species"),v=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var n,r,s,f=l(this),p=u(f.length),d=a(e,p),h=a(void 0===t?p:t,p);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(f,d,h);for(r=new(void 0===n?Array:n)(y(h-d,0)),s=0;d<h;d++,s++)d in f&&c(r,s,f[d]);return r.length=s,r}})},function(e,t,n){var r=n(64);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(9),o=n(103),i=n(45),a=n(12);e.exports=function(e,t){for(var n=o(t),u=a.f,l=i.f,c=0;c<n.length;c++){var s=n[c];r(e,s)||u(e,s,l(t,s))}}},function(e,t,n){var r=n(27),o=n(72),i=n(87),a=n(8);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(4);e.exports=r},function(e,t,n){var r=n(35),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(27);e.exports=r("document","documentElement")},function(e,t,n){var r=n(11),o=n(74),i=n(6)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var r=n(51),o=n(12),i=n(34);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(9),o=n(24),i=n(52),a=n(133),u=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";(function(e,r){var o,i=n(169);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(84),n(191)(e))},function(e,t,n){var r=n(7),o=n(185);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(117).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r={};r[n(6)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(4),o=n(65),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r,o,i=n(4),a=n(131),u=i.process,l=u&&u.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=w(a,n);if(u){if(u===s)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var s={};function f(){}function p(){}function d(){}var h={};h[o]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(T([])));v&&v!==t&&n.call(v,o)&&(h=v);var y=d.prototype=f.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,u){var l=c(e[o],e,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(l.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=y.constructor=d,d.constructor=p,p.displayName=u(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},g(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(y),u(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(35),o=n(23),i=function(e){return function(t,n){var i,a,u=String(o(t)),l=r(n),c=u.length;return l<0||l>=c?e?"":void 0:(i=u.charCodeAt(l))<55296||i>56319||l+1===c||(a=u.charCodeAt(l+1))<56320||a>57343?e?u.charAt(l):i:e?u.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){var r=n(10),o=n(12),i=n(8),a=n(67);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,l=0;u>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){"use strict";var r,o,i,a=n(109),u=n(14),l=n(9),c=n(6),s=n(49),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),s||l(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(7),o=n(200);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));n(48),n(33),n(21);function r(e,t){var n=Array.from(e);n.pop(),n.map((function(e,n){"none"!==e.style.display&&(e.querySelector(".gform-settings-panel__collapsible-toggle-checkbox").addEventListener("click",(function(){o(e,t,n)})),o(e,t,n,"firstLoad"))}))}function o(e,t,n,r){var o="submit-container-"+n;if(!e.classList.contains("gform-settings-panel--collapsed")){var i=t.querySelector("#submit").cloneNode(!0);i.setAttribute("id","submit_"+n);var a=document.createElement("div");return a.setAttribute("class",o),a.innerHTML=i.outerHTML,e.parentNode.insertBefore(a,e.nextSibling)}r||document.querySelector(".".concat(o)).remove()}},function(e,t,n){"use strict";var r=n(137),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=l(t),m=l(n),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||r&&r[y]||m&&m[y]||u&&u[y])){var g=p(n,y);try{c(t,y,g)}catch(e){}}}}return t}},function(e,t,n){var r=n(11),o=n(25),i=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(5);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(8),o=n(146);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(113),o=n(25),i=n(6)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(6),o=n(56),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(126),o=n(56),i=n(6)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(8);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(6)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(27);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(7),o=n(145),i=n(109),a=n(125),u=n(88),l=n(14),c=n(26),s=n(6),f=n(49),p=n(56),d=n(119),h=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,v=s("iterator"),y=function(){return this};e.exports=function(e,t,n,s,d,g,b){o(n,t,s);var w,E,x,S=function(e){if(e===d&&_)return _;if(!m&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",O=!1,k=e.prototype,P=k[v]||k["@@iterator"]||d&&k[d],_=!m&&P||S(d),F="Array"==t&&k.entries||P;if(F&&(w=i(F.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[v]&&l(w,v,y)),u(w,T,!0,!0),f&&(p[T]=y))),"values"==d&&P&&"values"!==P.name&&(O=!0,_=function(){return P.call(this)}),f&&!b||k[v]===_||l(k,v,_),p[t]=_,d)if(E={values:S("values"),keys:g?_:S("keys"),entries:S("entries")},b)for(x in E)(m||O||!(x in k))&&c(k,x,E[x]);else r({target:t,proto:!0,forced:m||O},E);return E}},function(e,t,n){var r=n(5);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";var r=n(7),o=n(96).includes,i=n(95);r({target:"Array",proto:!0,forced:!n(42)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(7),o=n(163);r({target:"String",proto:!0,forced:n(164)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(7),o=n(163);r({target:"String",proto:!0,forced:n(164)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";e.exports=n(203)},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=function(e){var t=e.style;return o.a.createElement("img",{alt:GFPDF.spinnerAlt,src:GFPDF.spinnerUrl,className:"gfpdf-spinner "+t})};a.propTypes={style:n.n(i).a.string},t.a=a},function(e,t,n){"use strict";var r=n(190).get;function o(e,t){return e===t}e.exports=function(e,t,n){n=n||o;var i=r(e(),t);return function(o){return function(){var a=r(e(),t);if(!n(i,a)){var u=i;i=a,o(a,u,t)}}}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var r=n(27),o=n(12),i=n(6),a=n(10),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(8),o=n(43),i=n(6)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},,function(e,t,n){"use strict";var r=n(66),o=n(24),i=n(129),a=n(127),u=n(20),l=n(108),c=n(128);e.exports=function(e){var t,n,s,f,p,d,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,g=void 0!==y,b=c(h),w=0;if(g&&(y=r(y,v>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=u(h.length));t>w;w++)d=g?y(h[w],w):h[w],l(n,w,d);else for(p=(f=b.call(h)).next,n=new m;!(s=p.call(f)).done;w++)d=g?i(f,y,[s.value,w],!0):s.value,l(n,w,d);return n.length=w,n}},function(e,t,n){"use strict";var r=n(119).IteratorPrototype,o=n(68),i=n(34),a=n(88),u=n(56),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),u[c]=l,e}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(7),o=n(198),i=n(23);r({target:"String",proto:!0,forced:!n(199)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t){const n=e=>void 0===e,r=e=>Array.isArray(e),o=e=>e&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.slice,i=(e,t,a,u)=>((t=t||{}).indices=!n(t.indices)&&t.indices,t.nullsAsUndefineds=!n(t.nullsAsUndefineds)&&t.nullsAsUndefineds,t.booleansAsIntegers=!n(t.booleansAsIntegers)&&t.booleansAsIntegers,t.allowEmptyArrays=!n(t.allowEmptyArrays)&&t.allowEmptyArrays,a=a||new FormData,n(e)||(null===e?t.nullsAsUndefineds||a.append(u,""):(e=>"boolean"==typeof e)(e)?t.booleansAsIntegers?a.append(u,e?1:0):a.append(u,e):r(e)?e.length?e.forEach((e,n)=>{const r=u+"["+(t.indices?n:"")+"]";i(e,t,a,r)}):t.allowEmptyArrays&&a.append(u+"[]",""):(e=>e instanceof Date)(e)?a.append(u,e.toISOString()):!(e=>e===Object(e))(e)||(e=>o(e)&&"string"==typeof e.name&&("object"==typeof e.lastModifiedDate||"number"==typeof e.lastModified))(e)||o(e)?a.append(u,e):Object.keys(e).forEach(n=>{const o=e[n];if(r(o))for(;n.length>2&&n.lastIndexOf("[]")===n.length-2;)n=n.substring(0,n.length-2);i(o,t,a,u?u+"["+n+"]":n)})),a);e.exports={serialize:i}},function(e,t,n){"use strict";(function(e){var r=n(0),o=n.n(r),i=n(150),a=n(1),u=n.n(a),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var s=o.a.createContext||function(e,t){var n,o,a,s="__create-react-context-"+((l[a="__global_unique_id__"]=(l[a]||0)+1)+"__"),f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[s]=u.a.object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},r.getValue=function(){return this.context[s]?this.context[s].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((o={})[s]=u.a.object,o),{Provider:f,Consumer:p}};t.a=s}).call(this,n(84))},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(204);e.exports=d,e.exports.parse=i,e.exports.compile=function(e,t){return u(i(e,t),t)},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,u="",s=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(u+=e.slice(a,d),a=d+f.length,p)u+=p[1];else{var h=e[a],m=n[2],v=n[3],y=n[4],g=n[5],b=n[6],w=n[7];u&&(r.push(u),u="");var E=null!=m&&null!=h&&h!==m,x="+"===b||"*"===b,S="?"===b||"*"===b,T=n[2]||s,O=y||g;r.push({name:v||i++,prefix:m||"",delimiter:T,optional:S,repeat:x,partial:E,asterisk:!!w,pattern:O?c(O):w?".*":"[^"+l(T)+"]+?"})}}return a<e.length&&(u+=e.substr(a)),u&&r.push(u),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",u=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var s=e[c];if("string"!=typeof s){var f,p=u[s.name];if(null==p){if(s.optional){s.partial&&(i+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(r(p)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var d=0;d<p.length;d++){if(f=l(p[d]),!n[c].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===d?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!n[c].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');i+=s.prefix+f}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",u=0;u<e.length;u++){var c=e[u];if("string"==typeof c)a+=l(c);else{var p=l(c.prefix),d="(?:"+c.pattern+")";t.push(c),c.repeat&&(d+="(?:"+p+d+")*"),a+=d=c.optional?c.partial?p+"("+d+")?":"(?:"+p+"("+d+"))?":p+"("+d+")"}}var h=l(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",s(new RegExp("^"+a,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(d(e[o],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(23),a=n(206),u=n(99);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var s=u(i,l);return a(i.lastIndex,c)||(i.lastIndex=c),null===s?-1:s.index}]}))},function(e,t,n){var r=n(7),o=n(207).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r,o,i,a=n(4),u=n(5),l=n(25),c=n(66),s=n(106),f=n(62),p=n(155),d=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},E=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},x=function(e){return function(){E(e)}},S=function(e){E(e.data)},T=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},"process"==l(v)?r=function(e){v.nextTick(x(e))}:g&&g.now?r=function(e){g.now(x(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=S,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(T)||"file:"===d.protocol?r="onreadystatechange"in f("script")?function(e){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}:(r=T,a.addEventListener("message",S,!1))),e.exports={set:h,clear:m}},function(e,t,n){var r=n(131);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(43),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";
9
  /*
10
  object-assign
11
  (c) Sindre Sorhus
12
  @license MIT
13
- */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,l=a(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))o.call(n,s)&&(l[s]=n[s]);if(r){u=r(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(l[u[f]]=n[u[f]])}}return l}},function(e,t,n){"use strict";e.exports=function(e){return null!==e&&"object"==typeof e}},function(e,t,n){var r=n(6);t.f=r},function(e,t,n){var r=n(104),o=n(9),i=n(159),a=n(12).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(55).forEach,o=n(140),i=n(42),a=o("forEach"),u=i("forEach");e.exports=a&&u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(23),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),u+">"+a+"</"+t+">"}},function(e,t,n){var r=n(5);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},,function(e,t,n){"use strict";var r=n(0),o=n.n(r);function i(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function u(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}l((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}var l=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function c(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=l.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var s=[".DS_Store","Thumbs.db"];function f(e){return(null!==e.target&&e.target.files?h(e.target.files):[]).map((function(e){return c(e)}))}function p(e,t){return i(this,void 0,void 0,(function(){var n;return a(this,(function(r){switch(r.label){case 0:return e.items?(n=h(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(m))]):[3,2];case 1:return[2,d(v(r.sent()))];case 2:return[2,d(h(e.files).map((function(e){return c(e)})))]}}))}))}function d(e){return e.filter((function(e){return-1===s.indexOf(e.name)}))}function h(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function m(e){if("function"!=typeof e.webkitGetAsEntry)return y(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?b(t):y(e)}function v(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}(e,Array.isArray(t)?v(t):[t])}),[])}function y(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=c(t);return Promise.resolve(n)}function g(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,e.isDirectory?b(e):w(e)]}))}))}function b(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var u=this;t.readEntries((function(t){return i(u,void 0,void 0,(function(){var i,u,l;return a(this,(function(a){switch(a.label){case 0:if(t.length)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=a.sent(),e(i),[3,4];case 3:return u=a.sent(),n(u),[3,4];case 4:return[3,6];case 5:l=Promise.all(t.map(g)),r.push(l),o(),a.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function w(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=c(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var E=n(1),x=n.n(E),S=n(170),T=n.n(S),O=("function"==typeof Symbol&&Symbol.iterator,"undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"));function k(e,t){return"application/x-moz-file"===e.type||T()(e,t)}function P(e,t,n){return e.size<=t&&e.size>=n}function _(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function F(e){return void 0!==e.defaultPrevented?e.defaultPrevented:"function"==typeof e.isDefaultPrevented&&e.isDefaultPrevented()}function C(e){return!e.dataTransfer||Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e}))}function j(e){e.preventDefault()}function R(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function D(e){return-1!==e.indexOf("Edge/")}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return R(e)||D(e)}function L(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.defaultPrevented}))}}var N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var G=function(e){function t(){var e,n,r;z(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=H(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},r.isFileDialogActive=!1,r.onDocumentDrop=function(e){r.node&&r.node.contains(e.target)||(e.preventDefault(),r.dragTargets=[])},r.onDragStart=function(e){e.persist(),r.props.onDragStart&&C(e)&&r.props.onDragStart.call(r,e)},r.onDragEnter=function(e){e.preventDefault(),-1===r.dragTargets.indexOf(e.target)&&r.dragTargets.push(e.target),e.persist(),C(e)&&(Promise.resolve(r.props.getDataTransferItems(e)).then((function(t){_(e)||r.setState({draggedFiles:t,isDragActive:!0})})),r.props.onDragEnter&&r.props.onDragEnter.call(r,e))},r.onDragOver=function(e){return e.preventDefault(),e.persist(),e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),r.props.onDragOver&&C(e)&&r.props.onDragOver.call(r,e),!1},r.onDragLeave=function(e){e.preventDefault(),e.persist(),r.dragTargets=r.dragTargets.filter((function(t){return t!==e.target&&r.node.contains(t)})),r.dragTargets.length>0||(r.setState({isDragActive:!1,draggedFiles:[]}),r.props.onDragLeave&&C(e)&&r.props.onDragLeave.call(r,e))},r.onDrop=function(e){var t=r.props,n=t.onDrop,o=t.onDropAccepted,i=t.onDropRejected,a=t.multiple,u=t.accept,l=t.getDataTransferItems;e.preventDefault(),e.persist(),r.dragTargets=[],r.isFileDialogActive=!1,r.draggedFiles=null,r.setState({isDragActive:!1,draggedFiles:[]}),C(e)&&Promise.resolve(l(e)).then((function(t){var l=[],c=[];_(e)||(t.forEach((function(e){k(e,u)&&P(e,r.props.maxSize,r.props.minSize)?l.push(e):c.push(e)})),!a&&l.length>1&&c.push.apply(c,q(l.splice(0))),r.setState({acceptedFiles:l,rejectedFiles:c},(function(){n&&n.call(r,l,c,e),c.length>0&&i&&i.call(r,c,e),l.length>0&&o&&o.call(r,l,e)})))}))},r.onClick=function(e){var t=r.props.onClick;t&&t.call(r,e),F(e)||(e.stopPropagation(),A()?setTimeout(r.open,0):r.open())},r.onInputElementClick=function(e){e.stopPropagation()},r.onFileDialogCancel=function(){var e=r.props.onFileDialogCancel;r.isFileDialogActive&&setTimeout((function(){null!=r.input&&(r.input.files.length||(r.isFileDialogActive=!1,"function"==typeof e&&e()))}),300)},r.onFocus=function(e){var t=r.props.onFocus;t&&t.call(r,e),F(e)||r.setState({isFocused:!0})},r.onBlur=function(e){var t=r.props.onBlur;t&&t.call(r,e),F(e)||r.setState({isFocused:!1})},r.onKeyDown=function(e){var t=r.props.onKeyDown;r.node.isEqualNode(e.target)&&(t&&t.call(r,e),F(e)||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),r.open()))},r.composeHandler=function(e){return r.props.disabled?null:e},r.getRootProps=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.refKey,o=void 0===n?"ref":n,i=t.onKeyDown,a=t.onFocus,u=t.onBlur,l=t.onClick,c=t.onDragStart,s=t.onDragEnter,f=t.onDragOver,p=t.onDragLeave,d=t.onDrop,h=U(t,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragStart","onDragEnter","onDragOver","onDragLeave","onDrop"]);return N((M(e={onKeyDown:r.composeHandler(i?L(i,r.onKeyDown):r.onKeyDown),onFocus:r.composeHandler(a?L(a,r.onFocus):r.onFocus),onBlur:r.composeHandler(u?L(u,r.onBlur):r.onBlur),onClick:r.composeHandler(l?L(l,r.onClick):r.onClick),onDragStart:r.composeHandler(c?L(c,r.onDragStart):r.onDragStart),onDragEnter:r.composeHandler(s?L(s,r.onDragEnter):r.onDragEnter),onDragOver:r.composeHandler(f?L(f,r.onDragOver):r.onDragOver),onDragLeave:r.composeHandler(p?L(p,r.onDragLeave):r.onDragLeave),onDrop:r.composeHandler(d?L(d,r.onDrop):r.onDrop)},o,r.setNodeRef),M(e,"tabIndex",r.props.disabled?-1:0),e),h)},r.getInputProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,o=e.onChange,i=e.onClick,a=U(e,["refKey","onChange","onClick"]),u=r.props,l=u.accept,c=u.multiple,s=u.name,f=M({accept:l,type:"file",style:{display:"none"},multiple:O&&c,onChange:L(o,r.onDrop),onClick:L(i,r.onInputElementClick),autoComplete:"off",tabIndex:-1},n,r.setInputRef);return s&&s.length&&(f.name=s),N({},f,a)},r.setNodeRef=function(e){r.node=e},r.setInputRef=function(e){r.input=e},r.open=function(){r.isFileDialogActive=!0,r.input&&(r.input.value=null,r.input.click())},H(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),I(t,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",j,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),window.addEventListener("focus",this.onFileDialogCancel,!1)}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",j),document.removeEventListener("drop",this.onDocumentDrop)),window.removeEventListener("focus",this.onFileDialogCancel,!1)}},{key:"render",value:function(){var e,t,n=this.props,r=n.children,o=n.multiple,i=n.disabled,a=this.state,u=a.isDragActive,l=a.isFocused,c=a.draggedFiles,s=a.acceptedFiles,f=a.rejectedFiles,p=c.length,d=o||p<=1,h=p>0&&(e=c,t=this.props.accept,e.every((function(e){return k(e,t)})));return r({isDragActive:u,isDragAccept:h,isDragReject:p>0&&(!h||!d),draggedFiles:c,acceptedFiles:s,rejectedFiles:f,isFocused:l&&!i,getRootProps:this.getRootProps,getInputProps:this.getInputProps,open:this.open})}}]),t}(o.a.Component);t.a=G;G.propTypes={accept:x.a.oneOfType([x.a.string,x.a.arrayOf(x.a.string)]),children:x.a.func,disabled:x.a.bool,preventDropOnDocument:x.a.bool,multiple:x.a.bool,name:x.a.string,maxSize:x.a.number,minSize:x.a.number,getDataTransferItems:x.a.func,onClick:x.a.func,onFocus:x.a.func,onBlur:x.a.func,onKeyDown:x.a.func,onDrop:x.a.func,onDropAccepted:x.a.func,onDropRejected:x.a.func,onDragStart:x.a.func,onDragEnter:x.a.func,onDragOver:x.a.func,onDragLeave:x.a.func,onFileDialogCancel:x.a.func},G.defaultProps={preventDropOnDocument:!0,disabled:!1,multiple:!0,maxSize:1/0,minSize:0,getDataTransferItems:function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?p(e.dataTransfer,e.type):f(e))];var n}))}))}}},function(e,t,n){"use strict";n(31),n(38),n(39),n(57),n(32),n(120),n(80),n(18),n(81),n(41),n(29),n(21),n(152),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(15),l=n(16),c=n(3);n(48),n(134),n(33);var s=n(54);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
14
  /**
15
  * @package Gravity PDF
16
  * @copyright Copyright (c) 2021, Blue Liquid Designs
@@ -23,7 +23,7 @@ object-assign
23
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
24
  * @since 6.0
25
  */
26
- return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),r=document.querySelector('optgroup[label="User-Defined Fonts"]'),o=n.options[n.selectedIndex].value,i=[],a=document.createElement("optgroup");a.setAttribute("label","User-Defined Fonts"),e.map((function(e){var t=document.createElement("option");t.text=e.font_name,t.value=e.id,a.appendChild(t)})),t||null!==r&&(r.remove(),n.insertBefore(a,n.childNodes[0]),n.selectedIndex="0"),Array.from(document.querySelectorAll('optgroup[label="User-Defined Fonts"] > option')).map((function(e){return i.push(e.value)})),null!==r&&r.remove();var u=[];return e.length>0&&e.map((function(e){return u.push(e.id)})),u.length>0&&u.includes(t)?(n.insertBefore(a,n.childNodes[0]),n.value=t):u.length>0&&!u.includes(t)?(n.insertBefore(a,n.childNodes[0]),n.selectedIndex="0"):0===u.length&&i.length>0?n.selectedIndex="0":(n.insertBefore(a,n.childNodes[0]),n.value=t||o,void(0===i.length&&0===u.length&&(n.querySelector('optgroup[label="User-Defined Fonts"]').remove(),n.selectedIndex="0")))}(t,n)}},{key:"render",value:function(){return o.a.createElement("button",{className:"close dashicons dashicons-no",tabIndex:"142",onClick:this.handleCloseDialog,"aria-label":"close"},o.a.createElement("span",{className:"screen-reader-text"},"Close dialog"))}}])&&d(t.prototype,n),r&&d(t,r),a}(r.Component);b(w,"propTypes",{id:a.a.string,closeRoute:a.a.string,getCustomFontList:a.a.func.isRequired,clearAddFontMsg:a.a.func.isRequired,templateList:a.a.arrayOf(a.a.object).isRequired,fontList:a.a.arrayOf(a.a.object).isRequired,selectedFont:a.a.string.isRequired,msg:a.a.object.isRequired,history:a.a.object.isRequired});t.a=Object(l.f)(Object(u.b)((function(e){return{templateList:e.template.list,fontList:e.fontManager.fontList,selectedFont:e.fontManager.selectedFont,msg:e.fontManager.msg}}),{getCustomFontList:c.A,clearAddFontMsg:c.v})(w))},function(e,t,n){"use strict";var r=n(79).compose;t.__esModule=!0,t.composeWithDevTools="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r:r.apply(null,arguments)},t.devToolsEnhancer="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(32)("wks"),o=n(9),i=n(0).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(0),o=n(2),i=n(8),a=n(22),u=n(10),l=function(e,t,n){var c,s,f,p,d=e&l.F,h=e&l.G,m=e&l.S,v=e&l.P,y=e&l.B,g=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(c in h&&(n=t),n)f=((s=!d&&g&&void 0!==g[c])?g:n)[c],p=y&&s?u(f,r):v&&"function"==typeof f?u(Function.call,f):f,g&&a(g,c,f,e&l.U),b[c]!=f&&i(b,c,p),v&&w[c]!=f&&(w[c]=f)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(16),o=n(21);e.exports=n(3)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(24);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(28),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){"use strict";var r=n(7),o=n(25)(3);r(r.P+r.F*!n(33)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(17),o=n(18),i=n(20),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(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){var r=n(1);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)((function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(1),o=n(0).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(1);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){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(0),o=n(8),i=n(23),a=n(9)("src"),u=Function.toString,l=(""+u).split("toString");n(2).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||u.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(10),o=n(26),i=n(27),a=n(12),u=n(29);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,s=4==e,f=6==e,p=5==e||f,d=t||u;return function(t,u,h){for(var m,v,y=i(t),g=o(y),b=r(u,h,3),w=a(g.length),E=0,x=n?d(t,w):l?d(t,0):void 0;w>E;E++)if((p||E in g)&&(v=b(m=g[E],E,y),e))if(n)x[E]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:x.push(m)}else if(s)return!1;return f?-1:c||s?s:x}}},function(e,t,n){var r=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(11);e.exports=function(e){return Object(r(e))}},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=n(30);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(1),o=n(31),i=n(6)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(5);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){"use strict";var r=n(7),o=n(12),i=n(36),a="".endsWith;r(r.P+r.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:Math.min(o(n),r),l=String(e);return a?a.call(t,l,u):t.slice(u-l.length,u)===l}})},function(e,t,n){var r=n(37),o=n(11);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(1),o=n(5),i=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}}])},,,,function(e,t,n){"use strict";var r=n(7),o=n(43),i=n(24),a=n(5),u=n(140),l=[],c=l.sort,s=a((function(){l.sort(void 0)})),f=a((function(){l.sort(null)})),p=u("sort");r({target:"Array",proto:!0,forced:s||!f||!p},{sort:function(e){return void 0===e?c.call(i(this)):c.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(20),a=n(23),u=n(112),l=n(99);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),c=String(this);if(!a.global)return l(a,c);var s=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=l(a,c));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=u(c,i(a.lastIndex),s)),d++}return 0===d?null:p}]}))},function(e,t,n){"use strict";var r=n(113),o=n(126);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){var r=n(4);e.exports=r.Promise},function(e,t,n){var r=n(26);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(8),o=n(127),i=n(20),a=n(66),u=n(128),l=n(129),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,s,f){var p,d,h,m,v,y,g,b=a(t,n,s?2:1);if(f)p=e;else{if("function"!=typeof(d=u(e)))throw TypeError("Target is not iterable");if(o(d)){for(h=0,m=i(e.length);m>h;h++)if((v=s?b(r(g=e[h])[0],g[1]):b(e[h]))&&v instanceof c)return v;return new c(!1)}p=d.call(e)}for(y=p.next;!(g=y.call(p)).done;)if("object"==typeof(v=l(p,b,g.value,s))&&v&&v instanceof c)return v;return new c(!1)}).stop=function(e){return new c(!0,e)}},function(e,t,n){var r,o,i,a,u,l,c,s,f=n(4),p=n(45).f,d=n(25),h=n(154).set,m=n(155),v=f.MutationObserver||f.WebKitMutationObserver,y=f.process,g=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),E=w&&w.value;E||(r=function(){var e,t;for(b&&(e=y.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b?a=function(){y.nextTick(r)}:v&&!m?(u=!0,l=document.createTextNode(""),new v(r).observe(l,{characterData:!0}),a=function(){l.data=u=!u}):g&&g.resolve?(c=g.resolve(void 0),s=c.then,a=function(){s.call(c,r)}):a=function(){h.call(f,r)}),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(8),o=n(11),i=n(156);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(4);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(10),o=n(5),i=n(67),a=n(87),u=n(77),l=n(24),c=n(59),s=Object.assign,f=Object.defineProperty;e.exports=!s||o((function(){if(r&&1!==s({b:1},s(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||"abcdefghijklmnopqrst"!=i(s({},t)).join("")}))?function(e,t){for(var n=l(e),o=arguments.length,s=1,f=a.f,p=u.f;o>s;)for(var d,h=c(arguments[s++]),m=f?i(h).concat(f(h)):i(h),v=m.length,y=0;v>y;)d=m[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:s},function(e,t,n){"use strict";
27
  /** @license React v16.13.1
28
  * react.production.min.js
29
  *
@@ -47,7 +47,7 @@ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),
47
  *
48
  * This source code is licensed under the MIT license found in the
49
  * LICENSE file in the root directory of this source tree.
50
- */var r,o,i,a,u;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(s,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var y=d.now();t.unstable_now=function(){return d.now()-y}}var g=!1,b=null,w=-1,E=5,x=0;a=function(){return t.unstable_now()>=x},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):E=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,T=S.port2;S.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+E;try{b(!0,e)?T.postMessage(null):(g=!1,b=null)}catch(e){throw T.postMessage(null),e}}else g=!1},r=function(e){b=e,g||(g=!0,T.postMessage(null))},o=function(e,n){w=h((function(){e(t.unstable_now())}),n)},i=function(){m(w),w=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<_(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function P(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,l=e[u];if(void 0!==a&&0>_(a,n))void 0!==l&&0>_(l,a)?(e[r]=l,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],C=[],j=1,R=null,D=3,A=!1,L=!1,N=!1;function I(e){for(var t=k(C);null!==t;){if(null===t.callback)P(C);else{if(!(t.startTime<=e))break;P(C),t.sortIndex=t.expirationTime,O(F,t)}t=k(C)}}function M(e){if(N=!1,I(e),!L)if(null!==k(F))L=!0,r(U);else{var t=k(C);null!==t&&o(M,t.startTime-e)}}function U(e,n){L=!1,N&&(N=!1,i()),A=!0;var r=D;try{for(I(n),R=k(F);null!==R&&(!(R.expirationTime>n)||e&&!a());){var u=R.callback;if(null!==u){R.callback=null,D=R.priorityLevel;var l=u(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?R.callback=l:R===k(F)&&P(F),I(n)}else P(F);R=k(F)}if(null!==R)var c=!0;else{var s=k(C);null!==s&&o(M,s.startTime-n),c=!1}return c}finally{R=null,D=r,A=!1}}function q(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||A||(L=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_getFirstCallbackNode=function(){return k(F)},t.unstable_next=function(e){switch(D){case 1:case 2:case 3:var t=3;break;default:t=D}var n=D;D=t;try{return e()}finally{D=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=D;D=e;try{return t()}finally{D=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?u+l:u,a="number"==typeof a.timeout?a.timeout:q(e)}else a=q(e),l=u;return e={id:j++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>u?(e.sortIndex=l,O(C,e),null===k(F)&&e===k(C)&&(N?i():N=!0,o(M,l-u))):(e.sortIndex=a,O(F,e),L||A||(L=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();I(e);var n=k(F);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=D;return function(){var n=D;D=t;try{return e.apply(this,arguments)}finally{D=n}}}},function(e,t,n){var r,o,i;!function(n,a){"use strict";"object"==typeof e.exports?e.exports=a():(o=[],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(){"use strict";var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;function n(e){if(!e)return!0;if(u(e)&&0===e.length)return!0;if(!i(e)){for(var n in e)if(t.call(e,n))return!1;return!0}return!1}function r(t){return e.call(t)}function o(e){return"number"==typeof e||"[object Number]"===r(e)}function i(e){return"string"==typeof e||"[object String]"===r(e)}function a(e){return"object"==typeof e&&"[object Object]"===r(e)}function u(e){return"object"==typeof e&&"number"==typeof e.length&&"[object Array]"===r(e)}function l(e){var t=parseInt(e);return t.toString()===e?t:e}function c(e,t,r,a){if(o(t)&&(t=[t]),n(t))return e;if(i(t))return c(e,t.split(".").map(l),r,a);var u=t[0];if(1===t.length){var s=e[u];return void 0!==s&&a||(e[u]=r),s}return void 0===e[u]&&(o(t[1])?e[u]=[]:e[u]={}),c(e[u],t.slice(1),r,a)}var s=function(e){return Object.keys(s).reduce((function(t,n){return"function"==typeof s[n]&&(t[n]=s[n].bind(s,e)),t}),{})};return s.has=function(e,r){if(n(e))return!1;if(o(r)?r=[r]:i(r)&&(r=r.split(".")),n(r)||0===r.length)return!1;for(var l=0;l<r.length;l++){var c=r[l];if(!a(e)&&!u(e)||!t.call(e,c))return!1;e=e[c]}return!0},s.ensureExists=function(e,t,n){return c(e,t,n,!0)},s.set=function(e,t,n,r){return c(e,t,n,r)},s.insert=function(e,t,n,r){var o=s.get(e,t);r=~~r,u(o)||(o=[],s.set(e,t,o)),o.splice(r,0,n)},s.empty=function(e,l){if(n(l))return e;if(!n(e)){var c,f;if(!(c=s.get(e,l)))return e;if(i(c))return s.set(e,l,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===r(e)}(c))return s.set(e,l,!1);if(o(c))return s.set(e,l,0);if(u(c))c.length=0;else{if(!a(c))return s.set(e,l,null);for(f in c)t.call(c,f)&&delete c[f]}}},s.push=function(e,t){var n=s.get(e,t);u(n)||(n=[],s.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},s.coalesce=function(e,t,n){for(var r,o=0,i=t.length;o<i;o++)if(void 0!==(r=s.get(e,t[o])))return r;return n},s.get=function(e,t,r){if(o(t)&&(t=[t]),n(t))return e;if(n(e))return r;if(i(t))return s.get(e,t.split("."),r);var a=l(t[0]);return 1===t.length?void 0===e[a]?r:e[a]:s.get(e[a],t.slice(1),r)},s.del=function(e,t){return function e(t,r){if(o(r)&&(r=[r]),!n(t)){if(n(r))return t;if(i(r))return e(t,r.split("."));var a=l(r[0]),c=t[a];if(1===r.length)void 0!==c&&(u(t)?t.splice(a,1):delete t[a]);else if(void 0!==t[a])return e(t[a],r.slice(1));return t}}(e,t)},s}))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){"use strict";var r=n(158);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),r(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var o in t)this.field(e,t[o]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},o.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=r(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&r(this._data))for(var o in e)this._data[o]=e[o];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.trace("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,t,n){"use strict";var r=n(195);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.get=function(e){return this.header[e.toLowerCase()]},o.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var o in n)this[o]=n[o];this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},o.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t){function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){n.prototype[e]=function(){return this._defaults.push({fn:e,arguments}),this}})),n.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,t.arguments)}))},e.exports=n},function(e,t,n){var r=n(19),o=n(72).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(123);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(19),o=n(35),i=n(20),a=n(140),u=n(42),l=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),p=u("indexOf",{ACCESSORS:!0,1:0}),d=s||!f||!p;e.exports=d?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){"use strict";var r=n(202);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
51
  /** @license React v16.13.1
52
  * react-is.production.min.js
53
  *
@@ -55,7 +55,7 @@ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),
55
  *
56
  * This source code is licensed under the MIT license found in the
57
  * LICENSE file in the root directory of this source tree.
58
- */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case l:case u:case h:return e;default:switch(e=e&&e.$$typeof){case s:case d:case y:case v:case c:return e;default:return t}}case i:return t}}}function S(e){return x(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=l,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||x(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===y},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===u},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===u||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===s||e.$$typeof===d||e.$$typeof===b||e.$$typeof===w||e.$$typeof===E||e.$$typeof===g)},t.typeOf=x},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=n(43),o=n(11),i=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(10),o=n(67),i=n(19),a=n(77).f,u=function(e){return function(t){for(var n,u=i(t),l=o(u),c=l.length,s=0,f=[];c>s;)n=l[s++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(18),n(86);var r=n(2),o=n.n(r),i=(n(111),n(0)),a=n.n(i),u=n(30),l=n(60),c=n(16),s=n(139),f=n.n(s),p=n(168),d=n(79),h=function(e){return"@@redux-saga/"+e},m=h("CANCEL_PROMISE"),v=h("CHANNEL_END"),y=h("IO"),g=h("MATCH"),b=h("MULTICAST"),w=h("SAGA_ACTION"),E=h("SELF_CANCELLATION"),x=h("TASK"),S=h("TASK_CANCEL"),T=h("TERMINATE"),O=h("LOCATION"),k=n(28),P=n(69),_=function(e){return null==e},F=function(e){return null!=e},C=function(e){return"function"==typeof e},j=function(e){return"string"==typeof e},R=Array.isArray,D=function(e){return e&&C(e.then)},A=function(e){return e&&C(e.next)&&C(e.throw)},L=function e(t){return t&&(j(t)||M(t)||C(t)||R(t)&&t.every(e))},N=function(e){return e&&C(e.take)&&C(e.close)},I=function(e){return C(e)&&e.hasOwnProperty("toString")},M=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};var U=function(e){return function(){return e}}(!0),q=function(){};var z=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var H=function(e,t){Object(k.a)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function G(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function B(e){var t=!1;return function(){t||(t=!0,e())}}var $=function(e){throw e},V=function(e){return{value:e,done:!0}};function W(e,t,n){void 0===t&&(t=$),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:V,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function K(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var Q=function(e){return Array.apply(null,new Array(e))},X=function(e){return function(t){return e(Object.defineProperty(t,w,{value:!0}))}},Y=function(e){return e===T},J=function(e){return e===S},Z=function(e){return Y(e)||J(e)};function ee(e,t){var n=Object.keys(e),r=n.length;var o,i=0,a=R(e)?Q(r):{},u={};return n.forEach((function(e){var n=function(n,u){o||(u||Z(n)?(t.cancel(),t(n,u)):(a[e]=n,++i===r&&(o=!0,t(a))))};n.cancel=q,u[e]=n})),t.cancel=function(){o||(o=!0,n.forEach((function(e){return u[e].cancel()})))},u}function te(e){return{name:e.name||"anonymous",location:ne(e)}}function ne(e){return e[O]}function re(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,o=0,i=0,a=function(t){n[o]=t,o=(o+1)%e,r++},u=function(){if(0!=r){var t=n[i];return n[i]=null,r--,i=(i+1)%e,t}},l=function(){for(var e=[];r;)e.push(u());return e};return{isEmpty:function(){return 0==r},put:function(u){var c;if(r<e)a(u);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[o]=u,i=o=(o+1)%e;break;case 4:c=2*e,n=l(),r=n.length,o=n.length,i=0,n.length=c,e=c,a(u)}},take:u,flush:l}}var oe=function(e){return re(e,4)},ie=function(e,t){var n;return(n={})[y]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function ae(e,t){return void 0===e&&(e="*"),L(e)?ie("TAKE",{pattern:e}):N(n=e)&&n[b]&&F(t)&&L(t)?ie("TAKE",{channel:e,pattern:t}):N(e)?ie("TAKE",{channel:e}):void 0;var n}function ue(e,t){return _(t)&&(t=e,e=void 0),ie("PUT",{channel:e,action:t})}function le(e,t){var n,r=null;return C(e)?n=e:(R(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&j(n)&&C(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function ce(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie("CALL",le(e,n))}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie("FORK",le(e,n))}function fe(e){return void 0===e&&(e=E),ie("CANCEL",e)}n(110);var pe=function(){return Math.random().toString(36).substring(7).split("").join(".")};pe(),pe();function de(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function he(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}var me=he,ve=[],ye=0;function ge(e){try{Ee(),e()}finally{xe()}}function be(e){ve.push(e),ye||(Ee(),Se())}function we(e){try{return Ee(),e()}finally{Se()}}function Ee(){ye++}function xe(){ye--}function Se(){var e;for(xe();!ye&&void 0!==(e=ve.shift());)ge(e)}var Te=function(e){return function(t){return e.some((function(e){return Fe(e)(t)}))}},Oe=function(e){return function(t){return e(t)}},ke=function(e){return function(t){return t.type===String(e)}},Pe=function(e){return function(t){return t.type===e}},_e=function(){return U};function Fe(e){var t="*"===e?_e:j(e)?ke:R(e)?Te:I(e)?ke:C(e)?Oe:M(e)?Pe:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var Ce={type:v},je=function(e){return e&&e.type===v};function Re(e){void 0===e&&(e=oe());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(Ce):e.isEmpty()?(n.push(r),r.cancel=function(){G(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(Ce):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,o=e.length;r<o;r++){(0,e[r])(Ce)}}}}}function De(){var e,t,n,r,o,i,a=(t=!1,r=n=[],o=function(){r===n&&(r=n.slice())},i=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(Ce)}))},(e={})[b]=!0,e.put=function(e){if(!t)if(je(e))i();else for(var o=n=r,a=0,u=o.length;a<u;a++){var l=o[a];l[g](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=_e),t?e(Ce):(e[g]=n,o(),r.push(e),e.cancel=B((function(){o(),G(r,e)})))},e.close=i,e),u=a.put;return a.put=function(e){e[w]?u(e):be((function(){u(e)}))},a}function Ae(e,t){var n=e[m];C(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var Le,Ne=0,Ie=function(){return++Ne};function Me(e){e.isRunning()&&e.cancel()}var Ue=((Le={}).TAKE=function(e,t,n){var r=t.channel,o=void 0===r?e.channel:r,i=t.pattern,a=t.maybe,u=function(e){e instanceof Error?n(e,!0):!je(e)||a?n(e):n(T)};try{o.take(u,F(i)?Fe(i):null)}catch(e){return void n(e,!0)}n.cancel=u.cancel},Le.PUT=function(e,t,n){var r=t.channel,o=t.action,i=t.resolve;be((function(){var t;try{t=(r?r.put:e.dispatch)(o)}catch(e){return void n(e,!0)}i&&D(t)?Ae(t,n):n(t)}))},Le.ALL=function(e,t,n,r){var o=r.digestEffect,i=Ne,a=Object.keys(t);if(0!==a.length){var u=ee(t,n);a.forEach((function(e){o(t[e],i,u[e],e)}))}else n(R(t)?[]:{})},Le.RACE=function(e,t,n,r){var o=r.digestEffect,i=Ne,a=Object.keys(t),u=R(t)?Q(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||Z(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,u[e]=t,n(u)))};t.cancel=q,l[e]=t})),n.cancel=function(){c||(c=!0,a.forEach((function(e){return l[e].cancel()})))},a.forEach((function(e){c||o(t[e],i,l[e],e)}))},Le.CALL=function(e,t,n,r){var o=t.context,i=t.fn,a=t.args,u=r.task;try{var l=i.apply(o,a);if(D(l))return void Ae(l,n);if(A(l))return void We(e,l,u.context,Ne,te(i),!1,n);n(l)}catch(e){n(e,!0)}},Le.CPS=function(e,t,n){var r=t.context,o=t.fn,i=t.args;try{var a=function(e,t){_(e)?n(t):n(e,!0)};o.apply(r,i.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},Le.FORK=function(e,t,n,r){var o=t.context,i=t.fn,a=t.args,u=t.detached,l=r.task,c=function(e){var t=e.context,n=e.fn,r=e.args;try{var o=n.apply(t,r);if(A(o))return o;var i=!1;return W((function(e){return i?{value:e,done:!0}:(i=!0,{value:o,done:!D(o)})}))}catch(e){return W((function(){throw e}))}}({context:o,fn:i,args:a}),s=function(e,t){return e.isSagaIterator?{name:e.meta.name}:te(t)}(c,i);we((function(){var t=We(e,c,l.context,Ne,s,u,void 0);u?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},Le.JOIN=function(e,t,n,r){var o=r.task,i=function(e,t){if(e.isRunning()){var n={task:o,cb:t};t.cancel=function(){e.isRunning()&&G(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(R(t)){if(0===t.length)return void n([]);var a=ee(t,n);t.forEach((function(e,t){i(e,a[t])}))}else i(t,n)},Le.CANCEL=function(e,t,n,r){var o=r.task;t===E?Me(o):R(t)?t.forEach(Me):Me(t),n()},Le.SELECT=function(e,t,n){var r=t.selector,o=t.args;try{n(r.apply(void 0,[e.getState()].concat(o)))}catch(e){n(e,!0)}},Le.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,o=Re(t.buffer),i=Fe(r),a=function t(n){je(n)||e.channel.take(t,i),o.put(n)},u=o.close;o.close=function(){a.cancel(),u()},e.channel.take(a,i),n(o)},Le.CANCELLED=function(e,t,n,r){n(r.task.isCancelled())},Le.FLUSH=function(e,t,n){t.flush(n)},Le.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},Le.SET_CONTEXT=function(e,t,n,r){var o=r.task;H(o.context,t),n()},Le);function qe(e,t){return e+"?"+t}function ze(e){var t=e.name,n=e.location;return n?t+" "+qe(n.fileName,n.lineNumber):t}var He=null,Ge=[],Be=function(){He=null,Ge.length=0},$e=function(){var e,t,n,r,o,i,a,u=Ge[0],l=Ge.slice(1),c=u.crashedEffect?(e=u.crashedEffect,(t=ne(e))?t.code+" "+qe(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+ze(u.meta)+(c?" \n when executing effect "+c:"")].concat(l.map((function(e){return" created by "+ze(e.meta)})),[(n=Ge,r=function(e){return e.cancelledTasks},o=n,a=(i=[]).concat.apply(i,o.map(r)),a.length?["Tasks cancelled due to error:"].concat(a).join("\n"):"")]).join("\n")};function Ve(e,t,n,r,o,i,a){var u;void 0===a&&(a=q);var l,c,s=0,f=null,p=[],d=Object.create(n),h=function(e,t,n){var r,o=[],i=!1;function a(e){t(),l(),n(e,!0)}function u(t){o.push(t),t.cont=function(u,l){i||(G(o,t),t.cont=q,l?a(u):(t===e&&(r=u),o.length||(i=!0,n(r))))}}function l(){i||(i=!0,o.forEach((function(e){e.cont=q,e.cancel()})),o=[])}return u(e),{addTask:u,cancelAll:l,abort:a,getTasks:function(){return o}}}(t,(function(){p.push.apply(p,h.getTasks().map((function(e){return e.meta.name})))}),m);function m(t,n){if(n){if(s=2,(i={meta:o,cancelledTasks:p}).crashedEffect=He,Ge.push(i),v.isRoot){var r=$e();Be(),e.onError(t,{sagaStack:r})}c=t,f&&f.reject(t)}else t===S?s=1:1!==s&&(s=3),l=t,f&&f.resolve(t);var i;v.cont(t,n),v.joiners.forEach((function(e){e.cb(t,n)})),v.joiners=null}var v=((u={})[x]=!0,u.id=r,u.meta=o,u.isRoot=i,u.context=d,u.joiners=[],u.queue=h,u.cancel=function(){0===s&&(s=1,h.cancelAll(),m(S,!1))},u.cont=a,u.end=m,u.setContext=function(e){H(d,e)},u.toPromise=function(){return f||(f=me(),2===s?f.reject(c):0!==s&&f.resolve(l)),f.promise},u.isRunning=function(){return 0===s},u.isCancelled=function(){return 1===s||0===s&&1===t.status},u.isAborted=function(){return 2===s},u.result=function(){return l},u.error=function(){return c},u);return v}function We(e,t,n,r,o,i,a){var u=e.finalizeRunEffect((function(t,n,r){if(D(t))Ae(t,r);else if(A(t))We(e,t,c.context,n,o,!1,r);else if(t&&t[y]){(0,Ue[t.type])(e,t.payload,r,s)}else r(t)}));f.cancel=q;var l={meta:o,cancel:function(){0===l.status&&(l.status=1,f(S))},status:0},c=Ve(e,l,n,r,o,i,a),s={task:c,digestEffect:p};return a&&(a.cancel=c.cancel),f(),c;function f(e,n){try{var o;n?(o=t.throw(e),Be()):J(e)?(l.status=1,f.cancel(),o=C(t.return)?t.return(S):{done:!0,value:S}):o=Y(e)?C(t.return)?t.return():{done:!0}:t.next(e),o.done?(1!==l.status&&(l.status=3),l.cont(o.value)):p(o.value,r,f)}catch(e){if(1===l.status)throw e;l.status=2,l.cont(e,!0)}}function p(t,n,r,o){void 0===o&&(o="");var i,a=Ie();function l(n,o){i||(i=!0,r.cancel=q,e.sagaMonitor&&(o?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),o&&function(e){He=e}(t),r(n,o))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:o,effect:t}),l.cancel=q,r.cancel=function(){i||(i=!0,l.cancel(),l.cancel=q,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},u(t,a,l)}}function Ke(e,t){var n=e.channel,r=void 0===n?De():n,o=e.dispatch,i=e.getState,a=e.context,u=void 0===a?{}:a,l=e.sagaMonitor,c=e.effectMiddlewares,s=e.onError,f=void 0===s?K:s;for(var p=arguments.length,d=new Array(p>2?p-2:0),h=2;h<p;h++)d[h-2]=arguments[h];var m=t.apply(void 0,d);var v,y=Ie();if(l&&(l.rootSagaStarted=l.rootSagaStarted||q,l.effectTriggered=l.effectTriggered||q,l.effectResolved=l.effectResolved||q,l.effectRejected=l.effectRejected||q,l.effectCancelled=l.effectCancelled||q,l.actionDispatched=l.actionDispatched||q,l.rootSagaStarted({effectId:y,saga:t,args:d})),c){var g=de.apply(void 0,c);v=function(e){return function(t,n,r){return g((function(t){return e(t,n,r)}))(t)}}}else v=z;var b={channel:r,dispatch:X(o),getState:i,sagaMonitor:l,onError:f,finalizeRunEffect:v};return we((function(){var e=We(b,m,u,y,te(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}var Qe=function(e){var t,n=void 0===e?{}:e,r=n.context,o=void 0===r?{}:r,i=n.channel,a=void 0===i?De():i,u=n.sagaMonitor,l=Object(P.a)(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=Ke.bind(null,Object(k.a)({},l,{context:o,channel:a,dispatch:r,getState:n,sagaMonitor:u})),function(e){return function(t){u&&u.actionDispatched&&u.actionDispatched(t);var n=e(t);return a.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){H(o,e)},c},Xe=(n(116),function(e){return{done:!0,value:e}}),Ye={};function Je(e){return N(e)?"channel":I(e)?String(e):C(e)?e.name:String(e)}function Ze(e,t,n){var r,o,i,a=t;function u(t,n){if(a===Ye)return Xe(t);if(n&&!o)throw a=Ye,n;r&&r(t);var u=n?e[o](n):e[a]();return a=u.nextState,i=u.effect,r=u.stateUpdater,o=u.errorState,a===Ye?Xe(t):i}return W(u,(function(e){return u(null,e)}),n)}function et(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a,u={done:!1,value:ae(e)},l=function(e){return{done:!1,value:se.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:fe(e)}},s=function(e){return i=e},f=function(e){return a=e};return Ze({q1:function(){return{nextState:"q2",effect:u,stateUpdater:f}},q2:function(){return i?{nextState:"q3",effect:c(i)}:{nextState:"q1",effect:l(a),stateUpdater:s}},q3:function(){return{nextState:"q1",effect:l(a),stateUpdater:s}}},"q1","takeLatest("+Je(e)+", "+t.name+")")}function tt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return se.apply(void 0,[et,e,t].concat(r))}var nt=n(13),rt=n(90),ot=n.n(rt);
59
  /**
60
  * @package Gravity PDF
61
  * @copyright Copyright (c) 2021, Blue Liquid Designs
@@ -68,7 +68,7 @@ function it(){return ot.a.post(GFPDF.ajaxUrl).field("action","gfpdf_get_template
68
  * @copyright Copyright (c) 2021, Blue Liquid Designs
69
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
70
  * @since 5.2
71
- */function ht(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(it);case 3:return e=t.sent,t.next=6,ue(Object(nt.D)(e.text));case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,ue(Object(nt.C)());case 12:case"end":return t.stop()}}),lt,null,[[0,8]])}function mt(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(at,e.payload);case 3:return t.next=5,ue(Object(nt.y)("success"));case 5:t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(0),t.next=11,ue(Object(nt.x)("failed"));case 11:case"end":return t.stop()}}),ct,null,[[0,7]])}function vt(e){var t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,ce(ut,e.payload.file,e.payload.filename);case 3:return t=n.sent,n.next=6,ue(Object(nt.A)(t));case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,ue(Object(nt.z)(n.t0));case 12:case"end":return n.stop()}}),st,null,[[0,8]])}function yt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.m,ht);case 2:case"end":return e.stop()}}),ft)}function gt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.h,mt);case 2:case"end":return e.stop()}}),pt)}function bt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.e,vt);case 2:case"end":return e.stop()}}),dt)}n(41),n(92);var wt=n(17);
72
  /**
73
  * @package Gravity PDF
74
  * @copyright Copyright (c) 2021, Blue Liquid Designs
@@ -81,7 +81,7 @@ function Et(){return ot.a.get(GFPDF.pluginUrl+"dist/payload/core-fonts.json").ac
81
  * @copyright Copyright (c) 2021, Blue Liquid Designs
82
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
83
  * @since 5.2
84
- */function Pt(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(Et);case 3:return e=t.sent,t.next=6,ue(Object(wt.t)(e.body));case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,ue(Object(wt.s)(GFPDF.coreFontGithubError));case 12:case"end":return t.stop()}}),St,null,[[0,8]])}function _t(e){var t,n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=3,ae(e);case 3:return t=r.sent,r.next=6,ue(Object(wt.k)(t,"pending",GFPDF.coreFontItemPendingMessage.replace("%s",t)));case 6:return r.prev=6,r.next=9,ce(xt,t);case 9:if((n=r.sent).body){r.next=12;break}throw n;case 12:return r.next=14,ue(Object(wt.k)(t,"success",GFPDF.coreFontItemSuccessMessage.replace("%s",t)));case 14:r.next=22;break;case 16:return r.prev=16,r.t0=r.catch(6),r.next=20,ue(Object(wt.k)(t,"error",GFPDF.coreFontItemErrorMessage.replace("%s",t)));case 20:return r.next=22,ue(Object(wt.l)(t));case 22:return r.prev=22,r.next=25,ue(Object(wt.p)());case 25:return r.finish(22);case 26:r.next=0;break;case 28:case"end":return r.stop()}}),Tt,null,[[6,16,22,26]])}function Ft(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(wt.g,Pt);case 2:case"end":return e.stop()}}),Ot)}function Ct(){var e,t,n,r;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,ce(Re);case 2:e=o.sent,t=0;case 4:if(!(t<5)){o.next=10;break}return o.next=7,se(_t,e);case 7:t++,o.next=4;break;case 10:return o.next=13,ae(wt.f);case 13:return n=o.sent,r=n.payload,o.next=17,ue(e,r);case 17:o.next=10;break;case 19:case"end":return o.stop()}}),kt)}n(31),n(58),n(82),n(93),n(94),n(91),n(83);var jt=n(148);function Rt(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}
85
  /**
86
  * @package Gravity PDF
87
  * @copyright Copyright (c) 2021, Blue Liquid Designs
@@ -107,7 +107,7 @@ function Qt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e
107
  * @copyright Copyright (c) 2021, Blue Liquid Designs
108
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
109
  * @since 5.2
110
- */function on(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t=[yt(),gt(),bt(),Ft(),Ct(),Qt(),Yt(),Zt(),tn()],n=void 0,(n=ie("ALL",t)).combinator=!0,n;case 2:case"end":return e.stop()}var t,n}),rn)}n(38),n(39),n(57),n(48),n(32),n(33),n(100),n(71),n(29),n(21),n(40);function an(e){return function(e){if(Array.isArray(e))return un(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return un(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return un(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function un(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(n),!0).forEach((function(t){sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
111
  /**
112
  * Our Redux Template Reducer that take the objects returned from our Redux Template Actions
113
  * and updates the template portion of our store
@@ -243,7 +243,7 @@ var Go,Bo,$o,Vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)thr
243
  * @copyright Copyright (c) 2021, Blue Liquid Designs
244
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
245
  * @since 5.2
246
- */var ei=n(121);function ti(e){var t=Array.from(e.querySelectorAll("td.column-shortcode"));t.length>0&&t.map((function(e){!function(e){e.addEventListener("click",(function(){document.execCommand("selectall",null,!1),document.execCommand("copy")}))}(e)}))}n(208);
247
  /**
248
  * JS Entry point for WebPack
249
  *
@@ -251,4 +251,4 @@ var Go,Bo,$o,Vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)thr
251
  * @copyright Copyright (c) 2021, Blue Liquid Designs
252
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
253
  * @since 4.1
254
- */o()((function(){if(n.p=GFPDF.pluginUrl+"dist/",void 0!==GFPDF.templateList){window.Promise||(window.Promise=Promise);var e=o()("#gfpdf_settings\\[template\\], #gfpdf_settings\\[default_template\\]");e.length>0&&Xn(e)}var t,r,l;o()("#gfpdf-button-wrapper-install_core_fonts").length&&(t=document.getElementById("gfpdf-button-wrapper-install_core_fonts"),r=t.getElementsByTagName("button")[0],l=zn(),Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(Hn.a,{store:l},a.a.createElement(Jo,{button:r}))),t)),o()("#gpdf-search").length&&function(){var e=zn();Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(Hn.a,{store:e},a.a.createElement(Zo,null))),document.getElementById("gpdf-search"))}();var c=document.querySelector("#gfpdf-settings-field-wrapper-default_font select"),s=document.querySelector("#gfpdf-settings-field-wrapper-manage_fonts"),f=document.querySelector("#gfpdf-settings-field-wrapper-font select"),p=document.querySelector("#gfpdf_pdf_form"),d=document.querySelectorAll("fieldset.gform-settings-panel--full"),h=document.querySelector("form#gfpdf_list_form");null!==c&&Yo(c),null!==s&&Yo(s,"-prevent-button-reset"),null!==f&&Yo(f),p&&4===d.length&&Object(ei.a)(d,p),null!==h&&ti(h)}))}]);
1
+ !function(e){function t(t){for(var n,o,i=t[0],a=t[1],u=0,c=[];u<i.length;u++)o=i[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&c.push(r[o][0]),r[o]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);c.length;)c.shift()()}var n={},r={2:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=i);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.src=function(e){return o.p+"assets/js/chunk-"+({}[e]||e)+"."+{0:"8edcd532c90076289c8a",4:"3958577e9ba487662fcf",5:"f06953d68b59268254e5",6:"6c41d7a031f41a494964",7:"9a1736bd0281c624aba5",8:"4d85e80b996f0e8e6163",9:"490ff386d143b3b668c9",10:"35956ed01838b210014b"}[e]+".js"}(e);var l=new Error;a=function(t){u.onerror=u.onload=null,clearTimeout(c);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,n[1](l)}r[e]=void 0}};var c=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/home/runner/work/gravity-pdf/gravity-pdf/tmp/package/6.1.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 P})),n.d(t,"x",(function(){return _})),n.d(t,"v",(function(){return F})),n.d(t,"w",(function(){return C})),n.d(t,"D",(function(){return j})),n.d(t,"C",(function(){return R})),n.d(t,"E",(function(){return D})),n.d(t,"B",(function(){return A}));var r="GET_CUSTOM_FONT_LIST",o="GET_CUSTOM_FONT_LIST_SUCCESS",i="GET_CUSTOM_FONT_LIST_ERROR",a="ADD_FONT",u="ADD_FONT_SUCCESS",l="ADD_FONT_ERROR",c="EDIT_FONT",s="EDIT_FONT_SUCCESS",f="EDIT_FONT_ERROR",p="VALIDATION_ERROR",d="DELETE_VARIANT_ERROR",h="DELETE_FONT",m="DELETE_FONT_SUCCESS",v="DELETE_FONT_ERROR",y="CLEAR_ADD_FONT_MSG",g="CLEAR_DROPZONE_ERROR",b="RESET_SEARCH_RESULT",w="SEARCH_FONT_LIST",E="SELECT_FONT",x="MOVE_SELECTED_FONT_TO_TOP",S=function(){return{type:r}},T=function(e){return{type:a,payload:e}},O=function(e){return{type:c,payload:e}},k=function(){return{type:p}},P=function(e){return{type:d,payload:e}},_=function(e){return{type:h,payload:e}},F=function(){return{type:y}},C=function(e){return{type:g,payload:e}},j=function(e){return{type:w,payload:e}},R=function(){return{type:b}},D=function(e){return{type:E,payload:e}},A=function(e){return{type:x,payload:e}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(84))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(4),o=n(61),i=n(9),a=n(63),u=n(64),l=n(101),c=o("wks"),s=r.Symbol,f=l?s:s&&s.withoutSetter||a;e.exports=function(e){return i(c,e)||(u&&i(s,e)?c[e]=s[e]:c[e]=f("Symbol."+e)),c[e]}},function(e,t,n){var r=n(4),o=n(45).f,i=n(14),a=n(26),u=n(50),l=n(102),c=n(85);e.exports=function(e,t){var n,s,f,p,d,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in t){if(p=t[s],f=e.noTargetGet?(d=o(n,s))&&d.value:n[s],!c(m?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;l(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,s,p,e)}}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(5);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(10),o=n(76),i=n(8),a=n(51),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"u",(function(){return g})),n.d(t,"v",(function(){return b})),n.d(t,"p",(function(){return w})),n.d(t,"E",(function(){return E})),n.d(t,"s",(function(){return x})),n.d(t,"B",(function(){return S})),n.d(t,"D",(function(){return T})),n.d(t,"C",(function(){return O})),n.d(t,"w",(function(){return k})),n.d(t,"y",(function(){return P})),n.d(t,"x",(function(){return _})),n.d(t,"q",(function(){return F})),n.d(t,"t",(function(){return C})),n.d(t,"A",(function(){return j})),n.d(t,"z",(function(){return R})),n.d(t,"r",(function(){return D}));var r="SEARCH_TEMPLATES",o="SELECT_TEMPLATE",i="ADD_TEMPLATE",a="UPDATE_TEMPLATE_PARAM",u="DELETE_TEMPLATE",l="UPDATE_SELECT_BOX",c="UPDATE_SELECT_BOX_SUCCESS",s="TEMPLATE_PROCESSING",f="TEMPLATE_PROCESSING_SUCCESS",p="TEMPLATE_PROCESSING_FAILED",d="CLEAR_TEMPLATE_PROCESSING",h="POST_TEMPLATE_UPLOAD_PROCESSING",m="TEMPLATE_UPLOAD_PROCESSING_SUCCESS",v="TEMPLATE_UPLOAD_PROCESSING_FAILED",y="CLEAR_TEMPLATE_UPLOAD_PROCESSING",g=function(e){return{type:r,text:e}},b=function(e){return{type:o,id:e}},w=function(e){return{type:i,template:e}},E=function(e,t,n){return{type:a,id:e,name:t,value:n}},x=function(e){return{type:u,id:e}},S=function(){return{type:l}},T=function(e){return{type:c,payload:e}},O=function(){return{type:"UPDATE_SELECT_BOX_FAILED"}},k=function(e){return{type:s,payload:e}},P=function(e){return{type:f,payload:e}},_=function(e){return{type:p,payload:e}},F=function(){return{type:d}},C=function(e,t){return{type:h,payload:{file:e,filename:t}}},j=function(e){return{type:m,payload:e}},R=function(e){return{type:v,payload:e}},D=function(){return{type:y}}},function(e,t,n){var r=n(10),o=n(12),i=n(34);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=o.a.createContext(null);var l=function(e){e()},c={notify:function(){}};function s(){var e=l,t=[],n=[];return{clear:function(){n=null,t=null},notify:function(){var r=t=n;e((function(){for(var e=0;e<r.length;e++)r[e]()}))},get:function(){return n},subscribe:function(e){var r=!0;return n===t&&(n=t.slice()),n.push(e),function(){r&&null!==t&&(r=!1,n===t&&(n=t.slice()),n.splice(n.indexOf(e),1))}}}}var f=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=c,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=s())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=c)},e}();function p(e){var t=e.store,n=e.context,i=e.children,a=Object(r.useMemo)((function(){var e=new f(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),l=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=a.subscription;return e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,l]);var c=n||u;return o.a.createElement(c.Provider,{value:a},i)}p.propTypes={store:a.a.shape({subscribe:a.a.func.isRequired,dispatch:a.a.func.isRequired,getState:a.a.func.isRequired}),context:a.a.object,children:a.a.any};var d=p,h=n(28),m=n(69),v=n(122),y=n.n(v),g=n(70),b=n.n(g),w=n(137),E="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,x=[],S=[null,null];function T(e,t){var n=e[1];return[t.payload,n+1]}var O=function(){return[null,0]};function k(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,l=n.methodName,c=void 0===l?"connectAdvanced":l,s=n.renderCountProp,p=void 0===s?void 0:s,d=n.shouldHandleStateChanges,v=void 0===d||d,g=n.storeKey,k=void 0===g?"store":g,P=n.withRef,_=void 0!==P&&P,F=n.forwardRef,C=void 0!==F&&F,j=n.context,R=void 0===j?u:j,D=Object(m.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);b()(void 0===p,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),b()(!_,"withRef is removed. To access the wrapped instance, use a ref on the connected component");b()("store"===k,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect");var A=R;return function(t){var n=t.displayName||t.name||"Component",i=a(n),u=Object(h.a)({},D,{getDisplayName:a,methodName:c,renderCountProp:p,shouldHandleStateChanges:v,storeKey:k,displayName:i,wrappedComponentName:n,WrappedComponent:t}),l=D.pure;var s=l?r.useMemo:function(e){return e()};function d(n){var a=Object(r.useMemo)((function(){var e=n.forwardedRef,t=Object(m.a)(n,["forwardedRef"]);return[n.context,e,t]}),[n]),l=a[0],c=a[1],p=a[2],d=Object(r.useMemo)((function(){return l&&l.Consumer&&Object(w.isContextConsumer)(o.a.createElement(l.Consumer,null))?l:A}),[l,A]),y=Object(r.useContext)(d),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch),k=Boolean(y)&&Boolean(y.store);b()(g||k,'Could not find "store" in the context of "'+i+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+i+" in connect options.");var P=g?n.store:y.store,_=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,u)}(P)}),[P]),F=Object(r.useMemo)((function(){if(!v)return S;var e=new f(P,g?null:y.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[P,g,y]),C=F[0],j=F[1],R=Object(r.useMemo)((function(){return g?y:Object(h.a)({},y,{subscription:C})}),[g,y,C]),D=Object(r.useReducer)(T,x,O),L=D[0][0],N=D[1];if(L&&L.error)throw L.error;var I=Object(r.useRef)(),M=Object(r.useRef)(p),U=Object(r.useRef)(),q=Object(r.useRef)(!1),z=s((function(){return U.current&&p===M.current?U.current:_(P.getState(),p)}),[P,L,p]);E((function(){M.current=p,I.current=z,q.current=!1,U.current&&(U.current=null,j())})),E((function(){if(v){var e=!1,t=null,n=function(){if(!e){var n,r,o=P.getState();try{n=_(o,M.current)}catch(e){r=e,t=e}r||(t=null),n===I.current?q.current||j():(I.current=n,U.current=n,q.current=!0,N({type:"STORE_UPDATED",payload:{error:r}}))}};C.onStateChange=n,C.trySubscribe(),n();return function(){if(e=!0,C.tryUnsubscribe(),C.onStateChange=null,t)throw t}}}),[P,C,_]);var H=Object(r.useMemo)((function(){return o.a.createElement(t,Object(h.a)({},z,{ref:c}))}),[c,t,z]);return Object(r.useMemo)((function(){return v?o.a.createElement(d.Provider,{value:R},H):H}),[d,H,R])}var g=l?o.a.memo(d):d;if(g.WrappedComponent=t,g.displayName=i,C){var P=o.a.forwardRef((function(e,t){return o.a.createElement(g,Object(h.a)({},e,{forwardedRef:t}))}));return P.displayName=i,P.WrappedComponent=t,y()(P,t)}return y()(g,t)}}var P=Object.prototype.hasOwnProperty;function _(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function F(e,t){if(_(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!P.call(t,n[o])||!_(e[n[o]],t[n[o]]))return!1;return!0}var C=n(79);function j(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function R(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function D(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=R(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=R(o),o=r(t,n)),o},r}}var A=[function(e){return"function"==typeof e?D(e):void 0},function(e){return e?void 0:j((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?j((function(t){return Object(C.bindActionCreators)(e,t)})):void 0}];var L=[function(e){return"function"==typeof e?D(e):void 0},function(e){return e?void 0:j((function(){return{}}))}];function N(e,t,n){return Object(h.a)({},n,{},e,{},t)}var I=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,u){var l=e(t,n,u);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return N}}];function M(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function U(e,t,n,r,o){var i,a,u,l,c,s=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,m,v=!f(d,a),y=!s(o,i);return i=o,a=d,v&&y?(u=e(i,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):v?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(u,l,a)):y?(h=e(i,a),m=!p(h,u),u=h,m&&(c=n(u,l,a)),c):c}return function(o,s){return d?h(o,s):(u=e(i=o,a=s),l=t(r,a),c=n(u,l,a),d=!0,c)}}function q(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Object(m.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),l=o(e,i);return(i.pure?U:M)(a,u,l,e,i)}function z(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function H(e,t){return e===t}var G,B,$,V,W,K,Q,X,Y,J,Z,ee,te=($=(B=void 0===G?{}:G).connectHOC,V=void 0===$?k:$,W=B.mapStateToPropsFactories,K=void 0===W?L:W,Q=B.mapDispatchToPropsFactories,X=void 0===Q?A:Q,Y=B.mergePropsFactories,J=void 0===Y?I:Y,Z=B.selectorFactory,ee=void 0===Z?q:Z,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,l=void 0===u?H:u,c=o.areOwnPropsEqual,s=void 0===c?F:c,f=o.areStatePropsEqual,p=void 0===f?F:f,d=o.areMergedPropsEqual,v=void 0===d?F:d,y=Object(m.a)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=z(e,K,"mapStateToProps"),b=z(t,X,"mapDispatchToProps"),w=z(n,J,"mergeProps");return V(ee,Object(h.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:b,initMergeProps:w,pure:a,areStatesEqual:l,areOwnPropsEqual:s,areStatePropsEqual:p,areMergedPropsEqual:v},y))});function ne(){var e=Object(r.useContext)(u);return b()(e,"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"),e}function re(e){void 0===e&&(e=u);var t=e===u?ne:function(){return Object(r.useContext)(e)};return function(){return t().store}}var oe=re();!function(e){void 0===e&&(e=u);var t=e===u?oe:re(e)}();var ie=function(e,t){return e===t};!function(e){void 0===e&&(e=u);var t=e===u?ne:function(){return Object(r.useContext)(e)}}();var ae,ue=n(30);n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return te})),ae=ue.unstable_batchedUpdates,l=ae},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(0),i=n.n(o),a=(n(1),n(46)),u=n(149),l=n(37);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=n(151),f=n.n(s);n(137);function p(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var d=n(122),h=n.n(d);n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return P})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return _}));var m=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router-History"),v=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}r(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.a.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);i.a.Component;i.a.Component;var g={},b=0;function w(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,u=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=g[n]||(g[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return b<1e4&&(r[e]=i,b++),i}(n,{end:i,strict:u,sensitive:c}),o=r.regexp,a=r.keys,l=o.exec(e);if(!l)return null;var s=l[0],p=l.slice(1),d=e===s;return i&&!d?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(l.a)(!1);var n=e.props.location||t.location,r=c({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?w(n.pathname,e.props):t.match}),o=e.props,a=o.children,u=o.component,s=o.render;return Array.isArray(a)&&0===a.length&&(a=null),i.a.createElement(v.Provider,{value:r},r.match?a?"function"==typeof a?a(r):a:u?i.a.createElement(u,r):s?s(r):null:"function"==typeof a?a(r):null)}))},t}(i.a.Component);function x(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var n=x(e);return 0!==t.pathname.indexOf(n)?t:c({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:Object(a.e)(e)}function O(e){return function(){Object(l.a)(!1)}}function k(){}i.a.Component;var P=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(v.Consumer,null,(function(t){t||Object(l.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?w(o.pathname,c({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function _(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=p(t,["wrappedComponentRef"]);return i.a.createElement(v.Consumer,null,(function(t){return t||Object(l.a)(!1),i.a.createElement(e,c({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}i.a.useContext},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"g",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"j",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return v})),n.d(t,"r",(function(){return y})),n.d(t,"t",(function(){return g})),n.d(t,"s",(function(){return b})),n.d(t,"q",(function(){return w})),n.d(t,"p",(function(){return E})),n.d(t,"o",(function(){return x}));var r="ADD_TO_CONSOLE",o="ADD_TO_RETRY_LIST",i="CLEAR_CONSOLE",a="CLEAR_BUTTON_CLICKED_AND_RETRY_LIST",u="GET_FILES_FROM_GITHUB",l="GET_FILES_FROM_GITHUB_SUCCESS",c="GET_FILES_FROM_GITHUB_FAILED",s="DOWNLOAD_FONTS_API_CALL",f="REQUEST_SENT_COUNTER",p="CLEAR_REQUEST_REMAINING_DATA",d=function(e,t,n){return{type:r,key:e,status:t,message:n}},h=function(){return{type:i}},m=function(e){return{type:o,name:e}},v=function(){return{type:a}},y=function(){return{type:u}},g=function(e){return{type:l,payload:e}},b=function(e){return{type:c,payload:e}},w=function(e){return{type:s,payload:e}},E=function(){return{type:f}},x=function(){return{type:p}}},function(e,t,n){var r=n(113),o=n(26),i=n(176);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var r=n(7),o=n(48).find,i=n(86),a=n(33),u=!0,l=a("find");"find"in[]&&Array(1).find((function(){u=!1})),r({target:"Array",proto:!0,forced:u||!l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){var r=n(59),o=n(22);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(35),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(117).charAt,o=n(47),i=n(132),a=o.set,u=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(4),o=n(14),i=n(9),a=n(50),u=n(65),l=n(47),c=l.get,s=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,u){var l=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),s(n).source=f.join("string"==typeof t?t:"")),e!==r?(l?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},function(e,t,n){var r=n(104),o=n(4),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(26),o=n(8),i=n(5),a=n(97),u=RegExp.prototype,l=u.toString,c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),s="toString"!=l.name;(c||s)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(187)},function(e,t,n){"use strict";var r=n(7),o=n(4),i=n(27),a=n(49),u=n(10),l=n(64),c=n(101),s=n(5),f=n(9),p=n(74),d=n(11),h=n(8),m=n(23),v=n(20),y=n(51),g=n(34),b=n(68),w=n(67),E=n(72),x=n(197),S=n(88),T=n(45),O=n(12),k=n(77),P=n(14),_=n(26),F=n(61),C=n(52),j=n(44),R=n(63),D=n(6),A=n(159),L=n(160),N=n(89),I=n(47),M=n(48).forEach,U=C("hidden"),q=D("toPrimitive"),z=I.set,H=I.getterFor("Symbol"),G=Object.prototype,B=o.Symbol,$=i("JSON","stringify"),V=T.f,W=O.f,K=x.f,Q=k.f,X=F("symbols"),Y=F("op-symbols"),J=F("string-to-symbol-registry"),Z=F("symbol-to-string-registry"),ee=F("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=u&&s((function(){return 7!=b(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(G,t);r&&delete G[t],W(e,t,n),r&&e!==G&&W(G,t,r)}:W,oe=function(e,t){var n=X[e]=b(B.prototype);return z(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof B},ae=function(e,t,n){e===G&&ae(Y,t,n),h(e);var r=y(t,!0);return h(n),f(X,r)?(n.enumerable?(f(e,U)&&e[U][r]&&(e[U][r]=!1),n=b(n,{enumerable:g(0,!1)})):(f(e,U)||W(e,U,g(1,{})),e[U][r]=!0),re(e,r,n)):W(e,r,n)},ue=function(e,t){h(e);var n=v(t),r=w(n).concat(fe(n));return M(r,(function(t){u&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=y(e,!0),n=Q.call(this,t);return!(this===G&&f(X,t)&&!f(Y,t))&&(!(n||!f(this,t)||!f(X,t)||f(this,U)&&this[U][t])||n)},ce=function(e,t){var n=v(e),r=y(t,!0);if(n!==G||!f(X,r)||f(Y,r)){var o=V(n,r);return!o||!f(X,r)||f(n,U)&&n[U][r]||(o.enumerable=!0),o}},se=function(e){var t=K(v(e)),n=[];return M(t,(function(e){f(X,e)||f(j,e)||n.push(e)})),n},fe=function(e){var t=e===G,n=K(t?Y:v(e)),r=[];return M(n,(function(e){!f(X,e)||t&&!f(G,e)||r.push(X[e])})),r};(l||(_((B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function(e){this===G&&n.call(Y,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),re(this,t,g(1,e))};return u&&ne&&re(G,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return H(this).tag})),_(B,"withoutSetter",(function(e){return oe(R(e),e)})),k.f=le,O.f=ae,T.f=ce,E.f=x.f=se,S.f=fe,A.f=function(e){return oe(D(e),e)},u&&(W(B.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||_(G,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:B}),M(w(ee),(function(e){L(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(J,t))return J[t];var n=B(t);return J[t]=n,Z[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?b(e):ue(b(e),t)},defineProperty:ae,defineProperties:ue,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:se,getOwnPropertySymbols:fe}),r({target:"Object",stat:!0,forced:s((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(m(e))}}),$)&&r({target:"JSON",stat:!0,forced:!l||s((function(){var e=B();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(d(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,$.apply(null,o)}});B.prototype[q]||P(B.prototype,q,B.prototype.valueOf),N(B,"Symbol"),j[U]=!0},function(e,t,n){"use strict";var r=n(20),o=n(86),i=n(56),a=n(47),u=n(132),l=a.set,c=a.getterFor("Array Iterator");e.exports=u(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(10),o=n(5),i=n(9),a=Object.defineProperty,u={},l=function(e){throw e};e.exports=function(e,t){if(i(u,e))return u[e];t||(t={});var n=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,s=i(t,0)?t[0]:l,f=i(t,1)?t[1]:void 0;return u[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,s,f)}))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return u(c(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function u(e,t){var n,r,a,u,l,c,s,f,p,d=1,h=e.length,m="";for(r=0;r<h;r++)if("string"==typeof e[r])m+=e[r];else if("object"==typeof e[r]){if((u=e[r]).keys)for(n=t[d],a=0;a<u.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',u.keys[a],u.keys[a-1]));n=n[u.keys[a]]}else n=u.param_no?t[u.param_no]:t[d++];if(o.not_type.test(u.type)&&o.not_primitive.test(u.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(u.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(u.type)&&(f=n>=0),u.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,u.width?parseInt(u.width):0);break;case"e":n=u.precision?parseFloat(n).toExponential(u.precision):parseFloat(n).toExponential();break;case"f":n=u.precision?parseFloat(n).toFixed(u.precision):parseFloat(n);break;case"g":n=u.precision?String(Number(n.toPrecision(u.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=u.precision?n.substring(0,u.precision):n;break;case"t":n=String(!!n),n=u.precision?n.substring(0,u.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=u.precision?n.substring(0,u.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=u.precision?n.substring(0,u.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(u.type)?m+=n:(!o.number.test(u.type)||f&&!u.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),c=u.pad_char?"0"===u.pad_char?"0":u.pad_char.charAt(1):" ",s=u.width-(p+n).length,l=u.width&&s>0?c.repeat(s):"",m+=u.align?p+n+l:"0"===c?p+l+n:l+p+n)}return m}var l=Object.create(null);function c(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],u=t[2],c=[];if(null===(c=o.key.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(c[1]);""!==(u=u.substring(c[0].length));)if(null!==(c=o.key_access.exec(u)))a.push(c[1]);else{if(null===(c=o.index_access.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(c[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t,n){"use strict";var r=n(7),o=n(10),i=n(4),a=n(9),u=n(11),l=n(12).f,c=n(102),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var f={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new s(e):void 0===e?s():s(e);return""===e&&(f[t]=!0),t};c(p,s);var d=p.prototype=s.prototype;d.constructor=p;var h=d.toString,m="Symbol(test)"==String(s("test")),v=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var e=u(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(e,t,n){n(160)("iterator")},function(e,t,n){var r=n(4),o=n(162),i=n(32),a=n(14),u=n(6),l=u("iterator"),c=u("toStringTag"),s=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[l]!==s)try{a(d,l,s)}catch(e){d[l]=s}if(d[c]||a(d,c,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(e){d[h]=i[h]}}}},function(e,t,n){"use strict";var r=n(7),o=n(73);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";var r=n(7),o=n(48).map,i=n(90),a=n(33),u=i("map"),l=a("map");r({target:"Array",proto:!0,forced:!u||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t){e.exports={}},function(e,t,n){var r=n(10),o=n(77),i=n(34),a=n(20),u=n(51),l=n(9),c=n(76),s=Object.getOwnPropertyDescriptor;t.f=r?s:function(e,t){if(e=a(e),t=u(t,!0),c)try{return s(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],u=e&&o(e),l=t&&o(t),c=u||l;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var s=a[a.length-1];n="."===s||".."===s||""===s}else n=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(37);function s(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return k})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return h}));var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function w(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),g||Object(c.a)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,u=a.forceRefresh,l=void 0!==u&&u,f=a.getUserConfirmation,v=void 0===f?b:f,E=a.keyLength,x=void 0===E?6:E,S=e.basename?d(s(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return S&&(i=p(i,S)),m(i,r,n)}function O(){return Math.random().toString(36).substr(2,x)}var k=y();function P(e){r(U,e),U.length=n.length,k.notifyListeners(U.location,U.action)}function _(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(T(e.state))}function F(){j(T(w()))}var C=!1;function j(e){if(C)C=!1,P();else{k.confirmTransitionTo(e,"POP",v,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(C=!0,L(o))}(e)}))}}var R=T(w()),D=[R.key];function A(e){return S+h(e)}function L(e){n.go(e)}var N=0;function I(e){1===(N+=e)&&1===e?(window.addEventListener("popstate",_),i&&window.addEventListener("hashchange",F)):0===N&&(window.removeEventListener("popstate",_),i&&window.removeEventListener("hashchange",F))}var M=!1;var U={length:n.length,action:"POP",location:R,createHref:A,push:function(e,t){var r=m(e,t,O(),U.location);k.confirmTransitionTo(r,"PUSH",v,(function(e){if(e){var t=A(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var u=D.indexOf(U.location.key),c=D.slice(0,u+1);c.push(r.key),D=c,P({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,O(),U.location);k.confirmTransitionTo(r,"REPLACE",v,(function(e){if(e){var t=A(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var u=D.indexOf(U.location.key);-1!==u&&(D[u]=r.key),P({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}var x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function T(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(S(window.location.href)+"#"+e)}function k(e){void 0===e&&(e={}),g||Object(c.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,u=void 0===a?"slash":a,l=e.basename?d(s(e.basename)):"",f=x[u],v=f.encodePath,w=f.decodePath;function E(){var e=w(T());return l&&(e=p(e,l)),m(e)}var k=y();function P(e){r(U,e),U.length=t.length,k.notifyListeners(U.location,U.action)}var _=!1,F=null;function C(){var e,t,n=T(),r=v(n);if(n!==r)O(r);else{var o=E(),a=U.location;if(!_&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(F===h(o))return;F=null,function(e){if(_)_=!1,P();else{k.confirmTransitionTo(e,"POP",i,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=A.lastIndexOf(h(t));-1===n&&(n=0);var r=A.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(_=!0,L(o))}(e)}))}}(o)}}var j=T(),R=v(j);j!==R&&O(R);var D=E(),A=[h(D)];function L(e){t.go(e)}var N=0;function I(e){1===(N+=e)&&1===e?window.addEventListener("hashchange",C):0===N&&window.removeEventListener("hashchange",C)}var M=!1;var U={length:t.length,action:"POP",location:D,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(l+h(e))},push:function(e,t){var n=m(e,void 0,void 0,U.location);k.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=v(l+t);if(T()!==r){F=t,function(e){window.location.hash=e}(r);var o=A.lastIndexOf(h(U.location)),i=A.slice(0,o+1);i.push(t),A=i,P({action:"PUSH",location:n})}else P()}}))},replace:function(e,t){var n=m(e,void 0,void 0,U.location);k.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=v(l+t);T()!==r&&(F=t,O(r));var o=A.indexOf(h(U.location));-1!==o&&(A[o]=t),P({action:"REPLACE",location:n})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=k.appendListener(e);return I(1),function(){I(-1),t()}}};return U}function P(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,u=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,s=y();function f(e){r(w,e),w.length=w.entries.length,s.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var d=P(u,0,i.length-1),v=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),g=h;function b(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];s.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[d],index:d,entries:v,createHref:g,push:function(e,t){var r=m(e,t,p(),w.location);s.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,p(),w.location);s.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return w}},function(e,t,n){var r,o,i,a=n(114),u=n(4),l=n(11),c=n(14),s=n(9),f=n(52),p=n(44),d=u.WeakMap;if(a){var h=new d,m=h.get,v=h.has,y=h.set;r=function(e,t){return y.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var g=f("state");p[g]=!0,r=function(e,t){return c(e,g,t),t},o=function(e){return s(e,g)?e[g]:{}},i=function(e){return s(e,g)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(66),o=n(59),i=n(23),a=n(21),u=n(107),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,s=4==e,f=6==e,p=5==e||f;return function(d,h,m,v){for(var y,g,b=i(d),w=o(b),E=r(h,m,3),x=a(w.length),S=0,T=v||u,O=t?T(d,x):n?T(d,0):void 0;x>S;S++)if((p||S in w)&&(g=E(y=w[S],S,b),e))if(t)O[S]=g;else if(g)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:l.call(O,y)}else if(s)return!1;return f?-1:c||s?s:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(e,t){e.exports=!1},function(e,t,n){var r=n(4),o=n(14);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(61),o=n(63),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));n(120);
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2021, Blue Liquid Designs
5
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
6
  * @since 6.0
7
  */
8
+ function r(e,t){var n=document.querySelector(".update-font");if(t){var r=e.location.pathname;return r.substr(r.lastIndexOf("/")+1)===t?o(n,e):i(n,e,t)}return o(n,e)}function o(e,t){if(e.classList.remove("show"),"/fontmanager/"!==t.location.pathname)return t.push("/fontmanager/")}function i(e,t,n){return e.classList.add("show"),t.push("/fontmanager/"+n)}},function(e,t,n){var r=n(7),o=n(144);r({target:"Array",stat:!0,forced:!n(130)((function(e){Array.from(e)}))},{from:o})},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(7),o=n(5),i=n(74),a=n(11),u=n(23),l=n(21),c=n(108),s=n(107),f=n(90),p=n(6),d=n(115),h=p("isConcatSpreadable"),m=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),v=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,o,i,a=u(this),f=s(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,p++,i)}return f.length=p,f}})},function(e,t,n){"use strict";var r=n(7),o=n(48).filter,i=n(90),a=n(33),u=i("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!u||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(5),o=n(24),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){"use strict";var r=n(16);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=n(0),a=n.n(i),u=n(46);n(1);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var s=n(37);n.d(t,"a",(function(){return f}));a.a.Component;var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(u.b)(t.props),t}return o(t,e),t.prototype.render=function(){return a.a.createElement(r.b,{history:this.history,children:this.props.children})},t}(a.a.Component);var p=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?Object(u.c)(e,null,null,t):e},h=function(e){return e},m=a.a.forwardRef;void 0===m&&(m=h);var v=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=c(e,["innerRef","navigate","onClick"]),u=i.target,s=l({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return s.ref=h!==m&&t||n,a.a.createElement("a",s)}));var y=m((function(e,t){var n=e.component,o=void 0===n?v:n,i=e.replace,u=e.to,f=e.innerRef,y=c(e,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(s.a)(!1);var n=e.history,r=d(p(u,e.location),e.location),c=r?n.createHref(r):"",v=l({},y,{href:c,navigate:function(){var t=p(u,e.location);(i?n.replace:n.push)(t)}});return h!==m?v.ref=t||f:v.innerRef=f,a.a.createElement(o,v)}))})),g=function(e){return e},b=a.a.forwardRef;void 0===b&&(b=g);b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,f=e.activeStyle,h=e.className,m=e.exact,v=e.isActive,w=e.location,E=e.sensitive,x=e.strict,S=e.style,T=e.to,O=e.innerRef,k=c(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(s.a)(!1);var n=w||e.location,i=d(p(T,n),n),c=i.pathname,P=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=P?Object(r.e)(n.pathname,{path:P,exact:m,sensitive:E,strict:x}):null,F=!!(v?v(_,n):_),C=F?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,u):h,j=F?l({},S,{},f):S,R=l({"aria-current":F&&o||null,className:C,style:j,to:i},k);return g!==b?R.ref=t||O:R.innerRef=O,a.a.createElement(y,R)}))}))},function(e,t,n){var r=n(49),o=n(75);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(4),o=n(11),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(5);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(75),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(78),o=n(53);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r,o=n(8),i=n(118),a=n(53),u=n(44),l=n(106),c=n(62),s=n(52),f=s("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};u[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[f]=e):n=h(),void 0===t?n:i(n,t)}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;(l=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){var r=n(10),o=n(12).f,i=Function.prototype,a=i.toString,u=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},function(e,t,n){var r=n(78),o=n(53).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r,o,i=n(97),a=n(124),u=RegExp.prototype.exec,l=String.prototype.replace,c=u,s=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(s||p||f)&&(c=function(e){var t,n,r,o,a=this,c=f&&a.sticky,d=i.call(a),h=a.source,m=0,v=e;return c&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",d)),p&&(n=new RegExp("^"+h+"$(?!\\s)",d)),s&&(t=a.lastIndex),r=u.call(c?n:a,v),c?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:s&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),p&&r&&r.length>1&&l.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(4),o=n(50),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(10),o=n(5),i=n(62);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(9),o=n(20),i=n(96).indexOf,a=n(44);e.exports=function(e,t){var n,u=o(e),l=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return i})),n.d(t,"applyMiddleware",(function(){return v})),n.d(t,"bindActionCreators",(function(){return f})),n.d(t,"combineReducers",(function(){return c})),n.d(t,"compose",(function(){return m})),n.d(t,"createStore",(function(){return u}));var r=n(110),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var l=e,c=t,s=[],f=s,p=!1;function d(){f===s&&(f=s.slice())}function h(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return d(),f.push(e),function(){if(t){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,d();var n=f.indexOf(e);f.splice(n,1)}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=l(c,e)}finally{p=!1}for(var t=s=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,v({type:i.REPLACE})}function g(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e}return v({type:i.INIT}),(o={dispatch:v,subscribe:m,getState:h,replaceReducer:y})[r.a]=g,o}function l(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},i=0;i<u.length;i++){var c=u[i],s=n[c],f=e[c],p=s(f,t);if(void 0===p){var d=l(c,t);throw new Error(d)}o[c]=p,r=r||p!==f}return r?o:e}}function s(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return s(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=s(o,t))}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return h({},n,{dispatch:r=m.apply(void 0,i)(n.dispatch)})}}}},function(e,t,n){var r=n(7),o=n(5),i=n(23),a=n(109),u=n(133);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){var r=n(7),o=n(27),i=n(43),a=n(8),u=n(11),l=n(68),c=n(205),s=n(5),f=o("Reflect","construct"),p=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!s((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,s=l(u(o)?o:Object.prototype),h=Function.apply.call(e,s,t);return u(h)?h:s}})},function(e,t,n){"use strict";var r=n(7),o=n(161);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(4),o=n(162),i=n(161),a=n(14);for(var u in o){var l=r[u],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(5),o=/#|\.prototype\./,i=function(e,t){var n=u[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(6),o=n(68),i=n(12),a=r("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},function(e,t,n){"use strict";var r,o,i,a,u=n(7),l=n(49),c=n(4),s=n(27),f=n(177),p=n(26),d=n(178),h=n(89),m=n(141),v=n(11),y=n(43),g=n(179),b=n(24),w=n(65),E=n(180),x=n(130),S=n(142),T=n(154).set,O=n(181),k=n(182),P=n(183),_=n(156),F=n(184),C=n(47),j=n(85),R=n(6),D=n(115),A=R("species"),L="Promise",N=C.get,I=C.set,M=C.getterFor(L),U=f,q=c.TypeError,z=c.document,H=c.process,G=s("fetch"),B=_.f,$=B,V="process"==b(H),W=!!(z&&z.createEvent&&c.dispatchEvent),K=j(L,(function(){if(!(w(U)!==String(U))){if(66===D)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype.finally)return!0;if(D>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[A]=t,!(e.then((function(){}))instanceof t)})),Q=K||!x((function(e){U.all(e).catch((function(){}))})),X=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Y=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;O((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,l,c,s=r[a++],f=i?s.ok:s.fail,p=s.resolve,d=s.reject,h=s.domain;try{f?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),c=!0)),u===s.promise?d(q("Promise-chain cycle")):(l=X(u))?l.call(u,p,d):p(u)):d(o)}catch(e){h&&!c&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Z(e,t)}))}},J=function(e,t,n){var r,o;W?((r=z.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(o=c["on"+e])?o(r):"unhandledrejection"===e&&P("Unhandled promise rejection",n)},Z=function(e,t){T.call(c,(function(){var n,r=t.value;if(ee(t)&&(n=F((function(){V?H.emit("unhandledRejection",r,e):J("unhandledrejection",e,r)})),t.rejection=V||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){T.call(c,(function(){V?H.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,Y(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw q("Promise can't be resolved itself");var o=X(n);o?O((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,Y(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};K&&(U=function(e){g(this,U,L),y(e),r.call(this);var t=N(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){I(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(U.prototype,{then:function(e,t){var n=M(this),r=B(S(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=V?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Y(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},_.f=B=function(e){return e===U||e===i?new o(e):$(e)},l||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,G.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:K},{Promise:U}),h(U,L,!1,!0),m(L),i=s(L),u({target:L,stat:!0,forced:K},{reject:function(e){var t=B(this);return t.reject.call(void 0,e),t.promise}}),u({target:L,stat:!0,forced:l||K},{resolve:function(e){return k(l&&this===i?U:this,e)}}),u({target:L,stat:!0,forced:Q},{all:function(e){var t=this,n=B(t),r=n.resolve,o=n.reject,i=F((function(){var n=y(t.resolve),i=[],a=0,u=1;E(e,(function(e){var l=a++,c=!1;i.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,i[l]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=B(t),r=n.reject,o=F((function(){var o=y(t.resolve);E(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12).f,o=n(9),i=n(6)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(5),o=n(6),i=n(115),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r;"undefined"!=typeof window?r=window:"undefined"!=typeof self?r=self:(console.warn("Using browser-only version of superagent in non-browser environment"),r=this);var o=n(192),i=n(193),a=n(158),u=n(194),l=n(196);function c(){}var s=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=y,s.getXHR=function(){if(!(!r.XMLHttpRequest||r.location&&"file:"==r.location.protocol&&r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only version of superagent could not find XHR")};var f="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function p(e){if(!a(e))return e;var t=[];for(var n in e)d(t,n,e[n]);return t.join("&")}function d(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach((function(n){d(e,t,n)}));else if(a(n))for(var r in n)d(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function h(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)-1==(n=(t=o[i]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function m(e){return/[\/+]json($|[^-\w])/.test(e)}function v(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=function(e){for(var t,n,r,o,i=e.split(/\r?\n/),a={},u=0,l=i.length;u<l;++u)-1!==(t=(n=i[u]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),o=f(n.slice(t+1)),a[r]=o);return a}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function y(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new v(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function g(e,t,n){var r=s("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}s.serializeObject=p,s.parseString=h,s.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},s.serialize={"application/x-www-form-urlencoded":p,"application/json":JSON.stringify},s.parse={"application/x-www-form-urlencoded":h,"application/json":JSON.parse},u(v.prototype),v.prototype._parseBody=function(e){var t=s.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&m(this.type)&&(t=s.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},v.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},s.Response=v,o(y.prototype),i(y.prototype),y.prototype.type=function(e){return this.set("Content-Type",s.types[e]||e),this},y.prototype.accept=function(e){return this.set("Accept",s.types[e]||e),this},y.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});var r=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,r)},y.prototype.query=function(e){return"string"!=typeof e&&(e=p(e)),e&&this._query.push(e),this},y.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},y.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},y.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},y.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},y.prototype.buffer=y.prototype.ca=y.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},y.prototype.pipe=y.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},y.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},y.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||c,this._finalizeQueryString(),this._end()},y.prototype._end=function(){var e=this,t=this.xhr=s.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||s.serialize[o?o.split(";")[0]:""];!i&&m(o)&&(i=s.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0!==n?n:null),this},s.agent=function(){return new l},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){l.prototype[e.toLowerCase()]=function(t,n){var r=new s.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),l.prototype.del=l.prototype.delete,s.get=function(e,t,n){var r=s("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},s.head=function(e,t,n){var r=s("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},s.options=function(e,t,n){var r=s("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.del=g,s.delete=g,s.patch=function(e,t,n){var r=s("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.post=function(e,t,n){var r=s("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},s.put=function(e,t,n){var r=s("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){var r=n(7),o=n(23),i=n(67);r({target:"Object",stat:!0,forced:n(5)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(23),a=n(21),u=n(35),l=n(22),c=n(112),s=n(99),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(n,r){var o=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!v&&y||"string"==typeof r&&-1===r.indexOf(g)){var i=n(t,e,this,r);if(i.done)return i.value}var l=o(e),d=String(this),h="function"==typeof r;h||(r=String(r));var m=l.global;if(m){var w=l.unicode;l.lastIndex=0}for(var E=[];;){var x=s(l,d);if(null===x)break;if(E.push(x),!m)break;""===String(x[0])&&(l.lastIndex=c(d,a(l.lastIndex),w))}for(var S,T="",O=0,k=0;k<E.length;k++){x=E[k];for(var P=String(x[0]),_=f(p(u(x.index),d.length),0),F=[],C=1;C<x.length;C++)F.push(void 0===(S=x[C])?S:String(S));var j=x.groups;if(h){var R=[P].concat(F,_,d);void 0!==j&&R.push(j);var D=String(r.apply(void 0,R))}else D=b(P,d,_,F,j,r);_>=O&&(T+=d.slice(O,_)+D,O=_+P.length)}return T+d.slice(O)}];function b(e,n,r,o,a,u){var l=r+e.length,c=o.length,s=m;return void 0!==a&&(a=i(a),s=h),t.call(u,s,(function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=a[i.slice(1,-1)];break;default:var s=+i;if(0===s)return t;if(s>c){var f=d(s/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[s-1]}return void 0===u?"":u}))}}))},function(e,t,n){var r=n(7),o=n(5),i=n(20),a=n(45).f,u=n(10),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!u||l,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(7),o=n(10),i=n(103),a=n(20),u=n(45),l=n(108);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,c=i(r),s={},f=0;c.length>f;)void 0!==(n=o(r,t=c[f++]))&&l(s,t,n);return s}})},function(e,t,n){var r=n(20),o=n(21),i=n(105),a=function(e){return function(t,n,a){var u,l=r(t),c=o(l.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var r=n(8);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";n(41);var r=n(26),o=n(5),i=n(6),a=n(73),u=n(14),l=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),s="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!v||"replace"===e&&(!c||!s||p)||"split"===e&&!d){var y=/./[h],g=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},function(e,t,n){var r=n(24),o=n(73);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";var r=n(7),o=n(11),i=n(74),a=n(105),u=n(21),l=n(20),c=n(108),s=n(6),f=n(90),p=n(33),d=f("slice"),h=p("slice",{ACCESSORS:!0,0:0,1:2}),m=s("species"),v=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var n,r,s,f=l(this),p=u(f.length),d=a(e,p),h=a(void 0===t?p:t,p);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(f,d,h);for(r=new(void 0===n?Array:n)(y(h-d,0)),s=0;d<h;d++,s++)d in f&&c(r,s,f[d]);return r.length=s,r}})},function(e,t,n){var r=n(64);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(9),o=n(103),i=n(45),a=n(12);e.exports=function(e,t){for(var n=o(t),u=a.f,l=i.f,c=0;c<n.length;c++){var s=n[c];r(e,s)||u(e,s,l(t,s))}}},function(e,t,n){var r=n(27),o=n(72),i=n(88),a=n(8);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(4);e.exports=r},function(e,t,n){var r=n(35),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(27);e.exports=r("document","documentElement")},function(e,t,n){var r=n(11),o=n(74),i=n(6)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var r=n(51),o=n(12),i=n(34);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(9),o=n(23),i=n(52),a=n(133),u=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";(function(e,r){var o,i=n(169);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(84),n(191)(e))},function(e,t,n){var r=n(7),o=n(185);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(117).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r={};r[n(6)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(4),o=n(65),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r,o,i=n(4),a=n(131),u=i.process,l=u&&u.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=w(a,n);if(u){if(u===s)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var s={};function f(){}function p(){}function d(){}var h={};h[o]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(T([])));v&&v!==t&&n.call(v,o)&&(h=v);var y=d.prototype=f.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,u){var l=c(e[o],e,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(l.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=y.constructor=d,d.constructor=p,p.displayName=u(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},g(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(y),u(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(35),o=n(22),i=function(e){return function(t,n){var i,a,u=String(o(t)),l=r(n),c=u.length;return l<0||l>=c?e?"":void 0:(i=u.charCodeAt(l))<55296||i>56319||l+1===c||(a=u.charCodeAt(l+1))<56320||a>57343?e?u.charAt(l):i:e?u.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){var r=n(10),o=n(12),i=n(8),a=n(67);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,l=0;u>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){"use strict";var r,o,i,a=n(109),u=n(14),l=n(9),c=n(6),s=n(49),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),s||l(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(7),o=n(200);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));n(55),n(42),n(25);function r(e,t){var n=Array.from(e);n.pop(),n.map((function(e,n){"none"!==e.style.display&&(e.querySelector(".gform-settings-panel__collapsible-toggle-checkbox").addEventListener("click",(function(){o(e,t,n)})),o(e,t,n,"firstLoad"))}))}function o(e,t,n,r){var o="submit-container-"+n;if(!e.classList.contains("gform-settings-panel--collapsed")){var i=t.querySelector("#submit").cloneNode(!0);i.setAttribute("id","submit_"+n);var a=document.createElement("div");return a.setAttribute("class",o),a.innerHTML=i.outerHTML,e.parentNode.insertBefore(a,e.nextSibling)}r||document.querySelector(".".concat(o)).remove()}},function(e,t,n){"use strict";var r=n(137),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=l(t),m=l(n),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||r&&r[y]||m&&m[y]||u&&u[y])){var g=p(n,y);try{c(t,y,g)}catch(e){}}}}return t}},function(e,t,n){var r=n(11),o=n(24),i=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(5);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(8),o=n(146);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(113),o=n(24),i=n(6)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(6),o=n(56),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(126),o=n(56),i=n(6)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(8);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(6)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(27);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(7),o=n(145),i=n(109),a=n(125),u=n(89),l=n(14),c=n(26),s=n(6),f=n(49),p=n(56),d=n(119),h=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,v=s("iterator"),y=function(){return this};e.exports=function(e,t,n,s,d,g,b){o(n,t,s);var w,E,x,S=function(e){if(e===d&&_)return _;if(!m&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",O=!1,k=e.prototype,P=k[v]||k["@@iterator"]||d&&k[d],_=!m&&P||S(d),F="Array"==t&&k.entries||P;if(F&&(w=i(F.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[v]&&l(w,v,y)),u(w,T,!0,!0),f&&(p[T]=y))),"values"==d&&P&&"values"!==P.name&&(O=!0,_=function(){return P.call(this)}),f&&!b||k[v]===_||l(k,v,_),p[t]=_,d)if(E={values:S("values"),keys:g?_:S("keys"),entries:S("entries")},b)for(x in E)(m||O||!(x in k))&&c(k,x,E[x]);else r({target:t,proto:!0,forced:m||O},E);return E}},function(e,t,n){var r=n(5);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";var r=n(7),o=n(96).includes,i=n(86);r({target:"Array",proto:!0,forced:!n(33)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(7),o=n(163);r({target:"String",proto:!0,forced:n(164)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(7),o=n(163);r({target:"String",proto:!0,forced:n(164)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";e.exports=n(203)},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=function(e){var t=e.style;return o.a.createElement("img",{alt:GFPDF.spinnerAlt,src:GFPDF.spinnerUrl,className:"gfpdf-spinner "+t})};a.propTypes={style:n.n(i).a.string},t.a=a},function(e,t,n){"use strict";var r=n(190).get;function o(e,t){return e===t}e.exports=function(e,t,n){n=n||o;var i=r(e(),t);return function(o){return function(){var a=r(e(),t);if(!n(i,a)){var u=i;i=a,o(a,u,t)}}}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var r=n(27),o=n(12),i=n(6),a=n(10),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(8),o=n(43),i=n(6)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},,function(e,t,n){"use strict";var r=n(66),o=n(23),i=n(129),a=n(127),u=n(21),l=n(108),c=n(128);e.exports=function(e){var t,n,s,f,p,d,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,g=void 0!==y,b=c(h),w=0;if(g&&(y=r(y,v>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=u(h.length));t>w;w++)d=g?y(h[w],w):h[w],l(n,w,d);else for(p=(f=b.call(h)).next,n=new m;!(s=p.call(f)).done;w++)d=g?i(f,y,[s.value,w],!0):s.value,l(n,w,d);return n.length=w,n}},function(e,t,n){"use strict";var r=n(119).IteratorPrototype,o=n(68),i=n(34),a=n(89),u=n(56),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),u[c]=l,e}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(7),o=n(198),i=n(22);r({target:"String",proto:!0,forced:!n(199)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t){const n=e=>void 0===e,r=e=>Array.isArray(e),o=e=>e&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.slice,i=(e,t,a,u)=>((t=t||{}).indices=!n(t.indices)&&t.indices,t.nullsAsUndefineds=!n(t.nullsAsUndefineds)&&t.nullsAsUndefineds,t.booleansAsIntegers=!n(t.booleansAsIntegers)&&t.booleansAsIntegers,t.allowEmptyArrays=!n(t.allowEmptyArrays)&&t.allowEmptyArrays,a=a||new FormData,n(e)||(null===e?t.nullsAsUndefineds||a.append(u,""):(e=>"boolean"==typeof e)(e)?t.booleansAsIntegers?a.append(u,e?1:0):a.append(u,e):r(e)?e.length?e.forEach((e,n)=>{const r=u+"["+(t.indices?n:"")+"]";i(e,t,a,r)}):t.allowEmptyArrays&&a.append(u+"[]",""):(e=>e instanceof Date)(e)?a.append(u,e.toISOString()):!(e=>e===Object(e))(e)||(e=>o(e)&&"string"==typeof e.name&&("object"==typeof e.lastModifiedDate||"number"==typeof e.lastModified))(e)||o(e)?a.append(u,e):Object.keys(e).forEach(n=>{const o=e[n];if(r(o))for(;n.length>2&&n.lastIndexOf("[]")===n.length-2;)n=n.substring(0,n.length-2);i(o,t,a,u?u+"["+n+"]":n)})),a);e.exports={serialize:i}},function(e,t,n){"use strict";(function(e){var r=n(0),o=n.n(r),i=n(150),a=n(1),u=n.n(a),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var s=o.a.createContext||function(e,t){var n,o,a,s="__create-react-context-"+((l[a="__global_unique_id__"]=(l[a]||0)+1)+"__"),f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[s]=u.a.object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},r.getValue=function(){return this.context[s]?this.context[s].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((o={})[s]=u.a.object,o),{Provider:f,Consumer:p}};t.a=s}).call(this,n(84))},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(204);e.exports=d,e.exports.parse=i,e.exports.compile=function(e,t){return u(i(e,t),t)},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,u="",s=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(u+=e.slice(a,d),a=d+f.length,p)u+=p[1];else{var h=e[a],m=n[2],v=n[3],y=n[4],g=n[5],b=n[6],w=n[7];u&&(r.push(u),u="");var E=null!=m&&null!=h&&h!==m,x="+"===b||"*"===b,S="?"===b||"*"===b,T=n[2]||s,O=y||g;r.push({name:v||i++,prefix:m||"",delimiter:T,optional:S,repeat:x,partial:E,asterisk:!!w,pattern:O?c(O):w?".*":"[^"+l(T)+"]+?"})}}return a<e.length&&(u+=e.substr(a)),u&&r.push(u),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",u=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var s=e[c];if("string"!=typeof s){var f,p=u[s.name];if(null==p){if(s.optional){s.partial&&(i+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(r(p)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var d=0;d<p.length;d++){if(f=l(p[d]),!n[c].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===d?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!n[c].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');i+=s.prefix+f}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",u=0;u<e.length;u++){var c=e[u];if("string"==typeof c)a+=l(c);else{var p=l(c.prefix),d="(?:"+c.pattern+")";t.push(c),c.repeat&&(d+="(?:"+p+d+")*"),a+=d=c.optional?c.partial?p+"("+d+")?":"(?:"+p+"("+d+"))?":p+"("+d+")"}}var h=l(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",s(new RegExp("^"+a,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(d(e[o],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(22),a=n(206),u=n(99);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var s=u(i,l);return a(i.lastIndex,c)||(i.lastIndex=c),null===s?-1:s.index}]}))},function(e,t,n){var r=n(7),o=n(207).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r,o,i,a=n(4),u=n(5),l=n(24),c=n(66),s=n(106),f=n(62),p=n(155),d=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},E=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},x=function(e){return function(){E(e)}},S=function(e){E(e.data)},T=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},"process"==l(v)?r=function(e){v.nextTick(x(e))}:g&&g.now?r=function(e){g.now(x(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=S,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(T)||"file:"===d.protocol?r="onreadystatechange"in f("script")?function(e){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}:(r=T,a.addEventListener("message",S,!1))),e.exports={set:h,clear:m}},function(e,t,n){var r=n(131);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(43),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";
9
  /*
10
  object-assign
11
  (c) Sindre Sorhus
12
  @license MIT
13
+ */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,l=a(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))o.call(n,s)&&(l[s]=n[s]);if(r){u=r(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(l[u[f]]=n[u[f]])}}return l}},function(e,t,n){"use strict";e.exports=function(e){return null!==e&&"object"==typeof e}},function(e,t,n){var r=n(6);t.f=r},function(e,t,n){var r=n(104),o=n(9),i=n(159),a=n(12).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(48).forEach,o=n(140),i=n(33),a=o("forEach"),u=i("forEach");e.exports=a&&u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(22),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),u+">"+a+"</"+t+">"}},function(e,t,n){var r=n(5);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},,function(e,t,n){"use strict";var r=n(0),o=n.n(r);function i(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function u(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}l((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}var l=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function c(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=l.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var s=[".DS_Store","Thumbs.db"];function f(e){return(null!==e.target&&e.target.files?h(e.target.files):[]).map((function(e){return c(e)}))}function p(e,t){return i(this,void 0,void 0,(function(){var n;return a(this,(function(r){switch(r.label){case 0:return e.items?(n=h(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(m))]):[3,2];case 1:return[2,d(v(r.sent()))];case 2:return[2,d(h(e.files).map((function(e){return c(e)})))]}}))}))}function d(e){return e.filter((function(e){return-1===s.indexOf(e.name)}))}function h(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function m(e){if("function"!=typeof e.webkitGetAsEntry)return y(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?b(t):y(e)}function v(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}(e,Array.isArray(t)?v(t):[t])}),[])}function y(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=c(t);return Promise.resolve(n)}function g(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,e.isDirectory?b(e):w(e)]}))}))}function b(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var u=this;t.readEntries((function(t){return i(u,void 0,void 0,(function(){var i,u,l;return a(this,(function(a){switch(a.label){case 0:if(t.length)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=a.sent(),e(i),[3,4];case 3:return u=a.sent(),n(u),[3,4];case 4:return[3,6];case 5:l=Promise.all(t.map(g)),r.push(l),o(),a.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function w(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=c(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var E=n(1),x=n.n(E),S=n(170),T=n.n(S),O=("function"==typeof Symbol&&Symbol.iterator,"undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"));function k(e,t){return"application/x-moz-file"===e.type||T()(e,t)}function P(e,t,n){return e.size<=t&&e.size>=n}function _(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function F(e){return void 0!==e.defaultPrevented?e.defaultPrevented:"function"==typeof e.isDefaultPrevented&&e.isDefaultPrevented()}function C(e){return!e.dataTransfer||Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e}))}function j(e){e.preventDefault()}function R(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function D(e){return-1!==e.indexOf("Edge/")}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return R(e)||D(e)}function L(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.defaultPrevented}))}}var N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var G=function(e){function t(){var e,n,r;z(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=H(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},r.isFileDialogActive=!1,r.onDocumentDrop=function(e){r.node&&r.node.contains(e.target)||(e.preventDefault(),r.dragTargets=[])},r.onDragStart=function(e){e.persist(),r.props.onDragStart&&C(e)&&r.props.onDragStart.call(r,e)},r.onDragEnter=function(e){e.preventDefault(),-1===r.dragTargets.indexOf(e.target)&&r.dragTargets.push(e.target),e.persist(),C(e)&&(Promise.resolve(r.props.getDataTransferItems(e)).then((function(t){_(e)||r.setState({draggedFiles:t,isDragActive:!0})})),r.props.onDragEnter&&r.props.onDragEnter.call(r,e))},r.onDragOver=function(e){return e.preventDefault(),e.persist(),e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),r.props.onDragOver&&C(e)&&r.props.onDragOver.call(r,e),!1},r.onDragLeave=function(e){e.preventDefault(),e.persist(),r.dragTargets=r.dragTargets.filter((function(t){return t!==e.target&&r.node.contains(t)})),r.dragTargets.length>0||(r.setState({isDragActive:!1,draggedFiles:[]}),r.props.onDragLeave&&C(e)&&r.props.onDragLeave.call(r,e))},r.onDrop=function(e){var t=r.props,n=t.onDrop,o=t.onDropAccepted,i=t.onDropRejected,a=t.multiple,u=t.accept,l=t.getDataTransferItems;e.preventDefault(),e.persist(),r.dragTargets=[],r.isFileDialogActive=!1,r.draggedFiles=null,r.setState({isDragActive:!1,draggedFiles:[]}),C(e)&&Promise.resolve(l(e)).then((function(t){var l=[],c=[];_(e)||(t.forEach((function(e){k(e,u)&&P(e,r.props.maxSize,r.props.minSize)?l.push(e):c.push(e)})),!a&&l.length>1&&c.push.apply(c,q(l.splice(0))),r.setState({acceptedFiles:l,rejectedFiles:c},(function(){n&&n.call(r,l,c,e),c.length>0&&i&&i.call(r,c,e),l.length>0&&o&&o.call(r,l,e)})))}))},r.onClick=function(e){var t=r.props.onClick;t&&t.call(r,e),F(e)||(e.stopPropagation(),A()?setTimeout(r.open,0):r.open())},r.onInputElementClick=function(e){e.stopPropagation()},r.onFileDialogCancel=function(){var e=r.props.onFileDialogCancel;r.isFileDialogActive&&setTimeout((function(){null!=r.input&&(r.input.files.length||(r.isFileDialogActive=!1,"function"==typeof e&&e()))}),300)},r.onFocus=function(e){var t=r.props.onFocus;t&&t.call(r,e),F(e)||r.setState({isFocused:!0})},r.onBlur=function(e){var t=r.props.onBlur;t&&t.call(r,e),F(e)||r.setState({isFocused:!1})},r.onKeyDown=function(e){var t=r.props.onKeyDown;r.node.isEqualNode(e.target)&&(t&&t.call(r,e),F(e)||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),r.open()))},r.composeHandler=function(e){return r.props.disabled?null:e},r.getRootProps=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.refKey,o=void 0===n?"ref":n,i=t.onKeyDown,a=t.onFocus,u=t.onBlur,l=t.onClick,c=t.onDragStart,s=t.onDragEnter,f=t.onDragOver,p=t.onDragLeave,d=t.onDrop,h=U(t,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragStart","onDragEnter","onDragOver","onDragLeave","onDrop"]);return N((M(e={onKeyDown:r.composeHandler(i?L(i,r.onKeyDown):r.onKeyDown),onFocus:r.composeHandler(a?L(a,r.onFocus):r.onFocus),onBlur:r.composeHandler(u?L(u,r.onBlur):r.onBlur),onClick:r.composeHandler(l?L(l,r.onClick):r.onClick),onDragStart:r.composeHandler(c?L(c,r.onDragStart):r.onDragStart),onDragEnter:r.composeHandler(s?L(s,r.onDragEnter):r.onDragEnter),onDragOver:r.composeHandler(f?L(f,r.onDragOver):r.onDragOver),onDragLeave:r.composeHandler(p?L(p,r.onDragLeave):r.onDragLeave),onDrop:r.composeHandler(d?L(d,r.onDrop):r.onDrop)},o,r.setNodeRef),M(e,"tabIndex",r.props.disabled?-1:0),e),h)},r.getInputProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,o=e.onChange,i=e.onClick,a=U(e,["refKey","onChange","onClick"]),u=r.props,l=u.accept,c=u.multiple,s=u.name,f=M({accept:l,type:"file",style:{display:"none"},multiple:O&&c,onChange:L(o,r.onDrop),onClick:L(i,r.onInputElementClick),autoComplete:"off",tabIndex:-1},n,r.setInputRef);return s&&s.length&&(f.name=s),N({},f,a)},r.setNodeRef=function(e){r.node=e},r.setInputRef=function(e){r.input=e},r.open=function(){r.isFileDialogActive=!0,r.input&&(r.input.value=null,r.input.click())},H(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),I(t,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",j,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),window.addEventListener("focus",this.onFileDialogCancel,!1)}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",j),document.removeEventListener("drop",this.onDocumentDrop)),window.removeEventListener("focus",this.onFileDialogCancel,!1)}},{key:"render",value:function(){var e,t,n=this.props,r=n.children,o=n.multiple,i=n.disabled,a=this.state,u=a.isDragActive,l=a.isFocused,c=a.draggedFiles,s=a.acceptedFiles,f=a.rejectedFiles,p=c.length,d=o||p<=1,h=p>0&&(e=c,t=this.props.accept,e.every((function(e){return k(e,t)})));return r({isDragActive:u,isDragAccept:h,isDragReject:p>0&&(!h||!d),draggedFiles:c,acceptedFiles:s,rejectedFiles:f,isFocused:l&&!i,getRootProps:this.getRootProps,getInputProps:this.getInputProps,open:this.open})}}]),t}(o.a.Component);t.a=G;G.propTypes={accept:x.a.oneOfType([x.a.string,x.a.arrayOf(x.a.string)]),children:x.a.func,disabled:x.a.bool,preventDropOnDocument:x.a.bool,multiple:x.a.bool,name:x.a.string,maxSize:x.a.number,minSize:x.a.number,getDataTransferItems:x.a.func,onClick:x.a.func,onFocus:x.a.func,onBlur:x.a.func,onKeyDown:x.a.func,onDrop:x.a.func,onDropAccepted:x.a.func,onDropRejected:x.a.func,onDragStart:x.a.func,onDragEnter:x.a.func,onDragOver:x.a.func,onDragLeave:x.a.func,onFileDialogCancel:x.a.func},G.defaultProps={preventDropOnDocument:!0,disabled:!1,multiple:!0,maxSize:1/0,minSize:0,getDataTransferItems:function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?p(e.dataTransfer,e.type):f(e))];var n}))}))}}},function(e,t,n){"use strict";n(31),n(38),n(39),n(57),n(32),n(120),n(80),n(18),n(81),n(41),n(29),n(25),n(152),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(15),l=n(16),c=n(3);n(55),n(134),n(42);var s=n(54);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
14
  /**
15
  * @package Gravity PDF
16
  * @copyright Copyright (c) 2021, Blue Liquid Designs
23
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
24
  * @since 6.0
25
  */
26
+ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),r=document.querySelector('optgroup[label="User-Defined Fonts"]'),o=n.options[n.selectedIndex].value,i=[],a=document.createElement("optgroup");a.setAttribute("label","User-Defined Fonts"),e.map((function(e){var t=document.createElement("option");t.text=e.font_name,t.value=e.id,a.appendChild(t)})),t||null!==r&&(r.remove(),n.insertBefore(a,n.childNodes[0]),n.selectedIndex="0"),Array.from(document.querySelectorAll('optgroup[label="User-Defined Fonts"] > option')).map((function(e){return i.push(e.value)})),null!==r&&r.remove();var u=[];return e.length>0&&e.map((function(e){return u.push(e.id)})),u.length>0&&u.includes(t)?(n.insertBefore(a,n.childNodes[0]),n.value=t):u.length>0&&!u.includes(t)?(n.insertBefore(a,n.childNodes[0]),n.selectedIndex="0"):0===u.length&&i.length>0?n.selectedIndex="0":(n.insertBefore(a,n.childNodes[0]),n.value=t||o,void(0===i.length&&0===u.length&&(n.querySelector('optgroup[label="User-Defined Fonts"]').remove(),n.selectedIndex="0")))}(t,n)}},{key:"render",value:function(){return o.a.createElement("button",{className:"close dashicons dashicons-no",tabIndex:"142",onClick:this.handleCloseDialog,"aria-label":"close"},o.a.createElement("span",{className:"screen-reader-text"},"Close dialog"))}}])&&d(t.prototype,n),r&&d(t,r),a}(r.Component);b(w,"propTypes",{id:a.a.string,closeRoute:a.a.string,getCustomFontList:a.a.func.isRequired,clearAddFontMsg:a.a.func.isRequired,templateList:a.a.arrayOf(a.a.object).isRequired,fontList:a.a.arrayOf(a.a.object).isRequired,selectedFont:a.a.string.isRequired,msg:a.a.object.isRequired,history:a.a.object.isRequired});t.a=Object(l.f)(Object(u.b)((function(e){return{templateList:e.template.list,fontList:e.fontManager.fontList,selectedFont:e.fontManager.selectedFont,msg:e.fontManager.msg}}),{getCustomFontList:c.A,clearAddFontMsg:c.v})(w))},function(e,t,n){"use strict";var r=n(79).compose;t.__esModule=!0,t.composeWithDevTools="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r:r.apply(null,arguments)},t.devToolsEnhancer="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(32)("wks"),o=n(9),i=n(0).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(0),o=n(2),i=n(8),a=n(22),u=n(10),l=function(e,t,n){var c,s,f,p,d=e&l.F,h=e&l.G,m=e&l.S,v=e&l.P,y=e&l.B,g=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(c in h&&(n=t),n)f=((s=!d&&g&&void 0!==g[c])?g:n)[c],p=y&&s?u(f,r):v&&"function"==typeof f?u(Function.call,f):f,g&&a(g,c,f,e&l.U),b[c]!=f&&i(b,c,p),v&&w[c]!=f&&(w[c]=f)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(16),o=n(21);e.exports=n(3)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(24);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(28),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){"use strict";var r=n(7),o=n(25)(3);r(r.P+r.F*!n(33)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(17),o=n(18),i=n(20),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(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){var r=n(1);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)((function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(1),o=n(0).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(1);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){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(0),o=n(8),i=n(23),a=n(9)("src"),u=Function.toString,l=(""+u).split("toString");n(2).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||u.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(10),o=n(26),i=n(27),a=n(12),u=n(29);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,s=4==e,f=6==e,p=5==e||f,d=t||u;return function(t,u,h){for(var m,v,y=i(t),g=o(y),b=r(u,h,3),w=a(g.length),E=0,x=n?d(t,w):l?d(t,0):void 0;w>E;E++)if((p||E in g)&&(v=b(m=g[E],E,y),e))if(n)x[E]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:x.push(m)}else if(s)return!1;return f?-1:c||s?s:x}}},function(e,t,n){var r=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(11);e.exports=function(e){return Object(r(e))}},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=n(30);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(1),o=n(31),i=n(6)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(5);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){"use strict";var r=n(7),o=n(12),i=n(36),a="".endsWith;r(r.P+r.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:Math.min(o(n),r),l=String(e);return a?a.call(t,l,u):t.slice(u-l.length,u)===l}})},function(e,t,n){var r=n(37),o=n(11);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(1),o=n(5),i=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}}])},,,,function(e,t,n){"use strict";var r=n(7),o=n(43),i=n(23),a=n(5),u=n(140),l=[],c=l.sort,s=a((function(){l.sort(void 0)})),f=a((function(){l.sort(null)})),p=u("sort");r({target:"Array",proto:!0,forced:s||!f||!p},{sort:function(e){return void 0===e?c.call(i(this)):c.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(98),o=n(8),i=n(21),a=n(22),u=n(112),l=n(99);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),c=String(this);if(!a.global)return l(a,c);var s=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=l(a,c));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=u(c,i(a.lastIndex),s)),d++}return 0===d?null:p}]}))},function(e,t,n){"use strict";var r=n(113),o=n(126);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){var r=n(4);e.exports=r.Promise},function(e,t,n){var r=n(26);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(8),o=n(127),i=n(21),a=n(66),u=n(128),l=n(129),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,s,f){var p,d,h,m,v,y,g,b=a(t,n,s?2:1);if(f)p=e;else{if("function"!=typeof(d=u(e)))throw TypeError("Target is not iterable");if(o(d)){for(h=0,m=i(e.length);m>h;h++)if((v=s?b(r(g=e[h])[0],g[1]):b(e[h]))&&v instanceof c)return v;return new c(!1)}p=d.call(e)}for(y=p.next;!(g=y.call(p)).done;)if("object"==typeof(v=l(p,b,g.value,s))&&v&&v instanceof c)return v;return new c(!1)}).stop=function(e){return new c(!0,e)}},function(e,t,n){var r,o,i,a,u,l,c,s,f=n(4),p=n(45).f,d=n(24),h=n(154).set,m=n(155),v=f.MutationObserver||f.WebKitMutationObserver,y=f.process,g=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),E=w&&w.value;E||(r=function(){var e,t;for(b&&(e=y.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b?a=function(){y.nextTick(r)}:v&&!m?(u=!0,l=document.createTextNode(""),new v(r).observe(l,{characterData:!0}),a=function(){l.data=u=!u}):g&&g.resolve?(c=g.resolve(void 0),s=c.then,a=function(){s.call(c,r)}):a=function(){h.call(f,r)}),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(8),o=n(11),i=n(156);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(4);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(10),o=n(5),i=n(67),a=n(88),u=n(77),l=n(23),c=n(59),s=Object.assign,f=Object.defineProperty;e.exports=!s||o((function(){if(r&&1!==s({b:1},s(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||"abcdefghijklmnopqrst"!=i(s({},t)).join("")}))?function(e,t){for(var n=l(e),o=arguments.length,s=1,f=a.f,p=u.f;o>s;)for(var d,h=c(arguments[s++]),m=f?i(h).concat(f(h)):i(h),v=m.length,y=0;v>y;)d=m[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:s},function(e,t,n){"use strict";
27
  /** @license React v16.13.1
28
  * react.production.min.js
29
  *
47
  *
48
  * This source code is licensed under the MIT license found in the
49
  * LICENSE file in the root directory of this source tree.
50
+ */var r,o,i,a,u;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(s,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var y=d.now();t.unstable_now=function(){return d.now()-y}}var g=!1,b=null,w=-1,E=5,x=0;a=function(){return t.unstable_now()>=x},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):E=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,T=S.port2;S.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+E;try{b(!0,e)?T.postMessage(null):(g=!1,b=null)}catch(e){throw T.postMessage(null),e}}else g=!1},r=function(e){b=e,g||(g=!0,T.postMessage(null))},o=function(e,n){w=h((function(){e(t.unstable_now())}),n)},i=function(){m(w),w=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<_(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function P(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,l=e[u];if(void 0!==a&&0>_(a,n))void 0!==l&&0>_(l,a)?(e[r]=l,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],C=[],j=1,R=null,D=3,A=!1,L=!1,N=!1;function I(e){for(var t=k(C);null!==t;){if(null===t.callback)P(C);else{if(!(t.startTime<=e))break;P(C),t.sortIndex=t.expirationTime,O(F,t)}t=k(C)}}function M(e){if(N=!1,I(e),!L)if(null!==k(F))L=!0,r(U);else{var t=k(C);null!==t&&o(M,t.startTime-e)}}function U(e,n){L=!1,N&&(N=!1,i()),A=!0;var r=D;try{for(I(n),R=k(F);null!==R&&(!(R.expirationTime>n)||e&&!a());){var u=R.callback;if(null!==u){R.callback=null,D=R.priorityLevel;var l=u(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?R.callback=l:R===k(F)&&P(F),I(n)}else P(F);R=k(F)}if(null!==R)var c=!0;else{var s=k(C);null!==s&&o(M,s.startTime-n),c=!1}return c}finally{R=null,D=r,A=!1}}function q(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||A||(L=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_getFirstCallbackNode=function(){return k(F)},t.unstable_next=function(e){switch(D){case 1:case 2:case 3:var t=3;break;default:t=D}var n=D;D=t;try{return e()}finally{D=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=D;D=e;try{return t()}finally{D=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?u+l:u,a="number"==typeof a.timeout?a.timeout:q(e)}else a=q(e),l=u;return e={id:j++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>u?(e.sortIndex=l,O(C,e),null===k(F)&&e===k(C)&&(N?i():N=!0,o(M,l-u))):(e.sortIndex=a,O(F,e),L||A||(L=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();I(e);var n=k(F);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=D;return function(){var n=D;D=t;try{return e.apply(this,arguments)}finally{D=n}}}},function(e,t,n){var r,o,i;!function(n,a){"use strict";"object"==typeof e.exports?e.exports=a():(o=[],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(){"use strict";var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;function n(e){if(!e)return!0;if(u(e)&&0===e.length)return!0;if(!i(e)){for(var n in e)if(t.call(e,n))return!1;return!0}return!1}function r(t){return e.call(t)}function o(e){return"number"==typeof e||"[object Number]"===r(e)}function i(e){return"string"==typeof e||"[object String]"===r(e)}function a(e){return"object"==typeof e&&"[object Object]"===r(e)}function u(e){return"object"==typeof e&&"number"==typeof e.length&&"[object Array]"===r(e)}function l(e){var t=parseInt(e);return t.toString()===e?t:e}function c(e,t,r,a){if(o(t)&&(t=[t]),n(t))return e;if(i(t))return c(e,t.split(".").map(l),r,a);var u=t[0];if(1===t.length){var s=e[u];return void 0!==s&&a||(e[u]=r),s}return void 0===e[u]&&(o(t[1])?e[u]=[]:e[u]={}),c(e[u],t.slice(1),r,a)}var s=function(e){return Object.keys(s).reduce((function(t,n){return"function"==typeof s[n]&&(t[n]=s[n].bind(s,e)),t}),{})};return s.has=function(e,r){if(n(e))return!1;if(o(r)?r=[r]:i(r)&&(r=r.split(".")),n(r)||0===r.length)return!1;for(var l=0;l<r.length;l++){var c=r[l];if(!a(e)&&!u(e)||!t.call(e,c))return!1;e=e[c]}return!0},s.ensureExists=function(e,t,n){return c(e,t,n,!0)},s.set=function(e,t,n,r){return c(e,t,n,r)},s.insert=function(e,t,n,r){var o=s.get(e,t);r=~~r,u(o)||(o=[],s.set(e,t,o)),o.splice(r,0,n)},s.empty=function(e,l){if(n(l))return e;if(!n(e)){var c,f;if(!(c=s.get(e,l)))return e;if(i(c))return s.set(e,l,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===r(e)}(c))return s.set(e,l,!1);if(o(c))return s.set(e,l,0);if(u(c))c.length=0;else{if(!a(c))return s.set(e,l,null);for(f in c)t.call(c,f)&&delete c[f]}}},s.push=function(e,t){var n=s.get(e,t);u(n)||(n=[],s.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},s.coalesce=function(e,t,n){for(var r,o=0,i=t.length;o<i;o++)if(void 0!==(r=s.get(e,t[o])))return r;return n},s.get=function(e,t,r){if(o(t)&&(t=[t]),n(t))return e;if(n(e))return r;if(i(t))return s.get(e,t.split("."),r);var a=l(t[0]);return 1===t.length?void 0===e[a]?r:e[a]:s.get(e[a],t.slice(1),r)},s.del=function(e,t){return function e(t,r){if(o(r)&&(r=[r]),!n(t)){if(n(r))return t;if(i(r))return e(t,r.split("."));var a=l(r[0]),c=t[a];if(1===r.length)void 0!==c&&(u(t)?t.splice(a,1):delete t[a]);else if(void 0!==t[a])return e(t[a],r.slice(1));return t}}(e,t)},s}))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){"use strict";var r=n(158);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),r(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var o in t)this.field(e,t[o]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},o.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=r(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&r(this._data))for(var o in e)this._data[o]=e[o];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.trace("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,t,n){"use strict";var r=n(195);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.get=function(e){return this.header[e.toLowerCase()]},o.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var o in n)this[o]=n[o];this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},o.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t){function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){n.prototype[e]=function(){return this._defaults.push({fn:e,arguments}),this}})),n.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,t.arguments)}))},e.exports=n},function(e,t,n){var r=n(20),o=n(72).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(123);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(20),o=n(35),i=n(21),a=n(140),u=n(33),l=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),p=u("indexOf",{ACCESSORS:!0,1:0}),d=s||!f||!p;e.exports=d?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){"use strict";var r=n(202);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
51
  /** @license React v16.13.1
52
  * react-is.production.min.js
53
  *
55
  *
56
  * This source code is licensed under the MIT license found in the
57
  * LICENSE file in the root directory of this source tree.
58
+ */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case l:case u:case h:return e;default:switch(e=e&&e.$$typeof){case s:case d:case y:case v:case c:return e;default:return t}}case i:return t}}}function S(e){return x(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=l,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||x(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===y},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===u},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===u||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===s||e.$$typeof===d||e.$$typeof===b||e.$$typeof===w||e.$$typeof===E||e.$$typeof===g)},t.typeOf=x},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=n(43),o=n(11),i=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(10),o=n(67),i=n(20),a=n(77).f,u=function(e){return function(t){for(var n,u=i(t),l=o(u),c=l.length,s=0,f=[];c>s;)n=l[s++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(18),n(87);var r=n(2),o=n.n(r),i=(n(111),n(0)),a=n.n(i),u=n(30),l=n(60),c=n(16),s=n(139),f=n.n(s),p=n(168),d=n(79),h=function(e){return"@@redux-saga/"+e},m=h("CANCEL_PROMISE"),v=h("CHANNEL_END"),y=h("IO"),g=h("MATCH"),b=h("MULTICAST"),w=h("SAGA_ACTION"),E=h("SELF_CANCELLATION"),x=h("TASK"),S=h("TASK_CANCEL"),T=h("TERMINATE"),O=h("LOCATION"),k=n(28),P=n(69),_=function(e){return null==e},F=function(e){return null!=e},C=function(e){return"function"==typeof e},j=function(e){return"string"==typeof e},R=Array.isArray,D=function(e){return e&&C(e.then)},A=function(e){return e&&C(e.next)&&C(e.throw)},L=function e(t){return t&&(j(t)||M(t)||C(t)||R(t)&&t.every(e))},N=function(e){return e&&C(e.take)&&C(e.close)},I=function(e){return C(e)&&e.hasOwnProperty("toString")},M=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};var U=function(e){return function(){return e}}(!0),q=function(){};var z=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var H=function(e,t){Object(k.a)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function G(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function B(e){var t=!1;return function(){t||(t=!0,e())}}var $=function(e){throw e},V=function(e){return{value:e,done:!0}};function W(e,t,n){void 0===t&&(t=$),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:V,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function K(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var Q=function(e){return Array.apply(null,new Array(e))},X=function(e){return function(t){return e(Object.defineProperty(t,w,{value:!0}))}},Y=function(e){return e===T},J=function(e){return e===S},Z=function(e){return Y(e)||J(e)};function ee(e,t){var n=Object.keys(e),r=n.length;var o,i=0,a=R(e)?Q(r):{},u={};return n.forEach((function(e){var n=function(n,u){o||(u||Z(n)?(t.cancel(),t(n,u)):(a[e]=n,++i===r&&(o=!0,t(a))))};n.cancel=q,u[e]=n})),t.cancel=function(){o||(o=!0,n.forEach((function(e){return u[e].cancel()})))},u}function te(e){return{name:e.name||"anonymous",location:ne(e)}}function ne(e){return e[O]}function re(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,o=0,i=0,a=function(t){n[o]=t,o=(o+1)%e,r++},u=function(){if(0!=r){var t=n[i];return n[i]=null,r--,i=(i+1)%e,t}},l=function(){for(var e=[];r;)e.push(u());return e};return{isEmpty:function(){return 0==r},put:function(u){var c;if(r<e)a(u);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[o]=u,i=o=(o+1)%e;break;case 4:c=2*e,n=l(),r=n.length,o=n.length,i=0,n.length=c,e=c,a(u)}},take:u,flush:l}}var oe=function(e){return re(e,4)},ie=function(e,t){var n;return(n={})[y]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function ae(e,t){return void 0===e&&(e="*"),L(e)?ie("TAKE",{pattern:e}):N(n=e)&&n[b]&&F(t)&&L(t)?ie("TAKE",{channel:e,pattern:t}):N(e)?ie("TAKE",{channel:e}):void 0;var n}function ue(e,t){return _(t)&&(t=e,e=void 0),ie("PUT",{channel:e,action:t})}function le(e,t){var n,r=null;return C(e)?n=e:(R(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&j(n)&&C(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function ce(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie("CALL",le(e,n))}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie("FORK",le(e,n))}function fe(e){return void 0===e&&(e=E),ie("CANCEL",e)}n(110);var pe=function(){return Math.random().toString(36).substring(7).split("").join(".")};pe(),pe();function de(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function he(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}var me=he,ve=[],ye=0;function ge(e){try{Ee(),e()}finally{xe()}}function be(e){ve.push(e),ye||(Ee(),Se())}function we(e){try{return Ee(),e()}finally{Se()}}function Ee(){ye++}function xe(){ye--}function Se(){var e;for(xe();!ye&&void 0!==(e=ve.shift());)ge(e)}var Te=function(e){return function(t){return e.some((function(e){return Fe(e)(t)}))}},Oe=function(e){return function(t){return e(t)}},ke=function(e){return function(t){return t.type===String(e)}},Pe=function(e){return function(t){return t.type===e}},_e=function(){return U};function Fe(e){var t="*"===e?_e:j(e)?ke:R(e)?Te:I(e)?ke:C(e)?Oe:M(e)?Pe:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var Ce={type:v},je=function(e){return e&&e.type===v};function Re(e){void 0===e&&(e=oe());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(Ce):e.isEmpty()?(n.push(r),r.cancel=function(){G(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(Ce):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,o=e.length;r<o;r++){(0,e[r])(Ce)}}}}}function De(){var e,t,n,r,o,i,a=(t=!1,r=n=[],o=function(){r===n&&(r=n.slice())},i=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(Ce)}))},(e={})[b]=!0,e.put=function(e){if(!t)if(je(e))i();else for(var o=n=r,a=0,u=o.length;a<u;a++){var l=o[a];l[g](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=_e),t?e(Ce):(e[g]=n,o(),r.push(e),e.cancel=B((function(){o(),G(r,e)})))},e.close=i,e),u=a.put;return a.put=function(e){e[w]?u(e):be((function(){u(e)}))},a}function Ae(e,t){var n=e[m];C(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var Le,Ne=0,Ie=function(){return++Ne};function Me(e){e.isRunning()&&e.cancel()}var Ue=((Le={}).TAKE=function(e,t,n){var r=t.channel,o=void 0===r?e.channel:r,i=t.pattern,a=t.maybe,u=function(e){e instanceof Error?n(e,!0):!je(e)||a?n(e):n(T)};try{o.take(u,F(i)?Fe(i):null)}catch(e){return void n(e,!0)}n.cancel=u.cancel},Le.PUT=function(e,t,n){var r=t.channel,o=t.action,i=t.resolve;be((function(){var t;try{t=(r?r.put:e.dispatch)(o)}catch(e){return void n(e,!0)}i&&D(t)?Ae(t,n):n(t)}))},Le.ALL=function(e,t,n,r){var o=r.digestEffect,i=Ne,a=Object.keys(t);if(0!==a.length){var u=ee(t,n);a.forEach((function(e){o(t[e],i,u[e],e)}))}else n(R(t)?[]:{})},Le.RACE=function(e,t,n,r){var o=r.digestEffect,i=Ne,a=Object.keys(t),u=R(t)?Q(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||Z(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,u[e]=t,n(u)))};t.cancel=q,l[e]=t})),n.cancel=function(){c||(c=!0,a.forEach((function(e){return l[e].cancel()})))},a.forEach((function(e){c||o(t[e],i,l[e],e)}))},Le.CALL=function(e,t,n,r){var o=t.context,i=t.fn,a=t.args,u=r.task;try{var l=i.apply(o,a);if(D(l))return void Ae(l,n);if(A(l))return void We(e,l,u.context,Ne,te(i),!1,n);n(l)}catch(e){n(e,!0)}},Le.CPS=function(e,t,n){var r=t.context,o=t.fn,i=t.args;try{var a=function(e,t){_(e)?n(t):n(e,!0)};o.apply(r,i.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},Le.FORK=function(e,t,n,r){var o=t.context,i=t.fn,a=t.args,u=t.detached,l=r.task,c=function(e){var t=e.context,n=e.fn,r=e.args;try{var o=n.apply(t,r);if(A(o))return o;var i=!1;return W((function(e){return i?{value:e,done:!0}:(i=!0,{value:o,done:!D(o)})}))}catch(e){return W((function(){throw e}))}}({context:o,fn:i,args:a}),s=function(e,t){return e.isSagaIterator?{name:e.meta.name}:te(t)}(c,i);we((function(){var t=We(e,c,l.context,Ne,s,u,void 0);u?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},Le.JOIN=function(e,t,n,r){var o=r.task,i=function(e,t){if(e.isRunning()){var n={task:o,cb:t};t.cancel=function(){e.isRunning()&&G(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(R(t)){if(0===t.length)return void n([]);var a=ee(t,n);t.forEach((function(e,t){i(e,a[t])}))}else i(t,n)},Le.CANCEL=function(e,t,n,r){var o=r.task;t===E?Me(o):R(t)?t.forEach(Me):Me(t),n()},Le.SELECT=function(e,t,n){var r=t.selector,o=t.args;try{n(r.apply(void 0,[e.getState()].concat(o)))}catch(e){n(e,!0)}},Le.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,o=Re(t.buffer),i=Fe(r),a=function t(n){je(n)||e.channel.take(t,i),o.put(n)},u=o.close;o.close=function(){a.cancel(),u()},e.channel.take(a,i),n(o)},Le.CANCELLED=function(e,t,n,r){n(r.task.isCancelled())},Le.FLUSH=function(e,t,n){t.flush(n)},Le.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},Le.SET_CONTEXT=function(e,t,n,r){var o=r.task;H(o.context,t),n()},Le);function qe(e,t){return e+"?"+t}function ze(e){var t=e.name,n=e.location;return n?t+" "+qe(n.fileName,n.lineNumber):t}var He=null,Ge=[],Be=function(){He=null,Ge.length=0},$e=function(){var e,t,n,r,o,i,a,u=Ge[0],l=Ge.slice(1),c=u.crashedEffect?(e=u.crashedEffect,(t=ne(e))?t.code+" "+qe(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+ze(u.meta)+(c?" \n when executing effect "+c:"")].concat(l.map((function(e){return" created by "+ze(e.meta)})),[(n=Ge,r=function(e){return e.cancelledTasks},o=n,a=(i=[]).concat.apply(i,o.map(r)),a.length?["Tasks cancelled due to error:"].concat(a).join("\n"):"")]).join("\n")};function Ve(e,t,n,r,o,i,a){var u;void 0===a&&(a=q);var l,c,s=0,f=null,p=[],d=Object.create(n),h=function(e,t,n){var r,o=[],i=!1;function a(e){t(),l(),n(e,!0)}function u(t){o.push(t),t.cont=function(u,l){i||(G(o,t),t.cont=q,l?a(u):(t===e&&(r=u),o.length||(i=!0,n(r))))}}function l(){i||(i=!0,o.forEach((function(e){e.cont=q,e.cancel()})),o=[])}return u(e),{addTask:u,cancelAll:l,abort:a,getTasks:function(){return o}}}(t,(function(){p.push.apply(p,h.getTasks().map((function(e){return e.meta.name})))}),m);function m(t,n){if(n){if(s=2,(i={meta:o,cancelledTasks:p}).crashedEffect=He,Ge.push(i),v.isRoot){var r=$e();Be(),e.onError(t,{sagaStack:r})}c=t,f&&f.reject(t)}else t===S?s=1:1!==s&&(s=3),l=t,f&&f.resolve(t);var i;v.cont(t,n),v.joiners.forEach((function(e){e.cb(t,n)})),v.joiners=null}var v=((u={})[x]=!0,u.id=r,u.meta=o,u.isRoot=i,u.context=d,u.joiners=[],u.queue=h,u.cancel=function(){0===s&&(s=1,h.cancelAll(),m(S,!1))},u.cont=a,u.end=m,u.setContext=function(e){H(d,e)},u.toPromise=function(){return f||(f=me(),2===s?f.reject(c):0!==s&&f.resolve(l)),f.promise},u.isRunning=function(){return 0===s},u.isCancelled=function(){return 1===s||0===s&&1===t.status},u.isAborted=function(){return 2===s},u.result=function(){return l},u.error=function(){return c},u);return v}function We(e,t,n,r,o,i,a){var u=e.finalizeRunEffect((function(t,n,r){if(D(t))Ae(t,r);else if(A(t))We(e,t,c.context,n,o,!1,r);else if(t&&t[y]){(0,Ue[t.type])(e,t.payload,r,s)}else r(t)}));f.cancel=q;var l={meta:o,cancel:function(){0===l.status&&(l.status=1,f(S))},status:0},c=Ve(e,l,n,r,o,i,a),s={task:c,digestEffect:p};return a&&(a.cancel=c.cancel),f(),c;function f(e,n){try{var o;n?(o=t.throw(e),Be()):J(e)?(l.status=1,f.cancel(),o=C(t.return)?t.return(S):{done:!0,value:S}):o=Y(e)?C(t.return)?t.return():{done:!0}:t.next(e),o.done?(1!==l.status&&(l.status=3),l.cont(o.value)):p(o.value,r,f)}catch(e){if(1===l.status)throw e;l.status=2,l.cont(e,!0)}}function p(t,n,r,o){void 0===o&&(o="");var i,a=Ie();function l(n,o){i||(i=!0,r.cancel=q,e.sagaMonitor&&(o?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),o&&function(e){He=e}(t),r(n,o))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:o,effect:t}),l.cancel=q,r.cancel=function(){i||(i=!0,l.cancel(),l.cancel=q,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},u(t,a,l)}}function Ke(e,t){var n=e.channel,r=void 0===n?De():n,o=e.dispatch,i=e.getState,a=e.context,u=void 0===a?{}:a,l=e.sagaMonitor,c=e.effectMiddlewares,s=e.onError,f=void 0===s?K:s;for(var p=arguments.length,d=new Array(p>2?p-2:0),h=2;h<p;h++)d[h-2]=arguments[h];var m=t.apply(void 0,d);var v,y=Ie();if(l&&(l.rootSagaStarted=l.rootSagaStarted||q,l.effectTriggered=l.effectTriggered||q,l.effectResolved=l.effectResolved||q,l.effectRejected=l.effectRejected||q,l.effectCancelled=l.effectCancelled||q,l.actionDispatched=l.actionDispatched||q,l.rootSagaStarted({effectId:y,saga:t,args:d})),c){var g=de.apply(void 0,c);v=function(e){return function(t,n,r){return g((function(t){return e(t,n,r)}))(t)}}}else v=z;var b={channel:r,dispatch:X(o),getState:i,sagaMonitor:l,onError:f,finalizeRunEffect:v};return we((function(){var e=We(b,m,u,y,te(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}var Qe=function(e){var t,n=void 0===e?{}:e,r=n.context,o=void 0===r?{}:r,i=n.channel,a=void 0===i?De():i,u=n.sagaMonitor,l=Object(P.a)(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=Ke.bind(null,Object(k.a)({},l,{context:o,channel:a,dispatch:r,getState:n,sagaMonitor:u})),function(e){return function(t){u&&u.actionDispatched&&u.actionDispatched(t);var n=e(t);return a.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){H(o,e)},c},Xe=(n(116),function(e){return{done:!0,value:e}}),Ye={};function Je(e){return N(e)?"channel":I(e)?String(e):C(e)?e.name:String(e)}function Ze(e,t,n){var r,o,i,a=t;function u(t,n){if(a===Ye)return Xe(t);if(n&&!o)throw a=Ye,n;r&&r(t);var u=n?e[o](n):e[a]();return a=u.nextState,i=u.effect,r=u.stateUpdater,o=u.errorState,a===Ye?Xe(t):i}return W(u,(function(e){return u(null,e)}),n)}function et(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a,u={done:!1,value:ae(e)},l=function(e){return{done:!1,value:se.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:fe(e)}},s=function(e){return i=e},f=function(e){return a=e};return Ze({q1:function(){return{nextState:"q2",effect:u,stateUpdater:f}},q2:function(){return i?{nextState:"q3",effect:c(i)}:{nextState:"q1",effect:l(a),stateUpdater:s}},q3:function(){return{nextState:"q1",effect:l(a),stateUpdater:s}}},"q1","takeLatest("+Je(e)+", "+t.name+")")}function tt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return se.apply(void 0,[et,e,t].concat(r))}var nt=n(13),rt=n(91),ot=n.n(rt);
59
  /**
60
  * @package Gravity PDF
61
  * @copyright Copyright (c) 2021, Blue Liquid Designs
68
  * @copyright Copyright (c) 2021, Blue Liquid Designs
69
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
70
  * @since 5.2
71
+ */function ht(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(it);case 3:return e=t.sent,t.next=6,ue(Object(nt.D)(e.text));case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,ue(Object(nt.C)());case 12:case"end":return t.stop()}}),lt,null,[[0,8]])}function mt(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(at,e.payload);case 3:return t.next=5,ue(Object(nt.y)("success"));case 5:t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(0),t.next=11,ue(Object(nt.x)("failed"));case 11:case"end":return t.stop()}}),ct,null,[[0,7]])}function vt(e){var t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,ce(ut,e.payload.file,e.payload.filename);case 3:return t=n.sent,n.next=6,ue(Object(nt.A)(t));case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,ue(Object(nt.z)(n.t0));case 12:case"end":return n.stop()}}),st,null,[[0,8]])}function yt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.m,ht);case 2:case"end":return e.stop()}}),ft)}function gt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.h,mt);case 2:case"end":return e.stop()}}),pt)}function bt(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(nt.e,vt);case 2:case"end":return e.stop()}}),dt)}n(41),n(93);var wt=n(17);
72
  /**
73
  * @package Gravity PDF
74
  * @copyright Copyright (c) 2021, Blue Liquid Designs
81
  * @copyright Copyright (c) 2021, Blue Liquid Designs
82
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
83
  * @since 5.2
84
+ */function Pt(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ce(Et);case 3:return e=t.sent,t.next=6,ue(Object(wt.t)(e.body));case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,ue(Object(wt.s)(GFPDF.coreFontGithubError));case 12:case"end":return t.stop()}}),St,null,[[0,8]])}function _t(e){var t,n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=3,ae(e);case 3:return t=r.sent,r.next=6,ue(Object(wt.k)(t,"pending",GFPDF.coreFontItemPendingMessage.replace("%s",t)));case 6:return r.prev=6,r.next=9,ce(xt,t);case 9:if((n=r.sent).body){r.next=12;break}throw n;case 12:return r.next=14,ue(Object(wt.k)(t,"success",GFPDF.coreFontItemSuccessMessage.replace("%s",t)));case 14:r.next=22;break;case 16:return r.prev=16,r.t0=r.catch(6),r.next=20,ue(Object(wt.k)(t,"error",GFPDF.coreFontItemErrorMessage.replace("%s",t)));case 20:return r.next=22,ue(Object(wt.l)(t));case 22:return r.prev=22,r.next=25,ue(Object(wt.p)());case 25:return r.finish(22);case 26:r.next=0;break;case 28:case"end":return r.stop()}}),Tt,null,[[6,16,22,26]])}function Ft(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tt(wt.g,Pt);case 2:case"end":return e.stop()}}),Ot)}function Ct(){var e,t,n,r;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,ce(Re);case 2:e=o.sent,t=0;case 4:if(!(t<5)){o.next=10;break}return o.next=7,se(_t,e);case 7:t++,o.next=4;break;case 10:return o.next=13,ae(wt.f);case 13:return n=o.sent,r=n.payload,o.next=17,ue(e,r);case 17:o.next=10;break;case 19:case"end":return o.stop()}}),kt)}n(31),n(58),n(82),n(94),n(95),n(92),n(83);var jt=n(148);function Rt(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}
85
  /**
86
  * @package Gravity PDF
87
  * @copyright Copyright (c) 2021, Blue Liquid Designs
107
  * @copyright Copyright (c) 2021, Blue Liquid Designs
108
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
109
  * @since 5.2
110
+ */function on(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t=[yt(),gt(),bt(),Ft(),Ct(),Qt(),Yt(),Zt(),tn()],n=void 0,(n=ie("ALL",t)).combinator=!0,n;case 2:case"end":return e.stop()}var t,n}),rn)}n(38),n(39),n(57),n(55),n(32),n(42),n(100),n(71),n(29),n(25),n(40);function an(e){return function(e){if(Array.isArray(e))return un(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return un(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return un(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function un(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(n),!0).forEach((function(t){sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
111
  /**
112
  * Our Redux Template Reducer that take the objects returned from our Redux Template Actions
113
  * and updates the template portion of our store
243
  * @copyright Copyright (c) 2021, Blue Liquid Designs
244
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
245
  * @since 5.2
246
+ */var ei=n(121);n(19);function ti(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ni(){if(ClipboardJS.isSupported()){var e=new ClipboardJS(".btn-shortcode");e.on("success",(function(e){new t(e.trigger).buttonActive()})),e.on("error",(function(e){n(e.trigger),o()(e.trigger).trigger("click")}));var t=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=jQuery(t),this.defaultText=this.element.text()}var t,n,r;return t=e,(n=[{key:"buttonDefault",value:function(){this.element.removeClass("btn-success"),this.element.text(this.defaultText)}},{key:"buttonActive",value:function(){var e=this;this.element.addClass("btn-success"),this.element.text(this.element.data("selectedText")),setTimeout((function(){return e.buttonDefault()}),3e3)}}])&&ti(t.prototype,n),r&&ti(t,r),e}()}else n(".btn-shortcode");function n(e){o()(e).on("click",(function(){o()(this).toggleClass("toggle"),o()(this).hasClass("toggle")&&o()(this).next().find("input").focus()})),o()(this).next().find("input").on("click focus",(function(){o()(this).select()}))}}n(208);
247
  /**
248
  * JS Entry point for WebPack
249
  *
251
  * @copyright Copyright (c) 2021, Blue Liquid Designs
252
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
253
  * @since 4.1
254
+ */o()((function(){if(n.p=GFPDF.pluginUrl+"dist/",void 0!==GFPDF.templateList){window.Promise||(window.Promise=Promise);var e=o()("#gfpdf_settings\\[template\\], #gfpdf_settings\\[default_template\\]");e.length>0&&Xn(e)}var t,r,l;o()("#gfpdf-button-wrapper-install_core_fonts").length&&(t=document.getElementById("gfpdf-button-wrapper-install_core_fonts"),r=t.getElementsByTagName("button")[0],l=zn(),Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(Hn.a,{store:l},a.a.createElement(Jo,{button:r}))),t)),o()("#gpdf-search").length&&function(){var e=zn();Object(u.render)(a.a.createElement(i.Suspense,{fallback:a.a.createElement("div",null,GFPDF.spinnerAlt)},a.a.createElement(Hn.a,{store:e},a.a.createElement(Zo,null))),document.getElementById("gpdf-search"))}();var c=document.querySelector("#gfpdf-settings-field-wrapper-default_font select"),s=document.querySelector("#gfpdf-settings-field-wrapper-manage_fonts"),f=document.querySelector("#gfpdf-settings-field-wrapper-font select"),p=document.querySelector("#gfpdf_pdf_form"),d=document.querySelectorAll("fieldset.gform-settings-panel--full"),h=document.querySelector("form#gfpdf_list_form");null!==c&&Yo(c),null!==s&&Yo(s,"-prevent-button-reset"),null!==f&&Yo(f),p&&4===d.length&&Object(ei.a)(d,p),null!==h&&ni()}))}]);
dist/assets/js/{chunk-0.b10f4e82b22c1ae2f616.js → chunk-0.8edcd532c90076289c8a.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{171:function(e,t,n){var r=n(10),o=n(4),i=n(85),a=n(172),u=n(12).f,c=n(72).f,l=n(123),s=n(97),f=n(124),p=n(26),m=n(5),y=n(47).set,h=n(141),b=n(6)("match"),v=o.RegExp,d=v.prototype,g=/a/g,O=/a/g,w=new v(g)!==g,E=f.UNSUPPORTED_Y;if(r&&i("RegExp",!w||E||m((function(){return O[b]=!1,v(g)!=g||v(O)==O||"/a/i"!=v(g,"i")})))){for(var S=function(e,t){var n,r=this instanceof S,o=l(e),i=void 0===t;if(!r&&o&&e.constructor===S&&i)return e;w?o&&!i&&(e=e.source):e instanceof S&&(i&&(t=s.call(e)),e=e.source),E&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var u=a(w?new v(e,t):v(e,t),r?this:d,S);return E&&n&&y(u,{sticky:n}),u},j=function(e){e in S||u(S,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},P=c(v),x=0;P.length>x;)j(P[x++]);d.constructor=S,S.prototype=d,p(o,"RegExp",S)}h("RegExp")},172:function(e,t,n){var r=n(11),o=n(125);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},173:function(e,t,n){"use strict";var r=n(98),o=n(123),i=n(8),a=n(23),u=n(142),c=n(112),l=n(20),s=n(99),f=n(73),p=n(5),m=[].push,y=Math.min,h=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){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(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var u,c,l,s=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),y=0,h=new RegExp(e.source,p+"g");(u=f.call(h,r))&&!((c=h.lastIndex)>y&&(s.push(r.slice(y,u.index)),u.length>1&&u.index<r.length&&m.apply(s,u.slice(1)),l=u[0].length,y=c,s.length>=i));)h.lastIndex===u.index&&h.lastIndex++;return y===r.length?!l&&h.test("")||s.push(""):s.push(r.slice(y)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),p=String(this),m=u(f,RegExp),b=f.unicode,v=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(h?"y":"g"),d=new m(h?f:"^(?:"+f.source+")",v),g=void 0===o?4294967295:o>>>0;if(0===g)return[];if(0===p.length)return null===s(d,p)?[p]:[];for(var O=0,w=0,E=[];w<p.length;){d.lastIndex=h?w:0;var S,j=s(d,h?p:p.slice(w));if(null===j||(S=y(l(d.lastIndex+(h?0:w)),p.length))===O)w=c(p,w,b);else{if(E.push(p.slice(O,w)),E.length===g)return E;for(var P=1;P<=j.length-1;P++)if(E.push(j[P]),E.length===g)return E;w=O=S}}return E.push(p.slice(O)),E}]}),!h)},22:function(e,t,n){"use strict";var r=n(7),o=n(55).find,i=n(95),a=n(42),u=!0,c=a("find");"find"in[]&&Array(1).find((function(){u=!1})),r({target:"Array",proto:!0,forced:u||!c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},220:function(e,t,n){"use strict";n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(21),n(40);var r=n(2),o=n.n(r),i=n(0),a=n.n(i),u=n(1),c=n.n(u);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2
  /**
3
  * Renders a message or error, with the option to self-clear itself
4
  *
@@ -6,7 +6,7 @@
6
  * @copyright Copyright (c) 2021, Blue Liquid Designs
7
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
8
  * @since 4.1
9
- */var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(u,e);var t,n,r,i=m(u);function u(){var e;s(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=i.call.apply(i,[this].concat(n))),"state",{visible:!0}),v(h(e),"shouldSetTimer",(function(){e.props.dismissable&&e.setTimer()})),v(h(e),"setTimer",(function(){e._timer=null!==e._timer?clearTimeout(e._timer):null,e._timer=setTimeout((function(){o()(e._message).removeClass("inline").slideUp(400,(function(){o()(e._message).removeAttr("style"),e.setState({visible:!1}),e._timer=null,e.props.dismissableCallback&&e.props.dismissableCallback()}))}),e.props.delay)})),v(h(e),"resetState",(function(){e.setState({visible:!0}),e.shouldSetTimer()})),e}return t=u,(n=[{key:"componentDidMount",value:function(){this.shouldSetTimer()}},{key:"componentDidUpdate",value:function(e,t){t.visible||this.resetState()}},{key:"componentWillUnmount",value:function(){this.props.dismissable&&clearTimeout(this._timer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.text,r="notice inline";return t.error&&(r+=" error"),this.state.visible?a.a.createElement("div",{ref:function(t){return e._message=t},className:r},a.a.createElement("p",null,n)):a.a.createElement("div",null)}}])&&f(t.prototype,n),r&&f(t,r),u}(i.Component);v(d,"defaultProps",{delay:4e3,dismissable:!1}),v(d,"propTypes",{text:c.a.string.isRequired,error:c.a.bool,delay:c.a.number,dismissable:c.a.bool,dismissableCallback:c.a.func}),t.a=d},231:function(e,t,n){"use strict";n(31),n(38),n(39),n(32),n(80),n(18),n(81),n(29),n(21),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(167);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
10
  /**
11
  * Renders our Advanced Template Selector container which is shared amongst the components
12
  *
@@ -15,7 +15,7 @@
15
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
16
  * @since 4.1
17
  */
18
- var h,b,v,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(a,e);var t,n,r,i=f(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleFocus=t.handleFocus.bind(m(t)),t}return t=a,(n=[{key:"componentDidMount",value:function(){document.addEventListener("focus",this.handleFocus,!0),document.activeElement&&"wp-filter-search"!==document.activeElement.className&&this.container.focus()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("focus",this.handleFocus,!0)}},{key:"handleFocus",value:function(e){this.container.contains(e.target)||(e.stopPropagation(),this.container.focus())}},{key:"render",value:function(){var e=this,t=this.props.header,n=this.props.footer,r=this.props.children,i=this.props.closeRoute;return o.a.createElement("div",{ref:function(t){return e.container=t},tabIndex:"140"},o.a.createElement("div",{className:"backdrop theme-backdrop"}),o.a.createElement("div",{className:"container theme-wrap"},o.a.createElement("div",{className:"theme-header"},t,o.a.createElement(u.a,{closeRoute:i})),o.a.createElement("div",{id:"gfpdf-template-container",className:"theme-about wp-clearfix theme-browser rendered"},r),n))}}])&&l(t.prototype,n),r&&l(t,r),a}(r.Component);h=d,b="propTypes",v={header:a.a.oneOfType([a.a.string,a.a.element]),footer:a.a.oneOfType([a.a.string,a.a.element]),children:a.a.node.isRequired,closeRoute:a.a.string},b in h?Object.defineProperty(h,b,{value:v,enumerable:!0,configurable:!0,writable:!0}):h[b]=v,t.a=d},232:function(e,t,n){"use strict";var r=n(7),o=n(96).indexOf,i=n(140),a=n(42),u=[].indexOf,c=!!u&&1/[1].indexOf(1,-0)<0,l=i("indexOf"),s=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!l||!s},{indexOf:function(e){return c?u.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},233:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"f",(function(){return m}));n(71);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=function(e){var t=e.isCurrentTemplate,n=e.label;return t?o.a.createElement("span",{className:"current-label"},n):o.a.createElement("span",null)};u.propTypes={isCurrentTemplate:a.a.bool,label:a.a.string};var c=function(e){var t=e.name,n=e.version,r=e.versionLabel;return o.a.createElement("h2",{className:"theme-name"},t,o.a.createElement(l,{version:n,label:r}))};c.propTypes={name:a.a.string,version:a.a.string,versionLabel:a.a.string};var l=function(e){var t=e.label,n=e.version;return n?o.a.createElement("span",{className:"theme-version"},t,": ",n):o.a.createElement("span",null)};l.propTypes={label:a.a.string,version:a.a.string};var s=function(e){var t=e.author,n=e.uri;return n?o.a.createElement("p",{className:"theme-author"},o.a.createElement("a",{href:n},t)):o.a.createElement("p",{className:"theme-author"},t)};s.propTypes={author:a.a.string,uri:a.a.string};var f=function(e){var t=e.label,n=e.group;return o.a.createElement("p",{className:"theme-author"},o.a.createElement("strong",null,t,": ",n))};f.propTypes={label:a.a.string,group:a.a.string};var p=function(e){var t=e.desc;return o.a.createElement("p",{className:"theme-description"},t)};p.propTypes={desc:a.a.string};var m=function(e){var t=e.label,n=e.tags;return n?o.a.createElement("p",{className:"theme-tags"},o.a.createElement("span",null,t,":")," ",n):o.a.createElement("span",null)};m.propTypes={label:a.a.string,tags:a.a.string}},234:function(e,t,n){"use strict";n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(21),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(15),c=n(16),l=n(13);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
19
  /**
20
  * Renders the button used to trigger the current active PDF template
21
  * On click it triggers our Redux action.
@@ -24,7 +24,7 @@ var h,b,v,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw n
24
  * @copyright Copyright (c) 2021, Blue Liquid Designs
25
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
26
  * @since 4.1
27
- */var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(a,e);var t,n,r,i=y(a);function a(){var e;f(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(b(e=i.call.apply(i,[this].concat(n))),"handleSelectTemplate",(function(t){t.preventDefault(),t.stopPropagation(),e.props.history.push(""),e.props.onTemplateSelect(e.props.template.id)})),e}return t=a,(n=[{key:"render",value:function(){return o.a.createElement("a",{onClick:this.handleSelectTemplate,href:"#",tabIndex:"150",className:"button activate","aria-label":this.props.buttonText+" "+GFPDF.template},this.props.buttonText)}}])&&p(t.prototype,n),r&&p(t,r),a}(r.Component);d(g,"propTypes",{history:a.a.object,onTemplateSelect:a.a.func,template:a.a.object,buttonText:a.a.string});t.a=Object(c.f)(Object(u.b)(null,(function(e){return{onTemplateSelect:function(t){return e(Object(l.v)(t))}}}))(g))},247:function(e,t,n){"use strict";n(31),n(38),n(58),n(82),n(33),n(174),n(93),n(94),n(91),n(18),n(171),n(41),n(29),n(92),n(152),n(83);function r(e,t){return e===t}function o(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}var a=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=0,u=r.pop(),c=i(r),l=e.apply(void 0,[function(){return a++,u.apply(null,arguments)}].concat(n)),s=e((function(){for(var e=[],t=c.length,n=0;n<t;n++)e.push(c[n].apply(null,arguments));return l.apply(null,e)}));return s.resultFunc=u,s.dependencies=c,s.recomputations=function(){return a},s.resetRecomputations=function(){return a=0},s}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return o(t,n,arguments)||(i=e.apply(null,arguments)),n=arguments,i}}));n(173);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
28
  /**
29
  * Uses the Redux Reselect library to sort, filter and search our templates.
30
  * It also checks if the PDF templates are compatible with the current version of Gravity PDF
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{171:function(e,t,n){var r=n(10),o=n(4),i=n(85),a=n(172),u=n(12).f,c=n(72).f,l=n(123),s=n(97),f=n(124),p=n(26),m=n(5),y=n(47).set,h=n(141),b=n(6)("match"),v=o.RegExp,d=v.prototype,g=/a/g,O=/a/g,w=new v(g)!==g,E=f.UNSUPPORTED_Y;if(r&&i("RegExp",!w||E||m((function(){return O[b]=!1,v(g)!=g||v(O)==O||"/a/i"!=v(g,"i")})))){for(var S=function(e,t){var n,r=this instanceof S,o=l(e),i=void 0===t;if(!r&&o&&e.constructor===S&&i)return e;w?o&&!i&&(e=e.source):e instanceof S&&(i&&(t=s.call(e)),e=e.source),E&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var u=a(w?new v(e,t):v(e,t),r?this:d,S);return E&&n&&y(u,{sticky:n}),u},j=function(e){e in S||u(S,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},P=c(v),x=0;P.length>x;)j(P[x++]);d.constructor=S,S.prototype=d,p(o,"RegExp",S)}h("RegExp")},172:function(e,t,n){var r=n(11),o=n(125);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},173:function(e,t,n){"use strict";var r=n(98),o=n(123),i=n(8),a=n(22),u=n(142),c=n(112),l=n(21),s=n(99),f=n(73),p=n(5),m=[].push,y=Math.min,h=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){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(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var u,c,l,s=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),y=0,h=new RegExp(e.source,p+"g");(u=f.call(h,r))&&!((c=h.lastIndex)>y&&(s.push(r.slice(y,u.index)),u.length>1&&u.index<r.length&&m.apply(s,u.slice(1)),l=u[0].length,y=c,s.length>=i));)h.lastIndex===u.index&&h.lastIndex++;return y===r.length?!l&&h.test("")||s.push(""):s.push(r.slice(y)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),p=String(this),m=u(f,RegExp),b=f.unicode,v=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(h?"y":"g"),d=new m(h?f:"^(?:"+f.source+")",v),g=void 0===o?4294967295:o>>>0;if(0===g)return[];if(0===p.length)return null===s(d,p)?[p]:[];for(var O=0,w=0,E=[];w<p.length;){d.lastIndex=h?w:0;var S,j=s(d,h?p:p.slice(w));if(null===j||(S=y(l(d.lastIndex+(h?0:w)),p.length))===O)w=c(p,w,b);else{if(E.push(p.slice(O,w)),E.length===g)return E;for(var P=1;P<=j.length-1;P++)if(E.push(j[P]),E.length===g)return E;w=O=S}}return E.push(p.slice(O)),E}]}),!h)},220:function(e,t,n){"use strict";n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(2),o=n.n(r),i=n(0),a=n.n(i),u=n(1),c=n.n(u);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2
  /**
3
  * Renders a message or error, with the option to self-clear itself
4
  *
6
  * @copyright Copyright (c) 2021, Blue Liquid Designs
7
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
8
  * @since 4.1
9
+ */var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(u,e);var t,n,r,i=m(u);function u(){var e;s(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=i.call.apply(i,[this].concat(n))),"state",{visible:!0}),v(h(e),"shouldSetTimer",(function(){e.props.dismissable&&e.setTimer()})),v(h(e),"setTimer",(function(){e._timer=null!==e._timer?clearTimeout(e._timer):null,e._timer=setTimeout((function(){o()(e._message).removeClass("inline").slideUp(400,(function(){o()(e._message).removeAttr("style"),e.setState({visible:!1}),e._timer=null,e.props.dismissableCallback&&e.props.dismissableCallback()}))}),e.props.delay)})),v(h(e),"resetState",(function(){e.setState({visible:!0}),e.shouldSetTimer()})),e}return t=u,(n=[{key:"componentDidMount",value:function(){this.shouldSetTimer()}},{key:"componentDidUpdate",value:function(e,t){t.visible||this.resetState()}},{key:"componentWillUnmount",value:function(){this.props.dismissable&&clearTimeout(this._timer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.text,r="notice inline";return t.error&&(r+=" error"),this.state.visible?a.a.createElement("div",{ref:function(t){return e._message=t},className:r},a.a.createElement("p",null,n)):a.a.createElement("div",null)}}])&&f(t.prototype,n),r&&f(t,r),u}(i.Component);v(d,"defaultProps",{delay:4e3,dismissable:!1}),v(d,"propTypes",{text:c.a.string.isRequired,error:c.a.bool,delay:c.a.number,dismissable:c.a.bool,dismissableCallback:c.a.func}),t.a=d},231:function(e,t,n){"use strict";n(31),n(38),n(39),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(167);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
10
  /**
11
  * Renders our Advanced Template Selector container which is shared amongst the components
12
  *
15
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
16
  * @since 4.1
17
  */
18
+ var h,b,v,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(a,e);var t,n,r,i=f(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleFocus=t.handleFocus.bind(m(t)),t}return t=a,(n=[{key:"componentDidMount",value:function(){document.addEventListener("focus",this.handleFocus,!0),document.activeElement&&"wp-filter-search"!==document.activeElement.className&&this.container.focus()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("focus",this.handleFocus,!0)}},{key:"handleFocus",value:function(e){this.container.contains(e.target)||(e.stopPropagation(),this.container.focus())}},{key:"render",value:function(){var e=this,t=this.props.header,n=this.props.footer,r=this.props.children,i=this.props.closeRoute;return o.a.createElement("div",{ref:function(t){return e.container=t},tabIndex:"140"},o.a.createElement("div",{className:"backdrop theme-backdrop"}),o.a.createElement("div",{className:"container theme-wrap"},o.a.createElement("div",{className:"theme-header"},t,o.a.createElement(u.a,{closeRoute:i})),o.a.createElement("div",{id:"gfpdf-template-container",className:"theme-about wp-clearfix theme-browser rendered"},r),n))}}])&&l(t.prototype,n),r&&l(t,r),a}(r.Component);h=d,b="propTypes",v={header:a.a.oneOfType([a.a.string,a.a.element]),footer:a.a.oneOfType([a.a.string,a.a.element]),children:a.a.node.isRequired,closeRoute:a.a.string},b in h?Object.defineProperty(h,b,{value:v,enumerable:!0,configurable:!0,writable:!0}):h[b]=v,t.a=d},232:function(e,t,n){"use strict";var r=n(7),o=n(96).indexOf,i=n(140),a=n(33),u=[].indexOf,c=!!u&&1/[1].indexOf(1,-0)<0,l=i("indexOf"),s=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!l||!s},{indexOf:function(e){return c?u.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},233:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"f",(function(){return m}));n(71);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=function(e){var t=e.isCurrentTemplate,n=e.label;return t?o.a.createElement("span",{className:"current-label"},n):o.a.createElement("span",null)};u.propTypes={isCurrentTemplate:a.a.bool,label:a.a.string};var c=function(e){var t=e.name,n=e.version,r=e.versionLabel;return o.a.createElement("h2",{className:"theme-name"},t,o.a.createElement(l,{version:n,label:r}))};c.propTypes={name:a.a.string,version:a.a.string,versionLabel:a.a.string};var l=function(e){var t=e.label,n=e.version;return n?o.a.createElement("span",{className:"theme-version"},t,": ",n):o.a.createElement("span",null)};l.propTypes={label:a.a.string,version:a.a.string};var s=function(e){var t=e.author,n=e.uri;return n?o.a.createElement("p",{className:"theme-author"},o.a.createElement("a",{href:n},t)):o.a.createElement("p",{className:"theme-author"},t)};s.propTypes={author:a.a.string,uri:a.a.string};var f=function(e){var t=e.label,n=e.group;return o.a.createElement("p",{className:"theme-author"},o.a.createElement("strong",null,t,": ",n))};f.propTypes={label:a.a.string,group:a.a.string};var p=function(e){var t=e.desc;return o.a.createElement("p",{className:"theme-description"},t)};p.propTypes={desc:a.a.string};var m=function(e){var t=e.label,n=e.tags;return n?o.a.createElement("p",{className:"theme-tags"},o.a.createElement("span",null,t,":")," ",n):o.a.createElement("span",null)};m.propTypes={label:a.a.string,tags:a.a.string}},234:function(e,t,n){"use strict";n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u=n(15),c=n(16),l=n(13);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
19
  /**
20
  * Renders the button used to trigger the current active PDF template
21
  * On click it triggers our Redux action.
24
  * @copyright Copyright (c) 2021, Blue Liquid Designs
25
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
26
  * @since 4.1
27
+ */var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(a,e);var t,n,r,i=y(a);function a(){var e;f(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(b(e=i.call.apply(i,[this].concat(n))),"handleSelectTemplate",(function(t){t.preventDefault(),t.stopPropagation(),e.props.history.push(""),e.props.onTemplateSelect(e.props.template.id)})),e}return t=a,(n=[{key:"render",value:function(){return o.a.createElement("a",{onClick:this.handleSelectTemplate,href:"#",tabIndex:"150",className:"button activate","aria-label":this.props.buttonText+" "+GFPDF.template},this.props.buttonText)}}])&&p(t.prototype,n),r&&p(t,r),a}(r.Component);d(g,"propTypes",{history:a.a.object,onTemplateSelect:a.a.func,template:a.a.object,buttonText:a.a.string});t.a=Object(c.f)(Object(u.b)(null,(function(e){return{onTemplateSelect:function(t){return e(Object(l.v)(t))}}}))(g))},247:function(e,t,n){"use strict";n(31),n(38),n(58),n(82),n(42),n(174),n(94),n(95),n(92),n(18),n(171),n(41),n(29),n(93),n(152),n(83);function r(e,t){return e===t}function o(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}var a=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=0,u=r.pop(),c=i(r),l=e.apply(void 0,[function(){return a++,u.apply(null,arguments)}].concat(n)),s=e((function(){for(var e=[],t=c.length,n=0;n<t;n++)e.push(c[n].apply(null,arguments));return l.apply(null,e)}));return s.resultFunc=u,s.dependencies=c,s.recomputations=function(){return a},s.resetRecomputations=function(){return a=0},s}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return o(t,n,arguments)||(i=e.apply(null,arguments)),n=arguments,i}}));n(173);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
28
  /**
29
  * Uses the Redux Reselect library to sort, filter and search our templates.
30
  * It also checks if the PDF templates are compatible with the current version of Gravity PDF
dist/assets/js/{chunk-10.37420e890af7835a054d.js → chunk-10.35956ed01838b210014b.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{268:function(t,e,n){"use strict";n.r(e);n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(21),n(40);var r=n(0),o=n.n(r),u=n(1),c=n.n(u);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?y(t):e}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}
2
  /**
3
  * Render the button used to option our Fancy PDF template selector
4
  *
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{268:function(t,e,n){"use strict";n.r(e);n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(0),o=n.n(r),u=n(1),c=n.n(u);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?y(t):e}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}
2
  /**
3
  * Render the button used to option our Fancy PDF template selector
4
  *
dist/assets/js/{chunk-4.edfe66cefec156a603e6.js → chunk-4.3958577e9ba487662fcf.js} RENAMED
@@ -3,6 +3,6 @@
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var s=i.apply(null,r);s&&e.push(s)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},216:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},217:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return l}));var r=n(212),i=n(213),a=n(214);function s(e){return o(e)?e.multiIndexContext.targetedIndex:e.ais.mainTargetedIndex}function c(e,t){if(e.results){if(e.results.hits)return e.results;var n=s(t);if(e.results[n])return e.results[n]}return null}function o(e){return e&&e.multiIndexContext}function u(e,t,n,a,c){if(o(n)){var f=s(n);return c?function(e,t,n,a,s){var c,o=a?{page:1}:void 0,u=e.indices&&e.indices[n]?Object(i.a)({},e.indices,Object(r.a)({},n,Object(i.a)({},e.indices[n],(c={},Object(r.a)(c,s,Object(i.a)({},e.indices[n][s],t)),Object(r.a)(c,"page",1),c)))):Object(i.a)({},e.indices,Object(r.a)({},n,Object(i.a)(Object(r.a)({},s,t),o)));return Object(i.a)({},e,{indices:u})}(e,t,f,a,c):function(e,t,n,a){var s=a?{page:1}:void 0,c=e.indices&&e.indices[n]?Object(i.a)({},e.indices,Object(r.a)({},n,Object(i.a)({},e.indices[n],t,s))):Object(i.a)({},e.indices,Object(r.a)({},n,Object(i.a)({},t,s)));return Object(i.a)({},e,{indices:c})}(e,t,f,a)}return e.indices&&a&&Object.keys(e.indices).forEach((function(t){e=u(e,{page:1},{multiIndexContext:{targetedIndex:t}},!0,c)})),c?function(e,t,n,a){var s=n?{page:1}:void 0;return Object(i.a)({},e,Object(r.a)({},a,Object(i.a)({},e[a],t)),s)}(e,t,a,c):function(e,t,n){var r=n?{page:1}:void 0;return Object(i.a)({},e,t,r)}(e,t,a)}function f(e){var t=e.match(/^([^.]*)\.(.*)/);return{namespace:t&&t[1],attributeName:t&&t[2]}}function h(e,t,n,r,i){var a=s(n),c=f(r),u=c.namespace,h=c.attributeName,l={multiIndex:o(n),indexId:a,namespace:u,attributeName:h,id:r,searchState:t};return function(e){var t=e.multiIndex,n=e.indexId,r=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&r?s.indices&&s.indices[n]&&s.indices[n][r]&&Object.hasOwnProperty.call(s.indices[n][r],i):t?s.indices&&s.indices[n]&&Object.hasOwnProperty.call(s.indices[n],a):r?s[r]&&Object.hasOwnProperty.call(s[r],i):Object.hasOwnProperty.call(s,a)}(l)?function(e){var t=e.multiIndex,n=e.indexId,r=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&r?s.indices[n][r][i]:t?s.indices[n][a]:r?s[r][i]:s[a]}(l):e.defaultRefinement?e.defaultRefinement:i}function l(e,t,n){var c=s(t),u=f(n),h=u.namespace,l=u.attributeName;return o(t)&&Boolean(e.indices)?function(e){var t=e.searchState,n=e.indexId,s=e.id,c=e.namespace,o=e.attribute,u=t.indices[n];if(c&&u)return Object(i.a)({},t,{indices:Object(i.a)({},t.indices,Object(r.a)({},n,Object(i.a)({},u,Object(r.a)({},c,Object(a.f)(u[c],[o])))))});if(u)return Object(i.a)({},t,{indices:Object(i.a)({},t.indices,Object(r.a)({},n,Object(a.f)(u,[s])))});return t}({attribute:l,searchState:e,indexId:c,id:n,namespace:h}):function(e){var t=e.searchState,n=e.id,s=e.namespace,c=e.attribute;if(s)return Object(i.a)({},t,Object(r.a)({},s,Object(a.f)(t[s],[c])));return Object(a.f)(t,[n])}({attribute:l,searchState:e,id:n,namespace:h})}},218:function(e,t,n){"use strict";function r(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){if(e===t)return e;for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var a=t[n],s=e[n];void 0!==s&&void 0===a||(r(s)&&r(a)?e[n]=i(s,a):e[n]="object"==typeof(c=a)&&null!==c?i(Array.isArray(c)?[]:{},c):c)}var c;return e}e.exports=function(e){r(e)||(e={});for(var t=1,n=arguments.length;t<n;t++){var a=arguments[t];r(a)&&i(e,a)}return e}},219:function(e,t,n){"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}},221:function(e,t,n){"use strict";var r=n(235),i=n(229),a=n(213),s=n(222),c=n(223),o=n(224),u=n(225),f=n(216),h=n(230),l=n(212),d=n(0),p=n.n(d),m=n(237),g=n.n(m),v=n(214),y=n(238);t.a=function(e){return function(t){var n=function(e){if(!e.displayName)throw new Error("`createConnector` requires you to provide a `displayName` property.");var t="function"==typeof e.getSearchParameters||"function"==typeof e.getMetadata||"function"==typeof e.transitionState;return function(n){var m=function(d){function m(t){var n;return Object(s.a)(this,m),n=Object(o.a)(this,Object(u.a)(m).call(this,t)),Object(l.a)(Object(f.a)(n),"unsubscribe",void 0),Object(l.a)(Object(f.a)(n),"unregisterWidget",void 0),Object(l.a)(Object(f.a)(n),"isUnmounting",!1),Object(l.a)(Object(f.a)(n),"state",{providedProps:n.getProvidedProps(n.props)}),Object(l.a)(Object(f.a)(n),"refine",(function(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n.props.contextValue.onInternalStateUpdate((t=e.refine).call.apply(t,[Object(f.a)(n),n.props,n.props.contextValue.store.getState().widgets].concat(i)))})),Object(l.a)(Object(f.a)(n),"createURL",(function(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n.props.contextValue.createHrefForState((t=e.refine).call.apply(t,[Object(f.a)(n),n.props,n.props.contextValue.store.getState().widgets].concat(i)))})),Object(l.a)(Object(f.a)(n),"searchForFacetValues",(function(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n.props.contextValue.onSearchForFacetValues((t=e.searchForFacetValues).call.apply(t,[Object(f.a)(n),n.props,n.props.contextValue.store.getState().widgets].concat(i)))})),e.getSearchParameters&&n.props.contextValue.onSearchParameters(e.getSearchParameters.bind(Object(f.a)(n)),{ais:n.props.contextValue,multiIndexContext:n.props.indexContextValue},n.props,e.getMetadata&&e.getMetadata.bind(Object(f.a)(n))),n}return Object(h.a)(m,d),Object(c.a)(m,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribe=this.props.contextValue.store.subscribe((function(){e.isUnmounting||e.setState({providedProps:e.getProvidedProps(e.props)})})),t&&(this.unregisterWidget=this.props.contextValue.widgetsManager.registerWidget(this))}},{key:"shouldComponentUpdate",value:function(t,n){if("function"==typeof e.shouldComponentUpdate)return e.shouldComponentUpdate.call(this,this.props,t,this.state,n);var r=Object(v.h)(this.props,t);return null===this.state.providedProps||null===n.providedProps?this.state.providedProps!==n.providedProps||!r:!r||!Object(v.h)(this.state.providedProps,n.providedProps)}},{key:"componentDidUpdate",value:function(n){g()(n,this.props)||(this.setState({providedProps:this.getProvidedProps(this.props)}),t&&(this.props.contextValue.widgetsManager.update(),"function"==typeof e.transitionState&&this.props.contextValue.onSearchStateChange(e.transitionState.call(this,this.props,this.props.contextValue.store.getState().widgets,this.props.contextValue.store.getState().widgets))))}},{key:"componentWillUnmount",value:function(){if(this.isUnmounting=!0,this.unsubscribe&&this.unsubscribe(),this.unregisterWidget&&(this.unregisterWidget(),"function"==typeof e.cleanUp)){var t=e.cleanUp.call(this,this.props,this.props.contextValue.store.getState().widgets);this.props.contextValue.store.setState(Object(a.a)({},this.props.contextValue.store.getState(),{widgets:t})),this.props.contextValue.onSearchStateChange(Object(v.g)(t))}}},{key:"getProvidedProps",value:function(t){var n=this.props.contextValue.store.getState(),r=n.widgets,i=n.results,a=n.resultsFacetValues,s=n.searching,c=n.searchingForFacetValues,o=n.isSearchStalled,u=n.metadata,f={results:i,searching:s,searchingForFacetValues:c,isSearchStalled:o,error:n.error};return e.getProvidedProps.call(this,t,r,f,u,a)}},{key:"getSearchParameters",value:function(t){return"function"==typeof e.getSearchParameters?e.getSearchParameters.call(this,t,this.props,this.props.contextValue.store.getState().widgets):null}},{key:"getMetadata",value:function(t){return"function"==typeof e.getMetadata?e.getMetadata.call(this,this.props,t):{}}},{key:"transitionState",value:function(t,n){return"function"==typeof e.transitionState?e.transitionState.call(this,this.props,t,n):n}},{key:"render",value:function(){var t=this.props,a=(t.contextValue,Object(i.a)(t,["contextValue"])),s=this.state.providedProps;if(null===s)return null;var c="function"==typeof e.refine?{refine:this.refine,createURL:this.createURL}:{},o="function"==typeof e.searchForFacetValues?{searchForItems:this.searchForFacetValues}:{};return p.a.createElement(n,Object(r.a)({},a,s,c,o))}}]),m}(d.Component);return Object(l.a)(m,"displayName","".concat(e.displayName,"(").concat(Object(v.d)(n),")")),Object(l.a)(m,"propTypes",e.propTypes),Object(l.a)(m,"defaultProps",e.defaultProps),m}}(e)(t);return function(e){return p.a.createElement(y.b,null,(function(t){return p.a.createElement(y.a,null,(function(i){return p.a.createElement(n,Object(r.a)({contextValue:t,indexContextValue:i},e))}))}))}}}},222:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},223:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return i}))},224:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(236),i=n(216);function a(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(i.a)(e):t}},225:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},226:function(e,t,n){"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight((function(e,t){return Object.keys(Object(t)).forEach((function(n){void 0!==t[n]&&(void 0!==e[n]&&delete e[n],e[n]=t[n])})),e}),{})}},227:function(e,t,n){"use strict";e.exports=function(e,t){if(null===e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},228:function(e,t,n){"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},229:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,"a",(function(){return r}))},230:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return i}))},235: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}))},236:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},237:function(e,t){var n="undefined"!=typeof Element,r="function"==typeof Map,i="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,s){if(t===s)return!0;if(t&&s&&"object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;var c,o,u,f;if(Array.isArray(t)){if((c=t.length)!=s.length)return!1;for(o=c;0!=o--;)if(!e(t[o],s[o]))return!1;return!0}if(r&&t instanceof Map&&s instanceof Map){if(t.size!==s.size)return!1;for(f=t.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;for(f=t.entries();!(o=f.next()).done;)if(!e(o.value[1],s.get(o.value[0])))return!1;return!0}if(i&&t instanceof Set&&s instanceof Set){if(t.size!==s.size)return!1;for(f=t.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(s)){if((c=t.length)!=s.length)return!1;for(o=c;0!=o--;)if(t[o]!==s[o])return!1;return!0}if(t.constructor===RegExp)return t.source===s.source&&t.flags===s.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===s.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===s.toString();if((c=(u=Object.keys(t)).length)!==Object.keys(s).length)return!1;for(o=c;0!=o--;)if(!Object.prototype.hasOwnProperty.call(s,u[o]))return!1;if(n&&t instanceof Element)return!1;for(o=c;0!=o--;)if(("_owner"!==u[o]&&"__v"!==u[o]&&"__o"!==u[o]||!t.$$typeof)&&!e(t[u[o]],s[u[o]]))return!1;return!0}return t!=t&&s!=s}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},238:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return o}));var r=n(0),i=Object(r.createContext)({onInternalStateUpdate:function(){},createHrefForState:function(){return"#"},onSearchForFacetValues:function(){},onSearchStateChange:function(){},onSearchParameters:function(){},store:{},widgetsManager:{},mainTargetedIndex:""}),a=i.Consumer,s=i.Provider,c=Object(r.createContext)(void 0),o=c.Consumer;c.Provider},239:function(e,t,n){"use strict";var r=n(218),i=n(226),a=n(257),s=n(219),c=n(258),o=n(227),u=n(228),f=n(259),h=n(260);function l(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,n){return l(t[n],e)})):e===t}function d(e){var t=e?d._parseNumbers(e):{};void 0===t.userToken||f(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var n=this;Object.keys(t).forEach((function(e){var r=-1!==d.PARAMETERS.indexOf(e),i=void 0!==t[e];!r&&i&&(n[e]=t[e])}))}d.PARAMETERS=Object.keys(new d),d._parseNumbers=function(e){if(e instanceof d)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(n){var r=e[n];if("string"==typeof r){var i=parseFloat(r);t[n]=isNaN(i)?r:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return Array.isArray(e)?e.map((function(e){return parseFloat(e)})):e}))),e.numericRefinements){var n={};Object.keys(e.numericRefinements).forEach((function(t){var r=e.numericRefinements[t]||{};n[t]={},Object.keys(r).forEach((function(e){var i=r[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));n[t][e]=i}))})),t.numericRefinements=n}return r({},e,t)},d.make=function(e){var t=new d(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var n=t.getHierarchicalRefinement(e.name);n.length>0&&0!==n[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(n=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},d.validate=function(e,t){var n=t||{};return e.tagFilters&&n.tagRefinements&&n.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&n.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&n.numericRefinements&&u(n.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):u(e.numericRefinements)&&n.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},d.prototype={constructor:d,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:h.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:h.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:h.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:h.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,n){var i=c(n);if(this.isNumericRefined(e,t,i))return this;var a=r({},this.numericRefinements);return a[e]=r({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(i)):a[e][t]=[i],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,n){return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,i){return i===e&&r.op===t&&l(r.val,c(n))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(n,r){return r===e&&n.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,n){return n===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return u(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return o(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,n=this.numericRefinements,r=Object.keys(n).reduce((function(r,i){var a=n[i],s={};return a=a||{},Object.keys(a).forEach((function(n){var r=a[n]||[],c=[];r.forEach((function(t){e({val:t,op:n},i,"numeric")||c.push(t)})),c.length!==r.length&&(t=!0),s[n]=c})),r[i]=s,r}),{});return t?r:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:h.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:h.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:h.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:h.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:h.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:h.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:h.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:h.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:h.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),r={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+n))?-1===t.indexOf(n)?r[e]=[]:r[e]=[t.slice(0,t.lastIndexOf(n))]:r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},r,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var n={};return n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},n,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:i({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&h.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var n=this.getHierarchicalRefinement(e);return t?-1!==n.indexOf(t):n.length>0},isNumericRefined:function(e,t,n){if(void 0===n&&void 0===t)return!!this.numericRefinements[e];var r=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===n||!r)return r;var i,a,o=c(n),u=void 0!==(i=this.numericRefinements[e][t],a=o,s(i,(function(e){return l(e,a)})));return r&&u},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets())},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0})))},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},n=this;return Object.keys(this).forEach((function(r){var i=n[r];-1===e.indexOf(r)&&void 0!==i&&(t[r]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var n={};return n[e]=t,this.setQueryParameters(n)},setQueryParameters:function(e){if(!e)return this;var t=d.validate(this,e);if(t)throw t;var n=this,r=d._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=n[t],e}),{}),a=Object.keys(r).reduce((function(e,t){var n=void 0!==e[t],i=void 0!==r[t];return n&&!i?o(e,[t]):(i&&(e[t]=r[t]),e)}),i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return s(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=d},240:function(e,t,n){"use strict";var r=n(218),i=n(226),a=n(241),s=n(261),c=n(219),o=n(262),u=n(242),f=n(263);function h(e){var t={};return e.forEach((function(e,n){t[e]=n})),t}function l(e,t,n){t&&t[n]&&(e.stats=t[n])}function d(e,t){var n=t[0];this._rawResults=t;var a=this;Object.keys(n).forEach((function(e){a[e]=n[e]})),this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var u=e.getRefinedDisjunctiveFacets(),d=h(e.facets),p=h(e.disjunctiveFacets),m=1,g=n.facets||{};Object.keys(g).forEach((function(t){var r,i,s=g[t],u=(r=e.hierarchicalFacets,i=t,c(r,(function(e){return(e.attributes||[]).indexOf(i)>-1})));if(u){var f=u.attributes.indexOf(t),h=o(e.hierarchicalFacets,(function(e){return e.name===u.name}));a.hierarchicalFacets[h][f]={attribute:t,data:s,exhaustive:n.exhaustiveFacetsCount}}else{var m,v=-1!==e.disjunctiveFacets.indexOf(t),y=-1!==e.facets.indexOf(t);v&&(m=p[t],a.disjunctiveFacets[m]={name:t,data:s,exhaustive:n.exhaustiveFacetsCount},l(a.disjunctiveFacets[m],n.facets_stats,t)),y&&(m=d[t],a.facets[m]={name:t,data:s,exhaustive:n.exhaustiveFacetsCount},l(a.facets[m],n.facets_stats,t))}})),this.hierarchicalFacets=s(this.hierarchicalFacets),u.forEach((function(s){var c=t[m],u=c&&c.facets?c.facets:{},f=e.getHierarchicalFacetByName(s);Object.keys(u).forEach((function(t){var s,h=u[t];if(f){s=o(e.hierarchicalFacets,(function(e){return e.name===f.name}));var d=o(a.hierarchicalFacets[s],(function(e){return e.attribute===t}));if(-1===d)return;a.hierarchicalFacets[s][d].data=r({},a.hierarchicalFacets[s][d].data,h)}else{s=p[t];var m=n.facets&&n.facets[t]||{};a.disjunctiveFacets[s]={name:t,data:i({},h,m),exhaustive:c.exhaustiveFacetsCount},l(a.disjunctiveFacets[s],c.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!a.disjunctiveFacets[s].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(n)>-1&&(a.disjunctiveFacets[s].data[n]=0)}))}})),m++})),e.getRefinedHierarchicalFacets().forEach((function(n){var r=e.getHierarchicalFacetByName(n),s=e._getHierarchicalFacetSeparator(r),c=e.getHierarchicalRefinement(n);if(!(0===c.length||c[0].split(s).length<2)){var u=t[m],f=u&&u.facets?u.facets:{};Object.keys(f).forEach((function(t){var n=f[t],u=o(e.hierarchicalFacets,(function(e){return e.name===r.name})),h=o(a.hierarchicalFacets[u],(function(e){return e.attribute===t}));if(-1!==h){var l={};if(c.length>0){var d=c[0].split(s)[0];l[d]=a.hierarchicalFacets[u][h].data[d]}a.hierarchicalFacets[u][h].data=i(l,n,a.hierarchicalFacets[u][h].data)}})),m++}})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],i=d[t];a.facets[i]={name:t,data:n.facets[t],exhaustive:n.exhaustiveFacetsCount},r.forEach((function(e){a.facets[i]=a.facets[i]||{name:t},a.facets[i].data=a.facets[i].data||{},a.facets[i].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(f(e)),this.facets=s(this.facets),this.disjunctiveFacets=s(this.disjunctiveFacets),this._state=e}function p(e,t){if(!t.data||0===t.data.length)return t;var n=t.data.map((function(t){return p(e,t)})),i=e(n);return r({},t,{data:i})}function m(e,t){var n=c(e,(function(e){return e.name===t}));return n&&n.stats}function g(e,t,n,r,i){var a=c(i,(function(e){return e.name===n})),s=a&&a.data&&a.data[r]?a.data[r]:0,o=a&&a.exhaustive||!1;return{type:t,attributeName:n,name:r,count:s,exhaustive:o}}d.prototype.getFacetByName=function(e){function t(t){return t.name===e}return c(this.facets,t)||c(this.disjunctiveFacets,t)||c(this.hierarchicalFacets,t)},d.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],d.prototype.getFacetValues=function(e,t){var n=function(e,t){function n(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var r=c(e.facets,n);return r?Object.keys(r.data).map((function(n){return{name:n,count:r.data[n],isRefined:e._state.isFacetRefined(t,n),isExcluded:e._state.isExcludeRefined(t,n)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=c(e.disjunctiveFacets,n);return i?Object.keys(i.data).map((function(n){return{name:n,count:i.data[n],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t))return c(e.hierarchicalFacets,n)}(this,e);if(n){var r=i({},t,{sortBy:d.DEFAULT_SORT});if(Array.isArray(r.sortBy)){var s=u(r.sortBy,d.DEFAULT_SORT);return Array.isArray(n)?a(n,s[0],s[1]):p((function(e){return a(e,s[0],s[1])}),n)}if("function"==typeof r.sortBy)return Array.isArray(n)?n.sort(r.sortBy):p((function(e){return function(e,t){return t.sort(e)}(r.sortBy,e)}),n);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}},d.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?m(this.facets,e):this._state.isDisjunctiveFacet(e)?m(this.disjunctiveFacets,e):void 0},d.prototype.getRefinements=function(){var e=this._state,t=this,n=[];return Object.keys(e.facetsRefinements).forEach((function(r){e.facetsRefinements[r].forEach((function(i){n.push(g(e,"facet",r,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(r){e.facetsExcludes[r].forEach((function(i){n.push(g(e,"exclude",r,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(r){e.disjunctiveFacetsRefinements[r].forEach((function(i){n.push(g(e,"disjunctive",r,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(r){e.hierarchicalFacetsRefinements[r].forEach((function(i){n.push(function(e,t,n,r){var i=e.getHierarchicalFacetByName(t),a=e._getHierarchicalFacetSeparator(i),s=n.split(a),o=c(r,(function(e){return e.name===t})),u=s.reduce((function(e,t){var n=e&&c(e.data,(function(e){return e.name===t}));return void 0!==n?n:e}),o),f=u&&u.count||0,h=u&&u.exhaustive||!1,l=u&&u.path||"";return{type:"hierarchical",attributeName:t,name:l,count:f,exhaustive:h}}(e,r,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var r=e.numericRefinements[t];Object.keys(r).forEach((function(e){r[e].forEach((function(r){n.push({type:"numeric",attributeName:t,name:r,numericValue:r,operator:e})}))}))})),e.tagRefinements.forEach((function(e){n.push({type:"tag",attributeName:"_tags",name:e})})),n},e.exports=d},241:function(e,t,n){"use strict";function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||r&&i||!n)return 1;if(!r&&e<t||a&&n||!i)return-1}return 0}e.exports=function(e,t,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var i=e.map((function(e,n){return{criteria:t.map((function(t){return e[t]})),index:n,value:e}}));return i.sort((function(e,t){for(var i=-1;++i<e.criteria.length;){var a=r(e.criteria[i],t.criteria[i]);if(a)return i>=n.length?a:"desc"===n[i]?-a:a}return e.index-t.index})),i.map((function(e){return e.value}))}},242:function(e,t,n){"use strict";var r=n(219);e.exports=function(e,t){var n=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),a=r(n,(function(e){return e[0]===i[0]}));return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(a[0]),e[1].push(a[1]),e)}),[[],[]])}},243:function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==a&&e.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==t&&(a=function(n){e.removeListener(t,i),r(n)},e.once("error",a)),e.once(t,i)}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var o=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function h(e,t,n,r){var i,a,s,c;if(u(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=f(e))>0&&s.length>i&&!s.warned){s.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=s.length,c=o,console&&console.warn&&console.warn(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):g(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");o=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return f(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var o=i[e];if(void 0===o)return!1;if("function"==typeof o)a(o,this,t);else{var u=o.length,f=g(o,u);for(n=0;n<u;++n)a(f[n],this,t)}return!0},c.prototype.addListener=function(e,t){return h(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return h(this,e,t,!0)},c.prototype.once=function(e,t){return u(t),this.on(e,d(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,d(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,a,s;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){s=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(i=a[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return p(this,e,!0)},c.prototype.rawListeners=function(e){return p(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},244:function(e,t,n){"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},245:function(e,t,n){"use strict";e.exports="3.4.4"},246:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},252:function(e,t,n){"use strict";var r=n(7),i=n(253).left,a=n(140),s=n(42),c=a("reduce"),o=s("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!o},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},253:function(e,t,n){var r=n(43),i=n(24),a=n(59),s=n(20),c=function(e){return function(t,n,c,o){r(n);var u=i(t),f=a(u),h=s(u.length),l=e?h-1:0,d=e?-1:1;if(c<2)for(;;){if(l in f){o=f[l],l+=d;break}if(l+=d,e?l<0:h<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:h>l;l+=d)l in f&&(o=n(o,f[l],l,u));return o}};e.exports={left:c(!1),right:c(!0)}},254:function(e,t,n){
7
  /*! algoliasearch-lite.umd.js | 4.8.6 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
8
  e.exports=function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(n){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?t(Object(i),!0).forEach((function(t){e(n,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))}))}return n}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var s,c=e[Symbol.iterator]();!(r=(s=c.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(e){var t,n="algoliasearch-client-js-".concat(e.key),i=function(){return void 0===t&&(t=e.localStorage||window.localStorage),t},a=function(){return JSON.parse(i().getItem(n)||"{}")};return{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var n=JSON.stringify(e),r=a()[n];return Promise.all([r||t(),void 0!==r])})).then((function(e){var t=r(e,2),i=t[0],a=t[1];return Promise.all([i,a||n.miss(i)])})).then((function(e){return r(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var r=a();return r[JSON.stringify(e)]=t,i().setItem(n,JSON.stringify(r)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=a();delete t[JSON.stringify(e)],i().setItem(n,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){i().removeItem(n)}))}}}function s(e){var t=i(e.caches),n=t.shift();return void 0===n?{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},i=t();return i.then((function(e){return Promise.all([e,n.miss(e)])})).then((function(e){return r(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(e,r,i).catch((function(){return s({caches:t}).get(e,r,i)}))},set:function(e,r){return n.set(e,r).catch((function(){return s({caches:t}).set(e,r)}))},delete:function(e){return n.delete(e).catch((function(){return s({caches:t}).delete(e)}))},clear:function(){return n.clear().catch((function(){return s({caches:t}).clear()}))}}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var s=r(),c=i&&i.miss||function(){return Promise.resolve()};return s.then((function(e){return c(e)})).then((function(){return s}))},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function o(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function u(e,t){return t?(Object.keys(t).forEach((function(n){e[n]=t[n](e)})),e):e}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0;return e.replace(/%s/g,(function(){return encodeURIComponent(n[i++])}))}var h=0,l=1;function d(e,t){var n=e||{},r=n.data||{};return Object.keys(n).forEach((function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(r[e]=n[e])})),{data:Object.entries(r).length>0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var p={Read:1,Write:2,Any:3};function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return n(n({},e),{},{status:t,lastUpdate:Date.now()})}function g(e){return"string"==typeof e?{protocol:"https",url:e,accept:p.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||p.Any}}var v="POST";function y(e,t,r,a){var s=[],c=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data)){var r=Array.isArray(e.data)?e.data:n(n({},e.data),t.data);return JSON.stringify(r)}}(r,a),o=function(e,t){var r=n(n({},e.headers),t.headers),i={};return Object.keys(r).forEach((function(e){var t=r[e];i[e.toLowerCase()]=t})),i}(e,a),u=r.method,f="GET"!==r.method?{}:n(n({},r.data),a.data),h=n(n(n({"x-algolia-agent":e.userAgent.value},e.queryParameters),f),a.queryParameters),l=0,d=function t(n,i){var f=n.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:R(s)};var d={data:c,headers:o,method:u,url:j(f,r.path,h),connectTimeout:i(l,e.timeouts.connect),responseTimeout:i(l,a.timeout)},p=function(e){var t={request:d,response:e,host:f,triesLeft:n.length};return s.push(t),t},g={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(r){var a=p(r);return r.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",F(a)),e.hostsCache.set(f,m(f,r.isTimedOut?3:2))]).then((function(){return t(n,i)}))},onFail:function(e){throw p(e),function(e,t){var n=e.content,r=e.status,i=n;try{i=JSON.parse(n).message}catch(e){}return function(e,t,n){return{name:"ApiError",message:e,status:t,transporterStackTrace:n}}(i,r,t)}(e,R(s))}};return e.requester.send(d).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,n=e.status;return!t&&0==~~n}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,g)}))};return function(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(m(t))}))}))).then((function(e){var n=e.filter((function(e){return function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}(e)})),r=e.filter((function(e){return function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}(e)})),a=[].concat(i(n),i(r));return{getTimeout:function(e,t){return(0===r.length&&0===e?1:r.length+3+e)*t},statelessHosts:a.length>0?a.map((function(e){return g(e)})):t}}))}(e.hostsCache,t).then((function(e){return d(i(e.statelessHosts).reverse(),e.getTimeout)}))}function b(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var n="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(n)&&(t.value="".concat(t.value).concat(n)),t}};return t}function j(e,t,n){var r=O(n),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return r.length&&(i+="?".concat(r)),i}function O(e){return Object.keys(e).map((function(t){return f("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]));var n})).join("&")}function R(e){return e.map((function(e){return F(e)}))}function F(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return n(n({},e),{},{request:n(n({},e.request),{},{headers:n(n({},e.request.headers),t)})})}var x=function(e){var t=e.appId,i=function(e,t,n){var r={"x-algolia-api-key":n,"x-algolia-application-id":t};return{headers:function(){return e===l?r:{}},queryParameters:function(){return e===h?r:{}}}}(void 0!==e.authMode?e.authMode:l,t,e.apiKey),a=function(e){var t=e.hostsCache,n=e.logger,i=e.requester,a=e.requestsCache,s=e.responsesCache,c=e.timeouts,o=e.userAgent,u=e.hosts,f=e.queryParameters,h={hostsCache:t,logger:n,requester:i,requestsCache:a,responsesCache:s,timeouts:c,userAgent:o,headers:e.headers,queryParameters:f,hosts:u.map((function(e){return g(e)})),read:function(e,t){var n=d(t,h.timeouts.read),i=function(){return y(h,h.hosts.filter((function(e){return 0!=(e.accept&p.Read)})),e,n)};if(!0!==(void 0!==n.cacheable?n.cacheable:e.cacheable))return i();var a={request:e,mappedRequestOptions:n,transporter:{queryParameters:h.queryParameters,headers:h.headers}};return h.responsesCache.get(a,(function(){return h.requestsCache.get(a,(function(){return h.requestsCache.set(a,i()).then((function(e){return Promise.all([h.requestsCache.delete(a),e])}),(function(e){return Promise.all([h.requestsCache.delete(a),Promise.reject(e)])})).then((function(e){var t=r(e,2);return t[0],t[1]}))}))}),{miss:function(e){return h.responsesCache.set(a,e)}})},write:function(e,t){return y(h,h.hosts.filter((function(e){return 0!=(e.accept&p.Write)})),e,d(t,h.timeouts.write))}};return h}(n(n({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:p.Read},{url:"".concat(t,".algolia.net"),accept:p.Write}].concat(o([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:n(n(n({},i.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:n(n({},i.queryParameters()),e.queryParameters)}));return u({transporter:a,appId:t,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then((function(){}))}},e.methods)},S=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={transporter:e.transporter,appId:e.appId,indexName:t};return u(r,n.methods)}},P=function(e){return function(t,r){var i=t.map((function(e){return n(n({},e),{},{params:O(e.params||{})})}));return e.transporter.read({method:v,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},r)}},w=function(e){return function(t,r){return Promise.all(t.map((function(t){var i=t.params,a=i.facetName,s=i.facetQuery,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(i,["facetName","facetQuery"]);return S(e)(t.indexName,{methods:{searchForFacetValues:C}}).searchForFacetValues(a,s,n(n({},r),c))})))}},E=function(e){return function(t,n,r){return e.transporter.read({method:v,path:f("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},_=function(e){return function(t,n){return e.transporter.read({method:v,path:f("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},C=function(e){return function(t,n,r){return e.transporter.read({method:v,path:f("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}};function A(e,t,r){var i={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return n.setRequestHeader(t,e.headers[t])}));var r,i=function(e,r){return setTimeout((function(){n.abort(),t({status:0,content:r,isTimedOut:!0})}),1e3*e)},a=i(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(a),r=i(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(a),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(a),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)}))}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:c(),requestsCache:c({serializable:!1}),hostsCache:s({caches:[a({key:"".concat("4.8.6","-").concat(e)}),c()]}),userAgent:b("4.8.6").add({segment:"Browser",version:"lite"}),authMode:h};return x(n(n(n({},i),r),{},{methods:{search:P,searchForFacetValues:w,multipleQueries:P,multipleSearchForFacetValues:w,initIndex:function(e){return function(t){return S(e)(t,{methods:{search:_,searchForFacetValues:C,findAnswers:E}})}}}}))}return A.version="4.8.6",A}()},255:function(e,t,n){"use strict";var r=n(256),i=n(239),a=n(240);function s(e,t,n){return new r(e,t,n)}s.version=n(245),s.AlgoliaSearchHelper=r,s.SearchParameters=i,s.SearchResults=a,e.exports=s},256:function(e,t,n){"use strict";var r=n(239),i=n(240),a=n(264),s=n(265),c=n(243),o=n(244),u=n(228),f=n(227),h=n(218),l=n(245);function d(e,t,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.setClient(e);var i=n||{};i.index=t,this.state=r.make(i),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function p(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function m(){return this.state.page}o(d,c.EventEmitter),d.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},d.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},d.prototype.getQuery=function(){var e=this.state;return s._getHitsSearchParams(e)},d.prototype.searchOnce=function(e,t){var n=e?this.state.setQueryParameters(e):this.state,r=s._getQueries(n.index,n),a=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:n}),!t)return this.client.search(r).then((function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new i(n,e.results),state:n,_originalResponse:e}}),(function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e}));this.client.search(r).then((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new i(n,e.results),n)})).catch((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,n)}))},d.prototype.findAnswers=function(e){var t=this.state,n=this.derivedHelpers[0];if(!n)return Promise.resolve([]);var r=n.getModifiedState(t),i=h({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:f(s._getHitsSearchParams(r),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(a);var c=this.client.initIndex(r.index);if("function"!=typeof c.findAnswers)throw new Error(a);return c.findAnswers(r.query,e.queryLanguages,i)},d.prototype.searchForFacetValues=function(e,t,n,r){var i="function"==typeof this.client.searchForFacetValues;if(!i&&"function"!=typeof this.client.initIndex)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var a=this.state.setQueryParameters(r||{}),c=a.isDisjunctiveFacet(e),o=s.getSearchForFacetQuery(e,t,n,a);this._currentNbQueries++;var u=this;return this.emit("searchForFacetValues",{state:a,facet:e,query:t}),(i?this.client.searchForFacetValues([{indexName:a.index,params:o}]):this.client.initIndex(a.index).searchForFacetValues(o)).then((function(t){return u._currentNbQueries--,0===u._currentNbQueries&&u.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.isRefined=c?a.isDisjunctiveFacetRefined(e,t.value):a.isFacetRefined(e,t.value)})),t}),(function(e){throw u._currentNbQueries--,0===u._currentNbQueries&&u.emit("searchQueueEmpty"),e}))},d.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},d.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},d.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},d.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,n),isPageReset:!0}),this},d.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},d.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},d.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},d.prototype.removeNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,n),isPageReset:!0}),this},d.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},d.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},d.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},d.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},d.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},d.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},d.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},d.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},d.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},d.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},d.prototype.setCurrentPage=p,d.prototype.setPage=p,d.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},d.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},d.prototype.setState=function(e){return this._change({state:r.make(e),isPageReset:!1}),this},d.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new r(e),this},d.prototype.hasRefinements=function(e){return!!u(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},d.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},d.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},d.prototype.hasTag=function(e){return this.state.isTagRefined(e)},d.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},d.prototype.getIndex=function(){return this.state.index},d.prototype.getCurrentPage=m,d.prototype.getPage=m,d.prototype.getTags=function(){return this.state.tagRefinements},d.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var n=this.state.getNumericRefinements(e);return Object.keys(n).forEach((function(e){var r=n[e];t.push({value:r,operator:e,type:"numeric"})})),t},d.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},d.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},d.prototype._search=function(e){var t=this.state,n=[],r=[];e.onlyWithDerivedHelpers||(r=s._getQueries(t.index,t),n.push({state:t,queriesCount:r.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var r=e.getModifiedState(t),i=s._getQueries(r.index,r);return n.push({state:r,queriesCount:i.length,helper:e}),e.emit("search",{state:r,results:e.lastResults}),i})),a=Array.prototype.concat.apply(r,i),c=this._queryId++;this._currentNbQueries++;try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,n,c)).catch(this._dispatchAlgoliaError.bind(this,c))}catch(e){this.emit("error",{error:e})}},d.prototype._dispatchAlgoliaResponse=function(e,t,n){if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var r=n.results.slice();e.forEach((function(e){var t=e.state,n=e.queriesCount,a=e.helper,s=r.splice(0,n),c=a.lastResults=new i(t,s);a.emit("result",{results:c,state:t})}))}},d.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},d.prototype.containsRefinement=function(e,t,n,r){return e||0!==t.length||0!==n.length||0!==r.length},d.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},d.prototype._change=function(e){var t=e.state,n=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:n}))},d.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},d.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.client=e),this},d.prototype.getClient=function(){return this.client},d.prototype.derive=function(e){var t=new a(this,e);return this.derivedHelpers.push(t),t},d.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},d.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=d},257:function(e,t,n){"use strict";e.exports=function(e,t){return e.filter((function(n,r){return t.indexOf(n)>-1&&e.indexOf(n)===r}))}},258:function(e,t,n){"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},259:function(e,t,n){"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},260:function(e,t,n){"use strict";var r=n(226),i=n(227),a=n(228),s={addRefinement:function(e,t,n){if(s.isRefined(e,t,n))return e;var i=""+n,a=e[t]?e[t].concat(i):[i],c={};return c[t]=a,r({},c,e)},removeRefinement:function(e,t,n){if(void 0===n)return s.clearRefinement(e,(function(e,n){return t===n}));var r=""+n;return s.clearRefinement(e,(function(e,n){return t===n&&r===e}))},toggleRefinement:function(e,t,n){if(void 0===n)throw new Error("toggleRefinement should be used with a value");return s.isRefined(e,t,n)?s.removeRefinement(e,t,n):s.addRefinement(e,t,n)},clearRefinement:function(e,t,n){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var r=!1,s=Object.keys(e).reduce((function(i,a){var s=e[a]||[],c=s.filter((function(e){return!t(e,a,n)}));return c.length!==s.length&&(r=!0),i[a]=c,i}),{});return r?s:e}},isRefined:function(e,t,n){var r=!!e[t]&&e[t].length>0;if(void 0===n||!r)return r;var i=""+n;return-1!==e[t].indexOf(i)}};e.exports=s},261:function(e,t,n){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},262:function(e,t,n){"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}},263:function(e,t,n){"use strict";e.exports=function(e){return function(t,n){var s=e.hierarchicalFacets[n],c=e.hierarchicalFacetsRefinements[s.name]&&e.hierarchicalFacetsRefinements[s.name][0]||"",o=e._getHierarchicalFacetSeparator(s),u=e._getHierarchicalRootPath(s),f=e._getHierarchicalShowParentLevel(s),h=a(e._getHierarchicalFacetSortBy(s)),l=t.every((function(e){return e.exhaustive})),d=function(e,t,n,a,s){return function(c,o,u){var f=c;if(u>0){var h=0;for(f=c;h<u;){var l=f&&Array.isArray(f.data)?f.data:[];f=i(l,(function(e){return e.isRefined})),h++}}if(f){var d=Object.keys(o.data).map((function(e){return[e,o.data[e]]})).filter((function(e){return function(e,t,n,r,i,a){if(i&&(0!==e.indexOf(i)||i===e))return!1;return!i&&-1===e.indexOf(r)||i&&e.split(r).length-i.split(r).length==1||-1===e.indexOf(r)&&-1===n.indexOf(r)||0===n.indexOf(e)||0===e.indexOf(t+r)&&(a||0===e.indexOf(n))}(e[0],f.path||n,s,t,n,a)}));f.data=r(d.map((function(e){var n=e[0];return function(e,t,n,r,i){var a=t.split(n);return{name:a[a.length-1].trim(),path:t,count:e,isRefined:r===t||0===r.indexOf(t+n),exhaustive:i,data:null}}(e[1],n,t,s,o.exhaustive)})),e[0],e[1])}return c}}(h,o,u,f,c),p=t;return u&&(p=t.slice(u.split(o).length)),p.reduce(d,{name:e.hierarchicalFacets[n].name,count:null,isRefined:!0,path:null,exhaustive:l,data:null})}};var r=n(241),i=n(219),a=n(242)},264:function(e,t,n){"use strict";var r=n(243);function i(e,t){this.main=e,this.fn=t,this.lastResults=null}n(244)(i,r.EventEmitter),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=i},265:function(e,t,n){"use strict";var r=n(218),i={_getQueries:function(e,t){var n=[];return n.push({indexName:e,params:i._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach((function(r){n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r)})})),t.getRefinedHierarchicalFacets().forEach((function(r){var a=t.getHierarchicalFacetByName(r),s=t.getHierarchicalRefinement(r),c=t._getHierarchicalFacetSeparator(a);s.length>0&&s[0].split(c).length>1&&n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r,!0)})})),n},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)),n=i._getFacetFilters(e),a=i._getNumericFilters(e),s={facets:t,tagFilters:i._getTagFilters(e)};return n.length>0&&(s.facetFilters=n),a.length>0&&(s.numericFilters=a),r({},e.getQueryParams(),s)},_getDisjunctiveFacetSearchParams:function(e,t,n){var a=i._getFacetFilters(e,t,n),s=i._getNumericFilters(e,t),c={hitsPerPage:1,page:0,attributesToRetrieve:[],attributesToHighlight:[],attributesToSnippet:[],tagFilters:i._getTagFilters(e),analytics:!1,clickAnalytics:!1},o=e.getHierarchicalFacetByName(t);return c.facets=o?i._getDisjunctiveHierarchicalFacetAttribute(e,o,n):t,s.length>0&&(c.numericFilters=s),a.length>0&&(c.facetFilters=a),r({},e.getQueryParams(),c)},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var n=[];return Object.keys(e.numericRefinements).forEach((function(r){var i=e.numericRefinements[r]||{};Object.keys(i).forEach((function(e){var a=i[e]||[];t!==r&&a.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return r+e+t}));n.push(i)}else n.push(r+e+t)}))}))})),n},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,n){var r=[],i=e.facetsRefinements||{};Object.keys(i).forEach((function(e){(i[e]||[]).forEach((function(t){r.push(e+":"+t)}))}));var a=e.facetsExcludes||{};Object.keys(a).forEach((function(e){(a[e]||[]).forEach((function(t){r.push(e+":-"+t)}))}));var s=e.disjunctiveFacetsRefinements||{};Object.keys(s).forEach((function(e){var n=s[e]||[];if(e!==t&&n&&0!==n.length){var i=[];n.forEach((function(t){i.push(e+":"+t)})),r.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).forEach((function(i){var a=(c[i]||[])[0];if(void 0!==a){var s,o,u=e.getHierarchicalFacetByName(i),f=e._getHierarchicalFacetSeparator(u),h=e._getHierarchicalRootPath(u);if(t===i){if(-1===a.indexOf(f)||!h&&!0===n||h&&h.split(f).length===a.split(f).length)return;h?(o=h.split(f).length-1,a=h):(o=a.split(f).length-2,a=a.slice(0,a.lastIndexOf(f))),s=u.attributes[o]}else o=a.split(f).length-1,s=u.attributes[o];s&&r.push([s+":"+a])}})),r},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,n){var r=e.getHierarchicalRefinement(n.name)[0];if(!r)return t.push(n.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(n),a=r.split(i).length,s=n.attributes.slice(0,a+1);return t.concat(s)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,n){var r=e._getHierarchicalFacetSeparator(t);if(!0===n){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(r).length),[t.attributes[a]]}var s=(e.getHierarchicalRefinement(t.name)[0]||"").split(r).length-1;return t.attributes.slice(0,s+1)},getSearchForFacetQuery:function(e,t,n,a){var s=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,c={facetQuery:t,facetName:e};return"number"==typeof n&&(c.maxFacetHits=n),r({},i._getHitsSearchParams(s),c)}};e.exports=i},266:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(246);function i(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},270:function(e,t,n){"use strict";var r=n(221),i=n(217),a=n(214);t.a=Object(r.a)({displayName:"AlgoliaHits",getProvidedProps:function(e,t,n){var r=Object(i.d)(n,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!r)return{hits:[]};var s=Object(a.a)(r.hits,r.hitsPerPage,r.page);return{hits:Object(a.b)(s,r.queryID)}},getSearchParameters:function(e){return e}})},271:function(e,t,n){"use strict";var r=n(212),i=n(1),a=n.n(i),s=n(221),c=n(217);function o(e,t,n){var r=Object(c.b)(e,t,n,"query","");return r||""}function u(e,t,n,i){var a=Object(r.a)({},"query",n);return Object(c.f)(t,a,i,!0)}var f=Object(s.a)({displayName:"AlgoliaSearchBox",propTypes:{defaultRefinement:a.a.string},getProvidedProps:function(e,t,n){return{currentRefinement:o(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),isSearchStalled:n.isSearchStalled}},refine:function(e,t,n){return u(0,t,n,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){return function(e,t,n){return Object(c.a)(t,n,"query")}(0,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},getSearchParameters:function(e,t,n){return e.setQuery(o(t,n,{ais:t.contextValue,multiIndexContext:t.indexContextValue}))},getMetadata:function(e,t){var n=o(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return{id:"query",index:Object(c.c)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),items:null===n?[]:[{label:"".concat("query",": ").concat(n),value:function(t){return u(0,t,"",{ais:e.contextValue,multiIndexContext:e.indexContextValue})},currentRefinement:n}]}}});function h(){return(h=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 l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=n(0),b=n.n(y),j=n(215),O=n.n(j),R=n(235),F=n(222),x=n(223),S=n(224),P=n(225),w=n(216),E=n(230);n(246);n(266);var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ais";return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=r.filter((function(e){return e||""===e})).map((function(n){var r="".concat(t,"-").concat(e);return n?"".concat(r,"-").concat(n):r}));return O()(a)}}("SearchBox"),C=b.a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"#444",className:_("loadingIcon")},b.a.createElement("g",{fill:"none",fillRule:"evenodd"},b.a.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},b.a.createElement("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),b.a.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},b.a.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}))))),A=b.a.createElement("svg",{className:_("resetIcon"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",width:"10",height:"10"},b.a.createElement("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"})),N=b.a.createElement("svg",{className:_("submitIcon"),xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 40 40"},b.a.createElement("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"})),T=function(e){function t(e){var n,r,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,i=g(t).call(this),n=!i||"object"!==p(i)&&"function"!=typeof i?m(r):i,l(m(n),"getQuery",(function(){return n.props.searchAsYouType?n.props.currentRefinement:n.state.query})),l(m(n),"onInputMount",(function(e){n.input=e,n.props.inputRef&&("function"==typeof n.props.inputRef?n.props.inputRef(e):n.props.inputRef.current=e)})),l(m(n),"onKeyDown",(function(e){if(n.props.focusShortcuts){var t=n.props.focusShortcuts.map((function(e){return"string"==typeof e?e.toUpperCase().charCodeAt(0):e})),r=e.target||e.srcElement,i=r.tagName;if(!r.isContentEditable&&"INPUT"!==i&&"SELECT"!==i&&"TEXTAREA"!==i){var a=e.which||e.keyCode;-1!==t.indexOf(a)&&(n.input.focus(),e.stopPropagation(),e.preventDefault())}}})),l(m(n),"onSubmit",(function(e){e.preventDefault(),e.stopPropagation(),n.input.blur();var t=n.props,r=t.refine;return t.searchAsYouType||r(n.getQuery()),!1})),l(m(n),"onChange",(function(e){var t=n.props,r=t.searchAsYouType,i=t.refine,a=t.onChange,s=e.target.value;r?i(s):n.setState({query:s}),a&&a(e)})),l(m(n),"onReset",(function(e){var t=n.props,r=t.searchAsYouType,i=t.refine,a=t.onReset;i(""),n.input.focus(),r||n.setState({query:""}),a&&a(e)})),n.state={query:e.searchAsYouType?null:e.currentRefinement},n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.onKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onKeyDown)}},{key:"componentDidUpdate",value:function(e){this.props.searchAsYouType||e.currentRefinement===this.props.currentRefinement||this.setState({query:this.props.currentRefinement})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.translate,i=t.autoFocus,a=t.loadingIndicator,s=t.submit,c=t.reset,o=this.getQuery(),u=Object.keys(this.props).reduce((function(t,n){return-1===["onsubmit","onreset","onchange"].indexOf(n.toLowerCase())&&0===n.indexOf("on")?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}({},t,l({},n,e.props[n])):t}),{}),f=this.props.showLoadingIndicator&&this.props.isSearchStalled;return b.a.createElement("div",{className:O()(_(""),n)},b.a.createElement("form",{noValidate:!0,onSubmit:this.props.onSubmit?this.props.onSubmit:this.onSubmit,onReset:this.onReset,className:_("form",f&&"form--stalledSearch"),action:"",role:"search"},b.a.createElement("input",h({ref:this.onInputMount,type:"search",placeholder:r("placeholder"),autoFocus:i,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",required:!0,maxLength:"512",value:o,onChange:this.onChange},u,{className:_("input")})),b.a.createElement("button",{type:"submit",title:r("submitTitle"),className:_("submit")},s),b.a.createElement("button",{type:"reset",title:r("resetTitle"),className:_("reset"),hidden:!o||f},c),this.props.showLoadingIndicator&&b.a.createElement("span",{hidden:!f,className:_("loadingIndicator")},a)))}}])&&d(n.prototype,r),i&&d(n,i),t}(y.Component);l(T,"propTypes",{currentRefinement:a.a.string,className:a.a.string,refine:a.a.func.isRequired,translate:a.a.func.isRequired,loadingIndicator:a.a.node,reset:a.a.node,submit:a.a.node,focusShortcuts:a.a.arrayOf(a.a.oneOfType([a.a.string,a.a.number])),autoFocus:a.a.bool,searchAsYouType:a.a.bool,onSubmit:a.a.func,onReset:a.a.func,onChange:a.a.func,isSearchStalled:a.a.bool,showLoadingIndicator:a.a.bool,inputRef:a.a.oneOfType([a.a.func,a.a.exact({current:a.a.object})])}),l(T,"defaultProps",{currentRefinement:"",className:"",focusShortcuts:["s","/"],autoFocus:!1,searchAsYouType:!0,showLoadingIndicator:!1,isSearchStalled:!1,loadingIndicator:C,reset:A,submit:N});var k,I=(k={resetTitle:"Clear the search query.",submitTitle:"Submit your search query.",placeholder:"Search here…"},function(e){var t,n=function(t){function n(){var e,t;Object(F.a)(this,n);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return t=Object(S.a)(this,(e=Object(P.a)(n)).call.apply(e,[this].concat(a))),Object(r.a)(Object(w.a)(t),"translate",(function(e){var n=t.props.translations,r=n&&n.hasOwnProperty(e)?n[e]:k[e];if("function"==typeof r){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return r.apply(void 0,a)}return r})),t}return Object(E.a)(n,t),Object(x.a)(n,[{key:"render",value:function(){return b.a.createElement(e,Object(R.a)({translate:this.translate},this.props))}}]),n}(y.Component),i=e.displayName||e.name||"UnknownComponent";return n.displayName="Translatable(".concat(i,")"),n.propTypes={translations:(t=Object.keys(k),function(e,n,r){var i=e[n];if(i)for(var a=0,s=Object.keys(i);a<s.length;a++){var c=s[a];if(-1===t.indexOf(c))return new Error("Unknown `".concat(n,"` key `").concat(c,"`. Check the render method ")+"of `".concat(r,"`."))}})},n})(T);t.a=f(I)},273:function(e,t,n){"use strict";var r=n(213),i=n(222),a=n(224),s=n(225),c=n(216),o=n(223),u=n(230),f=n(212),h=n(0),l=n.n(h),d=n(237),p=n.n(d),m=n(1),g=n.n(m),v=n(229),y=n(255),b=n.n(y),j=n(214);var O={highlightPreTag:"<ais-highlight-0000000000>",highlightPostTag:"</ais-highlight-0000000000>"};var R=n(217);function F(e){"function"==typeof e.addAlgoliaAgent&&(e.addAlgoliaAgent("react (".concat(h.version,")")),e.addAlgoliaAgent("react-instantsearch (".concat("6.10.3",")")))}var x=function(e){return Object(R.e)({ais:e.props.contextValue,multiIndexContext:e.props.indexContextValue})},S=function(e,t){return e.props.indexContextValue.targetedIndex===t},P=function(e){return Boolean(e.props.indexId)},w=function(e,t){return e.props.indexId===t},E=function(e,t){var n=P(e),r=P(t);return n&&!r?-1:!n&&r?1:0};function _(e){return Object.keys(e).map((function(t){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0;return e.replace(/%s/g,(function(){return encodeURIComponent(n[i++])}))}("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]));var n})).join("&")}function C(e){var t=e.indexName,n=e.initialState,i=void 0===n?{}:n,a=e.searchClient,s=e.resultsState,c=e.stalledSearchDelay,o=b()(a,t,Object(r.a)({},O));F(a),o.on("search",(function(){h||(h=setTimeout((function(){var e=p.getState(),t=(e.resultsFacetValues,Object(v.a)(e,["resultsFacetValues"]));p.setState(Object(r.a)({},t,{isSearchStalled:!0}))}),c))})).on("result",R({indexId:t})).on("error",C);var u=!1,h=null,l=o.state,d=function(e){var t=[],n=!1;function r(){n||(n=!0,Object(j.c)((function(){n=!1,e()})))}return{registerWidget:function(e){return t.push(e),r(),function(){t.splice(t.indexOf(e),1),r()}},update:r,getWidgets:function(){return t}}}((function(){var e=m(p.getState().widgets);p.setState(Object(r.a)({},p.getState(),{metadata:e,searching:!0})),y()}));!function(e,t){if(!t)return;if((!e.transporter||e._cacheHydrated)&&(!e._useCache||"function"!=typeof e.addAlgoliaAgent))return;if(e.transporter&&!e._cacheHydrated){e._cacheHydrated=!0;var n=e.search;e.search=function(t){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];var c=t.map((function(e){return Object(r.a)({},e,{params:_(e.params)})}));return e.transporter.responsesCache.get({method:"search",args:[c].concat(a)},(function(){return n.apply(void 0,[t].concat(a))}))}}if(Array.isArray(t.results))return void function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.reduce((function(e,t){return e.concat(t.rawResults.map((function(e){return{indexName:e.index,params:e.params}})))}),[])]},{results:t.reduce((function(e,t){return e.concat(t.rawResults)}),[])});var n="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.reduce((function(e,t){return e.concat(t.rawResults.map((function(e){return{indexName:e.index,params:e.params}})))}),[])}));e.cache=Object(r.a)({},e.cache,Object(f.a)({},n,JSON.stringify({results:t.reduce((function(e,t){return e.concat(t.rawResults)}),[])})))}(e,t.results);!function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.rawResults.map((function(e){return{indexName:e.index,params:e.params}}))]},{results:t.rawResults});var n="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.rawResults.map((function(e){return{indexName:e.index,params:e.params}}))}));e.cache=Object(r.a)({},e.cache,Object(f.a)({},n,JSON.stringify({results:t.rawResults})))}(e,t)}(a,s);var p=function(e){var t=e,n=[];return{getState:function(){return t},setState:function(e){t=e,n.forEach((function(e){return e()}))},subscribe:function(e){return n.push(e),function(){n.splice(n.indexOf(e),1)}}}}({widgets:i,metadata:A(s),results:function(e){if(!e)return null;if(Array.isArray(e.results))return e.results.reduce((function(e,t){return Object(r.a)({},e,Object(f.a)({},t._internalIndexId,new b.a.SearchResults(new b.a.SearchParameters(t.state),t.rawResults)))}),{});return new b.a.SearchResults(new b.a.SearchParameters(e.state),e.rawResults)}(s),error:null,searching:!1,isSearchStalled:!0,searchingForFacetValues:!1});function m(e){return d.getWidgets().filter((function(e){return Boolean(e.getMetadata)})).map((function(t){return t.getMetadata(e)}))}function g(){var e=d.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){return!x(e)&&!P(e)})).reduce((function(e,t){return t.getSearchParameters(e)}),l),n=d.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){var n=x(e)&&S(e,t),r=P(e)&&w(e,t);return n||r})).sort(E).reduce((function(e,t){return t.getSearchParameters(e)}),e),i=d.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){var n=x(e)&&!S(e,t),r=P(e)&&!w(e,t);return n||r})).sort(E).reduce((function(e,t){var n=x(t)?t.props.indexContextValue.targetedIndex:t.props.indexId,i=e[n]||[];return Object(r.a)({},e,Object(f.a)({},n,i.concat(t)))}),{});return{mainParameters:n,derivedParameters:Object.keys(i).map((function(t){return{parameters:i[t].reduce((function(e,t){return t.getSearchParameters(e)}),e),indexId:t}}))}}function y(){if(!u){var e=g(o.state),t=e.mainParameters,n=e.derivedParameters;o.derivedHelpers.slice().forEach((function(e){e.detach()})),n.forEach((function(e){var t=e.indexId,n=e.parameters;o.derive((function(){return n})).on("result",R({indexId:t})).on("error",C)})),o.setState(t),o.search()}}function R(e){var t=e.indexId;return function(e){var n=p.getState(),i=!o.derivedHelpers.length,a=n.results?n.results:{};a=!i&&a.getFacetByName?{}:a,a=i?e.results:Object(r.a)({},a,Object(f.a)({},t,e.results));var s=p.getState(),c=s.isSearchStalled;o.hasPendingRequests()||(clearTimeout(h),h=null,c=!1);s.resultsFacetValues;var u=Object(v.a)(s,["resultsFacetValues"]);p.setState(Object(r.a)({},u,{results:a,isSearchStalled:c,searching:!1,error:null}))}}function C(e){var t=e.error,n=p.getState(),i=n.isSearchStalled;o.hasPendingRequests()||(clearTimeout(h),i=!1);n.resultsFacetValues;var a=Object(v.a)(n,["resultsFacetValues"]);p.setState(Object(r.a)({},a,{isSearchStalled:i,error:t,searching:!1}))}return{store:p,widgetsManager:d,getWidgetsIds:function(){return p.getState().metadata.reduce((function(e,t){return void 0!==t.id?e.concat(t.id):e}),[])},getSearchParameters:g,onSearchForFacetValues:function(e){var t=e.facetName,n=e.query,i=e.maxFacetHits,a=void 0===i?10:i,s=Math.max(1,Math.min(a,100));p.setState(Object(r.a)({},p.getState(),{searchingForFacetValues:!0})),o.searchForFacetValues(t,n,s).then((function(e){var i;p.setState(Object(r.a)({},p.getState(),{error:null,searchingForFacetValues:!1,resultsFacetValues:Object(r.a)({},p.getState().resultsFacetValues,(i={},Object(f.a)(i,t,e.facetHits),Object(f.a)(i,"query",n),i))}))}),(function(e){p.setState(Object(r.a)({},p.getState(),{searchingForFacetValues:!1,error:e}))})).catch((function(e){setTimeout((function(){throw e}))}))},onExternalStateUpdate:function(e){var t=m(e);p.setState(Object(r.a)({},p.getState(),{widgets:e,metadata:t,searching:!0})),y()},transitionState:function(e){var t=p.getState().widgets;return d.getWidgets().filter((function(e){return Boolean(e.transitionState)})).reduce((function(e,n){return n.transitionState(t,e)}),e)},updateClient:function(e){F(e),o.setClient(e),y()},updateIndex:function(e){l=l.setIndex(e)},clearCache:function(){o.clearCache(),y()},skipSearch:function(){u=!0}}}function A(e){return e?e.metadata.map((function(e){return Object(r.a)({value:function(){}},e,{items:e.items&&e.items.map((function(e){return Object(r.a)({value:function(){}},e,{items:e.items&&e.items.map((function(e){return Object(r.a)({value:function(){}},e)}))})}))})})):[]}var N=n(238);function T(e){return Boolean(e.searchState)}var k=function(e){function t(e){var n;Object(i.a)(this,t),n=Object(a.a)(this,Object(s.a)(t).call(this,e)),Object(f.a)(Object(c.a)(n),"isUnmounting",!1);var r=C({indexName:n.props.indexName,searchClient:n.props.searchClient,initialState:n.props.searchState||{},resultsState:n.props.resultsState,stalledSearchDelay:n.props.stalledSearchDelay}),o={store:r.store,widgetsManager:r.widgetsManager,mainTargetedIndex:n.props.indexName,onInternalStateUpdate:n.onWidgetsInternalStateUpdate.bind(Object(c.a)(n)),createHrefForState:n.createHrefForState.bind(Object(c.a)(n)),onSearchForFacetValues:n.onSearchForFacetValues.bind(Object(c.a)(n)),onSearchStateChange:n.onSearchStateChange.bind(Object(c.a)(n)),onSearchParameters:n.onSearchParameters.bind(Object(c.a)(n))};return n.state={isControlled:T(n.props),instantSearchManager:r,contextValue:o},n}return Object(u.a)(t,e),Object(o.a)(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=T(e),i=t.instantSearchManager.store.getState().widgets,a=e.searchState;return n&&!p()(i,a)&&t.instantSearchManager.onExternalStateUpdate(e.searchState),{isControlled:n,contextValue:Object(r.a)({},t.contextValue,{mainTargetedIndex:e.indexName})}}}]),Object(o.a)(t,[{key:"componentDidUpdate",value:function(e){var t=T(e);if(t&&!this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being controlled to uncontrolled");if(!t&&this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being uncontrolled to controlled");this.props.refresh!==e.refresh&&this.props.refresh&&this.state.instantSearchManager.clearCache(),e.indexName!==this.props.indexName&&this.state.instantSearchManager.updateIndex(this.props.indexName),e.searchClient!==this.props.searchClient&&this.state.instantSearchManager.updateClient(this.props.searchClient)}},{key:"componentWillUnmount",value:function(){this.isUnmounting=!0,this.state.instantSearchManager.skipSearch()}},{key:"createHrefForState",value:function(e){return e=this.state.instantSearchManager.transitionState(e),this.state.isControlled&&this.props.createURL?this.props.createURL(e,this.getKnownKeys()):"#"}},{key:"onWidgetsInternalStateUpdate",value:function(e){e=this.state.instantSearchManager.transitionState(e),this.onSearchStateChange(e),this.state.isControlled||this.state.instantSearchManager.onExternalStateUpdate(e)}},{key:"onSearchStateChange",value:function(e){this.props.onSearchStateChange&&!this.isUnmounting&&this.props.onSearchStateChange(e)}},{key:"onSearchParameters",value:function(e,t,n,r){if(this.props.onSearchParameters){var i=this.props.searchState?this.props.searchState:{};this.props.onSearchParameters(e,t,n,i)}if(this.props.widgetsCollector){var a=this.props.searchState?this.props.searchState:{};this.props.widgetsCollector({getSearchParameters:e,getMetadata:r,context:t,props:n,searchState:a})}}},{key:"onSearchForFacetValues",value:function(e){this.state.instantSearchManager.onSearchForFacetValues(e)}},{key:"getKnownKeys",value:function(){return this.state.instantSearchManager.getWidgetsIds()}},{key:"render",value:function(){return 0===h.Children.count(this.props.children)?null:l.a.createElement(N.c,{value:this.state.contextValue},this.props.children)}}]),t}(h.Component);Object(f.a)(k,"defaultProps",{stalledSearchDelay:200,refresh:!1}),Object(f.a)(k,"propTypes",{indexName:g.a.string.isRequired,searchClient:g.a.shape({search:g.a.func.isRequired,searchForFacetValues:g.a.func,addAlgoliaAgent:g.a.func,clearCache:g.a.func}).isRequired,createURL:g.a.func,refresh:g.a.bool,searchState:g.a.object,onSearchStateChange:g.a.func,onSearchParameters:g.a.func,widgetsCollector:g.a.func,resultsState:g.a.oneOfType([g.a.object,g.a.array]),children:g.a.node,stalledSearchDelay:g.a.number});t.a=k},277:function(e,t,n){"use strict";var r=n(212),i=n(213),a=n(229),s=n(214),c=n(221),o=n(217);var u=Object(c.a)({displayName:"AlgoliaConfigure",getProvidedProps:function(){return{}},getSearchParameters:function(e,t){t.children,t.contextValue,t.indexContextValue;var n=Object(a.a)(t,["children","contextValue","indexContextValue"]);return e.setQueryParameters(n)},transitionState:function(e,t,n){var c="configure",u=(e.children,e.contextValue,e.indexContextValue,Object(a.a)(e,["children","contextValue","indexContextValue"])),f=Object.keys(e),h=this._props?Object.keys(this._props).filter((function(e){return-1===f.indexOf(e)})):[];this._props=e;var l=Object(r.a)({},c,Object(i.a)({},Object(s.f)(n[c],h),u));return Object(o.f)(n,l,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){var n="configure",i=Object(o.c)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),a=Object(o.e)({ais:e.contextValue,multiIndexContext:e.indexContextValue})&&t.indices?t.indices[i]:t,s=(a&&a[n]?Object.keys(a[n]):[]).reduce((function(t,r){return e[r]||(t[r]=a[n][r]),t}),{}),c=Object(r.a)({},n,s);return Object(o.f)(t,c,{ais:e.contextValue,multiIndexContext:e.indexContextValue})}});t.a=u((function(){return null}))}}]);
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var s=i.apply(null,r);s&&e.push(s)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},216:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},217:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return l}));var r=n(212),i=n(213),a=n(214);function s(e){return o(e)?e.multiIndexContext.targetedIndex:e.ais.mainTargetedIndex}function c(e,t){if(e.results){if(e.results.hits)return e.results;var n=s(t);if(e.results[n])return e.results[n]}return null}function o(e){return e&&e.multiIndexContext}function u(e,t,n,a,c){if(o(n)){var f=s(n);return c?function(e,t,n,a,s){var c,o=a?{page:1}:void 0,u=e.indices&&e.indices[n]?Object(i.a)({},e.indices,Object(r.a)({},n,Object(i.a)({},e.indices[n],(c={},Object(r.a)(c,s,Object(i.a)({},e.indices[n][s],t)),Object(r.a)(c,"page",1),c)))):Object(i.a)({},e.indices,Object(r.a)({},n,Object(i.a)(Object(r.a)({},s,t),o)));return Object(i.a)({},e,{indices:u})}(e,t,f,a,c):function(e,t,n,a){var s=a?{page:1}:void 0,c=e.indices&&e.indices[n]?Object(i.a)({},e.indices,Object(r.a)({},n,Object(i.a)({},e.indices[n],t,s))):Object(i.a)({},e.indices,Object(r.a)({},n,Object(i.a)({},t,s)));return Object(i.a)({},e,{indices:c})}(e,t,f,a)}return e.indices&&a&&Object.keys(e.indices).forEach((function(t){e=u(e,{page:1},{multiIndexContext:{targetedIndex:t}},!0,c)})),c?function(e,t,n,a){var s=n?{page:1}:void 0;return Object(i.a)({},e,Object(r.a)({},a,Object(i.a)({},e[a],t)),s)}(e,t,a,c):function(e,t,n){var r=n?{page:1}:void 0;return Object(i.a)({},e,t,r)}(e,t,a)}function f(e){var t=e.match(/^([^.]*)\.(.*)/);return{namespace:t&&t[1],attributeName:t&&t[2]}}function h(e,t,n,r,i){var a=s(n),c=f(r),u=c.namespace,h=c.attributeName,l={multiIndex:o(n),indexId:a,namespace:u,attributeName:h,id:r,searchState:t};return function(e){var t=e.multiIndex,n=e.indexId,r=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&r?s.indices&&s.indices[n]&&s.indices[n][r]&&Object.hasOwnProperty.call(s.indices[n][r],i):t?s.indices&&s.indices[n]&&Object.hasOwnProperty.call(s.indices[n],a):r?s[r]&&Object.hasOwnProperty.call(s[r],i):Object.hasOwnProperty.call(s,a)}(l)?function(e){var t=e.multiIndex,n=e.indexId,r=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&r?s.indices[n][r][i]:t?s.indices[n][a]:r?s[r][i]:s[a]}(l):e.defaultRefinement?e.defaultRefinement:i}function l(e,t,n){var c=s(t),u=f(n),h=u.namespace,l=u.attributeName;return o(t)&&Boolean(e.indices)?function(e){var t=e.searchState,n=e.indexId,s=e.id,c=e.namespace,o=e.attribute,u=t.indices[n];if(c&&u)return Object(i.a)({},t,{indices:Object(i.a)({},t.indices,Object(r.a)({},n,Object(i.a)({},u,Object(r.a)({},c,Object(a.f)(u[c],[o])))))});if(u)return Object(i.a)({},t,{indices:Object(i.a)({},t.indices,Object(r.a)({},n,Object(a.f)(u,[s])))});return t}({attribute:l,searchState:e,indexId:c,id:n,namespace:h}):function(e){var t=e.searchState,n=e.id,s=e.namespace,c=e.attribute;if(s)return Object(i.a)({},t,Object(r.a)({},s,Object(a.f)(t[s],[c])));return Object(a.f)(t,[n])}({attribute:l,searchState:e,id:n,namespace:h})}},218:function(e,t,n){"use strict";function r(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){if(e===t)return e;for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var a=t[n],s=e[n];void 0!==s&&void 0===a||(r(s)&&r(a)?e[n]=i(s,a):e[n]="object"==typeof(c=a)&&null!==c?i(Array.isArray(c)?[]:{},c):c)}var c;return e}e.exports=function(e){r(e)||(e={});for(var t=1,n=arguments.length;t<n;t++){var a=arguments[t];r(a)&&i(e,a)}return e}},219:function(e,t,n){"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}},221:function(e,t,n){"use strict";var r=n(235),i=n(229),a=n(213),s=n(222),c=n(223),o=n(224),u=n(225),f=n(216),h=n(230),l=n(212),d=n(0),p=n.n(d),m=n(237),g=n.n(m),v=n(214),y=n(238);t.a=function(e){return function(t){var n=function(e){if(!e.displayName)throw new Error("`createConnector` requires you to provide a `displayName` property.");var t="function"==typeof e.getSearchParameters||"function"==typeof e.getMetadata||"function"==typeof e.transitionState;return function(n){var m=function(d){function m(t){var n;return Object(s.a)(this,m),n=Object(o.a)(this,Object(u.a)(m).call(this,t)),Object(l.a)(Object(f.a)(n),"unsubscribe",void 0),Object(l.a)(Object(f.a)(n),"unregisterWidget",void 0),Object(l.a)(Object(f.a)(n),"isUnmounting",!1),Object(l.a)(Object(f.a)(n),"state",{providedProps:n.getProvidedProps(n.props)}),Object(l.a)(Object(f.a)(n),"refine",(function(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n.props.contextValue.onInternalStateUpdate((t=e.refine).call.apply(t,[Object(f.a)(n),n.props,n.props.contextValue.store.getState().widgets].concat(i)))})),Object(l.a)(Object(f.a)(n),"createURL",(function(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n.props.contextValue.createHrefForState((t=e.refine).call.apply(t,[Object(f.a)(n),n.props,n.props.contextValue.store.getState().widgets].concat(i)))})),Object(l.a)(Object(f.a)(n),"searchForFacetValues",(function(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n.props.contextValue.onSearchForFacetValues((t=e.searchForFacetValues).call.apply(t,[Object(f.a)(n),n.props,n.props.contextValue.store.getState().widgets].concat(i)))})),e.getSearchParameters&&n.props.contextValue.onSearchParameters(e.getSearchParameters.bind(Object(f.a)(n)),{ais:n.props.contextValue,multiIndexContext:n.props.indexContextValue},n.props,e.getMetadata&&e.getMetadata.bind(Object(f.a)(n))),n}return Object(h.a)(m,d),Object(c.a)(m,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribe=this.props.contextValue.store.subscribe((function(){e.isUnmounting||e.setState({providedProps:e.getProvidedProps(e.props)})})),t&&(this.unregisterWidget=this.props.contextValue.widgetsManager.registerWidget(this))}},{key:"shouldComponentUpdate",value:function(t,n){if("function"==typeof e.shouldComponentUpdate)return e.shouldComponentUpdate.call(this,this.props,t,this.state,n);var r=Object(v.h)(this.props,t);return null===this.state.providedProps||null===n.providedProps?this.state.providedProps!==n.providedProps||!r:!r||!Object(v.h)(this.state.providedProps,n.providedProps)}},{key:"componentDidUpdate",value:function(n){g()(n,this.props)||(this.setState({providedProps:this.getProvidedProps(this.props)}),t&&(this.props.contextValue.widgetsManager.update(),"function"==typeof e.transitionState&&this.props.contextValue.onSearchStateChange(e.transitionState.call(this,this.props,this.props.contextValue.store.getState().widgets,this.props.contextValue.store.getState().widgets))))}},{key:"componentWillUnmount",value:function(){if(this.isUnmounting=!0,this.unsubscribe&&this.unsubscribe(),this.unregisterWidget&&(this.unregisterWidget(),"function"==typeof e.cleanUp)){var t=e.cleanUp.call(this,this.props,this.props.contextValue.store.getState().widgets);this.props.contextValue.store.setState(Object(a.a)({},this.props.contextValue.store.getState(),{widgets:t})),this.props.contextValue.onSearchStateChange(Object(v.g)(t))}}},{key:"getProvidedProps",value:function(t){var n=this.props.contextValue.store.getState(),r=n.widgets,i=n.results,a=n.resultsFacetValues,s=n.searching,c=n.searchingForFacetValues,o=n.isSearchStalled,u=n.metadata,f={results:i,searching:s,searchingForFacetValues:c,isSearchStalled:o,error:n.error};return e.getProvidedProps.call(this,t,r,f,u,a)}},{key:"getSearchParameters",value:function(t){return"function"==typeof e.getSearchParameters?e.getSearchParameters.call(this,t,this.props,this.props.contextValue.store.getState().widgets):null}},{key:"getMetadata",value:function(t){return"function"==typeof e.getMetadata?e.getMetadata.call(this,this.props,t):{}}},{key:"transitionState",value:function(t,n){return"function"==typeof e.transitionState?e.transitionState.call(this,this.props,t,n):n}},{key:"render",value:function(){var t=this.props,a=(t.contextValue,Object(i.a)(t,["contextValue"])),s=this.state.providedProps;if(null===s)return null;var c="function"==typeof e.refine?{refine:this.refine,createURL:this.createURL}:{},o="function"==typeof e.searchForFacetValues?{searchForItems:this.searchForFacetValues}:{};return p.a.createElement(n,Object(r.a)({},a,s,c,o))}}]),m}(d.Component);return Object(l.a)(m,"displayName","".concat(e.displayName,"(").concat(Object(v.d)(n),")")),Object(l.a)(m,"propTypes",e.propTypes),Object(l.a)(m,"defaultProps",e.defaultProps),m}}(e)(t);return function(e){return p.a.createElement(y.b,null,(function(t){return p.a.createElement(y.a,null,(function(i){return p.a.createElement(n,Object(r.a)({contextValue:t,indexContextValue:i},e))}))}))}}}},222:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},223:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return i}))},224:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(236),i=n(216);function a(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(i.a)(e):t}},225:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},226:function(e,t,n){"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight((function(e,t){return Object.keys(Object(t)).forEach((function(n){void 0!==t[n]&&(void 0!==e[n]&&delete e[n],e[n]=t[n])})),e}),{})}},227:function(e,t,n){"use strict";e.exports=function(e,t){if(null===e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},228:function(e,t,n){"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},229:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,"a",(function(){return r}))},230:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return i}))},235: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}))},236:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},237:function(e,t){var n="undefined"!=typeof Element,r="function"==typeof Map,i="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,s){if(t===s)return!0;if(t&&s&&"object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;var c,o,u,f;if(Array.isArray(t)){if((c=t.length)!=s.length)return!1;for(o=c;0!=o--;)if(!e(t[o],s[o]))return!1;return!0}if(r&&t instanceof Map&&s instanceof Map){if(t.size!==s.size)return!1;for(f=t.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;for(f=t.entries();!(o=f.next()).done;)if(!e(o.value[1],s.get(o.value[0])))return!1;return!0}if(i&&t instanceof Set&&s instanceof Set){if(t.size!==s.size)return!1;for(f=t.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(s)){if((c=t.length)!=s.length)return!1;for(o=c;0!=o--;)if(t[o]!==s[o])return!1;return!0}if(t.constructor===RegExp)return t.source===s.source&&t.flags===s.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===s.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===s.toString();if((c=(u=Object.keys(t)).length)!==Object.keys(s).length)return!1;for(o=c;0!=o--;)if(!Object.prototype.hasOwnProperty.call(s,u[o]))return!1;if(n&&t instanceof Element)return!1;for(o=c;0!=o--;)if(("_owner"!==u[o]&&"__v"!==u[o]&&"__o"!==u[o]||!t.$$typeof)&&!e(t[u[o]],s[u[o]]))return!1;return!0}return t!=t&&s!=s}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},238:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return o}));var r=n(0),i=Object(r.createContext)({onInternalStateUpdate:function(){},createHrefForState:function(){return"#"},onSearchForFacetValues:function(){},onSearchStateChange:function(){},onSearchParameters:function(){},store:{},widgetsManager:{},mainTargetedIndex:""}),a=i.Consumer,s=i.Provider,c=Object(r.createContext)(void 0),o=c.Consumer;c.Provider},239:function(e,t,n){"use strict";var r=n(218),i=n(226),a=n(257),s=n(219),c=n(258),o=n(227),u=n(228),f=n(259),h=n(260);function l(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,n){return l(t[n],e)})):e===t}function d(e){var t=e?d._parseNumbers(e):{};void 0===t.userToken||f(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var n=this;Object.keys(t).forEach((function(e){var r=-1!==d.PARAMETERS.indexOf(e),i=void 0!==t[e];!r&&i&&(n[e]=t[e])}))}d.PARAMETERS=Object.keys(new d),d._parseNumbers=function(e){if(e instanceof d)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(n){var r=e[n];if("string"==typeof r){var i=parseFloat(r);t[n]=isNaN(i)?r:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return Array.isArray(e)?e.map((function(e){return parseFloat(e)})):e}))),e.numericRefinements){var n={};Object.keys(e.numericRefinements).forEach((function(t){var r=e.numericRefinements[t]||{};n[t]={},Object.keys(r).forEach((function(e){var i=r[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));n[t][e]=i}))})),t.numericRefinements=n}return r({},e,t)},d.make=function(e){var t=new d(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var n=t.getHierarchicalRefinement(e.name);n.length>0&&0!==n[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(n=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},d.validate=function(e,t){var n=t||{};return e.tagFilters&&n.tagRefinements&&n.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&n.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&n.numericRefinements&&u(n.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):u(e.numericRefinements)&&n.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},d.prototype={constructor:d,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:h.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:h.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:h.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:h.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,n){var i=c(n);if(this.isNumericRefined(e,t,i))return this;var a=r({},this.numericRefinements);return a[e]=r({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(i)):a[e][t]=[i],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,n){return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,i){return i===e&&r.op===t&&l(r.val,c(n))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(n,r){return r===e&&n.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,n){return n===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return u(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return o(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,n=this.numericRefinements,r=Object.keys(n).reduce((function(r,i){var a=n[i],s={};return a=a||{},Object.keys(a).forEach((function(n){var r=a[n]||[],c=[];r.forEach((function(t){e({val:t,op:n},i,"numeric")||c.push(t)})),c.length!==r.length&&(t=!0),s[n]=c})),r[i]=s,r}),{});return t?r:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:h.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:h.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:h.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:h.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:h.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:h.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:h.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:h.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:h.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),r={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+n))?-1===t.indexOf(n)?r[e]=[]:r[e]=[t.slice(0,t.lastIndexOf(n))]:r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},r,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var n={};return n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},n,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:i({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&h.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var n=this.getHierarchicalRefinement(e);return t?-1!==n.indexOf(t):n.length>0},isNumericRefined:function(e,t,n){if(void 0===n&&void 0===t)return!!this.numericRefinements[e];var r=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===n||!r)return r;var i,a,o=c(n),u=void 0!==(i=this.numericRefinements[e][t],a=o,s(i,(function(e){return l(e,a)})));return r&&u},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets())},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0})))},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},n=this;return Object.keys(this).forEach((function(r){var i=n[r];-1===e.indexOf(r)&&void 0!==i&&(t[r]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var n={};return n[e]=t,this.setQueryParameters(n)},setQueryParameters:function(e){if(!e)return this;var t=d.validate(this,e);if(t)throw t;var n=this,r=d._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=n[t],e}),{}),a=Object.keys(r).reduce((function(e,t){var n=void 0!==e[t],i=void 0!==r[t];return n&&!i?o(e,[t]):(i&&(e[t]=r[t]),e)}),i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return s(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=d},240:function(e,t,n){"use strict";var r=n(218),i=n(226),a=n(241),s=n(261),c=n(219),o=n(262),u=n(242),f=n(263);function h(e){var t={};return e.forEach((function(e,n){t[e]=n})),t}function l(e,t,n){t&&t[n]&&(e.stats=t[n])}function d(e,t){var n=t[0];this._rawResults=t;var a=this;Object.keys(n).forEach((function(e){a[e]=n[e]})),this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var u=e.getRefinedDisjunctiveFacets(),d=h(e.facets),p=h(e.disjunctiveFacets),m=1,g=n.facets||{};Object.keys(g).forEach((function(t){var r,i,s=g[t],u=(r=e.hierarchicalFacets,i=t,c(r,(function(e){return(e.attributes||[]).indexOf(i)>-1})));if(u){var f=u.attributes.indexOf(t),h=o(e.hierarchicalFacets,(function(e){return e.name===u.name}));a.hierarchicalFacets[h][f]={attribute:t,data:s,exhaustive:n.exhaustiveFacetsCount}}else{var m,v=-1!==e.disjunctiveFacets.indexOf(t),y=-1!==e.facets.indexOf(t);v&&(m=p[t],a.disjunctiveFacets[m]={name:t,data:s,exhaustive:n.exhaustiveFacetsCount},l(a.disjunctiveFacets[m],n.facets_stats,t)),y&&(m=d[t],a.facets[m]={name:t,data:s,exhaustive:n.exhaustiveFacetsCount},l(a.facets[m],n.facets_stats,t))}})),this.hierarchicalFacets=s(this.hierarchicalFacets),u.forEach((function(s){var c=t[m],u=c&&c.facets?c.facets:{},f=e.getHierarchicalFacetByName(s);Object.keys(u).forEach((function(t){var s,h=u[t];if(f){s=o(e.hierarchicalFacets,(function(e){return e.name===f.name}));var d=o(a.hierarchicalFacets[s],(function(e){return e.attribute===t}));if(-1===d)return;a.hierarchicalFacets[s][d].data=r({},a.hierarchicalFacets[s][d].data,h)}else{s=p[t];var m=n.facets&&n.facets[t]||{};a.disjunctiveFacets[s]={name:t,data:i({},h,m),exhaustive:c.exhaustiveFacetsCount},l(a.disjunctiveFacets[s],c.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!a.disjunctiveFacets[s].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(n)>-1&&(a.disjunctiveFacets[s].data[n]=0)}))}})),m++})),e.getRefinedHierarchicalFacets().forEach((function(n){var r=e.getHierarchicalFacetByName(n),s=e._getHierarchicalFacetSeparator(r),c=e.getHierarchicalRefinement(n);if(!(0===c.length||c[0].split(s).length<2)){var u=t[m],f=u&&u.facets?u.facets:{};Object.keys(f).forEach((function(t){var n=f[t],u=o(e.hierarchicalFacets,(function(e){return e.name===r.name})),h=o(a.hierarchicalFacets[u],(function(e){return e.attribute===t}));if(-1!==h){var l={};if(c.length>0){var d=c[0].split(s)[0];l[d]=a.hierarchicalFacets[u][h].data[d]}a.hierarchicalFacets[u][h].data=i(l,n,a.hierarchicalFacets[u][h].data)}})),m++}})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],i=d[t];a.facets[i]={name:t,data:n.facets[t],exhaustive:n.exhaustiveFacetsCount},r.forEach((function(e){a.facets[i]=a.facets[i]||{name:t},a.facets[i].data=a.facets[i].data||{},a.facets[i].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(f(e)),this.facets=s(this.facets),this.disjunctiveFacets=s(this.disjunctiveFacets),this._state=e}function p(e,t){if(!t.data||0===t.data.length)return t;var n=t.data.map((function(t){return p(e,t)})),i=e(n);return r({},t,{data:i})}function m(e,t){var n=c(e,(function(e){return e.name===t}));return n&&n.stats}function g(e,t,n,r,i){var a=c(i,(function(e){return e.name===n})),s=a&&a.data&&a.data[r]?a.data[r]:0,o=a&&a.exhaustive||!1;return{type:t,attributeName:n,name:r,count:s,exhaustive:o}}d.prototype.getFacetByName=function(e){function t(t){return t.name===e}return c(this.facets,t)||c(this.disjunctiveFacets,t)||c(this.hierarchicalFacets,t)},d.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],d.prototype.getFacetValues=function(e,t){var n=function(e,t){function n(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var r=c(e.facets,n);return r?Object.keys(r.data).map((function(n){return{name:n,count:r.data[n],isRefined:e._state.isFacetRefined(t,n),isExcluded:e._state.isExcludeRefined(t,n)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=c(e.disjunctiveFacets,n);return i?Object.keys(i.data).map((function(n){return{name:n,count:i.data[n],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t))return c(e.hierarchicalFacets,n)}(this,e);if(n){var r=i({},t,{sortBy:d.DEFAULT_SORT});if(Array.isArray(r.sortBy)){var s=u(r.sortBy,d.DEFAULT_SORT);return Array.isArray(n)?a(n,s[0],s[1]):p((function(e){return a(e,s[0],s[1])}),n)}if("function"==typeof r.sortBy)return Array.isArray(n)?n.sort(r.sortBy):p((function(e){return function(e,t){return t.sort(e)}(r.sortBy,e)}),n);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}},d.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?m(this.facets,e):this._state.isDisjunctiveFacet(e)?m(this.disjunctiveFacets,e):void 0},d.prototype.getRefinements=function(){var e=this._state,t=this,n=[];return Object.keys(e.facetsRefinements).forEach((function(r){e.facetsRefinements[r].forEach((function(i){n.push(g(e,"facet",r,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(r){e.facetsExcludes[r].forEach((function(i){n.push(g(e,"exclude",r,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(r){e.disjunctiveFacetsRefinements[r].forEach((function(i){n.push(g(e,"disjunctive",r,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(r){e.hierarchicalFacetsRefinements[r].forEach((function(i){n.push(function(e,t,n,r){var i=e.getHierarchicalFacetByName(t),a=e._getHierarchicalFacetSeparator(i),s=n.split(a),o=c(r,(function(e){return e.name===t})),u=s.reduce((function(e,t){var n=e&&c(e.data,(function(e){return e.name===t}));return void 0!==n?n:e}),o),f=u&&u.count||0,h=u&&u.exhaustive||!1,l=u&&u.path||"";return{type:"hierarchical",attributeName:t,name:l,count:f,exhaustive:h}}(e,r,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var r=e.numericRefinements[t];Object.keys(r).forEach((function(e){r[e].forEach((function(r){n.push({type:"numeric",attributeName:t,name:r,numericValue:r,operator:e})}))}))})),e.tagRefinements.forEach((function(e){n.push({type:"tag",attributeName:"_tags",name:e})})),n},e.exports=d},241:function(e,t,n){"use strict";function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||r&&i||!n)return 1;if(!r&&e<t||a&&n||!i)return-1}return 0}e.exports=function(e,t,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var i=e.map((function(e,n){return{criteria:t.map((function(t){return e[t]})),index:n,value:e}}));return i.sort((function(e,t){for(var i=-1;++i<e.criteria.length;){var a=r(e.criteria[i],t.criteria[i]);if(a)return i>=n.length?a:"desc"===n[i]?-a:a}return e.index-t.index})),i.map((function(e){return e.value}))}},242:function(e,t,n){"use strict";var r=n(219);e.exports=function(e,t){var n=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),a=r(n,(function(e){return e[0]===i[0]}));return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(a[0]),e[1].push(a[1]),e)}),[[],[]])}},243:function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==a&&e.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==t&&(a=function(n){e.removeListener(t,i),r(n)},e.once("error",a)),e.once(t,i)}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var o=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function h(e,t,n,r){var i,a,s,c;if(u(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=f(e))>0&&s.length>i&&!s.warned){s.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=s.length,c=o,console&&console.warn&&console.warn(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):g(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");o=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return f(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var o=i[e];if(void 0===o)return!1;if("function"==typeof o)a(o,this,t);else{var u=o.length,f=g(o,u);for(n=0;n<u;++n)a(f[n],this,t)}return!0},c.prototype.addListener=function(e,t){return h(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return h(this,e,t,!0)},c.prototype.once=function(e,t){return u(t),this.on(e,d(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,d(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,a,s;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){s=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(i=a[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return p(this,e,!0)},c.prototype.rawListeners=function(e){return p(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},244:function(e,t,n){"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},245:function(e,t,n){"use strict";e.exports="3.4.4"},246:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},252:function(e,t,n){"use strict";var r=n(7),i=n(253).left,a=n(140),s=n(33),c=a("reduce"),o=s("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!o},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},253:function(e,t,n){var r=n(43),i=n(23),a=n(59),s=n(21),c=function(e){return function(t,n,c,o){r(n);var u=i(t),f=a(u),h=s(u.length),l=e?h-1:0,d=e?-1:1;if(c<2)for(;;){if(l in f){o=f[l],l+=d;break}if(l+=d,e?l<0:h<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:h>l;l+=d)l in f&&(o=n(o,f[l],l,u));return o}};e.exports={left:c(!1),right:c(!0)}},254:function(e,t,n){
7
  /*! algoliasearch-lite.umd.js | 4.8.6 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
8
  e.exports=function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(n){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?t(Object(i),!0).forEach((function(t){e(n,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))}))}return n}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var s,c=e[Symbol.iterator]();!(r=(s=c.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(e){var t,n="algoliasearch-client-js-".concat(e.key),i=function(){return void 0===t&&(t=e.localStorage||window.localStorage),t},a=function(){return JSON.parse(i().getItem(n)||"{}")};return{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var n=JSON.stringify(e),r=a()[n];return Promise.all([r||t(),void 0!==r])})).then((function(e){var t=r(e,2),i=t[0],a=t[1];return Promise.all([i,a||n.miss(i)])})).then((function(e){return r(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var r=a();return r[JSON.stringify(e)]=t,i().setItem(n,JSON.stringify(r)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=a();delete t[JSON.stringify(e)],i().setItem(n,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){i().removeItem(n)}))}}}function s(e){var t=i(e.caches),n=t.shift();return void 0===n?{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},i=t();return i.then((function(e){return Promise.all([e,n.miss(e)])})).then((function(e){return r(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(e,r,i).catch((function(){return s({caches:t}).get(e,r,i)}))},set:function(e,r){return n.set(e,r).catch((function(){return s({caches:t}).set(e,r)}))},delete:function(e){return n.delete(e).catch((function(){return s({caches:t}).delete(e)}))},clear:function(){return n.clear().catch((function(){return s({caches:t}).clear()}))}}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var s=r(),c=i&&i.miss||function(){return Promise.resolve()};return s.then((function(e){return c(e)})).then((function(){return s}))},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function o(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function u(e,t){return t?(Object.keys(t).forEach((function(n){e[n]=t[n](e)})),e):e}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0;return e.replace(/%s/g,(function(){return encodeURIComponent(n[i++])}))}var h=0,l=1;function d(e,t){var n=e||{},r=n.data||{};return Object.keys(n).forEach((function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(r[e]=n[e])})),{data:Object.entries(r).length>0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var p={Read:1,Write:2,Any:3};function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return n(n({},e),{},{status:t,lastUpdate:Date.now()})}function g(e){return"string"==typeof e?{protocol:"https",url:e,accept:p.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||p.Any}}var v="POST";function y(e,t,r,a){var s=[],c=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data)){var r=Array.isArray(e.data)?e.data:n(n({},e.data),t.data);return JSON.stringify(r)}}(r,a),o=function(e,t){var r=n(n({},e.headers),t.headers),i={};return Object.keys(r).forEach((function(e){var t=r[e];i[e.toLowerCase()]=t})),i}(e,a),u=r.method,f="GET"!==r.method?{}:n(n({},r.data),a.data),h=n(n(n({"x-algolia-agent":e.userAgent.value},e.queryParameters),f),a.queryParameters),l=0,d=function t(n,i){var f=n.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:R(s)};var d={data:c,headers:o,method:u,url:j(f,r.path,h),connectTimeout:i(l,e.timeouts.connect),responseTimeout:i(l,a.timeout)},p=function(e){var t={request:d,response:e,host:f,triesLeft:n.length};return s.push(t),t},g={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(r){var a=p(r);return r.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",F(a)),e.hostsCache.set(f,m(f,r.isTimedOut?3:2))]).then((function(){return t(n,i)}))},onFail:function(e){throw p(e),function(e,t){var n=e.content,r=e.status,i=n;try{i=JSON.parse(n).message}catch(e){}return function(e,t,n){return{name:"ApiError",message:e,status:t,transporterStackTrace:n}}(i,r,t)}(e,R(s))}};return e.requester.send(d).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,n=e.status;return!t&&0==~~n}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,g)}))};return function(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(m(t))}))}))).then((function(e){var n=e.filter((function(e){return function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}(e)})),r=e.filter((function(e){return function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}(e)})),a=[].concat(i(n),i(r));return{getTimeout:function(e,t){return(0===r.length&&0===e?1:r.length+3+e)*t},statelessHosts:a.length>0?a.map((function(e){return g(e)})):t}}))}(e.hostsCache,t).then((function(e){return d(i(e.statelessHosts).reverse(),e.getTimeout)}))}function b(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var n="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(n)&&(t.value="".concat(t.value).concat(n)),t}};return t}function j(e,t,n){var r=O(n),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return r.length&&(i+="?".concat(r)),i}function O(e){return Object.keys(e).map((function(t){return f("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]));var n})).join("&")}function R(e){return e.map((function(e){return F(e)}))}function F(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return n(n({},e),{},{request:n(n({},e.request),{},{headers:n(n({},e.request.headers),t)})})}var x=function(e){var t=e.appId,i=function(e,t,n){var r={"x-algolia-api-key":n,"x-algolia-application-id":t};return{headers:function(){return e===l?r:{}},queryParameters:function(){return e===h?r:{}}}}(void 0!==e.authMode?e.authMode:l,t,e.apiKey),a=function(e){var t=e.hostsCache,n=e.logger,i=e.requester,a=e.requestsCache,s=e.responsesCache,c=e.timeouts,o=e.userAgent,u=e.hosts,f=e.queryParameters,h={hostsCache:t,logger:n,requester:i,requestsCache:a,responsesCache:s,timeouts:c,userAgent:o,headers:e.headers,queryParameters:f,hosts:u.map((function(e){return g(e)})),read:function(e,t){var n=d(t,h.timeouts.read),i=function(){return y(h,h.hosts.filter((function(e){return 0!=(e.accept&p.Read)})),e,n)};if(!0!==(void 0!==n.cacheable?n.cacheable:e.cacheable))return i();var a={request:e,mappedRequestOptions:n,transporter:{queryParameters:h.queryParameters,headers:h.headers}};return h.responsesCache.get(a,(function(){return h.requestsCache.get(a,(function(){return h.requestsCache.set(a,i()).then((function(e){return Promise.all([h.requestsCache.delete(a),e])}),(function(e){return Promise.all([h.requestsCache.delete(a),Promise.reject(e)])})).then((function(e){var t=r(e,2);return t[0],t[1]}))}))}),{miss:function(e){return h.responsesCache.set(a,e)}})},write:function(e,t){return y(h,h.hosts.filter((function(e){return 0!=(e.accept&p.Write)})),e,d(t,h.timeouts.write))}};return h}(n(n({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:p.Read},{url:"".concat(t,".algolia.net"),accept:p.Write}].concat(o([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:n(n(n({},i.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:n(n({},i.queryParameters()),e.queryParameters)}));return u({transporter:a,appId:t,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then((function(){}))}},e.methods)},S=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={transporter:e.transporter,appId:e.appId,indexName:t};return u(r,n.methods)}},P=function(e){return function(t,r){var i=t.map((function(e){return n(n({},e),{},{params:O(e.params||{})})}));return e.transporter.read({method:v,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},r)}},w=function(e){return function(t,r){return Promise.all(t.map((function(t){var i=t.params,a=i.facetName,s=i.facetQuery,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(i,["facetName","facetQuery"]);return S(e)(t.indexName,{methods:{searchForFacetValues:C}}).searchForFacetValues(a,s,n(n({},r),c))})))}},E=function(e){return function(t,n,r){return e.transporter.read({method:v,path:f("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},_=function(e){return function(t,n){return e.transporter.read({method:v,path:f("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},C=function(e){return function(t,n,r){return e.transporter.read({method:v,path:f("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}};function A(e,t,r){var i={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return n.setRequestHeader(t,e.headers[t])}));var r,i=function(e,r){return setTimeout((function(){n.abort(),t({status:0,content:r,isTimedOut:!0})}),1e3*e)},a=i(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(a),r=i(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(a),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(a),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)}))}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:c(),requestsCache:c({serializable:!1}),hostsCache:s({caches:[a({key:"".concat("4.8.6","-").concat(e)}),c()]}),userAgent:b("4.8.6").add({segment:"Browser",version:"lite"}),authMode:h};return x(n(n(n({},i),r),{},{methods:{search:P,searchForFacetValues:w,multipleQueries:P,multipleSearchForFacetValues:w,initIndex:function(e){return function(t){return S(e)(t,{methods:{search:_,searchForFacetValues:C,findAnswers:E}})}}}}))}return A.version="4.8.6",A}()},255:function(e,t,n){"use strict";var r=n(256),i=n(239),a=n(240);function s(e,t,n){return new r(e,t,n)}s.version=n(245),s.AlgoliaSearchHelper=r,s.SearchParameters=i,s.SearchResults=a,e.exports=s},256:function(e,t,n){"use strict";var r=n(239),i=n(240),a=n(264),s=n(265),c=n(243),o=n(244),u=n(228),f=n(227),h=n(218),l=n(245);function d(e,t,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.setClient(e);var i=n||{};i.index=t,this.state=r.make(i),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function p(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function m(){return this.state.page}o(d,c.EventEmitter),d.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},d.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},d.prototype.getQuery=function(){var e=this.state;return s._getHitsSearchParams(e)},d.prototype.searchOnce=function(e,t){var n=e?this.state.setQueryParameters(e):this.state,r=s._getQueries(n.index,n),a=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:n}),!t)return this.client.search(r).then((function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new i(n,e.results),state:n,_originalResponse:e}}),(function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e}));this.client.search(r).then((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new i(n,e.results),n)})).catch((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,n)}))},d.prototype.findAnswers=function(e){var t=this.state,n=this.derivedHelpers[0];if(!n)return Promise.resolve([]);var r=n.getModifiedState(t),i=h({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:f(s._getHitsSearchParams(r),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(a);var c=this.client.initIndex(r.index);if("function"!=typeof c.findAnswers)throw new Error(a);return c.findAnswers(r.query,e.queryLanguages,i)},d.prototype.searchForFacetValues=function(e,t,n,r){var i="function"==typeof this.client.searchForFacetValues;if(!i&&"function"!=typeof this.client.initIndex)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var a=this.state.setQueryParameters(r||{}),c=a.isDisjunctiveFacet(e),o=s.getSearchForFacetQuery(e,t,n,a);this._currentNbQueries++;var u=this;return this.emit("searchForFacetValues",{state:a,facet:e,query:t}),(i?this.client.searchForFacetValues([{indexName:a.index,params:o}]):this.client.initIndex(a.index).searchForFacetValues(o)).then((function(t){return u._currentNbQueries--,0===u._currentNbQueries&&u.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.isRefined=c?a.isDisjunctiveFacetRefined(e,t.value):a.isFacetRefined(e,t.value)})),t}),(function(e){throw u._currentNbQueries--,0===u._currentNbQueries&&u.emit("searchQueueEmpty"),e}))},d.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},d.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},d.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},d.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,n),isPageReset:!0}),this},d.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},d.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},d.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},d.prototype.removeNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,n),isPageReset:!0}),this},d.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},d.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},d.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},d.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},d.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},d.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},d.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},d.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},d.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},d.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},d.prototype.setCurrentPage=p,d.prototype.setPage=p,d.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},d.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},d.prototype.setState=function(e){return this._change({state:r.make(e),isPageReset:!1}),this},d.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new r(e),this},d.prototype.hasRefinements=function(e){return!!u(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},d.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},d.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},d.prototype.hasTag=function(e){return this.state.isTagRefined(e)},d.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},d.prototype.getIndex=function(){return this.state.index},d.prototype.getCurrentPage=m,d.prototype.getPage=m,d.prototype.getTags=function(){return this.state.tagRefinements},d.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var n=this.state.getNumericRefinements(e);return Object.keys(n).forEach((function(e){var r=n[e];t.push({value:r,operator:e,type:"numeric"})})),t},d.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},d.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},d.prototype._search=function(e){var t=this.state,n=[],r=[];e.onlyWithDerivedHelpers||(r=s._getQueries(t.index,t),n.push({state:t,queriesCount:r.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var r=e.getModifiedState(t),i=s._getQueries(r.index,r);return n.push({state:r,queriesCount:i.length,helper:e}),e.emit("search",{state:r,results:e.lastResults}),i})),a=Array.prototype.concat.apply(r,i),c=this._queryId++;this._currentNbQueries++;try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,n,c)).catch(this._dispatchAlgoliaError.bind(this,c))}catch(e){this.emit("error",{error:e})}},d.prototype._dispatchAlgoliaResponse=function(e,t,n){if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var r=n.results.slice();e.forEach((function(e){var t=e.state,n=e.queriesCount,a=e.helper,s=r.splice(0,n),c=a.lastResults=new i(t,s);a.emit("result",{results:c,state:t})}))}},d.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},d.prototype.containsRefinement=function(e,t,n,r){return e||0!==t.length||0!==n.length||0!==r.length},d.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},d.prototype._change=function(e){var t=e.state,n=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:n}))},d.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},d.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.client=e),this},d.prototype.getClient=function(){return this.client},d.prototype.derive=function(e){var t=new a(this,e);return this.derivedHelpers.push(t),t},d.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},d.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=d},257:function(e,t,n){"use strict";e.exports=function(e,t){return e.filter((function(n,r){return t.indexOf(n)>-1&&e.indexOf(n)===r}))}},258:function(e,t,n){"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},259:function(e,t,n){"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},260:function(e,t,n){"use strict";var r=n(226),i=n(227),a=n(228),s={addRefinement:function(e,t,n){if(s.isRefined(e,t,n))return e;var i=""+n,a=e[t]?e[t].concat(i):[i],c={};return c[t]=a,r({},c,e)},removeRefinement:function(e,t,n){if(void 0===n)return s.clearRefinement(e,(function(e,n){return t===n}));var r=""+n;return s.clearRefinement(e,(function(e,n){return t===n&&r===e}))},toggleRefinement:function(e,t,n){if(void 0===n)throw new Error("toggleRefinement should be used with a value");return s.isRefined(e,t,n)?s.removeRefinement(e,t,n):s.addRefinement(e,t,n)},clearRefinement:function(e,t,n){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var r=!1,s=Object.keys(e).reduce((function(i,a){var s=e[a]||[],c=s.filter((function(e){return!t(e,a,n)}));return c.length!==s.length&&(r=!0),i[a]=c,i}),{});return r?s:e}},isRefined:function(e,t,n){var r=!!e[t]&&e[t].length>0;if(void 0===n||!r)return r;var i=""+n;return-1!==e[t].indexOf(i)}};e.exports=s},261:function(e,t,n){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},262:function(e,t,n){"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}},263:function(e,t,n){"use strict";e.exports=function(e){return function(t,n){var s=e.hierarchicalFacets[n],c=e.hierarchicalFacetsRefinements[s.name]&&e.hierarchicalFacetsRefinements[s.name][0]||"",o=e._getHierarchicalFacetSeparator(s),u=e._getHierarchicalRootPath(s),f=e._getHierarchicalShowParentLevel(s),h=a(e._getHierarchicalFacetSortBy(s)),l=t.every((function(e){return e.exhaustive})),d=function(e,t,n,a,s){return function(c,o,u){var f=c;if(u>0){var h=0;for(f=c;h<u;){var l=f&&Array.isArray(f.data)?f.data:[];f=i(l,(function(e){return e.isRefined})),h++}}if(f){var d=Object.keys(o.data).map((function(e){return[e,o.data[e]]})).filter((function(e){return function(e,t,n,r,i,a){if(i&&(0!==e.indexOf(i)||i===e))return!1;return!i&&-1===e.indexOf(r)||i&&e.split(r).length-i.split(r).length==1||-1===e.indexOf(r)&&-1===n.indexOf(r)||0===n.indexOf(e)||0===e.indexOf(t+r)&&(a||0===e.indexOf(n))}(e[0],f.path||n,s,t,n,a)}));f.data=r(d.map((function(e){var n=e[0];return function(e,t,n,r,i){var a=t.split(n);return{name:a[a.length-1].trim(),path:t,count:e,isRefined:r===t||0===r.indexOf(t+n),exhaustive:i,data:null}}(e[1],n,t,s,o.exhaustive)})),e[0],e[1])}return c}}(h,o,u,f,c),p=t;return u&&(p=t.slice(u.split(o).length)),p.reduce(d,{name:e.hierarchicalFacets[n].name,count:null,isRefined:!0,path:null,exhaustive:l,data:null})}};var r=n(241),i=n(219),a=n(242)},264:function(e,t,n){"use strict";var r=n(243);function i(e,t){this.main=e,this.fn=t,this.lastResults=null}n(244)(i,r.EventEmitter),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=i},265:function(e,t,n){"use strict";var r=n(218),i={_getQueries:function(e,t){var n=[];return n.push({indexName:e,params:i._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach((function(r){n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r)})})),t.getRefinedHierarchicalFacets().forEach((function(r){var a=t.getHierarchicalFacetByName(r),s=t.getHierarchicalRefinement(r),c=t._getHierarchicalFacetSeparator(a);s.length>0&&s[0].split(c).length>1&&n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r,!0)})})),n},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)),n=i._getFacetFilters(e),a=i._getNumericFilters(e),s={facets:t,tagFilters:i._getTagFilters(e)};return n.length>0&&(s.facetFilters=n),a.length>0&&(s.numericFilters=a),r({},e.getQueryParams(),s)},_getDisjunctiveFacetSearchParams:function(e,t,n){var a=i._getFacetFilters(e,t,n),s=i._getNumericFilters(e,t),c={hitsPerPage:1,page:0,attributesToRetrieve:[],attributesToHighlight:[],attributesToSnippet:[],tagFilters:i._getTagFilters(e),analytics:!1,clickAnalytics:!1},o=e.getHierarchicalFacetByName(t);return c.facets=o?i._getDisjunctiveHierarchicalFacetAttribute(e,o,n):t,s.length>0&&(c.numericFilters=s),a.length>0&&(c.facetFilters=a),r({},e.getQueryParams(),c)},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var n=[];return Object.keys(e.numericRefinements).forEach((function(r){var i=e.numericRefinements[r]||{};Object.keys(i).forEach((function(e){var a=i[e]||[];t!==r&&a.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return r+e+t}));n.push(i)}else n.push(r+e+t)}))}))})),n},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,n){var r=[],i=e.facetsRefinements||{};Object.keys(i).forEach((function(e){(i[e]||[]).forEach((function(t){r.push(e+":"+t)}))}));var a=e.facetsExcludes||{};Object.keys(a).forEach((function(e){(a[e]||[]).forEach((function(t){r.push(e+":-"+t)}))}));var s=e.disjunctiveFacetsRefinements||{};Object.keys(s).forEach((function(e){var n=s[e]||[];if(e!==t&&n&&0!==n.length){var i=[];n.forEach((function(t){i.push(e+":"+t)})),r.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).forEach((function(i){var a=(c[i]||[])[0];if(void 0!==a){var s,o,u=e.getHierarchicalFacetByName(i),f=e._getHierarchicalFacetSeparator(u),h=e._getHierarchicalRootPath(u);if(t===i){if(-1===a.indexOf(f)||!h&&!0===n||h&&h.split(f).length===a.split(f).length)return;h?(o=h.split(f).length-1,a=h):(o=a.split(f).length-2,a=a.slice(0,a.lastIndexOf(f))),s=u.attributes[o]}else o=a.split(f).length-1,s=u.attributes[o];s&&r.push([s+":"+a])}})),r},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,n){var r=e.getHierarchicalRefinement(n.name)[0];if(!r)return t.push(n.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(n),a=r.split(i).length,s=n.attributes.slice(0,a+1);return t.concat(s)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,n){var r=e._getHierarchicalFacetSeparator(t);if(!0===n){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(r).length),[t.attributes[a]]}var s=(e.getHierarchicalRefinement(t.name)[0]||"").split(r).length-1;return t.attributes.slice(0,s+1)},getSearchForFacetQuery:function(e,t,n,a){var s=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,c={facetQuery:t,facetName:e};return"number"==typeof n&&(c.maxFacetHits=n),r({},i._getHitsSearchParams(s),c)}};e.exports=i},266:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(246);function i(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},270:function(e,t,n){"use strict";var r=n(221),i=n(217),a=n(214);t.a=Object(r.a)({displayName:"AlgoliaHits",getProvidedProps:function(e,t,n){var r=Object(i.d)(n,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!r)return{hits:[]};var s=Object(a.a)(r.hits,r.hitsPerPage,r.page);return{hits:Object(a.b)(s,r.queryID)}},getSearchParameters:function(e){return e}})},271:function(e,t,n){"use strict";var r=n(212),i=n(1),a=n.n(i),s=n(221),c=n(217);function o(e,t,n){var r=Object(c.b)(e,t,n,"query","");return r||""}function u(e,t,n,i){var a=Object(r.a)({},"query",n);return Object(c.f)(t,a,i,!0)}var f=Object(s.a)({displayName:"AlgoliaSearchBox",propTypes:{defaultRefinement:a.a.string},getProvidedProps:function(e,t,n){return{currentRefinement:o(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),isSearchStalled:n.isSearchStalled}},refine:function(e,t,n){return u(0,t,n,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){return function(e,t,n){return Object(c.a)(t,n,"query")}(0,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},getSearchParameters:function(e,t,n){return e.setQuery(o(t,n,{ais:t.contextValue,multiIndexContext:t.indexContextValue}))},getMetadata:function(e,t){var n=o(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return{id:"query",index:Object(c.c)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),items:null===n?[]:[{label:"".concat("query",": ").concat(n),value:function(t){return u(0,t,"",{ais:e.contextValue,multiIndexContext:e.indexContextValue})},currentRefinement:n}]}}});function h(){return(h=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 l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=n(0),b=n.n(y),j=n(215),O=n.n(j),R=n(235),F=n(222),x=n(223),S=n(224),P=n(225),w=n(216),E=n(230);n(246);n(266);var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ais";return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=r.filter((function(e){return e||""===e})).map((function(n){var r="".concat(t,"-").concat(e);return n?"".concat(r,"-").concat(n):r}));return O()(a)}}("SearchBox"),C=b.a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"#444",className:_("loadingIcon")},b.a.createElement("g",{fill:"none",fillRule:"evenodd"},b.a.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},b.a.createElement("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),b.a.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},b.a.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}))))),A=b.a.createElement("svg",{className:_("resetIcon"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",width:"10",height:"10"},b.a.createElement("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"})),N=b.a.createElement("svg",{className:_("submitIcon"),xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 40 40"},b.a.createElement("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"})),T=function(e){function t(e){var n,r,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,i=g(t).call(this),n=!i||"object"!==p(i)&&"function"!=typeof i?m(r):i,l(m(n),"getQuery",(function(){return n.props.searchAsYouType?n.props.currentRefinement:n.state.query})),l(m(n),"onInputMount",(function(e){n.input=e,n.props.inputRef&&("function"==typeof n.props.inputRef?n.props.inputRef(e):n.props.inputRef.current=e)})),l(m(n),"onKeyDown",(function(e){if(n.props.focusShortcuts){var t=n.props.focusShortcuts.map((function(e){return"string"==typeof e?e.toUpperCase().charCodeAt(0):e})),r=e.target||e.srcElement,i=r.tagName;if(!r.isContentEditable&&"INPUT"!==i&&"SELECT"!==i&&"TEXTAREA"!==i){var a=e.which||e.keyCode;-1!==t.indexOf(a)&&(n.input.focus(),e.stopPropagation(),e.preventDefault())}}})),l(m(n),"onSubmit",(function(e){e.preventDefault(),e.stopPropagation(),n.input.blur();var t=n.props,r=t.refine;return t.searchAsYouType||r(n.getQuery()),!1})),l(m(n),"onChange",(function(e){var t=n.props,r=t.searchAsYouType,i=t.refine,a=t.onChange,s=e.target.value;r?i(s):n.setState({query:s}),a&&a(e)})),l(m(n),"onReset",(function(e){var t=n.props,r=t.searchAsYouType,i=t.refine,a=t.onReset;i(""),n.input.focus(),r||n.setState({query:""}),a&&a(e)})),n.state={query:e.searchAsYouType?null:e.currentRefinement},n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.onKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onKeyDown)}},{key:"componentDidUpdate",value:function(e){this.props.searchAsYouType||e.currentRefinement===this.props.currentRefinement||this.setState({query:this.props.currentRefinement})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.translate,i=t.autoFocus,a=t.loadingIndicator,s=t.submit,c=t.reset,o=this.getQuery(),u=Object.keys(this.props).reduce((function(t,n){return-1===["onsubmit","onreset","onchange"].indexOf(n.toLowerCase())&&0===n.indexOf("on")?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}({},t,l({},n,e.props[n])):t}),{}),f=this.props.showLoadingIndicator&&this.props.isSearchStalled;return b.a.createElement("div",{className:O()(_(""),n)},b.a.createElement("form",{noValidate:!0,onSubmit:this.props.onSubmit?this.props.onSubmit:this.onSubmit,onReset:this.onReset,className:_("form",f&&"form--stalledSearch"),action:"",role:"search"},b.a.createElement("input",h({ref:this.onInputMount,type:"search",placeholder:r("placeholder"),autoFocus:i,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",required:!0,maxLength:"512",value:o,onChange:this.onChange},u,{className:_("input")})),b.a.createElement("button",{type:"submit",title:r("submitTitle"),className:_("submit")},s),b.a.createElement("button",{type:"reset",title:r("resetTitle"),className:_("reset"),hidden:!o||f},c),this.props.showLoadingIndicator&&b.a.createElement("span",{hidden:!f,className:_("loadingIndicator")},a)))}}])&&d(n.prototype,r),i&&d(n,i),t}(y.Component);l(T,"propTypes",{currentRefinement:a.a.string,className:a.a.string,refine:a.a.func.isRequired,translate:a.a.func.isRequired,loadingIndicator:a.a.node,reset:a.a.node,submit:a.a.node,focusShortcuts:a.a.arrayOf(a.a.oneOfType([a.a.string,a.a.number])),autoFocus:a.a.bool,searchAsYouType:a.a.bool,onSubmit:a.a.func,onReset:a.a.func,onChange:a.a.func,isSearchStalled:a.a.bool,showLoadingIndicator:a.a.bool,inputRef:a.a.oneOfType([a.a.func,a.a.exact({current:a.a.object})])}),l(T,"defaultProps",{currentRefinement:"",className:"",focusShortcuts:["s","/"],autoFocus:!1,searchAsYouType:!0,showLoadingIndicator:!1,isSearchStalled:!1,loadingIndicator:C,reset:A,submit:N});var k,I=(k={resetTitle:"Clear the search query.",submitTitle:"Submit your search query.",placeholder:"Search here…"},function(e){var t,n=function(t){function n(){var e,t;Object(F.a)(this,n);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return t=Object(S.a)(this,(e=Object(P.a)(n)).call.apply(e,[this].concat(a))),Object(r.a)(Object(w.a)(t),"translate",(function(e){var n=t.props.translations,r=n&&n.hasOwnProperty(e)?n[e]:k[e];if("function"==typeof r){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return r.apply(void 0,a)}return r})),t}return Object(E.a)(n,t),Object(x.a)(n,[{key:"render",value:function(){return b.a.createElement(e,Object(R.a)({translate:this.translate},this.props))}}]),n}(y.Component),i=e.displayName||e.name||"UnknownComponent";return n.displayName="Translatable(".concat(i,")"),n.propTypes={translations:(t=Object.keys(k),function(e,n,r){var i=e[n];if(i)for(var a=0,s=Object.keys(i);a<s.length;a++){var c=s[a];if(-1===t.indexOf(c))return new Error("Unknown `".concat(n,"` key `").concat(c,"`. Check the render method ")+"of `".concat(r,"`."))}})},n})(T);t.a=f(I)},273:function(e,t,n){"use strict";var r=n(213),i=n(222),a=n(224),s=n(225),c=n(216),o=n(223),u=n(230),f=n(212),h=n(0),l=n.n(h),d=n(237),p=n.n(d),m=n(1),g=n.n(m),v=n(229),y=n(255),b=n.n(y),j=n(214);var O={highlightPreTag:"<ais-highlight-0000000000>",highlightPostTag:"</ais-highlight-0000000000>"};var R=n(217);function F(e){"function"==typeof e.addAlgoliaAgent&&(e.addAlgoliaAgent("react (".concat(h.version,")")),e.addAlgoliaAgent("react-instantsearch (".concat("6.10.3",")")))}var x=function(e){return Object(R.e)({ais:e.props.contextValue,multiIndexContext:e.props.indexContextValue})},S=function(e,t){return e.props.indexContextValue.targetedIndex===t},P=function(e){return Boolean(e.props.indexId)},w=function(e,t){return e.props.indexId===t},E=function(e,t){var n=P(e),r=P(t);return n&&!r?-1:!n&&r?1:0};function _(e){return Object.keys(e).map((function(t){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0;return e.replace(/%s/g,(function(){return encodeURIComponent(n[i++])}))}("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]));var n})).join("&")}function C(e){var t=e.indexName,n=e.initialState,i=void 0===n?{}:n,a=e.searchClient,s=e.resultsState,c=e.stalledSearchDelay,o=b()(a,t,Object(r.a)({},O));F(a),o.on("search",(function(){h||(h=setTimeout((function(){var e=p.getState(),t=(e.resultsFacetValues,Object(v.a)(e,["resultsFacetValues"]));p.setState(Object(r.a)({},t,{isSearchStalled:!0}))}),c))})).on("result",R({indexId:t})).on("error",C);var u=!1,h=null,l=o.state,d=function(e){var t=[],n=!1;function r(){n||(n=!0,Object(j.c)((function(){n=!1,e()})))}return{registerWidget:function(e){return t.push(e),r(),function(){t.splice(t.indexOf(e),1),r()}},update:r,getWidgets:function(){return t}}}((function(){var e=m(p.getState().widgets);p.setState(Object(r.a)({},p.getState(),{metadata:e,searching:!0})),y()}));!function(e,t){if(!t)return;if((!e.transporter||e._cacheHydrated)&&(!e._useCache||"function"!=typeof e.addAlgoliaAgent))return;if(e.transporter&&!e._cacheHydrated){e._cacheHydrated=!0;var n=e.search;e.search=function(t){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];var c=t.map((function(e){return Object(r.a)({},e,{params:_(e.params)})}));return e.transporter.responsesCache.get({method:"search",args:[c].concat(a)},(function(){return n.apply(void 0,[t].concat(a))}))}}if(Array.isArray(t.results))return void function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.reduce((function(e,t){return e.concat(t.rawResults.map((function(e){return{indexName:e.index,params:e.params}})))}),[])]},{results:t.reduce((function(e,t){return e.concat(t.rawResults)}),[])});var n="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.reduce((function(e,t){return e.concat(t.rawResults.map((function(e){return{indexName:e.index,params:e.params}})))}),[])}));e.cache=Object(r.a)({},e.cache,Object(f.a)({},n,JSON.stringify({results:t.reduce((function(e,t){return e.concat(t.rawResults)}),[])})))}(e,t.results);!function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.rawResults.map((function(e){return{indexName:e.index,params:e.params}}))]},{results:t.rawResults});var n="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.rawResults.map((function(e){return{indexName:e.index,params:e.params}}))}));e.cache=Object(r.a)({},e.cache,Object(f.a)({},n,JSON.stringify({results:t.rawResults})))}(e,t)}(a,s);var p=function(e){var t=e,n=[];return{getState:function(){return t},setState:function(e){t=e,n.forEach((function(e){return e()}))},subscribe:function(e){return n.push(e),function(){n.splice(n.indexOf(e),1)}}}}({widgets:i,metadata:A(s),results:function(e){if(!e)return null;if(Array.isArray(e.results))return e.results.reduce((function(e,t){return Object(r.a)({},e,Object(f.a)({},t._internalIndexId,new b.a.SearchResults(new b.a.SearchParameters(t.state),t.rawResults)))}),{});return new b.a.SearchResults(new b.a.SearchParameters(e.state),e.rawResults)}(s),error:null,searching:!1,isSearchStalled:!0,searchingForFacetValues:!1});function m(e){return d.getWidgets().filter((function(e){return Boolean(e.getMetadata)})).map((function(t){return t.getMetadata(e)}))}function g(){var e=d.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){return!x(e)&&!P(e)})).reduce((function(e,t){return t.getSearchParameters(e)}),l),n=d.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){var n=x(e)&&S(e,t),r=P(e)&&w(e,t);return n||r})).sort(E).reduce((function(e,t){return t.getSearchParameters(e)}),e),i=d.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){var n=x(e)&&!S(e,t),r=P(e)&&!w(e,t);return n||r})).sort(E).reduce((function(e,t){var n=x(t)?t.props.indexContextValue.targetedIndex:t.props.indexId,i=e[n]||[];return Object(r.a)({},e,Object(f.a)({},n,i.concat(t)))}),{});return{mainParameters:n,derivedParameters:Object.keys(i).map((function(t){return{parameters:i[t].reduce((function(e,t){return t.getSearchParameters(e)}),e),indexId:t}}))}}function y(){if(!u){var e=g(o.state),t=e.mainParameters,n=e.derivedParameters;o.derivedHelpers.slice().forEach((function(e){e.detach()})),n.forEach((function(e){var t=e.indexId,n=e.parameters;o.derive((function(){return n})).on("result",R({indexId:t})).on("error",C)})),o.setState(t),o.search()}}function R(e){var t=e.indexId;return function(e){var n=p.getState(),i=!o.derivedHelpers.length,a=n.results?n.results:{};a=!i&&a.getFacetByName?{}:a,a=i?e.results:Object(r.a)({},a,Object(f.a)({},t,e.results));var s=p.getState(),c=s.isSearchStalled;o.hasPendingRequests()||(clearTimeout(h),h=null,c=!1);s.resultsFacetValues;var u=Object(v.a)(s,["resultsFacetValues"]);p.setState(Object(r.a)({},u,{results:a,isSearchStalled:c,searching:!1,error:null}))}}function C(e){var t=e.error,n=p.getState(),i=n.isSearchStalled;o.hasPendingRequests()||(clearTimeout(h),i=!1);n.resultsFacetValues;var a=Object(v.a)(n,["resultsFacetValues"]);p.setState(Object(r.a)({},a,{isSearchStalled:i,error:t,searching:!1}))}return{store:p,widgetsManager:d,getWidgetsIds:function(){return p.getState().metadata.reduce((function(e,t){return void 0!==t.id?e.concat(t.id):e}),[])},getSearchParameters:g,onSearchForFacetValues:function(e){var t=e.facetName,n=e.query,i=e.maxFacetHits,a=void 0===i?10:i,s=Math.max(1,Math.min(a,100));p.setState(Object(r.a)({},p.getState(),{searchingForFacetValues:!0})),o.searchForFacetValues(t,n,s).then((function(e){var i;p.setState(Object(r.a)({},p.getState(),{error:null,searchingForFacetValues:!1,resultsFacetValues:Object(r.a)({},p.getState().resultsFacetValues,(i={},Object(f.a)(i,t,e.facetHits),Object(f.a)(i,"query",n),i))}))}),(function(e){p.setState(Object(r.a)({},p.getState(),{searchingForFacetValues:!1,error:e}))})).catch((function(e){setTimeout((function(){throw e}))}))},onExternalStateUpdate:function(e){var t=m(e);p.setState(Object(r.a)({},p.getState(),{widgets:e,metadata:t,searching:!0})),y()},transitionState:function(e){var t=p.getState().widgets;return d.getWidgets().filter((function(e){return Boolean(e.transitionState)})).reduce((function(e,n){return n.transitionState(t,e)}),e)},updateClient:function(e){F(e),o.setClient(e),y()},updateIndex:function(e){l=l.setIndex(e)},clearCache:function(){o.clearCache(),y()},skipSearch:function(){u=!0}}}function A(e){return e?e.metadata.map((function(e){return Object(r.a)({value:function(){}},e,{items:e.items&&e.items.map((function(e){return Object(r.a)({value:function(){}},e,{items:e.items&&e.items.map((function(e){return Object(r.a)({value:function(){}},e)}))})}))})})):[]}var N=n(238);function T(e){return Boolean(e.searchState)}var k=function(e){function t(e){var n;Object(i.a)(this,t),n=Object(a.a)(this,Object(s.a)(t).call(this,e)),Object(f.a)(Object(c.a)(n),"isUnmounting",!1);var r=C({indexName:n.props.indexName,searchClient:n.props.searchClient,initialState:n.props.searchState||{},resultsState:n.props.resultsState,stalledSearchDelay:n.props.stalledSearchDelay}),o={store:r.store,widgetsManager:r.widgetsManager,mainTargetedIndex:n.props.indexName,onInternalStateUpdate:n.onWidgetsInternalStateUpdate.bind(Object(c.a)(n)),createHrefForState:n.createHrefForState.bind(Object(c.a)(n)),onSearchForFacetValues:n.onSearchForFacetValues.bind(Object(c.a)(n)),onSearchStateChange:n.onSearchStateChange.bind(Object(c.a)(n)),onSearchParameters:n.onSearchParameters.bind(Object(c.a)(n))};return n.state={isControlled:T(n.props),instantSearchManager:r,contextValue:o},n}return Object(u.a)(t,e),Object(o.a)(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=T(e),i=t.instantSearchManager.store.getState().widgets,a=e.searchState;return n&&!p()(i,a)&&t.instantSearchManager.onExternalStateUpdate(e.searchState),{isControlled:n,contextValue:Object(r.a)({},t.contextValue,{mainTargetedIndex:e.indexName})}}}]),Object(o.a)(t,[{key:"componentDidUpdate",value:function(e){var t=T(e);if(t&&!this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being controlled to uncontrolled");if(!t&&this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being uncontrolled to controlled");this.props.refresh!==e.refresh&&this.props.refresh&&this.state.instantSearchManager.clearCache(),e.indexName!==this.props.indexName&&this.state.instantSearchManager.updateIndex(this.props.indexName),e.searchClient!==this.props.searchClient&&this.state.instantSearchManager.updateClient(this.props.searchClient)}},{key:"componentWillUnmount",value:function(){this.isUnmounting=!0,this.state.instantSearchManager.skipSearch()}},{key:"createHrefForState",value:function(e){return e=this.state.instantSearchManager.transitionState(e),this.state.isControlled&&this.props.createURL?this.props.createURL(e,this.getKnownKeys()):"#"}},{key:"onWidgetsInternalStateUpdate",value:function(e){e=this.state.instantSearchManager.transitionState(e),this.onSearchStateChange(e),this.state.isControlled||this.state.instantSearchManager.onExternalStateUpdate(e)}},{key:"onSearchStateChange",value:function(e){this.props.onSearchStateChange&&!this.isUnmounting&&this.props.onSearchStateChange(e)}},{key:"onSearchParameters",value:function(e,t,n,r){if(this.props.onSearchParameters){var i=this.props.searchState?this.props.searchState:{};this.props.onSearchParameters(e,t,n,i)}if(this.props.widgetsCollector){var a=this.props.searchState?this.props.searchState:{};this.props.widgetsCollector({getSearchParameters:e,getMetadata:r,context:t,props:n,searchState:a})}}},{key:"onSearchForFacetValues",value:function(e){this.state.instantSearchManager.onSearchForFacetValues(e)}},{key:"getKnownKeys",value:function(){return this.state.instantSearchManager.getWidgetsIds()}},{key:"render",value:function(){return 0===h.Children.count(this.props.children)?null:l.a.createElement(N.c,{value:this.state.contextValue},this.props.children)}}]),t}(h.Component);Object(f.a)(k,"defaultProps",{stalledSearchDelay:200,refresh:!1}),Object(f.a)(k,"propTypes",{indexName:g.a.string.isRequired,searchClient:g.a.shape({search:g.a.func.isRequired,searchForFacetValues:g.a.func,addAlgoliaAgent:g.a.func,clearCache:g.a.func}).isRequired,createURL:g.a.func,refresh:g.a.bool,searchState:g.a.object,onSearchStateChange:g.a.func,onSearchParameters:g.a.func,widgetsCollector:g.a.func,resultsState:g.a.oneOfType([g.a.object,g.a.array]),children:g.a.node,stalledSearchDelay:g.a.number});t.a=k},277:function(e,t,n){"use strict";var r=n(212),i=n(213),a=n(229),s=n(214),c=n(221),o=n(217);var u=Object(c.a)({displayName:"AlgoliaConfigure",getProvidedProps:function(){return{}},getSearchParameters:function(e,t){t.children,t.contextValue,t.indexContextValue;var n=Object(a.a)(t,["children","contextValue","indexContextValue"]);return e.setQueryParameters(n)},transitionState:function(e,t,n){var c="configure",u=(e.children,e.contextValue,e.indexContextValue,Object(a.a)(e,["children","contextValue","indexContextValue"])),f=Object.keys(e),h=this._props?Object.keys(this._props).filter((function(e){return-1===f.indexOf(e)})):[];this._props=e;var l=Object(r.a)({},c,Object(i.a)({},Object(s.f)(n[c],h),u));return Object(o.f)(n,l,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){var n="configure",i=Object(o.c)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),a=Object(o.e)({ais:e.contextValue,multiIndexContext:e.indexContextValue})&&t.indices?t.indices[i]:t,s=(a&&a[n]?Object.keys(a[n]):[]).reduce((function(t,r){return e[r]||(t[r]=a[n][r]),t}),{}),c=Object(r.a)({},n,s);return Object(o.f)(t,c,{ais:e.contextValue,multiIndexContext:e.indexContextValue})}});t.a=u((function(){return null}))}}]);
dist/assets/js/{chunk-5.17f1520bfd98b4fd6ef2.js → chunk-5.f06953d68b59268254e5.js} RENAMED
@@ -3,7 +3,7 @@
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var i=a.apply(null,n);i&&e.push(i)}else if("object"===o)for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},249:function(e,t,r){(function(t){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,i=parseInt,c="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,l=c||s||Function("return this")(),u=Object.prototype.toString,p=Math.max,f=Math.min,m=function(){return l.Date.now()};function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(d(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=d(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var c=a.test(e);return c||o.test(e)?i(e.slice(2),c?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,r){var n,a,o,i,c,s,l=0,u=!1,b=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=n,o=a;return n=a=void 0,l=t,i=e.apply(o,r)}function g(e){return l=e,c=setTimeout(x,t),u?v(e):i}function T(e){var r=e-s;return void 0===s||r>=t||r<0||b&&e-l>=o}function x(){var e=m();if(T(e))return j(e);c=setTimeout(x,function(e){var r=t-(e-s);return b?f(r,o-(e-l)):r}(e))}function j(e){return c=void 0,h&&n?v(e):(n=a=void 0,i)}function O(){var e=m(),r=T(e);if(n=arguments,a=this,s=e,r){if(void 0===c)return g(s);if(b)return c=setTimeout(x,t),v(s)}return void 0===c&&(c=setTimeout(x,t)),i}return t=y(t)||0,d(r)&&(u=!!r.leading,o=(b="maxWait"in r)?p(y(r.maxWait)||0,t):o,h="trailing"in r?!!r.trailing:h),O.cancel=function(){void 0!==c&&clearTimeout(c),l=0,n=s=a=c=void 0},O.flush=function(){return void 0===c?i:j(m())},O}}).call(this,r(84))},272:function(e,t,r){"use strict";r.r(t);r(31),r(38),r(39),r(32),r(33),r(80),r(18),r(81),r(29),r(21),r(40);var n=r(0),a=r.n(n),o=r(1),i=r.n(o),c=r(15),s=r(231),l=(r(57),r(232),r(16)),u=function(e){var t=e.image,r=t?"theme-screenshot":"theme-screenshot blank";return a.a.createElement("div",{className:r},t?a.a.createElement("img",{src:t,alt:""}):null)};u.propTypes={image:i.a.string};var p=u,f=r(220),m=function(e){var t=e.label;return a.a.createElement("span",{className:"more-details"},t)};m.propTypes={label:i.a.string};var d=function(e){var t=e.group;return a.a.createElement("p",{className:"theme-author"},t)};d.propTypes={group:i.a.string};var y=r(233),b=r(234),h=r(13);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return O(this,r)}}function O(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
7
  /**
8
  * Display the individual template item for usage our template list
9
  *
@@ -19,7 +19,7 @@
19
  * @copyright Copyright (c) 2021, Blue Liquid Designs
20
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
21
  * @since 4.1
22
- */var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(i,e);var t,r,n,o=I(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),M(F(t=o.call(this,e)),"handleSearch",(function(e){e.persist(),t.runSearch(e)})),M(F(t),"runSearch",(function(e){t.props.onSearch(e.target.value||"")})),t.runSearch=D()(t.runSearch,200),t}return t=i,(r=[{key:"componentDidMount",value:function(){this.input.focus()}},{key:"render",value:function(){var e=this;return a.a.createElement("div",{role:"form"},a.a.createElement("input",{className:"wp-filter-search",id:"wp-filter-search-input",ref:function(t){return e.input=t},placeholder:GFPDF.searchTemplatePlaceholder,type:"search","aria-describedby":"live-search-desc",tabIndex:"145",onChange:this.handleSearch,defaultValue:this.props.search}))}}])&&k(t.prototype,r),n&&k(t,n),i}(n.Component);M(A,"propTypes",{onSearch:i.a.func,search:i.a.string});var G=Object(c.b)((function(e){return{search:e.template.search}}),(function(e){return{onSearch:function(t){e(Object(h.u)(t))}}}))(A),$=function(e){var t=e.header;return a.a.createElement("h1",null,t)};$.propTypes={header:i.a.string};var H=$,J=(r(22),r(82),r(71),r(111),r(91),r(83),r(215)),W=r.n(J),K=r(166);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ee(e);if(t){var a=ee(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Y(this,r)}}function Y(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?Z(e):t}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
23
  /**
24
  * Handles the uploading of new PDF templates to the server
25
  *
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var i=a.apply(null,n);i&&e.push(i)}else if("object"===o)for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},249:function(e,t,r){(function(t){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,i=parseInt,c="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,l=c||s||Function("return this")(),u=Object.prototype.toString,p=Math.max,f=Math.min,m=function(){return l.Date.now()};function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(d(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=d(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var c=a.test(e);return c||o.test(e)?i(e.slice(2),c?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,r){var n,a,o,i,c,s,l=0,u=!1,b=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=n,o=a;return n=a=void 0,l=t,i=e.apply(o,r)}function g(e){return l=e,c=setTimeout(x,t),u?v(e):i}function T(e){var r=e-s;return void 0===s||r>=t||r<0||b&&e-l>=o}function x(){var e=m();if(T(e))return j(e);c=setTimeout(x,function(e){var r=t-(e-s);return b?f(r,o-(e-l)):r}(e))}function j(e){return c=void 0,h&&n?v(e):(n=a=void 0,i)}function O(){var e=m(),r=T(e);if(n=arguments,a=this,s=e,r){if(void 0===c)return g(s);if(b)return c=setTimeout(x,t),v(s)}return void 0===c&&(c=setTimeout(x,t)),i}return t=y(t)||0,d(r)&&(u=!!r.leading,o=(b="maxWait"in r)?p(y(r.maxWait)||0,t):o,h="trailing"in r?!!r.trailing:h),O.cancel=function(){void 0!==c&&clearTimeout(c),l=0,n=s=a=c=void 0},O.flush=function(){return void 0===c?i:j(m())},O}}).call(this,r(84))},272:function(e,t,r){"use strict";r.r(t);r(31),r(38),r(39),r(32),r(42),r(80),r(18),r(81),r(29),r(25),r(40);var n=r(0),a=r.n(n),o=r(1),i=r.n(o),c=r(15),s=r(231),l=(r(57),r(232),r(16)),u=function(e){var t=e.image,r=t?"theme-screenshot":"theme-screenshot blank";return a.a.createElement("div",{className:r},t?a.a.createElement("img",{src:t,alt:""}):null)};u.propTypes={image:i.a.string};var p=u,f=r(220),m=function(e){var t=e.label;return a.a.createElement("span",{className:"more-details"},t)};m.propTypes={label:i.a.string};var d=function(e){var t=e.group;return a.a.createElement("p",{className:"theme-author"},t)};d.propTypes={group:i.a.string};var y=r(233),b=r(234),h=r(13);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return O(this,r)}}function O(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
7
  /**
8
  * Display the individual template item for usage our template list
9
  *
19
  * @copyright Copyright (c) 2021, Blue Liquid Designs
20
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
21
  * @since 4.1
22
+ */var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(i,e);var t,r,n,o=I(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),M(F(t=o.call(this,e)),"handleSearch",(function(e){e.persist(),t.runSearch(e)})),M(F(t),"runSearch",(function(e){t.props.onSearch(e.target.value||"")})),t.runSearch=D()(t.runSearch,200),t}return t=i,(r=[{key:"componentDidMount",value:function(){this.input.focus()}},{key:"render",value:function(){var e=this;return a.a.createElement("div",{role:"form"},a.a.createElement("input",{className:"wp-filter-search",id:"wp-filter-search-input",ref:function(t){return e.input=t},placeholder:GFPDF.searchTemplatePlaceholder,type:"search","aria-describedby":"live-search-desc",tabIndex:"145",onChange:this.handleSearch,defaultValue:this.props.search}))}}])&&k(t.prototype,r),n&&k(t,n),i}(n.Component);M(A,"propTypes",{onSearch:i.a.func,search:i.a.string});var G=Object(c.b)((function(e){return{search:e.template.search}}),(function(e){return{onSearch:function(t){e(Object(h.u)(t))}}}))(A),$=function(e){var t=e.header;return a.a.createElement("h1",null,t)};$.propTypes={header:i.a.string};var H=$,J=(r(19),r(82),r(71),r(111),r(92),r(83),r(215)),W=r.n(J),K=r(166);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ee(e);if(t){var a=ee(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Y(this,r)}}function Y(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?Z(e):t}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
23
  /**
24
  * Handles the uploading of new PDF templates to the server
25
  *
dist/assets/js/{chunk-6.92c470970cbebc716b25.js → chunk-6.6c41d7a031f41a494964.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{250:function(e,t,r){"use strict";var n=r(7),o=r(55).findIndex,a=r(95),i=r(42),c=!0,s=i("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),n({target:"Array",proto:!0,forced:c||!s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("findIndex")},275:function(e,t,r){"use strict";r.r(t);r(31),r(38),r(39),r(22),r(250),r(32),r(80),r(18),r(81),r(41),r(29),r(21),r(175),r(40);var n=r(0),o=r.n(n),a=r(1),i=r.n(a),c=r(15),s=r(231),p=(r(57),r(16));function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d(e);if(t){var o=d(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * Renders the template navigation header that get displayed on the
4
  * /template/:id pages.
@@ -7,7 +7,7 @@
7
  * @copyright Copyright (c) 2021, Blue Liquid Designs
8
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
  * @since 4.1
10
- */var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(i,e);var t,r,n,a=y(i);function i(){var e;u(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return v(b(e=a.call.apply(a,[this].concat(r))),"handlePreviousTemplate",(function(t){t.preventDefault(),t.stopPropagation();var r=e.props.templates[e.props.templateIndex-1].id;r&&e.props.history.push("/template/"+r)})),v(b(e),"handleNextTemplate",(function(t){t.preventDefault(),t.stopPropagation();var r=e.props.templates[e.props.templateIndex+1].id;r&&e.props.history.push("/template/"+r)})),v(b(e),"handleKeyPress",(function(t){e.props.isFirst||37!==t.keyCode||e.handlePreviousTemplate(t),e.props.isLast||39!==t.keyCode||e.handleNextTemplate(t)})),e}return t=i,(r=[{key:"componentDidMount",value:function(){window.addEventListener("keydown",this.handleKeyPress,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this.handleKeyPress,!1)}},{key:"render",value:function(){var e=this.props.isFirst,t=this.props.isLast,r=e?"dashicons dashicons-no left disabled":"dashicons dashicons-no left",n=t?"dashicons dashicons-no right disabled":"dashicons dashicons-no right",a=e?"disabled":"",i=t?"disabled":"";return o.a.createElement("span",null,o.a.createElement("button",{onClick:this.handlePreviousTemplate,onKeyDown:this.handleKeyPress,className:r,tabIndex:"141",disabled:a},o.a.createElement("span",{className:"screen-reader-text"},this.props.showPreviousTemplateText)),o.a.createElement("button",{onClick:this.handleNextTemplate,onKeyDown:this.handleKeyPress,className:n,tabIndex:"141",disabled:i},o.a.createElement("span",{className:"screen-reader-text"},this.props.showNextTemplateText)))}}])&&f(t.prototype,r),n&&f(t,n),i}(n.Component);v(g,"propTypes",{templates:i.a.array.isRequired,templateIndex:i.a.number.isRequired,history:i.a.object,isFirst:i.a.bool,isLast:i.a.bool,showPreviousTemplateText:i.a.string,showNextTemplateText:i.a.string});var T=Object(p.f)(Object(c.b)((function(e,t){var r=t.templates,n=t.template.id,o=r.length-1;return{isFirst:r[0].id===n,isLast:r[o].id===n}}))(g)),x=(r(232),r(234)),w=(r(58),r(82),r(93),r(94),r(91),r(83),r(13));function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=C(e);if(t){var o=C(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
11
  /**
12
  * Renders a delete button which then queries our server and
13
  * removes the selected PDF template
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{250:function(e,t,r){"use strict";var n=r(7),o=r(48).findIndex,a=r(86),i=r(33),c=!0,s=i("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),n({target:"Array",proto:!0,forced:c||!s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("findIndex")},275:function(e,t,r){"use strict";r.r(t);r(31),r(38),r(39),r(19),r(250),r(32),r(80),r(18),r(81),r(41),r(29),r(25),r(175),r(40);var n=r(0),o=r.n(n),a=r(1),i=r.n(a),c=r(15),s=r(231),p=(r(57),r(16));function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d(e);if(t){var o=d(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * Renders the template navigation header that get displayed on the
4
  * /template/:id pages.
7
  * @copyright Copyright (c) 2021, Blue Liquid Designs
8
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
  * @since 4.1
10
+ */var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(i,e);var t,r,n,a=y(i);function i(){var e;u(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return v(b(e=a.call.apply(a,[this].concat(r))),"handlePreviousTemplate",(function(t){t.preventDefault(),t.stopPropagation();var r=e.props.templates[e.props.templateIndex-1].id;r&&e.props.history.push("/template/"+r)})),v(b(e),"handleNextTemplate",(function(t){t.preventDefault(),t.stopPropagation();var r=e.props.templates[e.props.templateIndex+1].id;r&&e.props.history.push("/template/"+r)})),v(b(e),"handleKeyPress",(function(t){e.props.isFirst||37!==t.keyCode||e.handlePreviousTemplate(t),e.props.isLast||39!==t.keyCode||e.handleNextTemplate(t)})),e}return t=i,(r=[{key:"componentDidMount",value:function(){window.addEventListener("keydown",this.handleKeyPress,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this.handleKeyPress,!1)}},{key:"render",value:function(){var e=this.props.isFirst,t=this.props.isLast,r=e?"dashicons dashicons-no left disabled":"dashicons dashicons-no left",n=t?"dashicons dashicons-no right disabled":"dashicons dashicons-no right",a=e?"disabled":"",i=t?"disabled":"";return o.a.createElement("span",null,o.a.createElement("button",{onClick:this.handlePreviousTemplate,onKeyDown:this.handleKeyPress,className:r,tabIndex:"141",disabled:a},o.a.createElement("span",{className:"screen-reader-text"},this.props.showPreviousTemplateText)),o.a.createElement("button",{onClick:this.handleNextTemplate,onKeyDown:this.handleKeyPress,className:n,tabIndex:"141",disabled:i},o.a.createElement("span",{className:"screen-reader-text"},this.props.showNextTemplateText)))}}])&&f(t.prototype,r),n&&f(t,n),i}(n.Component);v(g,"propTypes",{templates:i.a.array.isRequired,templateIndex:i.a.number.isRequired,history:i.a.object,isFirst:i.a.bool,isLast:i.a.bool,showPreviousTemplateText:i.a.string,showNextTemplateText:i.a.string});var T=Object(p.f)(Object(c.b)((function(e,t){var r=t.templates,n=t.template.id,o=r.length-1;return{isFirst:r[0].id===n,isLast:r[o].id===n}}))(g)),x=(r(232),r(234)),w=(r(58),r(82),r(94),r(95),r(92),r(83),r(13));function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=C(e);if(t){var o=C(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
11
  /**
12
  * Renders a delete button which then queries our server and
13
  * removes the selected PDF template
dist/assets/js/{chunk-7.8372fab709561b6d1b31.js → chunk-7.9a1736bd0281c624aba5.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{251:function(t,e,r){"use strict";var n=r(7),o=r(74),a=[].reverse,c=[1,2];n({target:"Array",proto:!0,forced:String(c)===String(c.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a.call(this)}})},274:function(t,e,r){"use strict";r.r(e);var n=r(0),o=r.n(n),a=r(1),c=r.n(a),i=r(60),u=r(16),s=(r(31),r(38),r(39),r(57),r(32),r(33),r(80),r(18),r(81),r(41),r(29),r(21),r(92),r(40),r(15)),l=(r(251),r(91),function(){return o.a.createElement("div",{className:"gfpdf-core-font-spacer"},"---")});function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e,r){return e&&y(t.prototype,e),r&&y(t,r),t}function b(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=v(t);if(e){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return F(this,r)}}function F(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?g(t):e}function g(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2021, Blue Liquid Designs
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{251:function(t,e,r){"use strict";var n=r(7),o=r(74),a=[].reverse,c=[1,2];n({target:"Array",proto:!0,forced:String(c)===String(c.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a.call(this)}})},274:function(t,e,r){"use strict";r.r(e);var n=r(0),o=r.n(n),a=r(1),c=r.n(a),i=r(60),u=r(16),s=(r(31),r(38),r(39),r(57),r(32),r(42),r(80),r(18),r(81),r(41),r(29),r(25),r(93),r(40),r(15)),l=(r(251),r(92),function(){return o.a.createElement("div",{className:"gfpdf-core-font-spacer"},"---")});function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e,r){return e&&y(t.prototype,e),r&&y(t,r),t}function b(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=v(t);if(e){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return F(this,r)}}function F(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?g(t):e}function g(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2021, Blue Liquid Designs
dist/assets/js/{chunk-8.6ad70cde0bdac6951f56.js → chunk-8.4d85e80b996f0e8e6163.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{269:function(t,e,n){"use strict";n.r(e),n.d(e,"AdvancedButton",(function(){return d}));n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(21),n(40);var r=n(0),o=n.n(r),u=n(1),c=n.n(u);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?y(t):e}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2021, Blue Liquid Designs
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{269:function(t,e,n){"use strict";n.r(e),n.d(e,"AdvancedButton",(function(){return d}));n(31),n(38),n(39),n(57),n(32),n(80),n(18),n(81),n(29),n(25),n(40);var r=n(0),o=n.n(r),u=n(1),c=n.n(u);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?y(t):e}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2021, Blue Liquid Designs
dist/assets/js/{chunk-9.63fc3295f246d2b91cbf.js → chunk-9.490ff386d143b3b668c9.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{276:function(e,t,r){"use strict";r.r(t);r(31),r(38),r(39),r(57),r(58),r(82),r(48),r(32),r(252),r(100),r(71),r(93),r(94),r(80),r(91),r(18),r(81),r(41),r(29),r(21),r(152),r(83),r(40);var n=r(0),a=r.n(n),o=r(254),c=r.n(o),i=r(270),l=r(273),u=r(277),s=r(271),f=(r(33),r(153),r(1)),h=function(e){var t=e.groups;return a.a.createElement("div",{className:"search-result"},Object.entries(t).map((function(e,t){return a.a.createElement("section",{className:"group-section",key:t},a.a.createElement("div",{className:"group-name"},e[0]),a.a.createElement("ul",{className:"search-menu"},e[1].map((function(e,t){var r=e[1],n=e[2],o=(e[0].lvl2?e[0].lvl2:"")+(e[0].lvl3?" - "+e[0].lvl3:""),c=n?n.substr(0,80)+"...":o;return a.a.createElement("li",{key:t},a.a.createElement("a",{href:r},a.a.createElement("div",{className:"hit-container"},a.a.createElement("div",{className:"hit-icon"},a.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},a.a.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))),a.a.createElement("div",{className:"hit-content-wrapper"},a.a.createElement("span",{className:"hit-title",dangerouslySetInnerHTML:{__html:e[0].lvl1}}),a.a.createElement("span",{className:"hit-path",dangerouslySetInnerHTML:{__html:c}})),a.a.createElement("div",{className:"hit-action"},a.a.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},a.a.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},a.a.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),a.a.createElement("path",{d:"M8 17l-6-6 6-6"})))))))}))))})))};h.propTypes={groups:r.n(f).a.object.isRequired};var p=h;function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){T(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return j(this,r)}}function j(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2021, Blue Liquid Designs
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{276:function(e,t,r){"use strict";r.r(t);r(31),r(38),r(39),r(57),r(58),r(82),r(55),r(32),r(252),r(100),r(71),r(94),r(95),r(80),r(92),r(18),r(81),r(41),r(29),r(25),r(152),r(83),r(40);var n=r(0),a=r.n(n),o=r(254),c=r.n(o),i=r(270),l=r(273),u=r(277),s=r(271),f=(r(42),r(153),r(1)),h=function(e){var t=e.groups;return a.a.createElement("div",{className:"search-result"},Object.entries(t).map((function(e,t){return a.a.createElement("section",{className:"group-section",key:t},a.a.createElement("div",{className:"group-name"},e[0]),a.a.createElement("ul",{className:"search-menu"},e[1].map((function(e,t){var r=e[1],n=e[2],o=(e[0].lvl2?e[0].lvl2:"")+(e[0].lvl3?" - "+e[0].lvl3:""),c=n?n.substr(0,80)+"...":o;return a.a.createElement("li",{key:t},a.a.createElement("a",{href:r},a.a.createElement("div",{className:"hit-container"},a.a.createElement("div",{className:"hit-icon"},a.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},a.a.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))),a.a.createElement("div",{className:"hit-content-wrapper"},a.a.createElement("span",{className:"hit-title",dangerouslySetInnerHTML:{__html:e[0].lvl1}}),a.a.createElement("span",{className:"hit-path",dangerouslySetInnerHTML:{__html:c}})),a.a.createElement("div",{className:"hit-action"},a.a.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},a.a.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},a.a.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),a.a.createElement("path",{d:"M8 17l-6-6 6-6"})))))))}))))})))};h.propTypes={groups:r.n(f).a.object.isRequired};var p=h;function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){T(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return j(this,r)}}function j(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2021, 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.0.3/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){var e=r(59),o=r(23);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,r){"use strict";var e=r(7),o=r(55).find,i=r(95),u=r(42),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){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(23);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){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,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){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(19),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){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(66),o=r(59),i=r(24),u=r(20),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,r){var e=r(5),o=r(25),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(25);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(19),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){n.f=Object.getOwnPropertySymbols},,,,,,,,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,r){var e=r(19),o=r(20),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(87),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(22);(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.1.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)}))}))}]);
pdf.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Gravity PDF
4
- Version: 6.0.3
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.0.3' ); /* 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 */
1
  <?php
2
  /*
3
  Plugin Name: Gravity PDF
4
+ Version: 6.1.1
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.1.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 */
src/Helper/Fields/Field_Number.php CHANGED
@@ -78,7 +78,7 @@ class Field_Number extends Helper_Abstract_Fields {
78
  return $this->cache();
79
  }
80
 
81
- $value = esc_html( GFCommon::format_number( $this->get_value(), $this->field->numberFormat, $this->entry['currency'] ) );
82
 
83
  $this->cache( $value );
84
 
78
  return $this->cache();
79
  }
80
 
81
+ $value = esc_html( GFCommon::format_number( $this->get_value(), $this->field->numberFormat, $this->entry['currency'], apply_filters( 'gform_include_thousands_sep_pre_format_number', false, $this->field ) ) );
82
 
83
  $this->cache( $value );
84
 
src/Helper/Fields/Field_Radio.php CHANGED
@@ -105,7 +105,7 @@ class Field_Radio extends Helper_Abstract_Fields {
105
  $value = $this->value();
106
 
107
  if ( apply_filters( 'gfpdf_field_is_empty_value_instead_of_label', true, $value, $this->field, $this->entry, $this->form, $this ) ) {
108
- return empty( $value['value'] );
109
  }
110
 
111
  return parent::is_empty();
105
  $value = $this->value();
106
 
107
  if ( apply_filters( 'gfpdf_field_is_empty_value_instead_of_label', true, $value, $this->field, $this->entry, $this->form, $this ) ) {
108
+ return strlen( trim( $value['value'] ) ) === 0;
109
  }
110
 
111
  return parent::is_empty();
src/Helper/Fields/Field_Repeater.php CHANGED
@@ -102,7 +102,10 @@ class Field_Repeater extends Helper_Abstract_Fields {
102
 
103
  $class = $pdf_model->get_field_class( $sub_field, $this->form, $item, $products );
104
  $form_data = $class->form_data();
105
- $data = array_replace_recursive( $data, [ $id => $form_data['field'] ] );
 
 
 
106
  }
107
  }
108
 
102
 
103
  $class = $pdf_model->get_field_class( $sub_field, $this->form, $item, $products );
104
  $form_data = $class->form_data();
105
+
106
+ if ( isset( $form_data['field'] ) ) {
107
+ $data = array_replace_recursive( $data, [ $id => $form_data['field'] ] );
108
+ }
109
  }
110
  }
111
 
src/Helper/Helper_Misc.php CHANGED
@@ -357,6 +357,8 @@ class Helper_Misc {
357
  */
358
  public function rmdir( $dir ) {
359
 
 
 
360
  try {
361
  $files = new RecursiveIteratorIterator(
362
  new RecursiveDirectoryIterator( $dir, RecursiveDirectoryIterator::SKIP_DOTS ),
@@ -368,6 +370,8 @@ class Helper_Misc {
368
  if ( ! $function( $fileinfo->getRealPath() ) ) {
369
  throw new Exception( 'Could not run ' . $function . ' on ' . $fileinfo->getRealPath() );
370
  }
 
 
371
  }
372
  } catch ( Exception $e ) {
373
  $this->log->error(
@@ -381,7 +385,14 @@ class Helper_Misc {
381
  return new WP_Error( 'recursion_delete_problem', $e );
382
  }
383
 
384
- return rmdir( $dir );
 
 
 
 
 
 
 
385
  }
386
 
387
  /**
357
  */
358
  public function rmdir( $dir ) {
359
 
360
+ $this->log->notice( sprintf( 'Begin deleting directory recursively: %s', $dir ) );
361
+
362
  try {
363
  $files = new RecursiveIteratorIterator(
364
  new RecursiveDirectoryIterator( $dir, RecursiveDirectoryIterator::SKIP_DOTS ),
370
  if ( ! $function( $fileinfo->getRealPath() ) ) {
371
  throw new Exception( 'Could not run ' . $function . ' on ' . $fileinfo->getRealPath() );
372
  }
373
+
374
+ $this->log->notice( sprintf( 'Successfully ran `%s` on %s', $function, $fileinfo->getRealPath() ) );
375
  }
376
  } catch ( Exception $e ) {
377
  $this->log->error(
385
  return new WP_Error( 'recursion_delete_problem', $e );
386
  }
387
 
388
+ $results = rmdir( $dir );
389
+ if ( ! $results ) {
390
+ $this->log->error( sprintf( 'Could not delete the top-level directory: %s', $dir ) );
391
+ }
392
+
393
+ $this->log->notice( sprintf( 'End deleting directory recursively: %s', $dir ) );
394
+
395
+ return $results;
396
  }
397
 
398
  /**
src/Helper/Helper_PDF_List_Table.php CHANGED
@@ -96,7 +96,7 @@ class Helper_PDF_List_Table extends WP_List_Table {
96
  'name' => esc_html__( 'Label', 'gravity-forms-pdf-extended' ),
97
  'template' => esc_html__( 'Template', 'gravity-forms-pdf-extended' ),
98
  'notifications' => esc_html__( 'Notifications', 'gravity-forms-pdf-extended' ),
99
- 'shortcode' => esc_html__( 'Shortcode', 'gravity-forms-pdf-extended' ),
100
  ];
101
 
102
  /* See https://docs.gravitypdf.com/v6/developers/filters/gfpdf_pdf_list_columns/ for more details about this filter */
@@ -281,13 +281,28 @@ class Helper_PDF_List_Table extends WP_List_Table {
281
  $pdf_id = esc_attr( $item['id'] );
282
 
283
  /* Prepare our shortcode sample */
284
- $shortcode = '[gravitypdf name="' . esc_attr( $name ) . '" id="' . esc_attr( $item['id'] ) . '" text="' . esc_attr__( 'Download PDF', 'gravity-forms-pdf-extended' ) . '"]';
 
 
 
 
 
285
 
286
- /* Set up hidden text for screen readers */
287
- echo '<p id="' . $pdf_id . '" class="screen-reader-text">' . sprintf( esc_html__( 'Copy Download %s Shortcode', 'gravity-forms-pdf-extended' ), esc_html( $item['name'] ) ) . '</p>';
288
 
289
- /* Display in a readonly field */
290
- echo '<input type="text" aria-labeledby="' . $pdf_id . '" class="gravitypdf_shortcode" value="' . esc_attr( $shortcode ) . '" readonly="readonly" onclick="jQuery(this).select();" />';
 
 
 
 
 
 
 
 
 
 
 
291
 
292
  do_action( 'gfpdf_post_pdf_list_shortcode_column', $item, $this );
293
  }
@@ -341,7 +356,7 @@ class Helper_PDF_List_Table extends WP_List_Table {
341
 
342
  ?>
343
 
344
- <a href="<?= $edit_url; ?>" aria-label="<?= esc_attr( $pdf_name ) . esc_attr__( 'PDF', 'gravity-forms-pdf-extended' ) ?>"><strong><?= esc_html( $pdf_name ) ?></strong></a>
345
  <div class="row-actions">
346
 
347
  <?php
96
  'name' => esc_html__( 'Label', 'gravity-forms-pdf-extended' ),
97
  'template' => esc_html__( 'Template', 'gravity-forms-pdf-extended' ),
98
  'notifications' => esc_html__( 'Notifications', 'gravity-forms-pdf-extended' ),
99
+ 'shortcode' => esc_html__( 'Shortcode', 'gravity-forms-pdf-extended' ) . gform_tooltip( 'pdf_shortcode', 'gfpdf-tooltip', true ),
100
  ];
101
 
102
  /* See https://docs.gravitypdf.com/v6/developers/filters/gfpdf_pdf_list_columns/ for more details about this filter */
281
  $pdf_id = esc_attr( $item['id'] );
282
 
283
  /* Prepare our shortcode sample */
284
+ $shortcode = sprintf(
285
+ '[gravitypdf name="%1$s" id="%2$s" text="%3$s"]',
286
+ $name,
287
+ $pdf_id,
288
+ __( 'Download PDF', 'gravity-forms-pdf-extended' )
289
+ );
290
 
291
+ $aria_label = sprintf( __( 'Copy the %s PDF shortcode to the clipboard', 'gravity-forms-pdf-extended' ), $item['name'] );
 
292
 
293
+ ob_start();
294
+ ?>
295
+
296
+ <button data-selected-text="<?= esc_attr__( 'Shortcode copied!', 'gravity-forms-pdf-extended' ) ?>" type="button" class="gform-status-indicator btn-shortcode" data-clipboard-text="<?= esc_attr( $shortcode ) ?>" aria-label="<?= esc_attr( $aria_label ) ?>" role="status" aria-live="polite">
297
+ <?= esc_html__( 'Copy Shortcode', 'gravity-forms-pdf-extended' ) ?>
298
+ </button>
299
+
300
+ <div class="gpdf-fallback-input">
301
+ <input type="text" id="<?= $pdf_id ?>" value="<?= esc_attr( $shortcode ) ?>" aria-label="<?= esc_attr( $aria_label ) ?>" />
302
+ </div>
303
+
304
+ <?php
305
+ ob_end_flush();
306
 
307
  do_action( 'gfpdf_post_pdf_list_shortcode_column', $item, $this );
308
  }
356
 
357
  ?>
358
 
359
+ <a href="<?= $edit_url; ?>" aria-label="<?= esc_attr( sprintf( __( '%s PDF', 'gravity-forms-pdf-extended' ), $pdf_name ) ) ?>"><strong><?= esc_html( $pdf_name ) ?></strong></a>
360
  <div class="row-actions">
361
 
362
  <?php
src/Helper/Helper_Pdf_Queue.php CHANGED
@@ -85,6 +85,12 @@ class Helper_Pdf_Queue extends GF_Background_Process {
85
  public function task( $callbacks ) {
86
  $callback = array_shift( $callbacks );
87
 
 
 
 
 
 
 
88
  $this->log->notice(
89
  sprintf(
90
  'Begin async PDF task for %s',
@@ -92,47 +98,57 @@ class Helper_Pdf_Queue extends GF_Background_Process {
92
  )
93
  );
94
 
95
- if ( is_callable( $callback['func'] ) ) {
96
- try {
97
- /* Call our use function and pass in any arguments */
98
- $args = ( isset( $callback['args'] ) && is_array( $callback['args'] ) ) ? $callback['args'] : [];
99
- call_user_func_array( $callback['func'], $args );
100
- } catch ( Exception $e ) {
 
 
 
 
 
101
 
102
- /* Log Error */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  $this->log->error(
104
  sprintf(
105
- 'Async PDF task error for %s',
106
  $callback['id']
107
- ),
108
- [
109
- 'args' => ( isset( $callback['args'] ) ) ? $callback['args'] : [],
110
- 'exception' => $e->getMessage(),
111
- ]
112
  );
113
 
114
- /* Add back to our queue to retry (up to a grand total of three times) */
115
- if ( empty( $callback['retry'] ) || $callback['retry'] < 2 ) {
116
- $callback['retry'] = isset( $callback['retry'] ) ? $callback['retry'] + 1 : 1;
117
- array_unshift( $callbacks, $callback );
118
- } else {
119
- $this->log->error(
120
- sprintf(
121
- 'Async PDF task retry limit reached for %s.',
122
- $callback['id']
123
- )
124
  );
125
 
126
- if ( $callback['unrecoverable'] ?? false ) {
127
- $this->log->critical(
128
- 'Cancel async queue due to retry limit reached on unrecoverable callback.',
129
- [
130
- 'callbacks' => $callbacks,
131
- ]
132
- );
133
-
134
- $callbacks = [];
135
- }
136
  }
137
  }
138
  }
85
  public function task( $callbacks ) {
86
  $callback = array_shift( $callbacks );
87
 
88
+ /* Something went wrong so cancel queue */
89
+ if ( ! isset( $callback['id'], $callback['func'] ) ) {
90
+ $this->log->critical( 'PDF queue ran with invalid queue item', [ 'callbacks' => $callbacks ] );
91
+ return false;
92
+ }
93
+
94
  $this->log->notice(
95
  sprintf(
96
  'Begin async PDF task for %s',
98
  )
99
  );
100
 
101
+ /* Something went wrong so cancel queue */
102
+ if ( ! is_callable( $callback['func'] ) ) {
103
+ $this->log->critical(
104
+ 'PDF queue ran with invalid callback',
105
+ [
106
+ 'callback' => $callback,
107
+ 'callbacks' => $callbacks,
108
+ ]
109
+ );
110
+ return false;
111
+ }
112
 
113
+ try {
114
+ /* Call our use function and pass in any arguments */
115
+ $args = ( isset( $callback['args'] ) && is_array( $callback['args'] ) ) ? $callback['args'] : [];
116
+ call_user_func_array( $callback['func'], $args );
117
+ } catch ( Exception $e ) {
118
+
119
+ /* Log Error */
120
+ $this->log->error(
121
+ sprintf(
122
+ 'Async PDF task error for %s',
123
+ $callback['id']
124
+ ),
125
+ [
126
+ 'args' => ( isset( $callback['args'] ) ) ? $callback['args'] : [],
127
+ 'exception' => $e->getMessage(),
128
+ ]
129
+ );
130
+
131
+ /* Add back to our queue to retry (up to a grand total of three times) */
132
+ if ( empty( $callback['retry'] ) || $callback['retry'] < 2 ) {
133
+ $callback['retry'] = isset( $callback['retry'] ) ? $callback['retry'] + 1 : 1;
134
+ array_unshift( $callbacks, $callback );
135
+ } else {
136
  $this->log->error(
137
  sprintf(
138
+ 'Async PDF task retry limit reached for %s.',
139
  $callback['id']
140
+ )
 
 
 
 
141
  );
142
 
143
+ if ( $callback['unrecoverable'] ?? false ) {
144
+ $this->log->critical(
145
+ 'Cancel async queue due to retry limit reached on unrecoverable callback.',
146
+ [
147
+ 'callbacks' => $callbacks,
148
+ ]
 
 
 
 
149
  );
150
 
151
+ $callbacks = [];
 
 
 
 
 
 
 
 
 
152
  }
153
  }
154
  }
src/Statics/Queue_Callbacks.php CHANGED
@@ -53,6 +53,8 @@ class Queue_Callbacks {
53
 
54
  throw new Exception();
55
  }
 
 
56
  }
57
 
58
  /**
53
 
54
  throw new Exception();
55
  }
56
+
57
+ $log->notice( sprintf( 'PDF successfully generated and saved to %s', $results ) );
58
  }
59
 
60
  /**
src/View/View_Settings.php CHANGED
@@ -390,10 +390,7 @@ class View_Settings extends Helper_Abstract_View {
390
  */
391
  public function add_tooltips( $tooltips ) {
392
 
393
- $tooltips['pdf_status_wp_memory'] = '<h6>' . esc_html__( 'WP Memory Available', 'gravity-forms-pdf-extended' ) . '</h6>' . sprintf( esc_html__( 'Producing PDF documents is hard work and Gravity PDF requires more resources than most plugins. We strongly recommend you have at least 128MB, but you may need more.', 'gravity-forms-pdf-extended' ) );
394
- $tooltips['pdf_protection'] = '<h6>' . esc_html__( 'Direct PDF Protection', 'gravity-forms-pdf-extended' ) . '</h6>' . esc_html__( 'Your PDFs might be saved to a temporary directory that is publicly accessible. We will check if your PDFs are automatically protected, and let you know what you can do if they are not.', 'gravity-forms-pdf-extended' );
395
- $tooltips['pdf_allow_url_fopen'] = '<h6>allow_url_fopen</h6>' . esc_html__( 'Having trouble displaying images in PDFs? If this PHP setting is disabled it could be the cause.', 'gravity-forms-pdf-extended' );
396
-
397
  return apply_filters( 'gravitypdf_registered_tooltips', $tooltips );
398
  }
399
  }
390
  */
391
  public function add_tooltips( $tooltips ) {
392
 
393
+ $tooltips['pdf_shortcode'] = '<h6>' . esc_html__( 'PDF Download Link', 'gravity-forms-pdf-extended' ) . '</h6>' . sprintf( esc_html__( "Include the [gravitypdf] shortcode in the form's Confirmation or Notification settings to display a PDF download link. %1\$sGet more info%2\$s.", 'gravity-forms-pdf-extended' ), '<a href="https://docs.gravitypdf.com/v6/users/shortcodes-and-mergetags">', '</a>' );
 
 
 
394
  return apply_filters( 'gravitypdf_registered_tooltips', $tooltips );
395
  }
396
  }
src/assets/languages/gravity-forms-pdf-extended.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 Gravity PDF
2
  # This file is distributed under the same license as the Gravity PDF package.
3
  msgid ""
4
  msgstr ""
@@ -525,7 +525,7 @@ msgstr ""
525
  msgid "Cannot find file %s"
526
  msgstr ""
527
 
528
- #: ../../Helper/Helper_Data.php:154, ../../Helper/Helper_PDF_List_Table.php:344, ../../Model/Model_Mergetags.php:125
529
  msgid "PDF"
530
  msgstr ""
531
 
@@ -581,7 +581,7 @@ msgstr ""
581
  msgid "Cancel"
582
  msgstr ""
583
 
584
- #: ../../Helper/Helper_Data.php:232, ../../Helper/Helper_PDF_List_Table.php:336
585
  msgid "Delete"
586
  msgstr ""
587
 
@@ -1373,35 +1373,47 @@ msgstr ""
1373
  msgid "None"
1374
  msgstr ""
1375
 
1376
- #: ../../Helper/Helper_PDF_List_Table.php:284, ../../View/html/PDF/entry_list_pdf_single.php:23
1377
  msgid "Download PDF"
1378
  msgstr ""
1379
 
1380
- #: ../../Helper/Helper_PDF_List_Table.php:287
1381
- msgid "Copy Download %s Shortcode"
1382
  msgstr ""
1383
 
1384
- #: ../../Helper/Helper_PDF_List_Table.php:334
 
 
 
 
 
 
 
 
1385
  msgid "Edit this PDF"
1386
  msgstr ""
1387
 
1388
- #: ../../Helper/Helper_PDF_List_Table.php:334
1389
  msgid "Edit"
1390
  msgstr ""
1391
 
1392
- #: ../../Helper/Helper_PDF_List_Table.php:335
1393
  msgid "Duplicate this PDF"
1394
  msgstr ""
1395
 
1396
- #: ../../Helper/Helper_PDF_List_Table.php:335
1397
  msgid "Duplicate"
1398
  msgstr ""
1399
 
1400
- #: ../../Helper/Helper_PDF_List_Table.php:336
1401
  msgid "Delete this PDF"
1402
  msgstr ""
1403
 
1404
- #: ../../Helper/Helper_PDF_List_Table.php:374
 
 
 
 
1405
  msgid "This form doesn't have any PDFs. Let's go %1$screate one%2$s."
1406
  msgstr ""
1407
 
@@ -1638,23 +1650,11 @@ msgid "Licensing"
1638
  msgstr ""
1639
 
1640
  #: ../../View/View_Settings.php:393
1641
- msgid "WP Memory Available"
1642
  msgstr ""
1643
 
1644
  #: ../../View/View_Settings.php:393
1645
- msgid "Producing PDF documents is hard work and Gravity PDF requires more resources than most plugins. We strongly recommend you have at least 128MB, but you may need more."
1646
- msgstr ""
1647
-
1648
- #: ../../View/View_Settings.php:394
1649
- msgid "Direct PDF Protection"
1650
- msgstr ""
1651
-
1652
- #: ../../View/View_Settings.php:394
1653
- msgid "Your PDFs might be saved to a temporary directory that is publicly accessible. We will check if your PDFs are automatically protected, and let you know what you can do if they are not."
1654
- msgstr ""
1655
-
1656
- #: ../../View/View_Settings.php:395
1657
- msgid "Having trouble displaying images in PDFs? If this PHP setting is disabled it could be the cause."
1658
  msgstr ""
1659
 
1660
  #: ../../View/View_System_Report.php:76
1
+ # Copyright (C) 2022 Gravity PDF
2
  # This file is distributed under the same license as the Gravity PDF package.
3
  msgid ""
4
  msgstr ""
525
  msgid "Cannot find file %s"
526
  msgstr ""
527
 
528
+ #: ../../Helper/Helper_Data.php:154, ../../Model/Model_Mergetags.php:125
529
  msgid "PDF"
530
  msgstr ""
531
 
581
  msgid "Cancel"
582
  msgstr ""
583
 
584
+ #: ../../Helper/Helper_Data.php:232, ../../Helper/Helper_PDF_List_Table.php:351
585
  msgid "Delete"
586
  msgstr ""
587
 
1373
  msgid "None"
1374
  msgstr ""
1375
 
1376
+ #: ../../Helper/Helper_PDF_List_Table.php:288, ../../View/html/PDF/entry_list_pdf_single.php:23
1377
  msgid "Download PDF"
1378
  msgstr ""
1379
 
1380
+ #: ../../Helper/Helper_PDF_List_Table.php:291
1381
+ msgid "Copy the %s PDF shortcode to the clipboard"
1382
  msgstr ""
1383
 
1384
+ #: ../../Helper/Helper_PDF_List_Table.php:296
1385
+ msgid "Shortcode copied!"
1386
+ msgstr ""
1387
+
1388
+ #: ../../Helper/Helper_PDF_List_Table.php:297
1389
+ msgid "Copy Shortcode"
1390
+ msgstr ""
1391
+
1392
+ #: ../../Helper/Helper_PDF_List_Table.php:349
1393
  msgid "Edit this PDF"
1394
  msgstr ""
1395
 
1396
+ #: ../../Helper/Helper_PDF_List_Table.php:349
1397
  msgid "Edit"
1398
  msgstr ""
1399
 
1400
+ #: ../../Helper/Helper_PDF_List_Table.php:350
1401
  msgid "Duplicate this PDF"
1402
  msgstr ""
1403
 
1404
+ #: ../../Helper/Helper_PDF_List_Table.php:350
1405
  msgid "Duplicate"
1406
  msgstr ""
1407
 
1408
+ #: ../../Helper/Helper_PDF_List_Table.php:351
1409
  msgid "Delete this PDF"
1410
  msgstr ""
1411
 
1412
+ #: ../../Helper/Helper_PDF_List_Table.php:359
1413
+ msgid "%s PDF"
1414
+ msgstr ""
1415
+
1416
+ #: ../../Helper/Helper_PDF_List_Table.php:389
1417
  msgid "This form doesn't have any PDFs. Let's go %1$screate one%2$s."
1418
  msgstr ""
1419
 
1650
  msgstr ""
1651
 
1652
  #: ../../View/View_Settings.php:393
1653
+ msgid "PDF Download Link"
1654
  msgstr ""
1655
 
1656
  #: ../../View/View_Settings.php:393
1657
+ msgid "Include the [gravitypdf] shortcode in the form's Confirmation or Notification settings to display a PDF download link. %1$sGet more info%2$s."
 
 
 
 
 
 
 
 
 
 
 
 
1658
  msgstr ""
1659
 
1660
  #: ../../View/View_System_Report.php:76
src/assets/scss/MediaQueries/_min-1200.scss CHANGED
@@ -62,5 +62,12 @@
62
  }
63
  }
64
  }
 
 
 
 
 
 
 
65
  }
66
  }
62
  }
63
  }
64
  }
65
+
66
+ /* PDF list section */
67
+ #gfpdf_list_form {
68
+ .btn-shortcode.toggle + .gpdf-fallback-input {
69
+ width: 35vw;
70
+ }
71
+ }
72
  }
73
  }
src/assets/scss/Pages/_pdf-list.scss CHANGED
@@ -1,6 +1,21 @@
1
  /*
2
  * Styles for the Forms -> PDF page
3
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  #tab_PDF {
5
 
6
  #gfpdf_list_form {
@@ -9,6 +24,63 @@
9
  width: 20px;
10
  }
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  .check-column {
13
  width: 6rem;
14
 
@@ -19,4 +91,4 @@
19
 
20
  }
21
 
22
- }
1
  /*
2
  * Styles for the Forms -> PDF page
3
  */
4
+ .no-js {
5
+ #tab_PDF {
6
+ #gfpdf_list_form {
7
+
8
+ .btn-shortcode {
9
+ display: none;
10
+ }
11
+
12
+ .btn-shortcode + .gpdf-fallback-input {
13
+ display: block;
14
+ }
15
+ }
16
+ }
17
+ }
18
+
19
  #tab_PDF {
20
 
21
  #gfpdf_list_form {
24
  width: 20px;
25
  }
26
 
27
+ .btn-shortcode {
28
+ margin-left: 0;
29
+ border-radius: 1px;
30
+ padding: 0.3rem 0.5rem;
31
+ white-space: normal;
32
+
33
+ &:before {
34
+ font-family: dashicons;
35
+ content: "\f150";
36
+ font-size: 1rem;
37
+ vertical-align: middle;
38
+ font-weight: 400;
39
+ padding-right: 0.2rem;
40
+ }
41
+
42
+ &.btn-success,
43
+ &.toggle {
44
+ color: #080;
45
+ border-color: #080;
46
+
47
+ &:hover {
48
+ border-color: #080;
49
+ }
50
+ }
51
+ }
52
+
53
+ .btn-shortcode + .gpdf-fallback-input {
54
+ display: none;
55
+ }
56
+
57
+ .btn-shortcode.toggle + .gpdf-fallback-input {
58
+ display: block;
59
+ position: absolute;
60
+ right: 2.7rem;
61
+ margin-top: 5px;
62
+ width: 45vw;
63
+ z-index: 1;
64
+
65
+ &:after {
66
+ width: 0;
67
+ height: 0;
68
+ border-left: 5px solid transparent;
69
+ border-right: 5px solid transparent;
70
+ border-bottom: 5px solid #9092b2;
71
+ content: '';
72
+ position: absolute;
73
+ top: -5px;
74
+ right: 1rem;
75
+ }
76
+
77
+ input {
78
+ font-size: 12px;
79
+ padding: 0 0.25rem;
80
+ text-align: center;
81
+ }
82
+ }
83
+
84
  .check-column {
85
  width: 6rem;
86
 
91
 
92
  }
93
 
94
+ }
vendor/autoload.php CHANGED
File without changes
vendor/composer/ClassLoader.php CHANGED
@@ -42,30 +42,75 @@ namespace Composer\Autoload;
42
  */
43
  class ClassLoader
44
  {
 
45
  private $vendorDir;
46
 
47
  // PSR-4
 
 
 
 
48
  private $prefixLengthsPsr4 = array();
 
 
 
 
49
  private $prefixDirsPsr4 = array();
 
 
 
 
50
  private $fallbackDirsPsr4 = array();
51
 
52
  // PSR-0
 
 
 
 
53
  private $prefixesPsr0 = array();
 
 
 
 
54
  private $fallbackDirsPsr0 = array();
55
 
 
56
  private $useIncludePath = false;
 
 
 
 
 
57
  private $classMap = array();
 
 
58
  private $classMapAuthoritative = false;
 
 
 
 
 
59
  private $missingClasses = array();
 
 
60
  private $apcuPrefix;
61
 
 
 
 
62
  private static $registeredLoaders = array();
63
 
 
 
 
64
  public function __construct($vendorDir = null)
65
  {
66
  $this->vendorDir = $vendorDir;
67
  }
68
 
 
 
 
69
  public function getPrefixes()
70
  {
71
  if (!empty($this->prefixesPsr0)) {
@@ -75,28 +120,47 @@ class ClassLoader
75
  return array();
76
  }
77
 
 
 
 
 
78
  public function getPrefixesPsr4()
79
  {
80
  return $this->prefixDirsPsr4;
81
  }
82
 
 
 
 
 
83
  public function getFallbackDirs()
84
  {
85
  return $this->fallbackDirsPsr0;
86
  }
87
 
 
 
 
 
88
  public function getFallbackDirsPsr4()
89
  {
90
  return $this->fallbackDirsPsr4;
91
  }
92
 
 
 
 
 
93
  public function getClassMap()
94
  {
95
  return $this->classMap;
96
  }
97
 
98
  /**
99
- * @param array $classMap Class to filename map
 
 
 
100
  */
101
  public function addClassMap(array $classMap)
102
  {
@@ -111,9 +175,11 @@ class ClassLoader
111
  * Registers a set of PSR-0 directories for a given prefix, either
112
  * appending or prepending to the ones previously set for this prefix.
113
  *
114
- * @param string $prefix The prefix
115
- * @param array|string $paths The PSR-0 root directories
116
- * @param bool $prepend Whether to prepend the directories
 
 
117
  */
118
  public function add($prefix, $paths, $prepend = false)
119
  {
@@ -156,11 +222,13 @@ class ClassLoader
156
  * Registers a set of PSR-4 directories for a given namespace, either
157
  * appending or prepending to the ones previously set for this namespace.
158
  *
159
- * @param string $prefix The prefix/namespace, with trailing '\\'
160
- * @param array|string $paths The PSR-4 base directories
161
- * @param bool $prepend Whether to prepend the directories
162
  *
163
  * @throws \InvalidArgumentException
 
 
164
  */
165
  public function addPsr4($prefix, $paths, $prepend = false)
166
  {
@@ -204,8 +272,10 @@ class ClassLoader
204
  * Registers a set of PSR-0 directories for a given prefix,
205
  * replacing any others previously set for this prefix.
206
  *
207
- * @param string $prefix The prefix
208
- * @param array|string $paths The PSR-0 base directories
 
 
209
  */
210
  public function set($prefix, $paths)
211
  {
@@ -220,10 +290,12 @@ class ClassLoader
220
  * Registers a set of PSR-4 directories for a given namespace,
221
  * replacing any others previously set for this namespace.
222
  *
223
- * @param string $prefix The prefix/namespace, with trailing '\\'
224
- * @param array|string $paths The PSR-4 base directories
225
  *
226
  * @throws \InvalidArgumentException
 
 
227
  */
228
  public function setPsr4($prefix, $paths)
229
  {
@@ -243,6 +315,8 @@ class ClassLoader
243
  * Turns on searching the include path for class files.
244
  *
245
  * @param bool $useIncludePath
 
 
246
  */
247
  public function setUseIncludePath($useIncludePath)
248
  {
@@ -265,6 +339,8 @@ class ClassLoader
265
  * that have not been registered with the class map.
266
  *
267
  * @param bool $classMapAuthoritative
 
 
268
  */
269
  public function setClassMapAuthoritative($classMapAuthoritative)
270
  {
@@ -285,6 +361,8 @@ class ClassLoader
285
  * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
286
  *
287
  * @param string|null $apcuPrefix
 
 
288
  */
289
  public function setApcuPrefix($apcuPrefix)
290
  {
@@ -305,6 +383,8 @@ class ClassLoader
305
  * Registers this instance as an autoloader.
306
  *
307
  * @param bool $prepend Whether to prepend the autoloader or not
 
 
308
  */
309
  public function register($prepend = false)
310
  {
@@ -324,6 +404,8 @@ class ClassLoader
324
 
325
  /**
326
  * Unregisters this instance as an autoloader.
 
 
327
  */
328
  public function unregister()
329
  {
@@ -403,6 +485,11 @@ class ClassLoader
403
  return self::$registeredLoaders;
404
  }
405
 
 
 
 
 
 
406
  private function findFileWithExtension($class, $ext)
407
  {
408
  // PSR-4 lookup
@@ -474,6 +561,10 @@ class ClassLoader
474
  * Scope isolated include.
475
  *
476
  * Prevents access to $this/self from included files.
 
 
 
 
477
  */
478
  function includeFile($file)
479
  {
42
  */
43
  class ClassLoader
44
  {
45
+ /** @var ?string */
46
  private $vendorDir;
47
 
48
  // PSR-4
49
+ /**
50
+ * @var array[]
51
+ * @psalm-var array<string, array<string, int>>
52
+ */
53
  private $prefixLengthsPsr4 = array();
54
+ /**
55
+ * @var array[]
56
+ * @psalm-var array<string, array<int, string>>
57
+ */
58
  private $prefixDirsPsr4 = array();
59
+ /**
60
+ * @var array[]
61
+ * @psalm-var array<string, string>
62
+ */
63
  private $fallbackDirsPsr4 = array();
64
 
65
  // PSR-0
66
+ /**
67
+ * @var array[]
68
+ * @psalm-var array<string, array<string, string[]>>
69
+ */
70
  private $prefixesPsr0 = array();
71
+ /**
72
+ * @var array[]
73
+ * @psalm-var array<string, string>
74
+ */
75
  private $fallbackDirsPsr0 = array();
76
 
77
+ /** @var bool */
78
  private $useIncludePath = false;
79
+
80
+ /**
81
+ * @var string[]
82
+ * @psalm-var array<string, string>
83
+ */
84
  private $classMap = array();
85
+
86
+ /** @var bool */
87
  private $classMapAuthoritative = false;
88
+
89
+ /**
90
+ * @var bool[]
91
+ * @psalm-var array<string, bool>
92
+ */
93
  private $missingClasses = array();
94
+
95
+ /** @var ?string */
96
  private $apcuPrefix;
97
 
98
+ /**
99
+ * @var self[]
100
+ */
101
  private static $registeredLoaders = array();
102
 
103
+ /**
104
+ * @param ?string $vendorDir
105
+ */
106
  public function __construct($vendorDir = null)
107
  {
108
  $this->vendorDir = $vendorDir;
109
  }
110
 
111
+ /**
112
+ * @return string[]
113
+ */
114
  public function getPrefixes()
115
  {
116
  if (!empty($this->prefixesPsr0)) {
120
  return array();
121
  }
122
 
123
+ /**
124
+ * @return array[]
125
+ * @psalm-return array<string, array<int, string>>
126
+ */
127
  public function getPrefixesPsr4()
128
  {
129
  return $this->prefixDirsPsr4;
130
  }
131
 
132
+ /**
133
+ * @return array[]
134
+ * @psalm-return array<string, string>
135
+ */
136
  public function getFallbackDirs()
137
  {
138
  return $this->fallbackDirsPsr0;
139
  }
140
 
141
+ /**
142
+ * @return array[]
143
+ * @psalm-return array<string, string>
144
+ */
145
  public function getFallbackDirsPsr4()
146
  {
147
  return $this->fallbackDirsPsr4;
148
  }
149
 
150
+ /**
151
+ * @return string[] Array of classname => path
152
+ * @psalm-return array<string, string>
153
+ */
154
  public function getClassMap()
155
  {
156
  return $this->classMap;
157
  }
158
 
159
  /**
160
+ * @param string[] $classMap Class to filename map
161
+ * @psalm-param array<string, string> $classMap
162
+ *
163
+ * @return void
164
  */
165
  public function addClassMap(array $classMap)
166
  {
175
  * Registers a set of PSR-0 directories for a given prefix, either
176
  * appending or prepending to the ones previously set for this prefix.
177
  *
178
+ * @param string $prefix The prefix
179
+ * @param string[]|string $paths The PSR-0 root directories
180
+ * @param bool $prepend Whether to prepend the directories
181
+ *
182
+ * @return void
183
  */
184
  public function add($prefix, $paths, $prepend = false)
185
  {
222
  * Registers a set of PSR-4 directories for a given namespace, either
223
  * appending or prepending to the ones previously set for this namespace.
224
  *
225
+ * @param string $prefix The prefix/namespace, with trailing '\\'
226
+ * @param string[]|string $paths The PSR-4 base directories
227
+ * @param bool $prepend Whether to prepend the directories
228
  *
229
  * @throws \InvalidArgumentException
230
+ *
231
+ * @return void
232
  */
233
  public function addPsr4($prefix, $paths, $prepend = false)
234
  {
272
  * Registers a set of PSR-0 directories for a given prefix,
273
  * replacing any others previously set for this prefix.
274
  *
275
+ * @param string $prefix The prefix
276
+ * @param string[]|string $paths The PSR-0 base directories
277
+ *
278
+ * @return void
279
  */
280
  public function set($prefix, $paths)
281
  {
290
  * Registers a set of PSR-4 directories for a given namespace,
291
  * replacing any others previously set for this namespace.
292
  *
293
+ * @param string $prefix The prefix/namespace, with trailing '\\'
294
+ * @param string[]|string $paths The PSR-4 base directories
295
  *
296
  * @throws \InvalidArgumentException
297
+ *
298
+ * @return void
299
  */
300
  public function setPsr4($prefix, $paths)
301
  {
315
  * Turns on searching the include path for class files.
316
  *
317
  * @param bool $useIncludePath
318
+ *
319
+ * @return void
320
  */
321
  public function setUseIncludePath($useIncludePath)
322
  {
339
  * that have not been registered with the class map.
340
  *
341
  * @param bool $classMapAuthoritative
342
+ *
343
+ * @return void
344
  */
345
  public function setClassMapAuthoritative($classMapAuthoritative)
346
  {
361
  * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
362
  *
363
  * @param string|null $apcuPrefix
364
+ *
365
+ * @return void
366
  */
367
  public function setApcuPrefix($apcuPrefix)
368
  {
383
  * Registers this instance as an autoloader.
384
  *
385
  * @param bool $prepend Whether to prepend the autoloader or not
386
+ *
387
+ * @return void
388
  */
389
  public function register($prepend = false)
390
  {
404
 
405
  /**
406
  * Unregisters this instance as an autoloader.
407
+ *
408
+ * @return void
409
  */
410
  public function unregister()
411
  {
485
  return self::$registeredLoaders;
486
  }
487
 
488
+ /**
489
+ * @param string $class
490
+ * @param string $ext
491
+ * @return string|false
492
+ */
493
  private function findFileWithExtension($class, $ext)
494
  {
495
  // PSR-4 lookup
561
  * Scope isolated include.
562
  *
563
  * Prevents access to $this/self from included files.
564
+ *
565
+ * @param string $file
566
+ * @return void
567
+ * @private
568
  */
569
  function includeFile($file)
570
  {
vendor/composer/InstalledVersions.php CHANGED
@@ -20,12 +20,25 @@ use Composer\Semver\VersionParser;
20
  *
21
  * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
22
  *
23
- * To require it's presence, you can require `composer-runtime-api ^2.0`
24
  */
25
  class InstalledVersions
26
  {
 
 
 
 
27
  private static $installed;
 
 
 
 
28
  private static $canGetVendors;
 
 
 
 
 
29
  private static $installedByVendor = array();
30
 
31
  /**
@@ -228,7 +241,7 @@ class InstalledVersions
228
 
229
  /**
230
  * @return array
231
- * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
232
  */
233
  public static function getRootPackage()
234
  {
@@ -242,7 +255,7 @@ class InstalledVersions
242
  *
243
  * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
244
  * @return array[]
245
- * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
246
  */
247
  public static function getRawData()
248
  {
@@ -265,7 +278,7 @@ class InstalledVersions
265
  * Returns the raw data of all installed.php which are currently loaded for custom implementations
266
  *
267
  * @return array[]
268
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
269
  */
270
  public static function getAllRawData()
271
  {
@@ -288,7 +301,7 @@ class InstalledVersions
288
  * @param array[] $data A vendor/composer/installed.php data set
289
  * @return void
290
  *
291
- * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data
292
  */
293
  public static function reload($data)
294
  {
@@ -298,7 +311,7 @@ class InstalledVersions
298
 
299
  /**
300
  * @return array[]
301
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
302
  */
303
  private static function getInstalled()
304
  {
20
  *
21
  * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
22
  *
23
+ * To require its presence, you can require `composer-runtime-api ^2.0`
24
  */
25
  class InstalledVersions
26
  {
27
+ /**
28
+ * @var mixed[]|null
29
+ * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
30
+ */
31
  private static $installed;
32
+
33
+ /**
34
+ * @var bool|null
35
+ */
36
  private static $canGetVendors;
37
+
38
+ /**
39
+ * @var array[]
40
+ * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
41
+ */
42
  private static $installedByVendor = array();
43
 
44
  /**
241
 
242
  /**
243
  * @return array
244
+ * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
245
  */
246
  public static function getRootPackage()
247
  {
255
  *
256
  * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
257
  * @return array[]
258
+ * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
259
  */
260
  public static function getRawData()
261
  {
278
  * Returns the raw data of all installed.php which are currently loaded for custom implementations
279
  *
280
  * @return array[]
281
+ * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
282
  */
283
  public static function getAllRawData()
284
  {
301
  * @param array[] $data A vendor/composer/installed.php data set
302
  * @return void
303
  *
304
+ * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
305
  */
306
  public static function reload($data)
307
  {
311
 
312
  /**
313
  * @return array[]
314
+ * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
315
  */
316
  private static function getInstalled()
317
  {
vendor/composer/LICENSE CHANGED
File without changes
vendor/composer/autoload_classmap.php CHANGED
@@ -205,6 +205,7 @@ return array(
205
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\FileinfoSupportMissing' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/FileinfoSupportMissing.php',
206
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\IPv4CalculatorMissing' => $baseDir . '/vendor_prefixed/league/uri-components/src/Exceptions/IPv4CalculatorMissing.php',
207
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\IdnSupportMissing' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/IdnSupportMissing.php',
 
208
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\OffsetOutOfBounds' => $baseDir . '/vendor_prefixed/league/uri-components/src/Exceptions/OffsetOutOfBounds.php',
209
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\SyntaxError' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/SyntaxError.php',
210
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\TemplateCanNotBeExpanded' => $baseDir . '/vendor_prefixed/league/uri/src/Exceptions/TemplateCanNotBeExpanded.php',
@@ -215,6 +216,8 @@ return array(
215
  'GFPDF_Vendor\\League\\Uri\\IPv4Calculators\\IPv4Calculator' => $baseDir . '/vendor_prefixed/league/uri-components/src/IPv4Calculators/IPv4Calculator.php',
216
  'GFPDF_Vendor\\League\\Uri\\IPv4Calculators\\NativeCalculator' => $baseDir . '/vendor_prefixed/league/uri-components/src/IPv4Calculators/NativeCalculator.php',
217
  'GFPDF_Vendor\\League\\Uri\\IPv4Normalizer' => $baseDir . '/vendor_prefixed/league/uri-components/src/IPv4Normalizer.php',
 
 
218
  'GFPDF_Vendor\\League\\Uri\\QueryString' => $baseDir . '/vendor_prefixed/league/uri-components/src/QueryString.php',
219
  'GFPDF_Vendor\\League\\Uri\\Uri' => $baseDir . '/vendor_prefixed/league/uri/src/Uri.php',
220
  'GFPDF_Vendor\\League\\Uri\\UriInfo' => $baseDir . '/vendor_prefixed/league/uri/src/UriInfo.php',
@@ -431,6 +434,7 @@ return array(
431
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Html' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/Output/Html.php',
432
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Mpdf' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/Output/Mpdf.php',
433
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Png' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/Output/Png.php',
 
434
  'GFPDF_Vendor\\Mpdf\\QrCode\\QrCode' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/QrCode.php',
435
  'GFPDF_Vendor\\Mpdf\\QrCode\\QrCodeException' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/QrCodeException.php',
436
  'GFPDF_Vendor\\Mpdf\\RemoteContentFetcher' => $baseDir . '/vendor_prefixed/mpdf/mpdf/src/RemoteContentFetcher.php',
205
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\FileinfoSupportMissing' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/FileinfoSupportMissing.php',
206
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\IPv4CalculatorMissing' => $baseDir . '/vendor_prefixed/league/uri-components/src/Exceptions/IPv4CalculatorMissing.php',
207
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\IdnSupportMissing' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/IdnSupportMissing.php',
208
+ 'GFPDF_Vendor\\League\\Uri\\Exceptions\\IdnaConversionFailed' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/IdnaConversionFailed.php',
209
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\OffsetOutOfBounds' => $baseDir . '/vendor_prefixed/league/uri-components/src/Exceptions/OffsetOutOfBounds.php',
210
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\SyntaxError' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/SyntaxError.php',
211
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\TemplateCanNotBeExpanded' => $baseDir . '/vendor_prefixed/league/uri/src/Exceptions/TemplateCanNotBeExpanded.php',
216
  'GFPDF_Vendor\\League\\Uri\\IPv4Calculators\\IPv4Calculator' => $baseDir . '/vendor_prefixed/league/uri-components/src/IPv4Calculators/IPv4Calculator.php',
217
  'GFPDF_Vendor\\League\\Uri\\IPv4Calculators\\NativeCalculator' => $baseDir . '/vendor_prefixed/league/uri-components/src/IPv4Calculators/NativeCalculator.php',
218
  'GFPDF_Vendor\\League\\Uri\\IPv4Normalizer' => $baseDir . '/vendor_prefixed/league/uri-components/src/IPv4Normalizer.php',
219
+ 'GFPDF_Vendor\\League\\Uri\\Idna\\Idna' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Idna/Idna.php',
220
+ 'GFPDF_Vendor\\League\\Uri\\Idna\\IdnaInfo' => $baseDir . '/vendor_prefixed/league/uri-interfaces/src/Idna/IdnaInfo.php',
221
  'GFPDF_Vendor\\League\\Uri\\QueryString' => $baseDir . '/vendor_prefixed/league/uri-components/src/QueryString.php',
222
  'GFPDF_Vendor\\League\\Uri\\Uri' => $baseDir . '/vendor_prefixed/league/uri/src/Uri.php',
223
  'GFPDF_Vendor\\League\\Uri\\UriInfo' => $baseDir . '/vendor_prefixed/league/uri/src/UriInfo.php',
434
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Html' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/Output/Html.php',
435
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Mpdf' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/Output/Mpdf.php',
436
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Png' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/Output/Png.php',
437
+ 'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Svg' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/Output/Svg.php',
438
  'GFPDF_Vendor\\Mpdf\\QrCode\\QrCode' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/QrCode.php',
439
  'GFPDF_Vendor\\Mpdf\\QrCode\\QrCodeException' => $baseDir . '/vendor_prefixed/mpdf/qrcode/src/QrCodeException.php',
440
  'GFPDF_Vendor\\Mpdf\\RemoteContentFetcher' => $baseDir . '/vendor_prefixed/mpdf/mpdf/src/RemoteContentFetcher.php',
vendor/composer/autoload_namespaces.php CHANGED
File without changes
vendor/composer/autoload_psr4.php CHANGED
File without changes
vendor/composer/autoload_real.php CHANGED
File without changes
vendor/composer/autoload_static.php CHANGED
@@ -233,6 +233,7 @@ class ComposerStaticInitGravityPDFPlugin
233
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\FileinfoSupportMissing' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/FileinfoSupportMissing.php',
234
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\IPv4CalculatorMissing' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/Exceptions/IPv4CalculatorMissing.php',
235
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\IdnSupportMissing' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/IdnSupportMissing.php',
 
236
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\OffsetOutOfBounds' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/Exceptions/OffsetOutOfBounds.php',
237
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\SyntaxError' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/SyntaxError.php',
238
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\TemplateCanNotBeExpanded' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri/src/Exceptions/TemplateCanNotBeExpanded.php',
@@ -243,6 +244,8 @@ class ComposerStaticInitGravityPDFPlugin
243
  'GFPDF_Vendor\\League\\Uri\\IPv4Calculators\\IPv4Calculator' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/IPv4Calculators/IPv4Calculator.php',
244
  'GFPDF_Vendor\\League\\Uri\\IPv4Calculators\\NativeCalculator' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/IPv4Calculators/NativeCalculator.php',
245
  'GFPDF_Vendor\\League\\Uri\\IPv4Normalizer' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/IPv4Normalizer.php',
 
 
246
  'GFPDF_Vendor\\League\\Uri\\QueryString' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/QueryString.php',
247
  'GFPDF_Vendor\\League\\Uri\\Uri' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri/src/Uri.php',
248
  'GFPDF_Vendor\\League\\Uri\\UriInfo' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri/src/UriInfo.php',
@@ -459,6 +462,7 @@ class ComposerStaticInitGravityPDFPlugin
459
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Html' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/Output/Html.php',
460
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Mpdf' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/Output/Mpdf.php',
461
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Png' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/Output/Png.php',
 
462
  'GFPDF_Vendor\\Mpdf\\QrCode\\QrCode' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/QrCode.php',
463
  'GFPDF_Vendor\\Mpdf\\QrCode\\QrCodeException' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/QrCodeException.php',
464
  'GFPDF_Vendor\\Mpdf\\RemoteContentFetcher' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/mpdf/src/RemoteContentFetcher.php',
233
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\FileinfoSupportMissing' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/FileinfoSupportMissing.php',
234
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\IPv4CalculatorMissing' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/Exceptions/IPv4CalculatorMissing.php',
235
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\IdnSupportMissing' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/IdnSupportMissing.php',
236
+ 'GFPDF_Vendor\\League\\Uri\\Exceptions\\IdnaConversionFailed' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/IdnaConversionFailed.php',
237
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\OffsetOutOfBounds' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/Exceptions/OffsetOutOfBounds.php',
238
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\SyntaxError' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Exceptions/SyntaxError.php',
239
  'GFPDF_Vendor\\League\\Uri\\Exceptions\\TemplateCanNotBeExpanded' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri/src/Exceptions/TemplateCanNotBeExpanded.php',
244
  'GFPDF_Vendor\\League\\Uri\\IPv4Calculators\\IPv4Calculator' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/IPv4Calculators/IPv4Calculator.php',
245
  'GFPDF_Vendor\\League\\Uri\\IPv4Calculators\\NativeCalculator' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/IPv4Calculators/NativeCalculator.php',
246
  'GFPDF_Vendor\\League\\Uri\\IPv4Normalizer' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/IPv4Normalizer.php',
247
+ 'GFPDF_Vendor\\League\\Uri\\Idna\\Idna' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Idna/Idna.php',
248
+ 'GFPDF_Vendor\\League\\Uri\\Idna\\IdnaInfo' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-interfaces/src/Idna/IdnaInfo.php',
249
  'GFPDF_Vendor\\League\\Uri\\QueryString' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri-components/src/QueryString.php',
250
  'GFPDF_Vendor\\League\\Uri\\Uri' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri/src/Uri.php',
251
  'GFPDF_Vendor\\League\\Uri\\UriInfo' => __DIR__ . '/../..' . '/vendor_prefixed/league/uri/src/UriInfo.php',
462
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Html' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/Output/Html.php',
463
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Mpdf' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/Output/Mpdf.php',
464
  'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Png' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/Output/Png.php',
465
+ 'GFPDF_Vendor\\Mpdf\\QrCode\\Output\\Svg' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/Output/Svg.php',
466
  'GFPDF_Vendor\\Mpdf\\QrCode\\QrCode' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/QrCode.php',
467
  'GFPDF_Vendor\\Mpdf\\QrCode\\QrCodeException' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/qrcode/src/QrCodeException.php',
468
  'GFPDF_Vendor\\Mpdf\\RemoteContentFetcher' => __DIR__ . '/../..' . '/vendor_prefixed/mpdf/mpdf/src/RemoteContentFetcher.php',
vendor/composer/installed.json CHANGED
@@ -56,33 +56,33 @@
56
  },
57
  {
58
  "name": "league/uri",
59
- "version": "6.4.0",
60
- "version_normalized": "6.4.0.0",
61
  "source": {
62
  "type": "git",
63
  "url": "https://github.com/thephpleague/uri.git",
64
- "reference": "09da64118eaf4c5d52f9923a1e6a5be1da52fd9a"
65
  },
66
  "dist": {
67
  "type": "zip",
68
- "url": "https://api.github.com/repos/thephpleague/uri/zipball/09da64118eaf4c5d52f9923a1e6a5be1da52fd9a",
69
- "reference": "09da64118eaf4c5d52f9923a1e6a5be1da52fd9a",
70
  "shasum": ""
71
  },
72
  "require": {
73
  "ext-json": "*",
74
- "league/uri-interfaces": "^2.1",
75
- "php": ">=7.2",
76
  "psr/http-message": "^1.0"
77
  },
78
  "conflict": {
79
  "league/uri-schemes": "^1.0"
80
  },
81
  "require-dev": {
82
- "friendsofphp/php-cs-fixer": "^2.16",
83
- "phpstan/phpstan": "^0.12",
84
- "phpstan/phpstan-phpunit": "^0.12",
85
- "phpstan/phpstan-strict-rules": "^0.12",
86
  "phpunit/phpunit": "^8.0 || ^9.0",
87
  "psr/http-factory": "^1.0"
88
  },
@@ -92,7 +92,7 @@
92
  "league/uri-components": "Needed to easily manipulate URI objects",
93
  "psr/http-factory": "Needed to use the URI factory"
94
  },
95
- "time": "2020-11-22T14:29:11+00:00",
96
  "type": "library",
97
  "extra": {
98
  "branch-alias": {
@@ -143,7 +143,7 @@
143
  "docs": "https://uri.thephpleague.com",
144
  "forum": "https://thephpleague.slack.com",
145
  "issues": "https://github.com/thephpleague/uri/issues",
146
- "source": "https://github.com/thephpleague/uri/tree/6.4.0"
147
  },
148
  "funding": [
149
  {
@@ -155,34 +155,34 @@
155
  },
156
  {
157
  "name": "league/uri-components",
158
- "version": "2.3.0",
159
- "version_normalized": "2.3.0.0",
160
  "source": {
161
  "type": "git",
162
  "url": "https://github.com/thephpleague/uri-components.git",
163
- "reference": "14540a610ba5b70a7daf83582a109291baa004d0"
164
  },
165
  "dist": {
166
  "type": "zip",
167
- "url": "https://api.github.com/repos/thephpleague/uri-components/zipball/14540a610ba5b70a7daf83582a109291baa004d0",
168
- "reference": "14540a610ba5b70a7daf83582a109291baa004d0",
169
  "shasum": ""
170
  },
171
  "require": {
172
  "ext-json": "*",
173
- "league/uri-interfaces": "^2.1",
174
  "php": "^7.3 || ^8.0",
175
  "psr/http-message": "^1.0"
176
  },
177
  "require-dev": {
178
- "friendsofphp/php-cs-fixer": "^2.18",
179
  "guzzlehttp/psr7": "^1.4.2",
180
- "laminas/laminas-diactoros": "^2.0",
181
  "league/uri": "^6.0",
182
- "phpstan/phpstan": "^0.12",
183
- "phpstan/phpstan-phpunit": "^0.12",
184
- "phpstan/phpstan-strict-rules": "^0.12",
185
- "phpunit/phpunit": "^9.0"
186
  },
187
  "suggest": {
188
  "ext-fileinfo": "Needed to create Data URI from a filepath",
@@ -193,7 +193,7 @@
193
  "php-64bit": "to improve handle IPV4 parsing",
194
  "psr/http-message-implementation": "to allow manipulating PSR-7 Uri objects"
195
  },
196
- "time": "2021-01-26T19:38:41+00:00",
197
  "type": "library",
198
  "extra": {
199
  "branch-alias": {
@@ -235,7 +235,7 @@
235
  ],
236
  "support": {
237
  "issues": "https://github.com/thephpleague/uri-components/issues",
238
- "source": "https://github.com/thephpleague/uri-components/tree/2.3.0"
239
  },
240
  "funding": [
241
  {
@@ -247,30 +247,35 @@
247
  },
248
  {
249
  "name": "league/uri-interfaces",
250
- "version": "2.2.0",
251
- "version_normalized": "2.2.0.0",
252
  "source": {
253
  "type": "git",
254
  "url": "https://github.com/thephpleague/uri-interfaces.git",
255
- "reference": "667f150e589d65d79c89ffe662e426704f84224f"
256
  },
257
  "dist": {
258
  "type": "zip",
259
- "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/667f150e589d65d79c89ffe662e426704f84224f",
260
- "reference": "667f150e589d65d79c89ffe662e426704f84224f",
261
  "shasum": ""
262
  },
263
  "require": {
264
  "ext-json": "*",
265
- "php": "^7.1 || ^8.0"
266
  },
267
  "require-dev": {
268
- "friendsofphp/php-cs-fixer": "^2.0",
269
- "phpstan/phpstan": "^0.12",
270
- "phpstan/phpstan-phpunit": "^0.12",
271
- "phpstan/phpstan-strict-rules": "^0.12"
 
 
 
 
 
272
  },
273
- "time": "2020-10-31T13:45:51+00:00",
274
  "type": "library",
275
  "extra": {
276
  "branch-alias": {
@@ -304,7 +309,7 @@
304
  ],
305
  "support": {
306
  "issues": "https://github.com/thephpleague/uri-interfaces/issues",
307
- "source": "https://github.com/thephpleague/uri-interfaces/tree/2.2.0"
308
  },
309
  "funding": [
310
  {
@@ -316,17 +321,17 @@
316
  },
317
  {
318
  "name": "masterminds/html5",
319
- "version": "2.7.4",
320
- "version_normalized": "2.7.4.0",
321
  "source": {
322
  "type": "git",
323
  "url": "https://github.com/Masterminds/html5-php.git",
324
- "reference": "9227822783c75406cfe400984b2f095cdf03d417"
325
  },
326
  "dist": {
327
  "type": "zip",
328
- "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/9227822783c75406cfe400984b2f095cdf03d417",
329
- "reference": "9227822783c75406cfe400984b2f095cdf03d417",
330
  "shasum": ""
331
  },
332
  "require": {
@@ -336,9 +341,9 @@
336
  "php": ">=5.3.0"
337
  },
338
  "require-dev": {
339
- "phpunit/phpunit": "^4.8.35"
340
  },
341
- "time": "2020-10-01T13:52:52+00:00",
342
  "type": "library",
343
  "extra": {
344
  "branch-alias": {
@@ -382,31 +387,31 @@
382
  ],
383
  "support": {
384
  "issues": "https://github.com/Masterminds/html5-php/issues",
385
- "source": "https://github.com/Masterminds/html5-php/tree/2.7.4"
386
  },
387
  "install-path": "../masterminds/html5"
388
  },
389
  {
390
  "name": "monolog/monolog",
391
- "version": "2.2.0",
392
- "version_normalized": "2.2.0.0",
393
  "source": {
394
  "type": "git",
395
  "url": "https://github.com/Seldaek/monolog.git",
396
- "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084"
397
  },
398
  "dist": {
399
  "type": "zip",
400
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1cb1cde8e8dd0f70cc0fe51354a59acad9302084",
401
- "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084",
402
  "shasum": ""
403
  },
404
  "require": {
405
  "php": ">=7.2",
406
- "psr/log": "^1.0.1"
407
  },
408
  "provide": {
409
- "psr/log-implementation": "1.0.0"
410
  },
411
  "require-dev": {
412
  "aws/aws-sdk-php": "^2.4.9 || ^3.0",
@@ -414,14 +419,14 @@
414
  "elasticsearch/elasticsearch": "^7",
415
  "graylog2/gelf-php": "^1.4.2",
416
  "mongodb/mongodb": "^1.8",
417
- "php-amqplib/php-amqplib": "~2.4",
418
  "php-console/php-console": "^3.1.3",
419
  "phpspec/prophecy": "^1.6.1",
420
- "phpstan/phpstan": "^0.12.59",
421
  "phpunit/phpunit": "^8.5",
422
  "predis/predis": "^1.1",
423
  "rollbar/rollbar": "^1.3",
424
- "ruflin/elastica": ">=0.90 <7.0.1",
425
  "swiftmailer/swiftmailer": "^5.3|^6.0"
426
  },
427
  "suggest": {
@@ -429,8 +434,11 @@
429
  "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
430
  "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
431
  "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
 
432
  "ext-mbstring": "Allow to work properly with unicode symbols",
433
  "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
 
 
434
  "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
435
  "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
436
  "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
@@ -438,7 +446,7 @@
438
  "rollbar/rollbar": "Allow sending log messages to Rollbar",
439
  "ruflin/elastica": "Allow sending log messages to an Elastic Search server"
440
  },
441
- "time": "2020-12-14T13:15:25+00:00",
442
  "type": "library",
443
  "extra": {
444
  "branch-alias": {
@@ -471,7 +479,7 @@
471
  ],
472
  "support": {
473
  "issues": "https://github.com/Seldaek/monolog/issues",
474
- "source": "https://github.com/Seldaek/monolog/tree/2.2.0"
475
  },
476
  "funding": [
477
  {
@@ -487,17 +495,17 @@
487
  },
488
  {
489
  "name": "mpdf/mpdf",
490
- "version": "v8.0.10",
491
- "version_normalized": "8.0.10.0",
492
  "source": {
493
  "type": "git",
494
  "url": "https://github.com/mpdf/mpdf.git",
495
- "reference": "1333a962cd2f7ae1a127b7534b7734b58179186f"
496
  },
497
  "dist": {
498
  "type": "zip",
499
- "url": "https://api.github.com/repos/mpdf/mpdf/zipball/1333a962cd2f7ae1a127b7534b7734b58179186f",
500
- "reference": "1333a962cd2f7ae1a127b7534b7734b58179186f",
501
  "shasum": ""
502
  },
503
  "require": {
@@ -505,23 +513,23 @@
505
  "ext-mbstring": "*",
506
  "myclabs/deep-copy": "^1.7",
507
  "paragonie/random_compat": "^1.4|^2.0|^9.99.99",
508
- "php": "^5.6 || ^7.0 || ~8.0.0",
509
- "psr/log": "^1.0",
510
  "setasign/fpdi": "^2.1"
511
  },
512
  "require-dev": {
513
  "mockery/mockery": "^1.3.0",
514
  "mpdf/qrcode": "^1.1.0",
515
- "phpunit/phpunit": "^5.7",
516
  "squizlabs/php_codesniffer": "^3.5.0",
517
- "tracy/tracy": "^2.4"
 
518
  },
519
  "suggest": {
520
  "ext-bcmath": "Needed for generation of some types of barcodes",
521
  "ext-xml": "Needed mainly for SVG manipulation",
522
  "ext-zlib": "Needed for compression of embedded resources, such as fonts"
523
  },
524
- "time": "2021-01-08T14:59:28+00:00",
525
  "type": "library",
526
  "installation-source": "dist",
527
  "autoload": {
@@ -565,17 +573,17 @@
565
  },
566
  {
567
  "name": "mpdf/qrcode",
568
- "version": "v1.1.1",
569
- "version_normalized": "1.1.1.0",
570
  "source": {
571
  "type": "git",
572
  "url": "https://github.com/mpdf/qrcode.git",
573
- "reference": "f3c0a99e37e8489f0b91b7d2c394dcba0b38d71c"
574
  },
575
  "dist": {
576
  "type": "zip",
577
- "url": "https://api.github.com/repos/mpdf/qrcode/zipball/f3c0a99e37e8489f0b91b7d2c394dcba0b38d71c",
578
- "reference": "f3c0a99e37e8489f0b91b7d2c394dcba0b38d71c",
579
  "shasum": ""
580
  },
581
  "require": {
@@ -584,14 +592,15 @@
584
  },
585
  "require-dev": {
586
  "mockery/mockery": "^0.9.5",
587
- "phpunit/phpunit": "^5.0",
588
  "squizlabs/php_codesniffer": "^3.4",
589
- "tracy/tracy": "^2.5"
 
590
  },
591
  "suggest": {
592
- "ext-gd": "To output QR codes to PNG files"
 
593
  },
594
- "time": "2021-01-12T18:16:41+00:00",
595
  "type": "library",
596
  "installation-source": "dist",
597
  "autoload": {
@@ -623,8 +632,14 @@
623
  ],
624
  "support": {
625
  "issues": "https://github.com/mpdf/qrcode/issues",
626
- "source": "https://github.com/mpdf/qrcode/tree/v1.1.1"
627
  },
 
 
 
 
 
 
628
  "install-path": "../mpdf/qrcode"
629
  },
630
  {
@@ -645,9 +660,6 @@
645
  "require": {
646
  "php": "^7.1 || ^8.0"
647
  },
648
- "replace": {
649
- "myclabs/deep-copy": "self.version"
650
- },
651
  "require-dev": {
652
  "doctrine/collections": "^1.0",
653
  "doctrine/common": "^2.6",
@@ -799,23 +811,23 @@
799
  },
800
  {
801
  "name": "psr/log",
802
- "version": "1.1.3",
803
- "version_normalized": "1.1.3.0",
804
  "source": {
805
  "type": "git",
806
  "url": "https://github.com/php-fig/log.git",
807
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
808
  },
809
  "dist": {
810
  "type": "zip",
811
- "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
812
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
813
  "shasum": ""
814
  },
815
  "require": {
816
  "php": ">=5.3.0"
817
  },
818
- "time": "2020-03-23T09:12:05+00:00",
819
  "type": "library",
820
  "extra": {
821
  "branch-alias": {
@@ -835,7 +847,7 @@
835
  "authors": [
836
  {
837
  "name": "PHP-FIG",
838
- "homepage": "http://www.php-fig.org/"
839
  }
840
  ],
841
  "description": "Common interface for logging libraries",
@@ -846,7 +858,7 @@
846
  "psr-3"
847
  ],
848
  "support": {
849
- "source": "https://github.com/php-fig/log/tree/1.1.3"
850
  },
851
  "install-path": "../psr/log"
852
  },
@@ -976,17 +988,17 @@
976
  },
977
  {
978
  "name": "spatie/url-signer",
979
- "version": "1.2.1",
980
- "version_normalized": "1.2.1.0",
981
  "source": {
982
  "type": "git",
983
  "url": "https://github.com/spatie/url-signer.git",
984
- "reference": "110b9ea84f149de1a5f4b1adf2adba4bbd6bea23"
985
  },
986
  "dist": {
987
  "type": "zip",
988
- "url": "https://api.github.com/repos/spatie/url-signer/zipball/110b9ea84f149de1a5f4b1adf2adba4bbd6bea23",
989
- "reference": "110b9ea84f149de1a5f4b1adf2adba4bbd6bea23",
990
  "shasum": ""
991
  },
992
  "require": {
@@ -997,7 +1009,7 @@
997
  "require-dev": {
998
  "phpunit/phpunit": "^8.0|^9.0"
999
  },
1000
- "time": "2021-02-05T07:25:15+00:00",
1001
  "type": "library",
1002
  "extra": {
1003
  "branch-alias": {
@@ -1033,7 +1045,7 @@
1033
  ],
1034
  "support": {
1035
  "issues": "https://github.com/spatie/url-signer/issues",
1036
- "source": "https://github.com/spatie/url-signer/tree/1.2.1"
1037
  },
1038
  "install-path": "../spatie/url-signer"
1039
  }
56
  },
57
  {
58
  "name": "league/uri",
59
+ "version": "6.5.0",
60
+ "version_normalized": "6.5.0.0",
61
  "source": {
62
  "type": "git",
63
  "url": "https://github.com/thephpleague/uri.git",
64
+ "reference": "c68ca445abb04817d740ddd6d0b3551826ef0c5a"
65
  },
66
  "dist": {
67
  "type": "zip",
68
+ "url": "https://api.github.com/repos/thephpleague/uri/zipball/c68ca445abb04817d740ddd6d0b3551826ef0c5a",
69
+ "reference": "c68ca445abb04817d740ddd6d0b3551826ef0c5a",
70
  "shasum": ""
71
  },
72
  "require": {
73
  "ext-json": "*",
74
+ "league/uri-interfaces": "^2.3",
75
+ "php": "^7.3 || ^8.0",
76
  "psr/http-message": "^1.0"
77
  },
78
  "conflict": {
79
  "league/uri-schemes": "^1.0"
80
  },
81
  "require-dev": {
82
+ "friendsofphp/php-cs-fixer": "^2.19 || ^3.0",
83
+ "phpstan/phpstan": "^0.12.90",
84
+ "phpstan/phpstan-phpunit": "^0.12.22",
85
+ "phpstan/phpstan-strict-rules": "^0.12.11",
86
  "phpunit/phpunit": "^8.0 || ^9.0",
87
  "psr/http-factory": "^1.0"
88
  },
92
  "league/uri-components": "Needed to easily manipulate URI objects",
93
  "psr/http-factory": "Needed to use the URI factory"
94
  },
95
+ "time": "2021-08-27T09:54:07+00:00",
96
  "type": "library",
97
  "extra": {
98
  "branch-alias": {
143
  "docs": "https://uri.thephpleague.com",
144
  "forum": "https://thephpleague.slack.com",
145
  "issues": "https://github.com/thephpleague/uri/issues",
146
+ "source": "https://github.com/thephpleague/uri/tree/6.5.0"
147
  },
148
  "funding": [
149
  {
155
  },
156
  {
157
  "name": "league/uri-components",
158
+ "version": "2.4.0",
159
+ "version_normalized": "2.4.0.0",
160
  "source": {
161
  "type": "git",
162
  "url": "https://github.com/thephpleague/uri-components.git",
163
+ "reference": "c97c83e7d915cdb0163f0322a87a07df1d0d9fe1"
164
  },
165
  "dist": {
166
  "type": "zip",
167
+ "url": "https://api.github.com/repos/thephpleague/uri-components/zipball/c97c83e7d915cdb0163f0322a87a07df1d0d9fe1",
168
+ "reference": "c97c83e7d915cdb0163f0322a87a07df1d0d9fe1",
169
  "shasum": ""
170
  },
171
  "require": {
172
  "ext-json": "*",
173
+ "league/uri-interfaces": "^2.3",
174
  "php": "^7.3 || ^8.0",
175
  "psr/http-message": "^1.0"
176
  },
177
  "require-dev": {
178
+ "friendsofphp/php-cs-fixer": "^2.19",
179
  "guzzlehttp/psr7": "^1.4.2",
180
+ "laminas/laminas-diactoros": "^2.6.0",
181
  "league/uri": "^6.0",
182
+ "phpstan/phpstan": "^0.12.94",
183
+ "phpstan/phpstan-phpunit": "^0.12.21",
184
+ "phpstan/phpstan-strict-rules": "^0.12.10",
185
+ "phpunit/phpunit": "^9.5.8"
186
  },
187
  "suggest": {
188
  "ext-fileinfo": "Needed to create Data URI from a filepath",
193
  "php-64bit": "to improve handle IPV4 parsing",
194
  "psr/http-message-implementation": "to allow manipulating PSR-7 Uri objects"
195
  },
196
+ "time": "2021-08-02T20:31:29+00:00",
197
  "type": "library",
198
  "extra": {
199
  "branch-alias": {
235
  ],
236
  "support": {
237
  "issues": "https://github.com/thephpleague/uri-components/issues",
238
+ "source": "https://github.com/thephpleague/uri-components/tree/2.4.0"
239
  },
240
  "funding": [
241
  {
247
  },
248
  {
249
  "name": "league/uri-interfaces",
250
+ "version": "2.3.0",
251
+ "version_normalized": "2.3.0.0",
252
  "source": {
253
  "type": "git",
254
  "url": "https://github.com/thephpleague/uri-interfaces.git",
255
+ "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383"
256
  },
257
  "dist": {
258
  "type": "zip",
259
+ "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/00e7e2943f76d8cb50c7dfdc2f6dee356e15e383",
260
+ "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383",
261
  "shasum": ""
262
  },
263
  "require": {
264
  "ext-json": "*",
265
+ "php": "^7.2 || ^8.0"
266
  },
267
  "require-dev": {
268
+ "friendsofphp/php-cs-fixer": "^2.19",
269
+ "phpstan/phpstan": "^0.12.90",
270
+ "phpstan/phpstan-phpunit": "^0.12.19",
271
+ "phpstan/phpstan-strict-rules": "^0.12.9",
272
+ "phpunit/phpunit": "^8.5.15 || ^9.5"
273
+ },
274
+ "suggest": {
275
+ "ext-intl": "to use the IDNA feature",
276
+ "symfony/intl": "to use the IDNA feature via Symfony Polyfill"
277
  },
278
+ "time": "2021-06-28T04:27:21+00:00",
279
  "type": "library",
280
  "extra": {
281
  "branch-alias": {
309
  ],
310
  "support": {
311
  "issues": "https://github.com/thephpleague/uri-interfaces/issues",
312
+ "source": "https://github.com/thephpleague/uri-interfaces/tree/2.3.0"
313
  },
314
  "funding": [
315
  {
321
  },
322
  {
323
  "name": "masterminds/html5",
324
+ "version": "2.7.5",
325
+ "version_normalized": "2.7.5.0",
326
  "source": {
327
  "type": "git",
328
  "url": "https://github.com/Masterminds/html5-php.git",
329
+ "reference": "f640ac1bdddff06ea333a920c95bbad8872429ab"
330
  },
331
  "dist": {
332
  "type": "zip",
333
+ "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f640ac1bdddff06ea333a920c95bbad8872429ab",
334
+ "reference": "f640ac1bdddff06ea333a920c95bbad8872429ab",
335
  "shasum": ""
336
  },
337
  "require": {
341
  "php": ">=5.3.0"
342
  },
343
  "require-dev": {
344
+ "phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7"
345
  },
346
+ "time": "2021-07-01T14:25:37+00:00",
347
  "type": "library",
348
  "extra": {
349
  "branch-alias": {
387
  ],
388
  "support": {
389
  "issues": "https://github.com/Masterminds/html5-php/issues",
390
+ "source": "https://github.com/Masterminds/html5-php/tree/2.7.5"
391
  },
392
  "install-path": "../masterminds/html5"
393
  },
394
  {
395
  "name": "monolog/monolog",
396
+ "version": "2.3.5",
397
+ "version_normalized": "2.3.5.0",
398
  "source": {
399
  "type": "git",
400
  "url": "https://github.com/Seldaek/monolog.git",
401
+ "reference": "fd4380d6fc37626e2f799f29d91195040137eba9"
402
  },
403
  "dist": {
404
  "type": "zip",
405
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd4380d6fc37626e2f799f29d91195040137eba9",
406
+ "reference": "fd4380d6fc37626e2f799f29d91195040137eba9",
407
  "shasum": ""
408
  },
409
  "require": {
410
  "php": ">=7.2",
411
+ "psr/log": "^1.0.1 || ^2.0 || ^3.0"
412
  },
413
  "provide": {
414
+ "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0"
415
  },
416
  "require-dev": {
417
  "aws/aws-sdk-php": "^2.4.9 || ^3.0",
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",
429
+ "ruflin/elastica": ">=0.90@dev",
430
  "swiftmailer/swiftmailer": "^5.3|^6.0"
431
  },
432
  "suggest": {
434
  "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
435
  "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
436
  "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
437
+ "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler",
438
  "ext-mbstring": "Allow to work properly with unicode symbols",
439
  "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
440
+ "ext-openssl": "Required to send log messages using SSL",
441
+ "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)",
442
  "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
443
  "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
444
  "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
446
  "rollbar/rollbar": "Allow sending log messages to Rollbar",
447
  "ruflin/elastica": "Allow sending log messages to an Elastic Search server"
448
  },
449
+ "time": "2021-10-01T21:08:31+00:00",
450
  "type": "library",
451
  "extra": {
452
  "branch-alias": {
479
  ],
480
  "support": {
481
  "issues": "https://github.com/Seldaek/monolog/issues",
482
+ "source": "https://github.com/Seldaek/monolog/tree/2.3.5"
483
  },
484
  "funding": [
485
  {
495
  },
496
  {
497
  "name": "mpdf/mpdf",
498
+ "version": "v8.0.17",
499
+ "version_normalized": "8.0.17.0",
500
  "source": {
501
  "type": "git",
502
  "url": "https://github.com/mpdf/mpdf.git",
503
+ "reference": "5f64118317c8145c0abc606b310aa0a66808398a"
504
  },
505
  "dist": {
506
  "type": "zip",
507
+ "url": "https://api.github.com/repos/mpdf/mpdf/zipball/5f64118317c8145c0abc606b310aa0a66808398a",
508
+ "reference": "5f64118317c8145c0abc606b310aa0a66808398a",
509
  "shasum": ""
510
  },
511
  "require": {
513
  "ext-mbstring": "*",
514
  "myclabs/deep-copy": "^1.7",
515
  "paragonie/random_compat": "^1.4|^2.0|^9.99.99",
516
+ "php": "^5.6 || ^7.0 || ~8.0.0 || ~8.1.0",
517
+ "psr/log": "^1.0 || ^2.0",
518
  "setasign/fpdi": "^2.1"
519
  },
520
  "require-dev": {
521
  "mockery/mockery": "^1.3.0",
522
  "mpdf/qrcode": "^1.1.0",
 
523
  "squizlabs/php_codesniffer": "^3.5.0",
524
+ "tracy/tracy": "^2.4",
525
+ "yoast/phpunit-polyfills": "^1.0"
526
  },
527
  "suggest": {
528
  "ext-bcmath": "Needed for generation of some types of barcodes",
529
  "ext-xml": "Needed mainly for SVG manipulation",
530
  "ext-zlib": "Needed for compression of embedded resources, such as fonts"
531
  },
532
+ "time": "2022-01-20T10:51:40+00:00",
533
  "type": "library",
534
  "installation-source": "dist",
535
  "autoload": {
573
  },
574
  {
575
  "name": "mpdf/qrcode",
576
+ "version": "v1.2.0",
577
+ "version_normalized": "1.2.0.0",
578
  "source": {
579
  "type": "git",
580
  "url": "https://github.com/mpdf/qrcode.git",
581
+ "reference": "0c09fce8b28707611c3febdd1ca424d40f172184"
582
  },
583
  "dist": {
584
  "type": "zip",
585
+ "url": "https://api.github.com/repos/mpdf/qrcode/zipball/0c09fce8b28707611c3febdd1ca424d40f172184",
586
+ "reference": "0c09fce8b28707611c3febdd1ca424d40f172184",
587
  "shasum": ""
588
  },
589
  "require": {
592
  },
593
  "require-dev": {
594
  "mockery/mockery": "^0.9.5",
 
595
  "squizlabs/php_codesniffer": "^3.4",
596
+ "tracy/tracy": "^2.5",
597
+ "yoast/phpunit-polyfills": "^1.0"
598
  },
599
  "suggest": {
600
+ "ext-gd": "To output QR codes to PNG files",
601
+ "ext-simplexml": "To output QR codes to SVG files"
602
  },
603
+ "time": "2022-01-11T09:42:41+00:00",
604
  "type": "library",
605
  "installation-source": "dist",
606
  "autoload": {
632
  ],
633
  "support": {
634
  "issues": "https://github.com/mpdf/qrcode/issues",
635
+ "source": "https://github.com/mpdf/qrcode/tree/v1.2.0"
636
  },
637
+ "funding": [
638
+ {
639
+ "url": "https://www.paypal.me/mpdf",
640
+ "type": "custom"
641
+ }
642
+ ],
643
  "install-path": "../mpdf/qrcode"
644
  },
645
  {
660
  "require": {
661
  "php": "^7.1 || ^8.0"
662
  },
 
 
 
663
  "require-dev": {
664
  "doctrine/collections": "^1.0",
665
  "doctrine/common": "^2.6",
811
  },
812
  {
813
  "name": "psr/log",
814
+ "version": "1.1.4",
815
+ "version_normalized": "1.1.4.0",
816
  "source": {
817
  "type": "git",
818
  "url": "https://github.com/php-fig/log.git",
819
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
820
  },
821
  "dist": {
822
  "type": "zip",
823
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
824
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
825
  "shasum": ""
826
  },
827
  "require": {
828
  "php": ">=5.3.0"
829
  },
830
+ "time": "2021-05-03T11:20:27+00:00",
831
  "type": "library",
832
  "extra": {
833
  "branch-alias": {
847
  "authors": [
848
  {
849
  "name": "PHP-FIG",
850
+ "homepage": "https://www.php-fig.org/"
851
  }
852
  ],
853
  "description": "Common interface for logging libraries",
858
  "psr-3"
859
  ],
860
  "support": {
861
+ "source": "https://github.com/php-fig/log/tree/1.1.4"
862
  },
863
  "install-path": "../psr/log"
864
  },
988
  },
989
  {
990
  "name": "spatie/url-signer",
991
+ "version": "1.2.2",
992
+ "version_normalized": "1.2.2.0",
993
  "source": {
994
  "type": "git",
995
  "url": "https://github.com/spatie/url-signer.git",
996
+ "reference": "297dd4f11d4a106df09ee27094fd09a7844981d3"
997
  },
998
  "dist": {
999
  "type": "zip",
1000
+ "url": "https://api.github.com/repos/spatie/url-signer/zipball/297dd4f11d4a106df09ee27094fd09a7844981d3",
1001
+ "reference": "297dd4f11d4a106df09ee27094fd09a7844981d3",
1002
  "shasum": ""
1003
  },
1004
  "require": {
1009
  "require-dev": {
1010
  "phpunit/phpunit": "^8.0|^9.0"
1011
  },
1012
+ "time": "2021-04-20T16:57:41+00:00",
1013
  "type": "library",
1014
  "extra": {
1015
  "branch-alias": {
1045
  ],
1046
  "support": {
1047
  "issues": "https://github.com/spatie/url-signer/issues",
1048
+ "source": "https://github.com/spatie/url-signer/tree/1.2.2"
1049
  },
1050
  "install-path": "../spatie/url-signer"
1051
  }
vendor/composer/installed.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php return array(
2
  'root' => array(
3
- 'pretty_version' => '6.0.3',
4
- 'version' => '6.0.3.0',
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => 'a7abe99f069cdd30c3eaa558f9a0c374a53b9f4a',
9
  'name' => 'gravitypdf/gravitypdf',
10
  'dev' => false,
11
  ),
@@ -20,75 +20,75 @@
20
  'dev_requirement' => false,
21
  ),
22
  'gravitypdf/gravitypdf' => array(
23
- 'pretty_version' => '6.0.3',
24
- 'version' => '6.0.3.0',
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
- 'reference' => 'a7abe99f069cdd30c3eaa558f9a0c374a53b9f4a',
29
  'dev_requirement' => false,
30
  ),
31
  'league/uri' => array(
32
- 'pretty_version' => '6.4.0',
33
- 'version' => '6.4.0.0',
34
  'type' => 'library',
35
  'install_path' => __DIR__ . '/../league/uri',
36
  'aliases' => array(),
37
- 'reference' => '09da64118eaf4c5d52f9923a1e6a5be1da52fd9a',
38
  'dev_requirement' => false,
39
  ),
40
  'league/uri-components' => array(
41
- 'pretty_version' => '2.3.0',
42
- 'version' => '2.3.0.0',
43
  'type' => 'library',
44
  'install_path' => __DIR__ . '/../league/uri-components',
45
  'aliases' => array(),
46
- 'reference' => '14540a610ba5b70a7daf83582a109291baa004d0',
47
  'dev_requirement' => false,
48
  ),
49
  'league/uri-interfaces' => array(
50
- 'pretty_version' => '2.2.0',
51
- 'version' => '2.2.0.0',
52
  'type' => 'library',
53
  'install_path' => __DIR__ . '/../league/uri-interfaces',
54
  'aliases' => array(),
55
- 'reference' => '667f150e589d65d79c89ffe662e426704f84224f',
56
  'dev_requirement' => false,
57
  ),
58
  'masterminds/html5' => array(
59
- 'pretty_version' => '2.7.4',
60
- 'version' => '2.7.4.0',
61
  'type' => 'library',
62
  'install_path' => __DIR__ . '/../masterminds/html5',
63
  'aliases' => array(),
64
- 'reference' => '9227822783c75406cfe400984b2f095cdf03d417',
65
  'dev_requirement' => false,
66
  ),
67
  'monolog/monolog' => array(
68
- 'pretty_version' => '2.2.0',
69
- 'version' => '2.2.0.0',
70
  'type' => 'library',
71
  'install_path' => __DIR__ . '/../monolog/monolog',
72
  'aliases' => array(),
73
- 'reference' => '1cb1cde8e8dd0f70cc0fe51354a59acad9302084',
74
  'dev_requirement' => false,
75
  ),
76
  'mpdf/mpdf' => array(
77
- 'pretty_version' => 'v8.0.10',
78
- 'version' => '8.0.10.0',
79
  'type' => 'library',
80
  'install_path' => __DIR__ . '/../mpdf/mpdf',
81
  'aliases' => array(),
82
- 'reference' => '1333a962cd2f7ae1a127b7534b7734b58179186f',
83
  'dev_requirement' => false,
84
  ),
85
  'mpdf/qrcode' => array(
86
- 'pretty_version' => 'v1.1.1',
87
- 'version' => '1.1.1.0',
88
  'type' => 'library',
89
  'install_path' => __DIR__ . '/../mpdf/qrcode',
90
  'aliases' => array(),
91
- 'reference' => 'f3c0a99e37e8489f0b91b7d2c394dcba0b38d71c',
92
  'dev_requirement' => false,
93
  ),
94
  'myclabs/deep-copy' => array(
@@ -99,9 +99,6 @@
99
  'aliases' => array(),
100
  'reference' => '776f831124e9c62e1a2c601ecc52e776d8bb7220',
101
  'dev_requirement' => false,
102
- 'replaced' => array(
103
- 0 => '1.10.2',
104
- ),
105
  ),
106
  'paragonie/random_compat' => array(
107
  'pretty_version' => 'v9.99.100',
@@ -122,18 +119,18 @@
122
  'dev_requirement' => false,
123
  ),
124
  'psr/log' => array(
125
- 'pretty_version' => '1.1.3',
126
- 'version' => '1.1.3.0',
127
  'type' => 'library',
128
  'install_path' => __DIR__ . '/../psr/log',
129
  'aliases' => array(),
130
- 'reference' => '0f73288fd15629204f9d42b7055f72dacbe811fc',
131
  'dev_requirement' => false,
132
  ),
133
  'psr/log-implementation' => array(
134
  'dev_requirement' => false,
135
  'provided' => array(
136
- 0 => '1.0.0',
137
  ),
138
  ),
139
  'querypath/querypath' => array(
@@ -155,12 +152,12 @@
155
  'dev_requirement' => false,
156
  ),
157
  'spatie/url-signer' => array(
158
- 'pretty_version' => '1.2.1',
159
- 'version' => '1.2.1.0',
160
  'type' => 'library',
161
  'install_path' => __DIR__ . '/../spatie/url-signer',
162
  'aliases' => array(),
163
- 'reference' => '110b9ea84f149de1a5f4b1adf2adba4bbd6bea23',
164
  'dev_requirement' => false,
165
  ),
166
  ),
1
  <?php return array(
2
  'root' => array(
3
+ 'pretty_version' => '6.1.1',
4
+ 'version' => '6.1.1.0',
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '1e0227a6e0d16eba04add224ee19ffa6b4cc5c20',
9
  'name' => 'gravitypdf/gravitypdf',
10
  'dev' => false,
11
  ),
20
  'dev_requirement' => false,
21
  ),
22
  'gravitypdf/gravitypdf' => array(
23
+ 'pretty_version' => '6.1.1',
24
+ 'version' => '6.1.1.0',
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
+ 'reference' => '1e0227a6e0d16eba04add224ee19ffa6b4cc5c20',
29
  'dev_requirement' => false,
30
  ),
31
  'league/uri' => array(
32
+ 'pretty_version' => '6.5.0',
33
+ 'version' => '6.5.0.0',
34
  'type' => 'library',
35
  'install_path' => __DIR__ . '/../league/uri',
36
  'aliases' => array(),
37
+ 'reference' => 'c68ca445abb04817d740ddd6d0b3551826ef0c5a',
38
  'dev_requirement' => false,
39
  ),
40
  'league/uri-components' => array(
41
+ 'pretty_version' => '2.4.0',
42
+ 'version' => '2.4.0.0',
43
  'type' => 'library',
44
  'install_path' => __DIR__ . '/../league/uri-components',
45
  'aliases' => array(),
46
+ 'reference' => 'c97c83e7d915cdb0163f0322a87a07df1d0d9fe1',
47
  'dev_requirement' => false,
48
  ),
49
  'league/uri-interfaces' => array(
50
+ 'pretty_version' => '2.3.0',
51
+ 'version' => '2.3.0.0',
52
  'type' => 'library',
53
  'install_path' => __DIR__ . '/../league/uri-interfaces',
54
  'aliases' => array(),
55
+ 'reference' => '00e7e2943f76d8cb50c7dfdc2f6dee356e15e383',
56
  'dev_requirement' => false,
57
  ),
58
  'masterminds/html5' => array(
59
+ 'pretty_version' => '2.7.5',
60
+ 'version' => '2.7.5.0',
61
  'type' => 'library',
62
  'install_path' => __DIR__ . '/../masterminds/html5',
63
  'aliases' => array(),
64
+ 'reference' => 'f640ac1bdddff06ea333a920c95bbad8872429ab',
65
  'dev_requirement' => false,
66
  ),
67
  'monolog/monolog' => array(
68
+ 'pretty_version' => '2.3.5',
69
+ 'version' => '2.3.5.0',
70
  'type' => 'library',
71
  'install_path' => __DIR__ . '/../monolog/monolog',
72
  'aliases' => array(),
73
+ 'reference' => 'fd4380d6fc37626e2f799f29d91195040137eba9',
74
  'dev_requirement' => false,
75
  ),
76
  'mpdf/mpdf' => array(
77
+ 'pretty_version' => 'v8.0.17',
78
+ 'version' => '8.0.17.0',
79
  'type' => 'library',
80
  'install_path' => __DIR__ . '/../mpdf/mpdf',
81
  'aliases' => array(),
82
+ 'reference' => '5f64118317c8145c0abc606b310aa0a66808398a',
83
  'dev_requirement' => false,
84
  ),
85
  'mpdf/qrcode' => array(
86
+ 'pretty_version' => 'v1.2.0',
87
+ 'version' => '1.2.0.0',
88
  'type' => 'library',
89
  'install_path' => __DIR__ . '/../mpdf/qrcode',
90
  'aliases' => array(),
91
+ 'reference' => '0c09fce8b28707611c3febdd1ca424d40f172184',
92
  'dev_requirement' => false,
93
  ),
94
  'myclabs/deep-copy' => array(
99
  'aliases' => array(),
100
  'reference' => '776f831124e9c62e1a2c601ecc52e776d8bb7220',
101
  'dev_requirement' => false,
 
 
 
102
  ),
103
  'paragonie/random_compat' => array(
104
  'pretty_version' => 'v9.99.100',
119
  'dev_requirement' => false,
120
  ),
121
  'psr/log' => array(
122
+ 'pretty_version' => '1.1.4',
123
+ 'version' => '1.1.4.0',
124
  'type' => 'library',
125
  'install_path' => __DIR__ . '/../psr/log',
126
  'aliases' => array(),
127
+ 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11',
128
  'dev_requirement' => false,
129
  ),
130
  'psr/log-implementation' => array(
131
  'dev_requirement' => false,
132
  'provided' => array(
133
+ 0 => '1.0.0 || 2.0.0 || 3.0.0',
134
  ),
135
  ),
136
  'querypath/querypath' => array(
152
  'dev_requirement' => false,
153
  ),
154
  'spatie/url-signer' => array(
155
+ 'pretty_version' => '1.2.2',
156
+ 'version' => '1.2.2.0',
157
  'type' => 'library',
158
  'install_path' => __DIR__ . '/../spatie/url-signer',
159
  'aliases' => array(),
160
+ 'reference' => '297dd4f11d4a106df09ee27094fd09a7844981d3',
161
  'dev_requirement' => false,
162
  ),
163
  ),
vendor/composer/platform_check.php CHANGED
File without changes
vendor/paragonie/random_compat/LICENSE CHANGED
File without changes
vendor/paragonie/random_compat/composer.json CHANGED
File without changes
vendor/paragonie/random_compat/dist/random_compat.phar.pubkey CHANGED
File without changes
vendor/paragonie/random_compat/dist/random_compat.phar.pubkey.asc CHANGED
File without changes
vendor/paragonie/random_compat/lib/random.php CHANGED
File without changes
vendor/paragonie/random_compat/other/build_phar.php CHANGED
File without changes
vendor/paragonie/random_compat/psalm-autoload.php CHANGED
File without changes
vendor/paragonie/random_compat/psalm.xml CHANGED
File without changes
vendor/psr/http-message/CHANGELOG.md CHANGED
File without changes
vendor/psr/http-message/LICENSE CHANGED
File without changes
vendor/psr/http-message/README.md CHANGED
File without changes
vendor/psr/http-message/composer.json CHANGED
File without changes
vendor/psr/http-message/src/MessageInterface.php CHANGED
File without changes
vendor/psr/http-message/src/RequestInterface.php CHANGED
File without changes
vendor/psr/http-message/src/ResponseInterface.php CHANGED
File without changes
vendor/psr/http-message/src/ServerRequestInterface.php CHANGED
File without changes
vendor/psr/http-message/src/StreamInterface.php CHANGED
File without changes
vendor/psr/http-message/src/UploadedFileInterface.php CHANGED
File without changes
vendor/psr/http-message/src/UriInterface.php CHANGED
File without changes
vendor/psr/log/LICENSE CHANGED
File without changes
vendor/psr/log/Psr/Log/AbstractLogger.php CHANGED
@@ -14,8 +14,8 @@ abstract class AbstractLogger implements LoggerInterface
14
  /**
15
  * System is unusable.
16
  *
17
- * @param string $message
18
- * @param array $context
19
  *
20
  * @return void
21
  */
@@ -30,8 +30,8 @@ abstract class AbstractLogger implements LoggerInterface
30
  * Example: Entire website down, database unavailable, etc. This should
31
  * trigger the SMS alerts and wake you up.
32
  *
33
- * @param string $message
34
- * @param array $context
35
  *
36
  * @return void
37
  */
@@ -45,8 +45,8 @@ abstract class AbstractLogger implements LoggerInterface
45
  *
46
  * Example: Application component unavailable, unexpected exception.
47
  *
48
- * @param string $message
49
- * @param array $context
50
  *
51
  * @return void
52
  */
@@ -59,8 +59,8 @@ abstract class AbstractLogger implements LoggerInterface
59
  * Runtime errors that do not require immediate action but should typically
60
  * be logged and monitored.
61
  *
62
- * @param string $message
63
- * @param array $context
64
  *
65
  * @return void
66
  */
@@ -75,8 +75,8 @@ abstract class AbstractLogger implements LoggerInterface
75
  * Example: Use of deprecated APIs, poor use of an API, undesirable things
76
  * that are not necessarily wrong.
77
  *
78
- * @param string $message
79
- * @param array $context
80
  *
81
  * @return void
82
  */
@@ -88,8 +88,8 @@ abstract class AbstractLogger implements LoggerInterface
88
  /**
89
  * Normal but significant events.
90
  *
91
- * @param string $message
92
- * @param array $context
93
  *
94
  * @return void
95
  */
@@ -103,8 +103,8 @@ abstract class AbstractLogger implements LoggerInterface
103
  *
104
  * Example: User logs in, SQL logs.
105
  *
106
- * @param string $message
107
- * @param array $context
108
  *
109
  * @return void
110
  */
@@ -116,8 +116,8 @@ abstract class AbstractLogger implements LoggerInterface
116
  /**
117
  * Detailed debug information.
118
  *
119
- * @param string $message
120
- * @param array $context
121
  *
122
  * @return void
123
  */
14
  /**
15
  * System is unusable.
16
  *
17
+ * @param string $message
18
+ * @param mixed[] $context
19
  *
20
  * @return void
21
  */
30
  * Example: Entire website down, database unavailable, etc. This should
31
  * trigger the SMS alerts and wake you up.
32
  *
33
+ * @param string $message
34
+ * @param mixed[] $context
35
  *
36
  * @return void
37
  */
45
  *
46
  * Example: Application component unavailable, unexpected exception.
47
  *
48
+ * @param string $message
49
+ * @param mixed[] $context
50
  *
51
  * @return void
52
  */
59
  * Runtime errors that do not require immediate action but should typically
60
  * be logged and monitored.
61
  *
62
+ * @param string $message
63
+ * @param mixed[] $context
64
  *
65
  * @return void
66
  */
75
  * Example: Use of deprecated APIs, poor use of an API, undesirable things
76
  * that are not necessarily wrong.
77
  *
78
+ * @param string $message
79
+ * @param mixed[] $context
80
  *
81
  * @return void
82
  */
88
  /**
89
  * Normal but significant events.
90
  *
91
+ * @param string $message
92
+ * @param mixed[] $context
93
  *
94
  * @return void
95
  */
103
  *
104
  * Example: User logs in, SQL logs.
105
  *
106
+ * @param string $message
107
+ * @param mixed[] $context
108
  *
109
  * @return void
110
  */
116
  /**
117
  * Detailed debug information.
118
  *
119
+ * @param string $message
120
+ * @param mixed[] $context
121
  *
122
  * @return void
123
  */
vendor/psr/log/Psr/Log/InvalidArgumentException.php CHANGED
File without changes
vendor/psr/log/Psr/Log/LogLevel.php CHANGED
File without changes
vendor/psr/log/Psr/Log/LoggerAwareInterface.php CHANGED
File without changes
vendor/psr/log/Psr/Log/LoggerAwareTrait.php CHANGED
@@ -10,7 +10,7 @@ trait LoggerAwareTrait
10
  /**
11
  * The logger instance.
12
  *
13
- * @var LoggerInterface
14
  */
15
  protected $logger;
16
 
10
  /**
11
  * The logger instance.
12
  *
13
+ * @var LoggerInterface|null
14
  */
15
  protected $logger;
16
 
vendor/psr/log/Psr/Log/LoggerInterface.php CHANGED
File without changes
vendor/psr/log/Psr/Log/LoggerTrait.php CHANGED
File without changes
vendor/psr/log/Psr/Log/NullLogger.php CHANGED
File without changes
vendor/psr/log/Psr/Log/Test/DummyTest.php CHANGED
File without changes
vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php CHANGED
File without changes
vendor/psr/log/Psr/Log/Test/TestLogger.php CHANGED
File without changes
vendor/psr/log/README.md CHANGED
File without changes
vendor/psr/log/composer.json CHANGED
@@ -7,7 +7,7 @@
7
  "authors": [
8
  {
9
  "name": "PHP-FIG",
10
- "homepage": "http://www.php-fig.org/"
11
  }
12
  ],
13
  "require": {
7
  "authors": [
8
  {
9
  "name": "PHP-FIG",
10
+ "homepage": "https://www.php-fig.org/"
11
  }
12
  ],
13
  "require": {
vendor_prefixed/league/uri-components/src/Components/Authority.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/Components/Component.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
@@ -130,10 +128,7 @@ abstract class Component implements \GFPDF_Vendor\League\Uri\Contracts\UriCompon
130
  /**
131
  * {@inheritDoc}
132
  */
133
- public function getUriComponent() : string
134
- {
135
- return (string) $this->getContent();
136
- }
137
  /**
138
  * {@inheritDoc}
139
  */
@@ -141,10 +136,17 @@ abstract class Component implements \GFPDF_Vendor\League\Uri\Contracts\UriCompon
141
  /**
142
  * {@inheritDoc}
143
  */
144
- public function __toString() : string
145
  {
146
  return (string) $this->getContent();
147
  }
 
 
 
 
 
 
 
148
  /**
149
  * {@inheritDoc}
150
  *
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
128
  /**
129
  * {@inheritDoc}
130
  */
131
+ public abstract function getUriComponent() : string;
 
 
 
132
  /**
133
  * {@inheritDoc}
134
  */
136
  /**
137
  * {@inheritDoc}
138
  */
139
+ public function toString() : string
140
  {
141
  return (string) $this->getContent();
142
  }
143
+ /**
144
+ * {@inheritDoc}
145
+ */
146
+ public function __toString() : string
147
+ {
148
+ return $this->toString();
149
+ }
150
  /**
151
  * {@inheritDoc}
152
  *
vendor_prefixed/league/uri-components/src/Components/DataPath.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
@@ -266,6 +264,13 @@ final class DataPath extends \GFPDF_Vendor\League\Uri\Components\Component imple
266
  {
267
  return $this->path->getContent();
268
  }
 
 
 
 
 
 
 
269
  /**
270
  * {@inheritDoc}
271
  */
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
264
  {
265
  return $this->path->getContent();
266
  }
267
+ /**
268
+ * {@inheritDoc}
269
+ */
270
+ public function getUriComponent() : string
271
+ {
272
+ return (string) $this->getContent();
273
+ }
274
  /**
275
  * {@inheritDoc}
276
  */
vendor_prefixed/league/uri-components/src/Components/Domain.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
@@ -139,6 +137,13 @@ final class Domain extends \GFPDF_Vendor\League\Uri\Components\Component impleme
139
  {
140
  return $this->host->getContent();
141
  }
 
 
 
 
 
 
 
142
  /**
143
  * {@inheritDoc}
144
  */
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
137
  {
138
  return $this->host->getContent();
139
  }
140
+ /**
141
+ * {@inheritDoc}
142
+ */
143
+ public function getUriComponent() : string
144
+ {
145
+ return (string) $this->getContent();
146
+ }
147
  /**
148
  * {@inheritDoc}
149
  */
vendor_prefixed/league/uri-components/src/Components/Fragment.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/Components/HierarchicalPath.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
@@ -183,6 +181,13 @@ final class HierarchicalPath extends \GFPDF_Vendor\League\Uri\Components\Compone
183
  {
184
  return $this->path->getContent();
185
  }
 
 
 
 
 
 
 
186
  /**
187
  * {@inheritDoc}
188
  */
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
181
  {
182
  return $this->path->getContent();
183
  }
184
+ /**
185
+ * {@inheritDoc}
186
+ */
187
+ public function getUriComponent() : string
188
+ {
189
+ return (string) $this->getContent();
190
+ }
191
  /**
192
  * {@inheritDoc}
193
  */
vendor_prefixed/league/uri-components/src/Components/Host.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
@@ -20,20 +18,16 @@ use GFPDF_Vendor\League\Uri\Contracts\AuthorityInterface;
20
  use GFPDF_Vendor\League\Uri\Contracts\IpHostInterface;
21
  use GFPDF_Vendor\League\Uri\Contracts\UriComponentInterface;
22
  use GFPDF_Vendor\League\Uri\Contracts\UriInterface;
23
- use GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing;
24
  use GFPDF_Vendor\League\Uri\Exceptions\IPv4CalculatorMissing;
25
  use GFPDF_Vendor\League\Uri\Exceptions\SyntaxError;
 
26
  use GFPDF_Vendor\League\Uri\IPv4Normalizer;
27
  use Psr\Http\Message\UriInterface as Psr7UriInterface;
28
  use TypeError;
29
- use function defined;
30
  use function explode;
31
  use function filter_var;
32
- use function function_exists;
33
  use function gettype;
34
- use function idn_to_ascii;
35
- use function idn_to_utf8;
36
- use function implode;
37
  use function in_array;
38
  use function inet_pton;
39
  use function is_object;
@@ -49,24 +43,6 @@ use function substr;
49
  use const FILTER_FLAG_IPV4;
50
  use const FILTER_FLAG_IPV6;
51
  use const FILTER_VALIDATE_IP;
52
- use const IDNA_CHECK_BIDI;
53
- use const IDNA_CHECK_CONTEXTJ;
54
- use const IDNA_ERROR_BIDI;
55
- use const IDNA_ERROR_CONTEXTJ;
56
- use const IDNA_ERROR_DISALLOWED;
57
- use const IDNA_ERROR_DOMAIN_NAME_TOO_LONG;
58
- use const IDNA_ERROR_EMPTY_LABEL;
59
- use const IDNA_ERROR_HYPHEN_3_4;
60
- use const IDNA_ERROR_INVALID_ACE_LABEL;
61
- use const IDNA_ERROR_LABEL_HAS_DOT;
62
- use const IDNA_ERROR_LABEL_TOO_LONG;
63
- use const IDNA_ERROR_LEADING_COMBINING_MARK;
64
- use const IDNA_ERROR_LEADING_HYPHEN;
65
- use const IDNA_ERROR_PUNYCODE;
66
- use const IDNA_ERROR_TRAILING_HYPHEN;
67
- use const IDNA_NONTRANSITIONAL_TO_UNICODE;
68
- use const IDNA_USE_STD3_RULES;
69
- use const INTL_IDNA_VARIANT_UTS46;
70
  final class Host extends \GFPDF_Vendor\League\Uri\Components\Component implements \GFPDF_Vendor\League\Uri\Contracts\IpHostInterface
71
  {
72
  /**
@@ -141,17 +117,6 @@ final class Host extends \GFPDF_Vendor\League\Uri\Components\Component implement
141
  * @var bool
142
  */
143
  private $is_domain = \false;
144
- /**
145
- * @codeCoverageIgnore
146
- */
147
- private static function supportIdnHost() : void
148
- {
149
- static $idn_support = null;
150
- $idn_support = $idn_support ?? \function_exists('\\idn_to_ascii') && \defined('\\INTL_IDNA_VARIANT_UTS46');
151
- if (!$idn_support) {
152
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing('IDN host can not be processed. Verify that ext/intl is installed for IDN support and that ICU is at least version 4.6.');
153
- }
154
- }
155
  /**
156
  * New instance.
157
  *
@@ -197,18 +162,12 @@ final class Host extends \GFPDF_Vendor\League\Uri\Components\Component implement
197
  if ($is_ascii || 1 === \preg_match(self::REGEXP_INVALID_HOST_CHARS, $domain_name)) {
198
  throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('`%s` is an invalid domain name : the host contains invalid characters.', $host));
199
  }
200
- self::supportIdnHost();
201
- $domain_name = \idn_to_ascii($domain_name, \IDNA_CHECK_BIDI | \IDNA_CHECK_CONTEXTJ | \IDNA_USE_STD3_RULES | \IDNA_NONTRANSITIONAL_TO_UNICODE, \INTL_IDNA_VARIANT_UTS46, $info);
202
- if (0 !== $info['errors']) {
203
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('`%s` is an invalid domain name : %s.', $host, $this->getIDNAErrors($info['errors'])));
204
- }
205
- // @codeCoverageIgnoreStart
206
- if (\false === $domain_name) {
207
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('The Intl extension is misconfigured for %s, please correct this issue before proceeding.', \PHP_OS));
208
  }
209
- // @codeCoverageIgnoreEnd
210
- $this->host = $domain_name;
211
- $this->is_domain = $this->isValidDomain($domain_name);
212
  }
213
  /**
214
  * Tells whether the registered name is a valid domain name according to RFC1123.
@@ -224,25 +183,6 @@ final class Host extends \GFPDF_Vendor\League\Uri\Components\Component implement
224
  }
225
  return !isset($hostname[$domainMaxLength]) && 1 === \preg_match(self::REGEXP_DOMAIN_NAME, $hostname);
226
  }
227
- /**
228
- * Retrieves and format IDNA conversion error message.
229
- *
230
- * @see http://icu-project.org/apiref/icu4j/com/ibm/icu/text/IDNA.Error.html
231
- */
232
- private function getIDNAErrors(int $error_byte) : string
233
- {
234
- /**
235
- * IDNA errors.
236
- */
237
- static $idn_errors = [\IDNA_ERROR_EMPTY_LABEL => 'a non-final domain name label (or the whole domain name) is empty', \IDNA_ERROR_LABEL_TOO_LONG => 'a domain name label is longer than 63 bytes', \IDNA_ERROR_DOMAIN_NAME_TOO_LONG => 'a domain name is longer than 255 bytes in its storage form', \IDNA_ERROR_LEADING_HYPHEN => 'a label starts with a hyphen-minus ("-")', \IDNA_ERROR_TRAILING_HYPHEN => 'a label ends with a hyphen-minus ("-")', \IDNA_ERROR_HYPHEN_3_4 => 'a label contains hyphen-minus ("-") in the third and fourth positions', \IDNA_ERROR_LEADING_COMBINING_MARK => 'a label starts with a combining mark', \IDNA_ERROR_DISALLOWED => 'a label or domain name contains disallowed characters', \IDNA_ERROR_PUNYCODE => 'a label starts with "xn--" but does not contain valid Punycode', \IDNA_ERROR_LABEL_HAS_DOT => 'a label contains a dot=full stop', \IDNA_ERROR_INVALID_ACE_LABEL => 'An ACE label does not contain a valid label string', \IDNA_ERROR_BIDI => 'a label does not meet the IDNA BiDi requirements (for right-to-left characters)', \IDNA_ERROR_CONTEXTJ => 'a label does not meet the IDNA CONTEXTJ requirements'];
238
- $res = [];
239
- foreach ($idn_errors as $error => $reason) {
240
- if ($error === ($error_byte & $error)) {
241
- $res[] = $reason;
242
- }
243
- }
244
- return [] === $res ? 'Unknown IDNA conversion error.' : \implode(', ', $res) . '.';
245
- }
246
  /**
247
  * Validates an Ipv6 as Host.
248
  *
@@ -345,6 +285,13 @@ final class Host extends \GFPDF_Vendor\League\Uri\Components\Component implement
345
  {
346
  return $this->host;
347
  }
 
 
 
 
 
 
 
348
  /**
349
  * {@inheritDoc}
350
  */
@@ -360,19 +307,7 @@ final class Host extends \GFPDF_Vendor\League\Uri\Components\Component implement
360
  if (null !== $this->ip_version || null === $this->host || \false === \strpos($this->host, 'xn--')) {
361
  return $this->host;
362
  }
363
- $host = \idn_to_utf8($this->host, \IDNA_CHECK_BIDI | \IDNA_CHECK_CONTEXTJ | \IDNA_USE_STD3_RULES | \IDNA_NONTRANSITIONAL_TO_UNICODE, \INTL_IDNA_VARIANT_UTS46, $info);
364
- if ([] === $info) {
365
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('The host `%s` is invalid.', $this->host));
366
- }
367
- if (0 !== $info['errors']) {
368
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('The host `%s` is invalid : %s.', $this->host, $this->getIDNAErrors($info['errors'])));
369
- }
370
- // @codeCoverageIgnoreStart
371
- if (\false === $host) {
372
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('The Intl extension is misconfigured for %s, please correct this issue before proceeding.', \PHP_OS));
373
- }
374
- // @codeCoverageIgnoreEnd
375
- return $host;
376
  }
377
  /**
378
  * {@inheritDoc}
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
18
  use GFPDF_Vendor\League\Uri\Contracts\IpHostInterface;
19
  use GFPDF_Vendor\League\Uri\Contracts\UriComponentInterface;
20
  use GFPDF_Vendor\League\Uri\Contracts\UriInterface;
21
+ use GFPDF_Vendor\League\Uri\Exceptions\IdnaConversionFailed;
22
  use GFPDF_Vendor\League\Uri\Exceptions\IPv4CalculatorMissing;
23
  use GFPDF_Vendor\League\Uri\Exceptions\SyntaxError;
24
+ use GFPDF_Vendor\League\Uri\Idna\Idna;
25
  use GFPDF_Vendor\League\Uri\IPv4Normalizer;
26
  use Psr\Http\Message\UriInterface as Psr7UriInterface;
27
  use TypeError;
 
28
  use function explode;
29
  use function filter_var;
 
30
  use function gettype;
 
 
 
31
  use function in_array;
32
  use function inet_pton;
33
  use function is_object;
43
  use const FILTER_FLAG_IPV4;
44
  use const FILTER_FLAG_IPV6;
45
  use const FILTER_VALIDATE_IP;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  final class Host extends \GFPDF_Vendor\League\Uri\Components\Component implements \GFPDF_Vendor\League\Uri\Contracts\IpHostInterface
47
  {
48
  /**
117
  * @var bool
118
  */
119
  private $is_domain = \false;
 
 
 
 
 
 
 
 
 
 
 
120
  /**
121
  * New instance.
122
  *
162
  if ($is_ascii || 1 === \preg_match(self::REGEXP_INVALID_HOST_CHARS, $domain_name)) {
163
  throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('`%s` is an invalid domain name : the host contains invalid characters.', $host));
164
  }
165
+ $info = \GFPDF_Vendor\League\Uri\Idna\Idna::toAscii($domain_name, \GFPDF_Vendor\League\Uri\Idna\Idna::IDNA2008_ASCII);
166
+ if (0 !== $info->errors()) {
167
+ throw \GFPDF_Vendor\League\Uri\Exceptions\IdnaConversionFailed::dueToIDNAError($domain_name, $info);
 
 
 
 
 
168
  }
169
+ $this->host = $info->result();
170
+ $this->is_domain = $this->isValidDomain($this->host);
 
171
  }
172
  /**
173
  * Tells whether the registered name is a valid domain name according to RFC1123.
183
  }
184
  return !isset($hostname[$domainMaxLength]) && 1 === \preg_match(self::REGEXP_DOMAIN_NAME, $hostname);
185
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  /**
187
  * Validates an Ipv6 as Host.
188
  *
285
  {
286
  return $this->host;
287
  }
288
+ /**
289
+ * {@inheritDoc}
290
+ */
291
+ public function getUriComponent() : string
292
+ {
293
+ return (string) $this->getContent();
294
+ }
295
  /**
296
  * {@inheritDoc}
297
  */
307
  if (null !== $this->ip_version || null === $this->host || \false === \strpos($this->host, 'xn--')) {
308
  return $this->host;
309
  }
310
+ return \GFPDF_Vendor\League\Uri\Idna\Idna::toUnicode($this->host, \GFPDF_Vendor\League\Uri\Idna\Idna::IDNA2008_UNICODE)->result();
 
 
 
 
 
 
 
 
 
 
 
 
311
  }
312
  /**
313
  * {@inheritDoc}
vendor_prefixed/league/uri-components/src/Components/Path.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
@@ -120,6 +118,13 @@ final class Path extends \GFPDF_Vendor\League\Uri\Components\Component implement
120
  {
121
  return $this->encodeComponent($this->path, self::REGEXP_PATH_ENCODING);
122
  }
 
 
 
 
 
 
 
123
  /**
124
  * Returns the decoded path.
125
  */
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
118
  {
119
  return $this->encodeComponent($this->path, self::REGEXP_PATH_ENCODING);
120
  }
121
+ /**
122
+ * {@inheritDoc}
123
+ */
124
+ public function getUriComponent() : string
125
+ {
126
+ return (string) $this->getContent();
127
+ }
128
  /**
129
  * Returns the decoded path.
130
  */
vendor_prefixed/league/uri-components/src/Components/Port.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/Components/Query.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/Components/Scheme.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/Components/UserInfo.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/Exceptions/IPv4CalculatorMissing.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/Exceptions/OffsetOutOfBounds.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/IPv4Calculators/BCMathCalculator.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/IPv4Calculators/GMPCalculator.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/IPv4Calculators/IPv4Calculator.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/IPv4Calculators/NativeCalculator.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/IPv4Normalizer.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-components/src/QueryString.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
@@ -131,6 +129,10 @@ final class QueryString
131
  }
132
  return $query;
133
  }
 
 
 
 
134
  private static function getPairs(string $query, string $separator) : array
135
  {
136
  if (\false === \strpos($query, $separator)) {
@@ -155,7 +157,7 @@ final class QueryString
155
  if (null === $value) {
156
  return [$key, $value];
157
  }
158
- if ($parseValue === self::DECODE_PAIR_VALUE && 1 === \preg_match(self::REGEXP_ENCODED_PATTERN, $value)) {
159
  $value = \preg_replace_callback(self::REGEXP_ENCODED_PATTERN, [self::class, 'decodeMatch'], $value);
160
  }
161
  return [$key, $value];
@@ -264,6 +266,9 @@ final class QueryString
264
  */
265
  public static function extract($query, string $separator = '&', int $enc_type = \PHP_QUERY_RFC3986) : array
266
  {
 
 
 
267
  $query = self::prepareQuery($query, $enc_type);
268
  if (null === $query || '' === $query) {
269
  return [];
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
129
  }
130
  return $query;
131
  }
132
+ /**
133
+ * @param non-empty-string $separator
134
+ * @return array<string|null>
135
+ */
136
  private static function getPairs(string $query, string $separator) : array
137
  {
138
  if (\false === \strpos($query, $separator)) {
157
  if (null === $value) {
158
  return [$key, $value];
159
  }
160
+ if (self::DECODE_PAIR_VALUE === $parseValue && 1 === \preg_match(self::REGEXP_ENCODED_PATTERN, $value)) {
161
  $value = \preg_replace_callback(self::REGEXP_ENCODED_PATTERN, [self::class, 'decodeMatch'], $value);
162
  }
163
  return [$key, $value];
266
  */
267
  public static function extract($query, string $separator = '&', int $enc_type = \PHP_QUERY_RFC3986) : array
268
  {
269
+ if ('' === $separator) {
270
+ throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError('The separator character can not be the empty string.');
271
+ }
272
  $query = self::prepareQuery($query, $enc_type);
273
  if (null === $query || '' === $query) {
274
  return [];
vendor_prefixed/league/uri-components/src/UriModifier.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * League.Uri (http://uri.thephpleague.com/components)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
9
- * @license https://github.com/thephpleague/uri-components/blob/master/LICENSE (MIT License)
10
- * @version 2.0.2
11
  * @link https://github.com/thephpleague/uri-components
12
  *
13
  * For the full copyright and license information, please view the LICENSE
1
  <?php
2
 
3
  /**
4
+ * League.Uri (https://uri.thephpleague.com/components/2.0/)
5
  *
6
  * @package League\Uri
7
  * @subpackage League\Uri\Components
8
  * @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
 
 
9
  * @link https://github.com/thephpleague/uri-components
10
  *
11
  * For the full copyright and license information, please view the LICENSE
vendor_prefixed/league/uri-interfaces/src/Exceptions/IdnaConversionFailed.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * League.Uri (https://uri.thephpleague.com)
5
+ *
6
+ * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+ declare (strict_types=1);
12
+ namespace GFPDF_Vendor\League\Uri\Exceptions;
13
+
14
+ use GFPDF_Vendor\League\Uri\Idna\IdnaInfo;
15
+ final class IdnaConversionFailed extends \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError
16
+ {
17
+ /** @var IdnaInfo|null */
18
+ private $idnaInfo;
19
+ private function __construct(string $message, \GFPDF_Vendor\League\Uri\Idna\IdnaInfo $idnaInfo = null)
20
+ {
21
+ parent::__construct($message);
22
+ $this->idnaInfo = $idnaInfo;
23
+ }
24
+ public static function dueToIDNAError(string $domain, \GFPDF_Vendor\League\Uri\Idna\IdnaInfo $idnaInfo) : self
25
+ {
26
+ return new self('The host `' . $domain . '` is invalid : ' . \implode(', ', $idnaInfo->errorList()) . ' .', $idnaInfo);
27
+ }
28
+ public static function dueToInvalidHost(string $domain) : self
29
+ {
30
+ return new self('The host `' . $domain . '` is not a valid IDN host');
31
+ }
32
+ public function idnaInfo() : ?\GFPDF_Vendor\League\Uri\Idna\IdnaInfo
33
+ {
34
+ return $this->idnaInfo;
35
+ }
36
+ }
vendor_prefixed/league/uri-interfaces/src/Idna/Idna.php ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * League.Uri (https://uri.thephpleague.com)
5
+ *
6
+ * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+ declare (strict_types=1);
12
+ namespace GFPDF_Vendor\League\Uri\Idna;
13
+
14
+ use GFPDF_Vendor\League\Uri\Exceptions\IdnaConversionFailed;
15
+ use GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing;
16
+ use GFPDF_Vendor\League\Uri\Exceptions\SyntaxError;
17
+ use function defined;
18
+ use function function_exists;
19
+ use function idn_to_ascii;
20
+ use function idn_to_utf8;
21
+ use function rawurldecode;
22
+ use const INTL_IDNA_VARIANT_UTS46;
23
+ /**
24
+ * @see https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/uidna_8h.html
25
+ */
26
+ final class Idna
27
+ {
28
+ private const REGEXP_IDNA_PATTERN = '/[^\\x20-\\x7f]/';
29
+ private const MAX_DOMAIN_LENGTH = 253;
30
+ private const MAX_LABEL_LENGTH = 63;
31
+ /**
32
+ * General registered name regular expression.
33
+ *
34
+ * @see https://tools.ietf.org/html/rfc3986#section-3.2.2
35
+ * @see https://regex101.com/r/fptU8V/1
36
+ */
37
+ private const REGEXP_REGISTERED_NAME = '/
38
+ (?(DEFINE)
39
+ (?<unreserved>[a-z0-9_~\\-]) # . is missing as it is used to separate labels
40
+ (?<sub_delims>[!$&\'()*+,;=])
41
+ (?<encoded>%[A-F0-9]{2})
42
+ (?<reg_name>(?:(?&unreserved)|(?&sub_delims)|(?&encoded))*)
43
+ )
44
+ ^(?:(?&reg_name)\\.)*(?&reg_name)\\.?$
45
+ /ix';
46
+ /**
47
+ * IDNA options.
48
+ */
49
+ public const IDNA_DEFAULT = 0;
50
+ public const IDNA_ALLOW_UNASSIGNED = 1;
51
+ public const IDNA_USE_STD3_RULES = 2;
52
+ public const IDNA_CHECK_BIDI = 4;
53
+ public const IDNA_CHECK_CONTEXTJ = 8;
54
+ public const IDNA_NONTRANSITIONAL_TO_ASCII = 0x10;
55
+ public const IDNA_NONTRANSITIONAL_TO_UNICODE = 0x20;
56
+ public const IDNA_CHECK_CONTEXTO = 0x40;
57
+ /**
58
+ * IDNA errors.
59
+ */
60
+ public const ERROR_NONE = 0;
61
+ public const ERROR_EMPTY_LABEL = 1;
62
+ public const ERROR_LABEL_TOO_LONG = 2;
63
+ public const ERROR_DOMAIN_NAME_TOO_LONG = 4;
64
+ public const ERROR_LEADING_HYPHEN = 8;
65
+ public const ERROR_TRAILING_HYPHEN = 0x10;
66
+ public const ERROR_HYPHEN_3_4 = 0x20;
67
+ public const ERROR_LEADING_COMBINING_MARK = 0x40;
68
+ public const ERROR_DISALLOWED = 0x80;
69
+ public const ERROR_PUNYCODE = 0x100;
70
+ public const ERROR_LABEL_HAS_DOT = 0x200;
71
+ public const ERROR_INVALID_ACE_LABEL = 0x400;
72
+ public const ERROR_BIDI = 0x800;
73
+ public const ERROR_CONTEXTJ = 0x1000;
74
+ public const ERROR_CONTEXTO_PUNCTUATION = 0x2000;
75
+ public const ERROR_CONTEXTO_DIGITS = 0x4000;
76
+ /**
77
+ * IDNA default options.
78
+ */
79
+ public const IDNA2008_ASCII = self::IDNA_NONTRANSITIONAL_TO_ASCII | self::IDNA_CHECK_BIDI | self::IDNA_USE_STD3_RULES | self::IDNA_CHECK_CONTEXTJ;
80
+ public const IDNA2008_UNICODE = self::IDNA_NONTRANSITIONAL_TO_UNICODE | self::IDNA_CHECK_BIDI | self::IDNA_USE_STD3_RULES | self::IDNA_CHECK_CONTEXTJ;
81
+ /**
82
+ * @codeCoverageIgnore
83
+ */
84
+ private static function supportsIdna() : void
85
+ {
86
+ static $idnSupport;
87
+ if (null === $idnSupport) {
88
+ $idnSupport = \function_exists('\\idn_to_ascii') && \defined('\\INTL_IDNA_VARIANT_UTS46');
89
+ }
90
+ if (!$idnSupport) {
91
+ throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing('IDN host can not be processed. Verify that ext/intl is installed for IDN support and that ICU is at least version 4.6.');
92
+ }
93
+ }
94
+ /**
95
+ * Converts the input to its IDNA ASCII form.
96
+ *
97
+ * This method returns the string converted to IDN ASCII form
98
+ *
99
+ * @throws SyntaxError if the string can not be converted to ASCII using IDN UTS46 algorithm
100
+ */
101
+ public static function toAscii(string $domain, int $options) : \GFPDF_Vendor\League\Uri\Idna\IdnaInfo
102
+ {
103
+ $domain = \rawurldecode($domain);
104
+ if (1 === \preg_match(self::REGEXP_IDNA_PATTERN, $domain)) {
105
+ self::supportsIdna();
106
+ /* @param-out array{errors: int, isTransitionalDifferent: bool, result: string} $idnaInfo */
107
+ \idn_to_ascii($domain, $options, \INTL_IDNA_VARIANT_UTS46, $idnaInfo);
108
+ if ([] === $idnaInfo) {
109
+ return \GFPDF_Vendor\League\Uri\Idna\IdnaInfo::fromIntl(['result' => \strtolower($domain), 'isTransitionalDifferent' => \false, 'errors' => self::validateDomainAndLabelLength($domain)]);
110
+ }
111
+ /* @var array{errors: int, isTransitionalDifferent: bool, result: string} $idnaInfo */
112
+ return \GFPDF_Vendor\League\Uri\Idna\IdnaInfo::fromIntl($idnaInfo);
113
+ }
114
+ $error = self::ERROR_NONE;
115
+ if (1 !== \preg_match(self::REGEXP_REGISTERED_NAME, $domain)) {
116
+ $error |= self::ERROR_DISALLOWED;
117
+ }
118
+ return \GFPDF_Vendor\League\Uri\Idna\IdnaInfo::fromIntl(['result' => \strtolower($domain), 'isTransitionalDifferent' => \false, 'errors' => self::validateDomainAndLabelLength($domain) | $error]);
119
+ }
120
+ /**
121
+ * Converts the input to its IDNA UNICODE form.
122
+ *
123
+ * This method returns the string converted to IDN UNICODE form
124
+ *
125
+ * @throws SyntaxError if the string can not be converted to UNICODE using IDN UTS46 algorithm
126
+ */
127
+ public static function toUnicode(string $domain, int $options) : \GFPDF_Vendor\League\Uri\Idna\IdnaInfo
128
+ {
129
+ $domain = \rawurldecode($domain);
130
+ if (\false === \stripos($domain, 'xn--')) {
131
+ return \GFPDF_Vendor\League\Uri\Idna\IdnaInfo::fromIntl(['result' => $domain, 'isTransitionalDifferent' => \false, 'errors' => self::ERROR_NONE]);
132
+ }
133
+ self::supportsIdna();
134
+ /* @param-out array{errors: int, isTransitionalDifferent: bool, result: string} $idnaInfo */
135
+ \idn_to_utf8($domain, $options, \INTL_IDNA_VARIANT_UTS46, $idnaInfo);
136
+ if ([] === $idnaInfo) {
137
+ throw \GFPDF_Vendor\League\Uri\Exceptions\IdnaConversionFailed::dueToInvalidHost($domain);
138
+ }
139
+ /* @var array{errors: int, isTransitionalDifferent: bool, result: string} $idnaInfo */
140
+ return \GFPDF_Vendor\League\Uri\Idna\IdnaInfo::fromIntl($idnaInfo);
141
+ }
142
+ /**
143
+ * Adapted from https://github.com/TRowbotham/idna.
144
+ *
145
+ * @see https://github.com/TRowbotham/idna/blob/master/src/Idna.php#L236
146
+ */
147
+ private static function validateDomainAndLabelLength(string $domain) : int
148
+ {
149
+ $error = self::ERROR_NONE;
150
+ $labels = \explode('.', $domain);
151
+ $maxDomainSize = self::MAX_DOMAIN_LENGTH;
152
+ $length = \count($labels);
153
+ // If the last label is empty and it is not the first label, then it is the root label.
154
+ // Increase the max size by 1, making it 254, to account for the root label's "."
155
+ // delimiter. This also means we don't need to check the last label's length for being too
156
+ // long.
157
+ if ($length > 1 && $labels[$length - 1] === '') {
158
+ ++$maxDomainSize;
159
+ \array_pop($labels);
160
+ }
161
+ if (\strlen($domain) > $maxDomainSize) {
162
+ $error |= self::ERROR_DOMAIN_NAME_TOO_LONG;
163
+ }
164
+ foreach ($labels as $label) {
165
+ if (\strlen($label) > self::MAX_LABEL_LENGTH) {
166
+ $error |= self::ERROR_LABEL_TOO_LONG;
167
+ break;
168
+ }
169
+ }
170
+ return $error;
171
+ }
172
+ }
vendor_prefixed/league/uri-interfaces/src/Idna/IdnaInfo.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * League.Uri (https://uri.thephpleague.com)
5
+ *
6
+ * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+ declare (strict_types=1);
12
+ namespace GFPDF_Vendor\League\Uri\Idna;
13
+
14
+ use function array_filter;
15
+ use const ARRAY_FILTER_USE_KEY;
16
+ /**
17
+ * @see https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/uidna_8h.html
18
+ */
19
+ final class IdnaInfo
20
+ {
21
+ private const ERRORS = [\GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_EMPTY_LABEL => 'a non-final domain name label (or the whole domain name) is empty', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_LABEL_TOO_LONG => 'a domain name label is longer than 63 bytes', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_DOMAIN_NAME_TOO_LONG => 'a domain name is longer than 255 bytes in its storage form', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_LEADING_HYPHEN => 'a label starts with a hyphen-minus ("-")', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_TRAILING_HYPHEN => 'a label ends with a hyphen-minus ("-")', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_HYPHEN_3_4 => 'a label contains hyphen-minus ("-") in the third and fourth positions', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_LEADING_COMBINING_MARK => 'a label starts with a combining mark', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_DISALLOWED => 'a label or domain name contains disallowed characters', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_PUNYCODE => 'a label starts with "xn--" but does not contain valid Punycode', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_LABEL_HAS_DOT => 'a label contains a dot=full stop', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_INVALID_ACE_LABEL => 'An ACE label does not contain a valid label string', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_BIDI => 'a label does not meet the IDNA BiDi requirements (for right-to-left characters)', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_CONTEXTJ => 'a label does not meet the IDNA CONTEXTJ requirements', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_CONTEXTO_DIGITS => 'a label does not meet the IDNA CONTEXTO requirements for digits', \GFPDF_Vendor\League\Uri\Idna\Idna::ERROR_CONTEXTO_PUNCTUATION => 'a label does not meet the IDNA CONTEXTO requirements for punctuation characters. Some punctuation characters "Would otherwise have been DISALLOWED" but are allowed in certain contexts'];
22
+ /** @var string */
23
+ private $result;
24
+ /** @var bool */
25
+ private $isTransitionalDifferent;
26
+ /** @var int */
27
+ private $errors;
28
+ /**
29
+ * @var array<int, string>
30
+ */
31
+ private $errorList;
32
+ private function __construct(string $result, bool $isTransitionalDifferent, int $errors)
33
+ {
34
+ $this->result = $result;
35
+ $this->errors = $errors;
36
+ $this->isTransitionalDifferent = $isTransitionalDifferent;
37
+ $this->errorList = \array_filter(self::ERRORS, function (int $error) : bool {
38
+ return 0 !== ($error & $this->errors);
39
+ }, \ARRAY_FILTER_USE_KEY);
40
+ }
41
+ /**
42
+ * @param array{result:string, isTransitionalDifferent:bool, errors:int} $infos
43
+ */
44
+ public static function fromIntl(array $infos) : self
45
+ {
46
+ return new self($infos['result'], $infos['isTransitionalDifferent'], $infos['errors']);
47
+ }
48
+ /**
49
+ * @param array{result:string, isTransitionalDifferent:bool, errors:int} $properties
50
+ */
51
+ public static function __set_state(array $properties) : self
52
+ {
53
+ return self::fromIntl($properties);
54
+ }
55
+ public function result() : string
56
+ {
57
+ return $this->result;
58
+ }
59
+ public function isTransitionalDifferent() : bool
60
+ {
61
+ return $this->isTransitionalDifferent;
62
+ }
63
+ public function errors() : int
64
+ {
65
+ return $this->errors;
66
+ }
67
+ public function error(int $error) : ?string
68
+ {
69
+ return $this->errorList[$error] ?? null;
70
+ }
71
+ /**
72
+ * @return array<int, string>
73
+ */
74
+ public function errorList() : array
75
+ {
76
+ return $this->errorList;
77
+ }
78
+ }
vendor_prefixed/league/uri/src/Uri.php CHANGED
@@ -13,20 +13,19 @@ namespace GFPDF_Vendor\League\Uri;
13
 
14
  use GFPDF_Vendor\League\Uri\Contracts\UriInterface;
15
  use GFPDF_Vendor\League\Uri\Exceptions\FileinfoSupportMissing;
 
16
  use GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing;
17
  use GFPDF_Vendor\League\Uri\Exceptions\SyntaxError;
 
18
  use Psr\Http\Message\UriInterface as Psr7UriInterface;
19
  use function array_filter;
20
  use function array_map;
21
  use function base64_decode;
22
  use function base64_encode;
23
  use function count;
24
- use function defined;
25
  use function explode;
26
  use function file_get_contents;
27
  use function filter_var;
28
- use function function_exists;
29
- use function idn_to_ascii;
30
  use function implode;
31
  use function in_array;
32
  use function inet_pton;
@@ -50,24 +49,6 @@ use const FILTER_FLAG_IPV6;
50
  use const FILTER_NULL_ON_FAILURE;
51
  use const FILTER_VALIDATE_BOOLEAN;
52
  use const FILTER_VALIDATE_IP;
53
- use const IDNA_CHECK_BIDI;
54
- use const IDNA_CHECK_CONTEXTJ;
55
- use const IDNA_ERROR_BIDI;
56
- use const IDNA_ERROR_CONTEXTJ;
57
- use const IDNA_ERROR_DISALLOWED;
58
- use const IDNA_ERROR_DOMAIN_NAME_TOO_LONG;
59
- use const IDNA_ERROR_EMPTY_LABEL;
60
- use const IDNA_ERROR_HYPHEN_3_4;
61
- use const IDNA_ERROR_INVALID_ACE_LABEL;
62
- use const IDNA_ERROR_LABEL_HAS_DOT;
63
- use const IDNA_ERROR_LABEL_TOO_LONG;
64
- use const IDNA_ERROR_LEADING_COMBINING_MARK;
65
- use const IDNA_ERROR_LEADING_HYPHEN;
66
- use const IDNA_ERROR_PUNYCODE;
67
- use const IDNA_ERROR_TRAILING_HYPHEN;
68
- use const IDNA_NONTRANSITIONAL_TO_ASCII;
69
- use const IDNA_NONTRANSITIONAL_TO_UNICODE;
70
- use const INTL_IDNA_VARIANT_UTS46;
71
  final class Uri implements \GFPDF_Vendor\League\Uri\Contracts\UriInterface
72
  {
73
  /**
@@ -129,6 +110,10 @@ final class Uri implements \GFPDF_Vendor\League\Uri\Contracts\UriInterface
129
  (?<sub_delims>[!$&\'()*+,;=:]) # also include the : character
130
  )+
131
  $/ix';
 
 
 
 
132
  /**
133
  * Significant 10 bits of IP to detect Zone ID regular expression pattern.
134
  */
@@ -321,74 +306,18 @@ final class Uri implements \GFPDF_Vendor\League\Uri\Contracts\UriInterface
321
  */
322
  private function formatRegisteredName(string $host) : string
323
  {
324
- // @codeCoverageIgnoreStart
325
- // added because it is not possible in travis to disabled the ext/intl extension
326
- // see travis issue https://github.com/travis-ci/travis-ci/issues/4701
327
- static $idn_support = null;
328
- $idn_support = $idn_support ?? \function_exists('idn_to_ascii') && \defined('INTL_IDNA_VARIANT_UTS46');
329
- // @codeCoverageIgnoreEnd
330
  $formatted_host = \rawurldecode($host);
331
  if (1 === \preg_match(self::REGEXP_HOST_REGNAME, $formatted_host)) {
332
- $formatted_host = \strtolower($formatted_host);
333
- if (\false === \strpos($formatted_host, 'xn--')) {
334
- return $formatted_host;
335
- }
336
- // @codeCoverageIgnoreStart
337
- if (!$idn_support) {
338
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('the host `%s` could not be processed for IDN. Verify that ext/intl is installed for IDN support and that ICU is at least version 4.6.', $host));
339
- }
340
- // @codeCoverageIgnoreEnd
341
- $unicode = \idn_to_utf8($host, \IDNA_CHECK_BIDI | \IDNA_CHECK_CONTEXTJ | \IDNA_NONTRANSITIONAL_TO_UNICODE, \INTL_IDNA_VARIANT_UTS46, $arr);
342
- if (0 !== $arr['errors']) {
343
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('The host `%s` is invalid : %s', $host, $this->getIDNAErrors($arr['errors'])));
344
- }
345
- // @codeCoverageIgnoreStart
346
- if (\false === $unicode) {
347
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('The Intl extension is misconfigured for %s, please correct this issue before proceeding.', \PHP_OS));
348
- }
349
- // @codeCoverageIgnoreEnd
350
  return $formatted_host;
351
  }
352
  if (1 === \preg_match(self::REGEXP_HOST_GEN_DELIMS, $formatted_host)) {
353
  throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('The host `%s` is invalid : a registered name can not contain URI delimiters or spaces', $host));
354
  }
355
- // @codeCoverageIgnoreStart
356
- if (!$idn_support) {
357
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('the host `%s` could not be processed for IDN. Verify that ext/intl is installed for IDN support and that ICU is at least version 4.6.', $host));
358
- }
359
- // @codeCoverageIgnoreEnd
360
- $formatted_host = \idn_to_ascii($formatted_host, \IDNA_CHECK_BIDI | \IDNA_CHECK_CONTEXTJ | \IDNA_NONTRANSITIONAL_TO_ASCII, \INTL_IDNA_VARIANT_UTS46, $arr);
361
- if ([] === $arr) {
362
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('Host `%s` is invalid', $host));
363
- }
364
- if (0 !== $arr['errors']) {
365
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('The host `%s` is invalid : %s', $host, $this->getIDNAErrors($arr['errors'])));
366
- }
367
- // @codeCoverageIgnoreStart
368
- if (\false === $formatted_host) {
369
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('The Intl extension is misconfigured for %s, please correct this issue before proceeding.', \PHP_OS));
370
- }
371
- // @codeCoverageIgnoreEnd
372
- return $arr['result'];
373
- }
374
- /**
375
- * Retrieves and format IDNA conversion error message.
376
- *
377
- * @link http://icu-project.org/apiref/icu4j/com/ibm/icu/text/IDNA.Error.html
378
- */
379
- private function getIDNAErrors(int $error_byte) : string
380
- {
381
- /**
382
- * IDNA errors.
383
- */
384
- static $idnErrors = [\IDNA_ERROR_EMPTY_LABEL => 'a non-final domain name label (or the whole domain name) is empty', \IDNA_ERROR_LABEL_TOO_LONG => 'a domain name label is longer than 63 bytes', \IDNA_ERROR_DOMAIN_NAME_TOO_LONG => 'a domain name is longer than 255 bytes in its storage form', \IDNA_ERROR_LEADING_HYPHEN => 'a label starts with a hyphen-minus ("-")', \IDNA_ERROR_TRAILING_HYPHEN => 'a label ends with a hyphen-minus ("-")', \IDNA_ERROR_HYPHEN_3_4 => 'a label contains hyphen-minus ("-") in the third and fourth positions', \IDNA_ERROR_LEADING_COMBINING_MARK => 'a label starts with a combining mark', \IDNA_ERROR_DISALLOWED => 'a label or domain name contains disallowed characters', \IDNA_ERROR_PUNYCODE => 'a label starts with "xn--" but does not contain valid Punycode', \IDNA_ERROR_LABEL_HAS_DOT => 'a label contains a dot=full stop', \IDNA_ERROR_INVALID_ACE_LABEL => 'An ACE label does not contain a valid label string', \IDNA_ERROR_BIDI => 'a label does not meet the IDNA BiDi requirements (for right-to-left characters)', \IDNA_ERROR_CONTEXTJ => 'a label does not meet the IDNA CONTEXTJ requirements'];
385
- $res = [];
386
- foreach ($idnErrors as $error => $reason) {
387
- if ($error === ($error_byte & $error)) {
388
- $res[] = $reason;
389
- }
390
  }
391
- return [] === $res ? 'Unknown IDNA conversion error.' : \implode(', ', $res) . '.';
392
  }
393
  /**
394
  * Validate and Format the IPv6/IPvfuture host.
@@ -680,8 +609,7 @@ final class Uri implements \GFPDF_Vendor\League\Uri\Contracts\UriInterface
680
  if (null !== $server['SERVER_PORT']) {
681
  $server['SERVER_PORT'] = (int) $server['SERVER_PORT'];
682
  }
683
- if (isset($server['HTTP_HOST'])) {
684
- \preg_match(',^(?<host>(\\[.*]|[^:])*)(:(?<port>[^/?#]*))?$,x', $server['HTTP_HOST'], $matches);
685
  return [$matches['host'], isset($matches['port']) ? (int) $matches['port'] : $server['SERVER_PORT']];
686
  }
687
  if (!isset($server['SERVER_ADDR'])) {
@@ -931,20 +859,24 @@ final class Uri implements \GFPDF_Vendor\League\Uri\Contracts\UriInterface
931
  }
932
  return $scheme . $authority . $path . $query . $fragment;
933
  }
 
 
 
 
 
934
  /**
935
  * {@inheritDoc}
936
  */
937
  public function __toString() : string
938
  {
939
- $this->uri = $this->uri ?? $this->getUriString($this->scheme, $this->authority, $this->path, $this->query, $this->fragment);
940
- return $this->uri;
941
  }
942
  /**
943
  * {@inheritDoc}
944
  */
945
  public function jsonSerialize() : string
946
  {
947
- return $this->__toString();
948
  }
949
  /**
950
  * {@inheritDoc}
13
 
14
  use GFPDF_Vendor\League\Uri\Contracts\UriInterface;
15
  use GFPDF_Vendor\League\Uri\Exceptions\FileinfoSupportMissing;
16
+ use GFPDF_Vendor\League\Uri\Exceptions\IdnaConversionFailed;
17
  use GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing;
18
  use GFPDF_Vendor\League\Uri\Exceptions\SyntaxError;
19
+ use GFPDF_Vendor\League\Uri\Idna\Idna;
20
  use Psr\Http\Message\UriInterface as Psr7UriInterface;
21
  use function array_filter;
22
  use function array_map;
23
  use function base64_decode;
24
  use function base64_encode;
25
  use function count;
 
26
  use function explode;
27
  use function file_get_contents;
28
  use function filter_var;
 
 
29
  use function implode;
30
  use function in_array;
31
  use function inet_pton;
49
  use const FILTER_NULL_ON_FAILURE;
50
  use const FILTER_VALIDATE_BOOLEAN;
51
  use const FILTER_VALIDATE_IP;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  final class Uri implements \GFPDF_Vendor\League\Uri\Contracts\UriInterface
53
  {
54
  /**
110
  (?<sub_delims>[!$&\'()*+,;=:]) # also include the : character
111
  )+
112
  $/ix';
113
+ /**
114
+ * RFC3986 IPvFuture host and port component.
115
+ */
116
+ private const REGEXP_HOST_PORT = ',^(?<host>(\\[.*]|[^:])*)(:(?<port>[^/?#]*))?$,x';
117
  /**
118
  * Significant 10 bits of IP to detect Zone ID regular expression pattern.
119
  */
306
  */
307
  private function formatRegisteredName(string $host) : string
308
  {
 
 
 
 
 
 
309
  $formatted_host = \rawurldecode($host);
310
  if (1 === \preg_match(self::REGEXP_HOST_REGNAME, $formatted_host)) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  return $formatted_host;
312
  }
313
  if (1 === \preg_match(self::REGEXP_HOST_GEN_DELIMS, $formatted_host)) {
314
  throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('The host `%s` is invalid : a registered name can not contain URI delimiters or spaces', $host));
315
  }
316
+ $info = \GFPDF_Vendor\League\Uri\Idna\Idna::toAscii($host, \GFPDF_Vendor\League\Uri\Idna\Idna::IDNA2008_ASCII);
317
+ if (0 !== $info->errors()) {
318
+ throw \GFPDF_Vendor\League\Uri\Exceptions\IdnaConversionFailed::dueToIDNAError($host, $info);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
  }
320
+ return $info->result();
321
  }
322
  /**
323
  * Validate and Format the IPv6/IPvfuture host.
609
  if (null !== $server['SERVER_PORT']) {
610
  $server['SERVER_PORT'] = (int) $server['SERVER_PORT'];
611
  }
612
+ if (isset($server['HTTP_HOST']) && 1 === \preg_match(self::REGEXP_HOST_PORT, $server['HTTP_HOST'], $matches)) {
 
613
  return [$matches['host'], isset($matches['port']) ? (int) $matches['port'] : $server['SERVER_PORT']];
614
  }
615
  if (!isset($server['SERVER_ADDR'])) {
859
  }
860
  return $scheme . $authority . $path . $query . $fragment;
861
  }
862
+ public function toString() : string
863
+ {
864
+ $this->uri = $this->uri ?? $this->getUriString($this->scheme, $this->authority, $this->path, $this->query, $this->fragment);
865
+ return $this->uri;
866
+ }
867
  /**
868
  * {@inheritDoc}
869
  */
870
  public function __toString() : string
871
  {
872
+ return $this->toString();
 
873
  }
874
  /**
875
  * {@inheritDoc}
876
  */
877
  public function jsonSerialize() : string
878
  {
879
+ return $this->toString();
880
  }
881
  /**
882
  * {@inheritDoc}
vendor_prefixed/league/uri/src/UriString.php CHANGED
@@ -11,16 +11,14 @@
11
  declare (strict_types=1);
12
  namespace GFPDF_Vendor\League\Uri;
13
 
 
14
  use GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing;
15
  use GFPDF_Vendor\League\Uri\Exceptions\SyntaxError;
 
16
  use function array_merge;
17
- use function defined;
18
  use function explode;
19
  use function filter_var;
20
- use function function_exists;
21
  use function gettype;
22
- use function idn_to_ascii;
23
- use function implode;
24
  use function inet_pton;
25
  use function is_object;
26
  use function is_scalar;
@@ -32,20 +30,6 @@ use function strpos;
32
  use function substr;
33
  use const FILTER_FLAG_IPV6;
34
  use const FILTER_VALIDATE_IP;
35
- use const IDNA_ERROR_BIDI;
36
- use const IDNA_ERROR_CONTEXTJ;
37
- use const IDNA_ERROR_DISALLOWED;
38
- use const IDNA_ERROR_DOMAIN_NAME_TOO_LONG;
39
- use const IDNA_ERROR_EMPTY_LABEL;
40
- use const IDNA_ERROR_HYPHEN_3_4;
41
- use const IDNA_ERROR_INVALID_ACE_LABEL;
42
- use const IDNA_ERROR_LABEL_HAS_DOT;
43
- use const IDNA_ERROR_LABEL_TOO_LONG;
44
- use const IDNA_ERROR_LEADING_COMBINING_MARK;
45
- use const IDNA_ERROR_LEADING_HYPHEN;
46
- use const IDNA_ERROR_PUNYCODE;
47
- use const IDNA_ERROR_TRAILING_HYPHEN;
48
- use const INTL_IDNA_VARIANT_UTS46;
49
  /**
50
  * A class to parse a URI string according to RFC3986.
51
  *
@@ -361,78 +345,20 @@ final class UriString
361
  */
362
  private static function filterRegisteredName(string $host) : string
363
  {
364
- // @codeCoverageIgnoreStart
365
- // added because it is not possible in travis to disabled the ext/intl extension
366
- // see travis issue https://github.com/travis-ci/travis-ci/issues/4701
367
- static $idn_support = null;
368
- $idn_support = $idn_support ?? \function_exists('idn_to_ascii') && \defined('INTL_IDNA_VARIANT_UTS46');
369
- // @codeCoverageIgnoreEnd
370
  $formatted_host = \rawurldecode($host);
371
  if (1 === \preg_match(self::REGEXP_REGISTERED_NAME, $formatted_host)) {
372
- if (\false === \strpos($formatted_host, 'xn--')) {
373
- return $host;
374
- }
375
- // @codeCoverageIgnoreStart
376
- if (!$idn_support) {
377
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('the host `%s` could not be processed for IDN. Verify that ext/intl is installed for IDN support and that ICU is at least version 4.6.', $host));
378
- }
379
- // @codeCoverageIgnoreEnd
380
- $unicode = \idn_to_utf8($host, 0, \INTL_IDNA_VARIANT_UTS46, $arr);
381
- if (0 !== $arr['errors']) {
382
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('The host `%s` is invalid : %s', $host, self::getIDNAErrors($arr['errors'])));
383
- }
384
- // @codeCoverageIgnoreStart
385
- if (\false === $unicode) {
386
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('The Intl extension is misconfigured for %s, please correct this issue before proceeding.', \PHP_OS));
387
- }
388
- // @codeCoverageIgnoreEnd
389
  return $host;
390
  }
391
  //to test IDN host non-ascii characters must be present in the host
392
  if (1 !== \preg_match(self::REGEXP_IDN_PATTERN, $formatted_host)) {
393
  throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('Host `%s` is invalid : the host is not a valid registered name', $host));
394
  }
395
- // @codeCoverageIgnoreStart
396
- if (!$idn_support) {
397
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('the host `%s` could not be processed for IDN. Verify that ext/intl is installed for IDN support and that ICU is at least version 4.6.', $host));
398
- }
399
- // @codeCoverageIgnoreEnd
400
- $retval = \idn_to_ascii($formatted_host, 0, \INTL_IDNA_VARIANT_UTS46, $arr);
401
- if ([] === $arr) {
402
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('Host `%s` is not a valid IDN host', $host));
403
- }
404
- if (0 !== $arr['errors']) {
405
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('Host `%s` is not a valid IDN host : %s', $host, self::getIDNAErrors($arr['errors'])));
406
- }
407
- // @codeCoverageIgnoreStart
408
- if (\false === $retval) {
409
- throw new \GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing(\sprintf('The Intl extension is misconfigured for %s, please correct this issue before proceeding.', \PHP_OS));
410
- }
411
- // @codeCoverageIgnoreEnd
412
- if (\false !== \strpos($retval, '%')) {
413
- throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('Host `%s` is invalid : the host is not a valid registered name', $host));
414
  }
415
  return $host;
416
  }
417
- /**
418
- * Retrieves and format IDNA conversion error message.
419
- *
420
- * @link http://icu-project.org/apiref/icu4j/com/ibm/icu/text/IDNA.Error.html
421
- */
422
- private static function getIDNAErrors(int $error_byte) : string
423
- {
424
- /**
425
- * IDNA errors.
426
- */
427
- static $idn_errors = [\IDNA_ERROR_EMPTY_LABEL => 'a non-final domain name label (or the whole domain name) is empty', \IDNA_ERROR_LABEL_TOO_LONG => 'a domain name label is longer than 63 bytes', \IDNA_ERROR_DOMAIN_NAME_TOO_LONG => 'a domain name is longer than 255 bytes in its storage form', \IDNA_ERROR_LEADING_HYPHEN => 'a label starts with a hyphen-minus ("-")', \IDNA_ERROR_TRAILING_HYPHEN => 'a label ends with a hyphen-minus ("-")', \IDNA_ERROR_HYPHEN_3_4 => 'a label contains hyphen-minus ("-") in the third and fourth positions', \IDNA_ERROR_LEADING_COMBINING_MARK => 'a label starts with a combining mark', \IDNA_ERROR_DISALLOWED => 'a label or domain name contains disallowed characters', \IDNA_ERROR_PUNYCODE => 'a label starts with "xn--" but does not contain valid Punycode', \IDNA_ERROR_LABEL_HAS_DOT => 'a label contains a dot=full stop', \IDNA_ERROR_INVALID_ACE_LABEL => 'An ACE label does not contain a valid label string', \IDNA_ERROR_BIDI => 'a label does not meet the IDNA BiDi requirements (for right-to-left characters)', \IDNA_ERROR_CONTEXTJ => 'a label does not meet the IDNA CONTEXTJ requirements'];
428
- $res = [];
429
- foreach ($idn_errors as $error => $reason) {
430
- if ($error === ($error_byte & $error)) {
431
- $res[] = $reason;
432
- }
433
- }
434
- return [] === $res ? 'Unknown IDNA conversion error.' : \implode(', ', $res) . '.';
435
- }
436
  /**
437
  * Validates a IPv6/IPvfuture host.
438
  *
11
  declare (strict_types=1);
12
  namespace GFPDF_Vendor\League\Uri;
13
 
14
+ use GFPDF_Vendor\League\Uri\Exceptions\IdnaConversionFailed;
15
  use GFPDF_Vendor\League\Uri\Exceptions\IdnSupportMissing;
16
  use GFPDF_Vendor\League\Uri\Exceptions\SyntaxError;
17
+ use GFPDF_Vendor\League\Uri\Idna\Idna;
18
  use function array_merge;
 
19
  use function explode;
20
  use function filter_var;
 
21
  use function gettype;
 
 
22
  use function inet_pton;
23
  use function is_object;
24
  use function is_scalar;
30
  use function substr;
31
  use const FILTER_FLAG_IPV6;
32
  use const FILTER_VALIDATE_IP;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  /**
34
  * A class to parse a URI string according to RFC3986.
35
  *
345
  */
346
  private static function filterRegisteredName(string $host) : string
347
  {
 
 
 
 
 
 
348
  $formatted_host = \rawurldecode($host);
349
  if (1 === \preg_match(self::REGEXP_REGISTERED_NAME, $formatted_host)) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  return $host;
351
  }
352
  //to test IDN host non-ascii characters must be present in the host
353
  if (1 !== \preg_match(self::REGEXP_IDN_PATTERN, $formatted_host)) {
354
  throw new \GFPDF_Vendor\League\Uri\Exceptions\SyntaxError(\sprintf('Host `%s` is invalid : the host is not a valid registered name', $host));
355
  }
356
+ $info = \GFPDF_Vendor\League\Uri\Idna\Idna::toAscii($host, \GFPDF_Vendor\League\Uri\Idna\Idna::IDNA2008_ASCII);
357
+ if (0 !== $info->errors()) {
358
+ throw \GFPDF_Vendor\League\Uri\Exceptions\IdnaConversionFailed::dueToIDNAError($host, $info);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  }
360
  return $host;
361
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362
  /**
363
  * Validates a IPv6/IPvfuture host.
364
  *
vendor_prefixed/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php CHANGED
@@ -120,7 +120,7 @@ class DOMTreeBuilder implements \GFPDF_Vendor\Masterminds\HTML5\Parser\EventHand
120
  // documents, and attempting to up-convert any older DTDs to HTML5.
121
  $dt = $impl->createDocumentType('html');
122
  // $this->doc = \DOMImplementation::createDocument(NULL, 'html', $dt);
123
- $this->doc = $impl->createDocument(null, null, $dt);
124
  $this->doc->encoding = !empty($options['encoding']) ? $options['encoding'] : 'UTF-8';
125
  }
126
  $this->errors = array();
@@ -315,6 +315,7 @@ class DOMTreeBuilder implements \GFPDF_Vendor\Masterminds\HTML5\Parser\EventHand
315
  } elseif ($this->insertMode === static::IM_IN_MATHML) {
316
  $aName = \GFPDF_Vendor\Masterminds\HTML5\Elements::normalizeMathMlAttribute($aName);
317
  }
 
318
  try {
319
  $prefix = ($pos = \strpos($aName, ':')) ? \substr($aName, 0, $pos) : \false;
320
  if ('xmlns' === $prefix) {
120
  // documents, and attempting to up-convert any older DTDs to HTML5.
121
  $dt = $impl->createDocumentType('html');
122
  // $this->doc = \DOMImplementation::createDocument(NULL, 'html', $dt);
123
+ $this->doc = $impl->createDocument(null, '', $dt);
124
  $this->doc->encoding = !empty($options['encoding']) ? $options['encoding'] : 'UTF-8';
125
  }
126
  $this->errors = array();
315
  } elseif ($this->insertMode === static::IM_IN_MATHML) {
316
  $aName = \GFPDF_Vendor\Masterminds\HTML5\Elements::normalizeMathMlAttribute($aName);
317
  }
318
+ $aVal = (string) $aVal;
319
  try {
320
  $prefix = ($pos = \strpos($aName, ':')) ? \substr($aName, 0, $pos) : \false;
321
  if ('xmlns' === $prefix) {
vendor_prefixed/monolog/src/Monolog/ErrorHandler.php CHANGED
@@ -24,16 +24,27 @@ use Psr\Log\LogLevel;
24
  */
25
  class ErrorHandler
26
  {
 
27
  private $logger;
28
- private $previousExceptionHandler;
29
- private $uncaughtExceptionLevelMap;
30
- private $previousErrorHandler;
31
- private $errorLevelMap;
32
- private $handleOnlyReportedErrors;
33
- private $hasFatalErrorHandler;
34
- private $fatalLevel;
35
- private $reservedMemory;
 
 
 
 
 
 
 
 
 
36
  private $lastFatalTrace;
 
37
  private static $fatalErrors = [\E_ERROR, \E_PARSE, \E_CORE_ERROR, \E_COMPILE_ERROR, \E_USER_ERROR];
38
  public function __construct(\Psr\Log\LoggerInterface $logger)
39
  {
@@ -44,10 +55,10 @@ class ErrorHandler
44
  *
45
  * By default it will handle errors, exceptions and fatal errors
46
  *
47
- * @param LoggerInterface $logger
48
- * @param array|false $errorLevelMap an array of E_* constant to LogLevel::* constant mapping, or false to disable error handling
49
- * @param array|false $exceptionLevelMap an array of class name to LogLevel::* constant mapping, or false to disable exception handling
50
- * @param string|null|false $fatalLevel a LogLevel::* constant, null to use the default LogLevel::ALERT or false to disable fatal error handling
51
  * @return ErrorHandler
52
  */
53
  public static function register(\Psr\Log\LoggerInterface $logger, $errorLevelMap = [], $exceptionLevelMap = [], $fatalLevel = null) : self
@@ -65,7 +76,11 @@ class ErrorHandler
65
  }
66
  return $handler;
67
  }
68
- public function registerExceptionHandler($levelMap = [], $callPrevious = \true) : self
 
 
 
 
69
  {
70
  $prev = \set_exception_handler(function (\Throwable $e) : void {
71
  $this->handleException($e);
@@ -81,37 +96,52 @@ class ErrorHandler
81
  }
82
  return $this;
83
  }
84
- public function registerErrorHandler(array $levelMap = [], $callPrevious = \true, $errorTypes = -1, $handleOnlyReportedErrors = \true) : self
 
 
 
 
85
  {
86
  $prev = \set_error_handler([$this, 'handleError'], $errorTypes);
87
  $this->errorLevelMap = \array_replace($this->defaultErrorLevelMap(), $levelMap);
88
  if ($callPrevious) {
89
  $this->previousErrorHandler = $prev ?: \true;
 
 
90
  }
91
  $this->handleOnlyReportedErrors = $handleOnlyReportedErrors;
92
  return $this;
93
  }
94
  /**
95
- * @param string|null $level a LogLevel::* constant, null to use the default LogLevel::ALERT or false to disable fatal error handling
96
- * @param int $reservedMemorySize Amount of KBs to reserve in memory so that it can be freed when handling fatal errors giving Monolog some room in memory to get its job done
97
  */
98
  public function registerFatalHandler($level = null, int $reservedMemorySize = 20) : self
99
  {
100
  \register_shutdown_function([$this, 'handleFatalError']);
101
  $this->reservedMemory = \str_repeat(' ', 1024 * $reservedMemorySize);
102
- $this->fatalLevel = $level;
103
  $this->hasFatalErrorHandler = \true;
104
  return $this;
105
  }
 
 
 
106
  protected function defaultExceptionLevelMap() : array
107
  {
108
  return ['ParseError' => \Psr\Log\LogLevel::CRITICAL, 'Throwable' => \Psr\Log\LogLevel::ERROR];
109
  }
 
 
 
110
  protected function defaultErrorLevelMap() : array
111
  {
112
  return [\E_ERROR => \Psr\Log\LogLevel::CRITICAL, \E_WARNING => \Psr\Log\LogLevel::WARNING, \E_PARSE => \Psr\Log\LogLevel::ALERT, \E_NOTICE => \Psr\Log\LogLevel::NOTICE, \E_CORE_ERROR => \Psr\Log\LogLevel::CRITICAL, \E_CORE_WARNING => \Psr\Log\LogLevel::WARNING, \E_COMPILE_ERROR => \Psr\Log\LogLevel::ALERT, \E_COMPILE_WARNING => \Psr\Log\LogLevel::WARNING, \E_USER_ERROR => \Psr\Log\LogLevel::ERROR, \E_USER_WARNING => \Psr\Log\LogLevel::WARNING, \E_USER_NOTICE => \Psr\Log\LogLevel::NOTICE, \E_STRICT => \Psr\Log\LogLevel::NOTICE, \E_RECOVERABLE_ERROR => \Psr\Log\LogLevel::ERROR, \E_DEPRECATED => \Psr\Log\LogLevel::NOTICE, \E_USER_DEPRECATED => \Psr\Log\LogLevel::NOTICE];
113
  }
114
- private function handleException(\Throwable $e)
 
 
 
115
  {
116
  $level = \Psr\Log\LogLevel::ERROR;
117
  foreach ($this->uncaughtExceptionLevelMap as $class => $candidate) {
@@ -131,11 +161,13 @@ class ErrorHandler
131
  }
132
  /**
133
  * @private
 
 
134
  */
135
- public function handleError($code, $message, $file = '', $line = 0, $context = [])
136
  {
137
  if ($this->handleOnlyReportedErrors && !(\error_reporting() & $code)) {
138
- return;
139
  }
140
  // fatal error codes are ignored if a fatal error handler is present as well to avoid duplicate log entries
141
  if (!$this->hasFatalErrorHandler || !\in_array($code, self::$fatalErrors, \true)) {
@@ -150,19 +182,19 @@ class ErrorHandler
150
  if ($this->previousErrorHandler === \true) {
151
  return \false;
152
  } elseif ($this->previousErrorHandler) {
153
- return ($this->previousErrorHandler)($code, $message, $file, $line, $context);
154
  }
155
  return \true;
156
  }
157
  /**
158
  * @private
159
  */
160
- public function handleFatalError()
161
  {
162
  $this->reservedMemory = '';
163
  $lastError = \error_get_last();
164
  if ($lastError && \in_array($lastError['type'], self::$fatalErrors, \true)) {
165
- $this->logger->log($this->fatalLevel === null ? \Psr\Log\LogLevel::ALERT : $this->fatalLevel, 'Fatal Error (' . self::codeToString($lastError['type']) . '): ' . $lastError['message'], ['code' => $lastError['type'], 'message' => $lastError['message'], 'file' => $lastError['file'], 'line' => $lastError['line'], 'trace' => $this->lastFatalTrace]);
166
  if ($this->logger instanceof \GFPDF_Vendor\Monolog\Logger) {
167
  foreach ($this->logger->getHandlers() as $handler) {
168
  $handler->close();
@@ -170,6 +202,9 @@ class ErrorHandler
170
  }
171
  }
172
  }
 
 
 
173
  private static function codeToString($code) : string
174
  {
175
  switch ($code) {
24
  */
25
  class ErrorHandler
26
  {
27
+ /** @var LoggerInterface */
28
  private $logger;
29
+ /** @var ?callable */
30
+ private $previousExceptionHandler = null;
31
+ /** @var array<class-string, LogLevel::*> an array of class name to LogLevel::* constant mapping */
32
+ private $uncaughtExceptionLevelMap = [];
33
+ /** @var callable|true|null */
34
+ private $previousErrorHandler = null;
35
+ /** @var array<int, LogLevel::*> an array of E_* constant to LogLevel::* constant mapping */
36
+ private $errorLevelMap = [];
37
+ /** @var bool */
38
+ private $handleOnlyReportedErrors = \true;
39
+ /** @var bool */
40
+ private $hasFatalErrorHandler = \false;
41
+ /** @var LogLevel::* */
42
+ private $fatalLevel = \Psr\Log\LogLevel::ALERT;
43
+ /** @var ?string */
44
+ private $reservedMemory = null;
45
+ /** @var ?mixed */
46
  private $lastFatalTrace;
47
+ /** @var int[] */
48
  private static $fatalErrors = [\E_ERROR, \E_PARSE, \E_CORE_ERROR, \E_COMPILE_ERROR, \E_USER_ERROR];
49
  public function __construct(\Psr\Log\LoggerInterface $logger)
50
  {
55
  *
56
  * By default it will handle errors, exceptions and fatal errors
57
  *
58
+ * @param LoggerInterface $logger
59
+ * @param array<int, LogLevel::*>|false $errorLevelMap an array of E_* constant to LogLevel::* constant mapping, or false to disable error handling
60
+ * @param array<class-string, LogLevel::*>|false $exceptionLevelMap an array of class name to LogLevel::* constant mapping, or false to disable exception handling
61
+ * @param LogLevel::*|null|false $fatalLevel a LogLevel::* constant, null to use the default LogLevel::ALERT or false to disable fatal error handling
62
  * @return ErrorHandler
63
  */
64
  public static function register(\Psr\Log\LoggerInterface $logger, $errorLevelMap = [], $exceptionLevelMap = [], $fatalLevel = null) : self
76
  }
77
  return $handler;
78
  }
79
+ /**
80
+ * @param array<class-string, LogLevel::*> $levelMap an array of class name to LogLevel::* constant mapping
81
+ * @return $this
82
+ */
83
+ public function registerExceptionHandler(array $levelMap = [], bool $callPrevious = \true) : self
84
  {
85
  $prev = \set_exception_handler(function (\Throwable $e) : void {
86
  $this->handleException($e);
96
  }
97
  return $this;
98
  }
99
+ /**
100
+ * @param array<int, LogLevel::*> $levelMap an array of E_* constant to LogLevel::* constant mapping
101
+ * @return $this
102
+ */
103
+ public function registerErrorHandler(array $levelMap = [], bool $callPrevious = \true, int $errorTypes = -1, bool $handleOnlyReportedErrors = \true) : self
104
  {
105
  $prev = \set_error_handler([$this, 'handleError'], $errorTypes);
106
  $this->errorLevelMap = \array_replace($this->defaultErrorLevelMap(), $levelMap);
107
  if ($callPrevious) {
108
  $this->previousErrorHandler = $prev ?: \true;
109
+ } else {
110
+ $this->previousErrorHandler = null;
111
  }
112
  $this->handleOnlyReportedErrors = $handleOnlyReportedErrors;
113
  return $this;
114
  }
115
  /**
116
+ * @param LogLevel::*|null $level a LogLevel::* constant, null to use the default LogLevel::ALERT
117
+ * @param int $reservedMemorySize Amount of KBs to reserve in memory so that it can be freed when handling fatal errors giving Monolog some room in memory to get its job done
118
  */
119
  public function registerFatalHandler($level = null, int $reservedMemorySize = 20) : self
120
  {
121
  \register_shutdown_function([$this, 'handleFatalError']);
122
  $this->reservedMemory = \str_repeat(' ', 1024 * $reservedMemorySize);
123
+ $this->fatalLevel = null === $level ? \Psr\Log\LogLevel::ALERT : $level;
124
  $this->hasFatalErrorHandler = \true;
125
  return $this;
126
  }
127
+ /**
128
+ * @return array<class-string, LogLevel::*>
129
+ */
130
  protected function defaultExceptionLevelMap() : array
131
  {
132
  return ['ParseError' => \Psr\Log\LogLevel::CRITICAL, 'Throwable' => \Psr\Log\LogLevel::ERROR];
133
  }
134
+ /**
135
+ * @return array<int, LogLevel::*>
136
+ */
137
  protected function defaultErrorLevelMap() : array
138
  {
139
  return [\E_ERROR => \Psr\Log\LogLevel::CRITICAL, \E_WARNING => \Psr\Log\LogLevel::WARNING, \E_PARSE => \Psr\Log\LogLevel::ALERT, \E_NOTICE => \Psr\Log\LogLevel::NOTICE, \E_CORE_ERROR => \Psr\Log\LogLevel::CRITICAL, \E_CORE_WARNING => \Psr\Log\LogLevel::WARNING, \E_COMPILE_ERROR => \Psr\Log\LogLevel::ALERT, \E_COMPILE_WARNING => \Psr\Log\LogLevel::WARNING, \E_USER_ERROR => \Psr\Log\LogLevel::ERROR, \E_USER_WARNING => \Psr\Log\LogLevel::WARNING, \E_USER_NOTICE => \Psr\Log\LogLevel::NOTICE, \E_STRICT => \Psr\Log\LogLevel::NOTICE, \E_RECOVERABLE_ERROR => \Psr\Log\LogLevel::ERROR, \E_DEPRECATED => \Psr\Log\LogLevel::NOTICE, \E_USER_DEPRECATED => \Psr\Log\LogLevel::NOTICE];
140
  }
141
+ /**
142
+ * @phpstan-return never
143
+ */
144
+ private function handleException(\Throwable $e) : void
145
  {
146
  $level = \Psr\Log\LogLevel::ERROR;
147
  foreach ($this->uncaughtExceptionLevelMap as $class => $candidate) {
161
  }
162
  /**
163
  * @private
164
+ *
165
+ * @param mixed[] $context
166
  */
167
+ public function handleError(int $code, string $message, string $file = '', int $line = 0, array $context = []) : bool
168
  {
169
  if ($this->handleOnlyReportedErrors && !(\error_reporting() & $code)) {
170
+ return \false;
171
  }
172
  // fatal error codes are ignored if a fatal error handler is present as well to avoid duplicate log entries
173
  if (!$this->hasFatalErrorHandler || !\in_array($code, self::$fatalErrors, \true)) {
182
  if ($this->previousErrorHandler === \true) {
183
  return \false;
184
  } elseif ($this->previousErrorHandler) {
185
+ return (bool) ($this->previousErrorHandler)($code, $message, $file, $line, $context);
186
  }
187
  return \true;
188
  }
189
  /**
190
  * @private
191
  */
192
+ public function handleFatalError() : void
193
  {
194
  $this->reservedMemory = '';
195
  $lastError = \error_get_last();
196
  if ($lastError && \in_array($lastError['type'], self::$fatalErrors, \true)) {
197
+ $this->logger->log($this->fatalLevel, 'Fatal Error (' . self::codeToString($lastError['type']) . '): ' . $lastError['message'], ['code' => $lastError['type'], 'message' => $lastError['message'], 'file' => $lastError['file'], 'line' => $lastError['line'], 'trace' => $this->lastFatalTrace]);
198
  if ($this->logger instanceof \GFPDF_Vendor\Monolog\Logger) {
199
  foreach ($this->logger->getHandlers() as $handler) {
200
  $handler->close();
202
  }
203
  }
204
  }
205
+ /**
206
+ * @param int $code
207
+ */
208
  private static function codeToString($code) : string
209
  {
210
  switch ($code) {
vendor_prefixed/monolog/src/Monolog/Formatter/ChromePHPFormatter.php CHANGED
@@ -21,10 +21,12 @@ class ChromePHPFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterInt
21
  {
22
  /**
23
  * Translates Monolog log levels to Wildfire levels.
 
 
24
  */
25
  private $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => 'log', \GFPDF_Vendor\Monolog\Logger::INFO => 'info', \GFPDF_Vendor\Monolog\Logger::NOTICE => 'info', \GFPDF_Vendor\Monolog\Logger::WARNING => 'warn', \GFPDF_Vendor\Monolog\Logger::ERROR => 'error', \GFPDF_Vendor\Monolog\Logger::CRITICAL => 'error', \GFPDF_Vendor\Monolog\Logger::ALERT => 'error', \GFPDF_Vendor\Monolog\Logger::EMERGENCY => 'error'];
26
  /**
27
- * {@inheritdoc}
28
  */
29
  public function format(array $record)
30
  {
@@ -47,7 +49,7 @@ class ChromePHPFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterInt
47
  return [$record['channel'], $message, $backtrace, $this->logLevels[$record['level']]];
48
  }
49
  /**
50
- * {@inheritdoc}
51
  */
52
  public function formatBatch(array $records)
53
  {
21
  {
22
  /**
23
  * Translates Monolog log levels to Wildfire levels.
24
+ *
25
+ * @var array<int, 'log'|'info'|'warn'|'error'>
26
  */
27
  private $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => 'log', \GFPDF_Vendor\Monolog\Logger::INFO => 'info', \GFPDF_Vendor\Monolog\Logger::NOTICE => 'info', \GFPDF_Vendor\Monolog\Logger::WARNING => 'warn', \GFPDF_Vendor\Monolog\Logger::ERROR => 'error', \GFPDF_Vendor\Monolog\Logger::CRITICAL => 'error', \GFPDF_Vendor\Monolog\Logger::ALERT => 'error', \GFPDF_Vendor\Monolog\Logger::EMERGENCY => 'error'];
28
  /**
29
+ * {@inheritDoc}
30
  */
31
  public function format(array $record)
32
  {
49
  return [$record['channel'], $message, $backtrace, $this->logLevels[$record['level']]];
50
  }
51
  /**
52
+ * {@inheritDoc}
53
  */
54
  public function formatBatch(array $records)
55
  {
vendor_prefixed/monolog/src/Monolog/Formatter/ElasticaFormatter.php CHANGED
@@ -16,6 +16,8 @@ use GFPDF_Vendor\Elastica\Document;
16
  * Format a log message into an Elastica Document
17
  *
18
  * @author Jelle Vink <jelle.vink@gmail.com>
 
 
19
  */
20
  class ElasticaFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
21
  {
@@ -39,7 +41,7 @@ class ElasticaFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormat
39
  $this->type = $type;
40
  }
41
  /**
42
- * {@inheritdoc}
43
  */
44
  public function format(array $record)
45
  {
@@ -55,18 +57,20 @@ class ElasticaFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormat
55
  */
56
  public function getType() : string
57
  {
 
58
  return $this->type;
59
  }
60
  /**
61
  * Convert a log message into an Elastica Document
62
- * @param array $record
63
- * @return Document
64
  */
65
  protected function getDocument(array $record) : \GFPDF_Vendor\Elastica\Document
66
  {
67
  $document = new \GFPDF_Vendor\Elastica\Document();
68
  $document->setData($record);
69
  if (\method_exists($document, 'setType')) {
 
70
  $document->setType($this->type);
71
  }
72
  $document->setIndex($this->index);
16
  * Format a log message into an Elastica Document
17
  *
18
  * @author Jelle Vink <jelle.vink@gmail.com>
19
+ *
20
+ * @phpstan-import-type Record from \Monolog\Logger
21
  */
22
  class ElasticaFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
23
  {
41
  $this->type = $type;
42
  }
43
  /**
44
+ * {@inheritDoc}
45
  */
46
  public function format(array $record)
47
  {
57
  */
58
  public function getType() : string
59
  {
60
+ /** @phpstan-ignore-next-line */
61
  return $this->type;
62
  }
63
  /**
64
  * Convert a log message into an Elastica Document
65
+ *
66
+ * @phpstan-param Record $record
67
  */
68
  protected function getDocument(array $record) : \GFPDF_Vendor\Elastica\Document
69
  {
70
  $document = new \GFPDF_Vendor\Elastica\Document();
71
  $document->setData($record);
72
  if (\method_exists($document, 'setType')) {
73
+ /** @phpstan-ignore-next-line */
74
  $document->setType($this->type);
75
  }
76
  $document->setIndex($this->index);
vendor_prefixed/monolog/src/Monolog/Formatter/ElasticsearchFormatter.php CHANGED
@@ -11,7 +11,7 @@ declare (strict_types=1);
11
  */
12
  namespace GFPDF_Vendor\Monolog\Formatter;
13
 
14
- use DateTime;
15
  /**
16
  * Format a log message into an Elasticsearch record
17
  *
@@ -34,12 +34,12 @@ class ElasticsearchFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerF
34
  public function __construct(string $index, string $type)
35
  {
36
  // Elasticsearch requires an ISO 8601 format date with optional millisecond precision.
37
- parent::__construct(\DateTime::ISO8601);
38
  $this->index = $index;
39
  $this->type = $type;
40
  }
41
  /**
42
- * {@inheritdoc}
43
  */
44
  public function format(array $record)
45
  {
@@ -67,8 +67,8 @@ class ElasticsearchFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerF
67
  /**
68
  * Convert a log message into an Elasticsearch record
69
  *
70
- * @param array $record Log message
71
- * @return array
72
  */
73
  protected function getDocument(array $record) : array
74
  {
11
  */
12
  namespace GFPDF_Vendor\Monolog\Formatter;
13
 
14
+ use DateTimeInterface;
15
  /**
16
  * Format a log message into an Elasticsearch record
17
  *
34
  public function __construct(string $index, string $type)
35
  {
36
  // Elasticsearch requires an ISO 8601 format date with optional millisecond precision.
37
+ parent::__construct(\DateTimeInterface::ISO8601);
38
  $this->index = $index;
39
  $this->type = $type;
40
  }
41
  /**
42
+ * {@inheritDoc}
43
  */
44
  public function format(array $record)
45
  {
67
  /**
68
  * Convert a log message into an Elasticsearch record
69
  *
70
+ * @param mixed[] $record Log message
71
+ * @return mixed[]
72
  */
73
  protected function getDocument(array $record) : array
74
  {
vendor_prefixed/monolog/src/Monolog/Formatter/FlowdockFormatter.php CHANGED
@@ -32,7 +32,9 @@ class FlowdockFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterInte
32
  $this->sourceEmail = $sourceEmail;
33
  }
34
  /**
35
- * {@inheritdoc}
 
 
36
  */
37
  public function format(array $record) : array
38
  {
@@ -45,7 +47,9 @@ class FlowdockFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterInte
45
  return $record;
46
  }
47
  /**
48
- * {@inheritdoc}
 
 
49
  */
50
  public function formatBatch(array $records) : array
51
  {
32
  $this->sourceEmail = $sourceEmail;
33
  }
34
  /**
35
+ * {@inheritDoc}
36
+ *
37
+ * @return mixed[]
38
  */
39
  public function format(array $record) : array
40
  {
47
  return $record;
48
  }
49
  /**
50
+ * {@inheritDoc}
51
+ *
52
+ * @return mixed[][]
53
  */
54
  public function formatBatch(array $records) : array
55
  {
vendor_prefixed/monolog/src/Monolog/Formatter/FormatterInterface.php CHANGED
@@ -15,6 +15,8 @@ namespace GFPDF_Vendor\Monolog\Formatter;
15
  * Interface for formatters
16
  *
17
  * @author Jordi Boggiano <j.boggiano@seld.be>
 
 
18
  */
19
  interface FormatterInterface
20
  {
@@ -23,6 +25,8 @@ interface FormatterInterface
23
  *
24
  * @param array $record A record to format
25
  * @return mixed The formatted record
 
 
26
  */
27
  public function format(array $record);
28
  /**
@@ -30,6 +34,8 @@ interface FormatterInterface
30
  *
31
  * @param array $records A set of records to format
32
  * @return mixed The formatted set of records
 
 
33
  */
34
  public function formatBatch(array $records);
35
  }
15
  * Interface for formatters
16
  *
17
  * @author Jordi Boggiano <j.boggiano@seld.be>
18
+ *
19
+ * @phpstan-import-type Record from \Monolog\Logger
20
  */
21
  interface FormatterInterface
22
  {
25
  *
26
  * @param array $record A record to format
27
  * @return mixed The formatted record
28
+ *
29
+ * @phpstan-param Record $record
30
  */
31
  public function format(array $record);
32
  /**
34
  *
35
  * @param array $records A set of records to format
36
  * @return mixed The formatted set of records
37
+ *
38
+ * @phpstan-param Record[] $records
39
  */
40
  public function formatBatch(array $records);
41
  }
vendor_prefixed/monolog/src/Monolog/Formatter/GelfMessageFormatter.php CHANGED
@@ -19,6 +19,8 @@ use GFPDF_Vendor\Monolog\Utils;
19
  * @see http://docs.graylog.org/en/latest/pages/gelf.html
20
  *
21
  * @author Matt Lehner <mlehner@gmail.com>
 
 
22
  */
23
  class GelfMessageFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
24
  {
@@ -41,26 +43,33 @@ class GelfMessageFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFor
41
  protected $maxLength;
42
  /**
43
  * Translates Monolog log levels to Graylog2 log priorities.
 
 
 
 
44
  */
45
  private $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => 7, \GFPDF_Vendor\Monolog\Logger::INFO => 6, \GFPDF_Vendor\Monolog\Logger::NOTICE => 5, \GFPDF_Vendor\Monolog\Logger::WARNING => 4, \GFPDF_Vendor\Monolog\Logger::ERROR => 3, \GFPDF_Vendor\Monolog\Logger::CRITICAL => 2, \GFPDF_Vendor\Monolog\Logger::ALERT => 1, \GFPDF_Vendor\Monolog\Logger::EMERGENCY => 0];
46
  public function __construct(?string $systemName = null, ?string $extraPrefix = null, string $contextPrefix = 'ctxt_', ?int $maxLength = null)
47
  {
48
  parent::__construct('U.u');
49
- $this->systemName = \is_null($systemName) || $systemName === '' ? \gethostname() : $systemName;
50
  $this->extraPrefix = \is_null($extraPrefix) ? '' : $extraPrefix;
51
  $this->contextPrefix = $contextPrefix;
52
  $this->maxLength = \is_null($maxLength) ? self::DEFAULT_MAX_LENGTH : $maxLength;
53
  }
54
  /**
55
- * {@inheritdoc}
56
  */
57
  public function format(array $record) : \GFPDF_Vendor\Gelf\Message
58
  {
 
59
  if (isset($record['context'])) {
60
- $record['context'] = parent::format($record['context']);
 
61
  }
62
  if (isset($record['extra'])) {
63
- $record['extra'] = parent::format($record['extra']);
 
64
  }
65
  if (!isset($record['datetime'], $record['message'], $record['level'])) {
66
  throw new \InvalidArgumentException('The record should at least contain datetime, message and level keys, ' . \var_export($record, \true) . ' given');
@@ -75,35 +84,35 @@ class GelfMessageFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFor
75
  if (isset($record['channel'])) {
76
  $message->setFacility($record['channel']);
77
  }
78
- if (isset($record['extra']['line'])) {
79
- $message->setLine($record['extra']['line']);
80
- unset($record['extra']['line']);
81
  }
82
- if (isset($record['extra']['file'])) {
83
- $message->setFile($record['extra']['file']);
84
- unset($record['extra']['file']);
85
  }
86
- foreach ($record['extra'] as $key => $val) {
87
  $val = \is_scalar($val) || null === $val ? $val : $this->toJson($val);
88
  $len = \strlen($this->extraPrefix . $key . $val);
89
  if ($len > $this->maxLength) {
90
- $message->setAdditional($this->extraPrefix . $key, \GFPDF_Vendor\Monolog\Utils::substr($val, 0, $this->maxLength));
91
  continue;
92
  }
93
  $message->setAdditional($this->extraPrefix . $key, $val);
94
  }
95
- foreach ($record['context'] as $key => $val) {
96
  $val = \is_scalar($val) || null === $val ? $val : $this->toJson($val);
97
  $len = \strlen($this->contextPrefix . $key . $val);
98
  if ($len > $this->maxLength) {
99
- $message->setAdditional($this->contextPrefix . $key, \GFPDF_Vendor\Monolog\Utils::substr($val, 0, $this->maxLength));
100
  continue;
101
  }
102
  $message->setAdditional($this->contextPrefix . $key, $val);
103
  }
104
  /** @phpstan-ignore-next-line */
105
- if (null === $message->getFile() && isset($record['context']['exception']['file'])) {
106
- if (\preg_match("/^(.+):([0-9]+)\$/", $record['context']['exception']['file'], $matches)) {
107
  $message->setFile($matches[1]);
108
  $message->setLine($matches[2]);
109
  }
19
  * @see http://docs.graylog.org/en/latest/pages/gelf.html
20
  *
21
  * @author Matt Lehner <mlehner@gmail.com>
22
+ *
23
+ * @phpstan-import-type Level from \Monolog\Logger
24
  */
25
  class GelfMessageFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
26
  {
43
  protected $maxLength;
44
  /**
45
  * Translates Monolog log levels to Graylog2 log priorities.
46
+ *
47
+ * @var array<int, int>
48
+ *
49
+ * @phpstan-var array<Level, int>
50
  */
51
  private $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => 7, \GFPDF_Vendor\Monolog\Logger::INFO => 6, \GFPDF_Vendor\Monolog\Logger::NOTICE => 5, \GFPDF_Vendor\Monolog\Logger::WARNING => 4, \GFPDF_Vendor\Monolog\Logger::ERROR => 3, \GFPDF_Vendor\Monolog\Logger::CRITICAL => 2, \GFPDF_Vendor\Monolog\Logger::ALERT => 1, \GFPDF_Vendor\Monolog\Logger::EMERGENCY => 0];
52
  public function __construct(?string $systemName = null, ?string $extraPrefix = null, string $contextPrefix = 'ctxt_', ?int $maxLength = null)
53
  {
54
  parent::__construct('U.u');
55
+ $this->systemName = \is_null($systemName) || $systemName === '' ? (string) \gethostname() : $systemName;
56
  $this->extraPrefix = \is_null($extraPrefix) ? '' : $extraPrefix;
57
  $this->contextPrefix = $contextPrefix;
58
  $this->maxLength = \is_null($maxLength) ? self::DEFAULT_MAX_LENGTH : $maxLength;
59
  }
60
  /**
61
+ * {@inheritDoc}
62
  */
63
  public function format(array $record) : \GFPDF_Vendor\Gelf\Message
64
  {
65
+ $context = $extra = [];
66
  if (isset($record['context'])) {
67
+ /** @var mixed[] $context */
68
+ $context = parent::normalize($record['context']);
69
  }
70
  if (isset($record['extra'])) {
71
+ /** @var mixed[] $extra */
72
+ $extra = parent::normalize($record['extra']);
73
  }
74
  if (!isset($record['datetime'], $record['message'], $record['level'])) {
75
  throw new \InvalidArgumentException('The record should at least contain datetime, message and level keys, ' . \var_export($record, \true) . ' given');
84
  if (isset($record['channel'])) {
85
  $message->setFacility($record['channel']);
86
  }
87
+ if (isset($extra['line'])) {
88
+ $message->setLine($extra['line']);
89
+ unset($extra['line']);
90
  }
91
+ if (isset($extra['file'])) {
92
+ $message->setFile($extra['file']);
93
+ unset($extra['file']);
94
  }
95
+ foreach ($extra as $key => $val) {
96
  $val = \is_scalar($val) || null === $val ? $val : $this->toJson($val);
97
  $len = \strlen($this->extraPrefix . $key . $val);
98
  if ($len > $this->maxLength) {
99
+ $message->setAdditional($this->extraPrefix . $key, \GFPDF_Vendor\Monolog\Utils::substr((string) $val, 0, $this->maxLength));
100
  continue;
101
  }
102
  $message->setAdditional($this->extraPrefix . $key, $val);
103
  }
104
+ foreach ($context as $key => $val) {
105
  $val = \is_scalar($val) || null === $val ? $val : $this->toJson($val);
106
  $len = \strlen($this->contextPrefix . $key . $val);
107
  if ($len > $this->maxLength) {
108
+ $message->setAdditional($this->contextPrefix . $key, \GFPDF_Vendor\Monolog\Utils::substr((string) $val, 0, $this->maxLength));
109
  continue;
110
  }
111
  $message->setAdditional($this->contextPrefix . $key, $val);
112
  }
113
  /** @phpstan-ignore-next-line */
114
+ if (null === $message->getFile() && isset($context['exception']['file'])) {
115
+ if (\preg_match("/^(.+):([0-9]+)\$/", $context['exception']['file'], $matches)) {
116
  $message->setFile($matches[1]);
117
  $message->setLine($matches[2]);
118
  }
vendor_prefixed/monolog/src/Monolog/Formatter/HtmlFormatter.php CHANGED
@@ -24,6 +24,8 @@ class HtmlFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
24
  {
25
  /**
26
  * Translates Monolog log levels to html color priorities.
 
 
27
  */
28
  protected $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => '#CCCCCC', \GFPDF_Vendor\Monolog\Logger::INFO => '#28A745', \GFPDF_Vendor\Monolog\Logger::NOTICE => '#17A2B8', \GFPDF_Vendor\Monolog\Logger::WARNING => '#FFC107', \GFPDF_Vendor\Monolog\Logger::ERROR => '#FD7E14', \GFPDF_Vendor\Monolog\Logger::CRITICAL => '#DC3545', \GFPDF_Vendor\Monolog\Logger::ALERT => '#821722', \GFPDF_Vendor\Monolog\Logger::EMERGENCY => '#000000'];
29
  /**
@@ -63,7 +65,6 @@ class HtmlFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
63
  /**
64
  * Formats a log record.
65
  *
66
- * @param array $record A record to format
67
  * @return string The formatted record
68
  */
69
  public function format(array $record) : string
@@ -94,7 +95,6 @@ class HtmlFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
94
  /**
95
  * Formats a set of log records.
96
  *
97
- * @param array $records A set of records to format
98
  * @return string The formatted set of records
99
  */
100
  public function formatBatch(array $records) : string
@@ -105,6 +105,9 @@ class HtmlFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
105
  }
106
  return $message;
107
  }
 
 
 
108
  protected function convertToString($data) : string
109
  {
110
  if (null === $data || \is_scalar($data)) {
24
  {
25
  /**
26
  * Translates Monolog log levels to html color priorities.
27
+ *
28
+ * @var array<int, string>
29
  */
30
  protected $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => '#CCCCCC', \GFPDF_Vendor\Monolog\Logger::INFO => '#28A745', \GFPDF_Vendor\Monolog\Logger::NOTICE => '#17A2B8', \GFPDF_Vendor\Monolog\Logger::WARNING => '#FFC107', \GFPDF_Vendor\Monolog\Logger::ERROR => '#FD7E14', \GFPDF_Vendor\Monolog\Logger::CRITICAL => '#DC3545', \GFPDF_Vendor\Monolog\Logger::ALERT => '#821722', \GFPDF_Vendor\Monolog\Logger::EMERGENCY => '#000000'];
31
  /**
65
  /**
66
  * Formats a log record.
67
  *
 
68
  * @return string The formatted record
69
  */
70
  public function format(array $record) : string
95
  /**
96
  * Formats a set of log records.
97
  *
 
98
  * @return string The formatted set of records
99
  */
100
  public function formatBatch(array $records) : string
105
  }
106
  return $message;
107
  }
108
+ /**
109
+ * @param mixed $data
110
+ */
111
  protected function convertToString($data) : string
112
  {
113
  if (null === $data || \is_scalar($data)) {
vendor_prefixed/monolog/src/Monolog/Formatter/JsonFormatter.php CHANGED
@@ -18,23 +18,30 @@ use Throwable;
18
  * This can be useful to log to databases or remote APIs
19
  *
20
  * @author Jordi Boggiano <j.boggiano@seld.be>
 
 
21
  */
22
  class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
23
  {
24
  public const BATCH_MODE_JSON = 1;
25
  public const BATCH_MODE_NEWLINES = 2;
 
26
  protected $batchMode;
 
27
  protected $appendNewline;
 
28
  protected $ignoreEmptyContextAndExtra;
 
 
29
  /**
30
- * @var bool
31
  */
32
- protected $includeStacktraces = \false;
33
  public function __construct(int $batchMode = self::BATCH_MODE_JSON, bool $appendNewline = \true, bool $ignoreEmptyContextAndExtra = \false)
34
  {
35
  $this->batchMode = $batchMode;
36
  $this->appendNewline = $appendNewline;
37
  $this->ignoreEmptyContextAndExtra = $ignoreEmptyContextAndExtra;
 
38
  }
39
  /**
40
  * The batch mode option configures the formatting style for
@@ -55,7 +62,7 @@ class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
55
  return $this->appendNewline;
56
  }
57
  /**
58
- * {@inheritdoc}
59
  */
60
  public function format(array $record) : string
61
  {
@@ -77,7 +84,7 @@ class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
77
  return $this->toJson($normalized, \true) . ($this->appendNewline ? "\n" : '');
78
  }
79
  /**
80
- * {@inheritdoc}
81
  */
82
  public function formatBatch(array $records) : string
83
  {
@@ -89,12 +96,17 @@ class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
89
  return $this->formatBatchJson($records);
90
  }
91
  }
 
 
 
92
  public function includeStacktraces(bool $include = \true)
93
  {
94
  $this->includeStacktraces = $include;
95
  }
96
  /**
97
  * Return a JSON-encoded array of records.
 
 
98
  */
99
  protected function formatBatchJson(array $records) : string
100
  {
@@ -103,6 +115,8 @@ class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
103
  /**
104
  * Use new lines to separate records instead of a
105
  * JSON-encoded array.
 
 
106
  */
107
  protected function formatBatchNewlines(array $records) : string
108
  {
@@ -139,6 +153,9 @@ class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
139
  }
140
  return $normalized;
141
  }
 
 
 
142
  if ($data instanceof \Throwable) {
143
  return $this->normalizeException($data, $depth);
144
  }
@@ -150,6 +167,8 @@ class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
150
  /**
151
  * Normalizes given exception with or without its own stack trace based on
152
  * `includeStacktraces` property.
 
 
153
  */
154
  protected function normalizeException(\Throwable $e, int $depth = 0) : array
155
  {
18
  * This can be useful to log to databases or remote APIs
19
  *
20
  * @author Jordi Boggiano <j.boggiano@seld.be>
21
+ *
22
+ * @phpstan-import-type Record from \Monolog\Logger
23
  */
24
  class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
25
  {
26
  public const BATCH_MODE_JSON = 1;
27
  public const BATCH_MODE_NEWLINES = 2;
28
+ /** @var self::BATCH_MODE_* */
29
  protected $batchMode;
30
+ /** @var bool */
31
  protected $appendNewline;
32
+ /** @var bool */
33
  protected $ignoreEmptyContextAndExtra;
34
+ /** @var bool */
35
+ protected $includeStacktraces = \false;
36
  /**
37
+ * @param self::BATCH_MODE_* $batchMode
38
  */
 
39
  public function __construct(int $batchMode = self::BATCH_MODE_JSON, bool $appendNewline = \true, bool $ignoreEmptyContextAndExtra = \false)
40
  {
41
  $this->batchMode = $batchMode;
42
  $this->appendNewline = $appendNewline;
43
  $this->ignoreEmptyContextAndExtra = $ignoreEmptyContextAndExtra;
44
+ parent::__construct();
45
  }
46
  /**
47
  * The batch mode option configures the formatting style for
62
  return $this->appendNewline;
63
  }
64
  /**
65
+ * {@inheritDoc}
66
  */
67
  public function format(array $record) : string
68
  {
84
  return $this->toJson($normalized, \true) . ($this->appendNewline ? "\n" : '');
85
  }
86
  /**
87
+ * {@inheritDoc}
88
  */
89
  public function formatBatch(array $records) : string
90
  {
96
  return $this->formatBatchJson($records);
97
  }
98
  }
99
+ /**
100
+ * @return void
101
+ */
102
  public function includeStacktraces(bool $include = \true)
103
  {
104
  $this->includeStacktraces = $include;
105
  }
106
  /**
107
  * Return a JSON-encoded array of records.
108
+ *
109
+ * @phpstan-param Record[] $records
110
  */
111
  protected function formatBatchJson(array $records) : string
112
  {
115
  /**
116
  * Use new lines to separate records instead of a
117
  * JSON-encoded array.
118
+ *
119
+ * @phpstan-param Record[] $records
120
  */
121
  protected function formatBatchNewlines(array $records) : string
122
  {
153
  }
154
  return $normalized;
155
  }
156
+ if ($data instanceof \DateTimeInterface) {
157
+ return $this->formatDate($data);
158
+ }
159
  if ($data instanceof \Throwable) {
160
  return $this->normalizeException($data, $depth);
161
  }
167
  /**
168
  * Normalizes given exception with or without its own stack trace based on
169
  * `includeStacktraces` property.
170
+ *
171
+ * {@inheritDoc}
172
  */
173
  protected function normalizeException(\Throwable $e, int $depth = 0) : array
174
  {
vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php CHANGED
@@ -23,9 +23,13 @@ use GFPDF_Vendor\Monolog\Utils;
23
  class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
24
  {
25
  public const SIMPLE_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n";
 
26
  protected $format;
 
27
  protected $allowInlineLineBreaks;
 
28
  protected $ignoreEmptyContextAndExtra;
 
29
  protected $includeStacktraces;
30
  /**
31
  * @param string|null $format The format of the message
@@ -40,23 +44,23 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
40
  $this->ignoreEmptyContextAndExtra = $ignoreEmptyContextAndExtra;
41
  parent::__construct($dateFormat);
42
  }
43
- public function includeStacktraces(bool $include = \true)
44
  {
45
  $this->includeStacktraces = $include;
46
  if ($this->includeStacktraces) {
47
  $this->allowInlineLineBreaks = \true;
48
  }
49
  }
50
- public function allowInlineLineBreaks(bool $allow = \true)
51
  {
52
  $this->allowInlineLineBreaks = $allow;
53
  }
54
- public function ignoreEmptyContextAndExtra(bool $ignore = \true)
55
  {
56
  $this->ignoreEmptyContextAndExtra = $ignore;
57
  }
58
  /**
59
- * {@inheritdoc}
60
  */
61
  public function format(array $record) : string
62
  {
@@ -92,6 +96,10 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
92
  // remove leftover %extra.xxx% and %context.xxx% if any
93
  if (\false !== \strpos($output, '%')) {
94
  $output = \preg_replace('/%(?:extra|context)\\..+?%/', '', $output);
 
 
 
 
95
  }
96
  return $output;
97
  }
@@ -103,6 +111,9 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
103
  }
104
  return $message;
105
  }
 
 
 
106
  public function stringify($value) : string
107
  {
108
  return $this->replaceNewlines($this->convertToString($value));
@@ -117,6 +128,9 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
117
  }
118
  return $str;
119
  }
 
 
 
120
  protected function convertToString($data) : string
121
  {
122
  if (null === $data || \is_bool($data)) {
23
  class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
24
  {
25
  public const SIMPLE_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n";
26
+ /** @var string */
27
  protected $format;
28
+ /** @var bool */
29
  protected $allowInlineLineBreaks;
30
+ /** @var bool */
31
  protected $ignoreEmptyContextAndExtra;
32
+ /** @var bool */
33
  protected $includeStacktraces;
34
  /**
35
  * @param string|null $format The format of the message
44
  $this->ignoreEmptyContextAndExtra = $ignoreEmptyContextAndExtra;
45
  parent::__construct($dateFormat);
46
  }
47
+ public function includeStacktraces(bool $include = \true) : void
48
  {
49
  $this->includeStacktraces = $include;
50
  if ($this->includeStacktraces) {
51
  $this->allowInlineLineBreaks = \true;
52
  }
53
  }
54
+ public function allowInlineLineBreaks(bool $allow = \true) : void
55
  {
56
  $this->allowInlineLineBreaks = $allow;
57
  }
58
+ public function ignoreEmptyContextAndExtra(bool $ignore = \true) : void
59
  {
60
  $this->ignoreEmptyContextAndExtra = $ignore;
61
  }
62
  /**
63
+ * {@inheritDoc}
64
  */
65
  public function format(array $record) : string
66
  {
96
  // remove leftover %extra.xxx% and %context.xxx% if any
97
  if (\false !== \strpos($output, '%')) {
98
  $output = \preg_replace('/%(?:extra|context)\\..+?%/', '', $output);
99
+ if (null === $output) {
100
+ $pcreErrorCode = \preg_last_error();
101
+ throw new \RuntimeException('Failed to run preg_replace: ' . $pcreErrorCode . ' / ' . \GFPDF_Vendor\Monolog\Utils::pcreLastErrorMessage($pcreErrorCode));
102
+ }
103
  }
104
  return $output;
105
  }
111
  }
112
  return $message;
113
  }
114
+ /**
115
+ * @param mixed $value
116
+ */
117
  public function stringify($value) : string
118
  {
119
  return $this->replaceNewlines($this->convertToString($value));
128
  }
129
  return $str;
130
  }
131
+ /**
132
+ * @param mixed $data
133
+ */
134
  protected function convertToString($data) : string
135
  {
136
  if (null === $data || \is_bool($data)) {
vendor_prefixed/monolog/src/Monolog/Formatter/LogstashFormatter.php CHANGED
@@ -47,13 +47,13 @@ class LogstashFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormat
47
  {
48
  // logstash requires a ISO 8601 format date with optional millisecond precision.
49
  parent::__construct('Y-m-d\\TH:i:s.uP');
50
- $this->systemName = $systemName === null ? \gethostname() : $systemName;
51
  $this->applicationName = $applicationName;
52
  $this->extraKey = $extraKey;
53
  $this->contextKey = $contextKey;
54
  }
55
  /**
56
- * {@inheritdoc}
57
  */
58
  public function format(array $record) : string
59
  {
47
  {
48
  // logstash requires a ISO 8601 format date with optional millisecond precision.
49
  parent::__construct('Y-m-d\\TH:i:s.uP');
50
+ $this->systemName = $systemName === null ? (string) \gethostname() : $systemName;
51
  $this->applicationName = $applicationName;
52
  $this->extraKey = $extraKey;
53
  $this->contextKey = $contextKey;
54
  }
55
  /**
56
+ * {@inheritDoc}
57
  */
58
  public function format(array $record) : string
59
  {
vendor_prefixed/monolog/src/Monolog/Formatter/MongoDBFormatter.php CHANGED
@@ -20,8 +20,11 @@ use GFPDF_Vendor\Monolog\Utils;
20
  */
21
  class MongoDBFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
22
  {
 
23
  private $exceptionTraceAsString;
 
24
  private $maxNestingLevel;
 
25
  private $isLegacyMongoExt;
26
  /**
27
  * @param int $maxNestingLevel 0 means infinite nesting, the $record itself is level 1, $record['context'] is 2
@@ -31,53 +34,67 @@ class MongoDBFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterInter
31
  {
32
  $this->maxNestingLevel = \max($maxNestingLevel, 0);
33
  $this->exceptionTraceAsString = $exceptionTraceAsString;
34
- $this->isLegacyMongoExt = \extension_loaded('mongodb') && \version_compare(\phpversion('mongodb'), '1.1.9', '<=');
35
  }
36
  /**
37
  * {@inheritDoc}
 
 
38
  */
39
  public function format(array $record) : array
40
  {
41
- return $this->formatArray($record);
 
 
42
  }
43
  /**
44
  * {@inheritDoc}
 
 
45
  */
46
  public function formatBatch(array $records) : array
47
  {
 
48
  foreach ($records as $key => $record) {
49
- $records[$key] = $this->format($record);
50
  }
51
- return $records;
52
  }
53
  /**
54
- * @return array|string Array except when max nesting level is reached then a string "[...]"
 
55
  */
56
- protected function formatArray(array $record, int $nestingLevel = 0)
57
  {
58
- if ($this->maxNestingLevel == 0 || $nestingLevel <= $this->maxNestingLevel) {
59
- foreach ($record as $name => $value) {
60
- if ($value instanceof \DateTimeInterface) {
61
- $record[$name] = $this->formatDate($value, $nestingLevel + 1);
62
- } elseif ($value instanceof \Throwable) {
63
- $record[$name] = $this->formatException($value, $nestingLevel + 1);
64
- } elseif (\is_array($value)) {
65
- $record[$name] = $this->formatArray($value, $nestingLevel + 1);
66
- } elseif (\is_object($value)) {
67
- $record[$name] = $this->formatObject($value, $nestingLevel + 1);
68
- }
 
69
  }
70
- } else {
71
- $record = '[...]';
72
  }
73
- return $record;
74
  }
 
 
 
 
75
  protected function formatObject($value, int $nestingLevel)
76
  {
77
  $objectVars = \get_object_vars($value);
78
  $objectVars['class'] = \GFPDF_Vendor\Monolog\Utils::getClass($value);
79
  return $this->formatArray($objectVars, $nestingLevel);
80
  }
 
 
 
81
  protected function formatException(\Throwable $exception, int $nestingLevel)
82
  {
83
  $formattedException = ['class' => \GFPDF_Vendor\Monolog\Utils::getClass($exception), 'message' => $exception->getMessage(), 'code' => (int) $exception->getCode(), 'file' => $exception->getFile() . ':' . $exception->getLine()];
@@ -110,6 +127,7 @@ class MongoDBFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterInter
110
  {
111
  $milliseconds = \floor((float) $value->format('U.u') * 1000);
112
  $milliseconds = \PHP_INT_SIZE == 8 ? (int) $milliseconds : (string) $milliseconds;
 
113
  return new \MongoDB\BSON\UTCDateTime($milliseconds);
114
  }
115
  }
20
  */
21
  class MongoDBFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
22
  {
23
+ /** @var bool */
24
  private $exceptionTraceAsString;
25
+ /** @var int */
26
  private $maxNestingLevel;
27
+ /** @var bool */
28
  private $isLegacyMongoExt;
29
  /**
30
  * @param int $maxNestingLevel 0 means infinite nesting, the $record itself is level 1, $record['context'] is 2
34
  {
35
  $this->maxNestingLevel = \max($maxNestingLevel, 0);
36
  $this->exceptionTraceAsString = $exceptionTraceAsString;
37
+ $this->isLegacyMongoExt = \extension_loaded('mongodb') && \version_compare((string) \phpversion('mongodb'), '1.1.9', '<=');
38
  }
39
  /**
40
  * {@inheritDoc}
41
+ *
42
+ * @return mixed[]
43
  */
44
  public function format(array $record) : array
45
  {
46
+ /** @var mixed[] $res */
47
+ $res = $this->formatArray($record);
48
+ return $res;
49
  }
50
  /**
51
  * {@inheritDoc}
52
+ *
53
+ * @return array<mixed[]>
54
  */
55
  public function formatBatch(array $records) : array
56
  {
57
+ $formatted = [];
58
  foreach ($records as $key => $record) {
59
+ $formatted[$key] = $this->format($record);
60
  }
61
+ return $formatted;
62
  }
63
  /**
64
+ * @param mixed[] $array
65
+ * @return mixed[]|string Array except when max nesting level is reached then a string "[...]"
66
  */
67
+ protected function formatArray(array $array, int $nestingLevel = 0)
68
  {
69
+ if ($this->maxNestingLevel > 0 && $nestingLevel > $this->maxNestingLevel) {
70
+ return '[...]';
71
+ }
72
+ foreach ($array as $name => $value) {
73
+ if ($value instanceof \DateTimeInterface) {
74
+ $array[$name] = $this->formatDate($value, $nestingLevel + 1);
75
+ } elseif ($value instanceof \Throwable) {
76
+ $array[$name] = $this->formatException($value, $nestingLevel + 1);
77
+ } elseif (\is_array($value)) {
78
+ $array[$name] = $this->formatArray($value, $nestingLevel + 1);
79
+ } elseif (\is_object($value)) {
80
+ $array[$name] = $this->formatObject($value, $nestingLevel + 1);
81
  }
 
 
82
  }
83
+ return $array;
84
  }
85
+ /**
86
+ * @param mixed $value
87
+ * @return mixed[]|string
88
+ */
89
  protected function formatObject($value, int $nestingLevel)
90
  {
91
  $objectVars = \get_object_vars($value);
92
  $objectVars['class'] = \GFPDF_Vendor\Monolog\Utils::getClass($value);
93
  return $this->formatArray($objectVars, $nestingLevel);
94
  }
95
+ /**
96
+ * @return mixed[]|string
97
+ */
98
  protected function formatException(\Throwable $exception, int $nestingLevel)
99
  {
100
  $formattedException = ['class' => \GFPDF_Vendor\Monolog\Utils::getClass($exception), 'message' => $exception->getMessage(), 'code' => (int) $exception->getCode(), 'file' => $exception->getFile() . ':' . $exception->getLine()];
127
  {
128
  $milliseconds = \floor((float) $value->format('U.u') * 1000);
129
  $milliseconds = \PHP_INT_SIZE == 8 ? (int) $milliseconds : (string) $milliseconds;
130
+ // @phpstan-ignore-next-line
131
  return new \MongoDB\BSON\UTCDateTime($milliseconds);
132
  }
133
  }
vendor_prefixed/monolog/src/Monolog/Formatter/NormalizerFormatter.php CHANGED
@@ -41,14 +41,16 @@ class NormalizerFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterIn
41
  }
42
  }
43
  /**
44
- * {@inheritdoc}
 
 
45
  */
46
  public function format(array $record)
47
  {
48
  return $this->normalize($record);
49
  }
50
  /**
51
- * {@inheritdoc}
52
  */
53
  public function formatBatch(array $records)
54
  {
@@ -103,8 +105,8 @@ class NormalizerFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterIn
103
  return $this;
104
  }
105
  /**
106
- * @param mixed $data
107
- * @return int|bool|string|null|array
108
  */
109
  protected function normalize($data, int $depth = 0)
110
  {
@@ -142,11 +144,14 @@ class NormalizerFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterIn
142
  return $this->normalizeException($data, $depth);
143
  }
144
  if ($data instanceof \JsonSerializable) {
 
145
  $value = $data->jsonSerialize();
146
  } elseif (\method_exists($data, '__toString')) {
 
147
  $value = $data->__toString();
148
  } else {
149
  // the rest is normalized by json encoding and decoding it
 
150
  $value = \json_decode($this->toJson($data, \true), \true);
151
  }
152
  return [\GFPDF_Vendor\Monolog\Utils::getClass($data) => $value];
@@ -157,7 +162,7 @@ class NormalizerFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterIn
157
  return '[unknown(' . \gettype($data) . ')]';
158
  }
159
  /**
160
- * @return array
161
  */
162
  protected function normalizeException(\Throwable $e, int $depth = 0)
163
  {
@@ -202,6 +207,9 @@ class NormalizerFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterIn
202
  {
203
  return \GFPDF_Vendor\Monolog\Utils::jsonEncode($data, $this->jsonEncodeOptions, $ignoreErrors);
204
  }
 
 
 
205
  protected function formatDate(\DateTimeInterface $date)
206
  {
207
  // in case the date format isn't custom then we defer to the custom DateTimeImmutable
@@ -211,11 +219,11 @@ class NormalizerFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterIn
211
  }
212
  return $date->format($this->dateFormat);
213
  }
214
- public function addJsonEncodeOption(int $option)
215
  {
216
  $this->jsonEncodeOptions |= $option;
217
  }
218
- public function removeJsonEncodeOption(int $option)
219
  {
220
  $this->jsonEncodeOptions &= ~$option;
221
  }
41
  }
42
  }
43
  /**
44
+ * {@inheritDoc}
45
+ *
46
+ * @param mixed[] $record
47
  */
48
  public function format(array $record)
49
  {
50
  return $this->normalize($record);
51
  }
52
  /**
53
+ * {@inheritDoc}
54
  */
55
  public function formatBatch(array $records)
56
  {
105
  return $this;
106
  }
107
  /**
108
+ * @param mixed $data
109
+ * @return null|scalar|array<array|scalar|null>
110
  */
111
  protected function normalize($data, int $depth = 0)
112
  {
144
  return $this->normalizeException($data, $depth);
145
  }
146
  if ($data instanceof \JsonSerializable) {
147
+ /** @var null|scalar|array<array|scalar|null> $value */
148
  $value = $data->jsonSerialize();
149
  } elseif (\method_exists($data, '__toString')) {
150
+ /** @var string $value */
151
  $value = $data->__toString();
152
  } else {
153
  // the rest is normalized by json encoding and decoding it
154
+ /** @var null|scalar|array<array|scalar|null> $value */
155
  $value = \json_decode($this->toJson($data, \true), \true);
156
  }
157
  return [\GFPDF_Vendor\Monolog\Utils::getClass($data) => $value];
162
  return '[unknown(' . \gettype($data) . ')]';
163
  }
164
  /**
165
+ * @return mixed[]
166
  */
167
  protected function normalizeException(\Throwable $e, int $depth = 0)
168
  {
207
  {
208
  return \GFPDF_Vendor\Monolog\Utils::jsonEncode($data, $this->jsonEncodeOptions, $ignoreErrors);
209
  }
210
+ /**
211
+ * @return string
212
+ */
213
  protected function formatDate(\DateTimeInterface $date)
214
  {
215
  // in case the date format isn't custom then we defer to the custom DateTimeImmutable
219
  }
220
  return $date->format($this->dateFormat);
221
  }
222
+ public function addJsonEncodeOption(int $option) : void
223
  {
224
  $this->jsonEncodeOptions |= $option;
225
  }
226
+ public function removeJsonEncodeOption(int $option) : void
227
  {
228
  $this->jsonEncodeOptions &= ~$option;
229
  }
vendor_prefixed/monolog/src/Monolog/Formatter/ScalarFormatter.php CHANGED
@@ -20,18 +20,21 @@ namespace GFPDF_Vendor\Monolog\Formatter;
20
  class ScalarFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
21
  {
22
  /**
23
- * {@inheritdoc}
 
 
24
  */
25
  public function format(array $record) : array
26
  {
 
27
  foreach ($record as $key => $value) {
28
- $record[$key] = $this->normalizeValue($value);
29
  }
30
- return $record;
31
  }
32
  /**
33
- * @param mixed $value
34
- * @return string|int|bool|null
35
  */
36
  protected function normalizeValue($value)
37
  {
20
  class ScalarFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
21
  {
22
  /**
23
+ * {@inheritDoc}
24
+ *
25
+ * @phpstan-return array<string, scalar|null> $record
26
  */
27
  public function format(array $record) : array
28
  {
29
+ $result = [];
30
  foreach ($record as $key => $value) {
31
+ $result[$key] = $this->normalizeValue($value);
32
  }
33
+ return $result;
34
  }
35
  /**
36
+ * @param mixed $value
37
+ * @return scalar|null
38
  */
39
  protected function normalizeValue($value)
40
  {
vendor_prefixed/monolog/src/Monolog/Formatter/WildfireFormatter.php CHANGED
@@ -18,11 +18,15 @@ use GFPDF_Vendor\Monolog\Logger;
18
  * @author Eric Clemmons (@ericclemmons) <eric@uxdriven.com>
19
  * @author Christophe Coevoet <stof@notk.org>
20
  * @author Kirill chEbba Chebunin <iam@chebba.org>
 
 
21
  */
22
  class WildfireFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
23
  {
24
  /**
25
  * Translates Monolog log levels to Wildfire levels.
 
 
26
  */
27
  private $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => 'LOG', \GFPDF_Vendor\Monolog\Logger::INFO => 'INFO', \GFPDF_Vendor\Monolog\Logger::NOTICE => 'INFO', \GFPDF_Vendor\Monolog\Logger::WARNING => 'WARN', \GFPDF_Vendor\Monolog\Logger::ERROR => 'ERROR', \GFPDF_Vendor\Monolog\Logger::CRITICAL => 'ERROR', \GFPDF_Vendor\Monolog\Logger::ALERT => 'ERROR', \GFPDF_Vendor\Monolog\Logger::EMERGENCY => 'ERROR'];
28
  /**
@@ -35,7 +39,9 @@ class WildfireFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormat
35
  $this->removeJsonEncodeOption(\JSON_UNESCAPED_UNICODE);
36
  }
37
  /**
38
- * {@inheritdoc}
 
 
39
  */
40
  public function format(array $record) : string
41
  {
@@ -49,6 +55,7 @@ class WildfireFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormat
49
  $line = $record['extra']['line'];
50
  unset($record['extra']['line']);
51
  }
 
52
  $record = $this->normalize($record);
53
  $message = ['message' => $record['message']];
54
  $handleError = \false;
@@ -77,15 +84,18 @@ class WildfireFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormat
77
  return \sprintf('%d|%s|', \strlen($json), $json);
78
  }
79
  /**
80
- * {@inheritdoc}
 
 
81
  */
82
  public function formatBatch(array $records)
83
  {
84
  throw new \BadMethodCallException('Batch formatting does not make sense for the WildfireFormatter');
85
  }
86
  /**
87
- * {@inheritdoc}
88
- * @return int|bool|string|null|array|object
 
89
  */
90
  protected function normalize($data, int $depth = 0)
91
  {
18
  * @author Eric Clemmons (@ericclemmons) <eric@uxdriven.com>
19
  * @author Christophe Coevoet <stof@notk.org>
20
  * @author Kirill chEbba Chebunin <iam@chebba.org>
21
+ *
22
+ * @phpstan-import-type Level from \Monolog\Logger
23
  */
24
  class WildfireFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
25
  {
26
  /**
27
  * Translates Monolog log levels to Wildfire levels.
28
+ *
29
+ * @var array<Level, string>
30
  */
31
  private $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => 'LOG', \GFPDF_Vendor\Monolog\Logger::INFO => 'INFO', \GFPDF_Vendor\Monolog\Logger::NOTICE => 'INFO', \GFPDF_Vendor\Monolog\Logger::WARNING => 'WARN', \GFPDF_Vendor\Monolog\Logger::ERROR => 'ERROR', \GFPDF_Vendor\Monolog\Logger::CRITICAL => 'ERROR', \GFPDF_Vendor\Monolog\Logger::ALERT => 'ERROR', \GFPDF_Vendor\Monolog\Logger::EMERGENCY => 'ERROR'];
32
  /**
39
  $this->removeJsonEncodeOption(\JSON_UNESCAPED_UNICODE);
40
  }
41
  /**
42
+ * {@inheritDoc}
43
+ *
44
+ * @return string
45
  */
46
  public function format(array $record) : string
47
  {
55
  $line = $record['extra']['line'];
56
  unset($record['extra']['line']);
57
  }
58
+ /** @var mixed[] $record */
59
  $record = $this->normalize($record);
60
  $message = ['message' => $record['message']];
61
  $handleError = \false;
84
  return \sprintf('%d|%s|', \strlen($json), $json);
85
  }
86
  /**
87
+ * {@inheritDoc}
88
+ *
89
+ * @phpstan-return never
90
  */
91
  public function formatBatch(array $records)
92
  {
93
  throw new \BadMethodCallException('Batch formatting does not make sense for the WildfireFormatter');
94
  }
95
  /**
96
+ * {@inheritDoc}
97
+ *
98
+ * @return null|scalar|array<array|scalar|null>|object
99
  */
100
  protected function normalize($data, int $depth = 0)
101
  {
vendor_prefixed/monolog/src/Monolog/Handler/AbstractHandler.php CHANGED
@@ -13,18 +13,29 @@ namespace GFPDF_Vendor\Monolog\Handler;
13
 
14
  use GFPDF_Vendor\Monolog\Logger;
15
  use GFPDF_Vendor\Monolog\ResettableInterface;
 
16
  /**
17
  * Base Handler class providing basic level/bubble support
18
  *
19
  * @author Jordi Boggiano <j.boggiano@seld.be>
 
 
 
20
  */
21
  abstract class AbstractHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFPDF_Vendor\Monolog\ResettableInterface
22
  {
 
 
 
 
23
  protected $level = \GFPDF_Vendor\Monolog\Logger::DEBUG;
 
24
  protected $bubble = \true;
25
  /**
26
  * @param int|string $level The minimum logging level at which this handler will be triggered
27
  * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
 
 
28
  */
29
  public function __construct($level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
30
  {
@@ -32,7 +43,7 @@ abstract class AbstractHandler extends \GFPDF_Vendor\Monolog\Handler\Handler imp
32
  $this->bubble = $bubble;
33
  }
34
  /**
35
- * {@inheritdoc}
36
  */
37
  public function isHandling(array $record) : bool
38
  {
@@ -41,7 +52,7 @@ abstract class AbstractHandler extends \GFPDF_Vendor\Monolog\Handler\Handler imp
41
  /**
42
  * Sets minimum logging level at which this handler will be triggered.
43
  *
44
- * @param int|string $level Level or level name
45
  * @return self
46
  */
47
  public function setLevel($level) : self
@@ -53,6 +64,8 @@ abstract class AbstractHandler extends \GFPDF_Vendor\Monolog\Handler\Handler imp
53
  * Gets minimum logging level at which this handler will be triggered.
54
  *
55
  * @return int
 
 
56
  */
57
  public function getLevel() : int
58
  {
@@ -80,6 +93,9 @@ abstract class AbstractHandler extends \GFPDF_Vendor\Monolog\Handler\Handler imp
80
  {
81
  return $this->bubble;
82
  }
 
 
 
83
  public function reset()
84
  {
85
  }
13
 
14
  use GFPDF_Vendor\Monolog\Logger;
15
  use GFPDF_Vendor\Monolog\ResettableInterface;
16
+ use Psr\Log\LogLevel;
17
  /**
18
  * Base Handler class providing basic level/bubble support
19
  *
20
  * @author Jordi Boggiano <j.boggiano@seld.be>
21
+ *
22
+ * @phpstan-import-type Level from \Monolog\Logger
23
+ * @phpstan-import-type LevelName from \Monolog\Logger
24
  */
25
  abstract class AbstractHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFPDF_Vendor\Monolog\ResettableInterface
26
  {
27
+ /**
28
+ * @var int
29
+ * @phpstan-var Level
30
+ */
31
  protected $level = \GFPDF_Vendor\Monolog\Logger::DEBUG;
32
+ /** @var bool */
33
  protected $bubble = \true;
34
  /**
35
  * @param int|string $level The minimum logging level at which this handler will be triggered
36
  * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
37
+ *
38
+ * @phpstan-param Level|LevelName|LogLevel::* $level
39
  */
40
  public function __construct($level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
41
  {
43
  $this->bubble = $bubble;
44
  }
45
  /**
46
+ * {@inheritDoc}
47
  */
48
  public function isHandling(array $record) : bool
49
  {
52
  /**
53
  * Sets minimum logging level at which this handler will be triggered.
54
  *
55
+ * @param Level|LevelName|LogLevel::* $level Level or level name
56
  * @return self
57
  */
58
  public function setLevel($level) : self
64
  * Gets minimum logging level at which this handler will be triggered.
65
  *
66
  * @return int
67
+ *
68
+ * @phpstan-return Level
69
  */
70
  public function getLevel() : int
71
  {
93
  {
94
  return $this->bubble;
95
  }
96
+ /**
97
+ * {@inheritDoc}
98
+ */
99
  public function reset()
100
  {
101
  }
vendor_prefixed/monolog/src/Monolog/Handler/AbstractProcessingHandler.php CHANGED
@@ -18,13 +18,18 @@ namespace GFPDF_Vendor\Monolog\Handler;
18
  *
19
  * @author Jordi Boggiano <j.boggiano@seld.be>
20
  * @author Christophe Coevoet <stof@notk.org>
 
 
 
 
 
21
  */
22
  abstract class AbstractProcessingHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface
23
  {
24
  use ProcessableHandlerTrait;
25
  use FormattableHandlerTrait;
26
  /**
27
- * {@inheritdoc}
28
  */
29
  public function handle(array $record) : bool
30
  {
@@ -32,6 +37,7 @@ abstract class AbstractProcessingHandler extends \GFPDF_Vendor\Monolog\Handler\A
32
  return \false;
33
  }
34
  if ($this->processors) {
 
35
  $record = $this->processRecord($record);
36
  }
37
  $record['formatted'] = $this->getFormatter()->format($record);
@@ -40,8 +46,13 @@ abstract class AbstractProcessingHandler extends \GFPDF_Vendor\Monolog\Handler\A
40
  }
41
  /**
42
  * Writes the record down to the log of the implementing handler
 
 
43
  */
44
  protected abstract function write(array $record) : void;
 
 
 
45
  public function reset()
46
  {
47
  parent::reset();
18
  *
19
  * @author Jordi Boggiano <j.boggiano@seld.be>
20
  * @author Christophe Coevoet <stof@notk.org>
21
+ *
22
+ * @phpstan-import-type LevelName from \Monolog\Logger
23
+ * @phpstan-import-type Level from \Monolog\Logger
24
+ * @phpstan-import-type Record from \Monolog\Logger
25
+ * @phpstan-type FormattedRecord array{message: string, context: mixed[], level: Level, level_name: LevelName, channel: string, datetime: \DateTimeImmutable, extra: mixed[], formatted: mixed}
26
  */
27
  abstract class AbstractProcessingHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface
28
  {
29
  use ProcessableHandlerTrait;
30
  use FormattableHandlerTrait;
31
  /**
32
+ * {@inheritDoc}
33
  */
34
  public function handle(array $record) : bool
35
  {
37
  return \false;
38
  }
39
  if ($this->processors) {
40
+ /** @var Record $record */
41
  $record = $this->processRecord($record);
42
  }
43
  $record['formatted'] = $this->getFormatter()->format($record);
46
  }
47
  /**
48
  * Writes the record down to the log of the implementing handler
49
+ *
50
+ * @phpstan-param FormattedRecord $record
51
  */
52
  protected abstract function write(array $record) : void;
53
+ /**
54
+ * @return void
55
+ */
56
  public function reset()
57
  {
58
  parent::reset();
vendor_prefixed/monolog/src/Monolog/Handler/AbstractSyslogHandler.php CHANGED
@@ -16,22 +16,26 @@ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
16
  use GFPDF_Vendor\Monolog\Formatter\LineFormatter;
17
  /**
18
  * Common syslog functionality
 
 
19
  */
20
  abstract class AbstractSyslogHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
21
  {
 
22
  protected $facility;
23
  /**
24
  * Translates Monolog log levels to syslog log priorities.
 
 
25
  */
26
  protected $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => \LOG_DEBUG, \GFPDF_Vendor\Monolog\Logger::INFO => \LOG_INFO, \GFPDF_Vendor\Monolog\Logger::NOTICE => \LOG_NOTICE, \GFPDF_Vendor\Monolog\Logger::WARNING => \LOG_WARNING, \GFPDF_Vendor\Monolog\Logger::ERROR => \LOG_ERR, \GFPDF_Vendor\Monolog\Logger::CRITICAL => \LOG_CRIT, \GFPDF_Vendor\Monolog\Logger::ALERT => \LOG_ALERT, \GFPDF_Vendor\Monolog\Logger::EMERGENCY => \LOG_EMERG];
27
  /**
28
  * List of valid log facility names.
 
29
  */
30
  protected $facilities = ['auth' => \LOG_AUTH, 'authpriv' => \LOG_AUTHPRIV, 'cron' => \LOG_CRON, 'daemon' => \LOG_DAEMON, 'kern' => \LOG_KERN, 'lpr' => \LOG_LPR, 'mail' => \LOG_MAIL, 'news' => \LOG_NEWS, 'syslog' => \LOG_SYSLOG, 'user' => \LOG_USER, 'uucp' => \LOG_UUCP];
31
  /**
32
  * @param string|int $facility Either one of the names of the keys in $this->facilities, or a LOG_* facility constant
33
- * @param string|int $level The minimum logging level at which this handler will be triggered
34
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
35
  */
36
  public function __construct($facility = \LOG_USER, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
37
  {
@@ -72,7 +76,7 @@ abstract class AbstractSyslogHandler extends \GFPDF_Vendor\Monolog\Handler\Abstr
72
  $this->facility = $facility;
73
  }
74
  /**
75
- * {@inheritdoc}
76
  */
77
  protected function getDefaultFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
78
  {
16
  use GFPDF_Vendor\Monolog\Formatter\LineFormatter;
17
  /**
18
  * Common syslog functionality
19
+ *
20
+ * @phpstan-import-type Level from \Monolog\Logger
21
  */
22
  abstract class AbstractSyslogHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
23
  {
24
+ /** @var int */
25
  protected $facility;
26
  /**
27
  * Translates Monolog log levels to syslog log priorities.
28
+ * @var array
29
+ * @phpstan-var array<Level, int>
30
  */
31
  protected $logLevels = [\GFPDF_Vendor\Monolog\Logger::DEBUG => \LOG_DEBUG, \GFPDF_Vendor\Monolog\Logger::INFO => \LOG_INFO, \GFPDF_Vendor\Monolog\Logger::NOTICE => \LOG_NOTICE, \GFPDF_Vendor\Monolog\Logger::WARNING => \LOG_WARNING, \GFPDF_Vendor\Monolog\Logger::ERROR => \LOG_ERR, \GFPDF_Vendor\Monolog\Logger::CRITICAL => \LOG_CRIT, \GFPDF_Vendor\Monolog\Logger::ALERT => \LOG_ALERT, \GFPDF_Vendor\Monolog\Logger::EMERGENCY => \LOG_EMERG];
32
  /**
33
  * List of valid log facility names.
34
+ * @var array<string, int>
35
  */
36
  protected $facilities = ['auth' => \LOG_AUTH, 'authpriv' => \LOG_AUTHPRIV, 'cron' => \LOG_CRON, 'daemon' => \LOG_DAEMON, 'kern' => \LOG_KERN, 'lpr' => \LOG_LPR, 'mail' => \LOG_MAIL, 'news' => \LOG_NEWS, 'syslog' => \LOG_SYSLOG, 'user' => \LOG_USER, 'uucp' => \LOG_UUCP];
37
  /**
38
  * @param string|int $facility Either one of the names of the keys in $this->facilities, or a LOG_* facility constant
 
 
39
  */
40
  public function __construct($facility = \LOG_USER, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
41
  {
76
  $this->facility = $facility;
77
  }
78
  /**
79
+ * {@inheritDoc}
80
  */
81
  protected function getDefaultFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
82
  {
vendor_prefixed/monolog/src/Monolog/Handler/AmqpHandler.php CHANGED
@@ -17,6 +17,9 @@ use GFPDF_Vendor\Monolog\Formatter\JsonFormatter;
17
  use GFPDF_Vendor\PhpAmqpLib\Message\AMQPMessage;
18
  use GFPDF_Vendor\PhpAmqpLib\Channel\AMQPChannel;
19
  use AMQPExchange;
 
 
 
20
  class AmqpHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
21
  {
22
  /**
@@ -30,8 +33,6 @@ class AmqpHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
30
  /**
31
  * @param AMQPExchange|AMQPChannel $exchange AMQPExchange (php AMQP ext) or PHP AMQP lib channel, ready for use
32
  * @param string|null $exchangeName Optional exchange name, for AMQPChannel (PhpAmqpLib) only
33
- * @param string|int $level The minimum logging level at which this handler will be triggered
34
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
35
  */
36
  public function __construct($exchange, ?string $exchangeName = null, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
37
  {
@@ -71,6 +72,7 @@ class AmqpHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
71
  if (!$this->isHandling($record)) {
72
  continue;
73
  }
 
74
  $record = $this->processRecord($record);
75
  $data = $this->getFormatter()->format($record);
76
  $this->exchange->batch_basic_publish($this->createAmqpMessage($data), $this->exchangeName, $this->getRoutingKey($record));
@@ -79,6 +81,8 @@ class AmqpHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
79
  }
80
  /**
81
  * Gets the routing key for the AMQP exchange
 
 
82
  */
83
  protected function getRoutingKey(array $record) : string
84
  {
17
  use GFPDF_Vendor\PhpAmqpLib\Message\AMQPMessage;
18
  use GFPDF_Vendor\PhpAmqpLib\Channel\AMQPChannel;
19
  use AMQPExchange;
20
+ /**
21
+ * @phpstan-import-type Record from \Monolog\Logger
22
+ */
23
  class AmqpHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
24
  {
25
  /**
33
  /**
34
  * @param AMQPExchange|AMQPChannel $exchange AMQPExchange (php AMQP ext) or PHP AMQP lib channel, ready for use
35
  * @param string|null $exchangeName Optional exchange name, for AMQPChannel (PhpAmqpLib) only
 
 
36
  */
37
  public function __construct($exchange, ?string $exchangeName = null, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
38
  {
72
  if (!$this->isHandling($record)) {
73
  continue;
74
  }
75
+ /** @var Record $record */
76
  $record = $this->processRecord($record);
77
  $data = $this->getFormatter()->format($record);
78
  $this->exchange->batch_basic_publish($this->createAmqpMessage($data), $this->exchangeName, $this->getRoutingKey($record));
81
  }
82
  /**
83
  * Gets the routing key for the AMQP exchange
84
+ *
85
+ * @phpstan-param Record $record
86
  */
87
  protected function getRoutingKey(array $record) : string
88
  {
vendor_prefixed/monolog/src/Monolog/Handler/BrowserConsoleHandler.php CHANGED
@@ -18,10 +18,14 @@ use GFPDF_Vendor\Monolog\Utils;
18
  * Handler sending logs to browser's javascript console with no browser extension required
19
  *
20
  * @author Olivier Poitrey <rs@dailymotion.com>
 
 
21
  */
22
  class BrowserConsoleHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
23
  {
 
24
  protected static $initialized = \false;
 
25
  protected static $records = [];
26
  /**
27
  * {@inheritDoc}
@@ -141,6 +145,9 @@ class BrowserConsoleHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProces
141
  }
142
  return "(function (c) {if (c && c.groupCollapsed) {\n" . \implode("\n", $script) . "\n}})(console);";
143
  }
 
 
 
144
  private static function handleStyles(string $formatted) : array
145
  {
146
  $args = [];
@@ -160,7 +167,7 @@ class BrowserConsoleHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProces
160
  {
161
  static $colors = ['blue', 'green', 'red', 'magenta', 'orange', 'black', 'grey'];
162
  static $labels = [];
163
- return \preg_replace_callback('/macro\\s*:(.*?)(?:;|$)/', function (array $m) use($string, &$colors, &$labels) {
164
  if (\trim($m[1]) === 'autolabel') {
165
  // Format the string as a label with consistent auto assigned background color
166
  if (!isset($labels[$string])) {
@@ -171,7 +178,16 @@ class BrowserConsoleHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProces
171
  }
172
  return $m[1];
173
  }, $style);
 
 
 
 
 
174
  }
 
 
 
 
175
  private static function dump(string $title, array $dict) : array
176
  {
177
  $script = [];
@@ -193,11 +209,20 @@ class BrowserConsoleHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProces
193
  {
194
  return '"' . \addcslashes($arg, "\"\n\\") . '"';
195
  }
 
 
 
196
  private static function call(...$args) : string
197
  {
198
  $method = \array_shift($args);
 
 
 
199
  return static::call_array($method, $args);
200
  }
 
 
 
201
  private static function call_array(string $method, array $args) : string
202
  {
203
  return 'c.' . $method . '(' . \implode(', ', $args) . ');';
18
  * Handler sending logs to browser's javascript console with no browser extension required
19
  *
20
  * @author Olivier Poitrey <rs@dailymotion.com>
21
+ *
22
+ * @phpstan-import-type FormattedRecord from AbstractProcessingHandler
23
  */
24
  class BrowserConsoleHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
25
  {
26
+ /** @var bool */
27
  protected static $initialized = \false;
28
+ /** @var FormattedRecord[] */
29
  protected static $records = [];
30
  /**
31
  * {@inheritDoc}
145
  }
146
  return "(function (c) {if (c && c.groupCollapsed) {\n" . \implode("\n", $script) . "\n}})(console);";
147
  }
148
+ /**
149
+ * @return string[]
150
+ */
151
  private static function handleStyles(string $formatted) : array
152
  {
153
  $args = [];
167
  {
168
  static $colors = ['blue', 'green', 'red', 'magenta', 'orange', 'black', 'grey'];
169
  static $labels = [];
170
+ $style = \preg_replace_callback('/macro\\s*:(.*?)(?:;|$)/', function (array $m) use($string, &$colors, &$labels) {
171
  if (\trim($m[1]) === 'autolabel') {
172
  // Format the string as a label with consistent auto assigned background color
173
  if (!isset($labels[$string])) {
178
  }
179
  return $m[1];
180
  }, $style);
181
+ if (null === $style) {
182
+ $pcreErrorCode = \preg_last_error();
183
+ throw new \RuntimeException('Failed to run preg_replace_callback: ' . $pcreErrorCode . ' / ' . \GFPDF_Vendor\Monolog\Utils::pcreLastErrorMessage($pcreErrorCode));
184
+ }
185
+ return $style;
186
  }
187
+ /**
188
+ * @param mixed[] $dict
189
+ * @return mixed[]
190
+ */
191
  private static function dump(string $title, array $dict) : array
192
  {
193
  $script = [];
209
  {
210
  return '"' . \addcslashes($arg, "\"\n\\") . '"';
211
  }
212
+ /**
213
+ * @param mixed $args
214
+ */
215
  private static function call(...$args) : string
216
  {
217
  $method = \array_shift($args);
218
+ if (!\is_string($method)) {
219
+ throw new \UnexpectedValueException('Expected the first arg to be a string, got: ' . \var_export($method, \true));
220
+ }
221
  return static::call_array($method, $args);
222
  }
223
+ /**
224
+ * @param mixed[] $args
225
+ */
226
  private static function call_array(string $method, array $args) : string
227
  {
228
  return 'c.' . $method . '(' . \implode(', ', $args) . ');';
vendor_prefixed/monolog/src/Monolog/Handler/BufferHandler.php CHANGED
@@ -21,22 +21,27 @@ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
21
  * sending one per log message.
22
  *
23
  * @author Christophe Coevoet <stof@notk.org>
 
 
24
  */
25
  class BufferHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface
26
  {
27
  use ProcessableHandlerTrait;
28
  /** @var HandlerInterface */
29
  protected $handler;
 
30
  protected $bufferSize = 0;
 
31
  protected $bufferLimit;
 
32
  protected $flushOnOverflow;
 
33
  protected $buffer = [];
 
34
  protected $initialized = \false;
35
  /**
36
  * @param HandlerInterface $handler Handler.
37
  * @param int $bufferLimit How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
38
- * @param string|int $level The minimum logging level at which this handler will be triggered
39
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
40
  * @param bool $flushOnOverflow If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded
41
  */
42
  public function __construct(\GFPDF_Vendor\Monolog\Handler\HandlerInterface $handler, int $bufferLimit = 0, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true, bool $flushOnOverflow = \false)
@@ -47,7 +52,7 @@ class BufferHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implem
47
  $this->flushOnOverflow = $flushOnOverflow;
48
  }
49
  /**
50
- * {@inheritdoc}
51
  */
52
  public function handle(array $record) : bool
53
  {
@@ -68,6 +73,7 @@ class BufferHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implem
68
  }
69
  }
70
  if ($this->processors) {
 
71
  $record = $this->processRecord($record);
72
  }
73
  $this->buffer[] = $record;
@@ -89,7 +95,7 @@ class BufferHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implem
89
  // GC'd until the end of the request
90
  }
91
  /**
92
- * {@inheritdoc}
93
  */
94
  public function close() : void
95
  {
@@ -114,7 +120,7 @@ class BufferHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implem
114
  }
115
  }
116
  /**
117
- * {@inheritdoc}
118
  */
119
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
120
  {
@@ -125,7 +131,7 @@ class BufferHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implem
125
  throw new \UnexpectedValueException('The nested handler of type ' . \get_class($this->handler) . ' does not support formatters.');
126
  }
127
  /**
128
- * {@inheritdoc}
129
  */
130
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
131
  {
21
  * sending one per log message.
22
  *
23
  * @author Christophe Coevoet <stof@notk.org>
24
+ *
25
+ * @phpstan-import-type Record from \Monolog\Logger
26
  */
27
  class BufferHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractHandler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface
28
  {
29
  use ProcessableHandlerTrait;
30
  /** @var HandlerInterface */
31
  protected $handler;
32
+ /** @var int */
33
  protected $bufferSize = 0;
34
+ /** @var int */
35
  protected $bufferLimit;
36
+ /** @var bool */
37
  protected $flushOnOverflow;
38
+ /** @var Record[] */
39
  protected $buffer = [];
40
+ /** @var bool */
41
  protected $initialized = \false;
42
  /**
43
  * @param HandlerInterface $handler Handler.
44
  * @param int $bufferLimit How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
 
 
45
  * @param bool $flushOnOverflow If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded
46
  */
47
  public function __construct(\GFPDF_Vendor\Monolog\Handler\HandlerInterface $handler, int $bufferLimit = 0, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true, bool $flushOnOverflow = \false)
52
  $this->flushOnOverflow = $flushOnOverflow;
53
  }
54
  /**
55
+ * {@inheritDoc}
56
  */
57
  public function handle(array $record) : bool
58
  {
73
  }
74
  }
75
  if ($this->processors) {
76
+ /** @var Record $record */
77
  $record = $this->processRecord($record);
78
  }
79
  $this->buffer[] = $record;
95
  // GC'd until the end of the request
96
  }
97
  /**
98
+ * {@inheritDoc}
99
  */
100
  public function close() : void
101
  {
120
  }
121
  }
122
  /**
123
+ * {@inheritDoc}
124
  */
125
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
126
  {
131
  throw new \UnexpectedValueException('The nested handler of type ' . \get_class($this->handler) . ' does not support formatters.');
132
  }
133
  /**
134
+ * {@inheritDoc}
135
  */
136
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
137
  {
vendor_prefixed/monolog/src/Monolog/Handler/ChromePHPHandler.php CHANGED
@@ -21,6 +21,8 @@ use GFPDF_Vendor\Monolog\Utils;
21
  * This also works out of the box with Firefox 43+
22
  *
23
  * @author Christophe Coevoet <stof@notk.org>
 
 
24
  */
25
  class ChromePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
26
  {
@@ -37,6 +39,7 @@ class ChromePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingH
37
  * Regular expression to detect supported browsers (matches any Chrome, or Firefox 43+)
38
  */
39
  protected const USER_AGENT_REGEX = '{\\b(?:Chrome/\\d+(?:\\.\\d+)*|HeadlessChrome|Firefox/(?:4[3-9]|[5-9]\\d|\\d{3,})(?:\\.\\d)*)\\b}';
 
40
  protected static $initialized = \false;
41
  /**
42
  * Tracks whether we sent too much data
@@ -46,12 +49,10 @@ class ChromePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingH
46
  * @var bool
47
  */
48
  protected static $overflowed = \false;
 
49
  protected static $json = ['version' => self::VERSION, 'columns' => ['label', 'log', 'backtrace', 'type'], 'rows' => []];
 
50
  protected static $sendHeaders = \true;
51
- /**
52
- * @param string|int $level The minimum logging level at which this handler will be triggered
53
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
54
- */
55
  public function __construct($level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
56
  {
57
  parent::__construct($level, $bubble);
@@ -60,7 +61,7 @@ class ChromePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingH
60
  }
61
  }
62
  /**
63
- * {@inheritdoc}
64
  */
65
  public function handleBatch(array $records) : void
66
  {
@@ -72,7 +73,9 @@ class ChromePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingH
72
  if ($record['level'] < $this->level) {
73
  continue;
74
  }
75
- $messages[] = $this->processRecord($record);
 
 
76
  }
77
  if (!empty($messages)) {
78
  $messages = $this->getFormatter()->formatBatch($messages);
21
  * This also works out of the box with Firefox 43+
22
  *
23
  * @author Christophe Coevoet <stof@notk.org>
24
+ *
25
+ * @phpstan-import-type Record from \Monolog\Logger
26
  */
27
  class ChromePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
28
  {
39
  * Regular expression to detect supported browsers (matches any Chrome, or Firefox 43+)
40
  */
41
  protected const USER_AGENT_REGEX = '{\\b(?:Chrome/\\d+(?:\\.\\d+)*|HeadlessChrome|Firefox/(?:4[3-9]|[5-9]\\d|\\d{3,})(?:\\.\\d)*)\\b}';
42
+ /** @var bool */
43
  protected static $initialized = \false;
44
  /**
45
  * Tracks whether we sent too much data
49
  * @var bool
50
  */
51
  protected static $overflowed = \false;
52
+ /** @var mixed[] */
53
  protected static $json = ['version' => self::VERSION, 'columns' => ['label', 'log', 'backtrace', 'type'], 'rows' => []];
54
+ /** @var bool */
55
  protected static $sendHeaders = \true;
 
 
 
 
56
  public function __construct($level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
57
  {
58
  parent::__construct($level, $bubble);
61
  }
62
  }
63
  /**
64
+ * {@inheritDoc}
65
  */
66
  public function handleBatch(array $records) : void
67
  {
73
  if ($record['level'] < $this->level) {
74
  continue;
75
  }
76
+ /** @var Record $message */
77
+ $message = $this->processRecord($record);
78
+ $messages[] = $message;
79
  }
80
  if (!empty($messages)) {
81
  $messages = $this->getFormatter()->formatBatch($messages);
vendor_prefixed/monolog/src/Monolog/Handler/CouchDBHandler.php CHANGED
@@ -21,7 +21,11 @@ use GFPDF_Vendor\Monolog\Logger;
21
  */
22
  class CouchDBHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
23
  {
 
24
  private $options;
 
 
 
25
  public function __construct(array $options = [], $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
26
  {
27
  $this->options = \array_merge(['host' => 'localhost', 'port' => 5984, 'dbname' => 'logger', 'username' => null, 'password' => null], $options);
21
  */
22
  class CouchDBHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
23
  {
24
+ /** @var mixed[] */
25
  private $options;
26
+ /**
27
+ * @param mixed[] $options
28
+ */
29
  public function __construct(array $options = [], $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
30
  {
31
  $this->options = \array_merge(['host' => 'localhost', 'port' => 5984, 'dbname' => 'logger', 'username' => null, 'password' => null], $options);
vendor_prefixed/monolog/src/Monolog/Handler/CubeHandler.php CHANGED
@@ -21,11 +21,17 @@ use GFPDF_Vendor\Monolog\Utils;
21
  */
22
  class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
23
  {
24
- private $udpConnection;
25
- private $httpConnection;
 
 
 
26
  private $scheme;
 
27
  private $host;
 
28
  private $port;
 
29
  private $acceptedSchemes = ['http', 'udp'];
30
  /**
31
  * Create a Cube handler
@@ -37,7 +43,7 @@ class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
37
  public function __construct(string $url, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
38
  {
39
  $urlInfo = \parse_url($url);
40
- if (!isset($urlInfo['scheme'], $urlInfo['host'], $urlInfo['port'])) {
41
  throw new \UnexpectedValueException('URL "' . $url . '" is not valid');
42
  }
43
  if (!\in_array($urlInfo['scheme'], $this->acceptedSchemes)) {
@@ -45,7 +51,7 @@ class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
45
  }
46
  $this->scheme = $urlInfo['scheme'];
47
  $this->host = $urlInfo['host'];
48
- $this->port = $urlInfo['port'];
49
  parent::__construct($level, $bubble);
50
  }
51
  /**
@@ -59,10 +65,11 @@ class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
59
  if (!\extension_loaded('sockets')) {
60
  throw new \GFPDF_Vendor\Monolog\Handler\MissingExtensionException('The sockets extension is required to use udp URLs with the CubeHandler');
61
  }
62
- $this->udpConnection = \socket_create(\AF_INET, \SOCK_DGRAM, 0);
63
- if (!$this->udpConnection) {
64
  throw new \LogicException('Unable to create a socket');
65
  }
 
66
  if (!\socket_connect($this->udpConnection, $this->host, $this->port)) {
67
  throw new \LogicException('Unable to connect to the socket at ' . $this->host . ':' . $this->port);
68
  }
@@ -78,15 +85,16 @@ class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
78
  if (!\extension_loaded('curl')) {
79
  throw new \GFPDF_Vendor\Monolog\Handler\MissingExtensionException('The curl extension is required to use http URLs with the CubeHandler');
80
  }
81
- $this->httpConnection = \curl_init('http://' . $this->host . ':' . $this->port . '/1.0/event/put');
82
- if (!$this->httpConnection) {
83
  throw new \LogicException('Unable to connect to ' . $this->host . ':' . $this->port);
84
  }
 
85
  \curl_setopt($this->httpConnection, \CURLOPT_CUSTOMREQUEST, "POST");
86
  \curl_setopt($this->httpConnection, \CURLOPT_RETURNTRANSFER, \true);
87
  }
88
  /**
89
- * {@inheritdoc}
90
  */
91
  protected function write(array $record) : void
92
  {
@@ -119,6 +127,9 @@ class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
119
  if (!$this->httpConnection) {
120
  $this->connectHttp();
121
  }
 
 
 
122
  \curl_setopt($this->httpConnection, \CURLOPT_POSTFIELDS, '[' . $data . ']');
123
  \curl_setopt($this->httpConnection, \CURLOPT_HTTPHEADER, ['Content-Type: application/json', 'Content-Length: ' . \strlen('[' . $data . ']')]);
124
  \GFPDF_Vendor\Monolog\Handler\Curl\Util::execute($this->httpConnection, 5, \false);
21
  */
22
  class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
23
  {
24
+ /** @var resource|\Socket|null */
25
+ private $udpConnection = null;
26
+ /** @var resource|\CurlHandle|null */
27
+ private $httpConnection = null;
28
+ /** @var string */
29
  private $scheme;
30
+ /** @var string */
31
  private $host;
32
+ /** @var int */
33
  private $port;
34
+ /** @var string[] */
35
  private $acceptedSchemes = ['http', 'udp'];
36
  /**
37
  * Create a Cube handler
43
  public function __construct(string $url, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
44
  {
45
  $urlInfo = \parse_url($url);
46
+ if ($urlInfo === \false || !isset($urlInfo['scheme'], $urlInfo['host'], $urlInfo['port'])) {
47
  throw new \UnexpectedValueException('URL "' . $url . '" is not valid');
48
  }
49
  if (!\in_array($urlInfo['scheme'], $this->acceptedSchemes)) {
51
  }
52
  $this->scheme = $urlInfo['scheme'];
53
  $this->host = $urlInfo['host'];
54
+ $this->port = (int) $urlInfo['port'];
55
  parent::__construct($level, $bubble);
56
  }
57
  /**
65
  if (!\extension_loaded('sockets')) {
66
  throw new \GFPDF_Vendor\Monolog\Handler\MissingExtensionException('The sockets extension is required to use udp URLs with the CubeHandler');
67
  }
68
+ $udpConnection = \socket_create(\AF_INET, \SOCK_DGRAM, 0);
69
+ if (\false === $udpConnection) {
70
  throw new \LogicException('Unable to create a socket');
71
  }
72
+ $this->udpConnection = $udpConnection;
73
  if (!\socket_connect($this->udpConnection, $this->host, $this->port)) {
74
  throw new \LogicException('Unable to connect to the socket at ' . $this->host . ':' . $this->port);
75
  }
85
  if (!\extension_loaded('curl')) {
86
  throw new \GFPDF_Vendor\Monolog\Handler\MissingExtensionException('The curl extension is required to use http URLs with the CubeHandler');
87
  }
88
+ $httpConnection = \curl_init('http://' . $this->host . ':' . $this->port . '/1.0/event/put');
89
+ if (\false === $httpConnection) {
90
  throw new \LogicException('Unable to connect to ' . $this->host . ':' . $this->port);
91
  }
92
+ $this->httpConnection = $httpConnection;
93
  \curl_setopt($this->httpConnection, \CURLOPT_CUSTOMREQUEST, "POST");
94
  \curl_setopt($this->httpConnection, \CURLOPT_RETURNTRANSFER, \true);
95
  }
96
  /**
97
+ * {@inheritDoc}
98
  */
99
  protected function write(array $record) : void
100
  {
127
  if (!$this->httpConnection) {
128
  $this->connectHttp();
129
  }
130
+ if (null === $this->httpConnection) {
131
+ throw new \LogicException('No connection could be established');
132
+ }
133
  \curl_setopt($this->httpConnection, \CURLOPT_POSTFIELDS, '[' . $data . ']');
134
  \curl_setopt($this->httpConnection, \CURLOPT_HTTPHEADER, ['Content-Type: application/json', 'Content-Length: ' . \strlen('[' . $data . ']')]);
135
  \GFPDF_Vendor\Monolog\Handler\Curl\Util::execute($this->httpConnection, 5, \false);
vendor_prefixed/monolog/src/Monolog/Handler/Curl/Util.php CHANGED
@@ -19,6 +19,7 @@ use CurlHandle;
19
  */
20
  final class Util
21
  {
 
22
  private static $retriableErrorCodes = [\CURLE_COULDNT_RESOLVE_HOST, \CURLE_COULDNT_CONNECT, \CURLE_HTTP_NOT_FOUND, \CURLE_READ_ERROR, \CURLE_OPERATION_TIMEOUTED, \CURLE_HTTP_POST_ERROR, \CURLE_SSL_CONNECT_ERROR];
23
  /**
24
  * Executes a CURL request with optional retries and exception on failure
19
  */
20
  final class Util
21
  {
22
+ /** @var array<int> */
23
  private static $retriableErrorCodes = [\CURLE_COULDNT_RESOLVE_HOST, \CURLE_COULDNT_CONNECT, \CURLE_HTTP_NOT_FOUND, \CURLE_READ_ERROR, \CURLE_OPERATION_TIMEOUTED, \CURLE_HTTP_POST_ERROR, \CURLE_SSL_CONNECT_ERROR];
24
  /**
25
  * Executes a CURL request with optional retries and exception on failure
vendor_prefixed/monolog/src/Monolog/Handler/DeduplicationHandler.php CHANGED
@@ -12,6 +12,7 @@ declare (strict_types=1);
12
  namespace GFPDF_Vendor\Monolog\Handler;
13
 
14
  use GFPDF_Vendor\Monolog\Logger;
 
15
  /**
16
  * Simple handler wrapper that deduplicates log records across multiple requests
17
  *
@@ -31,6 +32,10 @@ use GFPDF_Vendor\Monolog\Logger;
31
  * same way.
32
  *
33
  * @author Jordi Boggiano <j.boggiano@seld.be>
 
 
 
 
34
  */
35
  class DeduplicationHandler extends \GFPDF_Vendor\Monolog\Handler\BufferHandler
36
  {
@@ -39,7 +44,7 @@ class DeduplicationHandler extends \GFPDF_Vendor\Monolog\Handler\BufferHandler
39
  */
40
  protected $deduplicationStore;
41
  /**
42
- * @var int
43
  */
44
  protected $deduplicationLevel;
45
  /**
@@ -56,6 +61,8 @@ class DeduplicationHandler extends \GFPDF_Vendor\Monolog\Handler\BufferHandler
56
  * @param string|int $deduplicationLevel The minimum logging level for log records to be looked at for deduplication purposes
57
  * @param int $time The period (in seconds) during which duplicate entries should be suppressed after a given log is sent through
58
  * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
 
 
59
  */
60
  public function __construct(\GFPDF_Vendor\Monolog\Handler\HandlerInterface $handler, ?string $deduplicationStore = null, $deduplicationLevel = \GFPDF_Vendor\Monolog\Logger::ERROR, int $time = 60, bool $bubble = \true)
61
  {
@@ -87,6 +94,9 @@ class DeduplicationHandler extends \GFPDF_Vendor\Monolog\Handler\BufferHandler
87
  $this->collectLogs();
88
  }
89
  }
 
 
 
90
  private function isDuplicate(array $record) : bool
91
  {
92
  if (!\file_exists($this->deduplicationStore)) {
@@ -137,6 +147,9 @@ class DeduplicationHandler extends \GFPDF_Vendor\Monolog\Handler\BufferHandler
137
  \fclose($handle);
138
  $this->gc = \false;
139
  }
 
 
 
140
  private function appendRecord(array $record) : void
141
  {
142
  \file_put_contents($this->deduplicationStore, $record['datetime']->getTimestamp() . ':' . $record['level_name'] . ':' . \preg_replace('{[\\r\\n].*}', '', $record['message']) . "\n", \FILE_APPEND);
12
  namespace GFPDF_Vendor\Monolog\Handler;
13
 
14
  use GFPDF_Vendor\Monolog\Logger;
15
+ use Psr\Log\LogLevel;
16
  /**
17
  * Simple handler wrapper that deduplicates log records across multiple requests
18
  *
32
  * same way.
33
  *
34
  * @author Jordi Boggiano <j.boggiano@seld.be>
35
+ *
36
+ * @phpstan-import-type Record from \Monolog\Logger
37
+ * @phpstan-import-type LevelName from \Monolog\Logger
38
+ * @phpstan-import-type Level from \Monolog\Logger
39
  */
40
  class DeduplicationHandler extends \GFPDF_Vendor\Monolog\Handler\BufferHandler
41
  {
44
  */
45
  protected $deduplicationStore;
46
  /**
47
+ * @var Level
48
  */
49
  protected $deduplicationLevel;
50
  /**
61
  * @param string|int $deduplicationLevel The minimum logging level for log records to be looked at for deduplication purposes
62
  * @param int $time The period (in seconds) during which duplicate entries should be suppressed after a given log is sent through
63
  * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
64
+ *
65
+ * @phpstan-param Level|LevelName|LogLevel::* $deduplicationLevel
66
  */
67
  public function __construct(\GFPDF_Vendor\Monolog\Handler\HandlerInterface $handler, ?string $deduplicationStore = null, $deduplicationLevel = \GFPDF_Vendor\Monolog\Logger::ERROR, int $time = 60, bool $bubble = \true)
68
  {
94
  $this->collectLogs();
95
  }
96
  }
97
+ /**
98
+ * @phpstan-param Record $record
99
+ */
100
  private function isDuplicate(array $record) : bool
101
  {
102
  if (!\file_exists($this->deduplicationStore)) {
147
  \fclose($handle);
148
  $this->gc = \false;
149
  }
150
+ /**
151
+ * @phpstan-param Record $record
152
+ */
153
  private function appendRecord(array $record) : void
154
  {
155
  \file_put_contents($this->deduplicationStore, $record['datetime']->getTimestamp() . ':' . $record['level_name'] . ':' . \preg_replace('{[\\r\\n].*}', '', $record['message']) . "\n", \FILE_APPEND);
vendor_prefixed/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php CHANGED
@@ -22,6 +22,7 @@ use GFPDF_Vendor\Doctrine\CouchDB\CouchDBClient;
22
  */
23
  class DoctrineCouchDBHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
24
  {
 
25
  private $client;
26
  public function __construct(\GFPDF_Vendor\Doctrine\CouchDB\CouchDBClient $client, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
27
  {
22
  */
23
  class DoctrineCouchDBHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
24
  {
25
+ /** @var CouchDBClient */
26
  private $client;
27
  public function __construct(\GFPDF_Vendor\Doctrine\CouchDB\CouchDBClient $client, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
28
  {
vendor_prefixed/monolog/src/Monolog/Handler/DynamoDbHandler.php CHANGED
@@ -42,9 +42,6 @@ class DynamoDbHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
42
  * @var Marshaler
43
  */
44
  protected $marshaler;
45
- /**
46
- * @param int|string $level
47
- */
48
  public function __construct(\GFPDF_Vendor\Aws\DynamoDb\DynamoDbClient $client, string $table, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
49
  {
50
  /** @phpstan-ignore-next-line */
@@ -59,7 +56,7 @@ class DynamoDbHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
59
  parent::__construct($level, $bubble);
60
  }
61
  /**
62
- * {@inheritdoc}
63
  */
64
  protected function write(array $record) : void
65
  {
@@ -72,6 +69,10 @@ class DynamoDbHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
72
  }
73
  $this->client->putItem(['TableName' => $this->table, 'Item' => $formatted]);
74
  }
 
 
 
 
75
  protected function filterEmptyFields(array $record) : array
76
  {
77
  return \array_filter($record, function ($value) {
@@ -79,7 +80,7 @@ class DynamoDbHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
79
  });
80
  }
81
  /**
82
- * {@inheritdoc}
83
  */
84
  protected function getDefaultFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
85
  {
42
  * @var Marshaler
43
  */
44
  protected $marshaler;
 
 
 
45
  public function __construct(\GFPDF_Vendor\Aws\DynamoDb\DynamoDbClient $client, string $table, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
46
  {
47
  /** @phpstan-ignore-next-line */
56
  parent::__construct($level, $bubble);
57
  }
58
  /**
59
+ * {@inheritDoc}
60
  */
61
  protected function write(array $record) : void
62
  {
69
  }
70
  $this->client->putItem(['TableName' => $this->table, 'Item' => $formatted]);
71
  }
72
+ /**
73
+ * @param mixed[] $record
74
+ * @return mixed[]
75
+ */
76
  protected function filterEmptyFields(array $record) : array
77
  {
78
  return \array_filter($record, function ($value) {
80
  });
81
  }
82
  /**
83
+ * {@inheritDoc}
84
  */
85
  protected function getDefaultFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
86
  {
vendor_prefixed/monolog/src/Monolog/Handler/ElasticaHandler.php CHANGED
@@ -11,6 +11,7 @@ declare (strict_types=1);
11
  */
12
  namespace GFPDF_Vendor\Monolog\Handler;
13
 
 
14
  use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
15
  use GFPDF_Vendor\Monolog\Formatter\ElasticaFormatter;
16
  use GFPDF_Vendor\Monolog\Logger;
@@ -39,14 +40,12 @@ class ElasticaHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
39
  */
40
  protected $client;
41
  /**
42
- * @var array Handler config options
43
  */
44
  protected $options = [];
45
  /**
46
- * @param Client $client Elastica Client object
47
- * @param array $options Handler configuration
48
- * @param int|string $level The minimum logging level at which this handler will be triggered
49
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
50
  */
51
  public function __construct(\GFPDF_Vendor\Elastica\Client $client, array $options = [], $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
52
  {
@@ -68,7 +67,7 @@ class ElasticaHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
68
  $this->bulkSend([$record['formatted']]);
69
  }
70
  /**
71
- * {@inheritdoc}
72
  */
73
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
74
  {
@@ -77,6 +76,9 @@ class ElasticaHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
77
  }
78
  throw new \InvalidArgumentException('ElasticaHandler is only compatible with ElasticaFormatter');
79
  }
 
 
 
80
  public function getOptions() : array
81
  {
82
  return $this->options;
@@ -89,7 +91,7 @@ class ElasticaHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
89
  return new \GFPDF_Vendor\Monolog\Formatter\ElasticaFormatter($this->options['index'], $this->options['type']);
90
  }
91
  /**
92
- * {@inheritdoc}
93
  */
94
  public function handleBatch(array $records) : void
95
  {
@@ -98,6 +100,9 @@ class ElasticaHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
98
  }
99
  /**
100
  * Use Elasticsearch bulk API to send list of documents
 
 
 
101
  * @throws \RuntimeException
102
  */
103
  protected function bulkSend(array $documents) : void
11
  */
12
  namespace GFPDF_Vendor\Monolog\Handler;
13
 
14
+ use GFPDF_Vendor\Elastica\Document;
15
  use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
16
  use GFPDF_Vendor\Monolog\Formatter\ElasticaFormatter;
17
  use GFPDF_Vendor\Monolog\Logger;
40
  */
41
  protected $client;
42
  /**
43
+ * @var mixed[] Handler config options
44
  */
45
  protected $options = [];
46
  /**
47
+ * @param Client $client Elastica Client object
48
+ * @param mixed[] $options Handler configuration
 
 
49
  */
50
  public function __construct(\GFPDF_Vendor\Elastica\Client $client, array $options = [], $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
51
  {
67
  $this->bulkSend([$record['formatted']]);
68
  }
69
  /**
70
+ * {@inheritDoc}
71
  */
72
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
73
  {
76
  }
77
  throw new \InvalidArgumentException('ElasticaHandler is only compatible with ElasticaFormatter');
78
  }
79
+ /**
80
+ * @return mixed[]
81
+ */
82
  public function getOptions() : array
83
  {
84
  return $this->options;
91
  return new \GFPDF_Vendor\Monolog\Formatter\ElasticaFormatter($this->options['index'], $this->options['type']);
92
  }
93
  /**
94
+ * {@inheritDoc}
95
  */
96
  public function handleBatch(array $records) : void
97
  {
100
  }
101
  /**
102
  * Use Elasticsearch bulk API to send list of documents
103
+ *
104
+ * @param Document[] $documents
105
+ *
106
  * @throws \RuntimeException
107
  */
108
  protected function bulkSend(array $documents) : void
vendor_prefixed/monolog/src/Monolog/Handler/ElasticsearchHandler.php CHANGED
@@ -47,14 +47,12 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
47
  */
48
  protected $client;
49
  /**
50
- * @var array Handler config options
51
  */
52
  protected $options = [];
53
  /**
54
- * @param Client $client Elasticsearch Client object
55
- * @param array $options Handler configuration
56
- * @param string|int $level The minimum logging level at which this handler will be triggered
57
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
58
  */
59
  public function __construct(\GFPDF_Vendor\Elasticsearch\Client $client, array $options = [], $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
60
  {
@@ -76,7 +74,7 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
76
  $this->bulkSend([$record['formatted']]);
77
  }
78
  /**
79
- * {@inheritdoc}
80
  */
81
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
82
  {
@@ -88,7 +86,7 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
88
  /**
89
  * Getter options
90
  *
91
- * @return array
92
  */
93
  public function getOptions() : array
94
  {
@@ -102,7 +100,7 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
102
  return new \GFPDF_Vendor\Monolog\Formatter\ElasticsearchFormatter($this->options['index'], $this->options['type']);
103
  }
104
  /**
105
- * {@inheritdoc}
106
  */
107
  public function handleBatch(array $records) : void
108
  {
@@ -112,7 +110,7 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
112
  /**
113
  * Use Elasticsearch bulk API to send list of documents
114
  *
115
- * @param array $records
116
  * @throws \RuntimeException
117
  */
118
  protected function bulkSend(array $records) : void
@@ -139,7 +137,7 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
139
  *
140
  * Only the first error is converted into an exception.
141
  *
142
- * @param array $responses returned by $this->client->bulk()
143
  */
144
  protected function createExceptionFromResponses(array $responses) : \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException
145
  {
@@ -153,7 +151,7 @@ class ElasticsearchHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
153
  /**
154
  * Creates elasticsearch exception from error array
155
  *
156
- * @param array $error
157
  */
158
  protected function createExceptionFromError(array $error) : \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException
159
  {
47
  */
48
  protected $client;
49
  /**
50
+ * @var mixed[] Handler config options
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
  {
74
  $this->bulkSend([$record['formatted']]);
75
  }
76
  /**
77
+ * {@inheritDoc}
78
  */
79
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
80
  {
86
  /**
87
  * Getter options
88
  *
89
+ * @return mixed[]
90
  */
91
  public function getOptions() : array
92
  {
100
  return new \GFPDF_Vendor\Monolog\Formatter\ElasticsearchFormatter($this->options['index'], $this->options['type']);
101
  }
102
  /**
103
+ * {@inheritDoc}
104
  */
105
  public function handleBatch(array $records) : void
106
  {
110
  /**
111
  * Use Elasticsearch bulk API to send list of documents
112
  *
113
+ * @param array[] $records Records + _index/_type keys
114
  * @throws \RuntimeException
115
  */
116
  protected function bulkSend(array $records) : void
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
  {
151
  /**
152
  * Creates elasticsearch exception from error array
153
  *
154
+ * @param mixed[] $error
155
  */
156
  protected function createExceptionFromError(array $error) : \GFPDF_Vendor\Elasticsearch\Common\Exceptions\RuntimeException
157
  {
vendor_prefixed/monolog/src/Monolog/Handler/ErrorLogHandler.php CHANGED
@@ -14,6 +14,7 @@ namespace GFPDF_Vendor\Monolog\Handler;
14
  use GFPDF_Vendor\Monolog\Formatter\LineFormatter;
15
  use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
16
  use GFPDF_Vendor\Monolog\Logger;
 
17
  /**
18
  * Stores to PHP error_log() handler.
19
  *
@@ -23,13 +24,13 @@ class ErrorLogHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
23
  {
24
  public const OPERATING_SYSTEM = 0;
25
  public const SAPI = 4;
 
26
  protected $messageType;
 
27
  protected $expandNewlines;
28
  /**
29
- * @param int $messageType Says where the error should go.
30
- * @param int|string $level The minimum logging level at which this handler will be triggered
31
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
32
- * @param bool $expandNewlines If set to true, newlines in the message will be expanded to be take multiple log entries
33
  */
34
  public function __construct(int $messageType = self::OPERATING_SYSTEM, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true, bool $expandNewlines = \false)
35
  {
@@ -42,7 +43,7 @@ class ErrorLogHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
42
  $this->expandNewlines = $expandNewlines;
43
  }
44
  /**
45
- * @return array With all available types
46
  */
47
  public static function getAvailableTypes() : array
48
  {
@@ -56,7 +57,7 @@ class ErrorLogHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
56
  return new \GFPDF_Vendor\Monolog\Formatter\LineFormatter('[%datetime%] %channel%.%level_name%: %message% %context% %extra%');
57
  }
58
  /**
59
- * {@inheritdoc}
60
  */
61
  protected function write(array $record) : void
62
  {
@@ -65,6 +66,10 @@ class ErrorLogHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
65
  return;
66
  }
67
  $lines = \preg_split('{[\\r\\n]+}', (string) $record['formatted']);
 
 
 
 
68
  foreach ($lines as $line) {
69
  \error_log($line, $this->messageType);
70
  }
14
  use GFPDF_Vendor\Monolog\Formatter\LineFormatter;
15
  use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
16
  use GFPDF_Vendor\Monolog\Logger;
17
+ use GFPDF_Vendor\Monolog\Utils;
18
  /**
19
  * Stores to PHP error_log() handler.
20
  *
24
  {
25
  public const OPERATING_SYSTEM = 0;
26
  public const SAPI = 4;
27
+ /** @var int */
28
  protected $messageType;
29
+ /** @var bool */
30
  protected $expandNewlines;
31
  /**
32
+ * @param int $messageType Says where the error should go.
33
+ * @param bool $expandNewlines If set to true, newlines in the message will be expanded to be take multiple log entries
 
 
34
  */
35
  public function __construct(int $messageType = self::OPERATING_SYSTEM, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true, bool $expandNewlines = \false)
36
  {
43
  $this->expandNewlines = $expandNewlines;
44
  }
45
  /**
46
+ * @return int[] With all available types
47
  */
48
  public static function getAvailableTypes() : array
49
  {
57
  return new \GFPDF_Vendor\Monolog\Formatter\LineFormatter('[%datetime%] %channel%.%level_name%: %message% %context% %extra%');
58
  }
59
  /**
60
+ * {@inheritDoc}
61
  */
62
  protected function write(array $record) : void
63
  {
66
  return;
67
  }
68
  $lines = \preg_split('{[\\r\\n]+}', (string) $record['formatted']);
69
+ if ($lines === \false) {
70
+ $pcreErrorCode = \preg_last_error();
71
+ throw new \RuntimeException('Failed to preg_split formatted string: ' . $pcreErrorCode . ' / ' . \GFPDF_Vendor\Monolog\Utils::pcreLastErrorMessage($pcreErrorCode));
72
+ }
73
  foreach ($lines as $line) {
74
  \error_log($line, $this->messageType);
75
  }
vendor_prefixed/monolog/src/Monolog/Handler/FallbackGroupHandler.php CHANGED
@@ -12,14 +12,24 @@ declare (strict_types=1);
12
  namespace GFPDF_Vendor\Monolog\Handler;
13
 
14
  use Throwable;
 
 
 
 
 
 
 
 
 
15
  class FallbackGroupHandler extends \GFPDF_Vendor\Monolog\Handler\GroupHandler
16
  {
17
  /**
18
- * {@inheritdoc}
19
  */
20
  public function handle(array $record) : bool
21
  {
22
  if ($this->processors) {
 
23
  $record = $this->processRecord($record);
24
  }
25
  foreach ($this->handlers as $handler) {
@@ -33,7 +43,7 @@ class FallbackGroupHandler extends \GFPDF_Vendor\Monolog\Handler\GroupHandler
33
  return \false === $this->bubble;
34
  }
35
  /**
36
- * {@inheritdoc}
37
  */
38
  public function handleBatch(array $records) : void
39
  {
@@ -42,6 +52,7 @@ class FallbackGroupHandler extends \GFPDF_Vendor\Monolog\Handler\GroupHandler
42
  foreach ($records as $record) {
43
  $processed[] = $this->processRecord($record);
44
  }
 
45
  $records = $processed;
46
  }
47
  foreach ($this->handlers as $handler) {
12
  namespace GFPDF_Vendor\Monolog\Handler;
13
 
14
  use Throwable;
15
+ /**
16
+ * Forwards records to at most one handler
17
+ *
18
+ * If a handler fails, the exception is suppressed and the record is forwarded to the next handler.
19
+ *
20
+ * As soon as one handler handles a record successfully, the handling stops there.
21
+ *
22
+ * @phpstan-import-type Record from \Monolog\Logger
23
+ */
24
  class FallbackGroupHandler extends \GFPDF_Vendor\Monolog\Handler\GroupHandler
25
  {
26
  /**
27
+ * {@inheritDoc}
28
  */
29
  public function handle(array $record) : bool
30
  {
31
  if ($this->processors) {
32
+ /** @var Record $record */
33
  $record = $this->processRecord($record);
34
  }
35
  foreach ($this->handlers as $handler) {
43
  return \false === $this->bubble;
44
  }
45
  /**
46
+ * {@inheritDoc}
47
  */
48
  public function handleBatch(array $records) : void
49
  {
52
  foreach ($records as $record) {
53
  $processed[] = $this->processRecord($record);
54
  }
55
+ /** @var Record[] $records */
56
  $records = $processed;
57
  }
58
  foreach ($this->handlers as $handler) {
vendor_prefixed/monolog/src/Monolog/Handler/FilterHandler.php CHANGED
@@ -14,6 +14,7 @@ namespace GFPDF_Vendor\Monolog\Handler;
14
  use GFPDF_Vendor\Monolog\Logger;
15
  use GFPDF_Vendor\Monolog\ResettableInterface;
16
  use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
 
17
  /**
18
  * Simple handler wrapper that filters records based on a list of levels
19
  *
@@ -21,6 +22,10 @@ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
21
  *
22
  * @author Hennadiy Verkh
23
  * @author Jordi Boggiano <j.boggiano@seld.be>
 
 
 
 
24
  */
25
  class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\ResettableInterface, \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface
26
  {
@@ -28,13 +33,15 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
28
  /**
29
  * Handler or factory callable($record, $this)
30
  *
31
- * @var callable|\Monolog\Handler\HandlerInterface
 
32
  */
33
  protected $handler;
34
  /**
35
  * Minimum level for logs that are passed to handler
36
  *
37
  * @var int[]
 
38
  */
39
  protected $acceptedLevels;
40
  /**
@@ -44,12 +51,15 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
44
  */
45
  protected $bubble;
46
  /**
47
- * @psalm-param HandlerInterface|callable(?array, HandlerInterface): HandlerInterface $handler
48
  *
49
  * @param callable|HandlerInterface $handler Handler or factory callable($record|null, $filterHandler).
50
  * @param int|array $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
51
  * @param int|string $maxLevel Maximum level to accept, only used if $minLevelOrList is not an array
52
  * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
 
 
 
53
  */
54
  public function __construct($handler, $minLevelOrList = \GFPDF_Vendor\Monolog\Logger::DEBUG, $maxLevel = \GFPDF_Vendor\Monolog\Logger::EMERGENCY, bool $bubble = \true)
55
  {
@@ -60,6 +70,9 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
60
  throw new \RuntimeException("The given handler (" . \json_encode($this->handler) . ") is not a callable nor a Monolog\\Handler\\HandlerInterface object");
61
  }
62
  }
 
 
 
63
  public function getAcceptedLevels() : array
64
  {
65
  return \array_flip($this->acceptedLevels);
@@ -67,6 +80,9 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
67
  /**
68
  * @param int|string|array $minLevelOrList A list of levels to accept or a minimum level or level name if maxLevel is provided
69
  * @param int|string $maxLevel Maximum level or level name to accept, only used if $minLevelOrList is not an array
 
 
 
70
  */
71
  public function setAcceptedLevels($minLevelOrList = \GFPDF_Vendor\Monolog\Logger::DEBUG, $maxLevel = \GFPDF_Vendor\Monolog\Logger::EMERGENCY) : self
72
  {
@@ -83,14 +99,14 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
83
  return $this;
84
  }
85
  /**
86
- * {@inheritdoc}
87
  */
88
  public function isHandling(array $record) : bool
89
  {
90
  return isset($this->acceptedLevels[$record['level']]);
91
  }
92
  /**
93
- * {@inheritdoc}
94
  */
95
  public function handle(array $record) : bool
96
  {
@@ -98,13 +114,14 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
98
  return \false;
99
  }
100
  if ($this->processors) {
 
101
  $record = $this->processRecord($record);
102
  }
103
  $this->getHandler($record)->handle($record);
104
  return \false === $this->bubble;
105
  }
106
  /**
107
- * {@inheritdoc}
108
  */
109
  public function handleBatch(array $records) : void
110
  {
@@ -124,6 +141,8 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
124
  * If the handler was provided as a factory callable, this will trigger the handler's instantiation.
125
  *
126
  * @return HandlerInterface
 
 
127
  */
128
  public function getHandler(array $record = null)
129
  {
@@ -136,7 +155,7 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
136
  return $this->handler;
137
  }
138
  /**
139
- * {@inheritdoc}
140
  */
141
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
142
  {
@@ -148,7 +167,7 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
148
  throw new \UnexpectedValueException('The nested handler of type ' . \get_class($handler) . ' does not support formatters.');
149
  }
150
  /**
151
- * {@inheritdoc}
152
  */
153
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
154
  {
@@ -161,5 +180,8 @@ class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GF
161
  public function reset()
162
  {
163
  $this->resetProcessors();
 
 
 
164
  }
165
  }
14
  use GFPDF_Vendor\Monolog\Logger;
15
  use GFPDF_Vendor\Monolog\ResettableInterface;
16
  use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
17
+ use Psr\Log\LogLevel;
18
  /**
19
  * Simple handler wrapper that filters records based on a list of levels
20
  *
22
  *
23
  * @author Hennadiy Verkh
24
  * @author Jordi Boggiano <j.boggiano@seld.be>
25
+ *
26
+ * @phpstan-import-type Record from \Monolog\Logger
27
+ * @phpstan-import-type Level from \Monolog\Logger
28
+ * @phpstan-import-type LevelName from \Monolog\Logger
29
  */
30
  class FilterHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\ResettableInterface, \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface
31
  {
33
  /**
34
  * Handler or factory callable($record, $this)
35
  *
36
+ * @var callable|HandlerInterface
37
+ * @phpstan-var callable(?Record, HandlerInterface): HandlerInterface|HandlerInterface
38
  */
39
  protected $handler;
40
  /**
41
  * Minimum level for logs that are passed to handler
42
  *
43
  * @var int[]
44
+ * @phpstan-var array<Level, int>
45
  */
46
  protected $acceptedLevels;
47
  /**
51
  */
52
  protected $bubble;
53
  /**
54
+ * @psalm-param HandlerInterface|callable(?Record, HandlerInterface): HandlerInterface $handler
55
  *
56
  * @param callable|HandlerInterface $handler Handler or factory callable($record|null, $filterHandler).
57
  * @param int|array $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
58
  * @param int|string $maxLevel Maximum level to accept, only used if $minLevelOrList is not an array
59
  * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
60
+ *
61
+ * @phpstan-param Level|LevelName|LogLevel::*|array<Level|LevelName|LogLevel::*> $minLevelOrList
62
+ * @phpstan-param Level|LevelName|LogLevel::* $maxLevel
63
  */
64
  public function __construct($handler, $minLevelOrList = \GFPDF_Vendor\Monolog\Logger::DEBUG, $maxLevel = \GFPDF_Vendor\Monolog\Logger::EMERGENCY, bool $bubble = \true)
65
  {
70
  throw new \RuntimeException("The given handler (" . \json_encode($this->handler) . ") is not a callable nor a Monolog\\Handler\\HandlerInterface object");
71
  }
72
  }
73
+ /**
74
+ * @phpstan-return array<int, Level>
75
+ */
76
  public function getAcceptedLevels() : array
77
  {
78
  return \array_flip($this->acceptedLevels);
80
  /**
81
  * @param int|string|array $minLevelOrList A list of levels to accept or a minimum level or level name if maxLevel is provided
82
  * @param int|string $maxLevel Maximum level or level name to accept, only used if $minLevelOrList is not an array
83
+ *
84
+ * @phpstan-param Level|LevelName|LogLevel::*|array<Level|LevelName|LogLevel::*> $minLevelOrList
85
+ * @phpstan-param Level|LevelName|LogLevel::* $maxLevel
86
  */
87
  public function setAcceptedLevels($minLevelOrList = \GFPDF_Vendor\Monolog\Logger::DEBUG, $maxLevel = \GFPDF_Vendor\Monolog\Logger::EMERGENCY) : self
88
  {
99
  return $this;
100
  }
101
  /**
102
+ * {@inheritDoc}
103
  */
104
  public function isHandling(array $record) : bool
105
  {
106
  return isset($this->acceptedLevels[$record['level']]);
107
  }
108
  /**
109
+ * {@inheritDoc}
110
  */
111
  public function handle(array $record) : bool
112
  {
114
  return \false;
115
  }
116
  if ($this->processors) {
117
+ /** @var Record $record */
118
  $record = $this->processRecord($record);
119
  }
120
  $this->getHandler($record)->handle($record);
121
  return \false === $this->bubble;
122
  }
123
  /**
124
+ * {@inheritDoc}
125
  */
126
  public function handleBatch(array $records) : void
127
  {
141
  * If the handler was provided as a factory callable, this will trigger the handler's instantiation.
142
  *
143
  * @return HandlerInterface
144
+ *
145
+ * @phpstan-param Record $record
146
  */
147
  public function getHandler(array $record = null)
148
  {
155
  return $this->handler;
156
  }
157
  /**
158
+ * {@inheritDoc}
159
  */
160
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
161
  {
167
  throw new \UnexpectedValueException('The nested handler of type ' . \get_class($handler) . ' does not support formatters.');
168
  }
169
  /**
170
+ * {@inheritDoc}
171
  */
172
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
173
  {
180
  public function reset()
181
  {
182
  $this->resetProcessors();
183
+ if ($this->getHandler() instanceof \GFPDF_Vendor\Monolog\ResettableInterface) {
184
+ $this->getHandler()->reset();
185
+ }
186
  }
187
  }
vendor_prefixed/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php CHANGED
@@ -15,11 +15,15 @@ namespace GFPDF_Vendor\Monolog\Handler\FingersCrossed;
15
  * Interface for activation strategies for the FingersCrossedHandler.
16
  *
17
  * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 
 
18
  */
19
  interface ActivationStrategyInterface
20
  {
21
  /**
22
  * Returns whether the given record activates the handler.
 
 
23
  */
24
  public function isHandlerActivated(array $record) : bool;
25
  }
15
  * Interface for activation strategies for the FingersCrossedHandler.
16
  *
17
  * @author Johannes M. Schmitt <schmittjoh@gmail.com>
18
+ *
19
+ * @phpstan-import-type Record from \Monolog\Logger
20
  */
21
  interface ActivationStrategyInterface
22
  {
23
  /**
24
  * Returns whether the given record activates the handler.
25
+ *
26
+ * @phpstan-param Record $record
27
  */
28
  public function isHandlerActivated(array $record) : bool;
29
  }
vendor_prefixed/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php CHANGED
@@ -12,6 +12,7 @@ declare (strict_types=1);
12
  namespace GFPDF_Vendor\Monolog\Handler\FingersCrossed;
13
 
14
  use GFPDF_Vendor\Monolog\Logger;
 
15
  /**
16
  * Channel and Error level based monolog activation strategy. Allows to trigger activation
17
  * based on level per channel. e.g. trigger activation on level 'ERROR' by default, except
@@ -31,26 +32,36 @@ use GFPDF_Vendor\Monolog\Logger;
31
  * </code>
32
  *
33
  * @author Mike Meessen <netmikey@gmail.com>
 
 
 
 
34
  */
35
  class ChannelLevelActivationStrategy implements \GFPDF_Vendor\Monolog\Handler\FingersCrossed\ActivationStrategyInterface
36
  {
37
  /**
38
- * @var int
39
  */
40
  private $defaultActionLevel;
41
  /**
42
- * @var array
43
  */
44
  private $channelToActionLevel;
45
  /**
46
- * @param int|string $defaultActionLevel The default action level to be used if the record's category doesn't match any
47
- * @param array $channelToActionLevel An array that maps channel names to action levels.
 
 
 
48
  */
49
  public function __construct($defaultActionLevel, array $channelToActionLevel = [])
50
  {
51
  $this->defaultActionLevel = \GFPDF_Vendor\Monolog\Logger::toMonologLevel($defaultActionLevel);
52
  $this->channelToActionLevel = \array_map('Monolog\\Logger::toMonologLevel', $channelToActionLevel);
53
  }
 
 
 
54
  public function isHandlerActivated(array $record) : bool
55
  {
56
  if (isset($this->channelToActionLevel[$record['channel']])) {
12
  namespace GFPDF_Vendor\Monolog\Handler\FingersCrossed;
13
 
14
  use GFPDF_Vendor\Monolog\Logger;
15
+ use Psr\Log\LogLevel;
16
  /**
17
  * Channel and Error level based monolog activation strategy. Allows to trigger activation
18
  * based on level per channel. e.g. trigger activation on level 'ERROR' by default, except
32
  * </code>
33
  *
34
  * @author Mike Meessen <netmikey@gmail.com>
35
+ *
36
+ * @phpstan-import-type Record from \Monolog\Logger
37
+ * @phpstan-import-type Level from \Monolog\Logger
38
+ * @phpstan-import-type LevelName from \Monolog\Logger
39
  */
40
  class ChannelLevelActivationStrategy implements \GFPDF_Vendor\Monolog\Handler\FingersCrossed\ActivationStrategyInterface
41
  {
42
  /**
43
+ * @var Level
44
  */
45
  private $defaultActionLevel;
46
  /**
47
+ * @var array<string, Level>
48
  */
49
  private $channelToActionLevel;
50
  /**
51
+ * @param int|string $defaultActionLevel The default action level to be used if the record's category doesn't match any
52
+ * @param array<string, int> $channelToActionLevel An array that maps channel names to action levels.
53
+ *
54
+ * @phpstan-param array<string, Level> $channelToActionLevel
55
+ * @phpstan-param Level|LevelName|LogLevel::* $defaultActionLevel
56
  */
57
  public function __construct($defaultActionLevel, array $channelToActionLevel = [])
58
  {
59
  $this->defaultActionLevel = \GFPDF_Vendor\Monolog\Logger::toMonologLevel($defaultActionLevel);
60
  $this->channelToActionLevel = \array_map('Monolog\\Logger::toMonologLevel', $channelToActionLevel);
61
  }
62
+ /**
63
+ * @phpstan-param Record $record
64
+ */
65
  public function isHandlerActivated(array $record) : bool
66
  {
67
  if (isset($this->channelToActionLevel[$record['channel']])) {
vendor_prefixed/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php CHANGED
@@ -12,19 +12,25 @@ declare (strict_types=1);
12
  namespace GFPDF_Vendor\Monolog\Handler\FingersCrossed;
13
 
14
  use GFPDF_Vendor\Monolog\Logger;
 
15
  /**
16
  * Error level based activation strategy.
17
  *
18
  * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 
 
 
19
  */
20
  class ErrorLevelActivationStrategy implements \GFPDF_Vendor\Monolog\Handler\FingersCrossed\ActivationStrategyInterface
21
  {
22
  /**
23
- * @var int
24
  */
25
  private $actionLevel;
26
  /**
27
  * @param int|string $actionLevel Level or name or value
 
 
28
  */
29
  public function __construct($actionLevel)
30
  {
12
  namespace GFPDF_Vendor\Monolog\Handler\FingersCrossed;
13
 
14
  use GFPDF_Vendor\Monolog\Logger;
15
+ use Psr\Log\LogLevel;
16
  /**
17
  * Error level based activation strategy.
18
  *
19
  * @author Johannes M. Schmitt <schmittjoh@gmail.com>
20
+ *
21
+ * @phpstan-import-type Level from \Monolog\Logger
22
+ * @phpstan-import-type LevelName from \Monolog\Logger
23
  */
24
  class ErrorLevelActivationStrategy implements \GFPDF_Vendor\Monolog\Handler\FingersCrossed\ActivationStrategyInterface
25
  {
26
  /**
27
+ * @var Level
28
  */
29
  private $actionLevel;
30
  /**
31
  * @param int|string $actionLevel Level or name or value
32
+ *
33
+ * @phpstan-param Level|LevelName|LogLevel::* $actionLevel
34
  */
35
  public function __construct($actionLevel)
36
  {
vendor_prefixed/monolog/src/Monolog/Handler/FingersCrossedHandler.php CHANGED
@@ -16,6 +16,7 @@ use GFPDF_Vendor\Monolog\Handler\FingersCrossed\ActivationStrategyInterface;
16
  use GFPDF_Vendor\Monolog\Logger;
17
  use GFPDF_Vendor\Monolog\ResettableInterface;
18
  use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
 
19
  /**
20
  * Buffers all records until a certain level is reached
21
  *
@@ -31,21 +32,38 @@ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
31
  * Monolog\Handler\FingersCrossed\ namespace.
32
  *
33
  * @author Jordi Boggiano <j.boggiano@seld.be>
 
 
 
 
34
  */
35
  class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\ResettableInterface, \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface
36
  {
37
  use ProcessableHandlerTrait;
38
- /** @var HandlerInterface */
 
 
 
39
  protected $handler;
 
40
  protected $activationStrategy;
 
41
  protected $buffering = \true;
 
42
  protected $bufferSize;
 
43
  protected $buffer = [];
 
44
  protected $stopBuffering;
 
 
 
 
45
  protected $passthruLevel;
 
46
  protected $bubble;
47
  /**
48
- * @psalm-param HandlerInterface|callable(?array, FingersCrossedHandler): HandlerInterface $handler
49
  *
50
  * @param callable|HandlerInterface $handler Handler or factory callable($record|null, $fingersCrossedHandler).
51
  * @param int|string|ActivationStrategyInterface $activationStrategy Strategy which determines when this handler takes action, or a level name/value at which the handler is activated
@@ -53,6 +71,9 @@ class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implem
53
  * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
54
  * @param bool $stopBuffering Whether the handler should stop buffering after being triggered (default true)
55
  * @param int|string $passthruLevel Minimum level to always flush to handler on close, even if strategy not triggered
 
 
 
56
  */
57
  public function __construct($handler, $activationStrategy = null, int $bufferSize = 0, bool $bubble = \true, bool $stopBuffering = \true, $passthruLevel = null)
58
  {
@@ -76,7 +97,7 @@ class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implem
76
  }
77
  }
78
  /**
79
- * {@inheritdoc}
80
  */
81
  public function isHandling(array $record) : bool
82
  {
@@ -94,11 +115,12 @@ class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implem
94
  $this->buffer = [];
95
  }
96
  /**
97
- * {@inheritdoc}
98
  */
99
  public function handle(array $record) : bool
100
  {
101
  if ($this->processors) {
 
102
  $record = $this->processRecord($record);
103
  }
104
  if ($this->buffering) {
@@ -115,12 +137,12 @@ class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implem
115
  return \false === $this->bubble;
116
  }
117
  /**
118
- * {@inheritdoc}
119
  */
120
  public function close() : void
121
  {
122
  $this->flushBuffer();
123
- $this->handler->close();
124
  }
125
  public function reset()
126
  {
@@ -151,7 +173,7 @@ class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implem
151
  return $record['level'] >= $level;
152
  });
153
  if (\count($this->buffer) > 0) {
154
- $this->getHandler(\end($this->buffer) ?: null)->handleBatch($this->buffer);
155
  }
156
  }
157
  $this->buffer = [];
@@ -163,6 +185,8 @@ class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implem
163
  * If the handler was provided as a factory callable, this will trigger the handler's instantiation.
164
  *
165
  * @return HandlerInterface
 
 
166
  */
167
  public function getHandler(array $record = null)
168
  {
@@ -175,7 +199,7 @@ class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implem
175
  return $this->handler;
176
  }
177
  /**
178
- * {@inheritdoc}
179
  */
180
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
181
  {
@@ -187,7 +211,7 @@ class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implem
187
  throw new \UnexpectedValueException('The nested handler of type ' . \get_class($handler) . ' does not support formatters.');
188
  }
189
  /**
190
- * {@inheritdoc}
191
  */
192
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
193
  {
16
  use GFPDF_Vendor\Monolog\Logger;
17
  use GFPDF_Vendor\Monolog\ResettableInterface;
18
  use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
19
+ use Psr\Log\LogLevel;
20
  /**
21
  * Buffers all records until a certain level is reached
22
  *
32
  * Monolog\Handler\FingersCrossed\ namespace.
33
  *
34
  * @author Jordi Boggiano <j.boggiano@seld.be>
35
+ *
36
+ * @phpstan-import-type Record from \Monolog\Logger
37
+ * @phpstan-import-type Level from \Monolog\Logger
38
+ * @phpstan-import-type LevelName from \Monolog\Logger
39
  */
40
  class FingersCrossedHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\ResettableInterface, \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface
41
  {
42
  use ProcessableHandlerTrait;
43
+ /**
44
+ * @var callable|HandlerInterface
45
+ * @phpstan-var callable(?Record, HandlerInterface): HandlerInterface|HandlerInterface
46
+ */
47
  protected $handler;
48
+ /** @var ActivationStrategyInterface */
49
  protected $activationStrategy;
50
+ /** @var bool */
51
  protected $buffering = \true;
52
+ /** @var int */
53
  protected $bufferSize;
54
+ /** @var Record[] */
55
  protected $buffer = [];
56
+ /** @var bool */
57
  protected $stopBuffering;
58
+ /**
59
+ * @var ?int
60
+ * @phpstan-var ?Level
61
+ */
62
  protected $passthruLevel;
63
+ /** @var bool */
64
  protected $bubble;
65
  /**
66
+ * @psalm-param HandlerInterface|callable(?Record, HandlerInterface): HandlerInterface $handler
67
  *
68
  * @param callable|HandlerInterface $handler Handler or factory callable($record|null, $fingersCrossedHandler).
69
  * @param int|string|ActivationStrategyInterface $activationStrategy Strategy which determines when this handler takes action, or a level name/value at which the handler is activated
71
  * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
72
  * @param bool $stopBuffering Whether the handler should stop buffering after being triggered (default true)
73
  * @param int|string $passthruLevel Minimum level to always flush to handler on close, even if strategy not triggered
74
+ *
75
+ * @phpstan-param Level|LevelName|LogLevel::* $passthruLevel
76
+ * @phpstan-param Level|LevelName|LogLevel::*|ActivationStrategyInterface $activationStrategy
77
  */
78
  public function __construct($handler, $activationStrategy = null, int $bufferSize = 0, bool $bubble = \true, bool $stopBuffering = \true, $passthruLevel = null)
79
  {
97
  }
98
  }
99
  /**
100
+ * {@inheritDoc}
101
  */
102
  public function isHandling(array $record) : bool
103
  {
115
  $this->buffer = [];
116
  }
117
  /**
118
+ * {@inheritDoc}
119
  */
120
  public function handle(array $record) : bool
121
  {
122
  if ($this->processors) {
123
+ /** @var Record $record */
124
  $record = $this->processRecord($record);
125
  }
126
  if ($this->buffering) {
137
  return \false === $this->bubble;
138
  }
139
  /**
140
+ * {@inheritDoc}
141
  */
142
  public function close() : void
143
  {
144
  $this->flushBuffer();
145
+ $this->getHandler()->close();
146
  }
147
  public function reset()
148
  {
173
  return $record['level'] >= $level;
174
  });
175
  if (\count($this->buffer) > 0) {
176
+ $this->getHandler(\end($this->buffer))->handleBatch($this->buffer);
177
  }
178
  }
179
  $this->buffer = [];
185
  * If the handler was provided as a factory callable, this will trigger the handler's instantiation.
186
  *
187
  * @return HandlerInterface
188
+ *
189
+ * @phpstan-param Record $record
190
  */
191
  public function getHandler(array $record = null)
192
  {
199
  return $this->handler;
200
  }
201
  /**
202
+ * {@inheritDoc}
203
  */
204
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
205
  {
211
  throw new \UnexpectedValueException('The nested handler of type ' . \get_class($handler) . ' does not support formatters.');
212
  }
213
  /**
214
+ * {@inheritDoc}
215
  */
216
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
217
  {
vendor_prefixed/monolog/src/Monolog/Handler/FirePHPHandler.php CHANGED
@@ -17,6 +17,8 @@ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
17
  * Simple FirePHP Handler (http://www.firephp.org/), which uses the Wildfire protocol.
18
  *
19
  * @author Eric Clemmons (@ericclemmons) <eric@uxdriven.com>
 
 
20
  */
21
  class FirePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
22
  {
@@ -39,6 +41,7 @@ class FirePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHan
39
  protected const HEADER_PREFIX = 'X-Wf';
40
  /**
41
  * Whether or not Wildfire vendor-specific headers have been generated & sent yet
 
42
  */
43
  protected static $initialized = \false;
44
  /**
@@ -46,13 +49,17 @@ class FirePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHan
46
  * @var int
47
  */
48
  protected static $messageIndex = 1;
 
49
  protected static $sendHeaders = \true;
50
  /**
51
  * Base header creation function used by init headers & record headers
52
  *
53
- * @param array $meta Wildfire Plugin, Protocol & Structure Indexes
54
- * @param string $message Log message
55
- * @return array Complete header string ready for the client as key and message as value
 
 
 
56
  */
57
  protected function createHeader(array $meta, string $message) : array
58
  {
@@ -62,7 +69,13 @@ class FirePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHan
62
  /**
63
  * Creates message header from record
64
  *
 
 
 
 
65
  * @see createHeader()
 
 
66
  */
67
  protected function createRecordHeader(array $record) : array
68
  {
@@ -82,6 +95,8 @@ class FirePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHan
82
  *
83
  * @see createHeader()
84
  * @see sendHeader()
 
 
85
  */
86
  protected function getInitHeaders() : array
87
  {
@@ -102,7 +117,6 @@ class FirePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHan
102
  *
103
  * @see sendHeader()
104
  * @see sendInitHeaders()
105
- * @param array $record
106
  */
107
  protected function write(array $record) : void
108
  {
17
  * Simple FirePHP Handler (http://www.firephp.org/), which uses the Wildfire protocol.
18
  *
19
  * @author Eric Clemmons (@ericclemmons) <eric@uxdriven.com>
20
+ *
21
+ * @phpstan-import-type FormattedRecord from AbstractProcessingHandler
22
  */
23
  class FirePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
24
  {
41
  protected const HEADER_PREFIX = 'X-Wf';
42
  /**
43
  * Whether or not Wildfire vendor-specific headers have been generated & sent yet
44
+ * @var bool
45
  */
46
  protected static $initialized = \false;
47
  /**
49
  * @var int
50
  */
51
  protected static $messageIndex = 1;
52
+ /** @var bool */
53
  protected static $sendHeaders = \true;
54
  /**
55
  * Base header creation function used by init headers & record headers
56
  *
57
+ * @param array<int|string> $meta Wildfire Plugin, Protocol & Structure Indexes
58
+ * @param string $message Log message
59
+ *
60
+ * @return array<string, string> Complete header string ready for the client as key and message as value
61
+ *
62
+ * @phpstan-return non-empty-array<string, string>
63
  */
64
  protected function createHeader(array $meta, string $message) : array
65
  {
69
  /**
70
  * Creates message header from record
71
  *
72
+ * @return array<string, string>
73
+ *
74
+ * @phpstan-return non-empty-array<string, string>
75
+ *
76
  * @see createHeader()
77
+ *
78
+ * @phpstan-param FormattedRecord $record
79
  */
80
  protected function createRecordHeader(array $record) : array
81
  {
95
  *
96
  * @see createHeader()
97
  * @see sendHeader()
98
+ *
99
+ * @return array<string, string>
100
  */
101
  protected function getInitHeaders() : array
102
  {
117
  *
118
  * @see sendHeader()
119
  * @see sendInitHeaders()
 
120
  */
121
  protected function write(array $record) : void
122
  {
vendor_prefixed/monolog/src/Monolog/Handler/FleepHookHandler.php CHANGED
@@ -21,6 +21,8 @@ use GFPDF_Vendor\Monolog\Logger;
21
  *
22
  * @see https://fleep.io/integrations/webhooks/ Fleep Webhooks Documentation
23
  * @author Ando Roots <ando@sqroot.eu>
 
 
24
  */
25
  class FleepHookHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
26
  {
@@ -37,8 +39,6 @@ class FleepHookHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
37
  * see https://fleep.io/integrations/webhooks/
38
  *
39
  * @param string $token Webhook token
40
- * @param string|int $level The minimum logging level at which this handler will be triggered
41
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
42
  * @throws MissingExtensionException
43
  */
44
  public function __construct(string $token, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
@@ -70,7 +70,7 @@ class FleepHookHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
70
  $this->closeSocket();
71
  }
72
  /**
73
- * {@inheritdoc}
74
  */
75
  protected function generateDataStream(array $record) : string
76
  {
@@ -91,6 +91,8 @@ class FleepHookHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
91
  }
92
  /**
93
  * Builds the body of API call
 
 
94
  */
95
  private function buildContent(array $record) : string
96
  {
21
  *
22
  * @see https://fleep.io/integrations/webhooks/ Fleep Webhooks Documentation
23
  * @author Ando Roots <ando@sqroot.eu>
24
+ *
25
+ * @phpstan-import-type FormattedRecord from AbstractProcessingHandler
26
  */
27
  class FleepHookHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
28
  {
39
  * see https://fleep.io/integrations/webhooks/
40
  *
41
  * @param string $token Webhook token
 
 
42
  * @throws MissingExtensionException
43
  */
44
  public function __construct(string $token, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
70
  $this->closeSocket();
71
  }
72
  /**
73
+ * {@inheritDoc}
74
  */
75
  protected function generateDataStream(array $record) : string
76
  {
91
  }
92
  /**
93
  * Builds the body of API call
94
+ *
95
+ * @phpstan-param FormattedRecord $record
96
  */
97
  private function buildContent(array $record) : string
98
  {
vendor_prefixed/monolog/src/Monolog/Handler/FlowdockHandler.php CHANGED
@@ -25,6 +25,8 @@ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
25
  *
26
  * @author Dominik Liebler <liebler.dominik@gmail.com>
27
  * @see https://www.flowdock.com/api/push
 
 
28
  */
29
  class FlowdockHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
30
  {
@@ -33,9 +35,6 @@ class FlowdockHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
33
  */
34
  protected $apiToken;
35
  /**
36
- * @param string|int $level The minimum logging level at which this handler will be triggered
37
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
38
- *
39
  * @throws MissingExtensionException if OpenSSL is missing
40
  */
41
  public function __construct(string $apiToken, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
@@ -47,7 +46,7 @@ class FlowdockHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
47
  $this->apiToken = $apiToken;
48
  }
49
  /**
50
- * {@inheritdoc}
51
  */
52
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
53
  {
@@ -64,9 +63,7 @@ class FlowdockHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
64
  throw new \InvalidArgumentException('The FlowdockHandler must be configured (via setFormatter) with an instance of Monolog\\Formatter\\FlowdockFormatter to function correctly');
65
  }
66
  /**
67
- * {@inheritdoc}
68
- *
69
- * @param array $record
70
  */
71
  protected function write(array $record) : void
72
  {
@@ -74,7 +71,7 @@ class FlowdockHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
74
  $this->closeSocket();
75
  }
76
  /**
77
- * {@inheritdoc}
78
  */
79
  protected function generateDataStream(array $record) : string
80
  {
@@ -83,6 +80,8 @@ class FlowdockHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
83
  }
84
  /**
85
  * Builds the body of API call
 
 
86
  */
87
  private function buildContent(array $record) : string
88
  {
25
  *
26
  * @author Dominik Liebler <liebler.dominik@gmail.com>
27
  * @see https://www.flowdock.com/api/push
28
+ *
29
+ * @phpstan-import-type FormattedRecord from AbstractProcessingHandler
30
  */
31
  class FlowdockHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
32
  {
35
  */
36
  protected $apiToken;
37
  /**
 
 
 
38
  * @throws MissingExtensionException if OpenSSL is missing
39
  */
40
  public function __construct(string $apiToken, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
46
  $this->apiToken = $apiToken;
47
  }
48
  /**
49
+ * {@inheritDoc}
50
  */
51
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
52
  {
63
  throw new \InvalidArgumentException('The FlowdockHandler must be configured (via setFormatter) with an instance of Monolog\\Formatter\\FlowdockFormatter to function correctly');
64
  }
65
  /**
66
+ * {@inheritDoc}
 
 
67
  */
68
  protected function write(array $record) : void
69
  {
71
  $this->closeSocket();
72
  }
73
  /**
74
+ * {@inheritDoc}
75
  */
76
  protected function generateDataStream(array $record) : string
77
  {
80
  }
81
  /**
82
  * Builds the body of API call
83
+ *
84
+ * @phpstan-param FormattedRecord $record
85
  */
86
  private function buildContent(array $record) : string
87
  {
vendor_prefixed/monolog/src/Monolog/Handler/FormattableHandlerTrait.php CHANGED
@@ -25,7 +25,7 @@ trait FormattableHandlerTrait
25
  */
26
  protected $formatter;
27
  /**
28
- * {@inheritdoc}
29
  */
30
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
31
  {
@@ -33,7 +33,7 @@ trait FormattableHandlerTrait
33
  return $this;
34
  }
35
  /**
36
- * {@inheritdoc}
37
  */
38
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
39
  {
25
  */
26
  protected $formatter;
27
  /**
28
+ * {@inheritDoc}
29
  */
30
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
31
  {
33
  return $this;
34
  }
35
  /**
36
+ * {@inheritDoc}
37
  */
38
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
39
  {
vendor_prefixed/monolog/src/Monolog/Handler/GelfHandler.php CHANGED
@@ -24,13 +24,11 @@ use GFPDF_Vendor\Monolog\Formatter\FormatterInterface;
24
  class GelfHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
25
  {
26
  /**
27
- * @var PublisherInterface|null the publisher object that sends the message to the server
28
  */
29
  protected $publisher;
30
  /**
31
- * @param PublisherInterface $publisher a publisher object
32
- * @param string|int $level The minimum logging level at which this handler will be triggered
33
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
34
  */
35
  public function __construct(\GFPDF_Vendor\Gelf\PublisherInterface $publisher, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
36
  {
@@ -38,7 +36,7 @@ class GelfHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
38
  $this->publisher = $publisher;
39
  }
40
  /**
41
- * {@inheritdoc}
42
  */
43
  protected function write(array $record) : void
44
  {
24
  class GelfHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
25
  {
26
  /**
27
+ * @var PublisherInterface the publisher object that sends the message to the server
28
  */
29
  protected $publisher;
30
  /**
31
+ * @param PublisherInterface $publisher a gelf publisher object
 
 
32
  */
33
  public function __construct(\GFPDF_Vendor\Gelf\PublisherInterface $publisher, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
34
  {
36
  $this->publisher = $publisher;
37
  }
38
  /**
39
+ * {@inheritDoc}
40
  */
41
  protected function write(array $record) : void
42
  {
vendor_prefixed/monolog/src/Monolog/Handler/GroupHandler.php CHANGED
@@ -17,12 +17,15 @@ use GFPDF_Vendor\Monolog\ResettableInterface;
17
  * Forwards records to multiple handlers
18
  *
19
  * @author Lenar Lõhmus <lenar@city.ee>
 
 
20
  */
21
  class GroupHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\ResettableInterface
22
  {
23
  use ProcessableHandlerTrait;
24
  /** @var HandlerInterface[] */
25
  protected $handlers;
 
26
  protected $bubble;
27
  /**
28
  * @param HandlerInterface[] $handlers Array of Handlers.
@@ -39,7 +42,7 @@ class GroupHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFP
39
  $this->bubble = $bubble;
40
  }
41
  /**
42
- * {@inheritdoc}
43
  */
44
  public function isHandling(array $record) : bool
45
  {
@@ -51,11 +54,12 @@ class GroupHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFP
51
  return \false;
52
  }
53
  /**
54
- * {@inheritdoc}
55
  */
56
  public function handle(array $record) : bool
57
  {
58
  if ($this->processors) {
 
59
  $record = $this->processRecord($record);
60
  }
61
  foreach ($this->handlers as $handler) {
@@ -64,7 +68,7 @@ class GroupHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFP
64
  return \false === $this->bubble;
65
  }
66
  /**
67
- * {@inheritdoc}
68
  */
69
  public function handleBatch(array $records) : void
70
  {
@@ -73,6 +77,7 @@ class GroupHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFP
73
  foreach ($records as $record) {
74
  $processed[] = $this->processRecord($record);
75
  }
 
76
  $records = $processed;
77
  }
78
  foreach ($this->handlers as $handler) {
@@ -96,7 +101,7 @@ class GroupHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFP
96
  }
97
  }
98
  /**
99
- * {@inheritdoc}
100
  */
101
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
102
  {
17
  * Forwards records to multiple handlers
18
  *
19
  * @author Lenar Lõhmus <lenar@city.ee>
20
+ *
21
+ * @phpstan-import-type Record from \Monolog\Logger
22
  */
23
  class GroupHandler extends \GFPDF_Vendor\Monolog\Handler\Handler implements \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface, \GFPDF_Vendor\Monolog\ResettableInterface
24
  {
25
  use ProcessableHandlerTrait;
26
  /** @var HandlerInterface[] */
27
  protected $handlers;
28
+ /** @var bool */
29
  protected $bubble;
30
  /**
31
  * @param HandlerInterface[] $handlers Array of Handlers.
42
  $this->bubble = $bubble;
43
  }
44
  /**
45
+ * {@inheritDoc}
46
  */
47
  public function isHandling(array $record) : bool
48
  {
54
  return \false;
55
  }
56
  /**
57
+ * {@inheritDoc}
58
  */
59
  public function handle(array $record) : bool
60
  {
61
  if ($this->processors) {
62
+ /** @var Record $record */
63
  $record = $this->processRecord($record);
64
  }
65
  foreach ($this->handlers as $handler) {
68
  return \false === $this->bubble;
69
  }
70
  /**
71
+ * {@inheritDoc}
72
  */
73
  public function handleBatch(array $records) : void
74
  {
77
  foreach ($records as $record) {
78
  $processed[] = $this->processRecord($record);
79
  }
80
+ /** @var Record[] $records */
81
  $records = $processed;
82
  }
83
  foreach ($this->handlers as $handler) {
101
  }
102
  }
103
  /**
104
+ * {@inheritDoc}
105
  */
106
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
107
  {
vendor_prefixed/monolog/src/Monolog/Handler/Handler.php CHANGED
@@ -19,7 +19,7 @@ namespace GFPDF_Vendor\Monolog\Handler;
19
  abstract class Handler implements \GFPDF_Vendor\Monolog\Handler\HandlerInterface
20
  {
21
  /**
22
- * {@inheritdoc}
23
  */
24
  public function handleBatch(array $records) : void
25
  {
@@ -28,7 +28,7 @@ abstract class Handler implements \GFPDF_Vendor\Monolog\Handler\HandlerInterface
28
  }
29
  }
30
  /**
31
- * {@inheritdoc}
32
  */
33
  public function close() : void
34
  {
19
  abstract class Handler implements \GFPDF_Vendor\Monolog\Handler\HandlerInterface
20
  {
21
  /**
22
+ * {@inheritDoc}
23
  */
24
  public function handleBatch(array $records) : void
25
  {
28
  }
29
  }
30
  /**
31
+ * {@inheritDoc}
32
  */
33
  public function close() : void
34
  {
vendor_prefixed/monolog/src/Monolog/Handler/HandlerInterface.php CHANGED
@@ -15,6 +15,9 @@ namespace GFPDF_Vendor\Monolog\Handler;
15
  * Interface that all Monolog Handlers must implement
16
  *
17
  * @author Jordi Boggiano <j.boggiano@seld.be>
 
 
 
18
  */
19
  interface HandlerInterface
20
  {
@@ -30,6 +33,8 @@ interface HandlerInterface
30
  * @param array $record Partial log record containing only a level key
31
  *
32
  * @return bool
 
 
33
  */
34
  public function isHandling(array $record) : bool;
35
  /**
@@ -45,12 +50,16 @@ interface HandlerInterface
45
  * @param array $record The record to handle
46
  * @return bool true means that this handler handled the record, and that bubbling is not permitted.
47
  * false means the record was either not processed or that this handler allows bubbling.
 
 
48
  */
49
  public function handle(array $record) : bool;
50
  /**
51
  * Handles a set of records at once.
52
  *
53
  * @param array $records The records to handle (an array of record arrays)
 
 
54
  */
55
  public function handleBatch(array $records) : void;
56
  /**
15
  * Interface that all Monolog Handlers must implement
16
  *
17
  * @author Jordi Boggiano <j.boggiano@seld.be>
18
+ *
19
+ * @phpstan-import-type Record from \Monolog\Logger
20
+ * @phpstan-import-type Level from \Monolog\Logger
21
  */
22
  interface HandlerInterface
23
  {
33
  * @param array $record Partial log record containing only a level key
34
  *
35
  * @return bool
36
+ *
37
+ * @phpstan-param array{level: Level} $record
38
  */
39
  public function isHandling(array $record) : bool;
40
  /**
50
  * @param array $record The record to handle
51
  * @return bool true means that this handler handled the record, and that bubbling is not permitted.
52
  * false means the record was either not processed or that this handler allows bubbling.
53
+ *
54
+ * @phpstan-param Record $record
55
  */
56
  public function handle(array $record) : bool;
57
  /**
58
  * Handles a set of records at once.
59
  *
60
  * @param array $records The records to handle (an array of record arrays)
61
+ *
62
+ * @phpstan-param Record[] $records
63
  */
64
  public function handleBatch(array $records) : void;
65
  /**
vendor_prefixed/monolog/src/Monolog/Handler/HandlerWrapper.php CHANGED
@@ -41,35 +41,35 @@ class HandlerWrapper implements \GFPDF_Vendor\Monolog\Handler\HandlerInterface,
41
  $this->handler = $handler;
42
  }
43
  /**
44
- * {@inheritdoc}
45
  */
46
  public function isHandling(array $record) : bool
47
  {
48
  return $this->handler->isHandling($record);
49
  }
50
  /**
51
- * {@inheritdoc}
52
  */
53
  public function handle(array $record) : bool
54
  {
55
  return $this->handler->handle($record);
56
  }
57
  /**
58
- * {@inheritdoc}
59
  */
60
  public function handleBatch(array $records) : void
61
  {
62
  $this->handler->handleBatch($records);
63
  }
64
  /**
65
- * {@inheritdoc}
66
  */
67
  public function close() : void
68
  {
69
  $this->handler->close();
70
  }
71
  /**
72
- * {@inheritdoc}
73
  */
74
  public function pushProcessor(callable $callback) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
75
  {
@@ -80,7 +80,7 @@ class HandlerWrapper implements \GFPDF_Vendor\Monolog\Handler\HandlerInterface,
80
  throw new \LogicException('The wrapped handler does not implement ' . \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface::class);
81
  }
82
  /**
83
- * {@inheritdoc}
84
  */
85
  public function popProcessor() : callable
86
  {
@@ -90,7 +90,7 @@ class HandlerWrapper implements \GFPDF_Vendor\Monolog\Handler\HandlerInterface,
90
  throw new \LogicException('The wrapped handler does not implement ' . \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface::class);
91
  }
92
  /**
93
- * {@inheritdoc}
94
  */
95
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
96
  {
@@ -101,7 +101,7 @@ class HandlerWrapper implements \GFPDF_Vendor\Monolog\Handler\HandlerInterface,
101
  throw new \LogicException('The wrapped handler does not implement ' . \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface::class);
102
  }
103
  /**
104
- * {@inheritdoc}
105
  */
106
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
107
  {
41
  $this->handler = $handler;
42
  }
43
  /**
44
+ * {@inheritDoc}
45
  */
46
  public function isHandling(array $record) : bool
47
  {
48
  return $this->handler->isHandling($record);
49
  }
50
  /**
51
+ * {@inheritDoc}
52
  */
53
  public function handle(array $record) : bool
54
  {
55
  return $this->handler->handle($record);
56
  }
57
  /**
58
+ * {@inheritDoc}
59
  */
60
  public function handleBatch(array $records) : void
61
  {
62
  $this->handler->handleBatch($records);
63
  }
64
  /**
65
+ * {@inheritDoc}
66
  */
67
  public function close() : void
68
  {
69
  $this->handler->close();
70
  }
71
  /**
72
+ * {@inheritDoc}
73
  */
74
  public function pushProcessor(callable $callback) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
75
  {
80
  throw new \LogicException('The wrapped handler does not implement ' . \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface::class);
81
  }
82
  /**
83
+ * {@inheritDoc}
84
  */
85
  public function popProcessor() : callable
86
  {
90
  throw new \LogicException('The wrapped handler does not implement ' . \GFPDF_Vendor\Monolog\Handler\ProcessableHandlerInterface::class);
91
  }
92
  /**
93
+ * {@inheritDoc}
94
  */
95
  public function setFormatter(\GFPDF_Vendor\Monolog\Formatter\FormatterInterface $formatter) : \GFPDF_Vendor\Monolog\Handler\HandlerInterface
96
  {
101
  throw new \LogicException('The wrapped handler does not implement ' . \GFPDF_Vendor\Monolog\Handler\FormattableHandlerInterface::class);
102
  }
103
  /**
104
+ * {@inheritDoc}
105
  */
106
  public function getFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
107
  {
vendor_prefixed/monolog/src/Monolog/Handler/IFTTTHandler.php CHANGED
@@ -26,22 +26,25 @@ use GFPDF_Vendor\Monolog\Utils;
26
  */
27
  class IFTTTHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
28
  {
 
29
  private $eventName;
 
30
  private $secretKey;
31
  /**
32
- * @param string $eventName The name of the IFTTT Maker event that should be triggered
33
- * @param string $secretKey A valid IFTTT secret key
34
- * @param string|int $level The minimum logging level at which this handler will be triggered
35
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
36
  */
37
  public function __construct(string $eventName, string $secretKey, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true)
38
  {
 
 
 
39
  $this->eventName = $eventName;
40
  $this->secretKey = $secretKey;
41
  parent::__construct($level, $bubble);
42
  }
43
  /**
44
- * {@inheritdoc}
45
  */
46
  public function write(array $record) : void
47
  {
26
  */
27
  class IFTTTHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
28
  {
29
+ /** @var string */
30
  private $eventName;
31
+ /** @var string */
32
  private $secretKey;
33
  /**
34
+ * @param string $eventName The name of the IFTTT Maker event that should be triggered
35
+ * @param string $secretKey A valid IFTTT secret key
 
 
36
  */
37
  public function __construct(string $eventName, string $secretKey, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true)
38
  {
39
+ if (!\extension_loaded('curl')) {
40
+ throw new \GFPDF_Vendor\Monolog\Handler\MissingExtensionException('The curl extension is needed to use the IFTTTHandler');
41
+ }
42
  $this->eventName = $eventName;
43
  $this->secretKey = $secretKey;
44
  parent::__construct($level, $bubble);
45
  }
46
  /**
47
+ * {@inheritDoc}
48
  */
49
  public function write(array $record) : void
50
  {
vendor_prefixed/monolog/src/Monolog/Handler/InsightOpsHandler.php CHANGED
@@ -28,8 +28,6 @@ class InsightOpsHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
28
  * @param string $token Log token supplied by InsightOps
29
  * @param string $region Region where InsightOps account is hosted. Could be 'us' or 'eu'.
30
  * @param bool $useSSL Whether or not SSL encryption should be used
31
- * @param string|int $level The minimum logging level to trigger this handler
32
- * @param bool $bubble Whether or not messages that are handled should bubble up the stack.
33
  *
34
  * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing
35
  */
@@ -43,7 +41,7 @@ class InsightOpsHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
43
  $this->logToken = $token;
44
  }
45
  /**
46
- * {@inheritdoc}
47
  */
48
  protected function generateDataStream(array $record) : string
49
  {
28
  * @param string $token Log token supplied by InsightOps
29
  * @param string $region Region where InsightOps account is hosted. Could be 'us' or 'eu'.
30
  * @param bool $useSSL Whether or not SSL encryption should be used
 
 
31
  *
32
  * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing
33
  */
41
  $this->logToken = $token;
42
  }
43
  /**
44
+ * {@inheritDoc}
45
  */
46
  protected function generateDataStream(array $record) : string
47
  {
vendor_prefixed/monolog/src/Monolog/Handler/LogEntriesHandler.php CHANGED
@@ -24,8 +24,6 @@ class LogEntriesHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
24
  /**
25
  * @param string $token Log token supplied by LogEntries
26
  * @param bool $useSSL Whether or not SSL encryption should be used.
27
- * @param string|int $level The minimum logging level to trigger this handler
28
- * @param bool $bubble Whether or not messages that are handled should bubble up the stack.
29
  * @param string $host Custom hostname to send the data to if needed
30
  *
31
  * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing
@@ -40,7 +38,7 @@ class LogEntriesHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
40
  $this->logToken = $token;
41
  }
42
  /**
43
- * {@inheritdoc}
44
  */
45
  protected function generateDataStream(array $record) : string
46
  {
24
  /**
25
  * @param string $token Log token supplied by LogEntries
26
  * @param bool $useSSL Whether or not SSL encryption should be used.
 
 
27
  * @param string $host Custom hostname to send the data to if needed
28
  *
29
  * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing
38
  $this->logToken = $token;
39
  }
40
  /**
41
+ * {@inheritDoc}
42
  */
43
  protected function generateDataStream(array $record) : string
44
  {
vendor_prefixed/monolog/src/Monolog/Handler/LogglyHandler.php CHANGED
@@ -34,12 +34,12 @@ class LogglyHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHand
34
  * @var resource[]|CurlHandle[]
35
  */
36
  protected $curlHandlers = [];
 
37
  protected $token;
 
38
  protected $tag = [];
39
  /**
40
- * @param string $token API token supplied by Loggly
41
- * @param string|int $level The minimum logging level to trigger this handler
42
- * @param bool $bubble Whether or not messages that are handled should bubble up the stack.
43
  *
44
  * @throws MissingExtensionException If the curl extension is missing
45
  */
34
  * @var resource[]|CurlHandle[]
35
  */
36
  protected $curlHandlers = [];
37
+ /** @var string */
38
  protected $token;
39
+ /** @var string[] */
40
  protected $tag = [];
41
  /**
42
+ * @param string $token API token supplied by Loggly
 
 
43
  *
44
  * @throws MissingExtensionException If the curl extension is missing
45
  */
vendor_prefixed/monolog/src/Monolog/Handler/LogmaticHandler.php CHANGED
@@ -36,8 +36,6 @@ class LogmaticHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
36
  * @param string $hostname Host name supplied by Logmatic.
37
  * @param string $appname Application name supplied by Logmatic.
38
  * @param bool $useSSL Whether or not SSL encryption should be used.
39
- * @param int|string $level The minimum logging level to trigger this handler.
40
- * @param bool $bubble Whether or not messages that are handled should bubble up the stack.
41
  *
42
  * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing
43
  */
@@ -54,14 +52,14 @@ class LogmaticHandler extends \GFPDF_Vendor\Monolog\Handler\SocketHandler
54
  $this->appname = $appname;
55
  }
56
  /**
57
- * {@inheritdoc}
58
  */
59
  protected function generateDataStream(array $record) : string
60
  {
61
  return $this->logToken . ' ' . $record['formatted'];
62
  }
63
  /**
64
- * {@inheritdoc}
65
  */
66
  protected function getDefaultFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
67
  {
36
  * @param string $hostname Host name supplied by Logmatic.
37
  * @param string $appname Application name supplied by Logmatic.
38
  * @param bool $useSSL Whether or not SSL encryption should be used.
 
 
39
  *
40
  * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing
41
  */
52
  $this->appname = $appname;
53
  }
54
  /**
55
+ * {@inheritDoc}
56
  */
57
  protected function generateDataStream(array $record) : string
58
  {
59
  return $this->logToken . ' ' . $record['formatted'];
60
  }
61
  /**
62
+ * {@inheritDoc}
63
  */
64
  protected function getDefaultFormatter() : \GFPDF_Vendor\Monolog\Formatter\FormatterInterface
65
  {
vendor_prefixed/monolog/src/Monolog/Handler/MailHandler.php CHANGED
@@ -17,11 +17,13 @@ use GFPDF_Vendor\Monolog\Formatter\HtmlFormatter;
17
  * Base class for all mail handlers
18
  *
19
  * @author Gyula Sallai
 
 
20
  */
21
  abstract class MailHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
22
  {
23
  /**
24
- * {@inheritdoc}
25
  */
26
  public function handleBatch(array $records) : void
27
  {
@@ -30,7 +32,9 @@ abstract class MailHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
30
  if ($record['level'] < $this->level) {
31
  continue;
32
  }
33
- $messages[] = $this->processRecord($record);
 
 
34
  }
35
  if (!empty($messages)) {
36
  $this->send((string) $this->getFormatter()->formatBatch($messages), $messages);
@@ -41,15 +45,21 @@ abstract class MailHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
41
  *
42
  * @param string $content formatted email body to be sent
43
  * @param array $records the array of log records that formed this content
 
 
44
  */
45
  protected abstract function send(string $content, array $records) : void;
46
  /**
47
- * {@inheritdoc}
48
  */
49
  protected function write(array $record) : void
50
  {
51
  $this->send((string) $record['formatted'], [$record]);
52
  }
 
 
 
 
53
  protected function getHighestRecord(array $records) : array
54
  {
55
  $highestRecord = null;
@@ -62,7 +72,7 @@ abstract class MailHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcess
62
  }
63
  protected function isHtmlBody(string $body) : bool
64
  {
65
- return \substr($body, 0, 1) === '<';
66
  }
67
  /**
68
  * Gets the default formatter.
17
  * Base class for all mail handlers
18
  *
19
  * @author Gyula Sallai
20
+ *
21
+ * @phpstan-import-type Record from \Monolog\Logger
22
  */
23
  abstract class MailHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
24
  {
25
  /**
26
+ * {@inheritDoc}
27
  */
28
  public function handleBatch(array $records) : void
29
  {
32
  if ($record['level'] < $this->level) {
33
  continue;
34
  }
35
+ /** @var Record $message */
36
+ $message = $this->processRecord($record);
37
+ $messages[] = $message;
38
  }
39
  if (!empty($messages)) {
40
  $this->send((string) $this->getFormatter()->formatBatch($messages), $messages);
45
  *
46
  * @param string $content formatted email body to be sent
47
  * @param array $records the array of log records that formed this content
48
+ *
49
+ * @phpstan-param Record[] $records
50
  */
51
  protected abstract function send(string $content, array $records) : void;
52
  /**
53
+ * {@inheritDoc}
54
  */
55
  protected function write(array $record) : void
56
  {
57
  $this->send((string) $record['formatted'], [$record]);
58
  }
59
+ /**
60
+ * @phpstan-param non-empty-array<Record> $records
61
+ * @phpstan-return Record
62
+ */
63
  protected function getHighestRecord(array $records) : array
64
  {
65
  $highestRecord = null;
72
  }
73
  protected function isHtmlBody(string $body) : bool
74
  {
75
+ return ($body[0] ?? null) === '<';
76
  }
77
  /**
78
  * Gets the default formatter.
vendor_prefixed/monolog/src/Monolog/Handler/MandrillHandler.php CHANGED
@@ -30,8 +30,6 @@ class MandrillHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
30
  *
31
  * @param string $apiKey A valid Mandrill API key
32
  * @param callable|Swift_Message $message An example message for real messages, only the body will be replaced
33
- * @param string|int $level The minimum logging level at which this handler will be triggered
34
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
35
  */
36
  public function __construct(string $apiKey, $message, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true)
37
  {
@@ -46,7 +44,7 @@ class MandrillHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
46
  $this->apiKey = $apiKey;
47
  }
48
  /**
49
- * {@inheritdoc}
50
  */
51
  protected function send(string $content, array $records) : void
52
  {
30
  *
31
  * @param string $apiKey A valid Mandrill API key
32
  * @param callable|Swift_Message $message An example message for real messages, only the body will be replaced
 
 
33
  */
34
  public function __construct(string $apiKey, $message, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true)
35
  {
44
  $this->apiKey = $apiKey;
45
  }
46
  /**
47
+ * {@inheritDoc}
48
  */
49
  protected function send(string $content, array $records) : void
50
  {
vendor_prefixed/monolog/src/Monolog/Handler/MongoDBHandler.php CHANGED
@@ -32,8 +32,11 @@ use GFPDF_Vendor\Monolog\Formatter\MongoDBFormatter;
32
  */
33
  class MongoDBHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
34
  {
 
35
  private $collection;
 
36
  private $manager;
 
37
  private $namespace;
38
  /**
39
  * Constructor.
@@ -41,8 +44,6 @@ class MongoDBHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHan
41
  * @param Client|Manager $mongodb MongoDB library or driver client
42
  * @param string $database Database name
43
  * @param string $collection Collection name
44
- * @param string|int $level The minimum logging level at which this handler will be triggered
45
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
46
  */
47
  public function __construct($mongodb, string $database, string $collection, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
48
  {
32
  */
33
  class MongoDBHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
34
  {
35
+ /** @var \MongoDB\Collection */
36
  private $collection;
37
+ /** @var Client|Manager */
38
  private $manager;
39
+ /** @var string */
40
  private $namespace;
41
  /**
42
  * Constructor.
44
  * @param Client|Manager $mongodb MongoDB library or driver client
45
  * @param string $database Database name
46
  * @param string $collection Collection name
 
 
47
  */
48
  public function __construct($mongodb, string $database, string $collection, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
49
  {
vendor_prefixed/monolog/src/Monolog/Handler/NativeMailerHandler.php CHANGED
@@ -23,7 +23,7 @@ class NativeMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
23
  {
24
  /**
25
  * The email addresses to which the message will be sent
26
- * @var array
27
  */
28
  protected $to;
29
  /**
@@ -33,12 +33,12 @@ class NativeMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
33
  protected $subject;
34
  /**
35
  * Optional headers for the message
36
- * @var array
37
  */
38
  protected $headers = [];
39
  /**
40
  * Optional parameters for the message
41
- * @var array
42
  */
43
  protected $parameters = [];
44
  /**
@@ -57,12 +57,10 @@ class NativeMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
57
  */
58
  protected $encoding = 'utf-8';
59
  /**
60
- * @param string|array $to The receiver of the mail
61
- * @param string $subject The subject of the mail
62
- * @param string $from The sender of the mail
63
- * @param string|int $level The minimum logging level at which this handler will be triggered
64
- * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
65
- * @param int $maxColumnWidth The maximum column width that the message lines will have
66
  */
67
  public function __construct($to, string $subject, string $from, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true, int $maxColumnWidth = 70)
68
  {
@@ -75,7 +73,7 @@ class NativeMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
75
  /**
76
  * Add headers to the message
77
  *
78
- * @param string|array $headers Custom added headers
79
  */
80
  public function addHeader($headers) : self
81
  {
@@ -90,7 +88,7 @@ class NativeMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
90
  /**
91
  * Add parameters to the message
92
  *
93
- * @param string|array $parameters Custom added parameters
94
  */
95
  public function addParameter($parameters) : self
96
  {
@@ -98,7 +96,7 @@ class NativeMailerHandler extends \GFPDF_Vendor\Monolog\Handler\MailHandler
98
  return $this;
99
  }
100
  /**
101
- * {@inheritdoc}
102
  */
103
  protected function send(string $content, array $records) : void
104
  {
23
  {
24
  /**
25
  * The email addresses to which the message will be sent
26
+ * @var string[]
27
  */
28
  protected $to;
29
  /**
33
  protected $subject;
34
  /**
35
  * Optional headers for the message
36
+ * @var string[]
37
  */
38
  protected $headers = [];
39
  /**
40
  * Optional parameters for the message
41
+ * @var string[]
42
  */
43
  protected $parameters = [];
44
  /**
57
  */
58
  protected $encoding = 'utf-8';
59
  /**
60
+ * @param string|string[] $to The receiver of the mail
61
+ * @param string $subject The subject of the mail
62
+ * @param string $from The sender of the mail
63
+ * @param int $maxColumnWidth The maximum column width that the message lines will have
 
 
64
  */
65
  public function __construct($to, string $subject, string $from, $level = \GFPDF_Vendor\Monolog\Logger::ERROR, bool $bubble = \true, int $maxColumnWidth = 70)
66
  {
73
  /**
74
  * Add headers to the message
75
  *
76
+ * @param string|string[] $headers Custom added headers
77
  */
78
  public function addHeader($headers) : self
79
  {
88
  /**
89
  * Add parameters to the message
90
  *
91
+ * @param string|string[] $parameters Custom added parameters
92
  */
93
  public function addParameter($parameters) : self
94
  {
96
  return $this;
97
  }
98
  /**
99
+ * {@inheritDoc}
100
  */
101
  protected function send(string $content, array $records) : void
102
  {
vendor_prefixed/monolog/src/Monolog/Handler/NewRelicHandler.php CHANGED
@@ -29,13 +29,13 @@ class NewRelicHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHa
29
  /**
30
  * Name of the New Relic application that will receive logs from this handler.
31
  *
32
- * @var string|null
33
  */
34
  protected $appName;
35
  /**
36
  * Name of the current transaction
37
  *
38
- * @var string|null
29
  /**
30
  * Name of the New Relic application that will receive logs from this handler.
31
  *
32
+ * @var ?string
33
  */
34
  protected $appName;
35
  /**
36
  * Name of the current transaction
37
  *
38
+ * @var ?stri