Visual Composer Website Builder - Version 27.0

Version Description

Release Date - 2020-05-12

Free:

  • New: Visual Composer News widget introduced in the WP Admin Dashboard
  • Update: New and easier Visual Composer Hub activation
  • Update: Deactivation feedback popup has display limits
  • Update: Images from the templates are added to the Media Library once downloaded from Visual Composer Hub
  • Fix: Drag and drop works properly on iPads
  • Fix: Blank page with layout changes can be saved properly
  • Fix: Source CSS works properly after plugin update
  • Fix: Twitter Button works properly with Dynamic content
  • Fix: LocalJS works properly
  • Fix: Single Image caption works properly
  • Fix: Page Settings are not saved after refresh
  • Fix: Layout is displayed properly in the responsive view
  • Fix: Gutenberg element UI is displayed properly
  • Fix: Source CSS does not contain Global CSS
  • Fix: Dynamic fields work properly
  • Fix: Column resize works properly

Premium:

  • New: Element lock option to restrict non-Administrator roles to edit elements. Available in Role Manager add-on in Visual Composer Hub.
  • New: Visual Composer Hub add-on section redesigned for better UX
  • New: Advanced Design Options added to the Popup Builder root element (Popup Container)
  • New: Option to close the popup via Link Selector option
  • Update: Add-on download notification updated
  • Update: Popup Builder code optimized for performance
  • Fix: Gutenberg element has Visual Composer templates block
  • Fix: Header, Footer, Sidebar works properly with WPML
  • Fix: Visual Composer works properly in Woo Commerce Cart page
  • Fix: WordPress admin bar renders properly with custom header applied to the post/page
  • Fix: Global Template CSS and JS works properly
Download this release

Release Info

Developer visualcomposer
Plugin Icon wp plugin Visual Composer Website Builder
Version 27.0
Comparing to
See all releases

Code changes from version 26.0 to 27.0

Files changed (33) hide show
  1. cache/autoload.php +422 -422
  2. elements/basicButton/public/dist/element.bundle.js +1 -1
  3. elements/basicButton/public/dist/vendor.bundle.js.LICENSE +9 -0
  4. elements/column/public/dist/element.bundle.js +1 -1
  5. elements/column/public/dist/vendor.bundle.js.LICENSE +9 -0
  6. elements/googleFontsHeading/public/dist/element.bundle.js +1 -1
  7. elements/googleFontsHeading/public/dist/vendor.bundle.js.LICENSE +9 -0
  8. elements/outlineButton/public/dist/element.bundle.js +1 -1
  9. elements/outlineButton/public/dist/vendor.bundle.js.LICENSE +9 -0
  10. elements/row/public/dist/element.bundle.js +1 -1
  11. elements/row/public/dist/vendor.bundle.js.LICENSE +9 -0
  12. elements/separator/public/dist/element.bundle.js +1 -1
  13. elements/separator/public/dist/vendor.bundle.js.LICENSE +9 -0
  14. elements/shortcode/public/dist/element.bundle.js +1 -1
  15. elements/shortcode/public/dist/vendor.bundle.js.LICENSE +9 -0
  16. elements/singleImage/public/dist/element.bundle.js +1 -1
  17. elements/singleImage/public/dist/vendor.bundle.js.LICENSE +9 -0
  18. elements/textBlock/public/dist/element.bundle.js +1 -1
  19. elements/textBlock/public/dist/vendor.bundle.js.LICENSE +9 -0
  20. elements/vimeoPlayer/public/dist/element.bundle.js +1 -1
  21. elements/vimeoPlayer/public/dist/vendor.bundle.js.LICENSE +9 -0
  22. elements/wpWidgetsCustom/public/dist/element.bundle.js +1 -1
  23. elements/wpWidgetsCustom/public/dist/vendor.bundle.js.LICENSE +9 -0
  24. elements/wpWidgetsDefault/public/dist/element.bundle.js +1 -1
  25. elements/wpWidgetsDefault/public/dist/vendor.bundle.js.LICENSE +9 -0
  26. elements/youtubePlayer/public/dist/element.bundle.js +1 -1
  27. elements/youtubePlayer/public/dist/vendor.bundle.js.LICENSE +9 -0
  28. plugin-wordpress.php +2 -2
  29. public/dist/fonts/VC-Icons.svg +3 -1
  30. public/dist/fonts/VC-Icons.ttf +0 -0
  31. public/dist/fonts/VC-Icons.woff +0 -0
  32. public/dist/front.bundle.js +1 -1
  33. public/dist/hub.bundle.js +2 -0
cache/autoload.php CHANGED
@@ -255,6 +255,55 @@ return array (
255
  'make' => false,
256
  'singleton' => true,
257
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  'HubAddonsHelper' =>
259
  array (
260
  'name' => 'HubAddonsHelper',
@@ -332,125 +381,139 @@ return array (
332
  'make' => false,
333
  'singleton' => true,
334
  ),
335
- 'AccessCurrentUserHelper' =>
 
 
 
336
  array (
337
- 'name' => 'AccessCurrentUserHelper',
338
- 'abstract' => 'VisualComposer\\Helpers\\Access\\CurrentUser',
339
- 'make' => false,
340
  'singleton' => true,
341
  ),
342
- 'AccessEditorPostTypeHelper' =>
343
  array (
344
- 'name' => 'AccessEditorPostTypeHelper',
345
- 'abstract' => 'VisualComposer\\Helpers\\Access\\EditorPostType',
346
- 'make' => false,
347
  'singleton' => true,
348
  ),
349
- 'AccessRoleHelper' =>
350
  array (
351
- 'name' => 'AccessRoleHelper',
352
- 'abstract' => 'VisualComposer\\Helpers\\Access\\Role',
353
- 'make' => false,
354
  'singleton' => true,
355
  ),
356
- 'AccessUserCapabilitiesHelper' =>
357
  array (
358
- 'name' => 'AccessUserCapabilitiesHelper',
359
- 'abstract' => 'VisualComposer\\Helpers\\Access\\UserCapabilities',
360
- 'make' => false,
361
  'singleton' => true,
362
  ),
363
- 'SettingsFieldsRegistryHelper' =>
364
  array (
365
- 'name' => 'SettingsFieldsRegistryHelper',
366
- 'abstract' => 'VisualComposer\\Helpers\\Settings\\FieldsRegistry',
367
- 'make' => false,
368
  'singleton' => true,
369
  ),
370
- 'SettingsSectionsRegistryHelper' =>
371
  array (
372
- 'name' => 'SettingsSectionsRegistryHelper',
373
- 'abstract' => 'VisualComposer\\Helpers\\Settings\\SectionsRegistry',
374
- 'make' => false,
375
  'singleton' => true,
376
  ),
377
- 'SettingsTabsRegistryHelper' =>
378
  array (
379
- 'name' => 'SettingsTabsRegistryHelper',
380
- 'abstract' => 'VisualComposer\\Helpers\\Settings\\TabsRegistry',
381
- 'make' => false,
382
  'singleton' => true,
383
  ),
384
- ),
385
- 'modules' =>
386
- array (
387
- 'MigrationsAssets22Migration' =>
388
  array (
389
- 'name' => 'MigrationsAssets22Migration',
390
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\Assets22Migration',
391
  'make' => true,
392
  'singleton' => true,
393
  ),
394
- 'MigrationsCustomTemplatesUpdate24Migration' =>
395
  array (
396
- 'name' => 'MigrationsCustomTemplatesUpdate24Migration',
397
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\CustomTemplatesUpdate24Migration',
398
  'make' => true,
399
  'singleton' => true,
400
  ),
401
- 'MigrationsDefaultElementsMigration' =>
402
  array (
403
- 'name' => 'MigrationsDefaultElementsMigration',
404
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\DefaultElementsMigration',
405
  'make' => true,
406
  'singleton' => true,
407
  ),
408
- 'MigrationsFixPredefinedTemplateUpdate' =>
409
  array (
410
- 'name' => 'MigrationsFixPredefinedTemplateUpdate',
411
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\FixPredefinedTemplateUpdate',
412
  'make' => true,
413
  'singleton' => true,
414
  ),
415
- 'MigrationsGlobalJavascriptMigration' =>
416
  array (
417
- 'name' => 'MigrationsGlobalJavascriptMigration',
418
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\GlobalJavascriptMigration',
419
  'make' => true,
420
  'singleton' => true,
421
  ),
422
- 'MigrationsLicenseMigration' =>
423
  array (
424
- 'name' => 'MigrationsLicenseMigration',
425
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\LicenseMigration',
426
  'make' => true,
427
  'singleton' => true,
428
  ),
429
- 'MigrationsPredefinedTemplateMigration' =>
430
  array (
431
- 'name' => 'MigrationsPredefinedTemplateMigration',
432
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\PredefinedTemplateMigration',
433
  'make' => true,
434
  'singleton' => true,
435
  ),
436
- 'MigrationsSettingsMigration' =>
437
  array (
438
- 'name' => 'MigrationsSettingsMigration',
439
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\SettingsMigration',
440
  'make' => true,
441
  'singleton' => true,
442
  ),
443
- 'MigrationsTemplates114Migration' =>
444
  array (
445
- 'name' => 'MigrationsTemplates114Migration',
446
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\Templates114Migration',
447
  'make' => true,
448
  'singleton' => true,
449
  ),
450
- 'MigrationsUpdateGlobalElementsMigration' =>
451
  array (
452
- 'name' => 'MigrationsUpdateGlobalElementsMigration',
453
- 'abstract' => 'VisualComposer\\Modules\\Migrations\\UpdateGlobalElementsMigration',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  'make' => true,
455
  'singleton' => true,
456
  ),
@@ -531,13 +594,6 @@ return array (
531
  'make' => true,
532
  'singleton' => true,
533
  ),
534
- 'AssetsVendorBundleController' =>
535
- array (
536
- 'name' => 'AssetsVendorBundleController',
537
- 'abstract' => 'VisualComposer\\Modules\\Assets\\VendorBundleController',
538
- 'make' => true,
539
- 'singleton' => true,
540
- ),
541
  'EditorsEnvController' =>
542
  array (
543
  'name' => 'EditorsEnvController',
@@ -552,24 +608,17 @@ return array (
552
  'make' => true,
553
  'singleton' => true,
554
  ),
555
- 'EditorsAttributesWpEditor' =>
556
- array (
557
- 'name' => 'EditorsAttributesWpEditor',
558
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Attributes\\WpEditor',
559
- 'make' => true,
560
- 'singleton' => true,
561
- ),
562
- 'EditorsAttributesUrlController' =>
563
  array (
564
- 'name' => 'EditorsAttributesUrlController',
565
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Attributes\\Url\\Controller',
566
  'make' => true,
567
  'singleton' => true,
568
  ),
569
- 'EditorsAttributesIconPickerController' =>
570
  array (
571
- 'name' => 'EditorsAttributesIconPickerController',
572
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Attributes\\IconPicker\\Controller',
573
  'make' => true,
574
  'singleton' => true,
575
  ),
@@ -580,13 +629,6 @@ return array (
580
  'make' => true,
581
  'singleton' => true,
582
  ),
583
- 'EditorsAttributesAutoCompleteController' =>
584
- array (
585
- 'name' => 'EditorsAttributesAutoCompleteController',
586
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Attributes\\AutoComplete\\Controller',
587
- 'make' => true,
588
- 'singleton' => true,
589
- ),
590
  'EditorsAttributesAjaxFormController' =>
591
  array (
592
  'name' => 'EditorsAttributesAjaxFormController',
@@ -594,38 +636,38 @@ return array (
594
  'make' => true,
595
  'singleton' => true,
596
  ),
597
- 'EditorsTemplatesController' =>
598
  array (
599
- 'name' => 'EditorsTemplatesController',
600
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Templates\\Controller',
601
  'make' => true,
602
  'singleton' => true,
603
  ),
604
- 'EditorsTemplatesPostType' =>
605
  array (
606
- 'name' => 'EditorsTemplatesPostType',
607
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Templates\\PostType',
608
  'make' => true,
609
  'singleton' => true,
610
  ),
611
- 'EditorsBackendEditorController' =>
612
  array (
613
- 'name' => 'EditorsBackendEditorController',
614
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Backend\\EditorController',
615
  'make' => true,
616
  'singleton' => true,
617
  ),
618
- 'EditorsBackendSaveSetEditorController' =>
619
  array (
620
- 'name' => 'EditorsBackendSaveSetEditorController',
621
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Backend\\SaveSetEditorController',
622
  'make' => true,
623
  'singleton' => true,
624
  ),
625
- 'EditorsEditPostLinksController' =>
626
  array (
627
- 'name' => 'EditorsEditPostLinksController',
628
- 'abstract' => 'VisualComposer\\Modules\\Editors\\EditPostLinks\\Controller',
629
  'make' => true,
630
  'singleton' => true,
631
  ),
@@ -664,430 +706,437 @@ return array (
664
  'make' => true,
665
  'singleton' => true,
666
  ),
667
- 'EditorsPageEditableController' =>
668
  array (
669
- 'name' => 'EditorsPageEditableController',
670
- 'abstract' => 'VisualComposer\\Modules\\Editors\\PageEditable\\Controller',
671
  'make' => true,
672
  'singleton' => true,
673
  ),
674
- 'EditorsDataAjaxController' =>
675
  array (
676
- 'name' => 'EditorsDataAjaxController',
677
- 'abstract' => 'VisualComposer\\Modules\\Editors\\DataAjax\\Controller',
678
  'make' => true,
679
  'singleton' => true,
680
  ),
681
- 'EditorsDataAjaxPostDataController' =>
682
  array (
683
- 'name' => 'EditorsDataAjaxPostDataController',
684
- 'abstract' => 'VisualComposer\\Modules\\Editors\\DataAjax\\PostDataController',
685
  'make' => true,
686
  'singleton' => true,
687
  ),
688
- 'EditorsDataAjaxPostFieldsController' =>
689
  array (
690
- 'name' => 'EditorsDataAjaxPostFieldsController',
691
- 'abstract' => 'VisualComposer\\Modules\\Editors\\DataAjax\\PostFieldsController',
692
  'make' => true,
693
  'singleton' => true,
694
  ),
695
- 'EditorsDataAjaxRevisionController' =>
696
  array (
697
- 'name' => 'EditorsDataAjaxRevisionController',
698
- 'abstract' => 'VisualComposer\\Modules\\Editors\\DataAjax\\RevisionController',
699
  'make' => true,
700
  'singleton' => true,
701
  ),
702
- 'EditorsFrontendLayoutSwitcherBundleController' =>
703
  array (
704
- 'name' => 'EditorsFrontendLayoutSwitcherBundleController',
705
- 'abstract' => 'VisualComposer\\Modules\\Editors\\FrontendLayoutSwitcher\\BundleController',
706
  'make' => true,
707
  'singleton' => true,
708
  ),
709
- 'EditorsSettingsItemPreviewController' =>
710
  array (
711
- 'name' => 'EditorsSettingsItemPreviewController',
712
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\ItemPreviewController',
713
  'make' => true,
714
  'singleton' => true,
715
  ),
716
- 'EditorsSettingsPageEditableTemplatesController' =>
717
  array (
718
- 'name' => 'EditorsSettingsPageEditableTemplatesController',
719
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\PageEditableTemplatesController',
720
  'make' => true,
721
  'singleton' => true,
722
  ),
723
- 'EditorsSettingsPageTemplatesController' =>
724
  array (
725
- 'name' => 'EditorsSettingsPageTemplatesController',
726
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\PageTemplatesController',
727
  'make' => true,
728
  'singleton' => true,
729
  ),
730
- 'EditorsSettingsPageTemplatesSaveController' =>
731
  array (
732
- 'name' => 'EditorsSettingsPageTemplatesSaveController',
733
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\PageTemplatesSaveController',
734
  'make' => true,
735
  'singleton' => true,
736
  ),
737
- 'EditorsSettingsPageTemplatesVariablesController' =>
738
  array (
739
- 'name' => 'EditorsSettingsPageTemplatesVariablesController',
740
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\PageTemplatesVariablesController',
741
  'make' => true,
742
  'singleton' => true,
743
  ),
744
- 'EditorsSettingsSlugController' =>
745
  array (
746
- 'name' => 'EditorsSettingsSlugController',
747
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\SlugController',
748
  'make' => true,
749
  'singleton' => true,
750
  ),
751
- 'EditorsSettingsTitleController' =>
752
  array (
753
- 'name' => 'EditorsSettingsTitleController',
754
- 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\TitleController',
755
  'make' => true,
756
  'singleton' => true,
757
  ),
758
- 'UpdatesUpdatesController' =>
759
  array (
760
- 'name' => 'UpdatesUpdatesController',
761
- 'abstract' => 'VisualComposer\\Modules\\Updates\\UpdatesController',
762
  'make' => true,
763
  'singleton' => true,
764
  ),
765
- 'LicenseActivationRedirectController' =>
766
  array (
767
- 'name' => 'LicenseActivationRedirectController',
768
- 'abstract' => 'VisualComposer\\Modules\\License\\ActivationRedirectController',
769
  'make' => true,
770
  'singleton' => true,
771
  ),
772
- 'LicenseDeactivationController' =>
773
  array (
774
- 'name' => 'LicenseDeactivationController',
775
- 'abstract' => 'VisualComposer\\Modules\\License\\DeactivationController',
776
  'make' => true,
777
  'singleton' => true,
778
  ),
779
- 'LicenseEditorVariablesController' =>
780
  array (
781
- 'name' => 'LicenseEditorVariablesController',
782
- 'abstract' => 'VisualComposer\\Modules\\License\\EditorVariablesController',
783
  'make' => true,
784
  'singleton' => true,
785
  ),
786
- 'LicenseErrorReportingController' =>
787
  array (
788
- 'name' => 'LicenseErrorReportingController',
789
- 'abstract' => 'VisualComposer\\Modules\\License\\ErrorReportingController',
790
  'make' => true,
791
  'singleton' => true,
792
  ),
793
- 'LicenseFeedbackController' =>
794
  array (
795
- 'name' => 'LicenseFeedbackController',
796
- 'abstract' => 'VisualComposer\\Modules\\License\\FeedbackController',
797
  'make' => true,
798
  'singleton' => true,
799
  ),
800
- 'LicenseLicenseController' =>
801
  array (
802
- 'name' => 'LicenseLicenseController',
803
- 'abstract' => 'VisualComposer\\Modules\\License\\LicenseController',
804
  'make' => true,
805
  'singleton' => true,
806
  ),
807
- 'LicenseUpdateVariablesController' =>
808
  array (
809
- 'name' => 'LicenseUpdateVariablesController',
810
- 'abstract' => 'VisualComposer\\Modules\\License\\UpdateVariablesController',
811
  'make' => true,
812
  'singleton' => true,
813
  ),
814
- 'LicensePagesGettingStarted' =>
815
  array (
816
- 'name' => 'LicensePagesGettingStarted',
817
- 'abstract' => 'VisualComposer\\Modules\\License\\Pages\\GettingStarted',
818
  'make' => true,
819
  'singleton' => true,
820
  ),
821
- 'LicensePagesGoPremium' =>
822
  array (
823
- 'name' => 'LicensePagesGoPremium',
824
- 'abstract' => 'VisualComposer\\Modules\\License\\Pages\\GoPremium',
825
  'make' => true,
826
  'singleton' => true,
827
  ),
828
- 'LicensePagesLicenseStatus' =>
829
  array (
830
- 'name' => 'LicensePagesLicenseStatus',
831
- 'abstract' => 'VisualComposer\\Modules\\License\\Pages\\LicenseStatus',
832
  'make' => true,
833
  'singleton' => true,
834
  ),
835
- 'LicensePagesThemeActivation' =>
836
  array (
837
- 'name' => 'LicensePagesThemeActivation',
838
- 'abstract' => 'VisualComposer\\Modules\\License\\Pages\\ThemeActivation',
839
  'make' => true,
840
  'singleton' => true,
841
  ),
842
- 'HubDownloadController' =>
843
  array (
844
- 'name' => 'HubDownloadController',
845
- 'abstract' => 'VisualComposer\\Modules\\Hub\\DownloadController',
846
  'make' => true,
847
  'singleton' => true,
848
  ),
849
- 'HubJsonActionsController' =>
850
  array (
851
- 'name' => 'HubJsonActionsController',
852
- 'abstract' => 'VisualComposer\\Modules\\Hub\\JsonActionsController',
853
  'make' => true,
854
  'singleton' => true,
855
  ),
856
- 'HubUpdateController' =>
857
  array (
858
- 'name' => 'HubUpdateController',
859
- 'abstract' => 'VisualComposer\\Modules\\Hub\\UpdateController',
860
  'make' => true,
861
  'singleton' => true,
862
  ),
863
- 'HubAssetsAssetDownloadController' =>
864
  array (
865
- 'name' => 'HubAssetsAssetDownloadController',
866
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Assets\\AssetDownloadController',
867
  'make' => true,
868
  'singleton' => true,
869
  ),
870
- 'HubActionsPostUpdateAction' =>
871
  array (
872
- 'name' => 'HubActionsPostUpdateAction',
873
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Actions\\PostUpdateAction',
874
  'make' => true,
875
  'singleton' => true,
876
  ),
877
- 'HubTemplatesTemplateDownloadController' =>
878
  array (
879
- 'name' => 'HubTemplatesTemplateDownloadController',
880
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Templates\\TemplateDownloadController',
881
  'make' => true,
882
  'singleton' => true,
883
  ),
884
- 'HubTemplatesTemplatesUpdater' =>
885
  array (
886
- 'name' => 'HubTemplatesTemplatesUpdater',
887
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Templates\\TemplatesUpdater',
888
  'make' => true,
889
  'singleton' => true,
890
  ),
891
- 'HubTemplatesTeasersTeasersController' =>
892
  array (
893
- 'name' => 'HubTemplatesTeasersTeasersController',
894
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Templates\\Teasers\\TeasersController',
895
  'make' => true,
896
  'singleton' => true,
897
  ),
898
- 'HubTemplatesTeasersTeasersDownloadController' =>
899
  array (
900
- 'name' => 'HubTemplatesTeasersTeasersDownloadController',
901
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Templates\\Teasers\\TeasersDownloadController',
902
  'make' => true,
903
  'singleton' => true,
904
  ),
905
- 'HubUnsplashUnsplashDownloadController' =>
906
  array (
907
- 'name' => 'HubUnsplashUnsplashDownloadController',
908
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Unsplash\\UnsplashDownloadController',
909
  'make' => true,
910
  'singleton' => true,
911
  ),
912
- 'HubElementsElementDownloadController' =>
913
  array (
914
- 'name' => 'HubElementsElementDownloadController',
915
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\ElementDownloadController',
916
  'make' => true,
917
  'singleton' => true,
918
  ),
919
- 'HubElementsElements' =>
920
  array (
921
- 'name' => 'HubElementsElements',
922
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\Elements',
923
  'make' => true,
924
  'singleton' => true,
925
  ),
926
- 'HubElementsElementsUpdater' =>
927
  array (
928
- 'name' => 'HubElementsElementsUpdater',
929
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\ElementsUpdater',
930
  'make' => true,
931
  'singleton' => true,
932
  ),
933
- 'HubElementsTeasersTeasersController' =>
934
  array (
935
- 'name' => 'HubElementsTeasersTeasersController',
936
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\Teasers\\TeasersController',
937
  'make' => true,
938
  'singleton' => true,
939
  ),
940
- 'HubElementsTeasersTeasersDownloadController' =>
941
  array (
942
- 'name' => 'HubElementsTeasersTeasersDownloadController',
943
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\Teasers\\TeasersDownloadController',
944
  'make' => true,
945
  'singleton' => true,
946
  ),
947
- 'HubAddonsAddonDownloadController' =>
948
  array (
949
- 'name' => 'HubAddonsAddonDownloadController',
950
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\AddonDownloadController',
951
  'make' => true,
952
  'singleton' => true,
953
  ),
954
- 'HubAddonsAddons' =>
955
  array (
956
- 'name' => 'HubAddonsAddons',
957
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\Addons',
958
  'make' => true,
959
  'singleton' => true,
960
  ),
961
- 'HubAddonsAddonsUpdater' =>
962
  array (
963
- 'name' => 'HubAddonsAddonsUpdater',
964
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\AddonsUpdater',
965
  'make' => true,
966
  'singleton' => true,
967
  ),
968
- 'HubAddonsTeasersTeasersController' =>
969
  array (
970
- 'name' => 'HubAddonsTeasersTeasersController',
971
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\Teasers\\TeasersController',
972
  'make' => true,
973
  'singleton' => true,
974
  ),
975
- 'HubAddonsTeasersTeasersDownloadController' =>
976
  array (
977
- 'name' => 'HubAddonsTeasersTeasersDownloadController',
978
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\Teasers\\TeasersDownloadController',
979
  'make' => true,
980
  'singleton' => true,
981
  ),
982
- 'HubGroupsCategoriesCategories' =>
983
  array (
984
- 'name' => 'HubGroupsCategoriesCategories',
985
- 'abstract' => 'VisualComposer\\Modules\\Hub\\GroupsCategories\\Categories',
986
  'make' => true,
987
  'singleton' => true,
988
  ),
989
- 'HubGroupsCategoriesCategoriesUpdater' =>
990
  array (
991
- 'name' => 'HubGroupsCategoriesCategoriesUpdater',
992
- 'abstract' => 'VisualComposer\\Modules\\Hub\\GroupsCategories\\CategoriesUpdater',
993
  'make' => true,
994
  'singleton' => true,
995
  ),
996
- 'HubGroupsCategoriesGroups' =>
997
  array (
998
- 'name' => 'HubGroupsCategoriesGroups',
999
- 'abstract' => 'VisualComposer\\Modules\\Hub\\GroupsCategories\\Groups',
1000
  'make' => true,
1001
  'singleton' => true,
1002
  ),
1003
- 'HubGroupsCategoriesGroupsUpdater' =>
1004
  array (
1005
- 'name' => 'HubGroupsCategoriesGroupsUpdater',
1006
- 'abstract' => 'VisualComposer\\Modules\\Hub\\GroupsCategories\\GroupsUpdater',
1007
  'make' => true,
1008
  'singleton' => true,
1009
  ),
1010
- 'HubPagesUpdateBePage' =>
1011
  array (
1012
- 'name' => 'HubPagesUpdateBePage',
1013
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Pages\\UpdateBePage',
1014
  'make' => true,
1015
  'singleton' => true,
1016
  ),
1017
- 'HubPagesUpdateFePage' =>
1018
  array (
1019
- 'name' => 'HubPagesUpdateFePage',
1020
- 'abstract' => 'VisualComposer\\Modules\\Hub\\Pages\\UpdateFePage',
1021
  'make' => true,
1022
  'singleton' => true,
1023
  ),
1024
- 'ApiFactory' =>
1025
  array (
1026
- 'name' => 'ApiFactory',
1027
- 'abstract' => 'VisualComposer\\Modules\\Api\\Factory',
1028
  'make' => true,
1029
  'singleton' => true,
1030
  ),
1031
- 'AutoloadAddonsAutoload' =>
1032
  array (
1033
- 'name' => 'AutoloadAddonsAutoload',
1034
- 'abstract' => 'VisualComposer\\Modules\\Autoload\\AddonsAutoload',
1035
  'make' => true,
1036
  'singleton' => true,
1037
  ),
1038
- 'AutoloadElementsAutoload' =>
1039
  array (
1040
- 'name' => 'AutoloadElementsAutoload',
1041
- 'abstract' => 'VisualComposer\\Modules\\Autoload\\ElementsAutoload',
1042
  'make' => true,
1043
  'singleton' => true,
1044
  ),
1045
- 'InternationalizationLocale' =>
1046
  array (
1047
- 'name' => 'InternationalizationLocale',
1048
- 'abstract' => 'VisualComposer\\Modules\\Internationalization\\Locale',
 
 
 
 
 
 
 
1049
  'make' => true,
1050
  'singleton' => true,
1051
  ),
1052
- 'FrontViewAssetResetController' =>
1053
  array (
1054
- 'name' => 'FrontViewAssetResetController',
1055
- 'abstract' => 'VisualComposer\\Modules\\FrontView\\AssetResetController',
1056
  'make' => true,
1057
  'singleton' => true,
1058
  ),
1059
- 'FrontViewAssetUrlReplaceController' =>
1060
  array (
1061
- 'name' => 'FrontViewAssetUrlReplaceController',
1062
- 'abstract' => 'VisualComposer\\Modules\\FrontView\\AssetUrlReplaceController',
1063
  'make' => true,
1064
  'singleton' => true,
1065
  ),
1066
- 'FrontViewContentUrlReplaceController' =>
1067
  array (
1068
- 'name' => 'FrontViewContentUrlReplaceController',
1069
- 'abstract' => 'VisualComposer\\Modules\\FrontView\\ContentUrlReplaceController',
1070
  'make' => true,
1071
  'singleton' => true,
1072
  ),
1073
- 'FrontViewFrontVariablesController' =>
1074
  array (
1075
- 'name' => 'FrontViewFrontVariablesController',
1076
- 'abstract' => 'VisualComposer\\Modules\\FrontView\\FrontVariablesController',
1077
  'make' => true,
1078
  'singleton' => true,
1079
  ),
1080
- 'FrontViewFrontViewController' =>
1081
  array (
1082
- 'name' => 'FrontViewFrontViewController',
1083
- 'abstract' => 'VisualComposer\\Modules\\FrontView\\FrontViewController',
1084
  'make' => true,
1085
  'singleton' => true,
1086
  ),
1087
- 'FrontViewPluginsInfoController' =>
1088
  array (
1089
- 'name' => 'FrontViewPluginsInfoController',
1090
- 'abstract' => 'VisualComposer\\Modules\\FrontView\\PluginsInfoController',
1091
  'make' => true,
1092
  'singleton' => true,
1093
  ),
@@ -1105,20 +1154,6 @@ return array (
1105
  'make' => true,
1106
  'singleton' => true,
1107
  ),
1108
- 'ElementsGlobalVariablesController' =>
1109
- array (
1110
- 'name' => 'ElementsGlobalVariablesController',
1111
- 'abstract' => 'VisualComposer\\Modules\\Elements\\GlobalVariables\\Controller',
1112
- 'make' => true,
1113
- 'singleton' => true,
1114
- ),
1115
- 'ElementsAssetShortcodeController' =>
1116
- array (
1117
- 'name' => 'ElementsAssetShortcodeController',
1118
- 'abstract' => 'VisualComposer\\Modules\\Elements\\AssetShortcode\\Controller',
1119
- 'make' => true,
1120
- 'singleton' => true,
1121
- ),
1122
  'ElementsWpWidgetsWpWidgetsController' =>
1123
  array (
1124
  'name' => 'ElementsWpWidgetsWpWidgetsController',
@@ -1140,13 +1175,6 @@ return array (
1140
  'make' => true,
1141
  'singleton' => true,
1142
  ),
1143
- 'ElementsAjaxImageControllerController' =>
1144
- array (
1145
- 'name' => 'ElementsAjaxImageControllerController',
1146
- 'abstract' => 'VisualComposer\\Modules\\Elements\\AjaxImageController\\Controller',
1147
- 'make' => true,
1148
- 'singleton' => true,
1149
- ),
1150
  'ElementsEncodedShortcodeController' =>
1151
  array (
1152
  'name' => 'ElementsEncodedShortcodeController',
@@ -1154,234 +1182,206 @@ return array (
1154
  'make' => true,
1155
  'singleton' => true,
1156
  ),
1157
- 'VendorsJetPack' =>
1158
- array (
1159
- 'name' => 'VendorsJetPack',
1160
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\JetPack',
1161
- 'make' => true,
1162
- 'singleton' => true,
1163
- ),
1164
- 'VendorsMetaSliderController' =>
1165
- array (
1166
- 'name' => 'VendorsMetaSliderController',
1167
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\MetaSliderController',
1168
- 'make' => true,
1169
- 'singleton' => true,
1170
- ),
1171
- 'VendorsNextGen' =>
1172
- array (
1173
- 'name' => 'VendorsNextGen',
1174
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\NextGen',
1175
- 'make' => true,
1176
- 'singleton' => true,
1177
- ),
1178
- 'VendorsNinjaFormsController' =>
1179
- array (
1180
- 'name' => 'VendorsNinjaFormsController',
1181
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\NinjaFormsController',
1182
- 'make' => true,
1183
- 'singleton' => true,
1184
- ),
1185
- 'VendorsRevSliderController' =>
1186
  array (
1187
- 'name' => 'VendorsRevSliderController',
1188
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\RevSliderController',
1189
  'make' => true,
1190
  'singleton' => true,
1191
  ),
1192
- 'VendorsThemeTwentySeventeenController' =>
1193
  array (
1194
- 'name' => 'VendorsThemeTwentySeventeenController',
1195
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\ThemeTwentySeventeenController',
1196
  'make' => true,
1197
  'singleton' => true,
1198
  ),
1199
- 'VendorsWooCommerceController' =>
1200
  array (
1201
- 'name' => 'VendorsWooCommerceController',
1202
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\WooCommerceController',
1203
  'make' => true,
1204
  'singleton' => true,
1205
  ),
1206
- 'VendorsWordpressController' =>
1207
  array (
1208
- 'name' => 'VendorsWordpressController',
1209
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\WordpressController',
1210
  'make' => true,
1211
  'singleton' => true,
1212
  ),
1213
- 'VendorsWpbakeryController' =>
1214
  array (
1215
- 'name' => 'VendorsWpbakeryController',
1216
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\WpbakeryController',
1217
  'make' => true,
1218
  'singleton' => true,
1219
  ),
1220
- 'VendorsWpmlController' =>
1221
  array (
1222
- 'name' => 'VendorsWpmlController',
1223
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\WpmlController',
1224
  'make' => true,
1225
  'singleton' => true,
1226
  ),
1227
- 'VendorsYoastController' =>
1228
  array (
1229
- 'name' => 'VendorsYoastController',
1230
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\YoastController',
1231
  'make' => true,
1232
  'singleton' => true,
1233
  ),
1234
- 'VendorsGutenbergAttributeController' =>
1235
  array (
1236
- 'name' => 'VendorsGutenbergAttributeController',
1237
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\Gutenberg\\AttributeController',
1238
  'make' => true,
1239
  'singleton' => true,
1240
  ),
1241
- 'VendorsGutenbergDisableController' =>
1242
  array (
1243
- 'name' => 'VendorsGutenbergDisableController',
1244
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\Gutenberg\\DisableController',
1245
  'make' => true,
1246
  'singleton' => true,
1247
  ),
1248
- 'VendorsGutenbergSettingsController' =>
1249
  array (
1250
- 'name' => 'VendorsGutenbergSettingsController',
1251
- 'abstract' => 'VisualComposer\\Modules\\Vendors\\Gutenberg\\SettingsController',
1252
  'make' => true,
1253
  'singleton' => true,
1254
  ),
1255
- 'UtmUtm' =>
1256
  array (
1257
- 'name' => 'UtmUtm',
1258
- 'abstract' => 'VisualComposer\\Modules\\Utm\\Utm',
1259
  'make' => true,
1260
  'singleton' => true,
1261
  ),
1262
- 'SystemTextDomainController' =>
1263
  array (
1264
- 'name' => 'SystemTextDomainController',
1265
- 'abstract' => 'VisualComposer\\Modules\\System\\TextDomain\\Controller',
1266
  'make' => true,
1267
  'singleton' => true,
1268
  ),
1269
- 'SystemCacheCacheController' =>
1270
  array (
1271
- 'name' => 'SystemCacheCacheController',
1272
- 'abstract' => 'VisualComposer\\Modules\\System\\Cache\\CacheController',
1273
  'make' => true,
1274
  'singleton' => true,
1275
  ),
1276
- 'SystemAjaxAdminController' =>
1277
  array (
1278
- 'name' => 'SystemAjaxAdminController',
1279
- 'abstract' => 'VisualComposer\\Modules\\System\\Ajax\\AdminController',
1280
  'make' => true,
1281
  'singleton' => true,
1282
  ),
1283
- 'SystemAjaxController' =>
1284
  array (
1285
- 'name' => 'SystemAjaxController',
1286
- 'abstract' => 'VisualComposer\\Modules\\System\\Ajax\\Controller',
1287
  'make' => true,
1288
  'singleton' => true,
1289
  ),
1290
- 'SystemActivationController' =>
1291
  array (
1292
- 'name' => 'SystemActivationController',
1293
- 'abstract' => 'VisualComposer\\Modules\\System\\Activation\\Controller',
1294
  'make' => true,
1295
  'singleton' => true,
1296
  ),
1297
- 'SystemActivationNotice' =>
1298
  array (
1299
- 'name' => 'SystemActivationNotice',
1300
- 'abstract' => 'VisualComposer\\Modules\\System\\Activation\\Notice',
1301
  'make' => true,
1302
  'singleton' => true,
1303
  ),
1304
- 'SettingsMenuController' =>
1305
  array (
1306
- 'name' => 'SettingsMenuController',
1307
- 'abstract' => 'VisualComposer\\Modules\\Settings\\MenuController',
1308
  'make' => true,
1309
  'singleton' => true,
1310
  ),
1311
- 'SettingsNoticeController' =>
1312
  array (
1313
- 'name' => 'SettingsNoticeController',
1314
- 'abstract' => 'VisualComposer\\Modules\\Settings\\NoticeController',
1315
  'make' => true,
1316
  'singleton' => true,
1317
  ),
1318
- 'SettingsSettingsController' =>
1319
  array (
1320
- 'name' => 'SettingsSettingsController',
1321
- 'abstract' => 'VisualComposer\\Modules\\Settings\\SettingsController',
1322
  'make' => true,
1323
  'singleton' => true,
1324
  ),
1325
- 'SettingsFieldsCssEditor' =>
1326
  array (
1327
- 'name' => 'SettingsFieldsCssEditor',
1328
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Fields\\CssEditor',
1329
  'make' => true,
1330
  'singleton' => true,
1331
  ),
1332
- 'SettingsFieldsFactoryResetController' =>
1333
  array (
1334
- 'name' => 'SettingsFieldsFactoryResetController',
1335
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Fields\\FactoryResetController',
1336
  'make' => true,
1337
  'singleton' => true,
1338
  ),
1339
- 'SettingsFieldsJsEditor' =>
1340
  array (
1341
- 'name' => 'SettingsFieldsJsEditor',
1342
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Fields\\JsEditor',
1343
  'make' => true,
1344
  'singleton' => true,
1345
  ),
1346
- 'SettingsFieldsPostTypes' =>
1347
  array (
1348
- 'name' => 'SettingsFieldsPostTypes',
1349
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Fields\\PostTypes',
1350
  'make' => true,
1351
  'singleton' => true,
1352
  ),
1353
- 'SettingsAjaxSystemStatusController' =>
1354
  array (
1355
- 'name' => 'SettingsAjaxSystemStatusController',
1356
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Ajax\\SystemStatusController',
1357
  'make' => true,
1358
  'singleton' => true,
1359
  ),
1360
- 'SettingsPagesAbout' =>
1361
  array (
1362
- 'name' => 'SettingsPagesAbout',
1363
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Pages\\About',
1364
  'make' => true,
1365
  'singleton' => true,
1366
  ),
1367
- 'SettingsPagesCssJsSettings' =>
1368
  array (
1369
- 'name' => 'SettingsPagesCssJsSettings',
1370
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Pages\\CssJsSettings',
1371
  'make' => true,
1372
  'singleton' => true,
1373
  ),
1374
- 'SettingsPagesSettings' =>
1375
  array (
1376
- 'name' => 'SettingsPagesSettings',
1377
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Pages\\Settings',
1378
  'make' => true,
1379
  'singleton' => true,
1380
  ),
1381
- 'SettingsPagesSystemStatus' =>
1382
  array (
1383
- 'name' => 'SettingsPagesSystemStatus',
1384
- 'abstract' => 'VisualComposer\\Modules\\Settings\\Pages\\SystemStatus',
1385
  'make' => true,
1386
  'singleton' => true,
1387
  ),
255
  'make' => false,
256
  'singleton' => true,
257
  ),
258
+ 'SettingsFieldsRegistryHelper' =>
259
+ array (
260
+ 'name' => 'SettingsFieldsRegistryHelper',
261
+ 'abstract' => 'VisualComposer\\Helpers\\Settings\\FieldsRegistry',
262
+ 'make' => false,
263
+ 'singleton' => true,
264
+ ),
265
+ 'SettingsSectionsRegistryHelper' =>
266
+ array (
267
+ 'name' => 'SettingsSectionsRegistryHelper',
268
+ 'abstract' => 'VisualComposer\\Helpers\\Settings\\SectionsRegistry',
269
+ 'make' => false,
270
+ 'singleton' => true,
271
+ ),
272
+ 'SettingsTabsRegistryHelper' =>
273
+ array (
274
+ 'name' => 'SettingsTabsRegistryHelper',
275
+ 'abstract' => 'VisualComposer\\Helpers\\Settings\\TabsRegistry',
276
+ 'make' => false,
277
+ 'singleton' => true,
278
+ ),
279
+ 'AccessCurrentUserHelper' =>
280
+ array (
281
+ 'name' => 'AccessCurrentUserHelper',
282
+ 'abstract' => 'VisualComposer\\Helpers\\Access\\CurrentUser',
283
+ 'make' => false,
284
+ 'singleton' => true,
285
+ ),
286
+ 'AccessEditorPostTypeHelper' =>
287
+ array (
288
+ 'name' => 'AccessEditorPostTypeHelper',
289
+ 'abstract' => 'VisualComposer\\Helpers\\Access\\EditorPostType',
290
+ 'make' => false,
291
+ 'singleton' => true,
292
+ ),
293
+ 'AccessRoleHelper' =>
294
+ array (
295
+ 'name' => 'AccessRoleHelper',
296
+ 'abstract' => 'VisualComposer\\Helpers\\Access\\Role',
297
+ 'make' => false,
298
+ 'singleton' => true,
299
+ ),
300
+ 'AccessUserCapabilitiesHelper' =>
301
+ array (
302
+ 'name' => 'AccessUserCapabilitiesHelper',
303
+ 'abstract' => 'VisualComposer\\Helpers\\Access\\UserCapabilities',
304
+ 'make' => false,
305
+ 'singleton' => true,
306
+ ),
307
  'HubAddonsHelper' =>
308
  array (
309
  'name' => 'HubAddonsHelper',
381
  'make' => false,
382
  'singleton' => true,
383
  ),
384
+ ),
385
+ 'modules' =>
386
+ array (
387
+ 'VendorsDashboardController' =>
388
  array (
389
+ 'name' => 'VendorsDashboardController',
390
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\DashboardController',
391
+ 'make' => true,
392
  'singleton' => true,
393
  ),
394
+ 'VendorsJetPack' =>
395
  array (
396
+ 'name' => 'VendorsJetPack',
397
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\JetPack',
398
+ 'make' => true,
399
  'singleton' => true,
400
  ),
401
+ 'VendorsMetaSliderController' =>
402
  array (
403
+ 'name' => 'VendorsMetaSliderController',
404
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\MetaSliderController',
405
+ 'make' => true,
406
  'singleton' => true,
407
  ),
408
+ 'VendorsNextGen' =>
409
  array (
410
+ 'name' => 'VendorsNextGen',
411
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\NextGen',
412
+ 'make' => true,
413
  'singleton' => true,
414
  ),
415
+ 'VendorsNinjaFormsController' =>
416
  array (
417
+ 'name' => 'VendorsNinjaFormsController',
418
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\NinjaFormsController',
419
+ 'make' => true,
420
  'singleton' => true,
421
  ),
422
+ 'VendorsPluginsController' =>
423
  array (
424
+ 'name' => 'VendorsPluginsController',
425
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\PluginsController',
426
+ 'make' => true,
427
  'singleton' => true,
428
  ),
429
+ 'VendorsRevSliderController' =>
430
  array (
431
+ 'name' => 'VendorsRevSliderController',
432
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\RevSliderController',
433
+ 'make' => true,
434
  'singleton' => true,
435
  ),
436
+ 'VendorsThemeTwentySeventeenController' =>
 
 
 
437
  array (
438
+ 'name' => 'VendorsThemeTwentySeventeenController',
439
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\ThemeTwentySeventeenController',
440
  'make' => true,
441
  'singleton' => true,
442
  ),
443
+ 'VendorsWooCommerceController' =>
444
  array (
445
+ 'name' => 'VendorsWooCommerceController',
446
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\WooCommerceController',
447
  'make' => true,
448
  'singleton' => true,
449
  ),
450
+ 'VendorsWordpressController' =>
451
  array (
452
+ 'name' => 'VendorsWordpressController',
453
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\WordpressController',
454
  'make' => true,
455
  'singleton' => true,
456
  ),
457
+ 'VendorsWpbakeryController' =>
458
  array (
459
+ 'name' => 'VendorsWpbakeryController',
460
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\WpbakeryController',
461
  'make' => true,
462
  'singleton' => true,
463
  ),
464
+ 'VendorsWpmlController' =>
465
  array (
466
+ 'name' => 'VendorsWpmlController',
467
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\WpmlController',
468
  'make' => true,
469
  'singleton' => true,
470
  ),
471
+ 'VendorsYoastController' =>
472
  array (
473
+ 'name' => 'VendorsYoastController',
474
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\YoastController',
475
  'make' => true,
476
  'singleton' => true,
477
  ),
478
+ 'VendorsGutenbergAttributeController' =>
479
  array (
480
+ 'name' => 'VendorsGutenbergAttributeController',
481
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\Gutenberg\\AttributeController',
482
  'make' => true,
483
  'singleton' => true,
484
  ),
485
+ 'VendorsGutenbergDisableController' =>
486
  array (
487
+ 'name' => 'VendorsGutenbergDisableController',
488
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\Gutenberg\\DisableController',
489
  'make' => true,
490
  'singleton' => true,
491
  ),
492
+ 'VendorsGutenbergSettingsController' =>
493
  array (
494
+ 'name' => 'VendorsGutenbergSettingsController',
495
+ 'abstract' => 'VisualComposer\\Modules\\Vendors\\Gutenberg\\SettingsController',
496
  'make' => true,
497
  'singleton' => true,
498
  ),
499
+ 'UtmUtm' =>
500
  array (
501
+ 'name' => 'UtmUtm',
502
+ 'abstract' => 'VisualComposer\\Modules\\Utm\\Utm',
503
+ 'make' => true,
504
+ 'singleton' => true,
505
+ ),
506
+ 'InternationalizationLocale' =>
507
+ array (
508
+ 'name' => 'InternationalizationLocale',
509
+ 'abstract' => 'VisualComposer\\Modules\\Internationalization\\Locale',
510
+ 'make' => true,
511
+ 'singleton' => true,
512
+ ),
513
+ 'AssetsAssetBundleController' =>
514
+ array (
515
+ 'name' => 'AssetsAssetBundleController',
516
+ 'abstract' => 'VisualComposer\\Modules\\Assets\\AssetBundleController',
517
  'make' => true,
518
  'singleton' => true,
519
  ),
594
  'make' => true,
595
  'singleton' => true,
596
  ),
 
 
 
 
 
 
 
597
  'EditorsEnvController' =>
598
  array (
599
  'name' => 'EditorsEnvController',
608
  'make' => true,
609
  'singleton' => true,
610
  ),
611
+ 'EditorsPageEditableController' =>
 
 
 
 
 
 
 
612
  array (
613
+ 'name' => 'EditorsPageEditableController',
614
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\PageEditable\\Controller',
615
  'make' => true,
616
  'singleton' => true,
617
  ),
618
+ 'EditorsAttributesWpEditor' =>
619
  array (
620
+ 'name' => 'EditorsAttributesWpEditor',
621
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Attributes\\WpEditor',
622
  'make' => true,
623
  'singleton' => true,
624
  ),
629
  'make' => true,
630
  'singleton' => true,
631
  ),
 
 
 
 
 
 
 
632
  'EditorsAttributesAjaxFormController' =>
633
  array (
634
  'name' => 'EditorsAttributesAjaxFormController',
636
  'make' => true,
637
  'singleton' => true,
638
  ),
639
+ 'EditorsAttributesAutoCompleteController' =>
640
  array (
641
+ 'name' => 'EditorsAttributesAutoCompleteController',
642
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Attributes\\AutoComplete\\Controller',
643
  'make' => true,
644
  'singleton' => true,
645
  ),
646
+ 'EditorsAttributesUrlController' =>
647
  array (
648
+ 'name' => 'EditorsAttributesUrlController',
649
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Attributes\\Url\\Controller',
650
  'make' => true,
651
  'singleton' => true,
652
  ),
653
+ 'EditorsAttributesIconPickerController' =>
654
  array (
655
+ 'name' => 'EditorsAttributesIconPickerController',
656
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Attributes\\IconPicker\\Controller',
657
  'make' => true,
658
  'singleton' => true,
659
  ),
660
+ 'EditorsTemplatesController' =>
661
  array (
662
+ 'name' => 'EditorsTemplatesController',
663
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Templates\\Controller',
664
  'make' => true,
665
  'singleton' => true,
666
  ),
667
+ 'EditorsTemplatesPostType' =>
668
  array (
669
+ 'name' => 'EditorsTemplatesPostType',
670
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Templates\\PostType',
671
  'make' => true,
672
  'singleton' => true,
673
  ),
706
  'make' => true,
707
  'singleton' => true,
708
  ),
709
+ 'EditorsSettingsItemPreviewController' =>
710
  array (
711
+ 'name' => 'EditorsSettingsItemPreviewController',
712
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\ItemPreviewController',
713
  'make' => true,
714
  'singleton' => true,
715
  ),
716
+ 'EditorsSettingsPageEditableTemplatesController' =>
717
  array (
718
+ 'name' => 'EditorsSettingsPageEditableTemplatesController',
719
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\PageEditableTemplatesController',
720
  'make' => true,
721
  'singleton' => true,
722
  ),
723
+ 'EditorsSettingsPageTemplatesController' =>
724
  array (
725
+ 'name' => 'EditorsSettingsPageTemplatesController',
726
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\PageTemplatesController',
727
  'make' => true,
728
  'singleton' => true,
729
  ),
730
+ 'EditorsSettingsPageTemplatesSaveController' =>
731
  array (
732
+ 'name' => 'EditorsSettingsPageTemplatesSaveController',
733
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\PageTemplatesSaveController',
734
  'make' => true,
735
  'singleton' => true,
736
  ),
737
+ 'EditorsSettingsPageTemplatesVariablesController' =>
738
  array (
739
+ 'name' => 'EditorsSettingsPageTemplatesVariablesController',
740
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\PageTemplatesVariablesController',
741
  'make' => true,
742
  'singleton' => true,
743
  ),
744
+ 'EditorsSettingsSlugController' =>
745
  array (
746
+ 'name' => 'EditorsSettingsSlugController',
747
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\SlugController',
748
  'make' => true,
749
  'singleton' => true,
750
  ),
751
+ 'EditorsSettingsTitleController' =>
752
  array (
753
+ 'name' => 'EditorsSettingsTitleController',
754
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Settings\\TitleController',
755
  'make' => true,
756
  'singleton' => true,
757
  ),
758
+ 'EditorsEditPostLinksController' =>
759
  array (
760
+ 'name' => 'EditorsEditPostLinksController',
761
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\EditPostLinks\\Controller',
762
  'make' => true,
763
  'singleton' => true,
764
  ),
765
+ 'EditorsDataAjaxController' =>
766
  array (
767
+ 'name' => 'EditorsDataAjaxController',
768
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\DataAjax\\Controller',
769
  'make' => true,
770
  'singleton' => true,
771
  ),
772
+ 'EditorsDataAjaxPostDataController' =>
773
  array (
774
+ 'name' => 'EditorsDataAjaxPostDataController',
775
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\DataAjax\\PostDataController',
776
  'make' => true,
777
  'singleton' => true,
778
  ),
779
+ 'EditorsDataAjaxPostFieldsController' =>
780
  array (
781
+ 'name' => 'EditorsDataAjaxPostFieldsController',
782
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\DataAjax\\PostFieldsController',
783
  'make' => true,
784
  'singleton' => true,
785
  ),
786
+ 'EditorsDataAjaxRevisionController' =>
787
  array (
788
+ 'name' => 'EditorsDataAjaxRevisionController',
789
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\DataAjax\\RevisionController',
790
  'make' => true,
791
  'singleton' => true,
792
  ),
793
+ 'EditorsFrontendLayoutSwitcherBundleController' =>
794
  array (
795
+ 'name' => 'EditorsFrontendLayoutSwitcherBundleController',
796
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\FrontendLayoutSwitcher\\BundleController',
797
  'make' => true,
798
  'singleton' => true,
799
  ),
800
+ 'EditorsBackendEditorController' =>
801
  array (
802
+ 'name' => 'EditorsBackendEditorController',
803
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Backend\\EditorController',
804
  'make' => true,
805
  'singleton' => true,
806
  ),
807
+ 'EditorsBackendSaveSetEditorController' =>
808
  array (
809
+ 'name' => 'EditorsBackendSaveSetEditorController',
810
+ 'abstract' => 'VisualComposer\\Modules\\Editors\\Backend\\SaveSetEditorController',
811
  'make' => true,
812
  'singleton' => true,
813
  ),
814
+ 'MigrationsAssets22Migration' =>
815
  array (
816
+ 'name' => 'MigrationsAssets22Migration',
817
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\Assets22Migration',
818
  'make' => true,
819
  'singleton' => true,
820
  ),
821
+ 'MigrationsCustomTemplatesUpdate24Migration' =>
822
  array (
823
+ 'name' => 'MigrationsCustomTemplatesUpdate24Migration',
824
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\CustomTemplatesUpdate24Migration',
825
  'make' => true,
826
  'singleton' => true,
827
  ),
828
+ 'MigrationsDefaultElementsMigration' =>
829
  array (
830
+ 'name' => 'MigrationsDefaultElementsMigration',
831
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\DefaultElementsMigration',
832
  'make' => true,
833
  'singleton' => true,
834
  ),
835
+ 'MigrationsFixPredefinedTemplateUpdate' =>
836
  array (
837
+ 'name' => 'MigrationsFixPredefinedTemplateUpdate',
838
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\FixPredefinedTemplateUpdate',
839
  'make' => true,
840
  'singleton' => true,
841
  ),
842
+ 'MigrationsGlobalJavascriptMigration' =>
843
  array (
844
+ 'name' => 'MigrationsGlobalJavascriptMigration',
845
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\GlobalJavascriptMigration',
846
  'make' => true,
847
  'singleton' => true,
848
  ),
849
+ 'MigrationsLicenseMigration' =>
850
  array (
851
+ 'name' => 'MigrationsLicenseMigration',
852
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\LicenseMigration',
853
  'make' => true,
854
  'singleton' => true,
855
  ),
856
+ 'MigrationsPredefinedTemplateMigration' =>
857
  array (
858
+ 'name' => 'MigrationsPredefinedTemplateMigration',
859
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\PredefinedTemplateMigration',
860
  'make' => true,
861
  'singleton' => true,
862
  ),
863
+ 'MigrationsSettingsMigration' =>
864
  array (
865
+ 'name' => 'MigrationsSettingsMigration',
866
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\SettingsMigration',
867
  'make' => true,
868
  'singleton' => true,
869
  ),
870
+ 'MigrationsTemplates114Migration' =>
871
  array (
872
+ 'name' => 'MigrationsTemplates114Migration',
873
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\Templates114Migration',
874
  'make' => true,
875
  'singleton' => true,
876
  ),
877
+ 'MigrationsUpdateGlobalElementsMigration' =>
878
  array (
879
+ 'name' => 'MigrationsUpdateGlobalElementsMigration',
880
+ 'abstract' => 'VisualComposer\\Modules\\Migrations\\UpdateGlobalElementsMigration',
881
  'make' => true,
882
  'singleton' => true,
883
  ),
884
+ 'ApiFactory' =>
885
  array (
886
+ 'name' => 'ApiFactory',
887
+ 'abstract' => 'VisualComposer\\Modules\\Api\\Factory',
888
  'make' => true,
889
  'singleton' => true,
890
  ),
891
+ 'SettingsMenuController' =>
892
  array (
893
+ 'name' => 'SettingsMenuController',
894
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\MenuController',
895
  'make' => true,
896
  'singleton' => true,
897
  ),
898
+ 'SettingsNoticeController' =>
899
  array (
900
+ 'name' => 'SettingsNoticeController',
901
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\NoticeController',
902
  'make' => true,
903
  'singleton' => true,
904
  ),
905
+ 'SettingsSettingsController' =>
906
  array (
907
+ 'name' => 'SettingsSettingsController',
908
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\SettingsController',
909
  'make' => true,
910
  'singleton' => true,
911
  ),
912
+ 'SettingsPagesAbout' =>
913
  array (
914
+ 'name' => 'SettingsPagesAbout',
915
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Pages\\About',
916
  'make' => true,
917
  'singleton' => true,
918
  ),
919
+ 'SettingsPagesCssJsSettings' =>
920
  array (
921
+ 'name' => 'SettingsPagesCssJsSettings',
922
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Pages\\CssJsSettings',
923
  'make' => true,
924
  'singleton' => true,
925
  ),
926
+ 'SettingsPagesSettings' =>
927
  array (
928
+ 'name' => 'SettingsPagesSettings',
929
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Pages\\Settings',
930
  'make' => true,
931
  'singleton' => true,
932
  ),
933
+ 'SettingsPagesSystemStatus' =>
934
  array (
935
+ 'name' => 'SettingsPagesSystemStatus',
936
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Pages\\SystemStatus',
937
  'make' => true,
938
  'singleton' => true,
939
  ),
940
+ 'SettingsAjaxSystemStatusController' =>
941
  array (
942
+ 'name' => 'SettingsAjaxSystemStatusController',
943
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Ajax\\SystemStatusController',
944
  'make' => true,
945
  'singleton' => true,
946
  ),
947
+ 'SettingsFieldsCssEditor' =>
948
  array (
949
+ 'name' => 'SettingsFieldsCssEditor',
950
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Fields\\CssEditor',
951
  'make' => true,
952
  'singleton' => true,
953
  ),
954
+ 'SettingsFieldsFactoryResetController' =>
955
  array (
956
+ 'name' => 'SettingsFieldsFactoryResetController',
957
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Fields\\FactoryResetController',
958
  'make' => true,
959
  'singleton' => true,
960
  ),
961
+ 'SettingsFieldsJsEditor' =>
962
  array (
963
+ 'name' => 'SettingsFieldsJsEditor',
964
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Fields\\JsEditor',
965
  'make' => true,
966
  'singleton' => true,
967
  ),
968
+ 'SettingsFieldsPostTypes' =>
969
  array (
970
+ 'name' => 'SettingsFieldsPostTypes',
971
+ 'abstract' => 'VisualComposer\\Modules\\Settings\\Fields\\PostTypes',
972
  'make' => true,
973
  'singleton' => true,
974
  ),
975
+ 'UpdatesUpdatesController' =>
976
  array (
977
+ 'name' => 'UpdatesUpdatesController',
978
+ 'abstract' => 'VisualComposer\\Modules\\Updates\\UpdatesController',
979
  'make' => true,
980
  'singleton' => true,
981
  ),
982
+ 'AutoloadAddonsAutoload' =>
983
  array (
984
+ 'name' => 'AutoloadAddonsAutoload',
985
+ 'abstract' => 'VisualComposer\\Modules\\Autoload\\AddonsAutoload',
986
  'make' => true,
987
  'singleton' => true,
988
  ),
989
+ 'AutoloadElementsAutoload' =>
990
  array (
991
+ 'name' => 'AutoloadElementsAutoload',
992
+ 'abstract' => 'VisualComposer\\Modules\\Autoload\\ElementsAutoload',
993
  'make' => true,
994
  'singleton' => true,
995
  ),
996
+ 'FrontViewAssetResetController' =>
997
  array (
998
+ 'name' => 'FrontViewAssetResetController',
999
+ 'abstract' => 'VisualComposer\\Modules\\FrontView\\AssetResetController',
1000
  'make' => true,
1001
  'singleton' => true,
1002
  ),
1003
+ 'FrontViewAssetUrlReplaceController' =>
1004
  array (
1005
+ 'name' => 'FrontViewAssetUrlReplaceController',
1006
+ 'abstract' => 'VisualComposer\\Modules\\FrontView\\AssetUrlReplaceController',
1007
  'make' => true,
1008
  'singleton' => true,
1009
  ),
1010
+ 'FrontViewContentUrlReplaceController' =>
1011
  array (
1012
+ 'name' => 'FrontViewContentUrlReplaceController',
1013
+ 'abstract' => 'VisualComposer\\Modules\\FrontView\\ContentUrlReplaceController',
1014
  'make' => true,
1015
  'singleton' => true,
1016
  ),
1017
+ 'FrontViewFrontVariablesController' =>
1018
  array (
1019
+ 'name' => 'FrontViewFrontVariablesController',
1020
+ 'abstract' => 'VisualComposer\\Modules\\FrontView\\FrontVariablesController',
1021
  'make' => true,
1022
  'singleton' => true,
1023
  ),
1024
+ 'FrontViewFrontViewController' =>
1025
  array (
1026
+ 'name' => 'FrontViewFrontViewController',
1027
+ 'abstract' => 'VisualComposer\\Modules\\FrontView\\FrontViewController',
1028
  'make' => true,
1029
  'singleton' => true,
1030
  ),
1031
+ 'FrontViewPluginsInfoController' =>
1032
  array (
1033
+ 'name' => 'FrontViewPluginsInfoController',
1034
+ 'abstract' => 'VisualComposer\\Modules\\FrontView\\PluginsInfoController',
1035
  'make' => true,
1036
  'singleton' => true,
1037
  ),
1038
+ 'SystemTextDomainController' =>
1039
  array (
1040
+ 'name' => 'SystemTextDomainController',
1041
+ 'abstract' => 'VisualComposer\\Modules\\System\\TextDomain\\Controller',
1042
  'make' => true,
1043
  'singleton' => true,
1044
  ),
1045
+ 'SystemCacheCacheController' =>
1046
  array (
1047
+ 'name' => 'SystemCacheCacheController',
1048
+ 'abstract' => 'VisualComposer\\Modules\\System\\Cache\\CacheController',
1049
  'make' => true,
1050
  'singleton' => true,
1051
  ),
1052
+ 'SystemAjaxAdminController' =>
1053
  array (
1054
+ 'name' => 'SystemAjaxAdminController',
1055
+ 'abstract' => 'VisualComposer\\Modules\\System\\Ajax\\AdminController',
1056
  'make' => true,
1057
  'singleton' => true,
1058
  ),
1059
+ 'SystemAjaxController' =>
1060
  array (
1061
+ 'name' => 'SystemAjaxController',
1062
+ 'abstract' => 'VisualComposer\\Modules\\System\\Ajax\\Controller',
1063
  'make' => true,
1064
  'singleton' => true,
1065
  ),
1066
+ 'SystemActivationController' =>
1067
  array (
1068
+ 'name' => 'SystemActivationController',
1069
+ 'abstract' => 'VisualComposer\\Modules\\System\\Activation\\Controller',
1070
  'make' => true,
1071
  'singleton' => true,
1072
  ),
1073
+ 'LicenseActivationRedirectController' =>
1074
  array (
1075
+ 'name' => 'LicenseActivationRedirectController',
1076
+ 'abstract' => 'VisualComposer\\Modules\\License\\ActivationRedirectController',
1077
  'make' => true,
1078
  'singleton' => true,
1079
  ),
1080
+ 'LicenseDeactivationController' =>
1081
  array (
1082
+ 'name' => 'LicenseDeactivationController',
1083
+ 'abstract' => 'VisualComposer\\Modules\\License\\DeactivationController',
1084
  'make' => true,
1085
  'singleton' => true,
1086
  ),
1087
+ 'LicenseEditorVariablesController' =>
1088
  array (
1089
+ 'name' => 'LicenseEditorVariablesController',
1090
+ 'abstract' => 'VisualComposer\\Modules\\License\\EditorVariablesController',
1091
+ 'make' => true,
1092
+ 'singleton' => true,
1093
+ ),
1094
+ 'LicenseErrorReportingController' =>
1095
+ array (
1096
+ 'name' => 'LicenseErrorReportingController',
1097
+ 'abstract' => 'VisualComposer\\Modules\\License\\ErrorReportingController',
1098
  'make' => true,
1099
  'singleton' => true,
1100
  ),
1101
+ 'LicenseFeedbackController' =>
1102
  array (
1103
+ 'name' => 'LicenseFeedbackController',
1104
+ 'abstract' => 'VisualComposer\\Modules\\License\\FeedbackController',
1105
  'make' => true,
1106
  'singleton' => true,
1107
  ),
1108
+ 'LicenseLicenseController' =>
1109
  array (
1110
+ 'name' => 'LicenseLicenseController',
1111
+ 'abstract' => 'VisualComposer\\Modules\\License\\LicenseController',
1112
  'make' => true,
1113
  'singleton' => true,
1114
  ),
1115
+ 'LicenseUpdateVariablesController' =>
1116
  array (
1117
+ 'name' => 'LicenseUpdateVariablesController',
1118
+ 'abstract' => 'VisualComposer\\Modules\\License\\UpdateVariablesController',
1119
  'make' => true,
1120
  'singleton' => true,
1121
  ),
1122
+ 'LicensePagesGettingStarted' =>
1123
  array (
1124
+ 'name' => 'LicensePagesGettingStarted',
1125
+ 'abstract' => 'VisualComposer\\Modules\\License\\Pages\\GettingStarted',
1126
  'make' => true,
1127
  'singleton' => true,
1128
  ),
1129
+ 'LicensePagesGoPremium' =>
1130
  array (
1131
+ 'name' => 'LicensePagesGoPremium',
1132
+ 'abstract' => 'VisualComposer\\Modules\\License\\Pages\\GoPremium',
1133
  'make' => true,
1134
  'singleton' => true,
1135
  ),
1136
+ 'LicensePagesLicenseStatus' =>
1137
  array (
1138
+ 'name' => 'LicensePagesLicenseStatus',
1139
+ 'abstract' => 'VisualComposer\\Modules\\License\\Pages\\LicenseStatus',
1140
  'make' => true,
1141
  'singleton' => true,
1142
  ),
1154
  'make' => true,
1155
  'singleton' => true,
1156
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1157
  'ElementsWpWidgetsWpWidgetsController' =>
1158
  array (
1159
  'name' => 'ElementsWpWidgetsWpWidgetsController',
1175
  'make' => true,
1176
  'singleton' => true,
1177
  ),
 
 
 
 
 
 
 
1178
  'ElementsEncodedShortcodeController' =>
1179
  array (
1180
  'name' => 'ElementsEncodedShortcodeController',
1182
  'make' => true,
1183
  'singleton' => true,
1184
  ),
1185
+ 'ElementsGlobalVariablesController' =>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1186
  array (
1187
+ 'name' => 'ElementsGlobalVariablesController',
1188
+ 'abstract' => 'VisualComposer\\Modules\\Elements\\GlobalVariables\\Controller',
1189
  'make' => true,
1190
  'singleton' => true,
1191
  ),
1192
+ 'ElementsAssetShortcodeController' =>
1193
  array (
1194
+ 'name' => 'ElementsAssetShortcodeController',
1195
+ 'abstract' => 'VisualComposer\\Modules\\Elements\\AssetShortcode\\Controller',
1196
  'make' => true,
1197
  'singleton' => true,
1198
  ),
1199
+ 'ElementsAjaxImageControllerController' =>
1200
  array (
1201
+ 'name' => 'ElementsAjaxImageControllerController',
1202
+ 'abstract' => 'VisualComposer\\Modules\\Elements\\AjaxImageController\\Controller',
1203
  'make' => true,
1204
  'singleton' => true,
1205
  ),
1206
+ 'HubDownloadController' =>
1207
  array (
1208
+ 'name' => 'HubDownloadController',
1209
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\DownloadController',
1210
  'make' => true,
1211
  'singleton' => true,
1212
  ),
1213
+ 'HubJsonActionsController' =>
1214
  array (
1215
+ 'name' => 'HubJsonActionsController',
1216
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\JsonActionsController',
1217
  'make' => true,
1218
  'singleton' => true,
1219
  ),
1220
+ 'HubUpdateController' =>
1221
  array (
1222
+ 'name' => 'HubUpdateController',
1223
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\UpdateController',
1224
  'make' => true,
1225
  'singleton' => true,
1226
  ),
1227
+ 'HubPagesUpdateBePage' =>
1228
  array (
1229
+ 'name' => 'HubPagesUpdateBePage',
1230
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Pages\\UpdateBePage',
1231
  'make' => true,
1232
  'singleton' => true,
1233
  ),
1234
+ 'HubPagesUpdateFePage' =>
1235
  array (
1236
+ 'name' => 'HubPagesUpdateFePage',
1237
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Pages\\UpdateFePage',
1238
  'make' => true,
1239
  'singleton' => true,
1240
  ),
1241
+ 'HubAssetsAssetDownloadController' =>
1242
  array (
1243
+ 'name' => 'HubAssetsAssetDownloadController',
1244
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Assets\\AssetDownloadController',
1245
  'make' => true,
1246
  'singleton' => true,
1247
  ),
1248
+ 'HubTemplatesTemplateDownloadController' =>
1249
  array (
1250
+ 'name' => 'HubTemplatesTemplateDownloadController',
1251
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Templates\\TemplateDownloadController',
1252
  'make' => true,
1253
  'singleton' => true,
1254
  ),
1255
+ 'HubTemplatesTemplatesUpdater' =>
1256
  array (
1257
+ 'name' => 'HubTemplatesTemplatesUpdater',
1258
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Templates\\TemplatesUpdater',
1259
  'make' => true,
1260
  'singleton' => true,
1261
  ),
1262
+ 'HubTemplatesTeasersTeasersController' =>
1263
  array (
1264
+ 'name' => 'HubTemplatesTeasersTeasersController',
1265
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Templates\\Teasers\\TeasersController',
1266
  'make' => true,
1267
  'singleton' => true,
1268
  ),
1269
+ 'HubTemplatesTeasersTeasersDownloadController' =>
1270
  array (
1271
+ 'name' => 'HubTemplatesTeasersTeasersDownloadController',
1272
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Templates\\Teasers\\TeasersDownloadController',
1273
  'make' => true,
1274
  'singleton' => true,
1275
  ),
1276
+ 'HubUnsplashUnsplashDownloadController' =>
1277
  array (
1278
+ 'name' => 'HubUnsplashUnsplashDownloadController',
1279
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Unsplash\\UnsplashDownloadController',
1280
  'make' => true,
1281
  'singleton' => true,
1282
  ),
1283
+ 'HubGroupsCategoriesCategories' =>
1284
  array (
1285
+ 'name' => 'HubGroupsCategoriesCategories',
1286
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\GroupsCategories\\Categories',
1287
  'make' => true,
1288
  'singleton' => true,
1289
  ),
1290
+ 'HubGroupsCategoriesCategoriesUpdater' =>
1291
  array (
1292
+ 'name' => 'HubGroupsCategoriesCategoriesUpdater',
1293
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\GroupsCategories\\CategoriesUpdater',
1294
  'make' => true,
1295
  'singleton' => true,
1296
  ),
1297
+ 'HubGroupsCategoriesGroups' =>
1298
  array (
1299
+ 'name' => 'HubGroupsCategoriesGroups',
1300
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\GroupsCategories\\Groups',
1301
  'make' => true,
1302
  'singleton' => true,
1303
  ),
1304
+ 'HubGroupsCategoriesGroupsUpdater' =>
1305
  array (
1306
+ 'name' => 'HubGroupsCategoriesGroupsUpdater',
1307
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\GroupsCategories\\GroupsUpdater',
1308
  'make' => true,
1309
  'singleton' => true,
1310
  ),
1311
+ 'HubAddonsAddonDownloadController' =>
1312
  array (
1313
+ 'name' => 'HubAddonsAddonDownloadController',
1314
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\AddonDownloadController',
1315
  'make' => true,
1316
  'singleton' => true,
1317
  ),
1318
+ 'HubAddonsAddons' =>
1319
  array (
1320
+ 'name' => 'HubAddonsAddons',
1321
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\Addons',
1322
  'make' => true,
1323
  'singleton' => true,
1324
  ),
1325
+ 'HubAddonsAddonsUpdater' =>
1326
  array (
1327
+ 'name' => 'HubAddonsAddonsUpdater',
1328
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\AddonsUpdater',
1329
  'make' => true,
1330
  'singleton' => true,
1331
  ),
1332
+ 'HubAddonsTeasersTeasersController' =>
1333
  array (
1334
+ 'name' => 'HubAddonsTeasersTeasersController',
1335
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\Teasers\\TeasersController',
1336
  'make' => true,
1337
  'singleton' => true,
1338
  ),
1339
+ 'HubAddonsTeasersTeasersDownloadController' =>
1340
  array (
1341
+ 'name' => 'HubAddonsTeasersTeasersDownloadController',
1342
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Addons\\Teasers\\TeasersDownloadController',
1343
  'make' => true,
1344
  'singleton' => true,
1345
  ),
1346
+ 'HubActionsPostUpdateAction' =>
1347
  array (
1348
+ 'name' => 'HubActionsPostUpdateAction',
1349
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Actions\\PostUpdateAction',
1350
  'make' => true,
1351
  'singleton' => true,
1352
  ),
1353
+ 'HubElementsElementDownloadController' =>
1354
  array (
1355
+ 'name' => 'HubElementsElementDownloadController',
1356
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\ElementDownloadController',
1357
  'make' => true,
1358
  'singleton' => true,
1359
  ),
1360
+ 'HubElementsElements' =>
1361
  array (
1362
+ 'name' => 'HubElementsElements',
1363
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\Elements',
1364
  'make' => true,
1365
  'singleton' => true,
1366
  ),
1367
+ 'HubElementsElementsUpdater' =>
1368
  array (
1369
+ 'name' => 'HubElementsElementsUpdater',
1370
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\ElementsUpdater',
1371
  'make' => true,
1372
  'singleton' => true,
1373
  ),
1374
+ 'HubElementsTeasersTeasersController' =>
1375
  array (
1376
+ 'name' => 'HubElementsTeasersTeasersController',
1377
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\Teasers\\TeasersController',
1378
  'make' => true,
1379
  'singleton' => true,
1380
  ),
1381
+ 'HubElementsTeasersTeasersDownloadController' =>
1382
  array (
1383
+ 'name' => 'HubElementsTeasersTeasersDownloadController',
1384
+ 'abstract' => 'VisualComposer\\Modules\\Hub\\Elements\\Teasers\\TeasersDownloadController',
1385
  'make' => true,
1386
  'singleton' => true,
1387
  ),
elements/basicButton/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./basicButton/index.js":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/vc-cake/index.js"),s=n.n(o),a=n("./node_modules/@babel/runtime/helpers/extends.js"),c=n.n(a),r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),l=n.n(r),i=n("./node_modules/@babel/runtime/helpers/createClass.js"),u=n.n(i),b=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),d=n.n(b),p=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),v=n.n(p),y=n("./node_modules/@babel/runtime/helpers/inherits.js"),g=n.n(y),m=n("./node_modules/react/index.js"),h=n.n(m);function f(){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}}var x=function(e){g()(o,e);var t,n=(t=o,function(){var e,n=v()(t);if(f()){var o=v()(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return d()(this,e)});function o(){return l()(this,o),n.apply(this,arguments)}return u()(o,[{key:"render",value:function(){var e=this.props,t=e.id,n=e.atts,o=e.editor,s=n.buttonUrl,a=n.buttonText,r=n.shape,l=n.alignment,i=n.customClass,u=n.toggleCustomHover,b=n.metaCustomId,d=n.size,p=n.toggleStretchButton,v="vce-button--style-basic-container",y="vce-button--style-basic-wrapper vce",g="vce-button--style-basic",m=a,f={},x="button";s&&s.url&&(x="a",f={href:s.url,title:s.title,target:s.targetBlank?"_blank":void 0,rel:s.relNofollow?"nofollow":void 0});"string"==typeof i&&i&&(v+=" "+i),r&&(g+=" vce-button--style-basic--border-".concat(r)),l&&(v+=" vce-button--style-basic-container--align-".concat(l)),d&&(g+=" vce-button--style-basic--size-".concat(d)),p&&(y+=" vce-button--style-basic-wrapper--stretched");var C=this.getMixinData("basicColor");C&&(g+=" vce-button--style-basic--color-".concat(C.selector)),u&&(C=this.getMixinData("basicHoverColor"))&&(g+=" vce-button--style-basic--hover-color-".concat(C.selector)),b&&(f.id=b);var k=this.applyDO("margin"),w=this.applyDO("padding border background animation");return h.a.createElement("div",c()({className:v},o),h.a.createElement("span",c()({className:y,id:"el-"+t},k),h.a.createElement(x,c()({className:g},f,w),m)))}}]),o}(s.a.getService("api").elementComponent);(0,s.a.getService("cook").add)(n("./basicButton/settings.json"),(function(e){e.add(x)}),{css:n("./node_modules/raw-loader/index.js!./basicButton/styles.css"),editorCss:n("./node_modules/raw-loader/index.js!./basicButton/editor.css"),mixins:{basicColor:{mixin:n("./node_modules/raw-loader/index.js!./basicButton/cssMixins/basicColor.pcss")},basicHoverColor:{mixin:n("./node_modules/raw-loader/index.js!./basicButton/cssMixins/basicHoverColor.pcss")}}},"")},"./basicButton/settings.json":function(e){e.exports=JSON.parse('{"groups":{"type":"string","access":"protected","value":"Buttons"},"buttonUrl":{"type":"url","access":"public","value":{"url":"","title":"","targetBlank":false,"relNofollow":false},"options":{"label":"Link selection","dynamicField":true}},"toggleCustomHover":{"type":"toggle","access":"public","value":false,"options":{"label":"Custom hover colors"}},"hoverColor":{"type":"color","access":"public","value":"#fff","options":{"label":"Title hover color","cssMixin":{"mixin":"basicHoverColor","property":"hoverColor","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"toggleCustomHover":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"hoverBackground":{"type":"color","access":"public","value":"#4d70ac","options":{"label":"Background hover color","cssMixin":{"mixin":"basicHoverColor","property":"hoverBackground","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"toggleCustomHover":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"buttonText":{"type":"string","access":"public","value":"Apply Now","options":{"label":"Button text","dynamicField":true}},"color":{"type":"color","access":"public","value":"#fff","options":{"label":"Title color","cssMixin":{"mixin":"basicColor","property":"color","namePattern":"[\\\\da-f]+"}}},"background":{"type":"color","access":"public","value":"#557cbf","options":{"label":"Background color","cssMixin":{"mixin":"basicColor","property":"background","namePattern":"[\\\\da-f]+"}}},"shape":{"type":"buttonGroup","access":"public","value":"square","options":{"label":"Shape","values":[{"label":"Square","value":"square","icon":"vcv-ui-icon-attribute-shape-square"},{"label":"Rounded","value":"rounded","icon":"vcv-ui-icon-attribute-shape-rounded"},{"label":"Round","value":"round","icon":"vcv-ui-icon-attribute-shape-round"}]}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["buttonText","buttonUrl","alignment","shape","size","toggleStretchButton","color","background","toggleCustomHover","hoverColor","hoverBackground","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General","Buttons"]},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"size":{"type":"buttonGroup","access":"public","value":"medium","options":{"label":"Size","values":[{"label":"Small","value":"small","text":"S"},{"label":"Medium","value":"medium","text":"M"},{"label":"Large","value":"large","text":"L"}]}},"toggleStretchButton":{"type":"toggle","access":"public","value":false,"options":{"label":"Stretch button"}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["buttonText","buttonUrl","background","shape"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"basicButton"}}')},"./node_modules/raw-loader/index.js!./basicButton/cssMixins/basicColor.pcss":function(e,t){e.exports=".vce-button--style-basic.vce-button--style-basic--color-$selector {\n a&,\n button& {\n @if $color != false {\n color: $color;\n }\n @if $background != false {\n background-color: $background;\n }\n &:hover {\n @if $color != false {\n color: $color;\n }\n @if $background != false {\n background-color: color($background shade(10%));\n }\n }\n &:focus {\n @if $color != false {\n color: $color;\n }\n }\n }\n}\n"},"./node_modules/raw-loader/index.js!./basicButton/cssMixins/basicHoverColor.pcss":function(e,t){e.exports=".vce-button--style-basic-container a.vce-button--style-basic.vce-button--style-basic--hover-color-$selector {\n &:hover {\n @if $hoverColor != false {\n color: $hoverColor;\n }\n @if $hoverBackground != false {\n background-color: $hoverBackground;\n }\n }\n}\n\n.vce-button--style-basic-container button.vce-button--style-basic.vce-button--style-basic--hover-color-$selector {\n &:hover {\n @if $hoverColor != false {\n color: $hoverColor;\n }\n @if $hoverBackground != false {\n background-color: $hoverBackground;\n }\n }\n}\n"},"./node_modules/raw-loader/index.js!./basicButton/editor.css":function(e,t){e.exports=".vce-button--style-basic-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./basicButton/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * Basic Button\n * ---------------------------------------------- */\n.vce-button--style-basic-container--align-left {\n text-align: left;\n}\n.vce-button--style-basic-container--align-right {\n text-align: right;\n}\n.vce-button--style-basic-container--align-center {\n text-align: center;\n}\n.vce-button--style-basic-wrapper {\n display: inline-block;\n vertical-align: top;\n max-width: 100%;\n}\n.vce-button--style-basic-wrapper .vce-button--style-basic {\n box-shadow: none;\n}\n.vce-button--style-basic-wrapper .vce-button--style-basic:hover,\n.vce-button--style-basic-wrapper .vce-button--style-basic:focus,\n.vce-button--style-basic-wrapper .vce-button--style-basic:link {\n box-shadow: none;\n}\n.vce-button--style-basic-wrapper--stretched {\n width: 100%;\n}\n.vce-button--style-basic-wrapper--stretched .vce-button--style-basic {\n width: 100%;\n}\na.vce-button--style-basic,\nbutton.vce-button--style-basic {\n background-color: transparent;\n background-image: none;\n border: none;\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n margin: 0;\n max-width: 100%;\n position: relative;\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n white-space: normal;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: normal;\n border-radius: 0;\n transition: all 0.2s ease-in-out;\n}\na.vce-button--style-basic:hover,\nbutton.vce-button--style-basic:hover,\na.vce-button--style-basic:focus,\nbutton.vce-button--style-basic:focus {\n text-decoration: none;\n outline: none;\n}\nbutton.vce-button--style-basic {\n -webkit-appearance: none;\n}\n.vce-button--style-basic.vce-button--style-basic--size-small {\n font-size: 11px;\n padding: 10px 30px;\n}\n.vce-button--style-basic.vce-button--style-basic--size-medium {\n font-size: 16px;\n padding: 15px 43px;\n}\n.vce-button--style-basic.vce-button--style-basic--size-large {\n font-size: 21px;\n padding: 20px 56px;\n}\na.vce-button--style-basic--border-rounded,\na.vce-button--style-basic--border-round,\na.vce-button--style-basic--border-square,\nbutton.vce-button--style-basic--border-rounded,\nbutton.vce-button--style-basic--border-round,\nbutton.vce-button--style-basic--border-square {\n position: relative;\n overflow: hidden;\n}\n.vce-button--style-basic--border-rounded,\na.vce-button--style-basic--border-rounded,\nbutton.vce-button--style-basic--border-rounded {\n border-radius: 5px;\n}\n.vce-button--style-basic--border-round,\na.vce-button--style-basic--border-round,\nbutton.vce-button--style-basic--border-round {\n border-radius: 4em;\n}\n.vce-button--style-basic--border-square,\na.vce-button--style-basic--border-square,\nbutton.vce-button--style-basic--border-square {\n border-radius: 0;\n}\n.rtl.vce-button--style-basic,\n[dir="rlt"].vce-button--style-basic,\n.rtl .vce-button--style-basic,\n[dir="rlt"] .vce-button--style-basic {\n direction: rtl;\n unicode-bidi: embed;\n}\n.ltr.vce-button--style-basic,\n[dir="ltr"].vce-button--style-basic,\n.ltr .vce-button--style-basic,\n[dir="ltr"] .vce-button--style-basic {\n direction: ltr;\n unicode-bidi: normal;\n}\n'}},[["./basicButton/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./basicButton/index.js":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/vc-cake/index.js"),s=n.n(o),a=n("./node_modules/@babel/runtime/helpers/extends.js"),c=n.n(a),r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),l=n.n(r),i=n("./node_modules/@babel/runtime/helpers/createClass.js"),u=n.n(i),b=n("./node_modules/@babel/runtime/helpers/inherits.js"),d=n.n(b),p=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),v=n.n(p),y=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),g=n.n(y),m=n("./node_modules/react/index.js"),h=n.n(m);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,o=g()(e);if(t){var s=g()(this).constructor;n=Reflect.construct(o,arguments,s)}else n=o.apply(this,arguments);return v()(this,n)}}var x=function(e){d()(n,e);var t=f(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.id,n=e.atts,o=e.editor,s=n.buttonUrl,a=n.buttonText,r=n.shape,l=n.alignment,i=n.customClass,u=n.toggleCustomHover,b=n.metaCustomId,d=n.size,p=n.toggleStretchButton,v="vce-button--style-basic-container",y="vce-button--style-basic-wrapper vce",g="vce-button--style-basic",m=a,f={},x="button";s&&s.url&&(x="a",f={href:s.url,title:s.title,target:s.targetBlank?"_blank":void 0,rel:s.relNofollow?"nofollow":void 0});"string"==typeof i&&i&&(v+=" "+i),r&&(g+=" vce-button--style-basic--border-".concat(r)),l&&(v+=" vce-button--style-basic-container--align-".concat(l)),d&&(g+=" vce-button--style-basic--size-".concat(d)),p&&(y+=" vce-button--style-basic-wrapper--stretched");var C=this.getMixinData("basicColor");C&&(g+=" vce-button--style-basic--color-".concat(C.selector)),u&&(C=this.getMixinData("basicHoverColor"))&&(g+=" vce-button--style-basic--hover-color-".concat(C.selector)),b&&(f.id=b);var k=this.applyDO("margin"),w=this.applyDO("padding border background animation");return h.a.createElement("div",c()({className:v},o),h.a.createElement("span",c()({className:y,id:"el-"+t},k),h.a.createElement(x,c()({className:g},f,w),m)))}}]),n}(s.a.getService("api").elementComponent);(0,s.a.getService("cook").add)(n("./basicButton/settings.json"),(function(e){e.add(x)}),{css:n("./node_modules/raw-loader/index.js!./basicButton/styles.css"),editorCss:n("./node_modules/raw-loader/index.js!./basicButton/editor.css"),mixins:{basicColor:{mixin:n("./node_modules/raw-loader/index.js!./basicButton/cssMixins/basicColor.pcss")},basicHoverColor:{mixin:n("./node_modules/raw-loader/index.js!./basicButton/cssMixins/basicHoverColor.pcss")}}},"")},"./basicButton/settings.json":function(e){e.exports=JSON.parse('{"groups":{"type":"string","access":"protected","value":"Buttons"},"buttonUrl":{"type":"url","access":"public","value":{"url":"","title":"","targetBlank":false,"relNofollow":false},"options":{"label":"Link selection","dynamicField":true}},"toggleCustomHover":{"type":"toggle","access":"public","value":false,"options":{"label":"Custom hover colors"}},"hoverColor":{"type":"color","access":"public","value":"#fff","options":{"label":"Title hover color","cssMixin":{"mixin":"basicHoverColor","property":"hoverColor","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"toggleCustomHover":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"hoverBackground":{"type":"color","access":"public","value":"#4d70ac","options":{"label":"Background hover color","cssMixin":{"mixin":"basicHoverColor","property":"hoverBackground","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"toggleCustomHover":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"buttonText":{"type":"string","access":"public","value":"Apply Now","options":{"label":"Button text","dynamicField":true}},"color":{"type":"color","access":"public","value":"#fff","options":{"label":"Title color","cssMixin":{"mixin":"basicColor","property":"color","namePattern":"[\\\\da-f]+"}}},"background":{"type":"color","access":"public","value":"#557cbf","options":{"label":"Background color","cssMixin":{"mixin":"basicColor","property":"background","namePattern":"[\\\\da-f]+"}}},"shape":{"type":"buttonGroup","access":"public","value":"square","options":{"label":"Shape","values":[{"label":"Square","value":"square","icon":"vcv-ui-icon-attribute-shape-square"},{"label":"Rounded","value":"rounded","icon":"vcv-ui-icon-attribute-shape-rounded"},{"label":"Round","value":"round","icon":"vcv-ui-icon-attribute-shape-round"}]}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["buttonText","buttonUrl","alignment","shape","size","toggleStretchButton","color","background","toggleCustomHover","hoverColor","hoverBackground","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General","Buttons"]},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"size":{"type":"buttonGroup","access":"public","value":"medium","options":{"label":"Size","values":[{"label":"Small","value":"small","text":"S"},{"label":"Medium","value":"medium","text":"M"},{"label":"Large","value":"large","text":"L"}]}},"toggleStretchButton":{"type":"toggle","access":"public","value":false,"options":{"label":"Stretch button"}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["buttonText","buttonUrl","background","shape"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"basicButton"}}')},"./node_modules/raw-loader/index.js!./basicButton/cssMixins/basicColor.pcss":function(e,t){e.exports=".vce-button--style-basic.vce-button--style-basic--color-$selector {\n a&,\n button& {\n @if $color != false {\n color: $color;\n }\n @if $background != false {\n background-color: $background;\n }\n &:hover {\n @if $color != false {\n color: $color;\n }\n @if $background != false {\n background-color: color($background shade(10%));\n }\n }\n &:focus {\n @if $color != false {\n color: $color;\n }\n }\n }\n}\n"},"./node_modules/raw-loader/index.js!./basicButton/cssMixins/basicHoverColor.pcss":function(e,t){e.exports=".vce-button--style-basic-container a.vce-button--style-basic.vce-button--style-basic--hover-color-$selector {\n &:hover {\n @if $hoverColor != false {\n color: $hoverColor;\n }\n @if $hoverBackground != false {\n background-color: $hoverBackground;\n }\n }\n}\n\n.vce-button--style-basic-container button.vce-button--style-basic.vce-button--style-basic--hover-color-$selector {\n &:hover {\n @if $hoverColor != false {\n color: $hoverColor;\n }\n @if $hoverBackground != false {\n background-color: $hoverBackground;\n }\n }\n}\n"},"./node_modules/raw-loader/index.js!./basicButton/editor.css":function(e,t){e.exports=".vce-button--style-basic-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./basicButton/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * Basic Button\n * ---------------------------------------------- */\n.vce-button--style-basic-container--align-left {\n text-align: left;\n}\n.vce-button--style-basic-container--align-right {\n text-align: right;\n}\n.vce-button--style-basic-container--align-center {\n text-align: center;\n}\n.vce-button--style-basic-wrapper {\n display: inline-block;\n vertical-align: top;\n max-width: 100%;\n}\n.vce-button--style-basic-wrapper .vce-button--style-basic {\n box-shadow: none;\n}\n.vce-button--style-basic-wrapper .vce-button--style-basic:hover,\n.vce-button--style-basic-wrapper .vce-button--style-basic:focus,\n.vce-button--style-basic-wrapper .vce-button--style-basic:link {\n box-shadow: none;\n}\n.vce-button--style-basic-wrapper--stretched {\n width: 100%;\n}\n.vce-button--style-basic-wrapper--stretched .vce-button--style-basic {\n width: 100%;\n}\na.vce-button--style-basic,\nbutton.vce-button--style-basic {\n background-color: transparent;\n background-image: none;\n border: none;\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n margin: 0;\n max-width: 100%;\n position: relative;\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n white-space: normal;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: normal;\n border-radius: 0;\n transition: all 0.2s ease-in-out;\n}\na.vce-button--style-basic:hover,\nbutton.vce-button--style-basic:hover,\na.vce-button--style-basic:focus,\nbutton.vce-button--style-basic:focus {\n text-decoration: none;\n outline: none;\n}\nbutton.vce-button--style-basic {\n -webkit-appearance: none;\n}\n.vce-button--style-basic.vce-button--style-basic--size-small {\n font-size: 11px;\n padding: 10px 30px;\n}\n.vce-button--style-basic.vce-button--style-basic--size-medium {\n font-size: 16px;\n padding: 15px 43px;\n}\n.vce-button--style-basic.vce-button--style-basic--size-large {\n font-size: 21px;\n padding: 20px 56px;\n}\na.vce-button--style-basic--border-rounded,\na.vce-button--style-basic--border-round,\na.vce-button--style-basic--border-square,\nbutton.vce-button--style-basic--border-rounded,\nbutton.vce-button--style-basic--border-round,\nbutton.vce-button--style-basic--border-square {\n position: relative;\n overflow: hidden;\n}\n.vce-button--style-basic--border-rounded,\na.vce-button--style-basic--border-rounded,\nbutton.vce-button--style-basic--border-rounded {\n border-radius: 5px;\n}\n.vce-button--style-basic--border-round,\na.vce-button--style-basic--border-round,\nbutton.vce-button--style-basic--border-round {\n border-radius: 4em;\n}\n.vce-button--style-basic--border-square,\na.vce-button--style-basic--border-square,\nbutton.vce-button--style-basic--border-square {\n border-radius: 0;\n}\n.rtl.vce-button--style-basic,\n[dir="rlt"].vce-button--style-basic,\n.rtl .vce-button--style-basic,\n[dir="rlt"] .vce-button--style-basic {\n direction: rtl;\n unicode-bidi: embed;\n}\n.ltr.vce-button--style-basic,\n[dir="ltr"].vce-button--style-basic,\n.ltr .vce-button--style-basic,\n[dir="ltr"] .vce-button--style-basic {\n direction: ltr;\n unicode-bidi: normal;\n}\n'}},[["./basicButton/index.js"]]]);
elements/basicButton/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/column/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./column/index.js":function(e,n,t){"use strict";t.r(n);var l=t("./node_modules/@babel/runtime/helpers/typeof.js"),a=t.n(l),o=t("./node_modules/vc-cake/index.js"),c=t("./node_modules/@babel/runtime/helpers/extends.js"),i=t.n(c),s=t("./node_modules/@babel/runtime/helpers/defineProperty.js"),r=t.n(s),d=t("./node_modules/@babel/runtime/helpers/classCallCheck.js"),p=t.n(d),u=t("./node_modules/@babel/runtime/helpers/createClass.js"),v=t.n(u),m=t("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),h=t.n(m),f=t("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),x=t.n(f),g=t("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),b=t.n(g),y=t("./node_modules/@babel/runtime/helpers/inherits.js"),w=t.n(y),O=t("./node_modules/react/index.js"),j=t.n(O),k=t("./node_modules/classnames/index.js"),S=t.n(k),C=function(e,n,t,l,a){var o=l.get(t),c=l.children(t),i=[],s=function(e){var n=e.designOptionsAdvanced,t=!1,l={};if(n&&n.device){var a=!1;for(var o in n.device)Object.prototype.hasOwnProperty.call(n.device,o)&&(a=!0);if(!a)return;if(Object.prototype.hasOwnProperty.call(n.device,"all")){var c=n.device.all;(c.backgroundColor||"string"==typeof c.images||c.images&&c.images.urls&&c.images.urls.length)&&(l.all=!0,t=!0)}else for(var s in n.device)if(Object.prototype.hasOwnProperty.call(n.device,s)){var r=n.device[s];(r.backgroundColor||"string"==typeof r.images||r.images&&r.images.urls&&r.images.urls.length)&&(l[s]=!0,t=!0)}t&&i.push(l)}};c.forEach((function(e){n&&e.id===n.id?s(n):s(e)})),o.columnBackground=i.reduce((function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}),{}),window.setTimeout((function(){l.update(o.id,o),a.trigger("update",t,o,"",{silent:!0})}),0)};function R(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?R(Object(t),!0).forEach((function(n){r()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):R(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function I(){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}}var P=Object(o.getService)("api"),_=Object(o.getStorage)("elementsSettings"),D=Object(o.getStorage)("fieldOptions"),z=_.state("extendedOptions"),A=Object(o.getService)("document"),T=Object(o.getStorage)("elements"),U=function(e){w()(l,e);var n,t=(n=l,function(){var e,t=b()(n);if(I()){var l=b()(this).constructor;e=Reflect.construct(t,arguments,l)}else e=t.apply(this,arguments);return x()(this,e)});function l(e){var n;return p()(this,l),(n=t.call(this,e)).parentId=e.atts.parent,n.columnRef=j.a.createRef(),n.handleStorageChange=n.handleStorageChange.bind(h()(n)),n.handleElementUpdate=n.handleElementUpdate.bind(h()(n)),n.handleElementRemove=n.handleElementRemove.bind(h()(n)),n.handleElementMove=n.handleElementMove.bind(h()(n)),n}return v()(l,[{key:"componentDidMount",value:function(){var e=z.get();if(!e||e&&!e.elements.includes(this.props.id)){z.onChange(this.handleStorageChange);var n={fieldKey:!1,fieldType:!1,id:this.props.id};D.trigger("fieldOptionsChange",n)}T.on("update",this.handleElementUpdate),T.on("remove",this.handleElementRemove),T.on("element:move:".concat(this.props.id),this.handleElementMove)}},{key:"componentWillUnmount",value:function(){T.off("update",this.handleElementUpdate),T.off("remove",this.handleElementRemove),T.off("element:move:".concat(this.props.id),this.handleElementMove)}},{key:"componentDidUpdate",value:function(){this.handleStorageChange(!1)}},{key:"handleElementUpdate",value:function(e,n){e===this.props.id&&C(0,n,n.parent,A,T)}},{key:"handleElementRemove",value:function(e){if(e===this.props.id){var n=A.get(this.props.id);C(0,n,this.props.atts.parent,A,T)}}},{key:"handleElementMove",value:function(e){C(e.id,e,e.parent,A,T);var n=A.get(this.props.id);C(n.id,n,n.parent,A,T)}},{key:"handleStorageChange",value:function(e){var n=this,t=z.get();if(e&&(t=e,z.ignoreChange(this.handleStorageChange)),t){var l=t.elements.find((function(e){return e.id===n.props.id}));if(l){var a=this.columnRef.current;_.state("elementOptions").set(E({},l,{ref:a}))}}}},{key:"render",value:function(){var e=this.props,n=e.id,t=e.atts,l=e.editor,a=e.isBackend,o=t.size,c=t.customClass,s=t.metaCustomId,r=t.designOptionsAdvanced,d=t.lastInRow,p=t.firstInRow,u=t.hidden,v=t.disableStacking,m=t.sticky,h=t.boxShadow,f={},x={},g=["vce-col"];g.push(this.getBackgroundClass(r)),u&&a&&g.push("vce-wpbackend-element-hidden"),v?(g.push("vce-col--xs-"+(o.all?o.all.replace("/","-").replace("%","p").replace(",","-").replace(".","-"):"auto")),d.all&&g.push("vce-col--all-last"),p.all&&g.push("vce-col--all-first")):o.all?"hide"===o.all?g.push("vce-col--all-hide"):(g.push("vce-col--md-"+(o.all?o.all.replace("/","-").replace("%","p").replace(",","-").replace(".","-"):"auto")),g.push("vce-col--xs-1 vce-col--xs-last vce-col--xs-first vce-col--sm-last vce-col--sm-first"),d.all&&g.push("vce-col--md-last vce-col--lg-last vce-col--xl-last"),p.all&&g.push("vce-col--md-first vce-col--lg-first vce-col--xl-first")):Object.keys(o).forEach((function(e){var n=o[e];""===n&&(n="auto"),"defaultSize"!==e&&(g.push("vce-col--".concat(e,"-")+(n?n.replace("/","-").replace("%","p").replace(",","-").replace(".","-"):"auto")),"hide"!==n&&g.push("vce-col--".concat(e,"-visible")),d[e]&&g.push("vce-col--".concat(e,"-last")),p[e]&&g.push("vce-col--".concat(e,"-first")))})),"string"==typeof c&&c.length&&g.push(c);var b=S()(g);s&&(x.id=s);var y={};m&&m.device&&(y=this.getStickyAttributes(m));var w={};h&&h.device&&(w=this.getBoxShadowAttributes(h,n)),f["data-vce-delete-attr"]="style",x["data-vce-delete-attr"]="style",x=E({},x,{},y);var O={"data-vce-element-content":!0},k=this.applyDO("padding"),C=this.applyDO("border margin background animation");return j.a.createElement("div",i()({className:b},f,{id:"el-"+n},l,{ref:this.columnRef}),j.a.createElement("div",i()({className:"vce-col-inner"},C,x,w),this.getBackgroundTypeContent(),this.getContainerDivider(),j.a.createElement("div",i()({className:"vce-col-content"},O,k),this.props.children)))}}]),l}(P.elementComponent),B=t("./node_modules/lodash/lodash.js"),M=t.n(B);(0,Object(o.getService)("cook").add)(t("./column/settings.json"),(function(e){e.add(U)}),{css:t("./node_modules/raw-loader/index.js!./column/styles.css"),editorCss:t("./node_modules/raw-loader/index.js!./column/editor.css")},(function(e){var n=e.size,t=e.lastInRow,l=e.firstInRow,o=e.designOptionsAdvanced;if(n&&"object"!==a()(n)?e.size={all:n,defaultSize:n}:""===n&&(e.size={}),t&&"object"!==a()(t)?e.lastInRow={all:t}:""===t&&(e.lastInRow={}),l&&"object"!==a()(l)?e.firstInRow={all:l}:""===l&&(e.firstInRow={}),o&&o.device){var c={},i={};if(Object.keys(o.device).forEach((function(e){var n=o.device[e],t=Object.assign({},n);if(n.parallax){var l={parallaxEnable:!0,parallax:n.parallax};Object.prototype.hasOwnProperty.call(n,"parallaxReverse")&&(l.parallaxReverse=n.parallaxReverse),Object.prototype.hasOwnProperty.call(n,"parallaxSpeed")&&(l.parallaxSpeed=n.parallaxSpeed),c[e]=l,delete t.parallax,delete t.parallaxReverse,delete t.parallaxSpeed,i[e]=t}})),!M.a.isEmpty(c)){e.parallax={device:c};var s=Object.assign({},o);s.device=i,e.designOptionsAdvanced=s}}return e}))},"./column/settings.json":function(e){e.exports=JSON.parse('{"size":{"type":"object","access":"public","value":{"all":"auto","defaultSize":"auto"}},"disableStacking":{"type":"string","access":"public","value":false},"lastInRow":{"type":"object","access":"public","value":{"all":false}},"firstInRow":{"type":"object","access":"public","value":{"all":false}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"parallax":{"type":"parallax","access":"public","value":{},"options":{"label":"Parallax"}},"designOptionsAdvanced":{"type":"designOptionsAdvanced","access":"public","value":{},"options":{"label":"Design Options"}},"sticky":{"type":"sticky","access":"public","value":{},"options":{"label":"Sticky"}},"editFormTab1":{"type":"group","access":"protected","value":["metaCustomId","customClass"],"options":{"label":"General"}},"dividers":{"type":"divider","access":"public","value":{},"options":{"label":"Dividers"}},"boxShadow":{"type":"boxShadow","access":"public","value":{},"options":{"label":"Box Shadow"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptionsAdvanced","parallax","boxShadow","dividers","sticky"]},"containerFor":{"type":"group","access":"protected","value":["General"]},"relatedTo":{"type":"group","access":"protected","value":["Column"]},"parentWrapper":{"type":"string","access":"protected","value":"row"},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"column"},"hidden":{"type":"string","access":"public","value":false}}')},"./node_modules/raw-loader/index.js!./column/editor.css":function(e,n){e.exports=".vce-col {\n min-height: 1em;\n}\n\n.vce-col-content > .vcv-row-control-container .vcv-ui-blank-row-element-control {\n min-height: auto;\n}"},"./node_modules/raw-loader/index.js!./column/styles.css":function(e,n){e.exports="/* ----------------------------------------------\n * Column\n * ---------------------------------------------- */\n.vce-col {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n box-sizing: border-box;\n display: -ms-flexbox;\n display: flex;\n min-width: 1em;\n position: relative;\n}\n.vce-col--auto {\n -ms-flex: 1;\n flex: 1;\n -ms-flex-preferred-size: auto;\n flex-basis: auto;\n}\n.vce-col-inner,\n.vce-col-content {\n position: relative;\n overflow-wrap: break-word;\n transition: box-shadow .2s;\n}\n\n.vce-col-inner {\n width: 100%;\n}\n.vce-col-direction--rtl {\n direction: rtl;\n}\n.vce-element--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n}\n.vce-col.vce-col--all-hide {\n display: none;\n}\n\n/* styles for mobile-portrait */\n@media (min-width: 0) {\n .vce-col--xs-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: auto;\n }\n .vce-col--xs-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--xs-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--xs-hide {\n display: none;\n }\n}\n\n.vce-row-container > .vce-row > .vce-row-content > .vce-col > .vce-col-inner {\n padding: 0;\n}\n\n/* styles for mobile-landscape */\n@media (min-width: 544px) {\n .vce-col--sm-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: auto;\n }\n .vce-col--sm-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--sm-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--sm-hide {\n display: none;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 768px) {\n .vce-col--md-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: auto;\n }\n .vce-col--md-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--md-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--md-hide {\n display: none;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 992px) {\n .vce-col--lg-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: 1px;\n }\n .vce-col--lg-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--lg-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--lg-hide {\n display: none;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 1200px) {\n .vce-col--xl-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: auto;\n }\n .vce-col--xl-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--xl-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--xl-hide {\n display: none;\n }\n}\n@media (min-width: 0) and (max-width: 543px) {\n .vce-element--xs--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n@media (min-width: 544px) and (max-width: 767px) {\n .vce-element--sm--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .vce-element--md--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .vce-element--lg--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n@media (min-width: 1200px) {\n .vce-element--xl--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n"}},[["./column/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./column/index.js":function(e,n,t){"use strict";t.r(n);var l=t("./node_modules/@babel/runtime/helpers/typeof.js"),a=t.n(l),o=t("./node_modules/vc-cake/index.js"),c=t("./node_modules/@babel/runtime/helpers/extends.js"),i=t.n(c),s=t("./node_modules/@babel/runtime/helpers/defineProperty.js"),r=t.n(s),d=t("./node_modules/@babel/runtime/helpers/classCallCheck.js"),p=t.n(d),u=t("./node_modules/@babel/runtime/helpers/createClass.js"),v=t.n(u),m=t("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),h=t.n(m),f=t("./node_modules/@babel/runtime/helpers/inherits.js"),x=t.n(f),g=t("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),b=t.n(g),y=t("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),w=t.n(y),O=t("./node_modules/react/index.js"),j=t.n(O),k=t("./node_modules/classnames/index.js"),S=t.n(k),C=function(e,n,t,l,a){var o=l.get(t),c=l.children(t),i=[],s=function(e){var n=e.designOptionsAdvanced,t=!1,l={};if(n&&n.device){var a=!1;for(var o in n.device)Object.prototype.hasOwnProperty.call(n.device,o)&&(a=!0);if(!a)return;if(Object.prototype.hasOwnProperty.call(n.device,"all")){var c=n.device.all;(c.backgroundColor||"string"==typeof c.images||c.images&&c.images.urls&&c.images.urls.length)&&(l.all=!0,t=!0)}else for(var s in n.device)if(Object.prototype.hasOwnProperty.call(n.device,s)){var r=n.device[s];(r.backgroundColor||"string"==typeof r.images||r.images&&r.images.urls&&r.images.urls.length)&&(l[s]=!0,t=!0)}t&&i.push(l)}};c.forEach((function(e){n&&e.id===n.id?s(n):s(e)})),o.columnBackground=i.reduce((function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}),{}),window.setTimeout((function(){l.update(o.id,o),a.trigger("update",t,o,"",{silent:!0})}),0)};function R(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?R(Object(t),!0).forEach((function(n){r()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):R(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function I(e){var n=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 t,l=w()(e);if(n){var a=w()(this).constructor;t=Reflect.construct(l,arguments,a)}else t=l.apply(this,arguments);return b()(this,t)}}var P=Object(o.getService)("api"),_=Object(o.getStorage)("elementsSettings"),D=Object(o.getStorage)("fieldOptions"),z=_.state("extendedOptions"),A=Object(o.getService)("document"),T=Object(o.getStorage)("elements"),U=function(e){x()(t,e);var n=I(t);function t(e){var l;return p()(this,t),(l=n.call(this,e)).parentId=e.atts.parent,l.columnRef=j.a.createRef(),l.handleStorageChange=l.handleStorageChange.bind(h()(l)),l.handleElementUpdate=l.handleElementUpdate.bind(h()(l)),l.handleElementRemove=l.handleElementRemove.bind(h()(l)),l.handleElementMove=l.handleElementMove.bind(h()(l)),l}return v()(t,[{key:"componentDidMount",value:function(){var e=z.get();if(!e||e&&!e.elements.includes(this.props.id)){z.onChange(this.handleStorageChange);var n={fieldKey:!1,fieldType:!1,id:this.props.id};D.trigger("fieldOptionsChange",n)}T.on("update",this.handleElementUpdate),T.on("remove",this.handleElementRemove),T.on("element:move:".concat(this.props.id),this.handleElementMove)}},{key:"componentWillUnmount",value:function(){T.off("update",this.handleElementUpdate),T.off("remove",this.handleElementRemove),T.off("element:move:".concat(this.props.id),this.handleElementMove)}},{key:"componentDidUpdate",value:function(){this.handleStorageChange(!1)}},{key:"handleElementUpdate",value:function(e,n){e===this.props.id&&C(0,n,n.parent,A,T)}},{key:"handleElementRemove",value:function(e){if(e===this.props.id){var n=A.get(this.props.id);C(0,n,this.props.atts.parent,A,T)}}},{key:"handleElementMove",value:function(e){C(e.id,e,e.parent,A,T);var n=A.get(this.props.id);C(n.id,n,n.parent,A,T)}},{key:"handleStorageChange",value:function(e){var n=this,t=z.get();if(e&&(t=e,z.ignoreChange(this.handleStorageChange)),t){var l=t.elements.find((function(e){return e.id===n.props.id}));if(l){var a=this.columnRef.current;_.state("elementOptions").set(E(E({},l),{},{ref:a}))}}}},{key:"render",value:function(){var e=this.props,n=e.id,t=e.atts,l=e.editor,a=e.isBackend,o=t.size,c=t.customClass,s=t.metaCustomId,r=t.designOptionsAdvanced,d=t.lastInRow,p=t.firstInRow,u=t.hidden,v=t.disableStacking,m=t.sticky,h=t.boxShadow,f={},x={},g=["vce-col"];g.push(this.getBackgroundClass(r)),u&&a&&g.push("vce-wpbackend-element-hidden"),v?(g.push("vce-col--xs-"+(o.all?o.all.replace("/","-").replace("%","p").replace(",","-").replace(".","-"):"auto")),d.all&&g.push("vce-col--all-last"),p.all&&g.push("vce-col--all-first")):o.all?"hide"===o.all?g.push("vce-col--all-hide"):(g.push("vce-col--md-"+(o.all?o.all.replace("/","-").replace("%","p").replace(",","-").replace(".","-"):"auto")),g.push("vce-col--xs-1 vce-col--xs-last vce-col--xs-first vce-col--sm-last vce-col--sm-first"),d.all&&g.push("vce-col--md-last vce-col--lg-last vce-col--xl-last"),p.all&&g.push("vce-col--md-first vce-col--lg-first vce-col--xl-first")):Object.keys(o).forEach((function(e){var n=o[e];""===n&&(n="auto"),"defaultSize"!==e&&(g.push("vce-col--".concat(e,"-")+(n?n.replace("/","-").replace("%","p").replace(",","-").replace(".","-"):"auto")),"hide"!==n&&g.push("vce-col--".concat(e,"-visible")),d[e]&&g.push("vce-col--".concat(e,"-last")),p[e]&&g.push("vce-col--".concat(e,"-first")))})),"string"==typeof c&&c.length&&g.push(c);var b=S()(g);s&&(x.id=s);var y={};m&&m.device&&(y=this.getStickyAttributes(m));var w={};h&&h.device&&(w=this.getBoxShadowAttributes(h,n)),f["data-vce-delete-attr"]="style",x["data-vce-delete-attr"]="style",x=E(E({},x),y);var O={"data-vce-element-content":!0},k=this.applyDO("padding"),C=this.applyDO("border margin background animation");return j.a.createElement("div",i()({className:b},f,{id:"el-"+n},l,{ref:this.columnRef}),j.a.createElement("div",i()({className:"vce-col-inner"},C,x,w),this.getBackgroundTypeContent(),this.getContainerDivider(),j.a.createElement("div",i()({className:"vce-col-content"},O,k),this.props.children)))}}]),t}(P.elementComponent),B=t("./node_modules/lodash/lodash.js"),M=t.n(B);(0,Object(o.getService)("cook").add)(t("./column/settings.json"),(function(e){e.add(U)}),{css:t("./node_modules/raw-loader/index.js!./column/styles.css"),editorCss:t("./node_modules/raw-loader/index.js!./column/editor.css")},(function(e){var n=e.size,t=e.lastInRow,l=e.firstInRow,o=e.designOptionsAdvanced;if(n&&"object"!==a()(n)?e.size={all:n,defaultSize:n}:""===n&&(e.size={}),t&&"object"!==a()(t)?e.lastInRow={all:t}:""===t&&(e.lastInRow={}),l&&"object"!==a()(l)?e.firstInRow={all:l}:""===l&&(e.firstInRow={}),o&&o.device){var c={},i={};if(Object.keys(o.device).forEach((function(e){var n=o.device[e],t=Object.assign({},n);if(n.parallax){var l={parallaxEnable:!0,parallax:n.parallax};Object.prototype.hasOwnProperty.call(n,"parallaxReverse")&&(l.parallaxReverse=n.parallaxReverse),Object.prototype.hasOwnProperty.call(n,"parallaxSpeed")&&(l.parallaxSpeed=n.parallaxSpeed),c[e]=l,delete t.parallax,delete t.parallaxReverse,delete t.parallaxSpeed,i[e]=t}})),!M.a.isEmpty(c)){e.parallax={device:c};var s=Object.assign({},o);s.device=i,e.designOptionsAdvanced=s}}return e}))},"./column/settings.json":function(e){e.exports=JSON.parse('{"size":{"type":"object","access":"public","value":{"all":"auto","defaultSize":"auto"}},"disableStacking":{"type":"string","access":"public","value":false},"lastInRow":{"type":"object","access":"public","value":{"all":false}},"firstInRow":{"type":"object","access":"public","value":{"all":false}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"parallax":{"type":"parallax","access":"public","value":{},"options":{"label":"Parallax"}},"designOptionsAdvanced":{"type":"designOptionsAdvanced","access":"public","value":{},"options":{"label":"Design Options"}},"sticky":{"type":"sticky","access":"public","value":{},"options":{"label":"Sticky"}},"editFormTab1":{"type":"group","access":"protected","value":["metaCustomId","customClass"],"options":{"label":"General"}},"dividers":{"type":"divider","access":"public","value":{},"options":{"label":"Dividers"}},"boxShadow":{"type":"boxShadow","access":"public","value":{},"options":{"label":"Box Shadow"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptionsAdvanced","parallax","boxShadow","dividers","sticky"]},"containerFor":{"type":"group","access":"protected","value":["General"]},"relatedTo":{"type":"group","access":"protected","value":["Column"]},"parentWrapper":{"type":"string","access":"protected","value":"row"},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"column"},"hidden":{"type":"string","access":"public","value":false}}')},"./node_modules/raw-loader/index.js!./column/editor.css":function(e,n){e.exports=".vce-col {\n min-height: 1em;\n}\n\n.vce-col-content > .vcv-row-control-container .vcv-ui-blank-row-element-control {\n min-height: auto;\n}"},"./node_modules/raw-loader/index.js!./column/styles.css":function(e,n){e.exports="/* ----------------------------------------------\n * Column\n * ---------------------------------------------- */\n.vce-col {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n box-sizing: border-box;\n display: -ms-flexbox;\n display: flex;\n min-width: 1em;\n position: relative;\n}\n.vce-col--auto {\n -ms-flex: 1;\n flex: 1;\n -ms-flex-preferred-size: auto;\n flex-basis: auto;\n}\n.vce-col-inner,\n.vce-col-content {\n position: relative;\n overflow-wrap: break-word;\n transition: box-shadow .2s;\n}\n\n.vce-col-inner {\n width: 100%;\n}\n.vce-col-direction--rtl {\n direction: rtl;\n}\n.vce-element--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n}\n.vce-col.vce-col--all-hide {\n display: none;\n}\n\n/* styles for mobile-portrait */\n@media (min-width: 0) {\n .vce-col--xs-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: auto;\n }\n .vce-col--xs-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--xs-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--xs-hide {\n display: none;\n }\n}\n\n.vce-row-container > .vce-row > .vce-row-content > .vce-col > .vce-col-inner {\n padding: 0;\n}\n\n/* styles for mobile-landscape */\n@media (min-width: 544px) {\n .vce-col--sm-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: auto;\n }\n .vce-col--sm-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--sm-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--sm-hide {\n display: none;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 768px) {\n .vce-col--md-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: auto;\n }\n .vce-col--md-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--md-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--md-hide {\n display: none;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 992px) {\n .vce-col--lg-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: 1px;\n }\n .vce-col--lg-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--lg-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--lg-hide {\n display: none;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 1200px) {\n .vce-col--xl-auto {\n -ms-flex: 1 1 0;\n flex: 1 1 0;\n width: auto;\n }\n .vce-col--xl-1 {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n }\n .vce-col.vce-col--xl-visible {\n display: -ms-flexbox;\n display: flex;\n }\n .vce-col.vce-col--xl-hide {\n display: none;\n }\n}\n@media (min-width: 0) and (max-width: 543px) {\n .vce-element--xs--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n@media (min-width: 544px) and (max-width: 767px) {\n .vce-element--sm--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .vce-element--md--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .vce-element--lg--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n@media (min-width: 1200px) {\n .vce-element--xl--has-background > .vce-col-inner > .vce-col-content {\n padding-top: 30px;\n padding-left: 30px;\n padding-right: 30px;\n }\n}\n"}},[["./column/index.js"]]]);
elements/column/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/googleFontsHeading/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./googleFontsHeading/index.js":function(e,n,t){"use strict";t.r(n);var o=t("./node_modules/vc-cake/index.js"),l=t.n(o),i=t("./node_modules/@babel/runtime/helpers/extends.js"),a=t.n(i),s=t("./node_modules/@babel/runtime/helpers/classCallCheck.js"),r=t.n(s),c=t("./node_modules/@babel/runtime/helpers/createClass.js"),g=t.n(c),d=t("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),u=t.n(d),p=t("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),f=t.n(p),v=t("./node_modules/@babel/runtime/helpers/inherits.js"),m=t.n(v),h=t("./node_modules/react/index.js"),y=t.n(h);function b(){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}}var x=function(e){m()(o,e);var n,t=(n=o,function(){var e,t=f()(n);if(b()){var o=f()(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return u()(this,e)});function o(){return r()(this,o),t.apply(this,arguments)}return g()(o,[{key:"validateSize",value:function(e){var n=new RegExp("^-?\\d*(\\.\\d{0,9})?("+["px","em","rem","%","vw","vh"].join("|")+")?$");return""===e||e.match(n)?e:null}},{key:"render",value:function(){var e=this.props,n=e.id,t=e.atts,o=e.editor,l=t.text,i=t.elementTag,s=t.font,r=t.fontSize,c=t.alignment,g=t.lineHeight,d=t.letterSpacing,u=t.link,p=t.colorType,f=t.customClass,v=t.metaCustomId,m="vce-google-fonts-heading",h={},b={style:{}},x=i,k=l;if(u&&u.url){var F={href:u.url,title:u.title,target:u.targetBlank?"_blank":void 0,rel:u.relNofollow?"nofollow":void 0};k=y.a.createElement("a",a()({className:"vce-google-fonts-heading-link"},F),k)}"string"==typeof f&&f&&(m+=" "+f),r&&(r=this.validateSize(r))&&(r=/^\d+$/.test(r)?r+"px":r,b.style.fontSize=r),g&&(g=this.validateSize(g))&&(b.style.lineHeight=g),d&&(d=this.validateSize(d))&&(d=/^\d+$/.test(d)?d+"px":d,b.style.letterSpacing=d),c&&(m+=" vce-google-fonts-heading--align-".concat(c));var w=this.getMixinData("textColor");if(w)switch(p){case"gradient":m+=" vce-google-fonts-heading--gradient-".concat(w.selector);break;case"color":m+=" vce-google-fonts-heading--color-".concat(w.selector);break;default:console.warn("There was an issue assigning color type!")}if((w=this.getMixinData("fontFamily"))&&(m+=" vce-google-fonts-heading--font-family-".concat(w.selector)),s&&"active"===s.status){var S=s.fontStyle?"regular"===s.fontStyle.style?null:s.fontStyle.style:null;b.style.fontWeight=s.fontStyle?s.fontStyle.weight:null,b.style.fontStyle=S}v&&(h.id=v);var C=this.applyDO("border background animation padding margin");return y.a.createElement("div",a()({},h,{className:m},o),y.a.createElement("div",{className:"vce-google-fonts-heading-wrapper"},y.a.createElement("div",a()({className:"vce-google-fonts-heading--background vce",id:"el-"+n},C),y.a.createElement(x,a()({className:"vce-google-fonts-heading-inner"},b),k))))}}]),o}(l.a.getService("api").elementComponent);(0,l.a.getService("cook").add)(t("./googleFontsHeading/settings.json"),(function(e){e.add(x)}),{css:t("./node_modules/raw-loader/index.js!./googleFontsHeading/styles.css"),editorCss:t("./node_modules/raw-loader/index.js!./googleFontsHeading/editor.css"),mixins:{textColor:{mixin:t("./node_modules/raw-loader/index.js!./googleFontsHeading/cssMixins/textColor.pcss")},fontFamily:{mixin:t("./node_modules/raw-loader/index.js!./googleFontsHeading/cssMixins/fontFamily.pcss")}}},"")},"./googleFontsHeading/settings.json":function(e){e.exports=JSON.parse('{"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["text","font","elementTag","colorType","color","gradientStart","gradientEnd","gradientAngle","fontSize","alignment","lineHeight","letterSpacing","link","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"text":{"type":"string","access":"public","value":"The sky was cloudless and of a deep dark blue.","options":{"label":"Title text","inline":true,"inlineMode":"text","dynamicField":true}},"font":{"type":"googleFonts","access":"public","value":{"fontFamily":"Lato","fontStyle":{"weight":"400","style":"regular"},"status":"active","fontText":"The sky was cloudless and of a deep dark blue."},"options":{"label":"","cssMixin":{"mixin":"fontFamily","property":"fontFamily","namePattern":"[a-z]+","valueKey":"fontFamily"}}},"elementTag":{"type":"dropdown","access":"public","value":"h2","options":{"label":"Element tag","values":[{"label":"h1","value":"h1"},{"label":"h2","value":"h2"},{"label":"h3","value":"h3"},{"label":"h4","value":"h4"},{"label":"h5","value":"h5"},{"label":"h6","value":"h6"},{"label":"p","value":"p"},{"label":"div","value":"div"}]}},"colorType":{"type":"dropdown","access":"public","value":"color","options":{"label":"Gradient overlay type","values":[{"label":"Color","value":"color"},{"label":"Gradient","value":"gradient"}]}},"color":{"type":"color","access":"public","value":"","options":{"label":"Title color","cssMixin":{"mixin":"textColor","property":"color","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"colorType":{"rule":"value","options":{"value":"color"}}},"actions":[{"action":"toggleVisibility"}]}}},"gradientStart":{"type":"color","access":"public","value":" #FF7200","options":{"label":"Start color","cssMixin":{"mixin":"textColor","property":"gradientStart","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"colorType":{"rule":"value","options":{"value":"gradient"}}},"actions":[{"action":"toggleVisibility"}]}}},"gradientEnd":{"type":"color","access":"public","value":" #5C00FF","options":{"label":"End color","cssMixin":{"mixin":"textColor","property":"gradientEnd","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"colorType":{"rule":"value","options":{"value":"gradient"}}},"actions":[{"action":"toggleVisibility"}]}}},"gradientAngle":{"type":"range","access":"public","value":"45","options":{"label":"Gradient angle","cssMixin":{"mixin":"textColor","property":"gradientAngle","namePattern":"[\\\\d\\\\-]+"},"min":0,"max":180,"measurement":"°","onChange":{"rules":{"colorType":{"rule":"value","options":{"value":"gradient"}}},"actions":[{"action":"toggleVisibility"}]}}},"fontSize":{"type":"string","access":"public","value":"","options":{"label":"Font size"}},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"lineHeight":{"type":"string","access":"public","value":"","options":{"label":"Line height"}},"letterSpacing":{"type":"string","access":"public","value":"","options":{"label":"Letter spacing"}},"link":{"type":"url","access":"public","value":{"url":"","title":"","targetBlank":true,"relNofollow":false},"options":{"label":"Link selection","dynamicField":true}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"type":"string","access":"protected","value":"googleFontsHeading"}}')},"./node_modules/raw-loader/index.js!./googleFontsHeading/cssMixins/fontFamily.pcss":function(e,n){e.exports=".vce-google-fonts-heading {\n &--font-family-$selector {\n .vce-google-fonts-heading-inner {\n @if $fontFamily != false {\n font-family: $fontFamily;\n }\n }\n }\n}\n"},"./node_modules/raw-loader/index.js!./googleFontsHeading/cssMixins/textColor.pcss":function(e,n){e.exports=".vce-google-fonts-heading {\n &--color-$selector {\n .vce-google-fonts-heading-inner {\n @if $color != false {\n color: $color;\n }\n }\n }\n &--gradient-$selector {\n .vce-google-fonts-heading-inner {\n @if $gradientStart != false {\n background-image: linear-gradient($(gradientAngle)deg, $gradientStart, $gradientEnd);\n background-clip: text;\n -webkit-background-clip: text;\n color: transparent;\n }\n }\n }\n}\n"},"./node_modules/raw-loader/index.js!./googleFontsHeading/editor.css":function(e,n){e.exports=".vce-google-fonts-heading {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./googleFontsHeading/styles.css":function(e,n){e.exports=".vce-google-fonts-heading-inner {\n padding: 0;\n margin-bottom: 0;\n}\n\n.vce-google-fonts-heading-inner .medium-editor-placeholder {\n background: inherit;\n}\n\n.vce-google-fonts-heading-wrapper {\n max-width: 100%;\n display: inline-block;\n}\n\n.vce-google-fonts-heading-link,\n.vce-google-fonts-heading-link:hover,\n.vce-google-fonts-heading-link:focus,\n.vce-google-fonts-heading-link:visited {\n border: none;\n text-decoration: inherit;\n color: inherit;\n background: inherit;\n}\n\n.vce-google-fonts-heading--align-center {\n text-align: center;\n}\n\n.vce-google-fonts-heading--align-right {\n text-align: right;\n}\n\n.vce-google-fonts-heading--align-left {\n text-align: left;\n}\n\n"}},[["./googleFontsHeading/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./googleFontsHeading/index.js":function(e,n,t){"use strict";t.r(n);var o=t("./node_modules/vc-cake/index.js"),l=t.n(o),i=t("./node_modules/@babel/runtime/helpers/extends.js"),a=t.n(i),s=t("./node_modules/@babel/runtime/helpers/classCallCheck.js"),r=t.n(s),c=t("./node_modules/@babel/runtime/helpers/createClass.js"),g=t.n(c),d=t("./node_modules/@babel/runtime/helpers/inherits.js"),u=t.n(d),p=t("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=t.n(p),v=t("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),m=t.n(v),h=t("./node_modules/react/index.js"),y=t.n(h);function b(e){var n=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 t,o=m()(e);if(n){var l=m()(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return f()(this,t)}}var x=function(e){u()(t,e);var n=b(t);function t(){return r()(this,t),n.apply(this,arguments)}return g()(t,[{key:"validateSize",value:function(e){var n=new RegExp("^-?\\d*(\\.\\d{0,9})?("+["px","em","rem","%","vw","vh"].join("|")+")?$");return""===e||e.match(n)?e:null}},{key:"render",value:function(){var e=this.props,n=e.id,t=e.atts,o=e.editor,l=t.text,i=t.elementTag,s=t.font,r=t.fontSize,c=t.alignment,g=t.lineHeight,d=t.letterSpacing,u=t.link,p=t.colorType,f=t.customClass,v=t.metaCustomId,m="vce-google-fonts-heading",h={},b={style:{}},x=i,k=l;if(u&&u.url){var F={href:u.url,title:u.title,target:u.targetBlank?"_blank":void 0,rel:u.relNofollow?"nofollow":void 0};k=y.a.createElement("a",a()({className:"vce-google-fonts-heading-link"},F),k)}"string"==typeof f&&f&&(m+=" "+f),r&&(r=this.validateSize(r))&&(r=/^\d+$/.test(r)?r+"px":r,b.style.fontSize=r),g&&(g=this.validateSize(g))&&(b.style.lineHeight=g),d&&(d=this.validateSize(d))&&(d=/^\d+$/.test(d)?d+"px":d,b.style.letterSpacing=d),c&&(m+=" vce-google-fonts-heading--align-".concat(c));var w=this.getMixinData("textColor");if(w)switch(p){case"gradient":m+=" vce-google-fonts-heading--gradient-".concat(w.selector);break;case"color":m+=" vce-google-fonts-heading--color-".concat(w.selector);break;default:console.warn("There was an issue assigning color type!")}if((w=this.getMixinData("fontFamily"))&&(m+=" vce-google-fonts-heading--font-family-".concat(w.selector)),s&&"active"===s.status){var S=s.fontStyle?"regular"===s.fontStyle.style?null:s.fontStyle.style:null;b.style.fontWeight=s.fontStyle?s.fontStyle.weight:null,b.style.fontStyle=S}v&&(h.id=v);var C=this.applyDO("border background animation padding margin");return y.a.createElement("div",a()({},h,{className:m},o),y.a.createElement("div",{className:"vce-google-fonts-heading-wrapper"},y.a.createElement("div",a()({className:"vce-google-fonts-heading--background vce",id:"el-"+n},C),y.a.createElement(x,a()({className:"vce-google-fonts-heading-inner"},b),k))))}}]),t}(l.a.getService("api").elementComponent);(0,l.a.getService("cook").add)(t("./googleFontsHeading/settings.json"),(function(e){e.add(x)}),{css:t("./node_modules/raw-loader/index.js!./googleFontsHeading/styles.css"),editorCss:t("./node_modules/raw-loader/index.js!./googleFontsHeading/editor.css"),mixins:{textColor:{mixin:t("./node_modules/raw-loader/index.js!./googleFontsHeading/cssMixins/textColor.pcss")},fontFamily:{mixin:t("./node_modules/raw-loader/index.js!./googleFontsHeading/cssMixins/fontFamily.pcss")}}},"")},"./googleFontsHeading/settings.json":function(e){e.exports=JSON.parse('{"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["text","font","elementTag","colorType","color","gradientStart","gradientEnd","gradientAngle","fontSize","alignment","lineHeight","letterSpacing","link","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"text":{"type":"string","access":"public","value":"The sky was cloudless and of a deep dark blue.","options":{"label":"Title text","inline":true,"inlineMode":"text","dynamicField":true}},"font":{"type":"googleFonts","access":"public","value":{"fontFamily":"Lato","fontStyle":{"weight":"400","style":"regular"},"status":"active","fontText":"The sky was cloudless and of a deep dark blue."},"options":{"label":"","cssMixin":{"mixin":"fontFamily","property":"fontFamily","namePattern":"[a-z]+","valueKey":"fontFamily"}}},"elementTag":{"type":"dropdown","access":"public","value":"h2","options":{"label":"Element tag","values":[{"label":"h1","value":"h1"},{"label":"h2","value":"h2"},{"label":"h3","value":"h3"},{"label":"h4","value":"h4"},{"label":"h5","value":"h5"},{"label":"h6","value":"h6"},{"label":"p","value":"p"},{"label":"div","value":"div"}]}},"colorType":{"type":"dropdown","access":"public","value":"color","options":{"label":"Gradient overlay type","values":[{"label":"Color","value":"color"},{"label":"Gradient","value":"gradient"}]}},"color":{"type":"color","access":"public","value":"","options":{"label":"Title color","cssMixin":{"mixin":"textColor","property":"color","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"colorType":{"rule":"value","options":{"value":"color"}}},"actions":[{"action":"toggleVisibility"}]}}},"gradientStart":{"type":"color","access":"public","value":" #FF7200","options":{"label":"Start color","cssMixin":{"mixin":"textColor","property":"gradientStart","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"colorType":{"rule":"value","options":{"value":"gradient"}}},"actions":[{"action":"toggleVisibility"}]}}},"gradientEnd":{"type":"color","access":"public","value":" #5C00FF","options":{"label":"End color","cssMixin":{"mixin":"textColor","property":"gradientEnd","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"colorType":{"rule":"value","options":{"value":"gradient"}}},"actions":[{"action":"toggleVisibility"}]}}},"gradientAngle":{"type":"range","access":"public","value":"45","options":{"label":"Gradient angle","cssMixin":{"mixin":"textColor","property":"gradientAngle","namePattern":"[\\\\d\\\\-]+"},"min":0,"max":180,"measurement":"°","onChange":{"rules":{"colorType":{"rule":"value","options":{"value":"gradient"}}},"actions":[{"action":"toggleVisibility"}]}}},"fontSize":{"type":"string","access":"public","value":"","options":{"label":"Font size"}},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"lineHeight":{"type":"string","access":"public","value":"","options":{"label":"Line height"}},"letterSpacing":{"type":"string","access":"public","value":"","options":{"label":"Letter spacing"}},"link":{"type":"url","access":"public","value":{"url":"","title":"","targetBlank":true,"relNofollow":false},"options":{"label":"Link selection","dynamicField":true}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"type":"string","access":"protected","value":"googleFontsHeading"}}')},"./node_modules/raw-loader/index.js!./googleFontsHeading/cssMixins/fontFamily.pcss":function(e,n){e.exports=".vce-google-fonts-heading {\n &--font-family-$selector {\n .vce-google-fonts-heading-inner {\n @if $fontFamily != false {\n font-family: $fontFamily;\n }\n }\n }\n}\n"},"./node_modules/raw-loader/index.js!./googleFontsHeading/cssMixins/textColor.pcss":function(e,n){e.exports=".vce-google-fonts-heading {\n &--color-$selector {\n .vce-google-fonts-heading-inner {\n @if $color != false {\n color: $color;\n }\n }\n }\n &--gradient-$selector {\n .vce-google-fonts-heading-inner {\n @if $gradientStart != false {\n background-image: linear-gradient($(gradientAngle)deg, $gradientStart, $gradientEnd);\n background-clip: text;\n -webkit-background-clip: text;\n color: transparent;\n }\n }\n }\n}\n"},"./node_modules/raw-loader/index.js!./googleFontsHeading/editor.css":function(e,n){e.exports=".vce-google-fonts-heading {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./googleFontsHeading/styles.css":function(e,n){e.exports=".vce-google-fonts-heading-inner {\n padding: 0;\n margin-bottom: 0;\n}\n\n.vce-google-fonts-heading-inner .medium-editor-placeholder {\n background: inherit;\n}\n\n.vce-google-fonts-heading-wrapper {\n max-width: 100%;\n display: inline-block;\n}\n\n.vce-google-fonts-heading-link,\n.vce-google-fonts-heading-link:hover,\n.vce-google-fonts-heading-link:focus,\n.vce-google-fonts-heading-link:visited {\n border: none;\n text-decoration: inherit;\n color: inherit;\n background: inherit;\n}\n\n.vce-google-fonts-heading--align-center {\n text-align: center;\n}\n\n.vce-google-fonts-heading--align-right {\n text-align: right;\n}\n\n.vce-google-fonts-heading--align-left {\n text-align: left;\n}\n\n"}},[["./googleFontsHeading/index.js"]]]);
elements/googleFontsHeading/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/outlineButton/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./outlineButton/cssMixins/backgroundColor.pcss":function(e,t){e.exports=".vce-button {\n &--style-outline-animated--background-color-$selector,\n &--style-outline-animated-slidein--background-color-$selector{\n a&,\n button& {\n &:after {\n background-color: $hoverBackground;\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./outlineButton/cssMixins/borderColor.pcss":function(e,t){e.exports=".vce-button {\n &--style-outline--border-color-$selector {\n a&,\n button& {\n &:hover, &:active, &:focus {\n &:before {\n border-color: $hoverBorder;\n }\n }\n }\n }\n\n &--style-outline--border-color-$selector,\n &--style-outline-animated--border-color-$selector,\n &--style-outline-animated-slidein--border-color-$selector {\n a&,\n button& {\n &:before {\n border-color: $borderColor;\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./outlineButton/cssMixins/color.pcss":function(e,t){e.exports=".vce-button {\n &--style-outline--color-$selector {\n a&,\n button& {\n color: $color;\n &:hover {\n color: $color;\n }\n\n &:hover, &:active, &:focus {\n color: $hoverColorOutline;\n }\n }\n }\n\n &--style-outline-animated--color-$selector,\n &--style-outline-animated-slidein--color-$selector {\n a&,\n button& {\n color: $color;\n &:hover {\n color: $color;\n }\n\n &:hover, &:active, &:focus {\n color: $hoverColorAnimated;\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./outlineButton/cssMixins/designOptions.pcss":function(e,t){e.exports="a, button {\n &.vce-button--style-outline--background-color-$selector,\n &.vce-button--style-outline-animated--background-color-$selector,\n &.vce-button--style-outline-animated-slidein--background-color-$selector {\n @each $device in (all, xs, sm, md, lg, xl) {\n @media (--$(device)-only) {\n @if $($(device)) != false {\n @if $($(device)backgroundColor) != false {\n &, &:focus, &:link, &:visited, &:active {\n &::after {\n background-color: $($(device)backgroundColor);\n }\n\n &::before {\n border-color: $($(device)backgroundColor);\n }\n }\n\n &:hover {\n &::after {\n background-color: color($($(device)backgroundColor) shade(10%)) !important;\n }\n\n &::before {\n border-color: color($($(device)backgroundColor) shade(10%));\n }\n }\n }\n }\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./outlineButton/editor.css":function(e,t){e.exports=".vce-button--style-outline-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./outlineButton/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * Outline button\n * ---------------------------------------------- */\n.vce-button--style-outline-container--align-left {\n text-align: left;\n}\n.vce-button--style-outline-container--align-right {\n text-align: right;\n}\n.vce-button--style-outline-container--align-center {\n text-align: center;\n}\n.vce-button--style-outline-wrapper {\n display: inline-block;\n vertical-align: top;\n max-width: 100%;\n}\n.vce-button--style-outline-wrapper .vce-button--style-outline,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated-slidein {\n box-shadow: none;\n}\n.vce-button--style-outline-wrapper .vce-button--style-outline:hover,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated:hover,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated-slidein:hover,\n.vce-button--style-outline-wrapper .vce-button--style-outline:focus,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated:focus,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated-slidein:focus,\n.vce-button--style-outline-wrapper .vce-button--style-outline:link,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated:link,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated-slidein:link {\n box-shadow: none;\n}\n.vce-button--style-outline-wrapper--stretched {\n width: 100%;\n}\n.vce-button--style-outline-wrapper--stretched .vce-button--style-outline,\n.vce-button--style-outline-wrapper--stretched .vce-button--style-outline-animated,\n.vce-button--style-outline-wrapper--stretched .vce-button--style-outline-animated-slidein {\n width: 100%;\n}\nbutton.vce-button--style-outline {\n -webkit-appearance: none;\n}\n.vce-button--style-outline.vce-button--style-outline--size-small {\n font-size: 11px;\n padding: 10px 30px;\n}\n.vce-button--style-outline.vce-button--style-outline--size-medium {\n font-size: 16px;\n padding: 15px 43px;\n}\n.vce-button--style-outline.vce-button--style-outline--size-large {\n font-size: 21px;\n padding: 20px 56px;\n}\na.vce-button--style-outline,\nbutton.vce-button--style-outline {\n background-color: transparent;\n background-image: none;\n border: none;\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n margin-bottom: 0;\n max-width: 100%;\n position: relative;\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n white-space: normal;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: normal;\n transition: all 0.2s ease-in-out;\n z-index: 1;\n border-radius: 0;\n}\na.vce-button--style-outline .vce-button--style-outline-text,\nbutton.vce-button--style-outline .vce-button--style-outline-text {\n transition: none;\n position: relative;\n z-index: 1;\n}\na.vce-button--style-outline:hover,\nbutton.vce-button--style-outline:hover,\na.vce-button--style-outline:focus,\nbutton.vce-button--style-outline:focus {\n text-decoration: none;\n outline: none;\n}\na.vce-button--style-outline::before,\nbutton.vce-button--style-outline::before,\na.vce-button--style-outline::after,\nbutton.vce-button--style-outline::after {\n border-radius: inherit;\n box-sizing: border-box;\n content: "";\n position: absolute;\n height: initial;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n transition: all 0.2s ease-in-out;\n}\na.vce-button--style-outline::before,\nbutton.vce-button--style-outline::before {\n box-sizing: border-box;\n border-width: 2px;\n border-style: solid;\n transition: border-color 0.2s ease-in-out;\n top: 1px;\n left: 1px;\n bottom: 1px;\n right: 1px;\n width: initial;\n}\na.vce-button--style-outline::after,\nbutton.vce-button--style-outline::after {\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n width: 100%;\n}\na.vce-button--style-outline:hover::before,\nbutton.vce-button--style-outline:hover::before,\na.vce-button--style-outline:active::before,\nbutton.vce-button--style-outline:active::before,\na.vce-button--style-outline:focus::before,\nbutton.vce-button--style-outline:focus::before {\n border-color: #119944;\n}\na.vce-button--style-outline:hover::after,\nbutton.vce-button--style-outline:hover::after,\na.vce-button--style-outline:active::after,\nbutton.vce-button--style-outline:active::after,\na.vce-button--style-outline:focus::after,\nbutton.vce-button--style-outline:focus::after {\n opacity: 1;\n}\nbutton.vce-button--style-outline-animated,\nbutton.vce-button--style-outline-animated-slidein {\n -webkit-appearance: none;\n}\n.vce-button--style-outline-animated.vce-button--style-outline--size-small,\n.vce-button--style-outline-animated-slidein.vce-button--style-outline--size-small {\n font-size: 11px;\n padding: 10px 30px;\n}\n.vce-button--style-outline-animated.vce-button--style-outline--size-medium,\n.vce-button--style-outline-animated-slidein.vce-button--style-outline--size-medium {\n font-size: 16px;\n padding: 15px 43px;\n}\n.vce-button--style-outline-animated.vce-button--style-outline--size-large,\n.vce-button--style-outline-animated-slidein.vce-button--style-outline--size-large {\n font-size: 21px;\n padding: 20px 56px;\n}\na.vce-button--style-outline-animated,\na.vce-button--style-outline-animated-slidein,\nbutton.vce-button--style-outline-animated,\nbutton.vce-button--style-outline-animated-slidein {\n background-color: transparent;\n background-image: none;\n border: none;\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n margin-bottom: 0;\n max-width: 100%;\n position: relative;\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n white-space: normal;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: normal;\n transition: all 0.2s ease-in-out;\n z-index: 1;\n border-radius: 0;\n}\na.vce-button--style-outline-animated .vce-button--style-outline-text,\na.vce-button--style-outline-animated-slidein .vce-button--style-outline-text,\nbutton.vce-button--style-outline-animated .vce-button--style-outline-text,\nbutton.vce-button--style-outline-animated-slidein .vce-button--style-outline-text {\n position: relative;\n z-index: 1;\n}\na.vce-button--style-outline-animated:hover,\na.vce-button--style-outline-animated-slidein:hover,\nbutton.vce-button--style-outline-animated:hover,\nbutton.vce-button--style-outline-animated-slidein:hover,\na.vce-button--style-outline-animated:focus,\na.vce-button--style-outline-animated-slidein:focus,\nbutton.vce-button--style-outline-animated:focus,\nbutton.vce-button--style-outline-animated-slidein:focus {\n text-decoration: none;\n outline: none;\n}\na.vce-button--style-outline-animated::before,\na.vce-button--style-outline-animated-slidein::before,\nbutton.vce-button--style-outline-animated::before,\nbutton.vce-button--style-outline-animated-slidein::before,\na.vce-button--style-outline-animated::after,\na.vce-button--style-outline-animated-slidein::after,\nbutton.vce-button--style-outline-animated::after,\nbutton.vce-button--style-outline-animated-slidein::after {\n border-radius: inherit;\n box-sizing: border-box;\n content: "";\n position: absolute;\n height: initial;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n transition: all 0.2s ease-in-out;\n}\na.vce-button--style-outline-animated::before,\na.vce-button--style-outline-animated-slidein::before,\nbutton.vce-button--style-outline-animated::before,\nbutton.vce-button--style-outline-animated-slidein::before {\n box-sizing: border-box;\n border-width: 2px;\n border-style: solid;\n top: 1px;\n left: 1px;\n bottom: 1px;\n right: 1px;\n width: initial;\n}\n.vce-button--style-outline-animated-slidein::after {\n transition: width 0.2s ease-in-out;\n width: 0;\n}\n.vce-button--style-outline-animated-slidein:hover::after,\n.vce-button--style-outline-animated-slidein:active::after,\n.vce-button--style-outline-animated-slidein:focus::after {\n width: 100%;\n}\n.vce-button--style-outline-animated::after {\n transition: opacity 0.2s ease-in-out;\n width: 100%;\n opacity: 0;\n}\n.vce-button--style-outline-animated:hover::after,\n.vce-button--style-outline-animated:active::after,\n.vce-button--style-outline-animated:focus::after {\n opacity: 1;\n}\na.vce-button--style-outline--border-rounded,\na.vce-button--style-outline--border-round,\na.vce-button--style-outline--border-square,\nbutton.vce-button--style-outline--border-rounded,\nbutton.vce-button--style-outline--border-round,\nbutton.vce-button--style-outline--border-square {\n position: relative;\n overflow: hidden;\n}\na.vce-button--style-outline--border-rounded,\nbutton.vce-button--style-outline--border-rounded {\n border-radius: 5px;\n}\na.vce-button--style-outline--border-round,\nbutton.vce-button--style-outline--border-round {\n border-radius: 4em;\n}\na.vce-button--style-outline--border-square,\nbutton.vce-button--style-outline--border-square {\n border-radius: 0;\n}\n.rtl.vce-button--style-outline,\n[dir="rlt"].vce-button--style-outline,\n.rtl .vce-button--style-outline,\n[dir="rlt"] .vce-button--style-outline {\n direction: rtl;\n unicode-bidi: embed;\n}\n.ltr.vce-button--style-outline,\n[dir="ltr"].vce-button--style-outline,\n.ltr .vce-button--style-outline,\n[dir="ltr"] .vce-button--style-outline {\n direction: ltr;\n unicode-bidi: normal;\n}\n'},"./outlineButton/index.js":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/vc-cake/index.js"),l=n.n(o),i=n("./node_modules/@babel/runtime/helpers/extends.js"),u=n.n(i),r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),a=n.n(r),s=n("./node_modules/@babel/runtime/helpers/createClass.js"),c=n.n(s),d=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),b=n.n(d),v=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),p=n.n(v),y=n("./node_modules/@babel/runtime/helpers/inherits.js"),m=n.n(y),g=n("./node_modules/react/index.js"),h=n.n(g);function f(){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}}var x=function(e){m()(o,e);var t,n=(t=o,function(){var e,n=p()(t);if(f()){var o=p()(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return b()(this,e)});function o(){return a()(this,o),n.apply(this,arguments)}return c()(o,[{key:"render",value:function(){var e=this.props,t=e.id,n=e.atts,o=e.editor,l=n.buttonUrl,i=n.buttonText,r=n.shape,a=n.alignment,s=n.customClass,c=n.buttonType,d=n.metaCustomId,b=n.size,v=n.toggleStretchButton,p=["vce-button--style-outline-wrapper","vce"],y=["vce-button--style-outline-container"],m=[],g=i,f={},x="button",w=c?"vce-button--style-".concat(c):"vce-button--style-outline";(m.push(w),l&&l.url)&&(x="a",f={href:l.url,title:l.title,target:l.targetBlank?"_blank":void 0,rel:l.relNofollow?"nofollow":void 0});"string"==typeof s&&s&&y.push(s),r&&m.push("vce-button--style-outline--border-".concat(r)),a&&y.push("vce-button--style-outline-container--align-".concat(a)),b&&m.push("vce-button--style-outline--size-".concat(b)),v&&p.push("vce-button--style-outline-wrapper--stretched");var k=this.getMixinData("color");k&&m.push("".concat(w,"--color-").concat(k.selector)),(k=this.getMixinData("borderColor"))&&m.push("".concat(w,"--border-color-").concat(k.selector)),(k=this.getMixinData("backgroundColor"))&&m.push("".concat(w,"--background-color-").concat(k.selector)),(k=this.getMixinData("designOptions"))&&m.push("".concat(w,"--background-color-").concat(k.selector)),d&&(f.id=d);var C=this.applyDO("margin"),B=this.applyDO("padding border background animation");return h.a.createElement("div",u()({className:y.join(" ")},o),h.a.createElement("span",u()({className:p.join(" "),id:"el-"+t},C),h.a.createElement(x,u()({className:m.join(" ")},f,B),h.a.createElement("span",{className:"vce-button--style-outline-text"},g))))}}]),o}(l.a.getService("api").elementComponent);(0,l.a.getService("cook").add)(n("./outlineButton/settings.json"),(function(e){e.add(x)}),{css:n("./node_modules/raw-loader/index.js!./outlineButton/styles.css"),editorCss:n("./node_modules/raw-loader/index.js!./outlineButton/editor.css"),mixins:{color:{mixin:n("./node_modules/raw-loader/index.js!./outlineButton/cssMixins/color.pcss")},borderColor:{mixin:n("./node_modules/raw-loader/index.js!./outlineButton/cssMixins/borderColor.pcss")},backgroundColor:{mixin:n("./node_modules/raw-loader/index.js!./outlineButton/cssMixins/backgroundColor.pcss")},designOptions:{mixin:n("./node_modules/raw-loader/index.js!./outlineButton/cssMixins/designOptions.pcss")}}},"")},"./outlineButton/settings.json":function(e){e.exports=JSON.parse('{"groups":{"type":"string","access":"protected","value":"Buttons"},"buttonUrl":{"type":"url","access":"public","value":{"url":"","title":"","targetBlank":false,"relNofollow":false},"options":{"label":"Link selection","dynamicField":true}},"buttonText":{"type":"string","access":"public","value":"Apply Now","options":{"label":"Button text","dynamicField":true}},"color":{"type":"color","access":"public","value":"#e3e3e3","options":{"label":"Title color","cssMixin":{"mixin":"color","property":"color","namePattern":"[\\\\da-f]+"}}},"borderColor":{"type":"color","access":"public","value":"#e3e3e3","options":{"label":"Border color","cssMixin":{"mixin":"borderColor","property":"borderColor","namePattern":"[\\\\da-f]+"}}},"hoverColorOutline":{"type":"color","access":"public","value":"#3d3d3d","options":{"label":"Title hover color","cssMixin":{"mixin":"color","property":"hoverColorOutline","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"buttonType":{"rule":"value","options":{"value":"outline"}}},"actions":[{"action":"toggleVisibility"}]}}},"hoverColorAnimated":{"type":"color","access":"public","value":"#fff","options":{"label":"Title hover color","cssMixin":{"mixin":"color","property":"hoverColorAnimated","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"buttonType":{"rule":"valueIn","options":{"values":["outline-animated","outline-animated-slidein"]}}},"actions":[{"action":"toggleVisibility"}]}}},"hoverBorder":{"type":"color","access":"public","value":"#3d3d3d","options":{"label":"Border hover color","cssMixin":{"mixin":"borderColor","property":"hoverBorder","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"buttonType":{"rule":"value","options":{"value":"outline"}}},"actions":[{"action":"toggleVisibility"}]}}},"hoverBackground":{"type":"color","access":"public","value":"#3d3d3d","options":{"label":"Background hover color","cssMixin":{"mixin":"backgroundColor","property":"hoverBackground","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"buttonType":{"rule":"valueIn","options":{"values":["outline-animated","outline-animated-slidein"]}}},"actions":[{"action":"toggleVisibility"}]}}},"shape":{"type":"buttonGroup","access":"public","value":"square","options":{"label":"Shape","values":[{"label":"Square","value":"square","icon":"vcv-ui-icon-attribute-shape-square"},{"label":"Rounded","value":"rounded","icon":"vcv-ui-icon-attribute-shape-rounded"},{"label":"Round","value":"round","icon":"vcv-ui-icon-attribute-shape-round"}]}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options","cssMixin":{"mixin":"designOptions","property":"backgroundColor","selector":"do-background-color"}}},"editFormTab1":{"type":"group","access":"protected","value":["buttonText","buttonUrl","alignment","shape","size","toggleStretchButton","buttonType","color","borderColor","hoverColorOutline","hoverColorAnimated","hoverBorder","hoverBackground","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General","Buttons"]},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"size":{"type":"buttonGroup","access":"public","value":"medium","options":{"label":"Size","values":[{"label":"Small","value":"small","text":"S"},{"label":"Medium","value":"medium","text":"M"},{"label":"Large","value":"large","text":"L"}]}},"toggleStretchButton":{"type":"toggle","access":"public","value":false,"options":{"label":"Stretch button"}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"buttonType":{"type":"dropdown","access":"public","value":"outline-animated","options":{"label":"Hover effect","values":[{"label":"Simple Outline","value":"outline"},{"label":"FadeIn","value":"outline-animated"},{"label":"SlideIn","value":"outline-animated-slidein"}]}},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["buttonText","buttonUrl","shape","borderColor"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"outlineButton"}}')}},[["./outlineButton/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./outlineButton/cssMixins/backgroundColor.pcss":function(e,t){e.exports=".vce-button {\n &--style-outline-animated--background-color-$selector,\n &--style-outline-animated-slidein--background-color-$selector{\n a&,\n button& {\n &:after {\n background-color: $hoverBackground;\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./outlineButton/cssMixins/borderColor.pcss":function(e,t){e.exports=".vce-button {\n &--style-outline--border-color-$selector {\n a&,\n button& {\n &:hover, &:active, &:focus {\n &:before {\n border-color: $hoverBorder;\n }\n }\n }\n }\n\n &--style-outline--border-color-$selector,\n &--style-outline-animated--border-color-$selector,\n &--style-outline-animated-slidein--border-color-$selector {\n a&,\n button& {\n &:before {\n border-color: $borderColor;\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./outlineButton/cssMixins/color.pcss":function(e,t){e.exports=".vce-button {\n &--style-outline--color-$selector {\n a&,\n button& {\n color: $color;\n &:hover {\n color: $color;\n }\n\n &:hover, &:active, &:focus {\n color: $hoverColorOutline;\n }\n }\n }\n\n &--style-outline-animated--color-$selector,\n &--style-outline-animated-slidein--color-$selector {\n a&,\n button& {\n color: $color;\n &:hover {\n color: $color;\n }\n\n &:hover, &:active, &:focus {\n color: $hoverColorAnimated;\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./outlineButton/cssMixins/designOptions.pcss":function(e,t){e.exports="a, button {\n &.vce-button--style-outline--background-color-$selector,\n &.vce-button--style-outline-animated--background-color-$selector,\n &.vce-button--style-outline-animated-slidein--background-color-$selector {\n @each $device in (all, xs, sm, md, lg, xl) {\n @media (--$(device)-only) {\n @if $($(device)) != false {\n @if $($(device)backgroundColor) != false {\n &, &:focus, &:link, &:visited, &:active {\n &::after {\n background-color: $($(device)backgroundColor);\n }\n\n &::before {\n border-color: $($(device)backgroundColor);\n }\n }\n\n &:hover {\n &::after {\n background-color: color($($(device)backgroundColor) shade(10%)) !important;\n }\n\n &::before {\n border-color: color($($(device)backgroundColor) shade(10%));\n }\n }\n }\n }\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./outlineButton/editor.css":function(e,t){e.exports=".vce-button--style-outline-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./outlineButton/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * Outline button\n * ---------------------------------------------- */\n.vce-button--style-outline-container--align-left {\n text-align: left;\n}\n.vce-button--style-outline-container--align-right {\n text-align: right;\n}\n.vce-button--style-outline-container--align-center {\n text-align: center;\n}\n.vce-button--style-outline-wrapper {\n display: inline-block;\n vertical-align: top;\n max-width: 100%;\n}\n.vce-button--style-outline-wrapper .vce-button--style-outline,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated-slidein {\n box-shadow: none;\n}\n.vce-button--style-outline-wrapper .vce-button--style-outline:hover,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated:hover,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated-slidein:hover,\n.vce-button--style-outline-wrapper .vce-button--style-outline:focus,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated:focus,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated-slidein:focus,\n.vce-button--style-outline-wrapper .vce-button--style-outline:link,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated:link,\n.vce-button--style-outline-wrapper .vce-button--style-outline-animated-slidein:link {\n box-shadow: none;\n}\n.vce-button--style-outline-wrapper--stretched {\n width: 100%;\n}\n.vce-button--style-outline-wrapper--stretched .vce-button--style-outline,\n.vce-button--style-outline-wrapper--stretched .vce-button--style-outline-animated,\n.vce-button--style-outline-wrapper--stretched .vce-button--style-outline-animated-slidein {\n width: 100%;\n}\nbutton.vce-button--style-outline {\n -webkit-appearance: none;\n}\n.vce-button--style-outline.vce-button--style-outline--size-small {\n font-size: 11px;\n padding: 10px 30px;\n}\n.vce-button--style-outline.vce-button--style-outline--size-medium {\n font-size: 16px;\n padding: 15px 43px;\n}\n.vce-button--style-outline.vce-button--style-outline--size-large {\n font-size: 21px;\n padding: 20px 56px;\n}\na.vce-button--style-outline,\nbutton.vce-button--style-outline {\n background-color: transparent;\n background-image: none;\n border: none;\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n margin-bottom: 0;\n max-width: 100%;\n position: relative;\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n white-space: normal;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: normal;\n transition: all 0.2s ease-in-out;\n z-index: 1;\n border-radius: 0;\n}\na.vce-button--style-outline .vce-button--style-outline-text,\nbutton.vce-button--style-outline .vce-button--style-outline-text {\n transition: none;\n position: relative;\n z-index: 1;\n}\na.vce-button--style-outline:hover,\nbutton.vce-button--style-outline:hover,\na.vce-button--style-outline:focus,\nbutton.vce-button--style-outline:focus {\n text-decoration: none;\n outline: none;\n}\na.vce-button--style-outline::before,\nbutton.vce-button--style-outline::before,\na.vce-button--style-outline::after,\nbutton.vce-button--style-outline::after {\n border-radius: inherit;\n box-sizing: border-box;\n content: "";\n position: absolute;\n height: initial;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n transition: all 0.2s ease-in-out;\n}\na.vce-button--style-outline::before,\nbutton.vce-button--style-outline::before {\n box-sizing: border-box;\n border-width: 2px;\n border-style: solid;\n transition: border-color 0.2s ease-in-out;\n top: 1px;\n left: 1px;\n bottom: 1px;\n right: 1px;\n width: initial;\n}\na.vce-button--style-outline::after,\nbutton.vce-button--style-outline::after {\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n width: 100%;\n}\na.vce-button--style-outline:hover::before,\nbutton.vce-button--style-outline:hover::before,\na.vce-button--style-outline:active::before,\nbutton.vce-button--style-outline:active::before,\na.vce-button--style-outline:focus::before,\nbutton.vce-button--style-outline:focus::before {\n border-color: #119944;\n}\na.vce-button--style-outline:hover::after,\nbutton.vce-button--style-outline:hover::after,\na.vce-button--style-outline:active::after,\nbutton.vce-button--style-outline:active::after,\na.vce-button--style-outline:focus::after,\nbutton.vce-button--style-outline:focus::after {\n opacity: 1;\n}\nbutton.vce-button--style-outline-animated,\nbutton.vce-button--style-outline-animated-slidein {\n -webkit-appearance: none;\n}\n.vce-button--style-outline-animated.vce-button--style-outline--size-small,\n.vce-button--style-outline-animated-slidein.vce-button--style-outline--size-small {\n font-size: 11px;\n padding: 10px 30px;\n}\n.vce-button--style-outline-animated.vce-button--style-outline--size-medium,\n.vce-button--style-outline-animated-slidein.vce-button--style-outline--size-medium {\n font-size: 16px;\n padding: 15px 43px;\n}\n.vce-button--style-outline-animated.vce-button--style-outline--size-large,\n.vce-button--style-outline-animated-slidein.vce-button--style-outline--size-large {\n font-size: 21px;\n padding: 20px 56px;\n}\na.vce-button--style-outline-animated,\na.vce-button--style-outline-animated-slidein,\nbutton.vce-button--style-outline-animated,\nbutton.vce-button--style-outline-animated-slidein {\n background-color: transparent;\n background-image: none;\n border: none;\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n margin-bottom: 0;\n max-width: 100%;\n position: relative;\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n white-space: normal;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: normal;\n transition: all 0.2s ease-in-out;\n z-index: 1;\n border-radius: 0;\n}\na.vce-button--style-outline-animated .vce-button--style-outline-text,\na.vce-button--style-outline-animated-slidein .vce-button--style-outline-text,\nbutton.vce-button--style-outline-animated .vce-button--style-outline-text,\nbutton.vce-button--style-outline-animated-slidein .vce-button--style-outline-text {\n position: relative;\n z-index: 1;\n}\na.vce-button--style-outline-animated:hover,\na.vce-button--style-outline-animated-slidein:hover,\nbutton.vce-button--style-outline-animated:hover,\nbutton.vce-button--style-outline-animated-slidein:hover,\na.vce-button--style-outline-animated:focus,\na.vce-button--style-outline-animated-slidein:focus,\nbutton.vce-button--style-outline-animated:focus,\nbutton.vce-button--style-outline-animated-slidein:focus {\n text-decoration: none;\n outline: none;\n}\na.vce-button--style-outline-animated::before,\na.vce-button--style-outline-animated-slidein::before,\nbutton.vce-button--style-outline-animated::before,\nbutton.vce-button--style-outline-animated-slidein::before,\na.vce-button--style-outline-animated::after,\na.vce-button--style-outline-animated-slidein::after,\nbutton.vce-button--style-outline-animated::after,\nbutton.vce-button--style-outline-animated-slidein::after {\n border-radius: inherit;\n box-sizing: border-box;\n content: "";\n position: absolute;\n height: initial;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n transition: all 0.2s ease-in-out;\n}\na.vce-button--style-outline-animated::before,\na.vce-button--style-outline-animated-slidein::before,\nbutton.vce-button--style-outline-animated::before,\nbutton.vce-button--style-outline-animated-slidein::before {\n box-sizing: border-box;\n border-width: 2px;\n border-style: solid;\n top: 1px;\n left: 1px;\n bottom: 1px;\n right: 1px;\n width: initial;\n}\n.vce-button--style-outline-animated-slidein::after {\n transition: width 0.2s ease-in-out;\n width: 0;\n}\n.vce-button--style-outline-animated-slidein:hover::after,\n.vce-button--style-outline-animated-slidein:active::after,\n.vce-button--style-outline-animated-slidein:focus::after {\n width: 100%;\n}\n.vce-button--style-outline-animated::after {\n transition: opacity 0.2s ease-in-out;\n width: 100%;\n opacity: 0;\n}\n.vce-button--style-outline-animated:hover::after,\n.vce-button--style-outline-animated:active::after,\n.vce-button--style-outline-animated:focus::after {\n opacity: 1;\n}\na.vce-button--style-outline--border-rounded,\na.vce-button--style-outline--border-round,\na.vce-button--style-outline--border-square,\nbutton.vce-button--style-outline--border-rounded,\nbutton.vce-button--style-outline--border-round,\nbutton.vce-button--style-outline--border-square {\n position: relative;\n overflow: hidden;\n}\na.vce-button--style-outline--border-rounded,\nbutton.vce-button--style-outline--border-rounded {\n border-radius: 5px;\n}\na.vce-button--style-outline--border-round,\nbutton.vce-button--style-outline--border-round {\n border-radius: 4em;\n}\na.vce-button--style-outline--border-square,\nbutton.vce-button--style-outline--border-square {\n border-radius: 0;\n}\n.rtl.vce-button--style-outline,\n[dir="rlt"].vce-button--style-outline,\n.rtl .vce-button--style-outline,\n[dir="rlt"] .vce-button--style-outline {\n direction: rtl;\n unicode-bidi: embed;\n}\n.ltr.vce-button--style-outline,\n[dir="ltr"].vce-button--style-outline,\n.ltr .vce-button--style-outline,\n[dir="ltr"] .vce-button--style-outline {\n direction: ltr;\n unicode-bidi: normal;\n}\n'},"./outlineButton/index.js":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/vc-cake/index.js"),l=n.n(o),i=n("./node_modules/@babel/runtime/helpers/extends.js"),u=n.n(i),r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),a=n.n(r),s=n("./node_modules/@babel/runtime/helpers/createClass.js"),c=n.n(s),d=n("./node_modules/@babel/runtime/helpers/inherits.js"),b=n.n(d),v=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),p=n.n(v),y=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),m=n.n(y),g=n("./node_modules/react/index.js"),h=n.n(g);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,o=m()(e);if(t){var l=m()(this).constructor;n=Reflect.construct(o,arguments,l)}else n=o.apply(this,arguments);return p()(this,n)}}var x=function(e){b()(n,e);var t=f(n);function n(){return a()(this,n),t.apply(this,arguments)}return c()(n,[{key:"render",value:function(){var e=this.props,t=e.id,n=e.atts,o=e.editor,l=n.buttonUrl,i=n.buttonText,r=n.shape,a=n.alignment,s=n.customClass,c=n.buttonType,d=n.metaCustomId,b=n.size,v=n.toggleStretchButton,p=["vce-button--style-outline-wrapper","vce"],y=["vce-button--style-outline-container"],m=[],g=i,f={},x="button",w=c?"vce-button--style-".concat(c):"vce-button--style-outline";(m.push(w),l&&l.url)&&(x="a",f={href:l.url,title:l.title,target:l.targetBlank?"_blank":void 0,rel:l.relNofollow?"nofollow":void 0});"string"==typeof s&&s&&y.push(s),r&&m.push("vce-button--style-outline--border-".concat(r)),a&&y.push("vce-button--style-outline-container--align-".concat(a)),b&&m.push("vce-button--style-outline--size-".concat(b)),v&&p.push("vce-button--style-outline-wrapper--stretched");var k=this.getMixinData("color");k&&m.push("".concat(w,"--color-").concat(k.selector)),(k=this.getMixinData("borderColor"))&&m.push("".concat(w,"--border-color-").concat(k.selector)),(k=this.getMixinData("backgroundColor"))&&m.push("".concat(w,"--background-color-").concat(k.selector)),(k=this.getMixinData("designOptions"))&&m.push("".concat(w,"--background-color-").concat(k.selector)),d&&(f.id=d);var C=this.applyDO("margin"),B=this.applyDO("padding border background animation");return h.a.createElement("div",u()({className:y.join(" ")},o),h.a.createElement("span",u()({className:p.join(" "),id:"el-"+t},C),h.a.createElement(x,u()({className:m.join(" ")},f,B),h.a.createElement("span",{className:"vce-button--style-outline-text"},g))))}}]),n}(l.a.getService("api").elementComponent);(0,l.a.getService("cook").add)(n("./outlineButton/settings.json"),(function(e){e.add(x)}),{css:n("./node_modules/raw-loader/index.js!./outlineButton/styles.css"),editorCss:n("./node_modules/raw-loader/index.js!./outlineButton/editor.css"),mixins:{color:{mixin:n("./node_modules/raw-loader/index.js!./outlineButton/cssMixins/color.pcss")},borderColor:{mixin:n("./node_modules/raw-loader/index.js!./outlineButton/cssMixins/borderColor.pcss")},backgroundColor:{mixin:n("./node_modules/raw-loader/index.js!./outlineButton/cssMixins/backgroundColor.pcss")},designOptions:{mixin:n("./node_modules/raw-loader/index.js!./outlineButton/cssMixins/designOptions.pcss")}}},"")},"./outlineButton/settings.json":function(e){e.exports=JSON.parse('{"groups":{"type":"string","access":"protected","value":"Buttons"},"buttonUrl":{"type":"url","access":"public","value":{"url":"","title":"","targetBlank":false,"relNofollow":false},"options":{"label":"Link selection","dynamicField":true}},"buttonText":{"type":"string","access":"public","value":"Apply Now","options":{"label":"Button text","dynamicField":true}},"color":{"type":"color","access":"public","value":"#e3e3e3","options":{"label":"Title color","cssMixin":{"mixin":"color","property":"color","namePattern":"[\\\\da-f]+"}}},"borderColor":{"type":"color","access":"public","value":"#e3e3e3","options":{"label":"Border color","cssMixin":{"mixin":"borderColor","property":"borderColor","namePattern":"[\\\\da-f]+"}}},"hoverColorOutline":{"type":"color","access":"public","value":"#3d3d3d","options":{"label":"Title hover color","cssMixin":{"mixin":"color","property":"hoverColorOutline","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"buttonType":{"rule":"value","options":{"value":"outline"}}},"actions":[{"action":"toggleVisibility"}]}}},"hoverColorAnimated":{"type":"color","access":"public","value":"#fff","options":{"label":"Title hover color","cssMixin":{"mixin":"color","property":"hoverColorAnimated","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"buttonType":{"rule":"valueIn","options":{"values":["outline-animated","outline-animated-slidein"]}}},"actions":[{"action":"toggleVisibility"}]}}},"hoverBorder":{"type":"color","access":"public","value":"#3d3d3d","options":{"label":"Border hover color","cssMixin":{"mixin":"borderColor","property":"hoverBorder","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"buttonType":{"rule":"value","options":{"value":"outline"}}},"actions":[{"action":"toggleVisibility"}]}}},"hoverBackground":{"type":"color","access":"public","value":"#3d3d3d","options":{"label":"Background hover color","cssMixin":{"mixin":"backgroundColor","property":"hoverBackground","namePattern":"[\\\\da-f]+"},"onChange":{"rules":{"buttonType":{"rule":"valueIn","options":{"values":["outline-animated","outline-animated-slidein"]}}},"actions":[{"action":"toggleVisibility"}]}}},"shape":{"type":"buttonGroup","access":"public","value":"square","options":{"label":"Shape","values":[{"label":"Square","value":"square","icon":"vcv-ui-icon-attribute-shape-square"},{"label":"Rounded","value":"rounded","icon":"vcv-ui-icon-attribute-shape-rounded"},{"label":"Round","value":"round","icon":"vcv-ui-icon-attribute-shape-round"}]}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options","cssMixin":{"mixin":"designOptions","property":"backgroundColor","selector":"do-background-color"}}},"editFormTab1":{"type":"group","access":"protected","value":["buttonText","buttonUrl","alignment","shape","size","toggleStretchButton","buttonType","color","borderColor","hoverColorOutline","hoverColorAnimated","hoverBorder","hoverBackground","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General","Buttons"]},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"size":{"type":"buttonGroup","access":"public","value":"medium","options":{"label":"Size","values":[{"label":"Small","value":"small","text":"S"},{"label":"Medium","value":"medium","text":"M"},{"label":"Large","value":"large","text":"L"}]}},"toggleStretchButton":{"type":"toggle","access":"public","value":false,"options":{"label":"Stretch button"}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"buttonType":{"type":"dropdown","access":"public","value":"outline-animated","options":{"label":"Hover effect","values":[{"label":"Simple Outline","value":"outline"},{"label":"FadeIn","value":"outline-animated"},{"label":"SlideIn","value":"outline-animated-slidein"}]}},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["buttonText","buttonUrl","shape","borderColor"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"outlineButton"}}')}},[["./outlineButton/index.js"]]]);
elements/outlineButton/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/row/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./row/cssMixins/columnGap.pcss":function(e,t){e.exports=".vce-row--col-gap-$gap {\n\n @if $gap != false {\n > .vce-row-content {\n > .vce-col {\n margin-right: $(gap)px;\n }\n\n > .vce-column-resizer .vce-column-resizer-handler {\n width: $(gap)px;\n }\n }\n }\n}\n\n.rtl .vce-row--col-gap-$gap,\n.rtl.vce-row--col-gap-$gap {\n @if $gap != false {\n > .vce-row-content {\n > .vce-col {\n margin-left: $(gap)px;\n margin-right: 0;\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./row/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * Row\n * ---------------------------------------------- */\n.vce {\n margin-bottom: 30px;\n}\n.vce-row-container {\n width: 100%;\n}\n.vce-row {\n position: relative;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-left: 0;\n margin-right: 0;\n transition: box-shadow .2s;\n}\n.vce-row-content > .vce-col:last-child {\n margin-right: 0;\n}\n.vce-row-full-height {\n min-height: 100vh;\n}\n.vce-row-content {\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -ms-flex-line-pack: start;\n align-content: flex-start;\n -ms-flex-align: start;\n align-items: flex-start;\n min-height: 1em;\n position: relative;\n}\n.vce-row-wrap--reverse > .vce-row-content {\n -ms-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n -ms-flex-line-pack: end;\n align-content: flex-end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.vce-row-columns--top > .vce-row-content {\n -ms-flex-line-pack: start;\n align-content: flex-start;\n}\n.vce-row-columns--top.vce-row-wrap--reverse > .vce-row-content {\n -ms-flex-line-pack: end;\n align-content: flex-end;\n}\n.vce-row-columns--middle > .vce-row-content {\n -ms-flex-line-pack: center;\n align-content: center;\n}\n.vce-row-columns--bottom > .vce-row-content {\n -ms-flex-line-pack: end;\n align-content: flex-end;\n}\n.vce-row-columns--bottom.vce-row-wrap--reverse > .vce-row-content {\n -ms-flex-line-pack: start;\n align-content: flex-start;\n}\n.vce-row-columns--top > .vce-row-content:after,\n.vce-row-columns--middle > .vce-row-content:after,\n.vce-row-columns--bottom > .vce-row-content:after {\n content: "";\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n display: block;\n}\n.vce-row-content--middle > .vce-row-content > .vce-col > .vce-col-inner {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.vce-row-content--bottom > .vce-row-content > .vce-col > .vce-col-inner {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.vce-row-equal-height > .vce-row-content {\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.vce-row-columns--stretch > .vce-row-content {\n -ms-flex-line-pack: stretch;\n align-content: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.vce-row[data-vce-full-width="true"] {\n position: relative;\n box-sizing: border-box;\n}\n.vce-row[data-vce-stretch-content="true"] {\n padding-left: 30px;\n padding-right: 30px;\n}\n.vce-row[data-vce-stretch-content="true"].vce-row-no-paddings {\n padding-left: 0;\n padding-right: 0;\n}\n.vce-row.vce-element--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n}\n.vce-row.vce-element--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n}\n.vce-row.vce-element--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n}\n.vce-row > .vce-row-content > .vce-col.vce-col--all-last {\n margin-right: 0;\n}\n.rtl .vce-row > .vce-row-content > .vce-col.vce-col--all-last,\n.rtl.vce-row > .vce-row-content > .vce-col.vce-col--all-last {\n margin-left: 0;\n}\n@media (min-width: 0) and (max-width: 543px) {\n .vce-row.vce-element--xs--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--xs--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--xs--has-background.vce-row--xs--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--xs--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--xs--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--xs-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--xs-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--xs-last {\n margin-left: 0;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 544px) and (max-width: 767px) {\n .vce-row.vce-element--sm--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--sm--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--sm--has-background.vce-row--sm--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--sm--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--sm--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--sm-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--sm-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--sm-last {\n margin-left: 0;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 768px) and (max-width: 991px) {\n .vce-row.vce-element--md--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--md--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--md--has-background.vce-row--md--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--md--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--md--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--md-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--md-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--md-last {\n margin-left: 0;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 992px) and (max-width: 1199px) {\n .vce-row.vce-element--lg--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--lg--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--lg--has-background.vce-row--lg--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--lg--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--lg--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--lg-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--lg-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--lg-last {\n margin-left: 0;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 1200px) {\n .vce-row.vce-element--xl--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--xl--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--xl--has-background.vce-row--xl--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--xl--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--xl--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--xl-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--xl-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--xl-last {\n margin-left: 0;\n }\n}\n'},"./row/index.js":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/vc-cake/index.js"),a=n("./node_modules/@babel/runtime/helpers/extends.js"),l=n.n(a),c=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),r=n.n(c),i=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),s=n.n(i),d=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),u=n.n(d),p=n("./node_modules/@babel/runtime/helpers/createClass.js"),v=n.n(p),g=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),h=n.n(g),m=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),w=n.n(m),f=n("./node_modules/@babel/runtime/helpers/inherits.js"),b=n.n(f),x=n("./node_modules/react/index.js"),y=n.n(x),k=n("./node_modules/lodash/lodash.js"),O=n.n(k),S=n("./node_modules/classnames/index.js"),j=n.n(S);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function R(){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}}var E=Object(o.getService)("api"),z=Object(o.getService)("document"),P=Object(o.getStorage)("assets"),D=Object(o.getStorage)("elementsSettings"),_=Object(o.getStorage)("fieldOptions"),I=D.state("extendedOptions"),A=["all","defaultSize","xs","sm","md","lg","xl"],T=function(e){b()(a,e);var t,n=(t=a,function(){var e,n=w()(t);if(R()){var o=w()(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return h()(this,e)});function a(e){var t;return s()(this,a),(t=n.call(this,e)).state={layout:{}},t.rowRef=y.a.createRef(),t.handleStorageChange=t.handleStorageChange.bind(u()(t)),t}return v()(a,null,[{key:"getRowData",value:function(e){for(var t=[],n=0,o=0,a=[],l=!0,c=e.slice();c.lastIndexOf("hide")===c.length-1&&c.length;)l=!1,c.splice(c.lastIndexOf("hide"),1);c.forEach((function(e,r){var i=0;if("hide"===e)l=!1;else if("auto"===e||""===e)i=.01,a.push("auto"),o++;else{if(e.indexOf("%")>-1)i=parseFloat(e.replace("%","").replace(",","."))/100;else{var s=e.split("/");i=s[0]/s[1]}a.push(i)}var d=Math.floor(1e3*(n+i))/1e3;(d>1||1===d&&"hide"===e)&&(l=!1,t.push(r-1),n=0),void 0===c[r+1]&&t.push(r),n+=i}));var r=0,i=(1-(n-.01*o))/o;return a.forEach((function(e,t){"auto"===e?(a[t]=i,r+=i):r+=e})),a.forEach((function(e){a[0]!==e&&1!==e&&(l=!1)})),{lastColumnIndex:t,isColumnsEqual:l,rowValue:r}}},{key:"resetRowLayout",value:function(e){var t=z.get(e);t.layout.layoutData=null,z.update(e,t)}},{key:"getDefaultLayout",value:function(e,t){var n=[];t&&Object.prototype.hasOwnProperty.call(t,"all")?n=t.all.slice():z.children(e).forEach((function(e){Object.prototype.hasOwnProperty.call(e.size,"defaultSize")&&n.push(e.size.defaultSize)}));return n}},{key:"setColumns",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=z.children(e),c=[],r=[],i={tag:"column",parent:e,designOptionsAdvanced:{},customClass:"",customHeaderTitle:"",metaCustomId:"",dividers:{},sticky:{},lastInRow:{},firstInRow:{},size:{}},s=null;Object.keys(t).forEach((function(e){var d=t[e],u=n&&n[e];if(u&&u.length)if(d.length>u.length){var p=a.getRowData(u);if(Math.round(100*p.rowValue)/100<1){var v=1-p.rowValue;(d=u).push("".concat(100*v,"%"))}else if(p.isColumnsEqual){var g=d.length,h="".concat(Math.floor(100/g*100)/100,"%");d=[];for(var m=0;m<g;m++)d.push(h)}}else if(d.length<u.length){var w=a.getRowData(u);if(Math.round(100*w.rowValue)/100==1&&w.isColumnsEqual){var f=d.length,b="".concat(Math.floor(100/f*100)/100,"%");d=[];for(var x=0;x<f;x++)d.push(b)}}var y=a.getRowData(d).lastColumnIndex,k=0;d.forEach((function(t,n){var a=y.indexOf(n)>-1,d=0===n||y.indexOf(n-1)>-1;if(void 0!==l[n]){(s=l[n]).size[e]=t,"defaultSize"!==e&&(s.lastInRow[e]=a,s.firstInRow[e]=d),s.disableStacking=o;var u=!1;c.forEach((function(e,t){s.id===e.id&&(c[t]=s,u=!0)})),u||c.push(s)}else{if(r[k]){var p=r[k];p.size[e]=t,"defaultSize"!==e&&(p.lastInRow[e]=a,p.firstInRow[e]=d),p.disableStacking=o}else{var v=O.a.defaultsDeep({},i);v.size[e]=t,"defaultSize"!==e&&(v.lastInRow[e]=a,v.firstInRow[e]=d),v.disableStacking=o,r.push(v)}k+=1}}))})),c.forEach((function(e){Object.prototype.hasOwnProperty.call(t,"all")?(delete e.size.xs,delete e.size.sm,delete e.size.md,delete e.size.lg,delete e.size.xl):delete e.size.all,z.update(e.id,e)})),r.forEach((function(e){z.create(e)}));var d=t.all||t.xs;if(d&&l.length>d.length){var u=l.slice(d.length);u.forEach((function(e){z.children(e.id).forEach((function(e){e.parent=s.id,z.update(e.id,e)})),z.delete(e.id)}))}}},{key:"getLayout",value:function(e){var t={},n=z.children(e),o=!1;return n.forEach((function(e){Object.prototype.hasOwnProperty.call(e.size,"xs")&&(o=!0)})),n.forEach((function(e){!o&&e.size.all&&(Object.prototype.hasOwnProperty.call(t,"all")||(t.all=[]),t.all.push(e.size.all)),e.size.defaultSize&&(Object.prototype.hasOwnProperty.call(t,"defaultSize")||(t.defaultSize=[]),t.defaultSize.push(e.size.defaultSize))})),Object.prototype.hasOwnProperty.call(t,"all")||A.forEach((function(e){"defaultSize"!==e&&"all"!==e&&n.forEach((function(n){n.size[e]&&(Object.prototype.hasOwnProperty.call(t,e)||(t[e]=[]),t[e].push(n.size[e])),o&&Object.prototype.hasOwnProperty.call(n.size,"all")&&(Object.prototype.hasOwnProperty.call(t,e)||(t[e]=[]),"xs"===e||"sm"===e?t[e].push("100%"):t[e].push(n.size.all))}))})),t}},{key:"getDerivedStateFromProps",value:function(e,t){if(!Object(o.env)("VCV_JS_FT_ROW_COLUMN_LOGIC_REFACTOR"))return null;var n=e.atts,l=e.id,c=n.layout&&n.layout.layoutData?n.layout.layoutData:a.getLayout(l),r=n.layout&&n.layout.layoutData;if(JSON.stringify(c)!==JSON.stringify(t.layout)){if(r)return a.setColumns(l,r,null,n.layout.disableStacking),a.resetRowLayout(l),setTimeout((function(){P.trigger("updateElement",l)}),10),{layout:r};var i=a.getLayout(l);return a.setColumns(l,i,t.layout,n.layout.disableStacking),setTimeout((function(){P.trigger("updateElement",l)}),10),{layout:i}}return null}}]),v()(a,[{key:"componentDidMount",value:function(){var e=I.get();if(!e||e&&!e.elements.includes(this.props.id)){I.onChange(this.handleStorageChange);var t={fieldKey:!1,fieldType:!1,id:this.props.id};_.trigger("fieldOptionsChange",t)}}},{key:"componentDidUpdate",value:function(){this.handleStorageChange(!1)}},{key:"handleStorageChange",value:function(e){var t=this,n=I.get();if(e&&(n=e,I.ignoreChange(this.handleStorageChange)),n){var o=n.elements.find((function(e){return e.id===t.props.id}));if(o){var a=this.rowRef.current;D.state("elementOptions").set(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o,{ref:a}))}}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.atts,o=e.editor,a=e.isBackend,c=n.customClass,r=n.rowWidth,i=n.removeSpaces,s=n.columnGap,d=n.fullHeight,u=n.metaCustomId,p=n.equalHeight,v=n.columnPosition,g=n.contentPosition,h=n.designOptionsAdvanced,m=n.layout,w=n.columnBackground,f=n.hidden,b=n.sticky,x=n.boxShadow,k=this.props.children,O=window.VCV_EDITOR_TYPE?window.VCV_EDITOR_TYPE():"default",S=j()({"vce-row-container":!0,"vce-wpbackend-element-hidden":f&&a}),C=["vce-row"];if(w)if(w.all)C.push("vce-row--has-col-background");else for(var R in w)w[R]&&C.push("vce-row--".concat(R,"--has-col-background"));C.push(this.getBackgroundClass(h)),C.push("vce-row--col-gap-".concat(s?parseInt(s):0)),m&&m.reverseColumn&&!m.disableStacking&&C.push("vce-row-wrap--reverse");var E={style:{}},z={style:{}},P={};"string"==typeof c&&c&&C.push(c),"stretchedRow"===r||"stretchedRowAndColumn"===r?z["data-vce-full-width"]=!0:(z.style.width="",z.style.left="",z.style.right="",E.style.paddingLeft="",E.style.paddingRight=""),"stretchedRowAndColumn"!==r&&"sidebar"!==O||(z["data-vce-stretch-content"]=!0);var D={};b&&b.device&&(D=this.getStickyAttributes(b)),"sidebar"!==O&&"stretchedRowAndColumn"!==r||!i||C.push("vce-row-no-paddings"),d?C.push("vce-row-full-height"):z.style.minHeight="",p&&"stretch"!==v&&C.push("vce-row-equal-height"),v&&C.push("vce-row-columns--".concat(v)),g&&C.push("vce-row-content--".concat(g));var _={};x&&x.device&&(_=this.getBoxShadowAttributes(x,t));var I=j()(C);u&&(P.id=u),P["data-vce-delete-attr"]="style",z["data-vce-delete-attr"]="style",E["data-vce-element-content"]=!0;var A=this.applyDO("all");return y.a.createElement("div",l()({className:S},P),y.a.createElement("div",l()({className:I},z,D,_,o,{id:"el-"+t},A,{ref:this.rowRef}),this.getBackgroundTypeContent(),this.getContainerDivider(),y.a.createElement("div",l()({className:"vce-row-content"},E),k)))}}]),a}(E.elementComponent);(0,Object(o.getService)("cook").add)(n("./row/settings.json"),(function(e){e.add(T)}),{css:n("./node_modules/raw-loader/index.js!./row/styles.css"),editorCss:!1,mixins:{columnGap:{mixin:n("./node_modules/raw-loader/index.js!./row/cssMixins/columnGap.pcss")}}},(function(e){var t=e.rowLayout,n=e.designOptionsAdvanced;if(t&&!Array.isArray(t)||(e.rowLayout={all:t}),n&&n.device){var o={},a={};if(Object.keys(n.device).forEach((function(e){var t=n.device[e],l=Object.assign({},t);if(t.parallax){var c={parallaxEnable:!0,parallax:t.parallax};Object.prototype.hasOwnProperty.call(t,"parallaxReverse")&&(c.parallaxReverse=t.parallaxReverse),Object.prototype.hasOwnProperty.call(t,"parallaxSpeed")&&(c.parallaxSpeed=t.parallaxSpeed),o[e]=c,delete l.parallax,delete l.parallaxReverse,delete l.parallaxSpeed,a[e]=l}})),!O.a.isEmpty(o)){e.parallax={device:o};var l=Object.assign({},n);l.device=a,e.designOptionsAdvanced=l}}return e}))},"./row/settings.json":function(e){e.exports=JSON.parse('{"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"layout":{"type":"rowLayout","access":"public","value":{},"options":{"label":"Row Layout"}},"dividers":{"type":"divider","access":"public","value":{},"options":{"label":"Dividers"}},"sticky":{"type":"sticky","access":"public","value":{},"options":{"label":"Sticky"}},"boxShadow":{"type":"boxShadow","access":"public","value":{},"options":{"label":"Box Shadow"}},"parallax":{"type":"parallax","access":"public","value":{},"options":{"label":"Parallax"}},"designOptionsAdvanced":{"type":"designOptionsAdvanced","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["rowWidth","removeSpaces","columnGap","fullHeight","columnPosition","equalHeight","contentPosition","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","layout","designOptionsAdvanced","parallax","boxShadow","dividers","sticky"]},"relatedTo":{"type":"group","access":"protected","value":["General","RootElements","Row"]},"containerFor":{"type":"group","access":"protected","value":["Column"]},"parentWrapper":{"type":"string","access":"protected","value":""},"metaOrder":{"type":"number","access":"protected","value":2},"rowWidth":{"type":"buttonGroup","access":"public","value":"boxed","options":{"label":"Row width","values":[{"label":"Boxed","value":"boxed","icon":"vcv-ui-icon-attribute-row-width-boxed"},{"label":"Stretched Row","value":"stretchedRow","icon":"vcv-ui-icon-attribute-row-width-stretched"},{"label":"Stretched Row and Column","value":"stretchedRowAndColumn","icon":"vcv-ui-icon-attribute-row-width-stretched-content"}],"containerDependency":{"sidebar":"hide"}}},"removeSpaces":{"type":"toggle","access":"public","value":false,"options":{"label":"Remove spaces","description":"Remove row spaces from left and right.","onChange":{"rules":{"rowWidth":{"rule":"value","options":{"value":"stretchedRowAndColumn"}}},"actions":[{"action":"toggleVisibility"}]},"containerDependency":{"sidebar":"removeDependencies"}}},"columnGap":{"type":"number","access":"public","value":"30","options":{"label":"Column gap","description":"Enter gap between columns in pixels (Example: 5).","min":"0","cssMixin":{"mixin":"columnGap","property":"gap","namePattern":"[\\\\da-f]+"}}},"fullHeight":{"type":"toggle","access":"public","value":false,"options":{"label":"Full height","description":"Set row to be full screen height."}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"equalHeight":{"type":"toggle","access":"public","value":false,"options":{"label":"Column equal height"}},"columnPosition":{"type":"buttonGroup","access":"public","value":"top","options":{"label":"Column position","values":[{"label":"Top","value":"top","icon":"vcv-ui-icon-attribute-vertical-alignment-top"},{"label":"Middle","value":"middle","icon":"vcv-ui-icon-attribute-vertical-alignment-middle"},{"label":"Bottom","value":"bottom","icon":"vcv-ui-icon-attribute-vertical-alignment-bottom"},{"label":"Full Height","value":"stretch","icon":"vcv-ui-icon-attribute-vertical-alignment-full-height"}],"onChange":{"rules":{"fullHeight":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"contentPosition":{"type":"buttonGroup","access":"public","value":"top","options":{"label":"Content position","values":[{"label":"Top","value":"top","icon":"vcv-ui-icon-attribute-vertical-alignment-top"},{"label":"Middle","value":"middle","icon":"vcv-ui-icon-attribute-vertical-alignment-middle"},{"label":"Bottom","value":"bottom","icon":"vcv-ui-icon-attribute-vertical-alignment-bottom"}]}},"size":{"type":"string","access":"public","value":"auto"},"hidden":{"type":"string","access":"public","value":false},"columnBackground":{"type":"string","access":"public","value":""},"tag":{"access":"protected","type":"string","value":"row"},"sharedAssetsLibrary":{"access":"protected","type":"string","value":{"libraries":[{"rules":{"rowWidth":{"rule":"!value","options":{"value":"boxed"}}},"libsNames":["fullWidth"]},{"rules":{"fullHeight":{"rule":"toggle"}},"libsNames":["fullHeight"]}]}},"initChildren":{"access":"protected","type":"object","value":[{"tag":"column"}]}}')}},[["./row/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./row/cssMixins/columnGap.pcss":function(e,t){e.exports=".vce-row--col-gap-$gap {\n\n @if $gap != false {\n > .vce-row-content {\n > .vce-col {\n margin-right: $(gap)px;\n }\n\n > .vce-column-resizer .vce-column-resizer-handler {\n width: $(gap)px;\n }\n }\n }\n}\n\n.rtl .vce-row--col-gap-$gap,\n.rtl.vce-row--col-gap-$gap {\n @if $gap != false {\n > .vce-row-content {\n > .vce-col {\n margin-left: $(gap)px;\n margin-right: 0;\n }\n }\n }\n}"},"./node_modules/raw-loader/index.js!./row/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * Row\n * ---------------------------------------------- */\n.vce {\n margin-bottom: 30px;\n}\n.vce-row-container {\n width: 100%;\n}\n.vce-row {\n position: relative;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-left: 0;\n margin-right: 0;\n transition: box-shadow .2s;\n}\n.vce-row-content > .vce-col:last-child {\n margin-right: 0;\n}\n.vce-row-full-height {\n min-height: 100vh;\n}\n.vce-row-content {\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -ms-flex-line-pack: start;\n align-content: flex-start;\n -ms-flex-align: start;\n align-items: flex-start;\n min-height: 1em;\n position: relative;\n}\n.vce-row-wrap--reverse > .vce-row-content {\n -ms-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n -ms-flex-line-pack: end;\n align-content: flex-end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.vce-row-columns--top > .vce-row-content {\n -ms-flex-line-pack: start;\n align-content: flex-start;\n}\n.vce-row-columns--top.vce-row-wrap--reverse > .vce-row-content {\n -ms-flex-line-pack: end;\n align-content: flex-end;\n}\n.vce-row-columns--middle > .vce-row-content {\n -ms-flex-line-pack: center;\n align-content: center;\n}\n.vce-row-columns--bottom > .vce-row-content {\n -ms-flex-line-pack: end;\n align-content: flex-end;\n}\n.vce-row-columns--bottom.vce-row-wrap--reverse > .vce-row-content {\n -ms-flex-line-pack: start;\n align-content: flex-start;\n}\n.vce-row-columns--top > .vce-row-content:after,\n.vce-row-columns--middle > .vce-row-content:after,\n.vce-row-columns--bottom > .vce-row-content:after {\n content: "";\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n display: block;\n}\n.vce-row-content--middle > .vce-row-content > .vce-col > .vce-col-inner {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.vce-row-content--bottom > .vce-row-content > .vce-col > .vce-col-inner {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.vce-row-equal-height > .vce-row-content {\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.vce-row-columns--stretch > .vce-row-content {\n -ms-flex-line-pack: stretch;\n align-content: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.vce-row[data-vce-full-width="true"] {\n position: relative;\n box-sizing: border-box;\n}\n.vce-row[data-vce-stretch-content="true"] {\n padding-left: 30px;\n padding-right: 30px;\n}\n.vce-row[data-vce-stretch-content="true"].vce-row-no-paddings {\n padding-left: 0;\n padding-right: 0;\n}\n.vce-row.vce-element--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n}\n.vce-row.vce-element--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n}\n.vce-row.vce-element--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n}\n.vce-row > .vce-row-content > .vce-col.vce-col--all-last {\n margin-right: 0;\n}\n.rtl .vce-row > .vce-row-content > .vce-col.vce-col--all-last,\n.rtl.vce-row > .vce-row-content > .vce-col.vce-col--all-last {\n margin-left: 0;\n}\n@media (min-width: 0) and (max-width: 543px) {\n .vce-row.vce-element--xs--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--xs--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--xs--has-background.vce-row--xs--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--xs--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--xs--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--xs-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--xs-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--xs-last {\n margin-left: 0;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 544px) and (max-width: 767px) {\n .vce-row.vce-element--sm--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--sm--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--sm--has-background.vce-row--sm--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--sm--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--sm--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--sm-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--sm-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--sm-last {\n margin-left: 0;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 768px) and (max-width: 991px) {\n .vce-row.vce-element--md--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--md--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--md--has-background.vce-row--md--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--md--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--md--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--md-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--md-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--md-last {\n margin-left: 0;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 992px) and (max-width: 1199px) {\n .vce-row.vce-element--lg--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--lg--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--lg--has-background.vce-row--lg--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--lg--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--lg--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--lg-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--lg-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--lg-last {\n margin-left: 0;\n }\n}\n/* styles for mobile-landscape */\n@media (min-width: 1200px) {\n .vce-row.vce-element--xl--has-background {\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 30px;\n }\n .vce-row.vce-element--xl--has-background[data-vce-full-width="true"]:not([data-vce-stretch-content="true"]) {\n padding-left: 0;\n padding-right: 0;\n }\n .vce-row.vce-element--xl--has-background.vce-row--xl--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--xl--has-background.vce-row--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row.vce-element--has-background.vce-row--xl--has-col-background {\n padding-bottom: 30px;\n }\n .vce-row > .vce-row-content > .vce-col.vce-col--xl-last {\n margin-right: 0;\n }\n .rtl .vce-row > .vce-row-content > .vce-col.vce-col--xl-last,\n .rtl.vce-row > .vce-row-content > .vce-col.vce-col--xl-last {\n margin-left: 0;\n }\n}\n'},"./row/index.js":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/vc-cake/index.js"),a=n("./node_modules/@babel/runtime/helpers/extends.js"),l=n.n(a),c=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),r=n.n(c),i=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),s=n.n(i),d=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),u=n.n(d),p=n("./node_modules/@babel/runtime/helpers/createClass.js"),v=n.n(p),g=n("./node_modules/@babel/runtime/helpers/inherits.js"),h=n.n(g),m=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),w=n.n(m),f=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),b=n.n(f),x=n("./node_modules/react/index.js"),y=n.n(x),k=n("./node_modules/lodash/lodash.js"),O=n.n(k),S=n("./node_modules/classnames/index.js"),j=n.n(S);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 n,o=b()(e);if(t){var a=b()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return w()(this,n)}}var z=Object(o.getService)("api"),P=Object(o.getService)("document"),D=Object(o.getStorage)("assets"),_=Object(o.getStorage)("elementsSettings"),I=Object(o.getStorage)("fieldOptions"),A=_.state("extendedOptions"),T=["all","defaultSize","xs","sm","md","lg","xl"],L=function(e){h()(n,e);var t=E(n);function n(e){var o;return s()(this,n),(o=t.call(this,e)).state={layout:{}},o.rowRef=y.a.createRef(),o.handleStorageChange=o.handleStorageChange.bind(u()(o)),o}return v()(n,null,[{key:"getRowData",value:function(e){for(var t=[],n=0,o=0,a=[],l=!0,c=e.slice();c.lastIndexOf("hide")===c.length-1&&c.length;)l=!1,c.splice(c.lastIndexOf("hide"),1);c.forEach((function(e,r){var i=0;if("hide"===e)l=!1;else if("auto"===e||""===e)i=.01,a.push("auto"),o++;else{if(e.indexOf("%")>-1)i=parseFloat(e.replace("%","").replace(",","."))/100;else{var s=e.split("/");i=s[0]/s[1]}a.push(i)}var d=Math.floor(1e3*(n+i))/1e3;(d>1||1===d&&"hide"===e)&&(l=!1,t.push(r-1),n=0),void 0===c[r+1]&&t.push(r),n+=i}));var r=0,i=(1-(n-.01*o))/o;return a.forEach((function(e,t){"auto"===e?(a[t]=i,r+=i):r+=e})),a.forEach((function(e){a[0]!==e&&1!==e&&(l=!1)})),{lastColumnIndex:t,isColumnsEqual:l,rowValue:r}}},{key:"resetRowLayout",value:function(e){var t=P.get(e);t.layout.layoutData=null,P.update(e,t)}},{key:"getDefaultLayout",value:function(e,t){var n=[];t&&Object.prototype.hasOwnProperty.call(t,"all")?n=t.all.slice():P.children(e).forEach((function(e){Object.prototype.hasOwnProperty.call(e.size,"defaultSize")&&n.push(e.size.defaultSize)}));return n}},{key:"setColumns",value:function(e,t,o){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=P.children(e),c=[],r=[],i={tag:"column",parent:e,designOptionsAdvanced:{},customClass:"",customHeaderTitle:"",metaCustomId:"",dividers:{},sticky:{},lastInRow:{},firstInRow:{},size:{}},s=null;Object.keys(t).forEach((function(e){var d=t[e],u=o&&o[e];if(u&&u.length)if(d.length>u.length){var p=n.getRowData(u);if(Math.round(100*p.rowValue)/100<1){var v=1-p.rowValue;(d=u).push("".concat(100*v,"%"))}else if(p.isColumnsEqual){var g=d.length,h="".concat(Math.floor(100/g*100)/100,"%");d=[];for(var m=0;m<g;m++)d.push(h)}}else if(d.length<u.length){var w=n.getRowData(u);if(Math.round(100*w.rowValue)/100==1&&w.isColumnsEqual){var f=d.length,b="".concat(Math.floor(100/f*100)/100,"%");d=[];for(var x=0;x<f;x++)d.push(b)}}var y=n.getRowData(d).lastColumnIndex,k=0;d.forEach((function(t,n){var o=y.indexOf(n)>-1,d=0===n||y.indexOf(n-1)>-1;if(void 0!==l[n]){(s=l[n]).size[e]=t,"defaultSize"!==e&&(s.lastInRow[e]=o,s.firstInRow[e]=d),s.disableStacking=a;var u=!1;c.forEach((function(e,t){s.id===e.id&&(c[t]=s,u=!0)})),u||c.push(s)}else{if(r[k]){var p=r[k];p.size[e]=t,"defaultSize"!==e&&(p.lastInRow[e]=o,p.firstInRow[e]=d),p.disableStacking=a}else{var v=O.a.defaultsDeep({},i);v.size[e]=t,"defaultSize"!==e&&(v.lastInRow[e]=o,v.firstInRow[e]=d),v.disableStacking=a,r.push(v)}k+=1}}))})),c.forEach((function(e){Object.prototype.hasOwnProperty.call(t,"all")?(delete e.size.xs,delete e.size.sm,delete e.size.md,delete e.size.lg,delete e.size.xl):delete e.size.all,P.update(e.id,e)})),r.forEach((function(e){P.create(e)}));var d=t.all||t.xs;if(d&&l.length>d.length){var u=l.slice(d.length);u.forEach((function(e){P.children(e.id).forEach((function(e){e.parent=s.id,P.update(e.id,e)})),P.delete(e.id)}))}}},{key:"getLayout",value:function(e){var t={},n=P.children(e),o=!1;return n.forEach((function(e){Object.prototype.hasOwnProperty.call(e.size,"xs")&&(o=!0)})),n.forEach((function(e){!o&&e.size.all&&(Object.prototype.hasOwnProperty.call(t,"all")||(t.all=[]),t.all.push(e.size.all)),e.size.defaultSize&&(Object.prototype.hasOwnProperty.call(t,"defaultSize")||(t.defaultSize=[]),t.defaultSize.push(e.size.defaultSize))})),Object.prototype.hasOwnProperty.call(t,"all")||T.forEach((function(e){"defaultSize"!==e&&"all"!==e&&n.forEach((function(n){n.size[e]&&(Object.prototype.hasOwnProperty.call(t,e)||(t[e]=[]),t[e].push(n.size[e])),o&&Object.prototype.hasOwnProperty.call(n.size,"all")&&(Object.prototype.hasOwnProperty.call(t,e)||(t[e]=[]),"xs"===e||"sm"===e?t[e].push("100%"):t[e].push(n.size.all))}))})),t}},{key:"getDerivedStateFromProps",value:function(e,t){if(!Object(o.env)("VCV_JS_FT_ROW_COLUMN_LOGIC_REFACTOR"))return null;var a=e.atts,l=e.id,c=a.layout&&a.layout.layoutData?a.layout.layoutData:n.getLayout(l),r=a.layout&&a.layout.layoutData;if(JSON.stringify(c)!==JSON.stringify(t.layout)){if(r)return n.setColumns(l,r,null,a.layout.disableStacking),n.resetRowLayout(l),setTimeout((function(){D.trigger("updateElement",l)}),10),{layout:r};var i=n.getLayout(l);return n.setColumns(l,i,t.layout,a.layout.disableStacking),setTimeout((function(){D.trigger("updateElement",l)}),10),{layout:i}}return null}}]),v()(n,[{key:"componentDidMount",value:function(){var e=A.get();if(!e||e&&!e.elements.includes(this.props.id)){A.onChange(this.handleStorageChange);var t={fieldKey:!1,fieldType:!1,id:this.props.id};I.trigger("fieldOptionsChange",t)}}},{key:"componentDidUpdate",value:function(){this.handleStorageChange(!1)}},{key:"handleStorageChange",value:function(e){var t=this,n=A.get();if(e&&(n=e,A.ignoreChange(this.handleStorageChange)),n){var o=n.elements.find((function(e){return e.id===t.props.id}));if(o){var a=this.rowRef.current;_.state("elementOptions").set(R(R({},o),{},{ref:a}))}}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.atts,o=e.editor,a=e.isBackend,c=n.customClass,r=n.rowWidth,i=n.removeSpaces,s=n.columnGap,d=n.fullHeight,u=n.metaCustomId,p=n.equalHeight,v=n.columnPosition,g=n.contentPosition,h=n.designOptionsAdvanced,m=n.layout,w=n.columnBackground,f=n.hidden,b=n.sticky,x=n.boxShadow,k=this.props.children,O=window.VCV_EDITOR_TYPE?window.VCV_EDITOR_TYPE():"default",S=j()({"vce-row-container":!0,"vce-wpbackend-element-hidden":f&&a}),C=["vce-row"];if(w)if(w.all)C.push("vce-row--has-col-background");else for(var R in w)w[R]&&C.push("vce-row--".concat(R,"--has-col-background"));C.push(this.getBackgroundClass(h)),C.push("vce-row--col-gap-".concat(s?parseInt(s):0)),m&&m.reverseColumn&&!m.disableStacking&&C.push("vce-row-wrap--reverse");var E={style:{}},z={style:{}},P={};"string"==typeof c&&c&&C.push(c),"stretchedRow"===r||"stretchedRowAndColumn"===r?z["data-vce-full-width"]=!0:(z.style.width="",z.style.left="",z.style.right="",E.style.paddingLeft="",E.style.paddingRight=""),"stretchedRowAndColumn"!==r&&"sidebar"!==O||(z["data-vce-stretch-content"]=!0);var D={};b&&b.device&&(D=this.getStickyAttributes(b)),"sidebar"!==O&&"stretchedRowAndColumn"!==r||!i||C.push("vce-row-no-paddings"),d?C.push("vce-row-full-height"):z.style.minHeight="",p&&"stretch"!==v&&C.push("vce-row-equal-height"),v&&C.push("vce-row-columns--".concat(v)),g&&C.push("vce-row-content--".concat(g));var _={};x&&x.device&&(_=this.getBoxShadowAttributes(x,t));var I=j()(C);u&&(P.id=u),P["data-vce-delete-attr"]="style",z["data-vce-delete-attr"]="style",E["data-vce-element-content"]=!0;var A=this.applyDO("all");return y.a.createElement("div",l()({className:S},P),y.a.createElement("div",l()({className:I},z,D,_,o,{id:"el-"+t},A,{ref:this.rowRef}),this.getBackgroundTypeContent(),this.getContainerDivider(),y.a.createElement("div",l()({className:"vce-row-content"},E),k)))}}]),n}(z.elementComponent);(0,Object(o.getService)("cook").add)(n("./row/settings.json"),(function(e){e.add(L)}),{css:n("./node_modules/raw-loader/index.js!./row/styles.css"),editorCss:!1,mixins:{columnGap:{mixin:n("./node_modules/raw-loader/index.js!./row/cssMixins/columnGap.pcss")}}},(function(e){var t=e.rowLayout,n=e.designOptionsAdvanced;if(t&&!Array.isArray(t)||(e.rowLayout={all:t}),n&&n.device){var o={},a={};if(Object.keys(n.device).forEach((function(e){var t=n.device[e],l=Object.assign({},t);if(t.parallax){var c={parallaxEnable:!0,parallax:t.parallax};Object.prototype.hasOwnProperty.call(t,"parallaxReverse")&&(c.parallaxReverse=t.parallaxReverse),Object.prototype.hasOwnProperty.call(t,"parallaxSpeed")&&(c.parallaxSpeed=t.parallaxSpeed),o[e]=c,delete l.parallax,delete l.parallaxReverse,delete l.parallaxSpeed,a[e]=l}})),!O.a.isEmpty(o)){e.parallax={device:o};var l=Object.assign({},n);l.device=a,e.designOptionsAdvanced=l}}return e}))},"./row/settings.json":function(e){e.exports=JSON.parse('{"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"layout":{"type":"rowLayout","access":"public","value":{},"options":{"label":"Row Layout"}},"dividers":{"type":"divider","access":"public","value":{},"options":{"label":"Dividers"}},"sticky":{"type":"sticky","access":"public","value":{},"options":{"label":"Sticky"}},"boxShadow":{"type":"boxShadow","access":"public","value":{},"options":{"label":"Box Shadow"}},"parallax":{"type":"parallax","access":"public","value":{},"options":{"label":"Parallax"}},"designOptionsAdvanced":{"type":"designOptionsAdvanced","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["rowWidth","removeSpaces","columnGap","fullHeight","columnPosition","equalHeight","contentPosition","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","layout","designOptionsAdvanced","parallax","boxShadow","dividers","sticky"]},"relatedTo":{"type":"group","access":"protected","value":["General","RootElements","Row"]},"containerFor":{"type":"group","access":"protected","value":["Column"]},"parentWrapper":{"type":"string","access":"protected","value":""},"metaOrder":{"type":"number","access":"protected","value":2},"rowWidth":{"type":"buttonGroup","access":"public","value":"boxed","options":{"label":"Row width","values":[{"label":"Boxed","value":"boxed","icon":"vcv-ui-icon-attribute-row-width-boxed"},{"label":"Stretched Row","value":"stretchedRow","icon":"vcv-ui-icon-attribute-row-width-stretched"},{"label":"Stretched Row and Column","value":"stretchedRowAndColumn","icon":"vcv-ui-icon-attribute-row-width-stretched-content"}],"containerDependency":{"sidebar":"hide"}}},"removeSpaces":{"type":"toggle","access":"public","value":false,"options":{"label":"Remove spaces","description":"Remove row spaces from left and right.","onChange":{"rules":{"rowWidth":{"rule":"value","options":{"value":"stretchedRowAndColumn"}}},"actions":[{"action":"toggleVisibility"}]},"containerDependency":{"sidebar":"removeDependencies"}}},"columnGap":{"type":"number","access":"public","value":"30","options":{"label":"Column gap","description":"Enter gap between columns in pixels (Example: 5).","min":"0","cssMixin":{"mixin":"columnGap","property":"gap","namePattern":"[\\\\da-f]+"}}},"fullHeight":{"type":"toggle","access":"public","value":false,"options":{"label":"Full height","description":"Set row to be full screen height."}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"equalHeight":{"type":"toggle","access":"public","value":false,"options":{"label":"Column equal height"}},"columnPosition":{"type":"buttonGroup","access":"public","value":"top","options":{"label":"Column position","values":[{"label":"Top","value":"top","icon":"vcv-ui-icon-attribute-vertical-alignment-top"},{"label":"Middle","value":"middle","icon":"vcv-ui-icon-attribute-vertical-alignment-middle"},{"label":"Bottom","value":"bottom","icon":"vcv-ui-icon-attribute-vertical-alignment-bottom"},{"label":"Full Height","value":"stretch","icon":"vcv-ui-icon-attribute-vertical-alignment-full-height"}],"onChange":{"rules":{"fullHeight":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"contentPosition":{"type":"buttonGroup","access":"public","value":"top","options":{"label":"Content position","values":[{"label":"Top","value":"top","icon":"vcv-ui-icon-attribute-vertical-alignment-top"},{"label":"Middle","value":"middle","icon":"vcv-ui-icon-attribute-vertical-alignment-middle"},{"label":"Bottom","value":"bottom","icon":"vcv-ui-icon-attribute-vertical-alignment-bottom"}]}},"size":{"type":"string","access":"public","value":"auto"},"hidden":{"type":"string","access":"public","value":false},"columnBackground":{"type":"string","access":"public","value":""},"tag":{"access":"protected","type":"string","value":"row"},"sharedAssetsLibrary":{"access":"protected","type":"string","value":{"libraries":[{"rules":{"rowWidth":{"rule":"!value","options":{"value":"boxed"}}},"libsNames":["fullWidth"]},{"rules":{"fullHeight":{"rule":"toggle"}},"libsNames":["fullHeight"]}]}},"initChildren":{"access":"protected","type":"object","value":[{"tag":"column"}]}}')}},[["./row/index.js"]]]);
elements/row/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/separator/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./separator/cssMixins/basicColor.pcss":function(e,t){e.exports=".vce-separator--color-$selector {\n color: $color;\n}"},"./node_modules/raw-loader/index.js!./separator/cssMixins/separatorThickness.pcss":function(e,t){e.exports=".vce-separator--thickness-$selector {\n &::before {\n border-width: $(thickness)px;\n }\n .vce-separator-shadow {\n height: calc($(thickness)px * 2.5);\n }\n .vce-separator-shadow-left {\n &::before {\n box-shadow: 10px 10px 10px $(thickness)px;\n }\n }\n .vce-separator-shadow-right {\n &::before {\n box-shadow: -10px 10px 10px $(thickness)px;\n }\n }\n}"},"./node_modules/raw-loader/index.js!./separator/cssMixins/separatorWidth.pcss":function(e,t){e.exports=".vce-separator--width-$selector {\n width: $(width)%;\n}"},"./node_modules/raw-loader/index.js!./separator/editor.css":function(e,t){e.exports=".vce-basic-separator-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./separator/styles.css":function(e,t){e.exports="/* ----------------------------------------------\n * Separator\n * ---------------------------------------------- */\n.vce-separator-container {\n line-height: 0;\n}\n.vce-separator {\n display: inline-block;\n vertical-align: middle;\n line-height: 1;\n padding-top: 10px;\n padding-bottom: 10px;\n transition: color .3s ease;\n}\n.vce-separator::before {\n display: block;\n content: '';\n box-sizing: content-box;\n border-width: 1px;\n border-top-style: solid;\n width: 100%;\n}\n.vce-separator--align-left {\n text-align: left;\n}\n.vce-separator--align-center {\n text-align: center;\n}\n.vce-separator--align-right {\n text-align: right;\n}\n.vce-separator--style-solid .vce-separator::before {\n border-top-style: solid;\n}\n.vce-separator--style-dotted .vce-separator::before {\n border-top-style: dotted;\n}\n.vce-separator--style-dashed .vce-separator::before {\n border-top-style: dashed;\n}\n.vce-separator--style-double .vce-separator::before {\n border-top-style: double;\n}\n.vce-separator--style-shadow .vce-separator {\n display: -ms-flexbox;\n display: flex;\n margin-right: auto;\n margin-left: auto;\n}\n.vce-separator--style-shadow .vce-separator::before {\n display: none;\n}\n.vce-separator-shadow {\n position: relative;\n min-height: 10px;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n min-width: 10%;\n overflow: hidden;\n}\n.vce-separator-shadow::before {\n content: '';\n display: block;\n position: absolute;\n left: 0;\n top: -20px;\n right: 0;\n height: 10px;\n border-radius: 100%;\n}\n.vce-separator-shadow-left::before {\n right: -100%;\n}\n.vce-separator-shadow-right::before {\n left: -100%;\n}\n"},"./separator/index.js":function(e,t,s){"use strict";s.r(t);var a=s("./node_modules/vc-cake/index.js"),n=s.n(a),o=s("./node_modules/@babel/runtime/helpers/extends.js"),r=s.n(o),i=s("./node_modules/@babel/runtime/helpers/classCallCheck.js"),c=s.n(i),l=s("./node_modules/@babel/runtime/helpers/createClass.js"),p=s.n(l),d=s("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),u=s.n(d),h=s("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),m=s.n(h),v=s("./node_modules/@babel/runtime/helpers/inherits.js"),b=s.n(v),x=s("./node_modules/react/index.js"),g=s.n(x);function f(){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}}var y=function(e){b()(n,e);var t,a=(t=n,function(){var e,s=m()(t);if(f()){var a=m()(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return u()(this,e)});function n(){return c()(this,n),a.apply(this,arguments)}return p()(n,[{key:"render",value:function(){var e,t=this.props,a=t.id,n=t.atts,o=t.editor,i=n.alignment,c=n.customClass,l=n.metaCustomId,p=n.style,d=s("./node_modules/classnames/index.js"),u={},h=["vce","vce-separator-container"],m=["vce-separator"];"string"==typeof c&&c&&h.push(c),i&&h.push("vce-separator--align-".concat(i)),p&&h.push("vce-separator--style-".concat(p));var v=this.getMixinData("basicColor");v&&m.push("vce-separator--color-".concat(v.selector)),(v=this.getMixinData("separatorWidth"))&&m.push("vce-separator--width-".concat(v.selector)),(v=this.getMixinData("separatorThickness"))&&m.push("vce-separator--thickness-".concat(v.selector)),l&&(u.id=l),m=d(m),h=d(h);var b=this.applyDO("margin"),x=this.applyDO("border padding background animation");return e="shadow"===p?g.a.createElement("div",r()({className:m},u,x),g.a.createElement("div",{className:"vce-separator-shadow vce-separator-shadow-left"}),g.a.createElement("div",{className:"vce-separator-shadow vce-separator-shadow-right"})):g.a.createElement("div",r()({className:m},u,x)),g.a.createElement("div",r()({className:h},o,{id:"el-"+a},b),e)}}]),n}(n.a.getService("api").elementComponent);(0,n.a.getService("cook").add)(s("./separator/settings.json"),(function(e){e.add(y)}),{css:s("./node_modules/raw-loader/index.js!./separator/styles.css"),editorCss:s("./node_modules/raw-loader/index.js!./separator/editor.css"),mixins:{basicColor:{mixin:s("./node_modules/raw-loader/index.js!./separator/cssMixins/basicColor.pcss")},separatorWidth:{mixin:s("./node_modules/raw-loader/index.js!./separator/cssMixins/separatorWidth.pcss")},separatorThickness:{mixin:s("./node_modules/raw-loader/index.js!./separator/cssMixins/separatorThickness.pcss")}}},"")},"./separator/settings.json":function(e){e.exports=JSON.parse('{"groups":{"type":"string","access":"protected","value":"Separators"},"color":{"type":"color","access":"public","value":"#bfc0c1","options":{"label":"Separator color","cssMixin":{"mixin":"basicColor","property":"color","namePattern":"[\\\\da-f]+"}}},"alignment":{"type":"buttonGroup","access":"public","value":"center","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"style":{"type":"dropdown","access":"public","value":"solid","options":{"label":"Style","values":[{"label":"Line","value":"solid"},{"label":"Dashed","value":"dashed"},{"label":"Dotted","value":"dotted"},{"label":"Double","value":"double"},{"label":"Shadow","value":"shadow"}]}},"thickness":{"type":"number","access":"public","value":"1","options":{"label":"Thickness","description":"Enter separator thickeness in pixels.","cssMixin":{"mixin":"separatorThickness","property":"thickness","namePattern":"[\\\\da-f]+"},"min":1}},"width":{"type":"range","access":"public","value":"60","options":{"label":"Separator width","description":"Enter separator width in percents (Example: 60).","cssMixin":{"mixin":"separatorWidth","property":"width","namePattern":"[\\\\da-f]+"},"min":1,"max":100,"measurement":"%"}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["color","alignment","style","thickness","width","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["color"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"separator"}}')}},[["./separator/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./separator/cssMixins/basicColor.pcss":function(e,t){e.exports=".vce-separator--color-$selector {\n color: $color;\n}"},"./node_modules/raw-loader/index.js!./separator/cssMixins/separatorThickness.pcss":function(e,t){e.exports=".vce-separator--thickness-$selector {\n &::before {\n border-width: $(thickness)px;\n }\n .vce-separator-shadow {\n height: calc($(thickness)px * 2.5);\n }\n .vce-separator-shadow-left {\n &::before {\n box-shadow: 10px 10px 10px $(thickness)px;\n }\n }\n .vce-separator-shadow-right {\n &::before {\n box-shadow: -10px 10px 10px $(thickness)px;\n }\n }\n}"},"./node_modules/raw-loader/index.js!./separator/cssMixins/separatorWidth.pcss":function(e,t){e.exports=".vce-separator--width-$selector {\n width: $(width)%;\n}"},"./node_modules/raw-loader/index.js!./separator/editor.css":function(e,t){e.exports=".vce-basic-separator-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./separator/styles.css":function(e,t){e.exports="/* ----------------------------------------------\n * Separator\n * ---------------------------------------------- */\n.vce-separator-container {\n line-height: 0;\n}\n.vce-separator {\n display: inline-block;\n vertical-align: middle;\n line-height: 1;\n padding-top: 10px;\n padding-bottom: 10px;\n transition: color .3s ease;\n}\n.vce-separator::before {\n display: block;\n content: '';\n box-sizing: content-box;\n border-width: 1px;\n border-top-style: solid;\n width: 100%;\n}\n.vce-separator--align-left {\n text-align: left;\n}\n.vce-separator--align-center {\n text-align: center;\n}\n.vce-separator--align-right {\n text-align: right;\n}\n.vce-separator--style-solid .vce-separator::before {\n border-top-style: solid;\n}\n.vce-separator--style-dotted .vce-separator::before {\n border-top-style: dotted;\n}\n.vce-separator--style-dashed .vce-separator::before {\n border-top-style: dashed;\n}\n.vce-separator--style-double .vce-separator::before {\n border-top-style: double;\n}\n.vce-separator--style-shadow .vce-separator {\n display: -ms-flexbox;\n display: flex;\n margin-right: auto;\n margin-left: auto;\n}\n.vce-separator--style-shadow .vce-separator::before {\n display: none;\n}\n.vce-separator-shadow {\n position: relative;\n min-height: 10px;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n min-width: 10%;\n overflow: hidden;\n}\n.vce-separator-shadow::before {\n content: '';\n display: block;\n position: absolute;\n left: 0;\n top: -20px;\n right: 0;\n height: 10px;\n border-radius: 100%;\n}\n.vce-separator-shadow-left::before {\n right: -100%;\n}\n.vce-separator-shadow-right::before {\n left: -100%;\n}\n"},"./separator/index.js":function(e,t,s){"use strict";s.r(t);var a=s("./node_modules/vc-cake/index.js"),n=s.n(a),o=s("./node_modules/@babel/runtime/helpers/extends.js"),r=s.n(o),i=s("./node_modules/@babel/runtime/helpers/classCallCheck.js"),c=s.n(i),l=s("./node_modules/@babel/runtime/helpers/createClass.js"),p=s.n(l),d=s("./node_modules/@babel/runtime/helpers/inherits.js"),u=s.n(d),h=s("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),m=s.n(h),v=s("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),b=s.n(v),x=s("./node_modules/react/index.js"),g=s.n(x);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 s,a=b()(e);if(t){var n=b()(this).constructor;s=Reflect.construct(a,arguments,n)}else s=a.apply(this,arguments);return m()(this,s)}}var y=function(e){u()(a,e);var t=f(a);function a(){return c()(this,a),t.apply(this,arguments)}return p()(a,[{key:"render",value:function(){var e,t=this.props,a=t.id,n=t.atts,o=t.editor,i=n.alignment,c=n.customClass,l=n.metaCustomId,p=n.style,d=s("./node_modules/classnames/index.js"),u={},h=["vce","vce-separator-container"],m=["vce-separator"];"string"==typeof c&&c&&h.push(c),i&&h.push("vce-separator--align-".concat(i)),p&&h.push("vce-separator--style-".concat(p));var v=this.getMixinData("basicColor");v&&m.push("vce-separator--color-".concat(v.selector)),(v=this.getMixinData("separatorWidth"))&&m.push("vce-separator--width-".concat(v.selector)),(v=this.getMixinData("separatorThickness"))&&m.push("vce-separator--thickness-".concat(v.selector)),l&&(u.id=l),m=d(m),h=d(h);var b=this.applyDO("margin"),x=this.applyDO("border padding background animation");return e="shadow"===p?g.a.createElement("div",r()({className:m},u,x),g.a.createElement("div",{className:"vce-separator-shadow vce-separator-shadow-left"}),g.a.createElement("div",{className:"vce-separator-shadow vce-separator-shadow-right"})):g.a.createElement("div",r()({className:m},u,x)),g.a.createElement("div",r()({className:h},o,{id:"el-"+a},b),e)}}]),a}(n.a.getService("api").elementComponent);(0,n.a.getService("cook").add)(s("./separator/settings.json"),(function(e){e.add(y)}),{css:s("./node_modules/raw-loader/index.js!./separator/styles.css"),editorCss:s("./node_modules/raw-loader/index.js!./separator/editor.css"),mixins:{basicColor:{mixin:s("./node_modules/raw-loader/index.js!./separator/cssMixins/basicColor.pcss")},separatorWidth:{mixin:s("./node_modules/raw-loader/index.js!./separator/cssMixins/separatorWidth.pcss")},separatorThickness:{mixin:s("./node_modules/raw-loader/index.js!./separator/cssMixins/separatorThickness.pcss")}}},"")},"./separator/settings.json":function(e){e.exports=JSON.parse('{"groups":{"type":"string","access":"protected","value":"Separators"},"color":{"type":"color","access":"public","value":"#bfc0c1","options":{"label":"Separator color","cssMixin":{"mixin":"basicColor","property":"color","namePattern":"[\\\\da-f]+"}}},"alignment":{"type":"buttonGroup","access":"public","value":"center","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"style":{"type":"dropdown","access":"public","value":"solid","options":{"label":"Style","values":[{"label":"Line","value":"solid"},{"label":"Dashed","value":"dashed"},{"label":"Dotted","value":"dotted"},{"label":"Double","value":"double"},{"label":"Shadow","value":"shadow"}]}},"thickness":{"type":"number","access":"public","value":"1","options":{"label":"Thickness","description":"Enter separator thickeness in pixels.","cssMixin":{"mixin":"separatorThickness","property":"thickness","namePattern":"[\\\\da-f]+"},"min":1}},"width":{"type":"range","access":"public","value":"60","options":{"label":"Separator width","description":"Enter separator width in percents (Example: 60).","cssMixin":{"mixin":"separatorWidth","property":"width","namePattern":"[\\\\da-f]+"},"min":1,"max":100,"measurement":"%"}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["color","alignment","style","thickness","width","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["color"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"separator"}}')}},[["./separator/index.js"]]]);
elements/separator/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/shortcode/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./shortcode/editor.css":function(e,t){e.exports=".vce-shortcode {\n min-height: 1em;\n}\n"},"./shortcode/index.js":function(e,t,s){"use strict";s.r(t);var o=s("./node_modules/vc-cake/index.js"),n=s.n(o),r=s("./node_modules/@babel/runtime/helpers/extends.js"),c=s.n(r),a=s("./node_modules/@babel/runtime/helpers/classCallCheck.js"),d=s.n(a),i=s("./node_modules/@babel/runtime/helpers/createClass.js"),l=s.n(i),u=s("./node_modules/@babel/runtime/helpers/get.js"),p=s.n(u),h=s("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),m=s.n(h),v=s("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),f=s.n(v),y=s("./node_modules/@babel/runtime/helpers/inherits.js"),b=s.n(y),g=s("./node_modules/react/index.js"),j=s.n(g),x=s("./node_modules/lodash/lodash.js"),C=s.n(x);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}}var S=function(e){b()(o,e);var t,s=(t=o,function(){var e,s=f()(t);if(_()){var o=f()(this).constructor;e=Reflect.construct(s,arguments,o)}else e=s.apply(this,arguments);return m()(this,e)});function o(e){var t;return d()(this,o),(t=s.call(this,e)).delayedShortcodeUpdate=C.a.debounce(t.updateShortcodeElement,500),t}return l()(o,[{key:"componentDidMount",value:function(){p()(f()(o.prototype),"updateShortcodeToHtml",this).call(this,this.props.atts.shortcode,this.refs.vcvhelper)}},{key:"updateShortcodeElement",value:function(){p()(f()(o.prototype),"updateShortcodeToHtml",this).call(this,this.props.atts.shortcode,this.refs.vcvhelper)}},{key:"componentDidUpdate",value:function(e){this.props.atts.shortcode!==e.atts.shortcode&&this.delayedShortcodeUpdate()}},{key:"render",value:function(){var e=this.props,t=e.id,s=e.atts,o=e.editor,n=s.shortcode,r=s.customClass,a=s.metaCustomId,d="vce-shortcode",i={};"string"==typeof r&&r&&(d=d.concat(" "+r)),a&&(i.id=a);var l=this.applyDO("all");return j.a.createElement("div",c()({className:d},o,i),j.a.createElement("div",c()({className:"vce-shortcode-wrapper vce",id:"el-"+t},l),j.a.createElement("div",{className:"vcvhelper",ref:"vcvhelper","data-vcvs-html":n})))}}]),o}(n.a.getService("api").elementComponent);(0,n.a.getService("cook").add)(s("./shortcode/settings.json"),(function(e){e.add(S)}),{css:!1,editorCss:s("./node_modules/raw-loader/index.js!./shortcode/editor.css")},"")},"./shortcode/settings.json":function(e){e.exports=JSON.parse('{"shortcode":{"type":"string","access":"public","value":"Insert [shortcode] of any WordPress plugin installed on your website."},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["shortcode","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"shortcode"}}')}},[["./shortcode/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./shortcode/editor.css":function(e,t){e.exports=".vce-shortcode {\n min-height: 1em;\n}\n"},"./shortcode/index.js":function(e,t,s){"use strict";s.r(t);var o=s("./node_modules/vc-cake/index.js"),n=s.n(o),r=s("./node_modules/@babel/runtime/helpers/extends.js"),c=s.n(r),a=s("./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=s.n(a),d=s("./node_modules/@babel/runtime/helpers/createClass.js"),l=s.n(d),u=s("./node_modules/@babel/runtime/helpers/get.js"),p=s.n(u),h=s("./node_modules/@babel/runtime/helpers/inherits.js"),m=s.n(h),v=s("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=s.n(v),y=s("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),b=s.n(y),g=s("./node_modules/react/index.js"),j=s.n(g),x=s("./node_modules/lodash/lodash.js"),C=s.n(x);function _(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 s,o=b()(e);if(t){var n=b()(this).constructor;s=Reflect.construct(o,arguments,n)}else s=o.apply(this,arguments);return f()(this,s)}}var S=function(e){m()(s,e);var t=_(s);function s(e){var o;return i()(this,s),(o=t.call(this,e)).delayedShortcodeUpdate=C.a.debounce(o.updateShortcodeElement,500),o}return l()(s,[{key:"componentDidMount",value:function(){p()(b()(s.prototype),"updateShortcodeToHtml",this).call(this,this.props.atts.shortcode,this.refs.vcvhelper)}},{key:"updateShortcodeElement",value:function(){p()(b()(s.prototype),"updateShortcodeToHtml",this).call(this,this.props.atts.shortcode,this.refs.vcvhelper)}},{key:"componentDidUpdate",value:function(e){this.props.atts.shortcode!==e.atts.shortcode&&this.delayedShortcodeUpdate()}},{key:"render",value:function(){var e=this.props,t=e.id,s=e.atts,o=e.editor,n=s.shortcode,r=s.customClass,a=s.metaCustomId,i="vce-shortcode",d={};"string"==typeof r&&r&&(i=i.concat(" "+r)),a&&(d.id=a);var l=this.applyDO("all");return j.a.createElement("div",c()({className:i},o,d),j.a.createElement("div",c()({className:"vce-shortcode-wrapper vce",id:"el-"+t},l),j.a.createElement("div",{className:"vcvhelper",ref:"vcvhelper","data-vcvs-html":n})))}}]),s}(n.a.getService("api").elementComponent);(0,n.a.getService("cook").add)(s("./shortcode/settings.json"),(function(e){e.add(S)}),{css:!1,editorCss:s("./node_modules/raw-loader/index.js!./shortcode/editor.css")},"")},"./shortcode/settings.json":function(e){e.exports=JSON.parse('{"shortcode":{"type":"string","access":"public","value":"Insert [shortcode] of any WordPress plugin installed on your website."},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["shortcode","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"shortcode"}}')}},[["./shortcode/index.js"]]]);
elements/shortcode/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/singleImage/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./singleImage/editor.css":function(e,t){e.exports=".vce-single-image-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./singleImage/styles.css":function(e,t){e.exports='a.vce-single-image-inner {\n color: transparent;\n border-bottom: 0;\n text-decoration: none;\n box-shadow: none;\n}\n\na.vce-single-image-inner:hover,\na.vce-single-image-inner:focus {\n text-decoration: none;\n box-shadow: none;\n border-bottom: 0;\n}\n\n.vce-single-image-inner {\n display: inline-block;\n vertical-align: top;\n line-height: 1;\n max-width: 100%;\n position: relative;\n}\n\n.vce-single-image-wrapper {\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n vertical-align: top;\n}\n\n.vce-single-image-wrapper img {\n vertical-align: top;\n max-width: 100%;\n}\n\n.vce-single-image--border-rounded {\n border-radius: 5px;\n overflow: hidden;\n}\n\n.vce-single-image--border-round {\n border-radius: 50%;\n overflow: hidden;\n}\n\n.vce-single-image--align-center {\n text-align: center;\n}\n\n.vce-single-image--align-right {\n text-align: right;\n}\n\n.vce-single-image--align-left {\n text-align: left;\n}\n\n.vce-single-image-wrapper figure {\n margin: 0;\n}\n\n.vce-single-image-wrapper figcaption {\n font-style: italic;\n margin-top: 10px;\n}\n\n.vce-single-image-wrapper figcaption[hidden] {\n display: none;\n}\n\n.vce-single-image-inner.vce-single-image--absolute .vce-single-image:not([data-dynamic-natural-size="true"]) {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n object-fit: cover;\n height: 100%;\n}\n\n.vce-single-image-container .vce-single-image-inner .vce-single-image {\n box-shadow: none;\n}\n'},"./singleImage/index.js":function(e,t,a){"use strict";a.r(t);var i=a("./node_modules/vc-cake/index.js"),n=a.n(i),s=a("./node_modules/@babel/runtime/helpers/extends.js"),l=a.n(s),r=a("./node_modules/@babel/runtime/helpers/typeof.js"),o=a.n(r),c=a("./node_modules/@babel/runtime/helpers/classCallCheck.js"),g=a.n(c),u=a("./node_modules/@babel/runtime/helpers/createClass.js"),p=a.n(u),d=a("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),m=a.n(d),h=a("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),v=a.n(h),b=a("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),f=a.n(b),w=a("./node_modules/@babel/runtime/helpers/inherits.js"),y=a.n(w),I=a("./node_modules/@babel/runtime/helpers/defineProperty.js"),x=a.n(I),S=a("./node_modules/react/index.js"),k=a.n(S);function z(){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}}var E=Object(i.getService)("api"),j=Object(i.getService)("renderProcessor"),C=Object(i.getService)("utils"),O=C.getBlockRegexp,_=C.parseDynamicBlock,L=O(),R=function(e){y()(i,e);var t,a=(t=i,function(){var e,a=f()(t);if(z()){var i=f()(this).constructor;e=Reflect.construct(a,arguments,i)}else e=a.apply(this,arguments);return v()(this,e)});function i(e){var t;return g()(this,i),t=a.call(this,e),x()(m()(t),"promise",null),t.state={imgElement:null,parsedWidth:null,parsedHeight:null,naturalWidth:null,naturalHeight:null},t.setImage=t.setImage.bind(m()(t)),t.setImageState=t.setImageState.bind(m()(t)),t.setError=t.setError.bind(m()(t)),t}return p()(i,[{key:"componentDidMount",value:function(){var e=this;this.promise=new window.Promise((function(t,a){e.resolve=t,e.setImage(e.props)})),j.add(this.promise)}},{key:"componentWillUnmount",value:function(){this.resolve&&this.resolve(!0),i.image&&i.image.removeEventListener("load",this.setImageState),i.image&&i.image.removeEventListener("error",this.setError)}},{key:"componentDidUpdate",value:function(e,t){e.atts.image!==this.props.atts.image?this.setImage(this.props):(e.atts.size!==this.props.atts.size||e.atts.shape!==this.props.atts.shape)&&this.resetImageSizeState()}},{key:"parseSize",value:function(e,t,a,i){var n=!0;"string"==typeof e?e=e.replace(/\s/g,"").replace(/px/g,"").toLowerCase().split("x"):"object"===o()(e)&&(n=e.crop,e=[e.width,e.height]),a=parseInt(a),i=parseInt(i);var s=parseInt(e[0])<a,l=parseInt(e[1])<i;if(n)e[0]=parseInt(e[0])<a?parseInt(e[0]):a,e[1]=parseInt(e[1])<i?parseInt(e[1]):i;else{if(e[0]=s?parseInt(e[0]):a,e[1]=l?parseInt(e[1]):i,s&&!l){var r=e[0]/a;e[1]=parseInt(i*r)}if(l&&!s){var c=e[1]/i;e[0]=parseInt(a*c)}if(l&&s)if(i<a){var g=e[0]/a;e[1]=parseInt(i*g)}else{var u=e[1]/i;e[0]=parseInt(a*u)}}if(t){var p=e[0]>=e[1]?e[1]:e[0];e={width:p,height:p}}else e={width:e[0],height:e[1]};return e}},{key:"checkRelatedSize",value:function(e){var t=null;return window.vcvImageSizes&&window.vcvImageSizes[e]&&(t=window.vcvImageSizes[e]),t}},{key:"getSizes",value:function(e,t){var a=e.size,i=e.shape,n="";return{width:(n=(a=a.replace(/\s/g,"").replace(/px/g,"").toLowerCase()).match(/\d+(x)\d+/)?this.parseSize(a,"round"===i,t.width,t.height):(n=this.checkRelatedSize(a))?this.parseSize(n,"round"===i,t.width,t.height):this.parseSize({width:t.width,height:t.height},"round"===i,t.width,t.height)).width,height:n.height}}},{key:"setImage",value:function(e){var t=this.getImageUrl(e.atts.image);i.image&&i.image.removeEventListener("load",this.setImageState),i.image&&i.image.removeEventListener("error",this.setError),i.image=new window.Image,i.image.addEventListener("load",this.setImageState),i.image.addEventListener("error",this.setError),t?i.image.src=t:this.setError(),t||this.setState({imgElement:null,parsedWidth:null,parsedHeight:null,naturalWidth:null,naturalHeight:null})}},{key:"setImageState",value:function(e){var t=this,a=e.currentTarget,i=this.getSizes(this.props.atts,a);this.setState({imgElement:a,parsedWidth:i.width,parsedHeight:i.height,naturalWidth:a.width,naturalHeight:a.height},(function(){t.resolve&&t.resolve(!0)}))}},{key:"resetImageSizeState",value:function(){var e=this.getSizes(this.props.atts,this.state.imgElement);this.setState({parsedWidth:e.width,parsedHeight:e.height})}},{key:"setError",value:function(){this.resolve&&this.resolve(!1)}},{key:"getImageShortcode",value:function(e){var t=e.props,a=e.classes,i=e.isDefaultImage,n=e.src,s=e.isDynamicImage,l=e.naturalSizes,r='[vcvSingleImage class="'.concat(a,'" data-width="').concat(this.state.parsedWidth||0,'" data-height="').concat(this.state.parsedHeight||0,'" src="').concat(n,'" data-img-src="').concat(t["data-img-src"],'"'),o=t.alt,c=t.title;if(i&&(r+=' data-default-image="true"'),s){var g=_(this.props.rawAtts.image.full);r+=' data-dynamic="'.concat(g.blockAtts.value,'"');var u=new URL(g.blockAtts.currentValue),p=new URLSearchParams(u.search);o=p.get("alt"),c=p.get("title"),l&&(r+=' data-dynamic-natural-size="true"')}return r+=' alt="'.concat(o,'" title="').concat(c,'" ]')}},{key:"render",value:function(){var e=this.props,t=e.id,a=e.atts,i=e.editor,n=a.shape,s=a.clickableOptions,r=a.showCaption,o=a.customClass,c=a.size,g=a.alignment,u=a.metaCustomId,p=a.image,d="vce-single-image-container",m="vce-single-image-inner vce-single-image--absolute",h={},v={},b={},f="div",w={},y=this.getImageUrl(p),I=this.props.rawAtts.image&&this.props.rawAtts.image.full,x=Array.isArray("string"==typeof I&&I.match(L));w["data-img-src"]=y,w.alt=p&&p.alt?p.alt:"",w.title=p&&p.title?p.title:"";var S=p.caption;if(x){var z=new URL(p.full),E=new URLSearchParams(z.search);w.alt=E.get("alt")?E.get("alt"):"",w.title=E.get("title")?E.get("title"):"",S=E.get("caption")?E.get("caption"):""}if("string"==typeof o&&o&&(d+=" "+o),"url"===s&&p&&p.link&&p.link.url){f="a";var j=p.link;h={href:j.url,title:j.title,target:j.targetBlank?"_blank":void 0,rel:j.relNofollow?"nofollow":void 0}}else"imageNewTab"===s?(f="a",h={href:y,target:"_blank"}):"lightbox"===s?(f="a",h={href:y,"data-lightbox":"lightbox-".concat(t)}):"zoom"===s?m+=" vce-single-image-zoom-container":"photoswipe"===s&&(f="a",h={href:y,"data-photoswipe-image":t,"data-photoswipe-index":0},b["data-photoswipe-item"]="photoswipe-".concat(t),r&&(h["data-photoswipe-caption"]=p.caption),v["data-photoswipe-gallery"]=t);g&&(d+=" vce-single-image--align-".concat(g)),"rounded"===n&&(m+=" vce-single-image--border-rounded"),"round"===n&&(m+=" vce-single-image--border-round"),u&&(v.id=u);var C=this.applyDO("all"),O=!!S,_=k.a.createElement("figcaption",{hidden:O},S),R=p&&p.urls&&p.urls.length?p.urls[0]:p;R&&R.filter&&"normal"!==R.filter&&(m+=" vce-image-filter--".concat(R.filter));var W="",D=!1;x&&(1===this.state.naturalWidth&&1===this.state.naturalHeight||(!c||"full"===c)&&"round"!==n)&&(h["data-vce-delete-attr"]="style",D=!0);var N={props:w,classes:"vce-single-image",isDefaultImage:!(p&&p.id),src:y,isDynamicImage:x,naturalSizes:D};return y&&(W=k.a.createElement("img",l()({className:"".concat("vce-single-image"," vcvhelper"),src:y},w,{"data-vcvs-html":this.getImageShortcode(N)}))),c&&"full"!==c||"round"===n||x||(W=k.a.createElement("img",l()({className:"vce-single-image",src:y},w))),k.a.createElement("div",l()({className:d},i,v),k.a.createElement("div",l()({className:"vce vce-single-image-wrapper"},b,{id:"el-"+t},C),k.a.createElement("figure",null,k.a.createElement(f,l()({},h,{className:m,ref:"imageContainer",style:{paddingBottom:"".concat(this.state.parsedHeight/this.state.parsedWidth*100,"%"),width:this.state.parsedWidth}}),W),_)))}}]),i}(E.elementComponent);x()(R,"image",null),(0,n.a.getService("cook").add)(a("./singleImage/settings.json"),(function(e){e.add(R)}),{css:a("./node_modules/raw-loader/index.js!./singleImage/styles.css"),editorCss:a("./node_modules/raw-loader/index.js!./singleImage/editor.css")},"")},"./singleImage/settings.json":function(e){e.exports=JSON.parse('{"image":{"type":"attachimage","access":"public","value":"single-image.jpg","options":{"label":"Image","multiple":false,"dynamicField":true,"defaultValue":"single-image.jpg","onChange":{"rules":{"clickableOptions":{"rule":"value","options":{"value":"url"}}},"actions":[{"action":"attachImageUrls"}]},"url":false,"imageFilter":true}},"shape":{"type":"buttonGroup","access":"public","value":"square","options":{"label":"Shape","values":[{"label":"Square","value":"square","icon":"vcv-ui-icon-attribute-shape-square"},{"label":"Rounded","value":"rounded","icon":"vcv-ui-icon-attribute-shape-rounded"},{"label":"Round","value":"round","icon":"vcv-ui-icon-attribute-shape-round"}]}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["clickableOptions","showCaption","image","shape","size","alignment","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaOrder":{"type":"number","access":"protected","value":4},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"size":{"type":"string","access":"public","value":"large","options":{"label":"Size","description":"Enter image size (Example: \'thumbnail\', \'medium\', \'large\', \'full\' or other sizes defined by theme). Alternatively enter size in pixels (Example: 200x100 (Width x Height))."}},"clickableOptions":{"type":"dropdown","access":"public","value":"","options":{"label":"OnClick action","values":[{"label":"None","value":""},{"label":"Lightbox","value":"lightbox"},{"label":"PhotoSwipe","value":"photoswipe"},{"label":"Zoom","value":"zoom"},{"label":"Open Image in New Tab","value":"imageNewTab"},{"label":"Link selector","value":"url"}]}},"showCaption":{"type":"toggle","access":"public","value":false,"options":{"label":"Show image caption in gallery view","onChange":{"rules":{"clickableOptions":{"rule":"value","options":{"value":"photoswipe"}}},"actions":[{"action":"toggleVisibility"}]}}},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"singleImage"},"metaPublicJs":{"access":"protected","type":"string","value":{"libraries":[{"rules":{"clickableOptions":{"rule":"value","options":{"value":"zoom"}}},"libPaths":["public/dist/singleImage.min.js"]}]}},"sharedAssetsLibrary":{"access":"protected","type":"string","value":{"libraries":[{"rules":{"clickableOptions":{"rule":"value","options":{"value":"lightbox"}}},"libsNames":["lightbox"]},{"rules":{"clickableOptions":{"rule":"value","options":{"value":"zoom"}}},"libsNames":["zoom"]},{"rules":{"clickableOptions":{"rule":"value","options":{"value":"photoswipe"}}},"libsNames":["photoswipe"]}]}}}')}},[["./singleImage/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./singleImage/editor.css":function(e,t){e.exports=".vce-single-image-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./singleImage/styles.css":function(e,t){e.exports='a.vce-single-image-inner {\n color: transparent;\n border-bottom: 0;\n text-decoration: none;\n box-shadow: none;\n}\n\na.vce-single-image-inner:hover,\na.vce-single-image-inner:focus {\n text-decoration: none;\n box-shadow: none;\n border-bottom: 0;\n}\n\n.vce-single-image-inner {\n display: inline-block;\n vertical-align: top;\n line-height: 1;\n max-width: 100%;\n position: relative;\n}\n\n.vce-single-image-wrapper {\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n vertical-align: top;\n}\n\n.vce-single-image-wrapper img {\n vertical-align: top;\n max-width: 100%;\n}\n\n.vce-single-image--border-rounded {\n border-radius: 5px;\n overflow: hidden;\n}\n\n.vce-single-image--border-round {\n border-radius: 50%;\n overflow: hidden;\n}\n\n.vce-single-image--align-center {\n text-align: center;\n}\n\n.vce-single-image--align-right {\n text-align: right;\n}\n\n.vce-single-image--align-left {\n text-align: left;\n}\n\n.vce-single-image-wrapper figure {\n margin: 0;\n}\n\n.vce-single-image-wrapper figcaption {\n font-style: italic;\n margin-top: 10px;\n}\n\n.vce-single-image-wrapper figcaption[hidden] {\n display: none;\n}\n\n.vce-single-image-inner.vce-single-image--absolute .vce-single-image:not([data-dynamic-natural-size="true"]) {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n object-fit: cover;\n height: 100%;\n}\n\n.vce-single-image-container .vce-single-image-inner .vce-single-image {\n box-shadow: none;\n}\n'},"./singleImage/index.js":function(e,t,a){"use strict";a.r(t);var i=a("./node_modules/vc-cake/index.js"),n=a.n(i),s=a("./node_modules/@babel/runtime/helpers/extends.js"),l=a.n(s),r=a("./node_modules/@babel/runtime/helpers/typeof.js"),o=a.n(r),c=a("./node_modules/@babel/runtime/helpers/classCallCheck.js"),g=a.n(c),u=a("./node_modules/@babel/runtime/helpers/createClass.js"),p=a.n(u),d=a("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),m=a.n(d),h=a("./node_modules/@babel/runtime/helpers/inherits.js"),v=a.n(h),b=a("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=a.n(b),w=a("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),y=a.n(w),I=a("./node_modules/@babel/runtime/helpers/defineProperty.js"),x=a.n(I),S=a("./node_modules/react/index.js"),k=a.n(S);function z(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 a,i=y()(e);if(t){var n=y()(this).constructor;a=Reflect.construct(i,arguments,n)}else a=i.apply(this,arguments);return f()(this,a)}}var E=Object(i.getService)("api"),j=Object(i.getService)("renderProcessor"),C=Object(i.getService)("utils"),O=C.getBlockRegexp,_=C.parseDynamicBlock,L=O(),R=function(e){v()(a,e);var t=z(a);function a(e){var i;return g()(this,a),i=t.call(this,e),x()(m()(i),"promise",null),i.state={imgElement:null,parsedWidth:null,parsedHeight:null,naturalWidth:null,naturalHeight:null},i.setImage=i.setImage.bind(m()(i)),i.setImageState=i.setImageState.bind(m()(i)),i.setError=i.setError.bind(m()(i)),i}return p()(a,[{key:"componentDidMount",value:function(){var e=this;this.promise=new window.Promise((function(t,a){e.resolve=t,e.setImage(e.props)})),j.add(this.promise)}},{key:"componentWillUnmount",value:function(){this.resolve&&this.resolve(!0),a.image&&a.image.removeEventListener("load",this.setImageState),a.image&&a.image.removeEventListener("error",this.setError)}},{key:"componentDidUpdate",value:function(e,t){e.atts.image!==this.props.atts.image?this.setImage(this.props):(e.atts.size!==this.props.atts.size||e.atts.shape!==this.props.atts.shape)&&this.resetImageSizeState()}},{key:"parseSize",value:function(e,t,a,i){var n=!0;"string"==typeof e?e=e.replace(/\s/g,"").replace(/px/g,"").toLowerCase().split("x"):"object"===o()(e)&&(n=e.crop,e=[e.width,e.height]),a=parseInt(a),i=parseInt(i);var s=parseInt(e[0])<a,l=parseInt(e[1])<i;if(n)e[0]=parseInt(e[0])<a?parseInt(e[0]):a,e[1]=parseInt(e[1])<i?parseInt(e[1]):i;else{if(e[0]=s?parseInt(e[0]):a,e[1]=l?parseInt(e[1]):i,s&&!l){var r=e[0]/a;e[1]=parseInt(i*r)}if(l&&!s){var c=e[1]/i;e[0]=parseInt(a*c)}if(l&&s)if(i<a){var g=e[0]/a;e[1]=parseInt(i*g)}else{var u=e[1]/i;e[0]=parseInt(a*u)}}if(t){var p=e[0]>=e[1]?e[1]:e[0];e={width:p,height:p}}else e={width:e[0],height:e[1]};return e}},{key:"checkRelatedSize",value:function(e){var t=null;return window.vcvImageSizes&&window.vcvImageSizes[e]&&(t=window.vcvImageSizes[e]),t}},{key:"getSizes",value:function(e,t){var a=e.size,i=e.shape,n="";return{width:(n=(a=a.replace(/\s/g,"").replace(/px/g,"").toLowerCase()).match(/\d+(x)\d+/)?this.parseSize(a,"round"===i,t.width,t.height):(n=this.checkRelatedSize(a))?this.parseSize(n,"round"===i,t.width,t.height):this.parseSize({width:t.width,height:t.height},"round"===i,t.width,t.height)).width,height:n.height}}},{key:"setImage",value:function(e){var t=this.getImageUrl(e.atts.image);a.image&&a.image.removeEventListener("load",this.setImageState),a.image&&a.image.removeEventListener("error",this.setError),a.image=new window.Image,a.image.addEventListener("load",this.setImageState),a.image.addEventListener("error",this.setError),t?a.image.src=t:this.setError(),t||this.setState({imgElement:null,parsedWidth:null,parsedHeight:null,naturalWidth:null,naturalHeight:null})}},{key:"setImageState",value:function(e){var t=this,a=e.currentTarget,i=this.getSizes(this.props.atts,a);this.setState({imgElement:a,parsedWidth:i.width,parsedHeight:i.height,naturalWidth:a.width,naturalHeight:a.height},(function(){t.resolve&&t.resolve(!0)}))}},{key:"resetImageSizeState",value:function(){var e=this.getSizes(this.props.atts,this.state.imgElement);this.setState({parsedWidth:e.width,parsedHeight:e.height})}},{key:"setError",value:function(){this.resolve&&this.resolve(!1)}},{key:"getImageShortcode",value:function(e){var t=e.props,a=e.classes,i=e.isDefaultImage,n=e.src,s=e.isDynamicImage,l=e.naturalSizes,r='[vcvSingleImage class="'.concat(a,'" data-width="').concat(this.state.parsedWidth||0,'" data-height="').concat(this.state.parsedHeight||0,'" src="').concat(n,'" data-img-src="').concat(t["data-img-src"],'"'),o=t.alt,c=t.title;if(i&&(r+=' data-default-image="true"'),s){var g=_(this.props.rawAtts.image.full);r+=' data-dynamic="'.concat(g.blockAtts.value,'"');var u=new URL(g.blockAtts.currentValue),p=new URLSearchParams(u.search);o=p.get("alt"),c=p.get("title"),l&&(r+=' data-dynamic-natural-size="true"')}return r+=' alt="'.concat(o,'" title="').concat(c,'" ]')}},{key:"render",value:function(){var e=this.props,t=e.id,a=e.atts,i=e.editor,n=a.shape,s=a.clickableOptions,r=a.showCaption,o=a.customClass,c=a.size,g=a.alignment,u=a.metaCustomId,p=a.image,d="vce-single-image-container",m="vce-single-image-inner vce-single-image--absolute",h={},v={},b={},f="div",w={},y=this.getImageUrl(p),I=this.props.rawAtts.image&&this.props.rawAtts.image.full,x=Array.isArray("string"==typeof I&&I.match(L));w["data-img-src"]=y,w.alt=p&&p.alt?p.alt:"",w.title=p&&p.title?p.title:"";var S=p.caption;if(x){var z=new URL(p.full),E=new URLSearchParams(z.search);w.alt=E.get("alt")?E.get("alt"):"",w.title=E.get("title")?E.get("title"):"",S=E.get("caption")?E.get("caption"):""}if("string"==typeof o&&o&&(d+=" "+o),"url"===s&&p&&p.link&&p.link.url){f="a";var j=p.link;h={href:j.url,title:j.title,target:j.targetBlank?"_blank":void 0,rel:j.relNofollow?"nofollow":void 0}}else"imageNewTab"===s?(f="a",h={href:y,target:"_blank"}):"lightbox"===s?(f="a",h={href:y,"data-lightbox":"lightbox-".concat(t)}):"zoom"===s?m+=" vce-single-image-zoom-container":"photoswipe"===s&&(f="a",h={href:y,"data-photoswipe-image":t,"data-photoswipe-index":0},b["data-photoswipe-item"]="photoswipe-".concat(t),r&&(h["data-photoswipe-caption"]=p.caption),v["data-photoswipe-gallery"]=t);g&&(d+=" vce-single-image--align-".concat(g)),"rounded"===n&&(m+=" vce-single-image--border-rounded"),"round"===n&&(m+=" vce-single-image--border-round"),u&&(v.id=u);var C=this.applyDO("all"),O=!S,_=k.a.createElement("figcaption",{hidden:O},S),R=p&&p.urls&&p.urls.length?p.urls[0]:p;R&&R.filter&&"normal"!==R.filter&&(m+=" vce-image-filter--".concat(R.filter));var W="",D=!1;x&&(1===this.state.naturalWidth&&1===this.state.naturalHeight||(!c||"full"===c)&&"round"!==n)&&(h["data-vce-delete-attr"]="style",D=!0);var N={props:w,classes:"vce-single-image",isDefaultImage:!(p&&p.id),src:y,isDynamicImage:x,naturalSizes:D};return y&&(W=k.a.createElement("img",l()({className:"".concat("vce-single-image"," vcvhelper"),src:y},w,{"data-vcvs-html":this.getImageShortcode(N)}))),c&&"full"!==c||"round"===n||x||(W=k.a.createElement("img",l()({className:"vce-single-image",src:y},w))),k.a.createElement("div",l()({className:d},i,v),k.a.createElement("div",l()({className:"vce vce-single-image-wrapper"},b,{id:"el-"+t},C),k.a.createElement("figure",null,k.a.createElement(f,l()({},h,{className:m,ref:"imageContainer",style:{paddingBottom:"".concat(this.state.parsedHeight/this.state.parsedWidth*100,"%"),width:this.state.parsedWidth}}),W),_)))}}]),a}(E.elementComponent);x()(R,"image",null),(0,n.a.getService("cook").add)(a("./singleImage/settings.json"),(function(e){e.add(R)}),{css:a("./node_modules/raw-loader/index.js!./singleImage/styles.css"),editorCss:a("./node_modules/raw-loader/index.js!./singleImage/editor.css")},"")},"./singleImage/settings.json":function(e){e.exports=JSON.parse('{"image":{"type":"attachimage","access":"public","value":"single-image.jpg","options":{"label":"Image","multiple":false,"dynamicField":true,"defaultValue":"single-image.jpg","onChange":{"rules":{"clickableOptions":{"rule":"value","options":{"value":"url"}}},"actions":[{"action":"attachImageUrls"}]},"url":false,"imageFilter":true}},"shape":{"type":"buttonGroup","access":"public","value":"square","options":{"label":"Shape","values":[{"label":"Square","value":"square","icon":"vcv-ui-icon-attribute-shape-square"},{"label":"Rounded","value":"rounded","icon":"vcv-ui-icon-attribute-shape-rounded"},{"label":"Round","value":"round","icon":"vcv-ui-icon-attribute-shape-round"}]}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["clickableOptions","showCaption","image","shape","size","alignment","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaOrder":{"type":"number","access":"protected","value":4},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"size":{"type":"string","access":"public","value":"large","options":{"label":"Size","description":"Enter image size (Example: \'thumbnail\', \'medium\', \'large\', \'full\' or other sizes defined by theme). Alternatively enter size in pixels (Example: 200x100 (Width x Height))."}},"clickableOptions":{"type":"dropdown","access":"public","value":"","options":{"label":"OnClick action","values":[{"label":"None","value":""},{"label":"Lightbox","value":"lightbox"},{"label":"PhotoSwipe","value":"photoswipe"},{"label":"Zoom","value":"zoom"},{"label":"Open Image in New Tab","value":"imageNewTab"},{"label":"Link selector","value":"url"}]}},"showCaption":{"type":"toggle","access":"public","value":false,"options":{"label":"Show image caption in gallery view","onChange":{"rules":{"clickableOptions":{"rule":"value","options":{"value":"photoswipe"}}},"actions":[{"action":"toggleVisibility"}]}}},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"singleImage"},"metaPublicJs":{"access":"protected","type":"string","value":{"libraries":[{"rules":{"clickableOptions":{"rule":"value","options":{"value":"zoom"}}},"libPaths":["public/dist/singleImage.min.js"]}]}},"sharedAssetsLibrary":{"access":"protected","type":"string","value":{"libraries":[{"rules":{"clickableOptions":{"rule":"value","options":{"value":"lightbox"}}},"libsNames":["lightbox"]},{"rules":{"clickableOptions":{"rule":"value","options":{"value":"zoom"}}},"libsNames":["zoom"]},{"rules":{"clickableOptions":{"rule":"value","options":{"value":"photoswipe"}}},"libsNames":["photoswipe"]}]}}}')}},[["./singleImage/index.js"]]]);
elements/singleImage/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/textBlock/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./textBlock/editor.css":function(e,t){e.exports=".vce-text-block {\n min-height: 1em;\n}\n"},"./textBlock/index.js":function(e,t,s){"use strict";s.r(t);var n=s("./node_modules/vc-cake/index.js"),a=s.n(n),o=s("./node_modules/@babel/runtime/helpers/extends.js"),i=s.n(o),l=s("./node_modules/@babel/runtime/helpers/classCallCheck.js"),r=s.n(l),c=s("./node_modules/@babel/runtime/helpers/createClass.js"),u=s.n(c),p=s("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),d=s.n(p),m=s("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),b=s.n(m),g=s("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),h=s.n(g),v=s("./node_modules/@babel/runtime/helpers/inherits.js"),y=s.n(v),f=s("./node_modules/react/index.js"),k=s.n(f);function x(){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}}var C=function(e){y()(n,e);var t,s=(t=n,function(){var e,s=h()(t);if(x()){var n=h()(this).constructor;e=Reflect.construct(s,arguments,n)}else e=s.apply(this,arguments);return b()(this,e)});function n(e){var t;return r()(this,n),(t=s.call(this,e)).updateElementAssets=t.updateElementAssets.bind(d()(t)),t}return u()(n,[{key:"updateElementAssets",value:function(e,t,s){this.updateElementAssetsWithExclusion(this.props.id,s,["output","customClass","metaCustomId"])}},{key:"render",value:function(){var e=this.props,t=e.id,s=e.atts,n=e.editor,a=s.output,o=s.customClass,l=s.metaCustomId,r="vce-text-block",c={};"string"==typeof o&&o&&(r=r.concat(" "+o)),l&&(c.id=l);var u=this.applyDO("all");return k.a.createElement("div",i()({className:r},n,c),k.a.createElement("div",i()({className:"vce-text-block-wrapper vce",id:"el-"+t},u),a))}}]),n}(a.a.getService("api").elementComponent);(0,a.a.getService("cook").add)(s("./textBlock/settings.json"),(function(e){e.add(C)}),{css:!1,editorCss:s("./node_modules/raw-loader/index.js!./textBlock/editor.css")},"")},"./textBlock/settings.json":function(e){e.exports=JSON.parse('{"output":{"type":"htmleditor","access":"public","value":"<h2>Typography is the art and technique</h2>\\n<p>Typography is the art and technique of arranging type to make written language legible, readable and appealing when displayed. The arrangement of type involves selecting typefaces, point size, line length, line-spacing (leading), letter-spacing (tracking), and adjusting the space within letters pairs (kerning).</p>","options":{"label":"Content","description":"Content for text block","inline":true,"skinToggle":"darkTextSkin","dynamicField":true}},"darkTextSkin":{"type":"toggleSmall","access":"public","value":false},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["output","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["output"]}]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaOrder":{"type":"number","access":"protected","value":3},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"textBlock"}}')}},[["./textBlock/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./textBlock/editor.css":function(e,t){e.exports=".vce-text-block {\n min-height: 1em;\n}\n"},"./textBlock/index.js":function(e,t,s){"use strict";s.r(t);var n=s("./node_modules/vc-cake/index.js"),a=s.n(n),o=s("./node_modules/@babel/runtime/helpers/extends.js"),i=s.n(o),r=s("./node_modules/@babel/runtime/helpers/classCallCheck.js"),l=s.n(r),c=s("./node_modules/@babel/runtime/helpers/createClass.js"),u=s.n(c),p=s("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),d=s.n(p),m=s("./node_modules/@babel/runtime/helpers/inherits.js"),b=s.n(m),g=s("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),h=s.n(g),v=s("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),y=s.n(v),f=s("./node_modules/react/index.js"),k=s.n(f);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 s,n=y()(e);if(t){var a=y()(this).constructor;s=Reflect.construct(n,arguments,a)}else s=n.apply(this,arguments);return h()(this,s)}}var C=function(e){b()(s,e);var t=x(s);function s(e){var n;return l()(this,s),(n=t.call(this,e)).updateElementAssets=n.updateElementAssets.bind(d()(n)),n}return u()(s,[{key:"updateElementAssets",value:function(e,t,s){this.updateElementAssetsWithExclusion(this.props.id,s,["output","customClass","metaCustomId"])}},{key:"render",value:function(){var e=this.props,t=e.id,s=e.atts,n=e.editor,a=s.output,o=s.customClass,r=s.metaCustomId,l="vce-text-block",c={};"string"==typeof o&&o&&(l=l.concat(" "+o)),r&&(c.id=r);var u=this.applyDO("all");return k.a.createElement("div",i()({className:l},n,c),k.a.createElement("div",i()({className:"vce-text-block-wrapper vce",id:"el-"+t},u),a))}}]),s}(a.a.getService("api").elementComponent);(0,a.a.getService("cook").add)(s("./textBlock/settings.json"),(function(e){e.add(C)}),{css:!1,editorCss:s("./node_modules/raw-loader/index.js!./textBlock/editor.css")},"")},"./textBlock/settings.json":function(e){e.exports=JSON.parse('{"output":{"type":"htmleditor","access":"public","value":"<h2>Typography is the art and technique</h2>\\n<p>Typography is the art and technique of arranging type to make written language legible, readable and appealing when displayed. The arrangement of type involves selecting typefaces, point size, line length, line-spacing (leading), letter-spacing (tracking), and adjusting the space within letters pairs (kerning).</p>","options":{"label":"Content","description":"Content for text block","inline":true,"skinToggle":"darkTextSkin","dynamicField":true}},"darkTextSkin":{"type":"toggleSmall","access":"public","value":false},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["output","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["output"]}]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaOrder":{"type":"number","access":"protected","value":3},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"textBlock"}}')}},[["./textBlock/index.js"]]]);
elements/textBlock/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/vimeoPlayer/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./vimeoPlayer/editor.css":function(e,t){e.exports='[data-vcv-element-disabled="true"] .vce-vim-video-player-inner::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n\n.vce-vim-video-player {\n min-height: 1em;\n}\n'},"./node_modules/raw-loader/index.js!./vimeoPlayer/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * Vimeo Video Player\n * ---------------------------------------------- */\n.vce-vim-video-player-wrapper {\n display: inline-block;\n max-width: 100%;\n vertical-align: top;\n overflow: hidden;\n}\n.vce-vim-video-player-inner {\n position: relative;\n}\n.vce-vim-video-player-inner::before {\n content: \'\';\n width: 100%;\n display: block;\n padding-top: 56%;\n}\n[data-vcv-element-disabled="true"] .vce-vim-video-player-inner::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n.vce-vim-video-player-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n}\n.vce-vim-video-player--align-center {\n text-align: center;\n}\n.vce-vim-video-player--align-right {\n text-align: right;\n}\n.vce-vim-video-player--align-left {\n text-align: left;\n}\n'},"./vimeoPlayer/index.js":function(e,t,a){"use strict";a.r(t);var o=a("./node_modules/vc-cake/index.js"),n=a.n(o),i=a("./node_modules/@babel/runtime/helpers/extends.js"),l=a.n(i),s=a("./node_modules/@babel/runtime/helpers/classCallCheck.js"),c=a.n(s),r=a("./node_modules/@babel/runtime/helpers/createClass.js"),d=a.n(r),u=a("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),p=a.n(u),v=a("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),m=a.n(v),y=a("./node_modules/@babel/runtime/helpers/inherits.js"),g=a.n(y),b=a("./node_modules/react/index.js"),h=a.n(b);function f(){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}}var x=function(e){g()(o,e);var t,a=(t=o,function(){var e,a=m()(t);if(f()){var o=m()(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return p()(this,e)});function o(){return c()(this,o),a.apply(this,arguments)}return d()(o,[{key:"validUnits",value:function(e){switch(e){case"px":case"em":case"rem":case"%":case"vw":case"vh":return e;default:return"px"}}},{key:"render",value:function(){var e,t,a,o=this.props,i=o.id,s=o.atts,c=o.editor,r=s.customClass,d=s.videoPlayer,u=s.alignment,p=s.size,v=s.customSize,m=s.advanced,y=s.metaCustomId,g="vce-vim-video-player",b=m&&s.autopause?1:0,f=m&&s.autoplay?1:0,x=m&&s.loop?1:0,w=m?s.color.slice(1):"00adef",C=/https?:\/\/(?:www\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/|)(\d+)(?:$|\/|\?)/,P={};if("string"==typeof r&&r&&(g=g.concat(" ".concat(r))),u&&(g+=" vce-vim-video-player--align-".concat(u)),p)if(g+=" vce-vim-video-player--size-".concat(p),"custom"===p)if(/^[0-9.]+$/.test(v))t="".concat(parseFloat(v),"px");else if(parseFloat(v)){var j=v.slice(parseFloat(v).toString().length);t="".concat(parseFloat(v)).concat(this.validUnits(j))}else t="560px";else t="".concat(p.slice(0,p.indexOf("x")),"px");d.match(C)&&(a=d.match(C)[3]);y&&(P.id=y),e="//player.vimeo.com/video/".concat(a,"?autopause=").concat(b,"&autoplay=").concat(f,"&muted=").concat(f,"&color=").concat(w,"&loop=").concat(x);var k="<iframe class='vce-vim-video-player-iframe' src='".concat(e,"' frameBorder='0' allowFullScreen='true' />");"backend"===n.a.env("editor")&&(e="//player.vimeo.com/video/".concat(a,"?autopause=").concat(b,"&autoplay=false&color=").concat(w,"&loop=").concat(x));var S=this.applyDO("all");return h.a.createElement("div",l()({className:g},P,c,{"data-vcv-element-disabled":!0}),h.a.createElement("div",l()({className:"vce vce-vim-video-player-wrapper",id:"el-"+i,style:{width:t}},S),h.a.createElement("div",{className:"vce-vim-video-player-inner"},h.a.createElement("div",{className:"vcvhelper","data-vcvs-html":k},h.a.createElement("iframe",{className:"vce-vim-video-player-iframe",src:e,frameBorder:"0",allowFullScreen:!0})))))}}]),o}(n.a.getService("api").elementComponent);(0,n.a.getService("cook").add)(a("./vimeoPlayer/settings.json"),(function(e){e.add(x)}),{css:a("./node_modules/raw-loader/index.js!./vimeoPlayer/styles.css"),editorCss:a("./node_modules/raw-loader/index.js!./vimeoPlayer/editor.css")},"")},"./vimeoPlayer/settings.json":function(e){e.exports=JSON.parse('{"videoPlayer":{"type":"string","access":"public","value":"https://vimeo.com/channels/staffpicks/181907337","options":{"label":"Vimeo video link","description":"Enter link to Vimeo video.","link":true}},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"size":{"type":"dropdown","access":"public","value":"560x315","options":{"label":"Size","values":[{"label":"560x315","value":"560x315"},{"label":"1280x720","value":"1280x720"},{"label":"853x480","value":"853x480"},{"label":"640x360","value":"640x360"},{"label":"Custom size","value":"custom"}]}},"customSize":{"type":"string","access":"public","value":"","options":{"label":"Custom width","description":"Enter custom width and the height will be automatically calculated for 16:9 aspect ratio.","onChange":{"rules":{"size":{"rule":"value","options":{"value":"custom"}}},"actions":[{"action":"toggleVisibility"}]}}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"advanced":{"type":"toggle","access":"public","value":false,"options":{"label":"Advanced options"}},"autopause":{"type":"toggle","access":"public","value":false,"options":{"label":"Autopause","description":"Enables or disables pausing this video when another video is played.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"autoplay":{"type":"toggle","access":"public","value":false,"options":{"label":"Autoplay","description":"Automatically start to play the video when the player loads. The sound will be muted until the users\' first interaction with the video.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"color":{"type":"color","access":"public","value":"#fff","options":{"label":"Controls color","format":"hex","disableAlpha":true,"showTransparent":false,"description":"Specify the color of the video controls.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"loop":{"type":"toggle","access":"public","value":false,"options":{"label":"Repeat video","description":"Play the video again when it reaches the end.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["videoPlayer","size","customSize","alignment","advanced","autopause","autoplay","color","loop","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["videoPlayer"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"vimeoPlayer"}}')}},[["./vimeoPlayer/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./vimeoPlayer/editor.css":function(e,t){e.exports='[data-vcv-element-disabled="true"] .vce-vim-video-player-inner::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n\n.vce-vim-video-player {\n min-height: 1em;\n}\n'},"./node_modules/raw-loader/index.js!./vimeoPlayer/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * Vimeo Video Player\n * ---------------------------------------------- */\n.vce-vim-video-player-wrapper {\n display: inline-block;\n max-width: 100%;\n vertical-align: top;\n overflow: hidden;\n}\n.vce-vim-video-player-inner {\n position: relative;\n}\n.vce-vim-video-player-inner::before {\n content: \'\';\n width: 100%;\n display: block;\n padding-top: 56%;\n}\n[data-vcv-element-disabled="true"] .vce-vim-video-player-inner::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n.vce-vim-video-player-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n}\n.vce-vim-video-player--align-center {\n text-align: center;\n}\n.vce-vim-video-player--align-right {\n text-align: right;\n}\n.vce-vim-video-player--align-left {\n text-align: left;\n}\n'},"./vimeoPlayer/index.js":function(e,t,a){"use strict";a.r(t);var o=a("./node_modules/vc-cake/index.js"),n=a.n(o),i=a("./node_modules/@babel/runtime/helpers/extends.js"),l=a.n(i),s=a("./node_modules/@babel/runtime/helpers/classCallCheck.js"),c=a.n(s),r=a("./node_modules/@babel/runtime/helpers/createClass.js"),d=a.n(r),u=a("./node_modules/@babel/runtime/helpers/inherits.js"),p=a.n(u),v=a("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),m=a.n(v),y=a("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),g=a.n(y),b=a("./node_modules/react/index.js"),h=a.n(b);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 a,o=g()(e);if(t){var n=g()(this).constructor;a=Reflect.construct(o,arguments,n)}else a=o.apply(this,arguments);return m()(this,a)}}var x=function(e){p()(a,e);var t=f(a);function a(){return c()(this,a),t.apply(this,arguments)}return d()(a,[{key:"validUnits",value:function(e){switch(e){case"px":case"em":case"rem":case"%":case"vw":case"vh":return e;default:return"px"}}},{key:"render",value:function(){var e,t,a,o=this.props,i=o.id,s=o.atts,c=o.editor,r=s.customClass,d=s.videoPlayer,u=s.alignment,p=s.size,v=s.customSize,m=s.advanced,y=s.metaCustomId,g="vce-vim-video-player",b=m&&s.autopause?1:0,f=m&&s.autoplay?1:0,x=m&&s.loop?1:0,w=m?s.color.slice(1):"00adef",C=/https?:\/\/(?:www\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/|)(\d+)(?:$|\/|\?)/,P={};if("string"==typeof r&&r&&(g=g.concat(" ".concat(r))),u&&(g+=" vce-vim-video-player--align-".concat(u)),p)if(g+=" vce-vim-video-player--size-".concat(p),"custom"===p)if(/^[0-9.]+$/.test(v))t="".concat(parseFloat(v),"px");else if(parseFloat(v)){var j=v.slice(parseFloat(v).toString().length);t="".concat(parseFloat(v)).concat(this.validUnits(j))}else t="560px";else t="".concat(p.slice(0,p.indexOf("x")),"px");d.match(C)&&(a=d.match(C)[3]);y&&(P.id=y),e="//player.vimeo.com/video/".concat(a,"?autopause=").concat(b,"&autoplay=").concat(f,"&muted=").concat(f,"&color=").concat(w,"&loop=").concat(x);var k="<iframe class='vce-vim-video-player-iframe' src='".concat(e,"' frameBorder='0' allowFullScreen='true' />");"backend"===n.a.env("editor")&&(e="//player.vimeo.com/video/".concat(a,"?autopause=").concat(b,"&autoplay=false&color=").concat(w,"&loop=").concat(x));var S=this.applyDO("all");return h.a.createElement("div",l()({className:g},P,c,{"data-vcv-element-disabled":!0}),h.a.createElement("div",l()({className:"vce vce-vim-video-player-wrapper",id:"el-"+i,style:{width:t}},S),h.a.createElement("div",{className:"vce-vim-video-player-inner"},h.a.createElement("div",{className:"vcvhelper","data-vcvs-html":k},h.a.createElement("iframe",{className:"vce-vim-video-player-iframe",src:e,frameBorder:"0",allowFullScreen:!0})))))}}]),a}(n.a.getService("api").elementComponent);(0,n.a.getService("cook").add)(a("./vimeoPlayer/settings.json"),(function(e){e.add(x)}),{css:a("./node_modules/raw-loader/index.js!./vimeoPlayer/styles.css"),editorCss:a("./node_modules/raw-loader/index.js!./vimeoPlayer/editor.css")},"")},"./vimeoPlayer/settings.json":function(e){e.exports=JSON.parse('{"videoPlayer":{"type":"string","access":"public","value":"https://vimeo.com/channels/staffpicks/181907337","options":{"label":"Vimeo video link","description":"Enter link to Vimeo video.","link":true}},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"size":{"type":"dropdown","access":"public","value":"560x315","options":{"label":"Size","values":[{"label":"560x315","value":"560x315"},{"label":"1280x720","value":"1280x720"},{"label":"853x480","value":"853x480"},{"label":"640x360","value":"640x360"},{"label":"Custom size","value":"custom"}]}},"customSize":{"type":"string","access":"public","value":"","options":{"label":"Custom width","description":"Enter custom width and the height will be automatically calculated for 16:9 aspect ratio.","onChange":{"rules":{"size":{"rule":"value","options":{"value":"custom"}}},"actions":[{"action":"toggleVisibility"}]}}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"advanced":{"type":"toggle","access":"public","value":false,"options":{"label":"Advanced options"}},"autopause":{"type":"toggle","access":"public","value":false,"options":{"label":"Autopause","description":"Enables or disables pausing this video when another video is played.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"autoplay":{"type":"toggle","access":"public","value":false,"options":{"label":"Autoplay","description":"Automatically start to play the video when the player loads. The sound will be muted until the users\' first interaction with the video.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"color":{"type":"color","access":"public","value":"#fff","options":{"label":"Controls color","format":"hex","disableAlpha":true,"showTransparent":false,"description":"Specify the color of the video controls.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"loop":{"type":"toggle","access":"public","value":false,"options":{"label":"Repeat video","description":"Play the video again when it reaches the end.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["videoPlayer","size","customSize","alignment","advanced","autopause","autoplay","color","loop","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["videoPlayer"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"vimeoPlayer"}}')}},[["./vimeoPlayer/index.js"]]]);
elements/vimeoPlayer/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/wpWidgetsCustom/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./wpWidgetsCustom/editor.css":function(e,t){e.exports=".vce-widgets-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./wpWidgetsCustom/styles.css":function(e,t){e.exports='.vce-widgets-wrapper {\n position: relative;\n min-height: 30px;\n}\n\n.vce-widgets-wrapper[data-vcv-element]::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n'},"./wpWidgetsCustom/index.js":function(e,t,o){"use strict";o.r(t);var s=o("./node_modules/vc-cake/index.js"),i=o("./node_modules/@babel/runtime/helpers/extends.js"),n=o.n(i),a=o("./node_modules/@babel/runtime/helpers/classCallCheck.js"),l=o.n(a),r=o("./node_modules/@babel/runtime/helpers/createClass.js"),c=o.n(r),d=o("./node_modules/@babel/runtime/helpers/get.js"),u=o.n(d),p=o("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),m=o.n(p),g=o("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),h=o.n(g),v=o("./node_modules/@babel/runtime/helpers/inherits.js"),f=o.n(v),b=o("./node_modules/react/index.js"),w=o.n(b);function y(){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}}var _=function(e){f()(s,e);var t,o=(t=s,function(){var e,o=h()(t);if(y()){var s=h()(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return m()(this,e)});function s(){return l()(this,s),o.apply(this,arguments)}return c()(s,[{key:"componentDidMount",value:function(){u()(h()(s.prototype),"updateShortcodeToHtml",this).call(this,s.getShortcode(this.props.atts),this.refs.vcvhelper)}},{key:"componentDidUpdate",value:function(e){s.getShortcode(this.props.atts)!==s.getShortcode(e.atts)&&u()(h()(s.prototype),"updateShortcodeToHtml",this).call(this,s.getShortcode(this.props.atts),this.refs.vcvhelper)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.atts,i=e.editor,a=o.customClass,l=o.metaCustomId,r=["vce-widgets-container"],c={};a&&r.push(a),l&&(c.id=l);var d=this.applyDO("all");return w.a.createElement("div",n()({className:r.join(" ")},c,i),w.a.createElement("div",n()({className:"vce vce-widgets-wrapper",id:"el-"+t},d),w.a.createElement("div",{className:"vcvhelper",ref:"vcvhelper","data-vcvs-html":s.getShortcode(this.props.atts)})))}}],[{key:"getShortcode",value:function(e){var t={before_title:e.customWidgetHtml?e.atts_before_title:"",after_title:e.customWidgetHtml?e.atts_after_title:"",before_widget:e.customWidgetHtml?e.atts_before_widget:"",after_widget:e.customWidgetHtml?e.atts_after_widget:""},o=window.encodeURIComponent(e.widgetKey),s=window.encodeURIComponent(JSON.stringify(e.widget)),i=window.encodeURIComponent(JSON.stringify(t));return'[vcv_widgets tag="'.concat(e.tag,'" key="').concat(o,'" instance="').concat(s,'" args="').concat(i,'"]')}}]),s}(Object(s.getService)("api").elementComponent);(0,Object(s.getService)("cook").add)(o("./wpWidgetsCustom/settings.json"),(function(e){e.add(_)}),{css:o("./node_modules/raw-loader/index.js!./wpWidgetsCustom/styles.css"),editorCss:o("./node_modules/raw-loader/index.js!./wpWidgetsCustom/editor.css")})},"./wpWidgetsCustom/settings.json":function(e){e.exports=JSON.parse('{"tag":{"type":"string","access":"protected","value":"wpWidgetsCustom"},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"widgetKey":{"type":"dropdown","access":"public","value":"","options":{"label":"Widget","values":[],"global":"vcvCustomWidgets"}},"customWidgetHtml":{"type":"toggle","access":"public","value":false,"options":{"label":"Enable custom widget HTML"}},"atts_before_title":{"type":"rawCode","access":"public","value":"","options":{"label":"Before Title html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_after_title":{"type":"rawCode","access":"public","value":"","options":{"label":"After Title html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_before_widget":{"type":"rawCode","access":"public","value":"","options":{"label":"Before Widget html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_after_widget":{"type":"rawCode","access":"public","value":"","options":{"label":"After Widget html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"widget":{"type":"ajaxForm","access":"public","value":{"key":"","value":""},"options":{"label":"","action":"vcv:wpWidgets:form","onChange":{"rules":{"widgetKey":{"rule":"true"}},"actions":[{"action":"fieldMethod","options":{"method":"requestToServer"}}]}}},"editFormTab1":{"type":"group","access":"protected","value":["widgetKey","widget","customWidgetHtml","atts_before_title","atts_after_title","atts_before_widget","atts_after_widget","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}}}')}},[["./wpWidgetsCustom/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./wpWidgetsCustom/editor.css":function(e,t){e.exports=".vce-widgets-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./wpWidgetsCustom/styles.css":function(e,t){e.exports='.vce-widgets-wrapper {\n position: relative;\n min-height: 30px;\n}\n\n.vce-widgets-wrapper[data-vcv-element]::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n'},"./wpWidgetsCustom/index.js":function(e,t,o){"use strict";o.r(t);var s=o("./node_modules/vc-cake/index.js"),i=o("./node_modules/@babel/runtime/helpers/extends.js"),n=o.n(i),a=o("./node_modules/@babel/runtime/helpers/classCallCheck.js"),l=o.n(a),r=o("./node_modules/@babel/runtime/helpers/createClass.js"),c=o.n(r),d=o("./node_modules/@babel/runtime/helpers/get.js"),u=o.n(d),p=o("./node_modules/@babel/runtime/helpers/inherits.js"),m=o.n(p),g=o("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),h=o.n(g),v=o("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),f=o.n(v),b=o("./node_modules/react/index.js"),w=o.n(b);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 o,s=f()(e);if(t){var i=f()(this).constructor;o=Reflect.construct(s,arguments,i)}else o=s.apply(this,arguments);return h()(this,o)}}var _=function(e){m()(o,e);var t=y(o);function o(){return l()(this,o),t.apply(this,arguments)}return c()(o,[{key:"componentDidMount",value:function(){u()(f()(o.prototype),"updateShortcodeToHtml",this).call(this,o.getShortcode(this.props.atts),this.refs.vcvhelper)}},{key:"componentDidUpdate",value:function(e){o.getShortcode(this.props.atts)!==o.getShortcode(e.atts)&&u()(f()(o.prototype),"updateShortcodeToHtml",this).call(this,o.getShortcode(this.props.atts),this.refs.vcvhelper)}},{key:"render",value:function(){var e=this.props,t=e.id,s=e.atts,i=e.editor,a=s.customClass,l=s.metaCustomId,r=["vce-widgets-container"],c={};a&&r.push(a),l&&(c.id=l);var d=this.applyDO("all");return w.a.createElement("div",n()({className:r.join(" ")},c,i),w.a.createElement("div",n()({className:"vce vce-widgets-wrapper",id:"el-"+t},d),w.a.createElement("div",{className:"vcvhelper",ref:"vcvhelper","data-vcvs-html":o.getShortcode(this.props.atts)})))}}],[{key:"getShortcode",value:function(e){var t={before_title:e.customWidgetHtml?e.atts_before_title:"",after_title:e.customWidgetHtml?e.atts_after_title:"",before_widget:e.customWidgetHtml?e.atts_before_widget:"",after_widget:e.customWidgetHtml?e.atts_after_widget:""},o=window.encodeURIComponent(e.widgetKey),s=window.encodeURIComponent(JSON.stringify(e.widget)),i=window.encodeURIComponent(JSON.stringify(t));return'[vcv_widgets tag="'.concat(e.tag,'" key="').concat(o,'" instance="').concat(s,'" args="').concat(i,'"]')}}]),o}(Object(s.getService)("api").elementComponent);(0,Object(s.getService)("cook").add)(o("./wpWidgetsCustom/settings.json"),(function(e){e.add(_)}),{css:o("./node_modules/raw-loader/index.js!./wpWidgetsCustom/styles.css"),editorCss:o("./node_modules/raw-loader/index.js!./wpWidgetsCustom/editor.css")})},"./wpWidgetsCustom/settings.json":function(e){e.exports=JSON.parse('{"tag":{"type":"string","access":"protected","value":"wpWidgetsCustom"},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"widgetKey":{"type":"dropdown","access":"public","value":"","options":{"label":"Widget","values":[],"global":"vcvCustomWidgets"}},"customWidgetHtml":{"type":"toggle","access":"public","value":false,"options":{"label":"Enable custom widget HTML"}},"atts_before_title":{"type":"rawCode","access":"public","value":"","options":{"label":"Before Title html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_after_title":{"type":"rawCode","access":"public","value":"","options":{"label":"After Title html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_before_widget":{"type":"rawCode","access":"public","value":"","options":{"label":"Before Widget html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_after_widget":{"type":"rawCode","access":"public","value":"","options":{"label":"After Widget html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"widget":{"type":"ajaxForm","access":"public","value":{"key":"","value":""},"options":{"label":"","action":"vcv:wpWidgets:form","onChange":{"rules":{"widgetKey":{"rule":"true"}},"actions":[{"action":"fieldMethod","options":{"method":"requestToServer"}}]}}},"editFormTab1":{"type":"group","access":"protected","value":["widgetKey","widget","customWidgetHtml","atts_before_title","atts_after_title","atts_before_widget","atts_after_widget","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}}}')}},[["./wpWidgetsCustom/index.js"]]]);
elements/wpWidgetsCustom/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/wpWidgetsDefault/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./wpWidgetsDefault/editor.css":function(e,t){e.exports=".vce-widgets-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./wpWidgetsDefault/styles.css":function(e,t){e.exports='.vce-widgets-wrapper {\n position: relative;\n min-height: 30px;\n}\n\n.vce-widgets-wrapper[data-vcv-element]::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n'},"./wpWidgetsDefault/index.js":function(e,t,o){"use strict";o.r(t);var s=o("./node_modules/vc-cake/index.js"),i=o("./node_modules/@babel/runtime/helpers/extends.js"),n=o.n(i),a=o("./node_modules/@babel/runtime/helpers/classCallCheck.js"),l=o.n(a),r=o("./node_modules/@babel/runtime/helpers/createClass.js"),c=o.n(r),d=o("./node_modules/@babel/runtime/helpers/get.js"),u=o.n(d),p=o("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),g=o.n(p),m=o("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),h=o.n(m),f=o("./node_modules/@babel/runtime/helpers/inherits.js"),v=o.n(f),b=o("./node_modules/react/index.js"),w=o.n(b);function y(){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}}var _=function(e){v()(s,e);var t,o=(t=s,function(){var e,o=h()(t);if(y()){var s=h()(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return g()(this,e)});function s(){return l()(this,s),o.apply(this,arguments)}return c()(s,[{key:"componentDidMount",value:function(){u()(h()(s.prototype),"updateShortcodeToHtml",this).call(this,s.getShortcode(this.props.atts),this.refs.vcvhelper)}},{key:"componentDidUpdate",value:function(e){s.getShortcode(this.props.atts)!==s.getShortcode(e.atts)&&u()(h()(s.prototype),"updateShortcodeToHtml",this).call(this,s.getShortcode(this.props.atts),this.refs.vcvhelper)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.atts,i=e.editor,a=o.customClass,l=o.metaCustomId,r=["vce-widgets-container"],c={};a&&r.push(a),l&&(c.id=l);var d=this.applyDO("all");return w.a.createElement("div",n()({className:r.join(" ")},c,i),w.a.createElement("div",n()({className:"vce vce-widgets-wrapper",id:"el-"+t},d),w.a.createElement("div",{className:"vcvhelper",ref:"vcvhelper","data-vcvs-html":s.getShortcode(this.props.atts)})))}}],[{key:"getShortcode",value:function(e){var t={before_title:e.customWidgetHtml?e.atts_before_title:"",after_title:e.customWidgetHtml?e.atts_after_title:"",before_widget:e.customWidgetHtml?e.atts_before_widget:"",after_widget:e.customWidgetHtml?e.atts_after_widget:""},o=window.encodeURIComponent(e.widgetKey),s=window.encodeURIComponent(JSON.stringify(e.widget)),i=window.encodeURIComponent(JSON.stringify(t));return'[vcv_widgets tag="'.concat(e.tag,'" key="').concat(o,'" instance="').concat(s,'" args="').concat(i,'"]')}}]),s}(Object(s.getService)("api").elementComponent);(0,Object(s.getService)("cook").add)(o("./wpWidgetsDefault/settings.json"),(function(e){e.add(_)}),{css:o("./node_modules/raw-loader/index.js!./wpWidgetsDefault/styles.css"),editorCss:o("./node_modules/raw-loader/index.js!./wpWidgetsDefault/editor.css")})},"./wpWidgetsDefault/settings.json":function(e){e.exports=JSON.parse('{"tag":{"type":"string","access":"protected","value":"wpWidgetsDefault"},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"widgetKey":{"type":"dropdown","access":"public","value":"","options":{"label":"Widget","values":[],"global":"vcvDefaultWidgets"}},"customWidgetHtml":{"type":"toggle","access":"public","value":false,"options":{"label":"Enable custom widget HTML"}},"atts_before_title":{"type":"rawCode","access":"public","value":"","options":{"label":"Before Title html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_after_title":{"type":"rawCode","access":"public","value":"","options":{"label":"After Title html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_before_widget":{"type":"rawCode","access":"public","value":"","options":{"label":"Before Widget html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_after_widget":{"type":"rawCode","access":"public","value":"","options":{"label":"After Widget html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"widget":{"type":"ajaxForm","access":"public","value":{"key":"","value":""},"options":{"label":"","action":"vcv:wpWidgets:form","onChange":{"rules":{"widgetKey":{"rule":"true"}},"actions":[{"action":"fieldMethod","options":{"method":"requestToServer"}}]}}},"editFormTab1":{"type":"group","access":"protected","value":["widgetKey","widget","customWidgetHtml","atts_before_title","atts_after_title","atts_before_widget","atts_after_widget","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}}}')}},[["./wpWidgetsDefault/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./wpWidgetsDefault/editor.css":function(e,t){e.exports=".vce-widgets-container {\n min-height: 1em;\n}\n"},"./node_modules/raw-loader/index.js!./wpWidgetsDefault/styles.css":function(e,t){e.exports='.vce-widgets-wrapper {\n position: relative;\n min-height: 30px;\n}\n\n.vce-widgets-wrapper[data-vcv-element]::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n'},"./wpWidgetsDefault/index.js":function(e,t,o){"use strict";o.r(t);var s=o("./node_modules/vc-cake/index.js"),i=o("./node_modules/@babel/runtime/helpers/extends.js"),n=o.n(i),a=o("./node_modules/@babel/runtime/helpers/classCallCheck.js"),l=o.n(a),r=o("./node_modules/@babel/runtime/helpers/createClass.js"),c=o.n(r),d=o("./node_modules/@babel/runtime/helpers/get.js"),u=o.n(d),p=o("./node_modules/@babel/runtime/helpers/inherits.js"),g=o.n(p),m=o("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),h=o.n(m),f=o("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),v=o.n(f),b=o("./node_modules/react/index.js"),w=o.n(b);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 o,s=v()(e);if(t){var i=v()(this).constructor;o=Reflect.construct(s,arguments,i)}else o=s.apply(this,arguments);return h()(this,o)}}var _=function(e){g()(o,e);var t=y(o);function o(){return l()(this,o),t.apply(this,arguments)}return c()(o,[{key:"componentDidMount",value:function(){u()(v()(o.prototype),"updateShortcodeToHtml",this).call(this,o.getShortcode(this.props.atts),this.refs.vcvhelper)}},{key:"componentDidUpdate",value:function(e){o.getShortcode(this.props.atts)!==o.getShortcode(e.atts)&&u()(v()(o.prototype),"updateShortcodeToHtml",this).call(this,o.getShortcode(this.props.atts),this.refs.vcvhelper)}},{key:"render",value:function(){var e=this.props,t=e.id,s=e.atts,i=e.editor,a=s.customClass,l=s.metaCustomId,r=["vce-widgets-container"],c={};a&&r.push(a),l&&(c.id=l);var d=this.applyDO("all");return w.a.createElement("div",n()({className:r.join(" ")},c,i),w.a.createElement("div",n()({className:"vce vce-widgets-wrapper",id:"el-"+t},d),w.a.createElement("div",{className:"vcvhelper",ref:"vcvhelper","data-vcvs-html":o.getShortcode(this.props.atts)})))}}],[{key:"getShortcode",value:function(e){var t={before_title:e.customWidgetHtml?e.atts_before_title:"",after_title:e.customWidgetHtml?e.atts_after_title:"",before_widget:e.customWidgetHtml?e.atts_before_widget:"",after_widget:e.customWidgetHtml?e.atts_after_widget:""},o=window.encodeURIComponent(e.widgetKey),s=window.encodeURIComponent(JSON.stringify(e.widget)),i=window.encodeURIComponent(JSON.stringify(t));return'[vcv_widgets tag="'.concat(e.tag,'" key="').concat(o,'" instance="').concat(s,'" args="').concat(i,'"]')}}]),o}(Object(s.getService)("api").elementComponent);(0,Object(s.getService)("cook").add)(o("./wpWidgetsDefault/settings.json"),(function(e){e.add(_)}),{css:o("./node_modules/raw-loader/index.js!./wpWidgetsDefault/styles.css"),editorCss:o("./node_modules/raw-loader/index.js!./wpWidgetsDefault/editor.css")})},"./wpWidgetsDefault/settings.json":function(e){e.exports=JSON.parse('{"tag":{"type":"string","access":"protected","value":"wpWidgetsDefault"},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"widgetKey":{"type":"dropdown","access":"public","value":"","options":{"label":"Widget","values":[],"global":"vcvDefaultWidgets"}},"customWidgetHtml":{"type":"toggle","access":"public","value":false,"options":{"label":"Enable custom widget HTML"}},"atts_before_title":{"type":"rawCode","access":"public","value":"","options":{"label":"Before Title html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_after_title":{"type":"rawCode","access":"public","value":"","options":{"label":"After Title html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_before_widget":{"type":"rawCode","access":"public","value":"","options":{"label":"Before Widget html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"atts_after_widget":{"type":"rawCode","access":"public","value":"","options":{"label":"After Widget html","height":"20vh","mode":"html","onChange":{"rules":{"customWidgetHtml":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"widget":{"type":"ajaxForm","access":"public","value":{"key":"","value":""},"options":{"label":"","action":"vcv:wpWidgets:form","onChange":{"rules":{"widgetKey":{"rule":"true"}},"actions":[{"action":"fieldMethod","options":{"method":"requestToServer"}}]}}},"editFormTab1":{"type":"group","access":"protected","value":["widgetKey","widget","customWidgetHtml","atts_before_title","atts_after_title","atts_before_widget","atts_after_widget","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique Id to element to link directly to it by using #your_id (for element id use lowercase input only)."}}}')}},[["./wpWidgetsDefault/index.js"]]]);
elements/wpWidgetsDefault/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
elements/youtubePlayer/public/dist/element.bundle.js CHANGED
@@ -1 +1 @@
1
- (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./youtubePlayer/editor.css":function(e,t){e.exports='[data-vcv-element-disabled="true"] .vce-yt-video-player-inner::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n\n.vce-yt-video-player {\n min-height: 1em;\n}\n'},"./node_modules/raw-loader/index.js!./youtubePlayer/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * YouTube Video Player\n * ---------------------------------------------- */\n.vce-yt-video-player-wrapper {\n display: inline-block;\n max-width: 100%;\n vertical-align: top;\n overflow: hidden;\n}\n.vce-yt-video-player-inner {\n position: relative;\n}\n.vce-yt-video-player-inner::before {\n content: \'\';\n width: 100%;\n display: block;\n padding-top: 56.25%;\n}\n[data-vcv-element-disabled="true"] .vce-yt-video-player-inner::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n.vce-yt-video-player-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n}\n.vce-yt-video-player--align-center {\n text-align: center;\n}\n.vce-yt-video-player--align-right {\n text-align: right;\n}\n.vce-yt-video-player--align-left {\n text-align: left;\n}\n'},"./youtubePlayer/index.js":function(e,t,a){"use strict";a.r(t);var n=a("./node_modules/vc-cake/index.js"),o=a.n(n),l=a("./node_modules/@babel/runtime/helpers/extends.js"),i=a.n(l),s=a("./node_modules/@babel/runtime/helpers/classCallCheck.js"),c=a.n(s),r=a("./node_modules/@babel/runtime/helpers/createClass.js"),d=a.n(r),u=a("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),p=a.n(u),v=a("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),y=a.n(v),h=a("./node_modules/@babel/runtime/helpers/inherits.js"),m=a.n(h),g=a("./node_modules/react/index.js"),b=a.n(g);function f(){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}}var w=function(e){m()(n,e);var t,a=(t=n,function(){var e,a=y()(t);if(f()){var n=y()(this).constructor;e=Reflect.construct(a,arguments,n)}else e=a.apply(this,arguments);return p()(this,e)});function n(){return c()(this,n),a.apply(this,arguments)}return d()(n,[{key:"parseTime",value:function(e){var t={h:0,m:0,s:0,toSeconds:function(){return 60*this.h*60+60*this.m+this.s},toString:function(){return this.h+"h"+this.m+"m"+this.s+"s"}},a=(e=e.replace(/\s+/g,"")).match(/([0-9]+[hms])|([0-9]+(?=:|$))/gi);if(a){var n=function(e,t){return t.slice(-1)===e},o=a.findIndex(n.bind(null,"h"));-1!==o&&(t.h=parseInt(a[o]),a.splice(o,1));var l=a.findIndex(n.bind(null,"m"));-1!==l&&(t.m=parseInt(a[l]),a.splice(l,1));var i=a.findIndex(n.bind(null,"s"));-1!==i&&(t.s=parseInt(a[i]),a.splice(i,1)),(a=a.filter((function(e){return!!/^\d+$/.test(e)}))).splice(3),a.length&&(t.s||(t.s=parseInt(a.pop()))),a.length&&(t.m||(t.m=parseInt(a.pop()))),a.length&&(t.h||(t.h=parseInt(a.pop())))}return t.toSeconds()}},{key:"validUnits",value:function(e){switch(e){case"px":case"em":case"rem":case"vw":case"vh":case"%":return e;default:return"px"}}},{key:"render",value:function(){var e,t,a,n,l=this.props,s=l.id,c=l.atts,r=l.editor,d=c.customClass,u=c.videoPlayer,p=c.alignment,v=c.size,y=c.customSize,h=c.advanced,m=c.metaCustomId,g="vce-yt-video-player",f=h&&c.autoplay?1:0,w=h&&c.color?c.color:"red",x=1,C=h&&c.rel?1:0,_=h&&c.start?this.parseTime(c.start):0,S=h&&c.end?"&end=".concat(this.parseTime(c.end)):"",I=/^.*((youtu\.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*)(?:(\?t|&start)=(?:(\d+)h)?(?:(\d+)m)?(\d+)s)?.*/,k={};if(h&&(x=c.controls?1:0),"string"==typeof d&&d&&(g=g.concat(" ".concat(d))),p&&(g+=" vce-yt-video-player--align-".concat(p)),v)if(g+=" vce-yt-video-player--size-".concat(v),"custom"===v)if(/^[0-9.]+$/.test(y))t="".concat(parseFloat(y),"px");else if(parseFloat(y)){var P=y.slice(parseFloat(y).toString().length);t="".concat(parseFloat(y)).concat(this.validUnits(P))}else t="560px";else t="".concat(v.slice(0,v.indexOf("x")),"px");if(u&&u.match(I)){var j=u.trim();a=(j=j.match(I))[7],n=h&&c.loop?"&loop=1&playlist=".concat(a):"&loop=0",j[8]&&(_+=void 0===j[9]?0:60*Number(j[9])*60,_+=void 0===j[10]?0:60*Number(j[10]),_+=void 0===j[11]?0:Number(j[11]))}e="https://www.youtube.com/embed/".concat(a,"?autoplay=").concat(f,"&mute=").concat(f,"&color=").concat(w,"&controls=").concat(x).concat(n,"&rel=").concat(C,"&start=").concat(_).concat(S,"&cc_load_policy=0&iv_load_policy=3"),m&&(k.id=m);var z="<iframe class='vce-yt-video-player-iframe' src='".concat(e,"' width='640' height='390' frameBorder='0' allowFullScreen='true' />");"backend"===o.a.env("editor")&&(e="https://www.youtube.com/embed/".concat(a,"?autoplay=false&color=").concat(w,"&controls=").concat(x).concat(n,"&rel=").concat(C,"&start=").concat(_).concat(S,"&cc_load_policy=0&iv_load_policy=3"));var E=this.applyDO("all");return b.a.createElement("div",i()({className:g},r,k,{"data-vcv-element-disabled":!0}),b.a.createElement("div",i()({className:"vce vce-yt-video-player-wrapper",id:"el-"+s,style:{width:t}},E),b.a.createElement("div",{className:"vce-yt-video-player-inner"},b.a.createElement("div",{className:"vcvhelper","data-vcvs-html":z},b.a.createElement("iframe",{className:"vce-yt-video-player-iframe",src:e,width:"640",height:"390",frameBorder:"0",allowFullScreen:!0})))))}}]),n}(o.a.getService("api").elementComponent);(0,o.a.getService("cook").add)(a("./youtubePlayer/settings.json"),(function(e){e.add(w)}),{css:a("./node_modules/raw-loader/index.js!./youtubePlayer/styles.css"),editorCss:a("./node_modules/raw-loader/index.js!./youtubePlayer/editor.css")},"")},"./youtubePlayer/settings.json":function(e){e.exports=JSON.parse('{"videoPlayer":{"type":"string","access":"public","value":"https://www.youtube.com/watch?v=Im6gfxoiHeU","options":{"label":"YouTube video link","description":"Enter link to YouTube video.","link":true}},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"size":{"type":"dropdown","access":"public","value":"560x315","options":{"label":"Size","values":[{"label":"560x315","value":"560x315"},{"label":"1280x720","value":"1280x720"},{"label":"853x480","value":"853x480"},{"label":"640x360","value":"640x360"},{"label":"Custom size","value":"custom"}]}},"customSize":{"type":"string","access":"public","value":"","options":{"label":"Custom width","description":"Enter custom width and the height will be automatically calculated for 16:9 aspect ratio.","onChange":{"rules":{"size":{"rule":"value","options":{"value":"custom"}}},"actions":[{"action":"toggleVisibility"}]}}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"advanced":{"type":"toggle","access":"public","value":false,"options":{"label":"Advanced options"}},"autoplay":{"type":"toggle","access":"public","value":false,"options":{"label":"Autoplay","description":"Automatically start to play the video when the player loads. The sound will be muted until the users\' first interaction with the video.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"color":{"type":"dropdown","access":"public","value":"red","options":{"label":"Color","description":"Specifies the color that will be used in the player\'s video progress bar to highlight the amount of the video that the viewer has already seen.","values":[{"label":"White","value":"white"},{"label":"Red","value":"red"}],"onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"controls":{"type":"toggle","access":"public","value":true,"options":{"label":"Show controls","description":"Indicates whether the video player controls are displayed.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"loop":{"type":"toggle","access":"public","value":false,"options":{"label":"Repeat video","description":"Play the video again when it reaches the end.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"rel":{"type":"toggle","access":"public","value":false,"options":{"label":"Show related videos","description":"Indicates whether the player should show related videos when playback of the initial video ends.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"start":{"type":"string","access":"public","value":"","options":{"label":"Start at","description":"Causes the player to begin playing the video at the given time (e.g. 2h09m34s or 2:09:34)","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"end":{"type":"string","access":"public","value":"","options":{"label":"End at","description":"Causes the player to stop playing the video at the given time (e.g. 2h09m34s or 2:09:34)","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["videoPlayer","size","customSize","alignment","advanced","autoplay","color","controls","loop","rel","start","end","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["videoPlayer"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"youtubePlayer"}}')}},[["./youtubePlayer/index.js"]]]);
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./youtubePlayer/editor.css":function(e,t){e.exports='[data-vcv-element-disabled="true"] .vce-yt-video-player-inner::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n\n.vce-yt-video-player {\n min-height: 1em;\n}\n'},"./node_modules/raw-loader/index.js!./youtubePlayer/styles.css":function(e,t){e.exports='/* ----------------------------------------------\n * YouTube Video Player\n * ---------------------------------------------- */\n.vce-yt-video-player-wrapper {\n display: inline-block;\n max-width: 100%;\n vertical-align: top;\n overflow: hidden;\n}\n.vce-yt-video-player-inner {\n position: relative;\n}\n.vce-yt-video-player-inner::before {\n content: \'\';\n width: 100%;\n display: block;\n padding-top: 56.25%;\n}\n[data-vcv-element-disabled="true"] .vce-yt-video-player-inner::after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 999;\n}\n.vce-yt-video-player-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n}\n.vce-yt-video-player--align-center {\n text-align: center;\n}\n.vce-yt-video-player--align-right {\n text-align: right;\n}\n.vce-yt-video-player--align-left {\n text-align: left;\n}\n'},"./youtubePlayer/index.js":function(e,t,a){"use strict";a.r(t);var n=a("./node_modules/vc-cake/index.js"),o=a.n(n),l=a("./node_modules/@babel/runtime/helpers/extends.js"),i=a.n(l),s=a("./node_modules/@babel/runtime/helpers/classCallCheck.js"),c=a.n(s),r=a("./node_modules/@babel/runtime/helpers/createClass.js"),u=a.n(r),d=a("./node_modules/@babel/runtime/helpers/inherits.js"),p=a.n(d),v=a("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),y=a.n(v),h=a("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),m=a.n(h),g=a("./node_modules/react/index.js"),b=a.n(g);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 a,n=m()(e);if(t){var o=m()(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return y()(this,a)}}var w=function(e){p()(a,e);var t=f(a);function a(){return c()(this,a),t.apply(this,arguments)}return u()(a,[{key:"parseTime",value:function(e){var t={h:0,m:0,s:0,toSeconds:function(){return 60*this.h*60+60*this.m+this.s},toString:function(){return this.h+"h"+this.m+"m"+this.s+"s"}},a=(e=e.replace(/\s+/g,"")).match(/([0-9]+[hms])|([0-9]+(?=:|$))/gi);if(a){var n=function(e,t){return t.slice(-1)===e},o=a.findIndex(n.bind(null,"h"));-1!==o&&(t.h=parseInt(a[o]),a.splice(o,1));var l=a.findIndex(n.bind(null,"m"));-1!==l&&(t.m=parseInt(a[l]),a.splice(l,1));var i=a.findIndex(n.bind(null,"s"));-1!==i&&(t.s=parseInt(a[i]),a.splice(i,1)),(a=a.filter((function(e){return!!/^\d+$/.test(e)}))).splice(3),a.length&&(t.s||(t.s=parseInt(a.pop()))),a.length&&(t.m||(t.m=parseInt(a.pop()))),a.length&&(t.h||(t.h=parseInt(a.pop())))}return t.toSeconds()}},{key:"validUnits",value:function(e){switch(e){case"px":case"em":case"rem":case"vw":case"vh":case"%":return e;default:return"px"}}},{key:"render",value:function(){var e,t,a,n,l=this.props,s=l.id,c=l.atts,r=l.editor,u=c.customClass,d=c.videoPlayer,p=c.alignment,v=c.size,y=c.customSize,h=c.advanced,m=c.metaCustomId,g="vce-yt-video-player",f=h&&c.autoplay?1:0,w=h&&c.color?c.color:"red",x=1,C=h&&c.rel?1:0,_=h&&c.start?this.parseTime(c.start):0,S=h&&c.end?"&end=".concat(this.parseTime(c.end)):"",I=/^.*((youtu\.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*)(?:(\?t|&start)=(?:(\d+)h)?(?:(\d+)m)?(\d+)s)?.*/,k={};if(h&&(x=c.controls?1:0),"string"==typeof u&&u&&(g=g.concat(" ".concat(u))),p&&(g+=" vce-yt-video-player--align-".concat(p)),v)if(g+=" vce-yt-video-player--size-".concat(v),"custom"===v)if(/^[0-9.]+$/.test(y))t="".concat(parseFloat(y),"px");else if(parseFloat(y)){var P=y.slice(parseFloat(y).toString().length);t="".concat(parseFloat(y)).concat(this.validUnits(P))}else t="560px";else t="".concat(v.slice(0,v.indexOf("x")),"px");if(d&&d.match(I)){var j=d.trim();a=(j=j.match(I))[7],n=h&&c.loop?"&loop=1&playlist=".concat(a):"&loop=0",j[8]&&(_+=void 0===j[9]?0:60*Number(j[9])*60,_+=void 0===j[10]?0:60*Number(j[10]),_+=void 0===j[11]?0:Number(j[11]))}e="https://www.youtube.com/embed/".concat(a,"?autoplay=").concat(f,"&mute=").concat(f,"&color=").concat(w,"&controls=").concat(x).concat(n,"&rel=").concat(C,"&start=").concat(_).concat(S,"&cc_load_policy=0&iv_load_policy=3"),m&&(k.id=m);var z="<iframe class='vce-yt-video-player-iframe' src='".concat(e,"' width='640' height='390' frameBorder='0' allowFullScreen='true' />");"backend"===o.a.env("editor")&&(e="https://www.youtube.com/embed/".concat(a,"?autoplay=false&color=").concat(w,"&controls=").concat(x).concat(n,"&rel=").concat(C,"&start=").concat(_).concat(S,"&cc_load_policy=0&iv_load_policy=3"));var E=this.applyDO("all");return b.a.createElement("div",i()({className:g},r,k,{"data-vcv-element-disabled":!0}),b.a.createElement("div",i()({className:"vce vce-yt-video-player-wrapper",id:"el-"+s,style:{width:t}},E),b.a.createElement("div",{className:"vce-yt-video-player-inner"},b.a.createElement("div",{className:"vcvhelper","data-vcvs-html":z},b.a.createElement("iframe",{className:"vce-yt-video-player-iframe",src:e,width:"640",height:"390",frameBorder:"0",allowFullScreen:!0})))))}}]),a}(o.a.getService("api").elementComponent);(0,o.a.getService("cook").add)(a("./youtubePlayer/settings.json"),(function(e){e.add(w)}),{css:a("./node_modules/raw-loader/index.js!./youtubePlayer/styles.css"),editorCss:a("./node_modules/raw-loader/index.js!./youtubePlayer/editor.css")},"")},"./youtubePlayer/settings.json":function(e){e.exports=JSON.parse('{"videoPlayer":{"type":"string","access":"public","value":"https://www.youtube.com/watch?v=Im6gfxoiHeU","options":{"label":"YouTube video link","description":"Enter link to YouTube video.","link":true}},"alignment":{"type":"buttonGroup","access":"public","value":"left","options":{"label":"Alignment","values":[{"label":"Left","value":"left","icon":"vcv-ui-icon-attribute-alignment-left"},{"label":"Center","value":"center","icon":"vcv-ui-icon-attribute-alignment-center"},{"label":"Right","value":"right","icon":"vcv-ui-icon-attribute-alignment-right"}]}},"size":{"type":"dropdown","access":"public","value":"560x315","options":{"label":"Size","values":[{"label":"560x315","value":"560x315"},{"label":"1280x720","value":"1280x720"},{"label":"853x480","value":"853x480"},{"label":"640x360","value":"640x360"},{"label":"Custom size","value":"custom"}]}},"customSize":{"type":"string","access":"public","value":"","options":{"label":"Custom width","description":"Enter custom width and the height will be automatically calculated for 16:9 aspect ratio.","onChange":{"rules":{"size":{"rule":"value","options":{"value":"custom"}}},"actions":[{"action":"toggleVisibility"}]}}},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"advanced":{"type":"toggle","access":"public","value":false,"options":{"label":"Advanced options"}},"autoplay":{"type":"toggle","access":"public","value":false,"options":{"label":"Autoplay","description":"Automatically start to play the video when the player loads. The sound will be muted until the users\' first interaction with the video.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"color":{"type":"dropdown","access":"public","value":"red","options":{"label":"Color","description":"Specifies the color that will be used in the player\'s video progress bar to highlight the amount of the video that the viewer has already seen.","values":[{"label":"White","value":"white"},{"label":"Red","value":"red"}],"onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"controls":{"type":"toggle","access":"public","value":true,"options":{"label":"Show controls","description":"Indicates whether the video player controls are displayed.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"loop":{"type":"toggle","access":"public","value":false,"options":{"label":"Repeat video","description":"Play the video again when it reaches the end.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"rel":{"type":"toggle","access":"public","value":false,"options":{"label":"Show related videos","description":"Indicates whether the player should show related videos when playback of the initial video ends.","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"start":{"type":"string","access":"public","value":"","options":{"label":"Start at","description":"Causes the player to begin playing the video at the given time (e.g. 2h09m34s or 2:09:34)","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"end":{"type":"string","access":"public","value":"","options":{"label":"End at","description":"Causes the player to stop playing the video at the given time (e.g. 2h09m34s or 2:09:34)","onChange":{"rules":{"advanced":{"rule":"toggle"}},"actions":[{"action":"toggleVisibility"}]}}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["videoPlayer","size","customSize","alignment","advanced","autoplay","color","controls","loop","rel","start","end","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["videoPlayer"]}]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply unique ID to element to link directly to it by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"youtubePlayer"}}')}},[["./youtubePlayer/index.js"]]]);
elements/youtubePlayer/public/dist/vendor.bundle.js.LICENSE CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  /*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
@@ -37,6 +44,8 @@ object-assign
37
  * LICENSE file in the root directory of this source tree.
38
  */
39
 
 
 
40
  /** @license React v0.18.0
41
  * scheduler.production.min.js
42
  *
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
  /*!
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
44
  * LICENSE file in the root directory of this source tree.
45
  */
46
 
47
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
48
+
49
  /** @license React v0.18.0
50
  * scheduler.production.min.js
51
  *
plugin-wordpress.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Visual Composer
4
  * Plugin URI: https://visualcomposer.com/premium/?utm_medium=wp-dashboard&utm_source=plugins-page&utm_campaign=vcwb&utm_content=plugin-link
5
  * Description: Create your WordPress website with the fast and easy-to-use drag-and-drop builder for experts and beginners.
6
- * Version: 26.0
7
  * Author: visualcomposer.com
8
  * Author URI: https://visualcomposer.com/?utm_medium=wp-dashboard&utm_source=plugins-page&utm_campaign=vcwb&utm_content=author-link
9
  * Copyright: (c) 2017 TechMill Ltd.
@@ -45,7 +45,7 @@ if (defined('VCV_VERSION')) {
45
  /**
46
  * Plugin version constant
47
  */
48
- define('VCV_VERSION', '26.0');
49
  /**
50
  * Plugin url: 'http://web/wp-content/plugins/plugin_dir/'
51
  */
3
  * Plugin Name: Visual Composer
4
  * Plugin URI: https://visualcomposer.com/premium/?utm_medium=wp-dashboard&utm_source=plugins-page&utm_campaign=vcwb&utm_content=plugin-link
5
  * Description: Create your WordPress website with the fast and easy-to-use drag-and-drop builder for experts and beginners.
6
+ * Version: 27.0
7
  * Author: visualcomposer.com
8
  * Author URI: https://visualcomposer.com/?utm_medium=wp-dashboard&utm_source=plugins-page&utm_campaign=vcwb&utm_content=author-link
9
  * Copyright: (c) 2017 TechMill Ltd.
45
  /**
46
  * Plugin version constant
47
  */
48
+ define('VCV_VERSION', '27.0');
49
  /**
50
  * Plugin url: 'http://web/wp-content/plugins/plugin_dir/'
51
  */
public/dist/fonts/VC-Icons.svg CHANGED
@@ -34,7 +34,7 @@
34
  <glyph unicode="&#xe903;" glyph-name="copy-icon" horiz-adv-x="853" d="M698.182 866.909h-46.545c0 51.2-41.891 93.091-93.091 93.091h-279.273c-51.2 0-93.091-41.891-93.091-93.091h-46.545c-77.079 0-139.636-62.557-139.636-139.636v-651.636c0-77.079 62.557-139.636 139.636-139.636h558.545c77.079 0 139.636 62.557 139.636 139.636v651.636c0 77.079-62.557 139.636-139.636 139.636zM279.273 866.909h279.273v-93.091h-279.273v93.091zM744.727 75.636c0-25.6-20.945-46.545-46.545-46.545h-558.545c-25.6 0-46.545 20.945-46.545 46.545v651.636c0 25.6 20.945 46.545 46.545 46.545h46.545c0-51.2 41.891-93.091 93.091-93.091h279.273c51.2 0 93.091 41.891 93.091 93.091h46.545c25.6 0 46.545-20.945 46.545-46.545v-651.636z" />
35
  <glyph unicode="&#xe904;" glyph-name="paste-icon" horiz-adv-x="864" d="M785.455 576h-87.273v165.818c0 24-19.636 43.636-43.636 43.636h-43.636c0-48-39.273-87.273-87.273-87.273h-261.818c-48 0-87.273 39.273-87.273 87.273h-43.636c-24 0-43.636-19.636-43.636-43.636v-610.909c0-24 19.636-43.636 43.636-43.636h93.091v-87.273h-93.091c-72.262 0-130.909 58.647-130.909 130.909v610.909c0 72.262 58.647 130.909 130.909 130.909h43.636c0 48 39.273 87.273 87.273 87.273h261.818c48 0 87.273-39.273 87.273-87.273h43.636c72.262 0 130.909-58.647 130.909-130.909v-165.818zM261.818 872.727v0.087-87.36h261.818v87.273h-261.818zM802.944 512h-471.968c-39.808 0-42.976-8.864-42.976-48.672v-478.688c0-39.776 21.28-48.64 61.056-48.64h472c39.776 0 42.944 8.864 42.944 48.64v478.688c0 39.776-21.28 48.672-61.056 48.672zM413.472 32c-30.56 0-29.472 9.792-29.472 40.384v303.2c0 30.592-3.2 40.384 27.392 40.384h327.104c30.592 0 29.504-9.792 29.504-40.384v-303.2c0-30.592 3.2-40.384-27.392-40.384h-327.136z" />
36
  <glyph unicode="&#xe905;" glyph-name="star" d="M512 893.44l122.266-344.166h328.294l-267.878-202.138 95.795-354.714-278.477 212.685-278.426-212.685 95.744 354.714-267.93 202.138h328.294l122.317 344.166z" />
37
- <glyph unicode="&#xe906;" glyph-name="lock" horiz-adv-x="777" d="M674.877 43.6v482.997h-577.806v-482.997h577.806zM236.997 718.477v-97.071h297.955v97.071c0 81.278-67.7 148.978-148.978 148.978s-148.978-67.7-148.978-148.978v0zM674.877 621.406c51.906 0 97.071-42.902 97.071-94.808v-482.997c0-51.906-45.165-94.808-97.071-94.808h-577.806c-51.906 0-97.071 42.902-97.071 94.808v482.997c0 51.906 45.165 94.808 97.071 94.808h47.38v97.071c0 133.184 108.339 241.523 241.523 241.523s241.523-108.339 241.523-241.523v-97.071h47.38z" />
38
  <glyph unicode="&#xe907;" glyph-name="eye-off" horiz-adv-x="1336" d="M565.741 838.736c31.179 7.562 65.755 11.672 101.044 11.672h1.37c142.47 0 278.090-67.125 403.079-199.677 68.495-72.605 115.072-146.579 136.661-183.567-29.425-51.015-61.974-97.592-98.633-141.1-19.507-22.96-16.768-57.536 6.521-77.043 10.302-8.548 22.96-12.987 35.289-12.987 15.398 0 31.179 6.521 41.755 19.507 47.946 56.878 89.043 117.483 126.031 185.594 8.548 15.781 8.877 34.576 0.658 50.686-2.411 4.767-59.563 118.14-166.47 232.225-145.209 154.141-312.995 235.952-485.273 235.952h-1.37c-43.508 0-87.345-5.151-127.072-14.74-29.425-7.178-47.289-36.987-40.056-66.084 7.562-29.425 36.987-47.618 66.413-40.439h0.055zM1032.548 179.486c-0.329 0.329-764.404 764.404-764.404 764.404-21.206 21.206-56.166 21.206-77.427 0s-21.206-56.166 0-77.427l69.865-69.865c-98.304-84.605-180.169-186.635-243.842-303.46-8.548-15.781-8.877-34.576-1.041-50.686 2.411-4.767 59.618-118.14 166.799-232.171 145.209-154.799 312.995-236.664 485.602-236.664 115.784 2.027 224.664 34.905 318.858 96.222l80.112-80.167c10.63-10.63 24.658-16.11 38.686-16.11s28.11 5.48 38.686 16.11c21.918 21.206 21.918 56.166 0.329 77.427l-112.222 112.387zM559.604 497.303l138.689-138.689c-10.959-3.781-22.576-5.48-34.576-5.48-60.276 0-109.592 49.316-109.592 109.592 0 12 2.082 23.617 5.48 34.576zM667.826 83.264c-142.47 0-278.090 67.454-403.408 199.677-68.495 72.605-115.072 146.25-136.661 183.567 56.166 96.934 127.072 181.484 210.636 252.39l139.73-139.73c-21.59-34.576-33.535-75.016-33.535-116.441 0-120.88 98.304-219.184 219.184-219.184 41.426 0 81.865 12 116.441 33.535l127.401-127.401c-72.276-42.138-154.141-65.098-239.732-66.413h-0.055z" />
39
  <glyph unicode="&#xe908;" glyph-name="brush-alt" horiz-adv-x="1022" d="M384 192c0 70.752-57.376 128-128 128-70.752 0-128-57.248-128-128v-0.256c0-94.624-51.488-177.12-128-221.376l0.512-0.384c37.504-21.6 80.992-33.984 127.488-33.984 141.376 0 256 114.624 256 256v0zM986.432 922.496c-49.984 49.984-131.008 49.984-180.992 0l-483.936-484c88.256-23.616 157.504-92.736 180.992-181.12l483.936 484.128c50.016 49.984 50.016 131.008 0 180.992z" />
40
  <glyph unicode="&#xe909;" glyph-name="hub-shop" d="M960 64h-64v128c0 35.328-28.608 64-64 64s-64-28.672-64-64v-128h-512v128c0 35.328-28.608 64-64 64s-64-28.672-64-64v-128h-64c-35.392 0-64-28.672-64-64s28.608-64 64-64h896c35.392 0 64 28.672 64 64s-28.608 64-64 64zM960 960h-896c-35.392 0-64-28.672-64-64v-384c0-70.656 57.28-128 128-128s128 57.344 128 128c0-70.656 57.344-128 128-128s128 57.344 128 128c0-70.656 57.344-128 128-128s128 57.344 128 128c0-70.656 57.344-128 128-128s128 57.344 128 128v384c0 35.328-28.608 64-64 64z" />
@@ -46,6 +46,8 @@
46
  <glyph unicode="&#xe90f;" glyph-name="plug" d="M902.254 728.131l-131.542-131.148-109.502 109.814 131.192 131.148c27.988 27.978 27.988 73.093 0 101.071s-73.118 27.978-101.106 0l-131.192-131.148-48.629 48.612c-13.294 13.29-56.325 39.169-101.106 0l-204.31-204.24c-123.146-123.104-138.539-314.404-45.48-454.295l-139.589-139.891c-27.988-27.978-27.988-73.093 0-101.071s73.118-27.978 101.106 0l139.589 139.541c58.774-39.169 127.344-60.153 199.412-60.153 96.208 0 186.818 37.421 255.038 105.617l204.31 204.24c27.988 27.978 27.988 73.093 0 101.071l-48.629 48.612 131.192 131.148c27.988 27.978 27.988 73.093 0 101.071-27.638 27.978-73.118 27.978-100.756 0zM615.030 243.060c-41.282-41.268-95.858-63.65-153.932-63.65s-113 22.732-153.932 63.65c-85.013 84.984-85.013 223.126 0 307.76l153.932 153.88 307.865-307.76-153.932-153.88z" />
47
  <glyph unicode="&#xe910;" glyph-name="thumbs-down" horiz-adv-x="1331" d="M412.315-64c8.546 0 16.807 2.772 23.683 7.85l4.879 4.234 291.482 295.12c51.953 52.589 83.037 124.85 86.515 200.040l0.327 14.128v203.96c0 160.839-122.726 292.419-275.741 298.452l-10.98 0.216h-259.080c-42.524 0-82.188-20.541-107.778-55.362l-5.264-7.678-133.159-222.668c-17.56-27.376-27.199-59.040-27.199-90.416 0-25.074 2.054-53.867 16.13-81.321l5.862-10.223 18.962-31.792v-12.584c0-90.801 68.502-165.326 154.483-170.393l9.277-0.275 154.241-0.040 5.76-9.832-75.559-153.624c-8.321-17.168-12.641-36.168-12.641-55.208 0-64.768 48.492-117.979 109.636-122.301l8.044-0.283h18.121zM1208.32 294.4c65.050 0 118.45 51.592 122.618 116.606l0.262 8.194v416c0 66.066-50.798 120.301-114.812 124.534l-8.068 0.266h-163.841c-65.050 0-118.45-51.592-122.618-116.606l-0.262-8.194v-416c0-66.066 50.798-120.301 114.812-124.534l8.068-0.266h163.841zM1196.372 396.8h-129.708c-16.517 0-30.172 12.58-32.175 28.807l-0.253 4.127v380.532c0 16.775 12.387 30.643 28.364 32.678l4.064 0.257h129.708c16.517 0 30.172-12.58 32.175-28.807l0.253-4.127v-380.532c0-16.775-12.387-30.643-28.364-32.678l-4.064-0.257zM399.379 40.527c-18.489 0-30.002 5.142-30.002 24.86 0 3.679 0.533 7.359 1.577 10.838l1.947 5.041 72.492 151.578c13.273 27.602 15.188 68.124 0 94.562-13.886 24.274-49.81 35.842-76.017 38.259l-7.213 0.336-144.599 0.038c-40.073 0.036-73.112 32.996-76.479 74.862l-0.283 7.056v23.762c0 5.731-1.118 11.372-3.274 16.567l-2.5 5.033-24.188 41.522c-6.188 9.961-8.438 22.28-8.438 43.599 0 11.434 3.255 23.811 9.288 35.513l3.949 6.927 124.875 213.799c7.645 12.217 20.631 20.603 35.113 22.509l6.287 0.412h242.885c102.652 0 186.758-86.395 191.761-194.593l0.243-10.205v-195.805c0-51.072-18.267-100.902-50.481-138.44l-7.68-8.44-259.262-269.59z" />
48
  <glyph unicode="&#xe911;" glyph-name="thumbs-up" horiz-adv-x="1331" d="M918.885 960c-8.546 0-16.807-2.772-23.683-7.85l-4.879-4.234-291.482-295.12c-51.953-52.589-83.037-124.85-86.515-200.040l-0.327-14.128v-203.96c0-160.839 122.726-292.419 275.741-298.452l10.98-0.216h259.080c42.524 0 82.188 20.541 107.778 55.362l5.264 7.678 133.159 222.668c17.56 27.376 27.199 59.040 27.199 90.416 0 25.074-2.054 53.867-16.13 81.321l-5.862 10.223-18.962 31.792v12.584c0 90.801-68.502 165.326-154.483 170.393l-9.277 0.275-154.241 0.040-5.76 9.832 75.559 153.624c8.321 17.168 12.641 36.168 12.641 55.208 0 64.768-48.492 117.979-109.636 122.301l-8.044 0.283h-18.121zM122.88 601.6c-65.050 0-118.45-51.592-122.618-116.606l-0.262-8.194v-416c0-66.066 50.798-120.301 114.812-124.534l8.068-0.266h163.841c65.050 0 118.45 51.592 122.618 116.606l0.262 8.194v416c0 66.066-50.798 120.301-114.812 124.534l-8.068 0.266h-163.841zM134.828 499.2h129.708c16.517 0 30.172-12.58 32.175-28.807l0.253-4.127v-380.532c0-16.775-12.387-30.643-28.364-32.678l-4.064-0.257h-129.708c-16.517 0-30.172 12.58-32.175 28.807l-0.253 4.127v380.532c0 16.775 12.387 30.643 28.364 32.678l4.064 0.257zM931.821 855.473c18.489 0 30.002-5.142 30.002-24.86 0-3.679-0.533-7.359-1.577-10.838l-1.947-5.041-72.492-151.578c-13.273-27.602-15.188-68.124 0-94.563 13.886-24.274 49.81-35.842 76.017-38.259l7.213-0.336 144.599-0.038c40.073-0.036 73.112-32.996 76.479-74.862l0.283-7.056v-23.762c0-5.731 1.118-11.372 3.274-16.567l2.5-5.033 24.188-41.522c6.188-9.961 8.438-22.28 8.438-43.599 0-11.434-3.255-23.811-9.288-35.513l-3.949-6.927-124.875-213.799c-7.645-12.217-20.631-20.603-35.113-22.509l-6.287-0.412h-242.885c-102.652 0-186.758 86.395-191.761 194.593l-0.243 10.205v195.805c0 51.072 18.267 100.902 50.481 138.44l7.68 8.44 259.262 269.59z" />
 
 
49
  <glyph unicode="&#x1f41e;" glyph-name="bug" horiz-adv-x="951" d="M932.571 402.286q0-14.857-10.857-25.714t-25.714-10.857h-128q0-97.714-38.286-165.714l118.857-119.429q10.857-10.857 10.857-25.714t-10.857-25.714q-10.286-10.857-25.714-10.857t-25.714 10.857l-113.143 112.571q-2.857-2.857-8.571-7.429t-24-16.286-37.143-20.857-46.857-16.571-55.429-7.429v512h-73.143v-512q-29.143 0-58 7.714t-49.714 18.857-37.714 22.286-24.857 18.571l-8.571 8-104.571-118.286q-11.429-12-27.429-12-13.714 0-24.571 9.143-10.857 10.286-11.714 25.429t8.857 26.571l115.429 129.714q-33.143 65.143-33.143 156.571h-128q-14.857 0-25.714 10.857t-10.857 25.714 10.857 25.714 25.714 10.857h128v168l-98.857 98.857q-10.857 10.857-10.857 25.714t10.857 25.714 25.714 10.857 25.714-10.857l98.857-98.857h482.286l98.857 98.857q10.857 10.857 25.714 10.857t25.714-10.857 10.857-25.714-10.857-25.714l-98.857-98.857v-168h128q14.857 0 25.714-10.857t10.857-25.714zM658.286 731.428h-365.714q0 76 53.429 129.429t129.429 53.429 129.429-53.429 53.429-129.429z" />
50
  <glyph unicode="&#x1f4bb;" glyph-name="tablet-landscape" d="M32 960v-1024M64 960v-1024M96 960v-1024M128 960v-1024M160 960v-1024M192 960v-1024M224 960v-1024M256 960v-1024M288 960v-1024M320 960v-1024M352 960v-1024M384 960v-1024M416 960v-1024M448 960v-1024M480 960v-1024M512 960v-1024M544 960v-1024M576 960v-1024M608 960v-1024M640 960v-1024M672 960v-1024M704 960v-1024M736 960v-1024M768 960v-1024M800 960v-1024M832 960v-1024M864 960v-1024M896 960v-1024M928 960v-1024M960 960v-1024M992 960v-1024M0 928h1024M0 896h1024M0 864h1024M0 832h1024M0 800h1024M0 768h1024M0 736h1024M0 704h1024M0 672h1024M0 640h1024M0 608h1024M0 576h1024M0 544h1024M0 512h1024M0 480h1024M0 448h1024M0 416h1024M0 384h1024M0 352h1024M0 320h1024M0 288h1024M0 256h1024M0 224h1024M0 192h1024M0 160h1024M0 128h1024M0 96h1024M0 64h1024M0 32h1024M0 0h1024M0-32h1024M351 105h505.988c22.112 0 40.012 17.908 40.012 39.998v600.003c0 22.072-17.914 39.998-40.012 39.998h-505.988v-680zM251 105v680h-83.988c-22.112 0-40.012-17.908-40.012-39.998v-600.003c0-22.072 17.914-39.998 40.012-39.998h83.988zM937.009 885c33.132 0 59.991-26.877 59.991-60.010v-759.98c0-33.143-26.86-60.010-59.991-60.010h-850.017c-33.132 0-59.991 26.877-59.991 60.010v759.98c0 33.143 26.86 60.010 59.991 60.010h850.017z" />
51
  <glyph unicode="&#x1f4f0;" glyph-name="template" d="M861.584 928h-696c-39.743 0-73.583-38.232-73.583-78.001v-258.001h840v258.001c0 39.768-30.624 78.001-70.417 78.001zM836 688.001h-648.001v98.257c0 30.6 27.456 45.744 58.032 45.744h535.128c30.577 0 54.84-15.144 54.84-45.744v-98.257zM162.392-32h696c39.768 0 73.608 38.232 73.608 78.001v450h-840v-450c0-39.768 30.6-78.001 70.393-78.001zM188 400h648.001v-290.256c0-30.6-27.48-45.744-58.056-45.744h-535.128c-30.577 0-54.816 15.144-54.816 45.744v290.256z" />
34
  <glyph unicode="&#xe903;" glyph-name="copy-icon" horiz-adv-x="853" d="M698.182 866.909h-46.545c0 51.2-41.891 93.091-93.091 93.091h-279.273c-51.2 0-93.091-41.891-93.091-93.091h-46.545c-77.079 0-139.636-62.557-139.636-139.636v-651.636c0-77.079 62.557-139.636 139.636-139.636h558.545c77.079 0 139.636 62.557 139.636 139.636v651.636c0 77.079-62.557 139.636-139.636 139.636zM279.273 866.909h279.273v-93.091h-279.273v93.091zM744.727 75.636c0-25.6-20.945-46.545-46.545-46.545h-558.545c-25.6 0-46.545 20.945-46.545 46.545v651.636c0 25.6 20.945 46.545 46.545 46.545h46.545c0-51.2 41.891-93.091 93.091-93.091h279.273c51.2 0 93.091 41.891 93.091 93.091h46.545c25.6 0 46.545-20.945 46.545-46.545v-651.636z" />
35
  <glyph unicode="&#xe904;" glyph-name="paste-icon" horiz-adv-x="864" d="M785.455 576h-87.273v165.818c0 24-19.636 43.636-43.636 43.636h-43.636c0-48-39.273-87.273-87.273-87.273h-261.818c-48 0-87.273 39.273-87.273 87.273h-43.636c-24 0-43.636-19.636-43.636-43.636v-610.909c0-24 19.636-43.636 43.636-43.636h93.091v-87.273h-93.091c-72.262 0-130.909 58.647-130.909 130.909v610.909c0 72.262 58.647 130.909 130.909 130.909h43.636c0 48 39.273 87.273 87.273 87.273h261.818c48 0 87.273-39.273 87.273-87.273h43.636c72.262 0 130.909-58.647 130.909-130.909v-165.818zM261.818 872.727v0.087-87.36h261.818v87.273h-261.818zM802.944 512h-471.968c-39.808 0-42.976-8.864-42.976-48.672v-478.688c0-39.776 21.28-48.64 61.056-48.64h472c39.776 0 42.944 8.864 42.944 48.64v478.688c0 39.776-21.28 48.672-61.056 48.672zM413.472 32c-30.56 0-29.472 9.792-29.472 40.384v303.2c0 30.592-3.2 40.384 27.392 40.384h327.104c30.592 0 29.504-9.792 29.504-40.384v-303.2c0-30.592 3.2-40.384-27.392-40.384h-327.136z" />
36
  <glyph unicode="&#xe905;" glyph-name="star" d="M512 893.44l122.266-344.166h328.294l-267.878-202.138 95.795-354.714-278.477 212.685-278.426-212.685 95.744 354.714-267.93 202.138h328.294l122.317 344.166z" />
37
+ <glyph unicode="&#xe906;" glyph-name="lock1" horiz-adv-x="777" d="M674.877 43.6v482.997h-577.806v-482.997h577.806zM236.997 718.477v-97.071h297.955v97.071c0 81.278-67.7 148.978-148.978 148.978s-148.978-67.7-148.978-148.978v0zM674.877 621.406c51.906 0 97.071-42.902 97.071-94.808v-482.997c0-51.906-45.165-94.808-97.071-94.808h-577.806c-51.906 0-97.071 42.902-97.071 94.808v482.997c0 51.906 45.165 94.808 97.071 94.808h47.38v97.071c0 133.184 108.339 241.523 241.523 241.523s241.523-108.339 241.523-241.523v-97.071h47.38z" />
38
  <glyph unicode="&#xe907;" glyph-name="eye-off" horiz-adv-x="1336" d="M565.741 838.736c31.179 7.562 65.755 11.672 101.044 11.672h1.37c142.47 0 278.090-67.125 403.079-199.677 68.495-72.605 115.072-146.579 136.661-183.567-29.425-51.015-61.974-97.592-98.633-141.1-19.507-22.96-16.768-57.536 6.521-77.043 10.302-8.548 22.96-12.987 35.289-12.987 15.398 0 31.179 6.521 41.755 19.507 47.946 56.878 89.043 117.483 126.031 185.594 8.548 15.781 8.877 34.576 0.658 50.686-2.411 4.767-59.563 118.14-166.47 232.225-145.209 154.141-312.995 235.952-485.273 235.952h-1.37c-43.508 0-87.345-5.151-127.072-14.74-29.425-7.178-47.289-36.987-40.056-66.084 7.562-29.425 36.987-47.618 66.413-40.439h0.055zM1032.548 179.486c-0.329 0.329-764.404 764.404-764.404 764.404-21.206 21.206-56.166 21.206-77.427 0s-21.206-56.166 0-77.427l69.865-69.865c-98.304-84.605-180.169-186.635-243.842-303.46-8.548-15.781-8.877-34.576-1.041-50.686 2.411-4.767 59.618-118.14 166.799-232.171 145.209-154.799 312.995-236.664 485.602-236.664 115.784 2.027 224.664 34.905 318.858 96.222l80.112-80.167c10.63-10.63 24.658-16.11 38.686-16.11s28.11 5.48 38.686 16.11c21.918 21.206 21.918 56.166 0.329 77.427l-112.222 112.387zM559.604 497.303l138.689-138.689c-10.959-3.781-22.576-5.48-34.576-5.48-60.276 0-109.592 49.316-109.592 109.592 0 12 2.082 23.617 5.48 34.576zM667.826 83.264c-142.47 0-278.090 67.454-403.408 199.677-68.495 72.605-115.072 146.25-136.661 183.567 56.166 96.934 127.072 181.484 210.636 252.39l139.73-139.73c-21.59-34.576-33.535-75.016-33.535-116.441 0-120.88 98.304-219.184 219.184-219.184 41.426 0 81.865 12 116.441 33.535l127.401-127.401c-72.276-42.138-154.141-65.098-239.732-66.413h-0.055z" />
39
  <glyph unicode="&#xe908;" glyph-name="brush-alt" horiz-adv-x="1022" d="M384 192c0 70.752-57.376 128-128 128-70.752 0-128-57.248-128-128v-0.256c0-94.624-51.488-177.12-128-221.376l0.512-0.384c37.504-21.6 80.992-33.984 127.488-33.984 141.376 0 256 114.624 256 256v0zM986.432 922.496c-49.984 49.984-131.008 49.984-180.992 0l-483.936-484c88.256-23.616 157.504-92.736 180.992-181.12l483.936 484.128c50.016 49.984 50.016 131.008 0 180.992z" />
40
  <glyph unicode="&#xe909;" glyph-name="hub-shop" d="M960 64h-64v128c0 35.328-28.608 64-64 64s-64-28.672-64-64v-128h-512v128c0 35.328-28.608 64-64 64s-64-28.672-64-64v-128h-64c-35.392 0-64-28.672-64-64s28.608-64 64-64h896c35.392 0 64 28.672 64 64s-28.608 64-64 64zM960 960h-896c-35.392 0-64-28.672-64-64v-384c0-70.656 57.28-128 128-128s128 57.344 128 128c0-70.656 57.344-128 128-128s128 57.344 128 128c0-70.656 57.344-128 128-128s128 57.344 128 128c0-70.656 57.344-128 128-128s128 57.344 128 128v384c0 35.328-28.608 64-64 64z" />
46
  <glyph unicode="&#xe90f;" glyph-name="plug" d="M902.254 728.131l-131.542-131.148-109.502 109.814 131.192 131.148c27.988 27.978 27.988 73.093 0 101.071s-73.118 27.978-101.106 0l-131.192-131.148-48.629 48.612c-13.294 13.29-56.325 39.169-101.106 0l-204.31-204.24c-123.146-123.104-138.539-314.404-45.48-454.295l-139.589-139.891c-27.988-27.978-27.988-73.093 0-101.071s73.118-27.978 101.106 0l139.589 139.541c58.774-39.169 127.344-60.153 199.412-60.153 96.208 0 186.818 37.421 255.038 105.617l204.31 204.24c27.988 27.978 27.988 73.093 0 101.071l-48.629 48.612 131.192 131.148c27.988 27.978 27.988 73.093 0 101.071-27.638 27.978-73.118 27.978-100.756 0zM615.030 243.060c-41.282-41.268-95.858-63.65-153.932-63.65s-113 22.732-153.932 63.65c-85.013 84.984-85.013 223.126 0 307.76l153.932 153.88 307.865-307.76-153.932-153.88z" />
47
  <glyph unicode="&#xe910;" glyph-name="thumbs-down" horiz-adv-x="1331" d="M412.315-64c8.546 0 16.807 2.772 23.683 7.85l4.879 4.234 291.482 295.12c51.953 52.589 83.037 124.85 86.515 200.040l0.327 14.128v203.96c0 160.839-122.726 292.419-275.741 298.452l-10.98 0.216h-259.080c-42.524 0-82.188-20.541-107.778-55.362l-5.264-7.678-133.159-222.668c-17.56-27.376-27.199-59.040-27.199-90.416 0-25.074 2.054-53.867 16.13-81.321l5.862-10.223 18.962-31.792v-12.584c0-90.801 68.502-165.326 154.483-170.393l9.277-0.275 154.241-0.040 5.76-9.832-75.559-153.624c-8.321-17.168-12.641-36.168-12.641-55.208 0-64.768 48.492-117.979 109.636-122.301l8.044-0.283h18.121zM1208.32 294.4c65.050 0 118.45 51.592 122.618 116.606l0.262 8.194v416c0 66.066-50.798 120.301-114.812 124.534l-8.068 0.266h-163.841c-65.050 0-118.45-51.592-122.618-116.606l-0.262-8.194v-416c0-66.066 50.798-120.301 114.812-124.534l8.068-0.266h163.841zM1196.372 396.8h-129.708c-16.517 0-30.172 12.58-32.175 28.807l-0.253 4.127v380.532c0 16.775 12.387 30.643 28.364 32.678l4.064 0.257h129.708c16.517 0 30.172-12.58 32.175-28.807l0.253-4.127v-380.532c0-16.775-12.387-30.643-28.364-32.678l-4.064-0.257zM399.379 40.527c-18.489 0-30.002 5.142-30.002 24.86 0 3.679 0.533 7.359 1.577 10.838l1.947 5.041 72.492 151.578c13.273 27.602 15.188 68.124 0 94.562-13.886 24.274-49.81 35.842-76.017 38.259l-7.213 0.336-144.599 0.038c-40.073 0.036-73.112 32.996-76.479 74.862l-0.283 7.056v23.762c0 5.731-1.118 11.372-3.274 16.567l-2.5 5.033-24.188 41.522c-6.188 9.961-8.438 22.28-8.438 43.599 0 11.434 3.255 23.811 9.288 35.513l3.949 6.927 124.875 213.799c7.645 12.217 20.631 20.603 35.113 22.509l6.287 0.412h242.885c102.652 0 186.758-86.395 191.761-194.593l0.243-10.205v-195.805c0-51.072-18.267-100.902-50.481-138.44l-7.68-8.44-259.262-269.59z" />
48
  <glyph unicode="&#xe911;" glyph-name="thumbs-up" horiz-adv-x="1331" d="M918.885 960c-8.546 0-16.807-2.772-23.683-7.85l-4.879-4.234-291.482-295.12c-51.953-52.589-83.037-124.85-86.515-200.040l-0.327-14.128v-203.96c0-160.839 122.726-292.419 275.741-298.452l10.98-0.216h259.080c42.524 0 82.188 20.541 107.778 55.362l5.264 7.678 133.159 222.668c17.56 27.376 27.199 59.040 27.199 90.416 0 25.074-2.054 53.867-16.13 81.321l-5.862 10.223-18.962 31.792v12.584c0 90.801-68.502 165.326-154.483 170.393l-9.277 0.275-154.241 0.040-5.76 9.832 75.559 153.624c8.321 17.168 12.641 36.168 12.641 55.208 0 64.768-48.492 117.979-109.636 122.301l-8.044 0.283h-18.121zM122.88 601.6c-65.050 0-118.45-51.592-122.618-116.606l-0.262-8.194v-416c0-66.066 50.798-120.301 114.812-124.534l8.068-0.266h163.841c65.050 0 118.45 51.592 122.618 116.606l0.262 8.194v416c0 66.066-50.798 120.301-114.812 124.534l-8.068 0.266h-163.841zM134.828 499.2h129.708c16.517 0 30.172-12.58 32.175-28.807l0.253-4.127v-380.532c0-16.775-12.387-30.643-28.364-32.678l-4.064-0.257h-129.708c-16.517 0-30.172 12.58-32.175 28.807l-0.253 4.127v380.532c0 16.775 12.387 30.643 28.364 32.678l4.064 0.257zM931.821 855.473c18.489 0 30.002-5.142 30.002-24.86 0-3.679-0.533-7.359-1.577-10.838l-1.947-5.041-72.492-151.578c-13.273-27.602-15.188-68.124 0-94.563 13.886-24.274 49.81-35.842 76.017-38.259l7.213-0.336 144.599-0.038c40.073-0.036 73.112-32.996 76.479-74.862l0.283-7.056v-23.762c0-5.731 1.118-11.372 3.274-16.567l2.5-5.033 24.188-41.522c6.188-9.961 8.438-22.28 8.438-43.599 0-11.434-3.255-23.811-9.288-35.513l-3.949-6.927-124.875-213.799c-7.645-12.217-20.631-20.603-35.113-22.509l-6.287-0.412h-242.885c-102.652 0-186.758 86.395-191.761 194.593l-0.243 10.205v195.805c0 51.072 18.267 100.902 50.481 138.44l7.68 8.44 259.262 269.59z" />
49
+ <glyph unicode="&#xe912;" glyph-name="unlock" horiz-adv-x="740" d="M643.294 519.901h-15.252v186.965c0 139.59-115.864 253.134-258.264 253.134s-258.264-113.545-258.264-253.134v-14.325c0-38.125 31.536-69.035 70.434-69.035s70.434 30.912 70.434 69.035v14.325c0 63.44 52.672 115.063 117.397 115.063s117.395-51.623 117.395-115.063v-186.965h-390.911c-53.17 0-96.262-42.237-96.262-94.352v-395.199c0-52.114 43.091-94.35 96.262-94.35h547.032c53.17 0 96.262 42.235 96.262 94.35v395.202c0 52.112-43.091 94.35-96.262 94.35z" />
50
+ <glyph unicode="&#xe913;" glyph-name="lock" horiz-adv-x="740" d="M643.294 519.901h-15.252v186.965c0 139.59-115.864 253.134-258.264 253.134s-258.264-113.545-258.264-253.134v-14.325c0-38.125-38.897-386.596 0-386.596 13.343 0 130.232-59.095 140.867 0 20.367 113.173 0 361.551 0 386.596v14.325c0 63.44 52.672 115.063 117.397 115.063s117.395-51.623 117.395-115.063v-186.965h-390.911c-53.17 0-96.262-42.237-96.262-94.352v-395.199c0-52.114 43.091-94.35 96.262-94.35h547.032c53.17 0 96.262 42.235 96.262 94.35v395.202c0 52.112-43.091 94.35-96.262 94.35z" />
51
  <glyph unicode="&#x1f41e;" glyph-name="bug" horiz-adv-x="951" d="M932.571 402.286q0-14.857-10.857-25.714t-25.714-10.857h-128q0-97.714-38.286-165.714l118.857-119.429q10.857-10.857 10.857-25.714t-10.857-25.714q-10.286-10.857-25.714-10.857t-25.714 10.857l-113.143 112.571q-2.857-2.857-8.571-7.429t-24-16.286-37.143-20.857-46.857-16.571-55.429-7.429v512h-73.143v-512q-29.143 0-58 7.714t-49.714 18.857-37.714 22.286-24.857 18.571l-8.571 8-104.571-118.286q-11.429-12-27.429-12-13.714 0-24.571 9.143-10.857 10.286-11.714 25.429t8.857 26.571l115.429 129.714q-33.143 65.143-33.143 156.571h-128q-14.857 0-25.714 10.857t-10.857 25.714 10.857 25.714 25.714 10.857h128v168l-98.857 98.857q-10.857 10.857-10.857 25.714t10.857 25.714 25.714 10.857 25.714-10.857l98.857-98.857h482.286l98.857 98.857q10.857 10.857 25.714 10.857t25.714-10.857 10.857-25.714-10.857-25.714l-98.857-98.857v-168h128q14.857 0 25.714-10.857t10.857-25.714zM658.286 731.428h-365.714q0 76 53.429 129.429t129.429 53.429 129.429-53.429 53.429-129.429z" />
52
  <glyph unicode="&#x1f4bb;" glyph-name="tablet-landscape" d="M32 960v-1024M64 960v-1024M96 960v-1024M128 960v-1024M160 960v-1024M192 960v-1024M224 960v-1024M256 960v-1024M288 960v-1024M320 960v-1024M352 960v-1024M384 960v-1024M416 960v-1024M448 960v-1024M480 960v-1024M512 960v-1024M544 960v-1024M576 960v-1024M608 960v-1024M640 960v-1024M672 960v-1024M704 960v-1024M736 960v-1024M768 960v-1024M800 960v-1024M832 960v-1024M864 960v-1024M896 960v-1024M928 960v-1024M960 960v-1024M992 960v-1024M0 928h1024M0 896h1024M0 864h1024M0 832h1024M0 800h1024M0 768h1024M0 736h1024M0 704h1024M0 672h1024M0 640h1024M0 608h1024M0 576h1024M0 544h1024M0 512h1024M0 480h1024M0 448h1024M0 416h1024M0 384h1024M0 352h1024M0 320h1024M0 288h1024M0 256h1024M0 224h1024M0 192h1024M0 160h1024M0 128h1024M0 96h1024M0 64h1024M0 32h1024M0 0h1024M0-32h1024M351 105h505.988c22.112 0 40.012 17.908 40.012 39.998v600.003c0 22.072-17.914 39.998-40.012 39.998h-505.988v-680zM251 105v680h-83.988c-22.112 0-40.012-17.908-40.012-39.998v-600.003c0-22.072 17.914-39.998 40.012-39.998h83.988zM937.009 885c33.132 0 59.991-26.877 59.991-60.010v-759.98c0-33.143-26.86-60.010-59.991-60.010h-850.017c-33.132 0-59.991 26.877-59.991 60.010v759.98c0 33.143 26.86 60.010 59.991 60.010h850.017z" />
53
  <glyph unicode="&#x1f4f0;" glyph-name="template" d="M861.584 928h-696c-39.743 0-73.583-38.232-73.583-78.001v-258.001h840v258.001c0 39.768-30.624 78.001-70.417 78.001zM836 688.001h-648.001v98.257c0 30.6 27.456 45.744 58.032 45.744h535.128c30.577 0 54.84-15.144 54.84-45.744v-98.257zM162.392-32h696c39.768 0 73.608 38.232 73.608 78.001v450h-840v-450c0-39.768 30.6-78.001 70.393-78.001zM188 400h648.001v-290.256c0-30.6-27.48-45.744-58.056-45.744h-535.128c-30.577 0-54.816 15.144-54.816 45.744v290.256z" />
public/dist/fonts/VC-Icons.ttf CHANGED
Binary file
public/dist/fonts/VC-Icons.woff CHANGED
Binary file
public/dist/front.bundle.js CHANGED
@@ -1 +1 @@
1
- !function(e){var o={};function s(t){if(t=function(e){var o={"./node_modules/react/react.js":"./node_modules/react/index.js","./node_modules/babel-runtime/helpers/extends.js":"./node_modules/@babel/runtime/helpers/extends.js","./node_modules/babel-runtime/helpers/classCallCheck.js":"./node_modules/@babel/runtime/helpers/classCallCheck.js","./node_modules/babel-runtime/helpers/possibleConstructorReturn.js":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","./node_modules/babel-runtime/helpers/createClass.js":"./node_modules/@babel/runtime/helpers/createClass.js","./node_modules/babel-runtime/helpers/inherits.js":"./node_modules/@babel/runtime/helpers/inherits.js","./node_modules/babel-runtime/helpers/typeof.js":"./node_modules/@babel/runtime/helpers/typeof.js","./node_modules/babel-runtime/helpers/get.js":"./node_modules/@babel/runtime/helpers/get.js","./node_modules/babel-runtime/helpers/slicedToArray.js":"./node_modules/@babel/runtime/helpers/slicedToArray.js","./node_modules/babel-runtime/core-js.js":"./node_modules/core-js/index.js","./node_modules/core-js/library/index.js":"./node_modules/core-js/index.js","./node_modules/babel-runtime/core-js/symbol.js":"./node_modules/core-js/es/symbol/index.js","./node_modules/core-js/fn/symbol/index.js":"./node_modules/core-js/es/symbol/index.js","./node_modules/babel-runtime/core-js/iterator.js":"./node_modules/core-js/es/symbol/iterator.js","./node_modules/core-js/fn/symbol/iterator.js":"./node_modules/core-js/es/symbol/iterator.js","./node_modules/babel-runtime/core-js/object/set-prototype-of.js":"./node_modules/core-js/es/object/set-prototype-of.js","./node_modules/core-js/fn/object/set-prototype-of.js":"./node_modules/core-js/es/object/set-prototype-of.js","./node_modules/babel-runtime/core-js/object/get-prototype-of.js":"./node_modules/core-js/es/object/get-prototype-of.js","./node_modules/core-js/fn/object/get-prototype-of.js":"./node_modules/core-js/es/object/get-prototype-of.js","./node_modules/babel-runtime/core-js/object/define-property.js":"./node_modules/core-js/es/object/define-property.js","./node_modules/core-js/fn/object/define-property.js":"./node_modules/core-js/es/object/define-property.js","./node_modules/babel-runtime/core-js/object/create.js":"./node_modules/core-js/es/object/create.js","./node_modules/core-js/fn/object/create.js":"./node_modules/core-js/es/object/create.js","./node_modules/babel-runtime/core-js/object/assign.js":"./node_modules/core-js/es/object/assign.js","./node_modules/core-js/fn/object/assign.js":"./node_modules/core-js/es/object/assign.js","./node_modules/babel-runtime/core-js/object/keys.js":"./node_modules/core-js/es/object/keys.js","./node_modules/core-js/fn/object/keys.js":"./node_modules/core-js/es/object/keys.js","./node_modules/babel-runtime/core-js/json/stringify.js":"./node_modules/core-js/es/json/stringify.js","./node_modules/core-js/fn/json/stringify.js":"./node_modules/core-js/es/json/stringify.js","./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js":"./node_modules/core-js/es/object/get-own-property-descriptor.js","./node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js":"./node_modules/core-js/es/object/get-own-property-descriptor.js","./node_modules/babel-runtime/node_modules/core-js/library/fn/object/get-own-property-descriptor.js":"./node_modules/core-js/es/object/get-own-property-descriptor.js","./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js":"./node_modules/core-js/es/object/get-own-property-descriptor.js","./node_modules/babel-runtime/core-js/object/values.js":"./node_modules/core-js/es/object/values.js","./node_modules/core-js/fn/object/values.js":"./node_modules/core-js/es/object/values.js","./node_modules/babel-runtime/node_modules/core-js/library/modules/_core.js":"./node_modules/core-js/index.js","./node_modules/core-js/library/modules/_core.js":"./node_modules/core-js/index.js","./node_modules/babel-runtime/node_modules/core-js/library/fn/json/stringify.js":"./node_modules/core-js/es/json/stringify.js","./node_modules/babel-runtime/node_modules/core-js/library/fn/object/values.js":"./node_modules/core-js/es/object/values.js","./node_modules/core-js/library/fn/object/values.js":"./node_modules/core-js/es/object/values.js","./node_modules/babel-runtime/node_modules/core-js/library/modules/web.dom.iterable.js":"./node_modules/core-js/modules/web.dom-collections.iterator.js","./node_modules/core-js/library/modules/web.dom.iterable.js":"./node_modules/core-js/modules/web.dom-collections.iterator.js","./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.string.iterator.js":"./node_modules/core-js/modules/es.string.iterator.js","./node_modules/core-js/library/modules/es6.string.iterator.js":"./node_modules/core-js/modules/es.string.iterator.js","./node_modules/babel-runtime/node_modules/core-js/library/modules/core.is-iterable.js":"./node_modules/core-js/internals/is-iterable.js","./node_modules/core-js/library/modules/core.is-iterable.js":"./node_modules/core-js/internals/is-iterable.js","./node_modules/babel-runtime/node_modules/core-js/library/modules/es7.object.values.js":"./node_modules/core-js/modules/es.object.values.js","./node_modules/core-js/library/modules/es7.object.values.js":"./node_modules/core-js/modules/es.object.values.js","./node_modules/babel-runtime/node_modules/core-js/library/fn/get-iterator.js":"./node_modules/core-js/internals/get-iterator.js","./node_modules/core-js/library/fn/get-iterator.js":"./node_modules/core-js/internals/get-iterator.js","./node_modules/babel-runtime/node_modules/core-js/library/fn/is-iterable.js":"./node_modules/core-js/internals/is-iterable.js","./node_modules/babel-runtime/core-js/get-iterator.js":"./node_modules/core-js/internals/get-iterator.js","./node_modules/babel-runtime/core-js/is-iterable.js":"./node_modules/core-js/internals/is-iterable.js","./node_modules/core-js/library/fn/object/get-own-property-descriptor.js":"./node_modules/core-js/es/object/get-own-property-descriptor.js"};return e&&void 0!==o[e]?e=o[e]:e&&e.indexOf&&-1!==e.indexOf("babel-runtime/helpers/")?e=e.replace("babel-runtime/helpers/","@babel/runtime/helpers/"):e&&e.indexOf&&-1!==e.indexOf("babel-runtime/core-js/object/")&&(e=e.replace("babel-runtime/core-js/object/","core-js/fn/object/")),e}(t),o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.m=e,s.c=o,s.d=function(e,o,t){s.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:t})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,o){if(1&o&&(e=s(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(s.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)s.d(t,n,function(o){return e[o]}.bind(null,n));return t},s.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(o,"a",o),o},s.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},s.p=".",s(s.s="./public/frontView.js")}({"./node_modules/d/index.js":function(e,o,s){"use strict";var t=s("./node_modules/type/value/is.js"),n=s("./node_modules/type/plain-function/is.js"),r=s("./node_modules/es5-ext/object/assign/index.js"),l=s("./node_modules/es5-ext/object/normalize-options.js"),i=s("./node_modules/es5-ext/string/#/contains/index.js");(e.exports=function(e,o){var s,n,u,c,d;return arguments.length<2||"string"!=typeof e?(c=o,o=e,e=null):c=arguments[2],t(e)?(s=i.call(e,"c"),n=i.call(e,"e"),u=i.call(e,"w")):(s=u=!0,n=!1),d={value:o,configurable:s,enumerable:n,writable:u},c?r(l(c),d):d}).gs=function(e,o,s){var u,c,d,j;return"string"!=typeof e?(d=s,s=o,o=e,e=null):d=arguments[3],t(o)?n(o)?t(s)?n(s)||(d=s,s=void 0):s=void 0:(d=o,o=s=void 0):o=void 0,t(e)?(u=i.call(e,"c"),c=i.call(e,"e")):(u=!0,c=!1),j={get:o,set:s,configurable:u,enumerable:c},d?r(l(d),j):j}},"./node_modules/es5-ext/function/noop.js":function(e,o,s){"use strict";e.exports=function(){}},"./node_modules/es5-ext/object/assign/index.js":function(e,o,s){"use strict";e.exports=s("./node_modules/es5-ext/object/assign/is-implemented.js")()?Object.assign:s("./node_modules/es5-ext/object/assign/shim.js")},"./node_modules/es5-ext/object/assign/is-implemented.js":function(e,o,s){"use strict";e.exports=function(){var e,o=Object.assign;return"function"==typeof o&&(o(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},"./node_modules/es5-ext/object/assign/shim.js":function(e,o,s){"use strict";var t=s("./node_modules/es5-ext/object/keys/index.js"),n=s("./node_modules/es5-ext/object/valid-value.js"),r=Math.max;e.exports=function(e,o){var s,l,i,u=r(arguments.length,2);for(e=Object(n(e)),i=function(t){try{e[t]=o[t]}catch(n){s||(s=n)}},l=1;l<u;++l)o=arguments[l],t(o).forEach(i);if(void 0!==s)throw s;return e}},"./node_modules/es5-ext/object/is-value.js":function(e,o,s){"use strict";var t=s("./node_modules/es5-ext/function/noop.js")();e.exports=function(e){return e!==t&&null!==e}},"./node_modules/es5-ext/object/keys/index.js":function(e,o,s){"use strict";e.exports=s("./node_modules/es5-ext/object/keys/is-implemented.js")()?Object.keys:s("./node_modules/es5-ext/object/keys/shim.js")},"./node_modules/es5-ext/object/keys/is-implemented.js":function(e,o,s){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},"./node_modules/es5-ext/object/keys/shim.js":function(e,o,s){"use strict";var t=s("./node_modules/es5-ext/object/is-value.js"),n=Object.keys;e.exports=function(e){return n(t(e)?Object(e):e)}},"./node_modules/es5-ext/object/normalize-options.js":function(e,o,s){"use strict";var t=s("./node_modules/es5-ext/object/is-value.js"),n=Array.prototype.forEach,r=Object.create,l=function(e,o){var s;for(s in e)o[s]=e[s]};e.exports=function(e){var o=r(null);return n.call(arguments,(function(e){t(e)&&l(Object(e),o)})),o}},"./node_modules/es5-ext/object/valid-callable.js":function(e,o,s){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},"./node_modules/es5-ext/object/valid-value.js":function(e,o,s){"use strict";var t=s("./node_modules/es5-ext/object/is-value.js");e.exports=function(e){if(!t(e))throw new TypeError("Cannot use null or undefined");return e}},"./node_modules/es5-ext/string/#/contains/index.js":function(e,o,s){"use strict";e.exports=s("./node_modules/es5-ext/string/#/contains/is-implemented.js")()?String.prototype.contains:s("./node_modules/es5-ext/string/#/contains/shim.js")},"./node_modules/es5-ext/string/#/contains/is-implemented.js":function(e,o,s){"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&(!0===t.contains("dwa")&&!1===t.contains("foo"))}},"./node_modules/es5-ext/string/#/contains/shim.js":function(e,o,s){"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},"./node_modules/event-emitter/index.js":function(e,o,s){"use strict";var t,n,r,l,i,u,c,d=s("./node_modules/d/index.js"),j=s("./node_modules/es5-ext/object/valid-callable.js"),a=Function.prototype.apply,m=Function.prototype.call,b=Object.create,p=Object.defineProperty,f=Object.defineProperties,_=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};n=function(e,o){var s,n;return j(o),n=this,t.call(this,e,s=function(){r.call(n,e,s),a.call(o,this,arguments)}),s.__eeOnceListener__=o,this},i={on:t=function(e,o){var s;return j(o),_.call(this,"__ee__")?s=this.__ee__:(s=y.value=b(null),p(this,"__ee__",y),y.value=null),s[e]?"object"==typeof s[e]?s[e].push(o):s[e]=[s[e],o]:s[e]=o,this},once:n,off:r=function(e,o){var s,t,n,r;if(j(o),!_.call(this,"__ee__"))return this;if(!(s=this.__ee__)[e])return this;if("object"==typeof(t=s[e]))for(r=0;n=t[r];++r)n!==o&&n.__eeOnceListener__!==o||(2===t.length?s[e]=t[r?0:1]:t.splice(r,1));else t!==o&&t.__eeOnceListener__!==o||delete s[e];return this},emit:l=function(e){var o,s,t,n,r;if(_.call(this,"__ee__")&&(n=this.__ee__[e]))if("object"==typeof n){for(s=arguments.length,r=new Array(s-1),o=1;o<s;++o)r[o-1]=arguments[o];for(n=n.slice(),o=0;t=n[o];++o)a.call(t,this,r)}else switch(arguments.length){case 1:m.call(n,this);break;case 2:m.call(n,this,arguments[1]);break;case 3:m.call(n,this,arguments[1],arguments[2]);break;default:for(s=arguments.length,r=new Array(s-1),o=1;o<s;++o)r[o-1]=arguments[o];a.call(n,this,r)}}},u={on:d(t),once:d(n),off:d(r),emit:d(l)},c=f({},u),e.exports=o=function(e){return null==e?b(c):f(Object(e),u)},o.methods=i},"./node_modules/type/function/is.js":function(e,o,s){"use strict";var t=s("./node_modules/type/prototype/is.js");e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(o){return!1}return!t(e)}},"./node_modules/type/object/is.js":function(e,o,s){"use strict";var t=s("./node_modules/type/value/is.js"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!t(e)&&hasOwnProperty.call(n,typeof e)}},"./node_modules/type/plain-function/is.js":function(e,o,s){"use strict";var t=s("./node_modules/type/function/is.js"),n=/^\s*class[\s{/}]/,r=Function.prototype.toString;e.exports=function(e){return!!t(e)&&!n.test(r.call(e))}},"./node_modules/type/prototype/is.js":function(e,o,s){"use strict";var t=s("./node_modules/type/object/is.js");e.exports=function(e){if(!t(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(o){return!1}}},"./node_modules/type/value/is.js":function(e,o,s){"use strict";e.exports=function(e){return null!=e}},"./public/components/api/publicAPI.js":function(e,o,s){"use strict";var t=s("./node_modules/event-emitter/index.js"),n=function(){};s.n(t)()(n.prototype);var r=new n;o.a={on:function(e,o){r.on("vcv:api:"+e,o)},once:function(e,o){r.once("vcv:api:"+e,o)},off:function(e,o){r.off("vcv:api:"+e,o)},trigger:function(e){var o=Array.prototype.slice.call(arguments,1);r.emit.apply(r,["vcv:api:".concat(e)].concat(o))},ready:function(e){this.once("ready",e)}}},"./public/components/polyfills/index.js":function(e,o){var s;"function"!=typeof(s=window.Element.prototype).matches&&(s.matches=s.msMatchesSelector||s.mozMatchesSelector||s.webkitMatchesSelector||function(e){for(var o=(this.document||this.ownerDocument).querySelectorAll(e),s=0;o[s]&&o[s]!==this;)++s;return Boolean(o[s])}),"function"!=typeof s.closest&&(s.closest=function(e){for(var o=this;o&&1===o.nodeType;){if(o.matches(e))return o;o=o.parentNode}return null})},"./public/frontView.js":function(e,o,s){"use strict";s.r(o);s("./public/components/polyfills/index.js");var t=s("./public/components/api/publicAPI.js");s("./public/sources/less/front/init.less");Object.prototype.hasOwnProperty.call(window,"vcv")||Object.defineProperty(window,"vcv",{value:t.a,writable:!1,configurable:!1,enumerable:!1}),window.jQuery(document).ready((function(){window.vcv.trigger("ready")}),!1)},"./public/sources/less/front/init.less":function(e,o){}});
1
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([["front"],{"./node_modules/d/index.js":function(e,t,n){"use strict";var o=n("./node_modules/type/value/is.js"),s=n("./node_modules/type/plain-function/is.js"),i=n("./node_modules/es5-ext/object/assign/index.js"),r=n("./node_modules/es5-ext/object/normalize-options.js"),c=n("./node_modules/es5-ext/string/#/contains/index.js");(e.exports=function(e,t){var n,s,u,l,a;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],o(e)?(n=c.call(e,"c"),s=c.call(e,"e"),u=c.call(e,"w")):(n=u=!0,s=!1),a={value:t,configurable:n,enumerable:s,writable:u},l?i(r(l),a):a}).gs=function(e,t,n){var u,l,a,d;return"string"!=typeof e?(a=n,n=t,t=e,e=null):a=arguments[3],o(t)?s(t)?o(n)?s(n)||(a=n,n=void 0):n=void 0:(a=t,t=n=void 0):t=void 0,o(e)?(u=c.call(e,"c"),l=c.call(e,"e")):(u=!0,l=!1),d={get:t,set:n,configurable:u,enumerable:l},a?i(r(a),d):d}},"./node_modules/es5-ext/function/noop.js":function(e,t,n){"use strict";e.exports=function(){}},"./node_modules/es5-ext/object/assign/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/es5-ext/object/assign/is-implemented.js")()?Object.assign:n("./node_modules/es5-ext/object/assign/shim.js")},"./node_modules/es5-ext/object/assign/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},"./node_modules/es5-ext/object/assign/shim.js":function(e,t,n){"use strict";var o=n("./node_modules/es5-ext/object/keys/index.js"),s=n("./node_modules/es5-ext/object/valid-value.js"),i=Math.max;e.exports=function(e,t){var n,r,c,u=i(arguments.length,2);for(e=Object(s(e)),c=function(o){try{e[o]=t[o]}catch(s){n||(n=s)}},r=1;r<u;++r)t=arguments[r],o(t).forEach(c);if(void 0!==n)throw n;return e}},"./node_modules/es5-ext/object/is-value.js":function(e,t,n){"use strict";var o=n("./node_modules/es5-ext/function/noop.js")();e.exports=function(e){return e!==o&&null!==e}},"./node_modules/es5-ext/object/keys/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/es5-ext/object/keys/is-implemented.js")()?Object.keys:n("./node_modules/es5-ext/object/keys/shim.js")},"./node_modules/es5-ext/object/keys/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},"./node_modules/es5-ext/object/keys/shim.js":function(e,t,n){"use strict";var o=n("./node_modules/es5-ext/object/is-value.js"),s=Object.keys;e.exports=function(e){return s(o(e)?Object(e):e)}},"./node_modules/es5-ext/object/normalize-options.js":function(e,t,n){"use strict";var o=n("./node_modules/es5-ext/object/is-value.js"),s=Array.prototype.forEach,i=Object.create,r=function(e,t){var n;for(n in e)t[n]=e[n]};e.exports=function(e){var t=i(null);return s.call(arguments,(function(e){o(e)&&r(Object(e),t)})),t}},"./node_modules/es5-ext/object/valid-callable.js":function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},"./node_modules/es5-ext/object/valid-value.js":function(e,t,n){"use strict";var o=n("./node_modules/es5-ext/object/is-value.js");e.exports=function(e){if(!o(e))throw new TypeError("Cannot use null or undefined");return e}},"./node_modules/es5-ext/string/#/contains/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/es5-ext/string/#/contains/is-implemented.js")()?String.prototype.contains:n("./node_modules/es5-ext/string/#/contains/shim.js")},"./node_modules/es5-ext/string/#/contains/is-implemented.js":function(e,t,n){"use strict";var o="razdwatrzy";e.exports=function(){return"function"==typeof o.contains&&(!0===o.contains("dwa")&&!1===o.contains("foo"))}},"./node_modules/es5-ext/string/#/contains/shim.js":function(e,t,n){"use strict";var o=String.prototype.indexOf;e.exports=function(e){return o.call(this,e,arguments[1])>-1}},"./node_modules/event-emitter/index.js":function(e,t,n){"use strict";var o,s,i,r,c,u,l,a=n("./node_modules/d/index.js"),d=n("./node_modules/es5-ext/object/valid-callable.js"),f=Function.prototype.apply,p=Function.prototype.call,j=Object.create,m=Object.defineProperty,_=Object.defineProperties,y=Object.prototype.hasOwnProperty,b={configurable:!0,enumerable:!1,writable:!0};s=function(e,t){var n,s;return d(t),s=this,o.call(this,e,n=function(){i.call(s,e,n),f.call(t,this,arguments)}),n.__eeOnceListener__=t,this},c={on:o=function(e,t){var n;return d(t),y.call(this,"__ee__")?n=this.__ee__:(n=b.value=j(null),m(this,"__ee__",b),b.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:s,off:i=function(e,t){var n,o,s,i;if(d(t),!y.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(o=n[e]))for(i=0;s=o[i];++i)s!==t&&s.__eeOnceListener__!==t||(2===o.length?n[e]=o[i?0:1]:o.splice(i,1));else o!==t&&o.__eeOnceListener__!==t||delete n[e];return this},emit:r=function(e){var t,n,o,s,i;if(y.call(this,"__ee__")&&(s=this.__ee__[e]))if("object"==typeof s){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(s=s.slice(),t=0;o=s[t];++t)f.call(o,this,i)}else switch(arguments.length){case 1:p.call(s,this);break;case 2:p.call(s,this,arguments[1]);break;case 3:p.call(s,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];f.call(s,this,i)}}},u={on:a(o),once:a(s),off:a(i),emit:a(r)},l=_({},u),e.exports=t=function(e){return null==e?j(l):_(Object(e),u)},t.methods=c},"./node_modules/type/function/is.js":function(e,t,n){"use strict";var o=n("./node_modules/type/prototype/is.js");e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(t){return!1}return!o(e)}},"./node_modules/type/object/is.js":function(e,t,n){"use strict";var o=n("./node_modules/type/value/is.js"),s={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!o(e)&&hasOwnProperty.call(s,typeof e)}},"./node_modules/type/plain-function/is.js":function(e,t,n){"use strict";var o=n("./node_modules/type/function/is.js"),s=/^\s*class[\s{/}]/,i=Function.prototype.toString;e.exports=function(e){return!!o(e)&&!s.test(i.call(e))}},"./node_modules/type/prototype/is.js":function(e,t,n){"use strict";var o=n("./node_modules/type/object/is.js");e.exports=function(e){if(!o(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}},"./node_modules/type/value/is.js":function(e,t,n){"use strict";e.exports=function(e){return null!=e}},"./public/components/api/publicAPI.js":function(e,t,n){"use strict";var o=n("./node_modules/event-emitter/index.js"),s=function(){};n.n(o)()(s.prototype);var i=new s;t.a={on:function(e,t){i.on("vcv:api:"+e,t)},once:function(e,t){i.once("vcv:api:"+e,t)},off:function(e,t){i.off("vcv:api:"+e,t)},trigger:function(e){var t=Array.prototype.slice.call(arguments,1);i.emit.apply(i,["vcv:api:".concat(e)].concat(t))},ready:function(e){this.once("ready",e)}}},"./public/components/polyfills/index.js":function(e,t){var n;"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof n.closest&&(n.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},"./public/frontView.js":function(e,t,n){"use strict";n.r(t);n("./public/components/polyfills/index.js");var o=n("./public/components/api/publicAPI.js");n("./public/sources/less/front/init.less");Object.prototype.hasOwnProperty.call(window,"vcv")||Object.defineProperty(window,"vcv",{value:o.a,writable:!1,configurable:!1,enumerable:!1}),window.jQuery(document).ready((function(){window.vcv.trigger("ready")}),!1)},"./public/sources/less/front/init.less":function(e,t){}},[["./public/frontView.js","runtime"]]]);
public/dist/hub.bundle.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /*! For license information please see hub.bundle.js.LICENSE */
2
+ (window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([["hub"],{"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e){if(Array.isArray(e))return r(e)}},"./node_modules/@babel/runtime/helpers/iterableToArray.js":function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},"./node_modules/@babel/runtime/helpers/nonIterableSpread.js":function(e,t){e.exports=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.")}},"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");e.exports=function(e,t){if(null==e)return{};var n,i,a=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":function(e,t){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}},"./node_modules/@babel/runtime/helpers/toConsumableArray.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),i=n("./node_modules/@babel/runtime/helpers/iterableToArray.js"),a=n("./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),s=n("./node_modules/@babel/runtime/helpers/nonIterableSpread.js");e.exports=function(e){return r(e)||i(e)||a(e)||s()}},"./node_modules/@csstools/sass-import-resolve/index.js":function(e,t,n){"use strict";(function(r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=Object.assign({cache:{},cwd:r.cwd(),readFile:!1},t);(function(e){return/^\//.test(e)})(e)&&(n.cwd="");var i=(0,a.join)(n.cwd,e),c=(0,a.basename)(i),u=(0,a.dirname)(i),d=[];(function(e){return/\.s[ac]ss$/i.test(e)})(c)||l(c)?(d.push(s(i,n)),o(c)||d.push(s((0,a.join)(u,"_"+c),n))):(d.push(s((0,a.join)(u,c+".scss"),n),s((0,a.join)(u,c+".sass"),n),s((0,a.join)(u,c+".css"),n)),o(c)||d.push(s((0,a.join)(u,"_"+c+".scss"),n),s((0,a.join)(u,"_"+c+".sass"),n),s((0,a.join)(u,"_"+c+".css"),n)));return Promise.all(d).then((function(e){return e.filter((function(e){return e}))})).then((function(e){if(1===e.length)return e[0];if(e.length>1)throw new Error("It's not clear which file to import");if(!l(c))throw new Error("File to import not found or unreadable")}))};var i=n("./node_modules/node-libs-browser/mock/empty.js"),a=n("./node_modules/path-browserify/index.js");function s(e,t){return t.cache[e]=t.cache[e]||new Promise((function(n){t.readFile?(0,i.readFile)(e,"utf8",(function(t,r){n(!t&&{file:e,contents:r})})):(0,i.stat)(e,(function(t,r){t||!r.isFile()?n(!1):n({file:e})}))})),t.cache[e]}function o(e){return/^_/.test(e)}function l(e){return/\.css$/i.test(e)}e.exports=t.default}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/add-px-to-style/index.js":function(e,t){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!=typeof t||n[e]?t:t+"px"}},"./node_modules/asn1.js/lib/asn1.js":function(e,t,n){var r=t;r.bignum=n("./node_modules/bn.js/lib/bn.js"),r.define=n("./node_modules/asn1.js/lib/asn1/api.js").define,r.base=n("./node_modules/asn1.js/lib/asn1/base/index.js"),r.constants=n("./node_modules/asn1.js/lib/asn1/constants/index.js"),r.decoders=n("./node_modules/asn1.js/lib/asn1/decoders/index.js"),r.encoders=n("./node_modules/asn1.js/lib/asn1/encoders/index.js")},"./node_modules/asn1.js/lib/asn1/api.js":function(e,t,n){var r=n("./node_modules/asn1.js/lib/asn1.js"),i=n("./node_modules/inherits/inherits_browser.js");function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){var t;try{t=n("./node_modules/vm-browserify/index.js").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(r){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r.decoders[e])),this.decoders[e]},a.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r.encoders[e])),this.encoders[e]},a.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},"./node_modules/asn1.js/lib/asn1/base/buffer.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/asn1.js/lib/asn1/base/index.js").Reporter,a=n("./node_modules/buffer/index.js").Buffer;function s(e,t){i.call(this,t),a.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function o(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof o||(e=new o(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(s,i),t.DecoderBuffer=s,s.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},s.prototype.restore=function(e){var t=new s(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},s.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new s(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},s.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=o,o.prototype.join=function(e,t){return e||(e=new a(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):a.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},"./node_modules/asn1.js/lib/asn1/base/index.js":function(e,t,n){var r=t;r.Reporter=n("./node_modules/asn1.js/lib/asn1/base/reporter.js").Reporter,r.DecoderBuffer=n("./node_modules/asn1.js/lib/asn1/base/buffer.js").DecoderBuffer,r.EncoderBuffer=n("./node_modules/asn1.js/lib/asn1/base/buffer.js").EncoderBuffer,r.Node=n("./node_modules/asn1.js/lib/asn1/base/node.js")},"./node_modules/asn1.js/lib/asn1/base/node.js":function(e,t,n){var r=n("./node_modules/asn1.js/lib/asn1/base/index.js").Reporter,i=n("./node_modules/asn1.js/lib/asn1/base/index.js").EncoderBuffer,a=n("./node_modules/asn1.js/lib/asn1/base/index.js").DecoderBuffer,s=n("./node_modules/minimalistic-assert/index.js"),o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);function c(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=c;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var e=this._baseState,t={};u.forEach((function(n){t[n]=e[n]}));var n=new this.constructor(t.parent);return n._baseState=t,n},c.prototype._wrap=function(){var e=this._baseState;l.forEach((function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},c.prototype._init=function(e){var t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){var t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(s(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);var r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){c.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),o.forEach((function(e){c.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(n),this}})),c.prototype.use=function(e){s(e);var t=this._baseState;return s(null===t.use),t.use=e,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(e){var t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},c.prototype.explicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},c.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},c.prototype.key=function(e){var t=this._baseState;return s(null===t.key),t.key=e,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(e){var t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},c.prototype.contains=function(e){var t=this._baseState;return s(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var r,i=n.default,s=!0,o=null;if(null!==n.key&&(o=e.enterKey(n.key)),n.optional){var l=null;if(null!==n.explicit?l=n.explicit:null!==n.implicit?l=n.implicit:null!==n.tag&&(l=n.tag),null!==l||n.any){if(s=this._peekTag(e,l,n.any),e.isError(s))return s}else{var c=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),s=!0}catch(p){s=!1}e.restore(c)}}if(n.obj&&s&&(r=e.enterObject()),s){if(null!==n.explicit){var u=this._decodeTag(e,n.explicit);if(e.isError(u))return u;e=u}var d=e.offset;if(null===n.use&&null===n.choice){if(n.any)c=e.save();var f=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(f))return f;n.any?i=e.raw(c):e=f}if(t&&t.track&&null!==n.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),i=n.any?i:null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var h=new a(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(h,t)}}return n.obj&&s&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==s?null!==o&&e.exitKey(o):e.leaveKey(o,n.key,i),i},c.prototype._decodeGeneric=function(e,t,n){var r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),s(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},c.prototype._decodeChoice=function(e,t){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some((function(a){var s=e.save(),o=n.choice[a];try{var l=o._decode(e,t);if(e.isError(l))return!1;r={type:a,value:l},i=!0}catch(c){return e.restore(s),!1}return!0}),this),i?r:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},c.prototype._encode=function(e,t,n){var r=this._baseState;if(null===r.default||r.default!==e){var i=this._encodeValue(e,t,n);if(void 0!==i&&!this._skipDefault(i,t,n))return i}},c.prototype._encodeValue=function(e,t,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);var a=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var s=null,o=!1;if(i.any)a=this._createEncoderBuffer(e);else if(i.choice)a=this._encodeChoice(e,t);else if(i.contains)s=this._getUse(i.contains,n)._encode(e,t),o=!0;else if(i.children)s=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(n){var r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),l))}else null!==i.use?a=this._getUse(i.use,n)._encode(e,t):(s=this._encodePrimitive(i.tag,e),o=!0);if(!i.any&&null===i.choice){var c=null!==i.implicit?i.implicit:i.tag,u=null===i.implicit?"universal":"context";null===c?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(a=this._encodeComposite(c,o,u,s))}return null!==i.explicit&&(a=this._encodeComposite(i.explicit,!1,"context",a)),a},c.prototype._encodeChoice=function(e,t){var n=this._baseState,r=n.choice[e.type];return r||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},c.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},c.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},"./node_modules/asn1.js/lib/asn1/base/reporter.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js");function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function a(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof a},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){var t,n=this._reporterState,r=e instanceof a;if(t=r?e:new a(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(a,Error),a.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},"./node_modules/asn1.js/lib/asn1/constants/der.js":function(e,t,n){var r=n("./node_modules/asn1.js/lib/asn1/constants/index.js");t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=r._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=r._reverse(t.tag)},"./node_modules/asn1.js/lib/asn1/constants/index.js":function(e,t,n){var r=t;r._reverse=function(e){var t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);var r=e[n];t[r]=n})),t},r.der=n("./node_modules/asn1.js/lib/asn1/constants/der.js")},"./node_modules/asn1.js/lib/asn1/decoders/der.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/asn1.js/lib/asn1.js"),a=i.base,s=i.bignum,o=i.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){a.Node.call(this,"der",e)}function u(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var r=o.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){var a=n;for(n=0;128==(128&a);){if(a=e.readUInt8(t),e.isError(a))return a;n<<=7,n|=127&a}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:o.tag[n]}}function d(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var a=0;a<i;a++){r<<=8;var s=e.readUInt8(n);if(e.isError(s))return s;r|=s}return r}e.exports=l,l.prototype.decode=function(e,t){return e instanceof a.DecoderBuffer||(e=new a.DecoderBuffer(e,t)),this.tree._decode(e,t)},r(c,a.Node),c.prototype._peekTag=function(e,t,n){if(e.isEmpty())return!1;var r=e.save(),i=u(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||n)},c.prototype._decodeTag=function(e,t,n){var r=u(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;var i=d(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!n&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var a=e.save(),s=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(s)?s:(i=e.offset-a.offset,e.restore(a),e.skip(i,'Failed to match body of: "'+t+'"'))},c.prototype._skipUntilEnd=function(e,t){for(;;){var n=u(e,t);if(e.isError(n))return n;var r,i=d(e,n.primitive,t);if(e.isError(i))return i;if(r=n.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(r))return r;if("end"===n.tagStr)break}},c.prototype._decodeList=function(e,t,n,r){for(var i=[];!e.isEmpty();){var a=this._peekTag(e,"end");if(e.isError(a))return a;var s=n.decode(e,"der",r);if(e.isError(s)&&a)break;i.push(s)}return i},c.prototype._decodeStr=function(e,t){if("bitstr"===t){var n=e.readUInt8();return e.isError(n)?n:{unused:n,data:e.raw()}}if("bmpstr"===t){var r=e.raw();if(r.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",a=0;a<r.length/2;a++)i+=String.fromCharCode(r.readUInt16BE(2*a));return i}if("numstr"===t){var s=e.raw().toString("ascii");return this._isNumstr(s)?s:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var o=e.raw().toString("ascii");return this._isPrintstr(o)?o:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},c.prototype._decodeObjid=function(e,t,n){for(var r,i=[],a=0;!e.isEmpty();){var s=e.readUInt8();a<<=7,a|=127&s,0==(128&s)&&(i.push(a),a=0)}128&s&&i.push(a);var o=i[0]/40|0,l=i[0]%40;if(r=n?i:[o,l].concat(i.slice(1)),t){var c=t[r.join(" ")];void 0===c&&(c=t[r.join(".")]),void 0!==c&&(r=c)}return r},c.prototype._decodeTime=function(e,t){var n=e.raw().toString();if("gentime"===t)var r=0|n.slice(0,4),i=0|n.slice(4,6),a=0|n.slice(6,8),s=0|n.slice(8,10),o=0|n.slice(10,12),l=0|n.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),a=0|n.slice(4,6),s=0|n.slice(6,8),o=0|n.slice(8,10),l=0|n.slice(10,12);r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,a,s,o,l,0)},c.prototype._decodeNull=function(e){return null},c.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},c.prototype._decodeInt=function(e,t){var n=e.raw(),r=new s(n);return t&&(r=t[r.toString(10)]||r),r},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},"./node_modules/asn1.js/lib/asn1/decoders/index.js":function(e,t,n){var r=t;r.der=n("./node_modules/asn1.js/lib/asn1/decoders/der.js"),r.pem=n("./node_modules/asn1.js/lib/asn1/decoders/pem.js")},"./node_modules/asn1.js/lib/asn1/decoders/pem.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/buffer/index.js").Buffer,a=n("./node_modules/asn1.js/lib/asn1/decoders/der.js");function s(e){a.call(this,e),this.enc="pem"}r(s,a),e.exports=s,s.prototype.decode=function(e,t){for(var n=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,o=-1,l=-1,c=0;c<n.length;c++){var u=n[c].match(s);if(null!==u&&u[2]===r){if(-1!==o){if("END"!==u[1])break;l=c;break}if("BEGIN"!==u[1])break;o=c}}if(-1===o||-1===l)throw new Error("PEM section not found for: "+r);var d=n.slice(o+1,l).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var f=new i(d,"base64");return a.prototype.decode.call(this,f,t)}},"./node_modules/asn1.js/lib/asn1/encoders/der.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/buffer/index.js").Buffer,a=n("./node_modules/asn1.js/lib/asn1.js"),s=a.base,o=a.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){s.Node.call(this,"der",e)}function u(e){return e<10?"0"+e:e}e.exports=l,l.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(c,s.Node),c.prototype._encodeComposite=function(e,t,n,r){var a,s=function(e,t,n,r){var i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(o.tagByName.hasOwnProperty(e))i=o.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}if(i>=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=o.tagClassByName[n||"universal"]<<6}(e,t,n,this.reporter);if(r.length<128)return(a=new i(2))[0]=s,a[1]=r.length,this._createEncoderBuffer([a,r]);for(var l=1,c=r.length;c>=256;c>>=8)l++;(a=new i(2+l))[0]=s,a[1]=128|l;c=1+l;for(var u=r.length;u>0;c--,u>>=8)a[c]=255&u;return this._createEncoderBuffer([a,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new i(2*e.length),r=0;r<e.length;r++)n.writeUInt16BE(e.charCodeAt(r),2*r);return this._createEncoderBuffer(n)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},c.prototype._encodeObjid=function(e,t,n){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var r=0;r<e.length;r++)e[r]|=0}else if(Array.isArray(e)){e=e.slice();for(r=0;r<e.length;r++)e[r]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var a=0;for(r=0;r<e.length;r++){var s=e[r];for(a++;s>=128;s>>=7)a++}var o=new i(a),l=o.length-1;for(r=e.length-1;r>=0;r--){s=e[r];for(o[l--]=127&s;(s>>=7)>0;)o[l--]=128|127&s}return this._createEncoderBuffer(o)},c.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[u(r.getFullYear()),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(r.getFullYear()%100),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new i(n)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var a=new i(r);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);r=1;for(var s=e;s>=256;s>>=8)r++;for(s=(a=new Array(r)).length-1;s>=0;s--)a[s]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new i(a))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,n){var r,i=this._baseState;if(null===i.default)return!1;var a=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,n).join()),a.length!==i.defaultBuffer.length)return!1;for(r=0;r<a.length;r++)if(a[r]!==i.defaultBuffer[r])return!1;return!0}},"./node_modules/asn1.js/lib/asn1/encoders/index.js":function(e,t,n){var r=t;r.der=n("./node_modules/asn1.js/lib/asn1/encoders/der.js"),r.pem=n("./node_modules/asn1.js/lib/asn1/encoders/pem.js")},"./node_modules/asn1.js/lib/asn1/encoders/pem.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/asn1.js/lib/asn1/encoders/der.js");function a(e){i.call(this,e),this.enc="pem"}r(a,i),e.exports=a,a.prototype.encode=function(e,t){for(var n=i.prototype.encode.call(this,e).toString("base64"),r=["-----BEGIN "+t.label+"-----"],a=0;a<n.length;a+=64)r.push(n.slice(a,a+64));return r.push("-----END "+t.label+"-----"),r.join("\n")}},"./node_modules/brorand/index.js":function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n<t.length;n++)t[n]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=n(9);if("function"!=typeof a.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return a.randomBytes(e)}}catch(s){}},"./node_modules/browserify-aes/aes.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i<t;i++)n[i]=e.readUInt32BE(4*i);return n}function a(e){for(;0<e.length;e++)e[0]=0}function s(e,t,n,r,i){for(var a,s,o,l,c=n[0],u=n[1],d=n[2],f=n[3],h=e[0]^t[0],p=e[1]^t[1],m=e[2]^t[2],b=e[3]^t[3],v=4,g=1;g<i;g++)a=c[h>>>24]^u[p>>>16&255]^d[m>>>8&255]^f[255&b]^t[v++],s=c[p>>>24]^u[m>>>16&255]^d[b>>>8&255]^f[255&h]^t[v++],o=c[m>>>24]^u[b>>>16&255]^d[h>>>8&255]^f[255&p]^t[v++],l=c[b>>>24]^u[h>>>16&255]^d[p>>>8&255]^f[255&m]^t[v++],h=a,p=s,m=o,b=l;return a=(r[h>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&b])^t[v++],s=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[b>>>8&255]<<8|r[255&h])^t[v++],o=(r[m>>>24]<<24|r[b>>>16&255]<<16|r[h>>>8&255]<<8|r[255&p])^t[v++],l=(r[b>>>24]<<24|r[h>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[v++],[a>>>=0,s>>>=0,o>>>=0,l>>>=0]}var o=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],a=[[],[],[],[]],s=0,o=0,l=0;l<256;++l){var c=o^o<<1^o<<2^o<<3^o<<4;c=c>>>8^255&c^99,n[s]=c,r[c]=s;var u=e[s],d=e[u],f=e[d],h=257*e[c]^16843008*c;i[0][s]=h<<24|h>>>8,i[1][s]=h<<16|h>>>16,i[2][s]=h<<8|h>>>24,i[3][s]=h,h=16843009*f^65537*d^257*u^16843008*s,a[0][c]=h<<24|h>>>8,a[1][c]=h<<16|h>>>16,a[2][c]=h<<8|h>>>24,a[3][c]=h,0===s?s=o=1:(s=u^e[e[e[f^u]]],o^=e[e[o]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:a}}();function c(e){this._key=i(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],a=0;a<t;a++)i[a]=e[a];for(a=t;a<r;a++){var s=i[a-1];a%t==0?(s=s<<8|s>>>24,s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s],s^=o[a/t|0]<<24):t>6&&a%t==4&&(s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s]),i[a]=i[a-t]^s}for(var c=[],u=0;u<r;u++){var d=r-u,f=i[d-(u%4?0:4)];c[u]=u<4||d<=4?f:l.INV_SUB_MIX[0][l.SBOX[f>>>24]]^l.INV_SUB_MIX[1][l.SBOX[f>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[f>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return s(e=i(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},c.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=s(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),a=r.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a},c.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=c},"./node_modules/browserify-aes/authCipher.js":function(e,t,n){var r=n("./node_modules/browserify-aes/aes.js"),i=n("./node_modules/safe-buffer/index.js").Buffer,a=n("./node_modules/cipher-base/index.js"),s=n("./node_modules/inherits/inherits_browser.js"),o=n("./node_modules/browserify-aes/ghash.js"),l=n("./node_modules/buffer-xor/index.js"),c=n("./node_modules/browserify-aes/incr32.js");function u(e,t,n,s){a.call(this);var l=i.alloc(4,0);this._cipher=new r.AES(t);var u=this._cipher.encryptBlock(l);this._ghash=new o(u),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new o(n),a=t.length,s=a%16;r.update(t),s&&(s=16-s,r.update(i.alloc(s,0))),r.update(i.alloc(8,0));var l=8*a,u=i.alloc(8);u.writeUIntBE(l,0,8),r.update(u),e._finID=r.state;var d=i.from(e._finID);return c(d),d}(this,n,u),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}s(u,a),u.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},u.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i<r;++i)n+=e[i]^t[i];return n}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},u.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},u.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},u.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=u},"./node_modules/browserify-aes/browser.js":function(e,t,n){var r=n("./node_modules/browserify-aes/encrypter.js"),i=n("./node_modules/browserify-aes/decrypter.js"),a=n("./node_modules/browserify-aes/modes/list.json");t.createCipher=t.Cipher=r.createCipher,t.createCipheriv=t.Cipheriv=r.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(a)}},"./node_modules/browserify-aes/decrypter.js":function(e,t,n){var r=n("./node_modules/browserify-aes/authCipher.js"),i=n("./node_modules/safe-buffer/index.js").Buffer,a=n("./node_modules/browserify-aes/modes/index.js"),s=n("./node_modules/browserify-aes/streamCipher.js"),o=n("./node_modules/cipher-base/index.js"),l=n("./node_modules/browserify-aes/aes.js"),c=n("./node_modules/evp_bytestokey/index.js");function u(e,t,n){o.call(this),this._cache=new d,this._last=void 0,this._cipher=new l.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}function d(){this.cache=i.allocUnsafe(0)}function f(e,t,n){var o=a[e.toLowerCase()];if(!o)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==o.mode&&n.length!==o.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=i.from(t)),t.length!==o.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===o.type?new s(o.module,t,n,!0):"auth"===o.type?new r(o.module,t,n,!0):new u(o.module,t,n)}n("./node_modules/inherits/inherits_browser.js")(u,o),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var n=-1;for(;++n<t;)if(e[n+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=i.concat([this.cache,e])},d.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=a[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=c(t,!1,n.key,n.iv);return f(e,r.key,r.iv)},t.createDecipheriv=f},"./node_modules/browserify-aes/encrypter.js":function(e,t,n){var r=n("./node_modules/browserify-aes/modes/index.js"),i=n("./node_modules/browserify-aes/authCipher.js"),a=n("./node_modules/safe-buffer/index.js").Buffer,s=n("./node_modules/browserify-aes/streamCipher.js"),o=n("./node_modules/cipher-base/index.js"),l=n("./node_modules/browserify-aes/aes.js"),c=n("./node_modules/evp_bytestokey/index.js");function u(e,t,n){o.call(this),this._cache=new f,this._cipher=new l.AES(t),this._prev=a.from(n),this._mode=e,this._autopadding=!0}n("./node_modules/inherits/inherits_browser.js")(u,o),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return a.concat(r)};var d=a.alloc(16,16);function f(){this.cache=a.allocUnsafe(0)}function h(e,t,n){var o=r[e.toLowerCase()];if(!o)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=a.from(t)),t.length!==o.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=a.from(n)),"GCM"!==o.mode&&n.length!==o.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===o.type?new s(o.module,t,n):"auth"===o.type?new i(o.module,t,n):new u(o.module,t,n)}u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=a.concat([this.cache,e])},f.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},f.prototype.flush=function(){for(var e=16-this.cache.length,t=a.allocUnsafe(e),n=-1;++n<e;)t.writeUInt8(e,n);return a.concat([this.cache,t])},t.createCipheriv=h,t.createCipher=function(e,t){var n=r[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=c(t,!1,n.key,n.iv);return h(e,i.key,i.iv)}},"./node_modules/browserify-aes/ghash.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer,i=r.alloc(16,0);function a(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},s.prototype._multiply=function(){for(var e,t,n,r=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],s=-1;++s<128;){for(0!=(this.state[~~(s/8)]&1<<7-s%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),t=3;t>0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=a(i)},s.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=s},"./node_modules/browserify-aes/incr32.js":function(e,t){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},"./node_modules/browserify-aes/modes/cbc.js":function(e,t,n){var r=n("./node_modules/buffer-xor/index.js");t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},"./node_modules/browserify-aes/modes/cfb.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer,i=n("./node_modules/buffer-xor/index.js");function a(e,t,n){var a=t.length,s=i(t,e._cache);return e._cache=e._cache.slice(a),e._prev=r.concat([e._prev,n?t:s]),s}t.encrypt=function(e,t,n){for(var i,s=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){s=r.concat([s,a(e,t,n)]);break}i=e._cache.length,s=r.concat([s,a(e,t.slice(0,i),n)]),t=t.slice(i)}return s}},"./node_modules/browserify-aes/modes/cfb1.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer;function i(e,t,n){for(var r,i,s=-1,o=0;++s<8;)r=t&1<<7-s?128:0,o+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>s%8,e._prev=a(e._prev,n?r:i);return o}function a(e,t){var n=e.length,i=-1,a=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i<n;)a[i]=e[i]<<1|e[i+1]>>7;return a}t.encrypt=function(e,t,n){for(var a=t.length,s=r.allocUnsafe(a),o=-1;++o<a;)s[o]=i(e,t[o],n);return s}},"./node_modules/browserify-aes/modes/cfb8.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer;function i(e,t,n){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:i])]),i}t.encrypt=function(e,t,n){for(var a=t.length,s=r.allocUnsafe(a),o=-1;++o<a;)s[o]=i(e,t[o],n);return s}},"./node_modules/browserify-aes/modes/ctr.js":function(e,t,n){var r=n("./node_modules/buffer-xor/index.js"),i=n("./node_modules/safe-buffer/index.js").Buffer,a=n("./node_modules/browserify-aes/incr32.js");function s(e){var t=e._cipher.encryptBlockRaw(e._prev);return a(e._prev),t}t.encrypt=function(e,t){var n=Math.ceil(t.length/16),a=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*n)]);for(var o=0;o<n;o++){var l=s(e),c=a+16*o;e._cache.writeUInt32BE(l[0],c+0),e._cache.writeUInt32BE(l[1],c+4),e._cache.writeUInt32BE(l[2],c+8),e._cache.writeUInt32BE(l[3],c+12)}var u=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,u)}},"./node_modules/browserify-aes/modes/ecb.js":function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},"./node_modules/browserify-aes/modes/index.js":function(e,t,n){var r={ECB:n("./node_modules/browserify-aes/modes/ecb.js"),CBC:n("./node_modules/browserify-aes/modes/cbc.js"),CFB:n("./node_modules/browserify-aes/modes/cfb.js"),CFB8:n("./node_modules/browserify-aes/modes/cfb8.js"),CFB1:n("./node_modules/browserify-aes/modes/cfb1.js"),OFB:n("./node_modules/browserify-aes/modes/ofb.js"),CTR:n("./node_modules/browserify-aes/modes/ctr.js"),GCM:n("./node_modules/browserify-aes/modes/ctr.js")},i=n("./node_modules/browserify-aes/modes/list.json");for(var a in i)i[a].module=r[i[a].mode];e.exports=i},"./node_modules/browserify-aes/modes/list.json":function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},"./node_modules/browserify-aes/modes/ofb.js":function(e,t,n){(function(e){var r=n("./node_modules/buffer-xor/index.js");function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,n){for(;t._cache.length<n.length;)t._cache=e.concat([t._cache,i(t)]);var a=t._cache.slice(0,n.length);return t._cache=t._cache.slice(n.length),r(n,a)}}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/browserify-aes/streamCipher.js":function(e,t,n){var r=n("./node_modules/browserify-aes/aes.js"),i=n("./node_modules/safe-buffer/index.js").Buffer,a=n("./node_modules/cipher-base/index.js");function s(e,t,n,s){a.call(this),this._cipher=new r.AES(t),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._mode=e}n("./node_modules/inherits/inherits_browser.js")(s,a),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},e.exports=s},"./node_modules/browserify-cipher/browser.js":function(e,t,n){var r=n("./node_modules/browserify-des/index.js"),i=n("./node_modules/browserify-aes/browser.js"),a=n("./node_modules/browserify-aes/modes/index.js"),s=n("./node_modules/browserify-des/modes.js"),o=n("./node_modules/evp_bytestokey/index.js");function l(e,t,n){if(e=e.toLowerCase(),a[e])return i.createCipheriv(e,t,n);if(s[e])return new r({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function c(e,t,n){if(e=e.toLowerCase(),a[e])return i.createDecipheriv(e,t,n);if(s[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),a[e])n=a[e].key,r=a[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");n=8*s[e].key,r=s[e].iv}var i=o(t,!1,n,r);return l(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=l,t.createDecipher=t.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),a[e])n=a[e].key,r=a[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");n=8*s[e].key,r=s[e].iv}var i=o(t,!1,n,r);return c(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=c,t.listCiphers=t.getCiphers=function(){return Object.keys(s).concat(i.getCiphers())}},"./node_modules/browserify-des/index.js":function(e,t,n){var r=n("./node_modules/cipher-base/index.js"),i=n("./node_modules/des.js/lib/des.js"),a=n("./node_modules/inherits/inherits_browser.js"),s=n("./node_modules/safe-buffer/index.js").Buffer,o={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function l(e){r.call(this);var t,n=e.mode.toLowerCase(),i=o[n];t=e.decrypt?"decrypt":"encrypt";var a=e.key;s.isBuffer(a)||(a=s.from(a)),"des-ede"!==n&&"des-ede-cbc"!==n||(a=s.concat([a,a.slice(0,8)]));var l=e.iv;s.isBuffer(l)||(l=s.from(l)),this._des=i.create({key:a,iv:l,type:t})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],e.exports=l,a(l,r),l.prototype._update=function(e){return s.from(this._des.update(e))},l.prototype._final=function(){return s.from(this._des.final())}},"./node_modules/browserify-des/modes.js":function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},"./node_modules/browserify-rsa/index.js":function(e,t,n){(function(t){var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/randombytes/browser.js");function a(e,n){var i=function(e){var t=s(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(n),a=n.modulus.byteLength(),o=(r.mont(n.modulus),new r(e).mul(i.blinder).umod(n.modulus)),l=o.toRed(r.mont(n.prime1)),c=o.toRed(r.mont(n.prime2)),u=n.coefficient,d=n.prime1,f=n.prime2,h=l.redPow(n.exponent1),p=c.redPow(n.exponent2);h=h.fromRed(),p=p.fromRed();var m=h.isub(p).imul(u).umod(d);return m.imul(f),p.iadd(m),new t(p.imul(i.unblinder).umod(n.modulus).toArray(!1,a))}function s(e){for(var t=e.modulus.byteLength(),n=new r(i(t));n.cmp(e.modulus)>=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new r(i(t));return n}e.exports=a,a.getr=s}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/browserify-sign/algos.js":function(e,t,n){e.exports=n("./node_modules/browserify-sign/browser/algorithms.json")},"./node_modules/browserify-sign/browser/algorithms.json":function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},"./node_modules/browserify-sign/browser/curves.json":function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},"./node_modules/browserify-sign/browser/index.js":function(e,t,n){var r=n("./node_modules/buffer/index.js").Buffer,i=n("./node_modules/create-hash/browser.js"),a=n("./node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js"),s=n("./node_modules/inherits/inherits_browser.js"),o=n("./node_modules/browserify-sign/browser/sign.js"),l=n("./node_modules/browserify-sign/browser/verify.js"),c=n("./node_modules/browserify-sign/browser/algorithms.json");function u(e){a.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){a.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){return new u(e)}function h(e){return new d(e)}Object.keys(c).forEach((function(e){c[e].id=r.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),s(u,a.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},u.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=o(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},s(d,a.Writable),d.prototype._write=function(e,t,n){this._hash.update(e),n()},d.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},d.prototype.verify=function(e,t,n){"string"==typeof t&&(t=r.from(t,n)),this.end();var i=this._hash.digest();return l(t,i,e,this._signType,this._tag)},e.exports={Sign:f,Verify:h,createSign:f,createVerify:h}},"./node_modules/browserify-sign/browser/sign.js":function(e,t,n){var r=n("./node_modules/buffer/index.js").Buffer,i=n("./node_modules/create-hmac/browser.js"),a=n("./node_modules/browserify-rsa/index.js"),s=n("./node_modules/elliptic/lib/elliptic.js").ec,o=n("./node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"),l=n("./node_modules/parse-asn1/index.js"),c=n("./node_modules/browserify-sign/browser/curves.json");function u(e,t,n,a){if((e=r.from(e.toArray())).length<t.byteLength()){var s=r.alloc(t.byteLength()-e.length);e=r.concat([s,e])}var o=n.length,l=function(e,t){e=(e=d(e,t)).mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var i=r.alloc(t.byteLength()-n.length);n=r.concat([i,n])}return n}(n,t),c=r.alloc(o);c.fill(1);var u=r.alloc(o);return u=i(a,u).update(c).update(r.from([0])).update(e).update(l).digest(),c=i(a,u).update(c).digest(),{k:u=i(a,u).update(c).update(r.from([1])).update(e).update(l).digest(),v:c=i(a,u).update(c).digest()}}function d(e,t){var n=new o(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function f(e,t,n){var a,s;do{for(a=r.alloc(0);8*a.length<e.bitLength();)t.v=i(n,t.k).update(t.v).digest(),a=r.concat([a,t.v]);s=d(a,e),t.k=i(n,t.k).update(t.v).update(r.from([0])).digest(),t.v=i(n,t.k).update(t.v).digest()}while(-1!==s.cmp(e));return s}function h(e,t,n,r){return e.toRed(o.mont(n)).redPow(t).fromRed().mod(r)}e.exports=function(e,t,n,i,p){var m=l(t);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(e,t){var n=c[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var i=new s(n).keyFromPrivate(t.privateKey).sign(e);return r.from(i.toDER())}(e,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(e,t,n){var i,a=t.params.priv_key,s=t.params.p,l=t.params.q,c=t.params.g,p=new o(0),m=d(e,l).mod(l),b=!1,v=u(a,l,e,n);for(;!1===b;)i=f(l,v,n),p=h(c,i,s,l),0===(b=i.invm(l).imul(m.add(a.mul(p))).mod(l)).cmpn(0)&&(b=!1,p=new o(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e));128&t[0]&&(t=[0].concat(t));var n=[48,e.length+t.length+4,2,e.length];return n=n.concat(e,[2,t.length],t),r.from(n)}(p,b)}(e,m,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");e=r.concat([p,e]);for(var b=m.modulus.byteLength(),v=[0,1];e.length+v.length+1<b;)v.push(255);v.push(0);for(var g=-1;++g<e.length;)v.push(e[g]);return a(v,m)},e.exports.getKey=u,e.exports.makeKey=f},"./node_modules/browserify-sign/browser/verify.js":function(e,t,n){var r=n("./node_modules/buffer/index.js").Buffer,i=n("./node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"),a=n("./node_modules/elliptic/lib/elliptic.js").ec,s=n("./node_modules/parse-asn1/index.js"),o=n("./node_modules/browserify-sign/browser/curves.json");function l(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,t,n,c,u){var d=s(n);if("ec"===d.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,n){var r=o[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new a(r),s=n.data.subjectPrivateKey.data;return i.verify(t,e,s)}(e,t,d)}if("dsa"===d.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,a=n.data.q,o=n.data.g,c=n.data.pub_key,u=s.signature.decode(e,"der"),d=u.s,f=u.r;l(d,a),l(f,a);var h=i.mont(r),p=d.invm(a);return 0===o.toRed(h).redPow(new i(t).mul(p).mod(a)).fromRed().mul(c.toRed(h).redPow(f.mul(p).mod(a)).fromRed()).mod(r).mod(a).cmp(f)}(e,t,d)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=r.concat([u,t]);for(var f=d.modulus.byteLength(),h=[1],p=0;t.length+h.length+2<f;)h.push(255),p++;h.push(0);for(var m=-1;++m<t.length;)h.push(t[m]);h=r.from(h);var b=i.mont(d.modulus);e=(e=new i(e).toRed(b)).redPow(new i(d.publicExponent)),e=r.from(e.fromRed().toArray());var v=p<8?1:0;for(f=Math.min(e.length,h.length),e.length!==h.length&&(v=1),m=-1;++m<f;)v|=e[m]^h[m];return 0===v}},"./node_modules/browserify-sign/node_modules/bn.js/lib/bn.js":function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function a(e,t,n){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{s=n(12).Buffer}catch(j){}function o(e,t,n){for(var i=0,a=Math.min(e.length,n),s=0,o=t;o<a;o++){var l,c=e.charCodeAt(o)-48;i<<=4,i|=l=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,s|=l}return r(!(240&s),"Invalid character in "+e),i}function l(e,t,n,i){for(var a=0,s=0,o=Math.min(e.length,n),l=t;l<o;l++){var c=e.charCodeAt(l)-48;a*=i,s=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&s<i,"Invalid character"),a+=s}return a}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function u(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,s,o=0;if("be"===n)for(i=e.length-1,a=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=s<<o&67108863,this.words[a+1]=s>>>26-o&67108863,(o+=24)>=26&&(o-=26,a++);else if("le"===n)for(i=0,a=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=s<<o&67108863,this.words[a+1]=s>>>26-o&67108863,(o+=24)>=26&&(o-=26,a++);return this._strip()},a.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,a=0;for(n=e.length-6,r=0;n>=t;n-=6)i=o(e,n,n+6),this.words[r]|=i<<a&67108863,this.words[r+1]|=i>>>26-a&4194303,(a+=24)>=26&&(a-=26,r++);n+6!==t&&(i=o(e,t,n+6),this.words[r]|=i<<a&67108863,this.words[r+1]|=i>>>26-a&4194303),this._strip()},a.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var a=e.length-n,s=a%r,o=Math.min(a,a-s)+n,c=0,u=n;u<o;u+=r)c=l(e,u,u+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==s){var d=1;for(c=l(e,u,e.length,t),u=0;u<s;u++)d*=t;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype._move=function(e){c(e,this)},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?a.prototype[Symbol.for("nodejs.util.inspect.custom")]=u:a.prototype.inspect=u;var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,a=0,s=0;s<this.length;s++){var o=this.words[s],l=(16777215&(o<<i|a)).toString(16);n=0!==(a=o>>>24-i&16777215)||s!==this.length-1?d[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,s--)}for(0!==a&&(n=a.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=f[e],u=h[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(u).toString(e);n=(p=p.idivn(u)).isZero()?m+n:d[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16,2)},s&&(a.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],a=0|t.words[0],s=i*a,o=67108863&s,l=s/67108864|0;n.words[0]=o;for(var c=1;c<r;c++){for(var u=l>>>26,d=67108863&l,f=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=f;h++){var p=c-h|0;u+=(s=(i=0|e.words[p])*(a=0|t.words[h])+d)/67108864|0,d=67108863&s}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n._strip()}a.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),a=n||Math.max(1,i);r(i<=a,"byte array longer than desired length"),r(a>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,a);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,i),s},a.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,a=0;i<this.length;i++){var s=this.words[i]<<a|r;e[n++]=255&s,n<e.length&&(e[n++]=s>>8&255),n<e.length&&(e[n++]=s>>16&255),6===a?(n<e.length&&(e[n++]=s>>24&255),r=0,a=0):(r=s>>>24,a+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},a.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,a=0;i<this.length;i++){var s=this.words[i]<<a|r;e[n--]=255&s,n>=0&&(e[n--]=s>>8&255),n>=0&&(e[n--]=s>>16&255),6===a?(n>=0&&(e[n--]=s>>24&255),r=0,a=0):(r=s>>>24,a+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},a.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},a.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},a.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},a.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,a=0;a<r.length;a++)t=(0|n.words[a])+(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<n.length;a++)t=(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var a=0,s=0;s<r.length;s++)a=(t=(0|n.words[s])-(0|r.words[s])+a)>>26,this.words[s]=67108863&t;for(;0!==a&&s<n.length;s++)a=(t=(0|n.words[s])+a)>>26,this.words[s]=67108863&t;if(0===a&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,a,s=e.words,o=t.words,l=n.words,c=0,u=0|s[0],d=8191&u,f=u>>>13,h=0|s[1],p=8191&h,m=h>>>13,b=0|s[2],v=8191&b,g=b>>>13,y=0|s[3],w=8191&y,C=y>>>13,_=0|s[4],S=8191&_,x=_>>>13,k=0|s[5],T=8191&k,j=k>>>13,M=0|s[6],E=8191&M,A=M>>>13,L=0|s[7],P=8191&L,O=L>>>13,I=0|s[8],B=8191&I,D=I>>>13,R=0|s[9],N=8191&R,H=R>>>13,G=0|o[0],F=8191&G,V=G>>>13,U=0|o[1],z=8191&U,W=U>>>13,q=0|o[2],K=8191&q,Z=q>>>13,X=0|o[3],$=8191&X,J=X>>>13,Y=0|o[4],Q=8191&Y,ee=Y>>>13,te=0|o[5],ne=8191&te,re=te>>>13,ie=0|o[6],ae=8191&ie,se=ie>>>13,oe=0|o[7],le=8191&oe,ce=oe>>>13,ue=0|o[8],de=8191&ue,fe=ue>>>13,he=0|o[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(c+(r=Math.imul(d,F))|0)+((8191&(i=(i=Math.imul(d,V))+Math.imul(f,F)|0))<<13)|0;c=((a=Math.imul(f,V))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(p,F),i=(i=Math.imul(p,V))+Math.imul(m,F)|0,a=Math.imul(m,V);var ve=(c+(r=r+Math.imul(d,z)|0)|0)+((8191&(i=(i=i+Math.imul(d,W)|0)+Math.imul(f,z)|0))<<13)|0;c=((a=a+Math.imul(f,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,F),i=(i=Math.imul(v,V))+Math.imul(g,F)|0,a=Math.imul(g,V),r=r+Math.imul(p,z)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,z)|0,a=a+Math.imul(m,W)|0;var ge=(c+(r=r+Math.imul(d,K)|0)|0)+((8191&(i=(i=i+Math.imul(d,Z)|0)+Math.imul(f,K)|0))<<13)|0;c=((a=a+Math.imul(f,Z)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(w,F),i=(i=Math.imul(w,V))+Math.imul(C,F)|0,a=Math.imul(C,V),r=r+Math.imul(v,z)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(g,z)|0,a=a+Math.imul(g,W)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,a=a+Math.imul(m,Z)|0;var ye=(c+(r=r+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,J)|0)+Math.imul(f,$)|0))<<13)|0;c=((a=a+Math.imul(f,J)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(S,F),i=(i=Math.imul(S,V))+Math.imul(x,F)|0,a=Math.imul(x,V),r=r+Math.imul(w,z)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(C,z)|0,a=a+Math.imul(C,W)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,a=a+Math.imul(g,Z)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(m,$)|0,a=a+Math.imul(m,J)|0;var we=(c+(r=r+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(f,Q)|0))<<13)|0;c=((a=a+Math.imul(f,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(T,F),i=(i=Math.imul(T,V))+Math.imul(j,F)|0,a=Math.imul(j,V),r=r+Math.imul(S,z)|0,i=(i=i+Math.imul(S,W)|0)+Math.imul(x,z)|0,a=a+Math.imul(x,W)|0,r=r+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(C,K)|0,a=a+Math.imul(C,Z)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(g,$)|0,a=a+Math.imul(g,J)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0;var Ce=(c+(r=r+Math.imul(d,ne)|0)|0)+((8191&(i=(i=i+Math.imul(d,re)|0)+Math.imul(f,ne)|0))<<13)|0;c=((a=a+Math.imul(f,re)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(E,F),i=(i=Math.imul(E,V))+Math.imul(A,F)|0,a=Math.imul(A,V),r=r+Math.imul(T,z)|0,i=(i=i+Math.imul(T,W)|0)+Math.imul(j,z)|0,a=a+Math.imul(j,W)|0,r=r+Math.imul(S,K)|0,i=(i=i+Math.imul(S,Z)|0)+Math.imul(x,K)|0,a=a+Math.imul(x,Z)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,J)|0)+Math.imul(C,$)|0,a=a+Math.imul(C,J)|0,r=r+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(g,Q)|0,a=a+Math.imul(g,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,a=a+Math.imul(m,re)|0;var _e=(c+(r=r+Math.imul(d,ae)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(f,ae)|0))<<13)|0;c=((a=a+Math.imul(f,se)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(P,F),i=(i=Math.imul(P,V))+Math.imul(O,F)|0,a=Math.imul(O,V),r=r+Math.imul(E,z)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(A,z)|0,a=a+Math.imul(A,W)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,Z)|0)+Math.imul(j,K)|0,a=a+Math.imul(j,Z)|0,r=r+Math.imul(S,$)|0,i=(i=i+Math.imul(S,J)|0)+Math.imul(x,$)|0,a=a+Math.imul(x,J)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(C,Q)|0,a=a+Math.imul(C,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(g,ne)|0,a=a+Math.imul(g,re)|0,r=r+Math.imul(p,ae)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(m,ae)|0,a=a+Math.imul(m,se)|0;var Se=(c+(r=r+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ce)|0)+Math.imul(f,le)|0))<<13)|0;c=((a=a+Math.imul(f,ce)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,V))+Math.imul(D,F)|0,a=Math.imul(D,V),r=r+Math.imul(P,z)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(O,z)|0,a=a+Math.imul(O,W)|0,r=r+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(A,K)|0,a=a+Math.imul(A,Z)|0,r=r+Math.imul(T,$)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(j,$)|0,a=a+Math.imul(j,J)|0,r=r+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(x,Q)|0,a=a+Math.imul(x,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(C,ne)|0,a=a+Math.imul(C,re)|0,r=r+Math.imul(v,ae)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(g,ae)|0,a=a+Math.imul(g,se)|0,r=r+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ce)|0)+Math.imul(m,le)|0,a=a+Math.imul(m,ce)|0;var xe=(c+(r=r+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,fe)|0)+Math.imul(f,de)|0))<<13)|0;c=((a=a+Math.imul(f,fe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(N,F),i=(i=Math.imul(N,V))+Math.imul(H,F)|0,a=Math.imul(H,V),r=r+Math.imul(B,z)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(D,z)|0,a=a+Math.imul(D,W)|0,r=r+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(O,K)|0,a=a+Math.imul(O,Z)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,J)|0)+Math.imul(A,$)|0,a=a+Math.imul(A,J)|0,r=r+Math.imul(T,Q)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(j,Q)|0,a=a+Math.imul(j,ee)|0,r=r+Math.imul(S,ne)|0,i=(i=i+Math.imul(S,re)|0)+Math.imul(x,ne)|0,a=a+Math.imul(x,re)|0,r=r+Math.imul(w,ae)|0,i=(i=i+Math.imul(w,se)|0)+Math.imul(C,ae)|0,a=a+Math.imul(C,se)|0,r=r+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ce)|0)+Math.imul(g,le)|0,a=a+Math.imul(g,ce)|0,r=r+Math.imul(p,de)|0,i=(i=i+Math.imul(p,fe)|0)+Math.imul(m,de)|0,a=a+Math.imul(m,fe)|0;var ke=(c+(r=r+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(f,pe)|0))<<13)|0;c=((a=a+Math.imul(f,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(N,z),i=(i=Math.imul(N,W))+Math.imul(H,z)|0,a=Math.imul(H,W),r=r+Math.imul(B,K)|0,i=(i=i+Math.imul(B,Z)|0)+Math.imul(D,K)|0,a=a+Math.imul(D,Z)|0,r=r+Math.imul(P,$)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(O,$)|0,a=a+Math.imul(O,J)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(A,Q)|0,a=a+Math.imul(A,ee)|0,r=r+Math.imul(T,ne)|0,i=(i=i+Math.imul(T,re)|0)+Math.imul(j,ne)|0,a=a+Math.imul(j,re)|0,r=r+Math.imul(S,ae)|0,i=(i=i+Math.imul(S,se)|0)+Math.imul(x,ae)|0,a=a+Math.imul(x,se)|0,r=r+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ce)|0)+Math.imul(C,le)|0,a=a+Math.imul(C,ce)|0,r=r+Math.imul(v,de)|0,i=(i=i+Math.imul(v,fe)|0)+Math.imul(g,de)|0,a=a+Math.imul(g,fe)|0;var Te=(c+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;c=((a=a+Math.imul(m,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(N,K),i=(i=Math.imul(N,Z))+Math.imul(H,K)|0,a=Math.imul(H,Z),r=r+Math.imul(B,$)|0,i=(i=i+Math.imul(B,J)|0)+Math.imul(D,$)|0,a=a+Math.imul(D,J)|0,r=r+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(A,ne)|0,a=a+Math.imul(A,re)|0,r=r+Math.imul(T,ae)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(j,ae)|0,a=a+Math.imul(j,se)|0,r=r+Math.imul(S,le)|0,i=(i=i+Math.imul(S,ce)|0)+Math.imul(x,le)|0,a=a+Math.imul(x,ce)|0,r=r+Math.imul(w,de)|0,i=(i=i+Math.imul(w,fe)|0)+Math.imul(C,de)|0,a=a+Math.imul(C,fe)|0;var je=(c+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(g,pe)|0))<<13)|0;c=((a=a+Math.imul(g,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(N,$),i=(i=Math.imul(N,J))+Math.imul(H,$)|0,a=Math.imul(H,J),r=r+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(D,Q)|0,a=a+Math.imul(D,ee)|0,r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(O,ne)|0,a=a+Math.imul(O,re)|0,r=r+Math.imul(E,ae)|0,i=(i=i+Math.imul(E,se)|0)+Math.imul(A,ae)|0,a=a+Math.imul(A,se)|0,r=r+Math.imul(T,le)|0,i=(i=i+Math.imul(T,ce)|0)+Math.imul(j,le)|0,a=a+Math.imul(j,ce)|0,r=r+Math.imul(S,de)|0,i=(i=i+Math.imul(S,fe)|0)+Math.imul(x,de)|0,a=a+Math.imul(x,fe)|0;var Me=(c+(r=r+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(C,pe)|0))<<13)|0;c=((a=a+Math.imul(C,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(N,Q),i=(i=Math.imul(N,ee))+Math.imul(H,Q)|0,a=Math.imul(H,ee),r=r+Math.imul(B,ne)|0,i=(i=i+Math.imul(B,re)|0)+Math.imul(D,ne)|0,a=a+Math.imul(D,re)|0,r=r+Math.imul(P,ae)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(O,ae)|0,a=a+Math.imul(O,se)|0,r=r+Math.imul(E,le)|0,i=(i=i+Math.imul(E,ce)|0)+Math.imul(A,le)|0,a=a+Math.imul(A,ce)|0,r=r+Math.imul(T,de)|0,i=(i=i+Math.imul(T,fe)|0)+Math.imul(j,de)|0,a=a+Math.imul(j,fe)|0;var Ee=(c+(r=r+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(x,pe)|0))<<13)|0;c=((a=a+Math.imul(x,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,ne),i=(i=Math.imul(N,re))+Math.imul(H,ne)|0,a=Math.imul(H,re),r=r+Math.imul(B,ae)|0,i=(i=i+Math.imul(B,se)|0)+Math.imul(D,ae)|0,a=a+Math.imul(D,se)|0,r=r+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ce)|0)+Math.imul(O,le)|0,a=a+Math.imul(O,ce)|0,r=r+Math.imul(E,de)|0,i=(i=i+Math.imul(E,fe)|0)+Math.imul(A,de)|0,a=a+Math.imul(A,fe)|0;var Ae=(c+(r=r+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(j,pe)|0))<<13)|0;c=((a=a+Math.imul(j,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(N,ae),i=(i=Math.imul(N,se))+Math.imul(H,ae)|0,a=Math.imul(H,se),r=r+Math.imul(B,le)|0,i=(i=i+Math.imul(B,ce)|0)+Math.imul(D,le)|0,a=a+Math.imul(D,ce)|0,r=r+Math.imul(P,de)|0,i=(i=i+Math.imul(P,fe)|0)+Math.imul(O,de)|0,a=a+Math.imul(O,fe)|0;var Le=(c+(r=r+Math.imul(E,pe)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(A,pe)|0))<<13)|0;c=((a=a+Math.imul(A,me)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(N,le),i=(i=Math.imul(N,ce))+Math.imul(H,le)|0,a=Math.imul(H,ce),r=r+Math.imul(B,de)|0,i=(i=i+Math.imul(B,fe)|0)+Math.imul(D,de)|0,a=a+Math.imul(D,fe)|0;var Pe=(c+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(O,pe)|0))<<13)|0;c=((a=a+Math.imul(O,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(N,de),i=(i=Math.imul(N,fe))+Math.imul(H,de)|0,a=Math.imul(H,fe);var Oe=(c+(r=r+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,me)|0)+Math.imul(D,pe)|0))<<13)|0;c=((a=a+Math.imul(D,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863;var Ie=(c+(r=Math.imul(N,pe))|0)+((8191&(i=(i=Math.imul(N,me))+Math.imul(H,pe)|0))<<13)|0;return c=((a=Math.imul(H,me))+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=be,l[1]=ve,l[2]=ge,l[3]=ye,l[4]=we,l[5]=Ce,l[6]=_e,l[7]=Se,l[8]=xe,l[9]=ke,l[10]=Te,l[11]=je,l[12]=Me,l[13]=Ee,l[14]=Ae,l[15]=Le,l[16]=Pe,l[17]=Oe,l[18]=Ie,0!==c&&(l[19]=c,n.length++),n};function b(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,a=0;a<n.length-1;a++){var s=i;i=0;for(var o=67108863&r,l=Math.min(a,t.length-1),c=Math.max(0,a-e.length+1);c<=l;c++){var u=a-c,d=(0|e.words[u])*(0|t.words[c]),f=67108863&d;o=67108863&(f=f+o|0),i+=(s=(s=s+(d/67108864|0)|0)+(f>>>26)|0)>>>26,s&=67108863}n.words[a]=o,r=s,s=i}return 0!==r?n.words[a]=r:n.length--,n._strip()}function v(e,t,n){return b(e,t,n)}function g(e,t){this.x=e,this.y=t}Math.imul||(m=p),a.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):n<63?p(this,e,t):n<1024?b(this,e,t):v(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),n=a.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},g.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},g.prototype.permute=function(e,t,n,r,i,a){for(var s=0;s<a;s++)r[s]=t[e[s]],i[s]=n[e[s]]},g.prototype.transform=function(e,t,n,r,i,a){this.permute(a,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var o=s<<1,l=Math.cos(2*Math.PI/o),c=Math.sin(2*Math.PI/o),u=0;u<i;u+=o)for(var d=l,f=c,h=0;h<s;h++){var p=n[u+h],m=r[u+h],b=n[u+h+s],v=r[u+h+s],g=d*b-f*v;v=d*v+f*b,b=g,n[u+h]=p+b,r[u+h]=m+v,n[u+h+s]=p-b,r[u+h+s]=m-v,h!==o&&(g=l*d-c*f,f=l*f+c*d,d=g)}},g.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},g.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var a=0,s=0;s<t;s++)a+=0|e[s],n[2*s]=8191&a,a>>>=13,n[2*s+1]=8191&a,a>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===a),r(0==(-8192&a))},g.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},g.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),a=this.stub(r),s=new Array(r),o=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),d=new Array(r),f=n.words;f.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,c,r),this.transform(s,a,o,l,r,i),this.transform(c,a,u,d,r,i);for(var h=0;h<r;h++){var p=o[h]*u[h]-l[h]*d[h];l[h]=o[h]*d[h]+l[h]*u[h],o[h]=p}return this.conjugate(o,l,r),this.transform(o,l,f,a,r,i),this.conjugate(f,a,r),this.normalize13b(f,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),v(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"==typeof e),r(e<67108864);for(var n=0,i=0;i<this.length;i++){var a=(0|this.words[i])*e,s=(67108863&a)+(67108863&n);n>>=26,n+=a/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}(e);if(0===t.length)return new a(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},a.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var o=this.words[t]&a,l=(0|this.words[t])-o<<n;this.words[t]=l|s,s=o>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},a.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,s=Math.min((e-a)/26,this.length),o=67108863^67108863>>>a<<a,l=n;if(i-=s,i=Math.max(0,i),l){for(var c=0;c<s;c++)l.words[c]=this.words[c];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-a|d>>>a,u=d&o}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},a.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,n){var i,a,s=e.length+n;this._expand(s);var o=0;for(i=0;i<e.length;i++){a=(0|this.words[i+n])+o;var l=(0|e.words[i])*t;o=((a-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&a}for(;i<this.length-n;i++)o=(a=(0|this.words[i+n])+o)>>26,this.words[i+n]=67108863&a;if(0===o)return this._strip();for(r(-1===o),o=0,i=0;i<this.length;i++)o=(a=-(0|this.words[i])+o)>>26,this.words[i]=67108863&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var o,l=r.length-i.length;if("mod"!==t){(o=new a(null)).length=l+1,o.words=new Array(o.length);for(var c=0;c<o.length;c++)o.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,o&&(o.words[l]=1));for(var d=l-1;d>=0;d--){var f=67108864*(0|r.words[i.length+d])+(0|r.words[i.length+d-1]);for(f=Math.min(f/s|0,67108863),r._ishlnsubmul(i,f,d);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,d),r.isZero()||(r.negative^=1);o&&(o.words[d]=f)}return o&&o._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:o||null,mod:r}},a.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(i=o.div.neg()),"div"!==t&&(s=o.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(i=o.div.neg()),{div:i,mod:o.mod}):0!=(this.negative&e.negative)?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,s,o},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),a=n.cmp(r);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,a=this.length-1;a>=0;a--)i=(n*i+(0|this.words[a]))%e;return t?-i:i},a.prototype.modn=function(e){return this.modrn(e)},a.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var a=(0|this.words[i])+67108864*n;this.words[i]=a/e|0,n=a%e}return this._strip(),t?this.ineg():this},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),s=new a(0),o=new a(0),l=new a(1),c=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),d=t.clone();!t.isZero();){for(var f=0,h=1;0==(t.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(u),s.isub(d)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(u),l.isub(d)),o.iushrn(1),l.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(o),s.isub(l)):(n.isub(t),o.isub(i),l.isub(s))}return{a:o,b:l,gcd:n.iushln(c)}},a.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,s=new a(1),o=new a(0),l=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(t.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var d=0,f=1;0==(n.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(n.iushrn(d);d-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(o)):(n.isub(t),o.isub(s))}return(i=0===t.cmpn(1)?s:o).cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var a=t;t=n,n=a}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var a=i,s=n;0!==a&&s<this.length;s++){var o=0|this.words[s];a=(o+=a)>>>26,o&=67108863,this.words[s]=o}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new k(e)},a.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function C(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(C,w),C.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r<n;r++)t.words[r]=e.words[r];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,r=10;r<e.length;r++){var a=0|e.words[r];e.words[r-10]=(4194303&a)<<4|i>>>22,i=a}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},C.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(_,w),i(S,w),i(x,w),x.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new C;else if("p224"===e)t=new _;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return y[e]=t,t},k.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new a(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var o=new a(1).toRed(this),l=o.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new a(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var d=this.pow(u,i),f=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=s;0!==h.cmp(o);){for(var m=h,b=0;0!==m.cmp(o);b++)m=m.redSqr();r(b<p);var v=this.pow(d,new a(1).iushln(p-b-1));f=f.redMul(v),d=v.redSqr(),h=h.redMul(d),p=b}return f},k.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},k.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new a(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],s=0,o=0,l=t.bitLength()%26;for(0===l&&(l=26),r=t.length-1;r>=0;r--){for(var c=t.words[r],u=l-1;u>=0;u--){var d=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==d||0!==s?(s<<=1,s|=d,(4===++o||0===r&&0===u)&&(i=this.mul(i,n[s]),o=0,s=0)):o=0}l=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new T(e)},i(T,k),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js":function(e,t,n){"use strict";var r={};function i(e,t,n){n||(n=Error);var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function a(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i,s,o;if("string"==typeof t&&(i="not ",t.substr(!s||s<0?0:+s,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))o="The ".concat(e," ").concat(r," ").concat(a(t,"type"));else{var l=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";o='The "'.concat(e,'" ').concat(l," ").concat(r," ").concat(a(t,"type"))}return o+=". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=r},"./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js":function(e,t,n){"use strict";(function(t){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js"),a=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js");n("./node_modules/inherits/inherits_browser.js")(c,i);for(var s=r(a.prototype),o=0;o<s.length;o++){var l=s[o];c.prototype[l]||(c.prototype[l]=a.prototype[l])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||t.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_passthrough.js":function(e,t,n){"use strict";e.exports=i;var r=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n("./node_modules/inherits/inherits_browser.js")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},"./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js":function(e,t,n){"use strict";(function(t,r){var i;e.exports=k,k.ReadableState=x;n("./node_modules/events/events.js").EventEmitter;var a=function(e,t){return e.listeners(t).length},s=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js"),o=n("./node_modules/buffer/index.js").Buffer,l=t.Uint8Array||function(){};var c,u=n(10);c=u&&u.debuglog?u.debuglog("stream"):function(){};var d,f,h,p=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/buffer_list.js"),m=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js"),b=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/state.js").getHighWaterMark,v=n("./node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js").codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,C=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("./node_modules/inherits/inherits_browser.js")(k,s);var _=m.errorOrDestroy,S=["error","close","destroy","pause","resume"];function x(e,t,r){i=i||n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js"),e=e||{},"boolean"!=typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n("./node_modules/string_decoder/lib/string_decoder.js").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function k(e){if(i=i||n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js"),!(this instanceof k))return new k(e);var t=this instanceof i;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function T(e,t,n,r,i){c("readableAddChunk",t);var a,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(c("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?E(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,s);else if(i||(a=function(e,t){var n;r=t,o.isBuffer(r)||r instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new g("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(s,t)),a)_(e,a);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),r)s.endEmitted?_(e,new C):j(e,s,t,!0);else if(s.ended)_(e,new y);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?j(e,s,t,!1):L(e,s)):j(e,s,t,!1)}else r||(s.reading=!1,L(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function j(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&E(e)),L(e,t)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=o.from(e,t),t=""),n=!0),T(this,e,t,!1,n)},k.prototype.unshift=function(e){return T(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){d||(d=n("./node_modules/string_decoder/lib/string_decoder.js").StringDecoder);var t=new d(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};function M(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(A,e))}function A(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function L(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(c("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function O(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function I(e){c("readable nexttick read 0"),e.read(0)}function B(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function R(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function N(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(H,t,e))}function H(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function G(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}k.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):E(this),null;if(0===(e=M(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&c("length less than watermark",i=!0),t.ended||t.reading?c("reading or ended",i=!1):i&&(c("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=M(n,t))),null===(r=e>0?R(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit("data",r),r},k.prototype._read=function(e){_(this,new w("_read()"))},k.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,c("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:b;function o(t,r){c("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,c("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",h),e.removeListener("unpipe",o),n.removeListener("end",l),n.removeListener("end",b),n.removeListener("data",f),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){c("onend"),e.end()}i.endEmitted?r.nextTick(s):n.once("end",s),e.on("unpipe",o);var u=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,D(e))}}(n);e.on("drain",u);var d=!1;function f(t){c("ondata");var r=e.write(t);c("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==G(i.pipes,e))&&!d&&(c("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(t){c("onerror",t),b(),e.removeListener("error",h),0===a(e,"error")&&_(e,t)}function p(){e.removeListener("finish",m),b()}function m(){c("onfinish"),e.removeListener("close",p),b()}function b(){c("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",h),e.once("close",p),e.once("finish",m),e.emit("pipe",n),i.flowing||(c("pipe resume"),n.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=G(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},k.prototype.on=function(e,t){var n=s.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,c("on readable",i.length,i.reading),i.length?E(this):i.reading||r.nextTick(I,this))),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(O,this),n},k.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(O,this),t},k.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(B,e,t))}(this,e)),e.paused=!1,this},k.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<S.length;a++)e.on(S[a],this.emit.bind(this,S[a]));return this._read=function(t){c("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/async_iterator.js")),f(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=R,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,t){return void 0===h&&(h=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/from-browser.js")),h(k,e,t)})}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js":function(e,t,n){"use strict";e.exports=u;var r=n("./node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,a=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js");function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new a);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(t,n){f(e,t,n)}))}function f(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new o;if(e._transformState.transforming)throw new s;return e.push(null)}n("./node_modules/inherits/inherits_browser.js")(u,l),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new i("_transform()"))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},"./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js":function(e,t,n){"use strict";(function(t,r){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var a;e.exports=k,k.WritableState=x;var s={deprecate:n("./node_modules/util-deprecate/browser.js")},o=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js"),l=n("./node_modules/buffer/index.js").Buffer,c=t.Uint8Array||function(){};var u,d=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js"),f=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/state.js").getHighWaterMark,h=n("./node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js").codes,p=h.ERR_INVALID_ARG_TYPE,m=h.ERR_METHOD_NOT_IMPLEMENTED,b=h.ERR_MULTIPLE_CALLBACK,v=h.ERR_STREAM_CANNOT_PIPE,g=h.ERR_STREAM_DESTROYED,y=h.ERR_STREAM_NULL_VALUES,w=h.ERR_STREAM_WRITE_AFTER_END,C=h.ERR_UNKNOWN_ENCODING,_=d.errorOrDestroy;function S(){}function x(e,t,s){a=a||n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js"),e=e||{},"boolean"!=typeof s&&(s=t instanceof a),this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=f(this,e,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,a=n.writecb;if("function"!=typeof a)throw new b;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,a){--t.pendingcb,n?(r.nextTick(a,i),r.nextTick(L,e,t),e._writableState.errorEmitted=!0,_(e,i)):(a(i),e._writableState.errorEmitted=!0,_(e,i),L(e,t))}(e,n,i,t,a);else{var s=E(n)||e.destroyed;s||n.corked||n.bufferProcessing||!n.bufferedRequest||M(e,n),i?r.nextTick(j,e,n,s,a):j(e,n,s,a)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(e){var t=this instanceof(a=a||n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js"));if(!t&&!u.call(k,this))return new k(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function T(e,t,n,r,i,a,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function j(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),L(e,t)}function M(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,a=new Array(r),s=t.corkedRequestsFree;s.entry=n;for(var o=0,l=!0;n;)a[o]=n,n.isBuf||(l=!1),n=n.next,o+=1;a.allBuffers=l,T(e,t,!0,t.length,a,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,d=n.callback;if(T(e,t,!1,t.objectMode?1:c.length,c,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(n){t.pendingcb--,n&&_(e,n),t.prefinished=!0,e.emit("prefinish"),L(e,t)}))}function L(e,t){var n=E(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return n}n("./node_modules/inherits/inherits_browser.js")(k,o),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===k&&(e&&e._writableState instanceof x)}})):u=function(e){return e instanceof this},k.prototype.pipe=function(){_(this,new v)},k.prototype.write=function(e,t,n){var i,a=this._writableState,s=!1,o=!a.objectMode&&(i=e,l.isBuffer(i)||i instanceof c);return o&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(n=t,t=null),o?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof n&&(n=S),a.ending?function(e,t){var n=new w;_(e,n),r.nextTick(t,n)}(this,n):(o||function(e,t,n,i){var a;return null===n?a=new y:"string"==typeof n||t.objectMode||(a=new p("chunk",["string","Buffer"],n)),!a||(_(e,a),r.nextTick(i,a),!1)}(this,a,e,n))&&(a.pendingcb++,s=function(e,t,n,r,i,a){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,n));return t}(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var o=t.objectMode?1:r.length;t.length+=o;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,o,r,i,a);return c}(this,a,o,e,t,n)),s},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||M(this,e))},k.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,n){n(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,L(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=d.destroy,k.prototype._undestroy=d.undestroy,k.prototype._destroy=function(e,t){t(e)}}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/async_iterator.js":function(e,t,n){"use strict";(function(t){var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"),s=Symbol("lastResolve"),o=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[s];if(null!==t){var n=e[f].read();null!==n&&(e[u]=null,e[s]=null,e[o]=null,t(h(n,!1)))}}function m(e){t.nextTick(p,e)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var e=this,n=this[l];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(n,r){t.nextTick((function(){e[l]?r(e[l]):n(h(void 0,!0))}))}));var r,i=this[u];if(i)r=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(h(void 0,!0)):t[d](n,r)}),r)}}(i,this));else{var a=this[f].read();if(null!==a)return Promise.resolve(h(a,!1));r=new Promise(this[d])}return this[u]=r,r}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[f].destroy(null,(function(e){e?n(e):t(h(void 0,!0))}))}))})),r),b);e.exports=function(e){var t,n=Object.create(v,(i(t={},f,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,o,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[f].read();r?(n[u]=null,n[s]=null,n[o]=null,e(h(r,!1))):(n[s]=e,n[o]=t)},writable:!0}),t));return n[u]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[o];return null!==t&&(n[u]=null,n[s]=null,n[o]=null,t(e)),void(n[l]=e)}var r=n[s];null!==r&&(n[u]=null,n[s]=null,n[o]=null,r(h(void 0,!0))),n[c]=!0})),e.on("readable",m.bind(null,n)),n}}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/buffer_list.js":function(e,t,n){"use strict";function r(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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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)}}var s=n("./node_modules/buffer/index.js").Buffer,o=n(11).inspect,l=o&&o.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,c;return t=e,(n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,n,r,i=s.allocUnsafe(e>>>0),a=this.head,o=0;a;)t=a.data,n=i,r=o,s.prototype.copy.call(t,n,r),o+=a.data.length,a=a.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,a=e>i.length?i.length:e;if(a===i.length?r+=i:r+=i.slice(0,e),0==(e-=a)){a===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(a));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return o(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}])&&a(t.prototype,n),c&&a(t,c),e}()},"./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js":function(e,t,n){"use strict";(function(t){function n(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,a){var s=this,o=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return o||l?(a?a(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!a&&e?s._writableState?s._writableState.errorEmitted?t.nextTick(r,s):(s._writableState.errorEmitted=!0,t.nextTick(n,s,e)):t.nextTick(n,s,e):a?(t.nextTick(r,s),a(e)):t.nextTick(r,s)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/end-of-stream.js":function(e,t,n){"use strict";var r=n("./node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,a){if("function"==typeof n)return e(t,null,n);n||(n={}),a=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(a||i);var s=n.readable||!1!==n.readable&&t.readable,o=n.writable||!1!==n.writable&&t.writable,l=function(){t.writable||u()},c=t._writableState&&t._writableState.finished,u=function(){o=!1,c=!0,s||a.call(t)},d=t._readableState&&t._readableState.endEmitted,f=function(){s=!1,d=!0,o||a.call(t)},h=function(e){a.call(t,e)},p=function(){var e;return s&&!d?(t._readableState&&t._readableState.ended||(e=new r),a.call(t,e)):o&&!c?(t._writableState&&t._writableState.ended||(e=new r),a.call(t,e)):void 0},m=function(){t.req.on("finish",u)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?o&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",u),t.on("abort",p),t.req?m():t.on("request",m)),t.on("end",f),t.on("finish",u),!1!==n.error&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",u),t.removeListener("abort",p),t.removeListener("request",m),t.req&&t.req.removeListener("finish",u),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",u),t.removeListener("end",f),t.removeListener("error",h),t.removeListener("close",p)}}},"./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/from-browser.js":function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},"./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/pipeline.js":function(e,t,n){"use strict";var r;var i=n("./node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js").codes,a=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function o(e){if(e)throw e}function l(e,t,i,a){a=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(a);var o=!1;e.on("close",(function(){o=!0})),void 0===r&&(r=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")),r(e,{readable:t,writable:i},(function(e){if(e)return a(e);o=!0,a()}));var l=!1;return function(t){if(!o&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void a(t||new s("pipe"))}}function c(e){e()}function u(e,t){return e.pipe(t)}function d(e){return e.length?"function"!=typeof e[e.length-1]?o:e.pop():o}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=d(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new a("streams");var s=t.map((function(e,n){var a=n<t.length-1;return l(e,a,n>0,(function(e){r||(r=e),e&&s.forEach(c),a||(s.forEach(c),i(r))}))}));return t.reduce(u)}},"./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/state.js":function(e,t,n){"use strict";var r=n("./node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js").codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var a=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0)throw new r(i?n:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}}},"./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js":function(e,t,n){e.exports=n("./node_modules/events/events.js").EventEmitter},"./node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js":function(e,t,n){(t=e.exports=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js")).Stream=t,t.Readable=t,t.Writable=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js"),t.Duplex=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js"),t.Transform=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js"),t.PassThrough=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_passthrough.js"),t.finished=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"),t.pipeline=n("./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/pipeline.js")},"./node_modules/buffer-xor/index.js":function(e,t,n){(function(t){e.exports=function(e,n){for(var r=Math.min(e.length,n.length),i=new t(r),a=0;a<r;++a)i[a]=e[a]^n[a];return i}}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/cipher-base/index.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer,i=n("./node_modules/stream-browserify/index.js").Transform,a=n("./node_modules/string_decoder/lib/string_decoder.js").StringDecoder;function s(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("./node_modules/inherits/inherits_browser.js")(s,i),s.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){r=i}finally{n(r)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(n){t=n}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=s},"./node_modules/color-blend/index.js":function(e,t,n){"use strict";var r=n("./node_modules/postcss/lib/postcss.js"),i=n("./node_modules/postcss-functions/dist/index.js"),a=n("./node_modules/color-blend/src/blend.js");e.exports=r.plugin("color-blend",(function(){return r().use(i({functions:a}))}))},"./node_modules/color-blend/src/blend.js":function(e,t,n){var r=n("./node_modules/color-blend/src/helpers.js");function i(e,t,n,r,i,a){return(1-t/n)*r+t/n*Math.round((1-e)*i+e*a)}var a=!1,s=!1,o=!0;function l(e,t,n,l){"object"!=typeof e&&(e=r.convertFromString(e)),"object"!=typeof t&&(t=r.convertFromString(t)),a&&(e=r.convertFromUnit(e),t=r.convertFromUnit(t)),e=r.restrictColor(e);var c=(t=r.restrictColor(t)).a+e.a-t.a*e.a,u=l(e,t,n);return u=r.restrictColor({r:i(e.a,t.a,c,e.r,t.r,u.r),g:i(e.a,t.a,c,e.g,t.g,u.g),b:i(e.a,t.a,c,e.b,t.b,u.b),a:c}),"rgba("+(u=s?r.convertToUnit(u):o?r.roundChannels(u):r.roundChannelsForSanity(u)).r+","+u.g+","+u.b+","+u.a+")"}var c=n("./node_modules/color-blend/src/separable.js"),u=n("./node_modules/color-blend/src/non-separable.js");e.exports={normal:function(e,t){return l(e,t,"normal",c)},multiply:function(e,t){return l(e,t,"multiply",c)},screen:function(e,t){return l(e,t,"screen",c)},overlay:function(e,t){return l(e,t,"overlay",c)},colorDodge:function(e,t){return l(e,t,"colorDodge",c)},colorBurn:function(e,t){return l(e,t,"colorBurn",c)},hardLight:function(e,t){return l(e,t,"hardLight",c)},softLight:function(e,t){return l(e,t,"softLight",c)},difference:function(e,t){return l(e,t,"difference",c)},exclusion:function(e,t){return l(e,t,"exclusion",c)},hue:function(e,t){return l(e,t,"hue",u)},saturation:function(e,t){return l(e,t,"saturation",u)},luminosity:function(e,t){return l(e,t,"luminosity",u)}}},"./node_modules/color-blend/src/helpers.js":function(e,t){function n(e,t,n){return Math.min(Math.max(e,t),n)}e.exports={restrictColor:function(e){return{r:n(e.r,0,255),g:n(e.g,0,255),b:n(e.b,0,255),a:n(e.a,0,1)}},convertFromUnit:function(e){return{r:255*e.r,g:255*e.g,b:255*e.b,a:e.a}},convertToUnit:function(e){return{r:e.r/255,g:e.g/255,b:e.b/255,a:e.a}},roundChannels:function(e,t){null==t&&(t=0);var n=Math.pow(10,t);return{r:Math.round(e.r*n)/n,g:Math.round(e.g*n)/n,b:Math.round(e.b*n)/n,a:e.a}},roundChannelsForSanity:function(e){return this.roundChannels(e,9)},convertFromString:function(e){var t,n,r=function(e){return parseInt(e,16)},i=e.slice(0,1);return"#"===i?4===(t=e).length?(n=t.replace("#","").split(""),{r:r(n[0]+n[0]),g:r(n[1]+n[1]),b:r(n[2]+n[2]),a:1}):{r:r(t.slice(1,3)),g:r(t.slice(3,5)),b:r(t.slice(5)),a:1}:"r"===i.toLowerCase()?function(e){var t,n=e.slice(e.indexOf("(")+1,e.indexOf(")")).split(",");return(t={r:(n=n.map((function(e,t){return 3!==t?parseInt(e,10):parseFloat(e)})))[0],g:n[1],b:n[2]}).a=n[3]?n[3]:1,t}(e):(console.log("!Ooops! RGBvalues.color("+e+") : HEX, RGB, or RGBa strings only"),{color:e})}}},"./node_modules/color-blend/src/non-separable.js":function(e,t,n){var r=n("./node_modules/color-blend/src/helpers.js"),i={lum:function(e){return.3*e.r+.59*e.g+.11*e.b},clipColor:function(e){var t=this.lum(e),n=Math.min(e.r,e.g,e.b),r=Math.max(e.r,e.g,e.b),i={r:e.r,g:e.g,b:e.b};return n<0&&(i.r=t+(i.r-t)*t/(t-n),i.g=t+(i.g-t)*t/(t-n),i.b=t+(i.b-t)*t/(t-n)),r>1&&(i.r=t+(i.r-t)*(1-t)/(r-t),i.g=t+(i.g-t)*(1-t)/(r-t),i.b=t+(i.b-t)*(1-t)/(r-t)),i},setLum:function(e,t){var n=t-this.lum(e);return this.clipColor({r:e.r+n,g:e.g+n,b:e.b+n})},sat:function(e){return Math.max(e.r,e.g,e.b)-Math.min(e.r,e.g,e.b)},setSat:function(e,t){var n=Object.keys(e).sort((function(t,n){return e[t]-e[n]})),r=n[0],i=n[1],a=n[2],s={r:e.r,g:e.g,b:e.b};return s[a]>s[r]?(s[i]=(s[i]-s[r])*t/(s[a]-s[r]),s[a]=t):s[i]=s[a]=0,s[r]=0,s}},a={hue:function(e,t){return i.setLum(i.setSat(t,i.sat(e)),i.lum(e))},saturation:function(e,t){return i.setLum(i.setSat(e,i.sat(t)),i.lum(e))},color:function(e,t){return i.setLum(t,i.lum(e))},luminosity:function(e,t){return i.setLum(e,i.lum(t))}};e.exports=function(e,t,n){return r.convertFromUnit(a[n](r.convertToUnit(e),r.convertToUnit(t)))}},"./node_modules/color-blend/src/separable.js":function(e,t){var n={normal:function(e,t){return t},multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this.hardLight(t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.min(Math.max(e,t),1)},colorDodge:function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},colorBurn:function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},hardLight:function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},softLight:function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t}};e.exports=function(e,t,r){return{r:255*n[r](e.r/255,t.r/255),g:255*n[r](e.g/255,t.g/255),b:255*n[r](e.b/255,t.b/255)}}},"./node_modules/color-convert/conversions.js":function(e,t,n){var r=n("./node_modules/color-name/index.js"),i={};for(var a in r)r.hasOwnProperty(a)&&(i[r[a]]=a);var s=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in s)if(s.hasOwnProperty(o)){if(!("channels"in s[o]))throw new Error("missing channels property: "+o);if(!("labels"in s[o]))throw new Error("missing channel labels property: "+o);if(s[o].labels.length!==s[o].channels)throw new Error("channel and label counts mismatch: "+o);var l=s[o].channels,c=s[o].labels;delete s[o].channels,delete s[o].labels,Object.defineProperty(s[o],"channels",{value:l}),Object.defineProperty(s[o],"labels",{value:c})}s.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,s=Math.min(r,i,a),o=Math.max(r,i,a),l=o-s;return o===s?t=0:r===o?t=(i-a)/l:i===o?t=2+(a-r)/l:a===o&&(t=4+(r-i)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(s+o)/2,[t,100*(o===s?0:n<=.5?l/(o+s):l/(2-o-s)),100*n]},s.rgb.hsv=function(e){var t,n,r,i,a,s=e[0]/255,o=e[1]/255,l=e[2]/255,c=Math.max(s,o,l),u=c-Math.min(s,o,l),d=function(e){return(c-e)/6/u+.5};return 0===u?i=a=0:(a=u/c,t=d(s),n=d(o),r=d(l),s===c?i=r-n:o===c?i=1/3+t-r:l===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*c]},s.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[s.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},s.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},s.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,a,s,o=1/0;for(var l in r)if(r.hasOwnProperty(l)){var c=r[l],u=(a=e,s=c,Math.pow(a[0]-s[0],2)+Math.pow(a[1]-s[1],2)+Math.pow(a[2]-s[2],2));u<o&&(o=u,n=l)}return n},s.keyword.rgb=function(e){return r[e]},s.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},s.rgb.lab=function(e){var t=s.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},s.hsl.rgb=function(e){var t,n,r,i,a,s=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[a=255*l,a,a];t=2*l-(n=l<.5?l*(1+o):l+o-l*o),i=[0,0,0];for(var c=0;c<3;c++)(r=s+1/3*-(c-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*a;return i},s.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=a<=1?a:2-a,[t,100*(0===r?2*i/(a+i):2*n/(r+n)),100*((r+n)/2)]},s.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),o=255*r*(1-n*a),l=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,l,s];case 1:return[o,r,s];case 2:return[s,r,l];case 3:return[s,o,r];case 4:return[l,s,r];case 5:return[r,s,o]}},s.hsv.hsl=function(e){var t,n,r,i=e[0],a=e[1]/100,s=e[2]/100,o=Math.max(s,.01);return r=(2-a)*s,n=a*o,[i,100*(n=(n/=(t=(2-a)*o)<=1?t:2-t)||0),100*(r/=2)]},s.hwb.rgb=function(e){var t,n,r,i,a,s,o,l=e[0]/360,c=e[1]/100,u=e[2]/100,d=c+u;switch(d>1&&(c/=d,u/=d),r=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(r=1-r),i=c+r*((n=1-u)-c),t){default:case 6:case 0:a=n,s=i,o=c;break;case 1:a=i,s=n,o=c;break;case 2:a=c,s=n,o=i;break;case 3:a=c,s=i,o=n;break;case 4:a=i,s=c,o=n;break;case 5:a=n,s=c,o=i}return[255*a,255*s,255*o]},s.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},s.xyz.rgb=function(e){var t,n,r,i=e[0]/100,a=e[1]/100,s=e[2]/100;return n=-.9689*i+1.8758*a+.0415*s,r=.0557*i+-.204*a+1.057*s,t=(t=3.2406*i+-1.5372*a+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},s.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},s.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),s=Math.pow(t,3),o=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},s.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},s.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},s.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},s.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},s.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},s.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},s.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.max(Math.max(n,r),i),s=Math.min(Math.min(n,r),i),o=a-s;return t=o<=0?0:a===n?(r-i)/o%6:a===r?2+(i-n)/o:4+(n-r)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?s/(1-o):0)]},s.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},s.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},s.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,a=[0,0,0],s=t%1*6,o=s%1,l=1-o;switch(Math.floor(s)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return i=(1-n)*r,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},s.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},s.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},s.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},s.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]},s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},"./node_modules/color-convert/index.js":function(e,t,n){var r=n("./node_modules/color-convert/conversions.js"),i=n("./node_modules/color-convert/route.js"),a={};Object.keys(r).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:r[e].channels}),Object.defineProperty(a[e],"labels",{value:r[e].labels});var t=i(e);Object.keys(t).forEach((function(n){var r=t[n];a[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),a[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=a},"./node_modules/color-convert/route.js":function(e,t,n){var r=n("./node_modules/color-convert/conversions.js");function i(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),a=Object.keys(r[i]),s=a.length,o=0;o<s;o++){var l=a[o],c=t[l];-1===c.distance&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(l))}return t}function a(e,t){return function(n){return t(e(n))}}function s(e,t){for(var n=[t[e].parent,e],i=r[t[e].parent][e],s=t[e].parent;t[s].parent;)n.unshift(t[s].parent),i=a(r[t[s].parent][s],i),s=t[s].parent;return i.conversion=n,i}e.exports=function(e){for(var t=i(e),n={},r=Object.keys(t),a=r.length,o=0;o<a;o++){var l=r[o];null!==t[l].parent&&(n[l]=s(l,t))}return n}},"./node_modules/color-name/index.js":function(e,t,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"./node_modules/color-string/color-string.js":function(e,t,n){var r=n("./node_modules/color-name/index.js");function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a<t.length;a++)t[a]=parseInt(i[a]+i[a],16)}else if(i=e.match(/^#([a-fA-F0-9]{6})$/)){i=i[1];for(a=0;a<t.length;a++)t[a]=parseInt(i.slice(2*a,2*a+2),16)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=e.match(/(\D+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=r[i[1]]))return}for(a=0;a<t.length;a++)t[a]=u(t[a],0,255);return n=n||0==n?u(n,0,1):1,t[3]=n,t}}function a(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[u(parseInt(t[1]),0,360),u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}}}function s(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[u(parseInt(t[1]),0,360),u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}}}function o(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function l(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function c(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function u(e,t,n){return Math.min(Math.max(t,e),n)}function d(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}e.exports={getRgba:i,getHsla:a,getRgb:function(e){var t=i(e);return t&&t.slice(0,3)},getHsl:function(e){var t=a(e);return t&&t.slice(0,3)},getHwb:s,getAlpha:function(e){var t=i(e);if(t)return t[3];if(t=a(e))return t[3];if(t=s(e))return t[3]},hexString:function(e){return"#"+d(e[0])+d(e[1])+d(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return o(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:o,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return l(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+i+"%)"},percentaString:l,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return c(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:c,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return f[e.slice(0,3)]}};var f={};for(var h in r)f[r[h]]=h},"./node_modules/color/index.js":function(e,t,n){var r=n("./node_modules/color/node_modules/clone/clone.js"),i=n("./node_modules/color-convert/index.js"),a=n("./node_modules/color-string/color-string.js"),s=function(e){if(e instanceof s)return e;if(!(this instanceof s))return new s(e);var t;if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e)if(t=a.getRgba(e))this.setValues("rgb",t);else if(t=a.getHsla(e))this.setValues("hsl",t);else{if(!(t=a.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}else if("object"==typeof e)if(void 0!==(t=e).r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}};s.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){return this.values.rgb.concat([this.values.alpha])},rgbaArrayNormalized:function(){for(var e=this.values.rgb,t=[],n=0;n<3;n++)t[n]=e[n]/255;return t.push(this.values.alpha),t},hslaArray:function(){return this.values.hsl.concat([this.values.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return a.hexString(this.values.rgb)},rgbString:function(){return a.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return a.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return a.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return a.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return a.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return a.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return a.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){var n=e,r=void 0===t?.5:t,i=2*r-1,a=this.alpha()-n.alpha(),s=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,o=1-s;return this.rgb(s*this.red()+o*n.red(),s*this.green()+o*n.green(),s*this.blue()+o*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e=new s;return e.values=r(this.values),e}},s.prototype.getValues=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=this.values[e][n];return 1!==this.values.alpha&&(t.a=this.values.alpha),t},s.prototype.setValues=function(e,t){var n,r,a={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},s={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o=1;if("alpha"===e)o=t;else if(t.length)this.values[e]=t.slice(0,e.length),o=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)this.values[e][n]=t[e.charAt(n)];o=t.a}else if(void 0!==t[a[e][0]]){var l=a[e];for(n=0;n<e.length;n++)this.values[e][n]=t[l[n]];o=t.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0===o?this.values.alpha:o)),"alpha"===e)return!1;for(n=0;n<e.length;n++)r=Math.max(0,Math.min(s[e][n],this.values[e][n])),this.values[e][n]=Math.round(r);for(var c in a)for(c!==e&&(this.values[c]=i[e][c](this.values[e])),n=0;n<c.length;n++)r=Math.max(0,Math.min(s[c][n],this.values[c][n])),this.values[c][n]=Math.round(r);return!0},s.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},s.prototype.setChannel=function(e,t,n){return void 0===n?this.values[e][t]:(n===this.values[e][t]||(this.values[e][t]=n,this.setValues(e,this.values[e])),this)},e.exports=s},"./node_modules/color/node_modules/clone/clone.js":function(e,t,n){(function(t){var n=function(){"use strict";function e(n,i,a,s){"object"==typeof i&&(a=i.depth,s=i.prototype,i.filter,i=i.circular);var o=[],l=[],c=void 0!==t;return void 0===i&&(i=!0),void 0===a&&(a=1/0),function n(a,u){if(null===a)return null;if(0==u)return a;var d,f;if("object"!=typeof a)return a;if(e.__isArray(a))d=[];else if(e.__isRegExp(a))d=new RegExp(a.source,r(a)),a.lastIndex&&(d.lastIndex=a.lastIndex);else if(e.__isDate(a))d=new Date(a.getTime());else{if(c&&t.isBuffer(a))return d=t.allocUnsafe?t.allocUnsafe(a.length):new t(a.length),a.copy(d),d;void 0===s?(f=Object.getPrototypeOf(a),d=Object.create(f)):(d=Object.create(s),f=s)}if(i){var h=o.indexOf(a);if(-1!=h)return l[h];o.push(a),l.push(d)}for(var p in a){var m;f&&(m=Object.getOwnPropertyDescriptor(f,p)),m&&null==m.set||(d[p]=n(a[p],u-1))}return d}(n,a)}function n(e){return Object.prototype.toString.call(e)}function r(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return e.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},e.__objToStr=n,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===n(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===n(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===n(e)},e.__getRegExpFlags=r,e}();e.exports&&(e.exports=n)}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/consistent/index.js":function(e,t,n){e.exports=n("./node_modules/consistent/lib/consistent.js")},"./node_modules/consistent/lib/consistent.js":function(e,t,n){var r=n("./node_modules/crypto-browserify/index.js"),i=n("./node_modules/consistent/node_modules/lru-cache/lib/lru-cache.js");function a(e){if(!(this instanceof a))return new a(e);e=e||{},this.replicas=e.replicas||120,this.members={},this.ring=[],e.members&&e.members.forEach(this.add.bind(this)),"murmurhash"==e.hash&&(this._hash=n("./node_modules/murmurhash/murmurhash.js").v3)}Object.defineProperty(a.prototype,"length",{get:function(){return Object.keys(this.members).length}}),a.prototype.add=function(e){e=this._makeMember(e),this.members[e.key]=e,this._continuum()},a.prototype.remove=function(e){e=this._makeMember(e),delete this.members[e.key],this._continuum()},a.prototype.replace=function(e,t){e=this._makeMember(e),t=this._makeMember(t),this.members[e.key]&&(t.hash=e.hash,this.members[t.key]=t,delete this.members[e.key],this._continuum())},a.prototype.getCached=function(e){this.cache||(this.cache=i(500));var t=this.cache.get(e);return t||(t=this.get(e),this.cache.set(e,t),t)},a.prototype.get=function(e){if(!this.ring.length)return null;for(var t,n=this._hash(e),r=this.ring,i=0,a=r.length;i<=a;){if(0==(t=i+(a-i>>1))||t==r.length)return r[0].key;if(r[t-1].hash<n&&r[t].hash>=n)return r[t].key;r[t].hash<n?i=t+1:a=t-1}return this.ring[0].key},a.prototype.exists=function(e){return this.members.hasOwnProperty(e)},a.prototype._makeMember=function(e){return"string"==typeof e&&(e={key:e}),e.weight=e.weight||1,e.hash=this._hash(e.key),e},a.prototype._continuum=function(){this.ring=[];for(var e=Object.keys(this.members),t=0;t<e.length;t++)for(var n=this.members[e[t]],r=0;r<Math.floor(this.replicas*n.weight);r++){var i=this._hash(n.hash+"-"+r);this.ring.push({hash:i,key:n.key})}this.ring.sort((function(e,t){return e.hash-t.hash}));for(t=0;t<this.ring.length-1;)this.ring[t].key==this.ring[t+1].key?this.ring.splice(t,1):t++;this.cache=null},a.prototype._hash=function(e){return r.createHash("md5").update(e).digest().readUInt32LE(0)},e.exports=a},"./node_modules/consistent/node_modules/lru-cache/lib/lru-cache.js":function(e,t,n){!function(){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function n(){return 1}e.exports?e.exports=a:this.LRUCache=a;var r=!1;function i(e){r||"string"==typeof e||"number"==typeof e||(r=!0,console.error(new TypeError("LRU: key must be a string or number. Almost certainly a bug! "+typeof e).stack))}function a(e){if(!(this instanceof a))return new a(e);"number"==typeof e&&(e={max:e}),e||(e={}),this._max=e.max,(!this._max||"number"!=typeof this._max||this._max<=0)&&(this._max=1/0),this._lengthCalculator=e.length||n,"function"!=typeof this._lengthCalculator&&(this._lengthCalculator=n),this._allowStale=e.stale||!1,this._maxAge=e.maxAge||null,this._dispose=e.dispose,this.reset()}function s(e,t,n){i(t);var r=e._cache[t];return r&&(o(e,r)?(u(e,r),e._allowStale||(r=void 0)):n&&function(e,t){c(e,t),t.lu=e._mru++,e._lruList[t.lu]=t}(e,r),r&&(r=r.value)),r}function o(e,t){if(!t||!t.maxAge&&!e._maxAge)return!1;var n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e._maxAge&&n>e._maxAge}function l(e){for(;e._lru<e._mru&&e._length>e._max;)u(e,e._lruList[e._lru])}function c(e,t){for(delete e._lruList[t.lu];e._lru<e._mru&&!e._lruList[e._lru];)e._lru++}function u(e,t){t&&(e._dispose&&e._dispose(t.key,t.value),e._length-=t.length,e._itemCount--,delete e._cache[t.key],c(e,t))}function d(e,t,n,r,i,a){this.key=e,this.value=t,this.lu=n,this.length=r,this.now=i,a&&(this.maxAge=a)}Object.defineProperty(a.prototype,"max",{set:function(e){(!e||"number"!=typeof e||e<=0)&&(e=1/0),this._max=e,this._length>this._max&&l(this)},get:function(){return this._max},enumerable:!0}),Object.defineProperty(a.prototype,"lengthCalculator",{set:function(e){if("function"!=typeof e)for(var t in this._lengthCalculator=n,this._length=this._itemCount,this._cache)this._cache[t].length=1;else for(var t in this._lengthCalculator=e,this._length=0,this._cache)this._cache[t].length=this._lengthCalculator(this._cache[t].value),this._length+=this._cache[t].length;this._length>this._max&&l(this)},get:function(){return this._lengthCalculator},enumerable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this._length},enumerable:!0}),Object.defineProperty(a.prototype,"itemCount",{get:function(){return this._itemCount},enumerable:!0}),a.prototype.forEach=function(e,t){t=t||this;for(var n=0,r=this._itemCount,i=this._mru-1;i>=0&&n<r;i--)if(this._lruList[i]){n++;var a=this._lruList[i];o(this,a)&&(u(this,a),this._allowStale||(a=void 0)),a&&e.call(t,a.value,a.key,this)}},a.prototype.keys=function(){for(var e=new Array(this._itemCount),t=0,n=this._mru-1;n>=0&&t<this._itemCount;n--)if(this._lruList[n]){var r=this._lruList[n];e[t++]=r.key}return e},a.prototype.values=function(){for(var e=new Array(this._itemCount),t=0,n=this._mru-1;n>=0&&t<this._itemCount;n--)if(this._lruList[n]){var r=this._lruList[n];e[t++]=r.value}return e},a.prototype.reset=function(){if(this._dispose&&this._cache)for(var e in this._cache)this._dispose(e,this._cache[e].value);this._cache=Object.create(null),this._lruList=Object.create(null),this._mru=0,this._lru=0,this._length=0,this._itemCount=0},a.prototype.dump=function(){for(var e=[],t=0,n=this._mru-1;n>=0&&t<this._itemCount;n--)if(this._lruList[n]){var r=this._lruList[n];o(this,r)||(++t,e.push({k:r.key,v:r.value,e:r.now+(r.maxAge||0)}))}return e},a.prototype.dumpLru=function(){return this._lruList},a.prototype.set=function(e,n,r){r=r||this._maxAge,i(e);var a=r?Date.now():0,s=this._lengthCalculator(n);if(t(this._cache,e))return s>this._max?(u(this,this._cache[e]),!1):(this._dispose&&this._dispose(e,this._cache[e].value),this._cache[e].now=a,this._cache[e].maxAge=r,this._cache[e].value=n,this._length+=s-this._cache[e].length,this._cache[e].length=s,this.get(e),this._length>this._max&&l(this),!0);var o=new d(e,n,this._mru++,s,a,r);return o.length>this._max?(this._dispose&&this._dispose(e,n),!1):(this._length+=o.length,this._lruList[o.lu]=this._cache[e]=o,this._itemCount++,this._length>this._max&&l(this),!0)},a.prototype.has=function(e){return i(e),!!t(this._cache,e)&&!o(this,this._cache[e])},a.prototype.get=function(e){return i(e),s(this,e,!0)},a.prototype.peek=function(e){return i(e),s(this,e,!1)},a.prototype.pop=function(){var e=this._lruList[this._lru];return u(this,e),e||null},a.prototype.del=function(e){i(e),u(this,this._cache[e])},a.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n];i(r.k);var a=r.e||0;if(0===a)this.set(r.k,r.v);else{var s=a-t;s>0&&this.set(r.k,r.v,s)}}}}()},"./node_modules/create-ecdh/browser.js":function(e,t,n){(function(t){var r=n("./node_modules/elliptic/lib/elliptic.js"),i=n("./node_modules/bn.js/lib/bn.js");e.exports=function(e){return new s(e)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function o(e,n,r){Array.isArray(e)||(e=e.toArray());var i=new t(e);if(r&&i.length<r){var a=new t(r-i.length);a.fill(0),i=t.concat([a,i])}return n?i.toString(n):i}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,s.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},s.prototype.computeSecret=function(e,n,r){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),o(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},s.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),o(n,e)},s.prototype.getPrivateKey=function(e){return o(this.keys.getPrivate(),e)},s.prototype.setPublicKey=function(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this.keys._importPublic(e),this},s.prototype.setPrivateKey=function(e,n){n=n||"utf8",t.isBuffer(e)||(e=new t(e,n));var r=new i(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/create-hash/browser.js":function(e,t,n){"use strict";var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/md5.js/index.js"),a=n("./node_modules/ripemd160/index.js"),s=n("./node_modules/sha.js/index.js"),o=n("./node_modules/cipher-base/index.js");function l(e){o.call(this,"digest"),this._hash=e}r(l,o),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new a:new l(s(e))}},"./node_modules/create-hash/md5.js":function(e,t,n){var r=n("./node_modules/md5.js/index.js");e.exports=function(e){return(new r).update(e).digest()}},"./node_modules/create-hmac/browser.js":function(e,t,n){"use strict";var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/create-hmac/legacy.js"),a=n("./node_modules/cipher-base/index.js"),s=n("./node_modules/safe-buffer/index.js").Buffer,o=n("./node_modules/create-hash/md5.js"),l=n("./node_modules/ripemd160/index.js"),c=n("./node_modules/sha.js/index.js"),u=s.alloc(128);function d(e,t){a.call(this,"digest"),"string"==typeof t&&(t=s.from(t));var n="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>n)?t=("rmd160"===e?new l:c(e)).update(t).digest():t.length<n&&(t=s.concat([t,u],n));for(var r=this._ipad=s.allocUnsafe(n),i=this._opad=s.allocUnsafe(n),o=0;o<n;o++)r[o]=54^t[o],i[o]=92^t[o];this._hash="rmd160"===e?new l:c(e),this._hash.update(r)}r(d,a),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new l:c(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new d("rmd160",t):"md5"===e?new i(o,t):new d(e,t)}},"./node_modules/create-hmac/legacy.js":function(e,t,n){"use strict";var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/safe-buffer/index.js").Buffer,a=n("./node_modules/cipher-base/index.js"),s=i.alloc(128);function o(e,t){a.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=i.concat([t,s],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),o=0;o<64;o++)n[o]=54^t[o],r[o]=92^t[o];this._hash=[n]}r(o,a),o.prototype._update=function(e){this._hash.push(e)},o.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=o},"./node_modules/crypto-browserify/index.js":function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n("./node_modules/randombytes/browser.js"),t.createHash=t.Hash=n("./node_modules/create-hash/browser.js"),t.createHmac=t.Hmac=n("./node_modules/create-hmac/browser.js");var r=n("./node_modules/browserify-sign/algos.js"),i=Object.keys(r),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return a};var s=n("./node_modules/pbkdf2/browser.js");t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var o=n("./node_modules/browserify-cipher/browser.js");t.Cipher=o.Cipher,t.createCipher=o.createCipher,t.Cipheriv=o.Cipheriv,t.createCipheriv=o.createCipheriv,t.Decipher=o.Decipher,t.createDecipher=o.createDecipher,t.Decipheriv=o.Decipheriv,t.createDecipheriv=o.createDecipheriv,t.getCiphers=o.getCiphers,t.listCiphers=o.listCiphers;var l=n("./node_modules/diffie-hellman/browser.js");t.DiffieHellmanGroup=l.DiffieHellmanGroup,t.createDiffieHellmanGroup=l.createDiffieHellmanGroup,t.getDiffieHellman=l.getDiffieHellman,t.createDiffieHellman=l.createDiffieHellman,t.DiffieHellman=l.DiffieHellman;var c=n("./node_modules/browserify-sign/browser/index.js");t.createSign=c.createSign,t.Sign=c.Sign,t.createVerify=c.createVerify,t.Verify=c.Verify,t.createECDH=n("./node_modules/create-ecdh/browser.js");var u=n("./node_modules/public-encrypt/browser.js");t.publicEncrypt=u.publicEncrypt,t.privateEncrypt=u.privateEncrypt,t.publicDecrypt=u.publicDecrypt,t.privateDecrypt=u.privateDecrypt;var d=n("./node_modules/randomfill/browser.js");t.randomFill=d.randomFill,t.randomFillSync=d.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"./node_modules/css-color-function/lib/adjusters.js":function(e,t,n){var r=n("./node_modules/color/index.js");function i(e){return function(t,n){var r;"modifier"==n[0].type&&(r=n.shift().value);var i=n[0].value;-1!=i.indexOf("%")?(i=parseInt(i,10)/100,r?"*"!=r&&(i=t[e]()*i):i*="alpha"==e?1:255):i=Number(i),t[e](s(t[e](),i,r))}}function a(e){return function(t,n){var r;"modifier"==n[0].type&&(r=n.shift().value);var i=parseFloat(n[0].value,10);t[e](s(t[e](),i,r))}}function s(e,t,n){switch(n){case"+":return e+t;case"-":return e-t;case"*":return e*t;default:return t}}t.red=i("red"),t.blue=i("blue"),t.green=i("green"),t.alpha=t.a=i("alpha"),t.rgb=function(){},t.hue=t.h=a("hue"),t.saturation=t.s=a("saturation"),t.lightness=t.l=a("lightness"),t.whiteness=t.w=a("whiteness"),t.blackness=t.b=a("blackness"),t.blend=function(e,t){var n=e.alpha();e.alpha(1);var i=new r(t[0].value),a=1-parseInt(t[1].value,10)/100;e.mix(i,a).alpha(n)},t.tint=function(e,n){n.unshift({type:"argument",value:"white"}),t.blend(e,n)},t.shade=function(e,n){n.unshift({type:"argument",value:"black"}),t.blend(e,n)},t.contrast=function(e,t){0==t.length&&t.push({type:"argument",value:"100%"});var n=1-parseInt(t[0].value,10)/100,i=e.luminosity()<.5?new r({h:e.hue(),w:100,b:0}):new r({h:e.hue(),w:0,b:100}),a=i;if(e.contrast(i)>4.5){var s=(a=function(e,t,n){t.hue();var r=t.clone(),i=t.whiteness(),a=t.blackness(),s=n.whiteness(),o=n.blackness();for(;Math.abs(i-s)>1||Math.abs(a-o)>1;){var l=Math.round((s+i)/2),c=Math.round((o+a)/2);r.whiteness(l),r.blackness(c),r.contrast(t)>e?(s=l,o=c):(i=l,a=c)}return r}(4.5,e,i)).alpha();a.alpha(1),a.mix(i,n).alpha(s)}e.hwb(a.hwb())}},"./node_modules/css-color-function/lib/convert.js":function(e,t,n){var r=n("./node_modules/css-color-function/node_modules/balanced-match/index.js"),i=n("./node_modules/color/index.js"),a=n("./node_modules/css-color-function/lib/parse.js"),s=n("./node_modules/css-color-function/lib/adjusters.js");e.exports=function e(t){var n=t.indexOf("color(");if(-1==n)return t;if(t=t.slice(n),!(t=r("(",")",t)))throw new SyntaxError("Missing closing parenthese for '"+t+"'");return function e(t){var n=new i("function"==t.arguments[0].type?e(t.arguments[0]):t.arguments[0].value);return t.arguments.slice(1).forEach((function(t){var r=t.name;if(!s[r])throw new Error("Unknown <color-adjuster> '"+r+"'");t.arguments.forEach((function(t){"function"==t.type&&"color"==t.name&&(t.value=e(t),t.type="color",delete t.name)})),s[r](n,t.arguments)})),n.rgbString()}(a("color("+t.body+")"))+e(t.post)}},"./node_modules/css-color-function/lib/index.js":function(e,t,n){var r=n("./node_modules/css-color-function/lib/convert.js"),i=n("./node_modules/css-color-function/lib/parse.js");t.convert=r,t.parse=i},"./node_modules/css-color-function/lib/parse.js":function(e,t,n){var r=n("./node_modules/css-color-function/node_modules/balanced-match/index.js"),i=n("./node_modules/css-color-function/node_modules/debug/src/browser.js")("css-color-function:parse");e.exports=function(e){"string"!=typeof e&&(e=e.toString());function t(t){var n=t.exec(e);if(n)return e=e.slice(n[0].length),n.slice(1)}function n(){t(/^\s+/)}function a(){var e=t(/^([\+\-\*])/);if(e){var n={type:"modifier"};return n.value=e[0],i("modifier %o",n),n}}function s(){var e=t(/^([^\)\s]+)/);if(e){var n={type:"number"};return n.value=e[0],i("number %o",n),n}}function o(){var e=t(/^(\w+)\(/);if(e){n();var r={type:"function"};return r.name=e[0],r.arguments=function(){for(var e,t=[];e=a()||c()||s();)t.push(e),n();return i("args %o",t),t}(),function(){var e=t(/^\)/);if(e)i("rparen")}(),i("adjuster %o",r),r}}function l(){var e={type:"color"},r=t(/([^\)\s]+)/)[0];-1!=r.indexOf("(")&&(r+=t(/([^\)]*?\))/)[0]);return e.value=r,n(),e}function c(){if(e.match(/^color\(/)){var t=r("(",")",e);if(!t)throw new SyntaxError("Missing closing parenthese for '"+e+"'");if(""===t.body)throw new SyntaxError("color() function cannot be empty");e=t.body,n();var a,s={};for(s.type="function",s.name="color",s.arguments=[c()||l()],i("function arguments %o",s.arguments);a=o();)s.arguments.push(a),n();return e=t.post,n(),i("function %o",s),s}}return i("string %s",e),c()}},"./node_modules/css-color-function/node_modules/balanced-match/index.js":function(e,t){e.exports=function(e,t,n){for(var r=0,i={},a=0;a<n.length;a++)if(e==n.substr(a,e.length))"start"in i||(i.start=a),r++;else if(t==n.substr(a,t.length)&&"start"in i&&!--r)return i.end=a,i.pre=n.substr(0,i.start),i.body=i.end-i.start>1?n.substring(i.start+e.length,i.end):"",i.post=n.slice(i.end+t.length),i}},"./node_modules/css-color-function/node_modules/debug/src/browser.js":function(e,t,n){"use strict";(function(r){function i(e){return(i="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)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":i(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&void 0!==r&&"env"in r&&(e=Object({NODE_ENV:"production"}).DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n("./node_modules/css-color-function/node_modules/debug/src/common.js")(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/css-color-function/node_modules/debug/src/common.js":function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function s(){if(s.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=s,o=Number(new Date),l=o-(n||o);a.diff=l,a.prev=n,a.curr=o,n=o,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var c=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;c++;var i=r.formatters[n];if("function"==typeof i){var s=t[c];e=i.call(a,s),t.splice(c,1),c--}return e})),r.formatArgs.call(a,t);var u=a.log||r.log;u.apply(a,t)}}return s.namespace=e,s.enabled=r.enabled(e),s.useColors=r.useColors(),s.color=t(e),s.destroy=i,s.extend=a,"function"==typeof r.init&&r.init(s),r.instances.push(s),s}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var a=r.instances[t];a.enabled=r.enabled(a.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n("./node_modules/ms/index.js"),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},"./node_modules/cssesc/cssesc.js":function(e,t,n){"use strict";var r={}.hasOwnProperty,i=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,o=function e(t,n){"single"!=(n=function(e,t){if(!e)return t;var n={};for(var i in t)n[i]=r.call(e,i)?e[i]:t[i];return n}(n,e.options)).quotes&&"double"!=n.quotes&&(n.quotes="single");for(var o="double"==n.quotes?'"':"'",l=n.isIdentifier,c=t.charAt(0),u="",d=0,f=t.length;d<f;){var h=t.charAt(d++),p=h.charCodeAt(),m=void 0;if(p<32||p>126){if(p>=55296&&p<=56319&&d<f){var b=t.charCodeAt(d++);56320==(64512&b)?p=((1023&p)<<10)+(1023&b)+65536:d--}m="\\"+p.toString(16).toUpperCase()+" "}else m=n.escapeEverything?i.test(h)?"\\"+h:"\\"+p.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(h)?"\\"+p.toString(16).toUpperCase()+" ":"\\"==h||!l&&('"'==h&&o==h||"'"==h&&o==h)||l&&a.test(h)?"\\"+h:h;u+=m}return l&&(/^-[-\d]/.test(u)?u="\\-"+u.slice(1):/\d/.test(c)&&(u="\\3"+c+" "+u.slice(1))),u=u.replace(s,(function(e,t,n){return t&&t.length%2?e:(t||"")+n})),!l&&n.wrap?o+u+o:u};o.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},o.version="3.0.0",e.exports=o},"./node_modules/d/index.js":function(e,t,n){"use strict";var r=n("./node_modules/type/value/is.js"),i=n("./node_modules/type/plain-function/is.js"),a=n("./node_modules/es5-ext/object/assign/index.js"),s=n("./node_modules/es5-ext/object/normalize-options.js"),o=n("./node_modules/es5-ext/string/#/contains/index.js");(e.exports=function(e,t){var n,i,l,c,u;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],r(e)?(n=o.call(e,"c"),i=o.call(e,"e"),l=o.call(e,"w")):(n=l=!0,i=!1),u={value:t,configurable:n,enumerable:i,writable:l},c?a(s(c),u):u}).gs=function(e,t,n){var l,c,u,d;return"string"!=typeof e?(u=n,n=t,t=e,e=null):u=arguments[3],r(t)?i(t)?r(n)?i(n)||(u=n,n=void 0):n=void 0:(u=t,t=n=void 0):t=void 0,r(e)?(l=o.call(e,"c"),c=o.call(e,"e")):(l=!0,c=!1),d={get:t,set:n,configurable:l,enumerable:c},u?a(s(u),d):d}},"./node_modules/des.js/lib/des.js":function(e,t,n){"use strict";t.utils=n("./node_modules/des.js/lib/des/utils.js"),t.Cipher=n("./node_modules/des.js/lib/des/cipher.js"),t.DES=n("./node_modules/des.js/lib/des/des.js"),t.CBC=n("./node_modules/des.js/lib/des/cbc.js"),t.EDE=n("./node_modules/des.js/lib/des/ede.js")},"./node_modules/des.js/lib/des/cbc.js":function(e,t,n){"use strict";var r=n("./node_modules/minimalistic-assert/index.js"),i=n("./node_modules/inherits/inherits_browser.js"),a={};function s(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var n=Object.keys(a),r=0;r<n.length;r++){var s=n[r];t.prototype[s]=a[s]}return t.create=function(e){return new t(e)},t},a._cbcInit=function(){var e=new s(this.options.iv);this._cbcState=e},a._update=function(e,t,n,r){var i=this._cbcState,a=this.constructor.super_.prototype,s=i.iv;if("encrypt"===this.type){for(var o=0;o<this.blockSize;o++)s[o]^=e[t+o];a._update.call(this,s,0,n,r);for(o=0;o<this.blockSize;o++)s[o]=n[r+o]}else{a._update.call(this,e,t,n,r);for(o=0;o<this.blockSize;o++)n[r+o]^=s[o];for(o=0;o<this.blockSize;o++)s[o]=e[t+o]}}},"./node_modules/des.js/lib/des/cipher.js":function(e,t,n){"use strict";var r=n("./node_modules/minimalistic-assert/index.js");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,n=0,r=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var a=e.length-(e.length-t)%this.blockSize;t<a;t+=this.blockSize)this._update(e,t,i,n),n+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},"./node_modules/des.js/lib/des/des.js":function(e,t,n){"use strict";var r=n("./node_modules/minimalistic-assert/index.js"),i=n("./node_modules/inherits/inherits_browser.js"),a=n("./node_modules/des.js/lib/des/utils.js"),s=n("./node_modules/des.js/lib/des/cipher.js");function o(){this.tmp=new Array(2),this.keys=null}function l(e){s.call(this,e);var t=new o;this._desState=t,this.deriveKeys(t,e.key)}i(l,s),e.exports=l,l.create=function(e){return new l(e)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=new Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=a.readUInt32BE(t,0),i=a.readUInt32BE(t,4);a.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var s=0;s<e.keys.length;s+=2){var o=c[s>>>1];n=a.r28shl(n,o),i=a.r28shl(i,o),a.pc2(n,i,e.keys,s)}},l.prototype._update=function(e,t,n,r){var i=this._desState,s=a.readUInt32BE(e,t),o=a.readUInt32BE(e,t+4);a.ip(s,o,i.tmp,0),s=i.tmp[0],o=i.tmp[1],"encrypt"===this.type?this._encrypt(i,s,o,i.tmp,0):this._decrypt(i,s,o,i.tmp,0),s=i.tmp[0],o=i.tmp[1],a.writeUInt32BE(n,s,r),a.writeUInt32BE(n,o,r+4)},l.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},l.prototype._unpad=function(e){for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,n,r,i){for(var s=t,o=n,l=0;l<e.keys.length;l+=2){var c=e.keys[l],u=e.keys[l+1];a.expand(o,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=a.substitute(c,u),f=o;o=(s^a.permute(d))>>>0,s=f}a.rip(o,s,r,i)},l.prototype._decrypt=function(e,t,n,r,i){for(var s=n,o=t,l=e.keys.length-2;l>=0;l-=2){var c=e.keys[l],u=e.keys[l+1];a.expand(s,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=a.substitute(c,u),f=s;s=(o^a.permute(d))>>>0,o=f}a.rip(s,o,r,i)}},"./node_modules/des.js/lib/des/ede.js":function(e,t,n){"use strict";var r=n("./node_modules/minimalistic-assert/index.js"),i=n("./node_modules/inherits/inherits_browser.js"),a=n("./node_modules/des.js/lib/des/cipher.js"),s=n("./node_modules/des.js/lib/des/des.js");function o(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),a=t.slice(16,24);this.ciphers="encrypt"===e?[s.create({type:"encrypt",key:n}),s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:a})]:[s.create({type:"decrypt",key:a}),s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:n})]}function l(e){a.call(this,e);var t=new o(this.type,this.options.key);this._edeState=t}i(l,a),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},l.prototype._pad=s.prototype._pad,l.prototype._unpad=s.prototype._unpad},"./node_modules/des.js/lib/des/utils.js":function(e,t,n){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,a=0,s=6;s>=0;s-=2){for(var o=0;o<=24;o+=8)i<<=1,i|=t>>>o+s&1;for(o=0;o<=24;o+=8)i<<=1,i|=e>>>o+s&1}for(s=6;s>=0;s-=2){for(o=1;o<=25;o+=8)a<<=1,a|=t>>>o+s&1;for(o=1;o<=25;o+=8)a<<=1,a|=e>>>o+s&1}n[r+0]=i>>>0,n[r+1]=a>>>0},t.rip=function(e,t,n,r){for(var i=0,a=0,s=0;s<4;s++)for(var o=24;o>=0;o-=8)i<<=1,i|=t>>>o+s&1,i<<=1,i|=e>>>o+s&1;for(s=4;s<8;s++)for(o=24;o>=0;o-=8)a<<=1,a|=t>>>o+s&1,a<<=1,a|=e>>>o+s&1;n[r+0]=i>>>0,n[r+1]=a>>>0},t.pc1=function(e,t,n,r){for(var i=0,a=0,s=7;s>=5;s--){for(var o=0;o<=24;o+=8)i<<=1,i|=t>>o+s&1;for(o=0;o<=24;o+=8)i<<=1,i|=e>>o+s&1}for(o=0;o<=24;o+=8)i<<=1,i|=t>>o+s&1;for(s=1;s<=3;s++){for(o=0;o<=24;o+=8)a<<=1,a|=t>>o+s&1;for(o=0;o<=24;o+=8)a<<=1,a|=e>>o+s&1}for(o=0;o<=24;o+=8)a<<=1,a|=e>>o+s&1;n[r+0]=i>>>0,n[r+1]=a>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,n,i){for(var a=0,s=0,o=r.length>>>1,l=0;l<o;l++)a<<=1,a|=e>>>r[l]&1;for(l=o;l<r.length;l++)s<<=1,s|=t>>>r[l]&1;n[i+0]=a>>>0,n[i+1]=s>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)r<<=6,r|=e>>>a&63;for(a=11;a>=3;a-=4)i|=e>>>a&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(e>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(t>>>18-6*r&63)]}return n>>>0};var a=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,n=0;n<a.length;n++)t<<=1,t|=e>>>a[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.length<t;)r="0"+r;for(var i=[],a=0;a<t;a+=n)i.push(r.slice(a,a+n));return i.join(" ")}},"./node_modules/diffie-hellman/browser.js":function(e,t,n){(function(e){var r=n("./node_modules/diffie-hellman/lib/generatePrime.js"),i=n("./node_modules/diffie-hellman/lib/primes.json"),a=n("./node_modules/diffie-hellman/lib/dh.js");var s={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var n=new e(i[t].prime,"hex"),r=new e(i[t].gen,"hex");return new a(n,r)},t.createDiffieHellman=t.DiffieHellman=function t(n,i,o,l){return e.isBuffer(i)||void 0===s[i]?t(n,"binary",i,o):(i=i||"binary",l=l||"binary",o=o||new e([2]),e.isBuffer(o)||(o=new e(o,l)),"number"==typeof n?new a(r(n,o),o,!0):(e.isBuffer(n)||(n=new e(n,i)),new a(n,o,!0)))}}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/diffie-hellman/lib/dh.js":function(e,t,n){(function(t){var r=n("./node_modules/bn.js/lib/bn.js"),i=new(n("./node_modules/miller-rabin/lib/mr.js")),a=new r(24),s=new r(11),o=new r(10),l=new r(3),c=new r(7),u=n("./node_modules/diffie-hellman/lib/generatePrime.js"),d=n("./node_modules/randombytes/browser.js");function f(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._pub=new r(e),this}function h(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._priv=new r(e),this}e.exports=m;var p={};function m(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=f,this.setPrivateKey=h):this._primeCode=8}function b(e,n){var r=new t(e.toArray());return n?r.toString(n):r}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),r=[n,e.toString(16)].join("_");if(r in p)return p[r];var d,f=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!i.test(e))return f+=1,f+="02"===n||"05"===n?8:4,p[r]=f,f;switch(i.test(e.shrn(1))||(f+=2),n){case"02":e.mod(a).cmp(s)&&(f+=8);break;case"05":(d=e.mod(o)).cmp(l)&&d.cmp(c)&&(f+=8);break;default:f+=4}return p[r]=f,f}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new r(d(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var n=(e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new t(n.toArray()),a=this.getPrime();if(i.length<a.length){var s=new t(a.length-i.length);s.fill(0),i=t.concat([s,i])}return i},m.prototype.getPublicKey=function(e){return b(this._pub,e)},m.prototype.getPrivateKey=function(e){return b(this._priv,e)},m.prototype.getPrime=function(e){return b(this.__prime,e)},m.prototype.getGenerator=function(e){return b(this._gen,e)},m.prototype.setGenerator=function(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this.__gen=e,this._gen=new r(e),this}}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/diffie-hellman/lib/generatePrime.js":function(e,t,n){var r=n("./node_modules/randombytes/browser.js");e.exports=g,g.simpleSieve=b,g.fermatTest=v;var i=n("./node_modules/bn.js/lib/bn.js"),a=new i(24),s=new(n("./node_modules/miller-rabin/lib/mr.js")),o=new i(1),l=new i(2),c=new i(5),u=(new i(16),new i(8),new i(10)),d=new i(3),f=(new i(7),new i(11)),h=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<t&&e[i]<=r&&n%e[i]!=0;i++);t!==i&&e[i]<=r||(e[t++]=n)}return p=e,e}function b(e){for(var t=m(),n=0;n<t.length;n++)if(0===e.modn(t[n]))return 0===e.cmpn(t[n]);return!0}function v(e){var t=i.mont(e);return 0===l.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function g(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var n,p;for(t=new i(t);;){for(n=new i(r(Math.ceil(e/8)));n.bitLength()>e;)n.ishrn(1);if(n.isEven()&&n.iadd(o),n.testn(1)||n.iadd(l),t.cmp(l)){if(!t.cmp(c))for(;n.mod(u).cmp(d);)n.iadd(h)}else for(;n.mod(a).cmp(f);)n.iadd(h);if(b(p=n.shrn(1))&&b(n)&&v(p)&&v(n)&&s.test(p)&&s.test(n))return n}}},"./node_modules/diffie-hellman/lib/primes.json":function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},"./node_modules/dom-css/index.js":function(e,t,n){var r=n("./node_modules/prefix-style/index.js"),i=n("./node_modules/to-camel-case/index.js"),a={float:"cssFloat"},s=n("./node_modules/add-px-to-style/index.js");function o(e,t,n){var o=a[t];if(void 0===o&&(o=function(e){var t=i(e),n=r(t);return a[t]=a[e]=a[n]=n,n}(t)),o){if(void 0===n)return e.style[o];e.style[o]=s(o,n)}}function l(e,t){for(var n in t)t.hasOwnProperty(n)&&o(e,n,t[n])}function c(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:l(arguments[0],arguments[1]):o(arguments[0],arguments[1],arguments[2])}e.exports=c,e.exports.set=c,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce((function(t,n){return t[n]=o(e,n||""),t}),{}):o(e,t||"")}},"./node_modules/elliptic/lib/elliptic.js":function(e,t,n){"use strict";var r=t;r.version=n("./node_modules/elliptic/package.json").version,r.utils=n("./node_modules/elliptic/lib/elliptic/utils.js"),r.rand=n("./node_modules/brorand/index.js"),r.curve=n("./node_modules/elliptic/lib/elliptic/curve/index.js"),r.curves=n("./node_modules/elliptic/lib/elliptic/curves.js"),r.ec=n("./node_modules/elliptic/lib/elliptic/ec/index.js"),r.eddsa=n("./node_modules/elliptic/lib/elliptic/eddsa/index.js")},"./node_modules/elliptic/lib/elliptic/curve/base.js":function(e,t,n){"use strict";var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/elliptic/lib/elliptic/utils.js"),a=i.getNAF,s=i.getJSF,o=i.assert;function l(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){o(e.precomputed);var n=e._getDoubles(),r=a(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;for(var s=[],l=0;l<r.length;l+=n.step){var c=0;for(t=l+n.step-1;t>=l;t--)c=(c<<1)+r[t];s.push(c)}for(var u=this.jpoint(null,null,null),d=this.jpoint(null,null,null),f=i;f>0;f--){for(l=0;l<s.length;l++){(c=s[l])===f?d=d.mixedAdd(n.points[l]):c===-f&&(d=d.mixedAdd(n.points[l].neg()))}u=u.add(d)}return u.toP()},l.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,s=a(t,n,this._bitLength),l=this.jpoint(null,null,null),c=s.length-1;c>=0;c--){for(t=0;c>=0&&0===s[c];c--)t++;if(c>=0&&t++,l=l.dblp(t),c<0)break;var u=s[c];o(0!==u),l="affine"===e.type?u>0?l.mixedAdd(i[u-1>>1]):l.mixedAdd(i[-u-1>>1].neg()):u>0?l.add(i[u-1>>1]):l.add(i[-u-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,n,r,i){for(var o=this._wnafT1,l=this._wnafT2,c=this._wnafT3,u=0,d=0;d<r;d++){var f=(k=t[d])._getNAFPoints(e);o[d]=f.wnd,l[d]=f.points}for(d=r-1;d>=1;d-=2){var h=d-1,p=d;if(1===o[h]&&1===o[p]){var m=[t[h],null,null,t[p]];0===t[h].y.cmp(t[p].y)?(m[1]=t[h].add(t[p]),m[2]=t[h].toJ().mixedAdd(t[p].neg())):0===t[h].y.cmp(t[p].y.redNeg())?(m[1]=t[h].toJ().mixedAdd(t[p]),m[2]=t[h].add(t[p].neg())):(m[1]=t[h].toJ().mixedAdd(t[p]),m[2]=t[h].toJ().mixedAdd(t[p].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],v=s(n[h],n[p]);u=Math.max(v[0].length,u),c[h]=new Array(u),c[p]=new Array(u);for(var g=0;g<u;g++){var y=0|v[0][g],w=0|v[1][g];c[h][g]=b[3*(y+1)+(w+1)],c[p][g]=0,l[h]=m}}else c[h]=a(n[h],o[h],this._bitLength),c[p]=a(n[p],o[p],this._bitLength),u=Math.max(c[h].length,u),u=Math.max(c[p].length,u)}var C=this.jpoint(null,null,null),_=this._wnafT4;for(d=u;d>=0;d--){for(var S=0;d>=0;){var x=!0;for(g=0;g<r;g++)_[g]=0|c[g][d],0!==_[g]&&(x=!1);if(!x)break;S++,d--}if(d>=0&&S++,C=C.dblp(S),d<0)break;for(g=0;g<r;g++){var k,T=_[g];0!==T&&(T>0?k=l[g][T-1>>1]:T<0&&(k=l[g][-T-1>>1].neg()),C="affine"===k.type?C.mixedAdd(k):C.add(k))}}for(d=0;d<r;d++)l[d]=null;return i?C:C.toP()},l.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*n)return 6===e[0]?o(e[e.length-1]%2==0):7===e[0]&&o(e[e.length-1]%2==1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},c.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},c.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},c.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<t;i+=e){for(var a=0;a<e;a++)r=r.dbl();n.push(r)}return{step:e,points:n}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}},"./node_modules/elliptic/lib/elliptic/curve/edwards.js":function(e,t,n){"use strict";var r=n("./node_modules/elliptic/lib/elliptic/utils.js"),i=n("./node_modules/bn.js/lib/bn.js"),a=n("./node_modules/inherits/inherits_browser.js"),s=n("./node_modules/elliptic/lib/elliptic/curve/base.js"),o=r.assert;function l(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),o(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function c(e,t,n,r,a){s.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=a&&new i(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(l,s),e.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),a=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=r.redMul(a.redInvm()),o=s.redSqrt();if(0!==o.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var l=o.fromRed().isOdd();return(t&&!l||!t&&l)&&(o=o.redNeg()),this.point(e,o)},l.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),a=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(a.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var o=s.redSqrt();if(0!==o.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return o.fromRed().isOdd()!==t&&(o=o.redNeg()),this.point(o,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},a(c,s.BasePoint),l.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},l.prototype.point=function(e,t,n,r){return new c(this,e,t,n,r)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=r.redAdd(t),s=a.redSub(n),o=r.redSub(t),l=i.redMul(s),c=a.redMul(o),u=i.redMul(o),d=s.redMul(a);return this.curve.point(l,c,d,u)},c.prototype._projDbl=function(){var e,t,n,r=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var s=(c=this.curve._mulA(i)).redAdd(a);if(this.zOne)e=r.redSub(i).redSub(a).redMul(s.redSub(this.curve.two)),t=s.redMul(c.redSub(a)),n=s.redSqr().redSub(s).redSub(s);else{var o=this.z.redSqr(),l=s.redSub(o).redISub(o);e=r.redSub(i).redISub(a).redMul(l),t=s.redMul(c.redSub(a)),n=s.redMul(l)}}else{var c=i.redAdd(a);o=this.curve._mulC(this.z).redSqr(),l=c.redSub(o).redSub(o);e=this.curve._mulC(r.redISub(c)).redMul(l),t=this.curve._mulC(c).redMul(i.redISub(a)),n=c.redMul(l)}return this.curve.point(e,t,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),a=n.redSub(t),s=i.redSub(r),o=i.redAdd(r),l=n.redAdd(t),c=a.redMul(s),u=o.redMul(l),d=a.redMul(l),f=s.redMul(o);return this.curve.point(c,u,f,d)},c.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),a=this.x.redMul(e.x),s=this.y.redMul(e.y),o=this.curve.d.redMul(a).redMul(s),l=i.redSub(o),c=i.redAdd(o),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(s),d=r.redMul(l).redMul(u);return this.curve.twisted?(t=r.redMul(c).redMul(s.redSub(this.curve._mulA(a))),n=l.redMul(c)):(t=r.redMul(c).redMul(s.redSub(a)),n=this.curve._mulC(l).redMul(c)),this.curve.point(d,t,n)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},c.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},"./node_modules/elliptic/lib/elliptic/curve/index.js":function(e,t,n){"use strict";var r=t;r.base=n("./node_modules/elliptic/lib/elliptic/curve/base.js"),r.short=n("./node_modules/elliptic/lib/elliptic/curve/short.js"),r.mont=n("./node_modules/elliptic/lib/elliptic/curve/mont.js"),r.edwards=n("./node_modules/elliptic/lib/elliptic/curve/edwards.js")},"./node_modules/elliptic/lib/elliptic/curve/mont.js":function(e,t,n){"use strict";var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/inherits/inherits_browser.js"),a=n("./node_modules/elliptic/lib/elliptic/curve/base.js"),s=n("./node_modules/elliptic/lib/elliptic/utils.js");function o(e){a.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,n){a.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(o,a),e.exports=o,o.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(l,a.BasePoint),o.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},o.prototype.point=function(e,t){return new l(this,e,t)},o.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(n),s=i.redMul(r),o=t.z.redMul(a.redAdd(s).redSqr()),l=t.x.redMul(a.redISub(s).redSqr());return this.curve.point(o,l)},l.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var a=i.length-1;a>=0;a--)0===i[a]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},"./node_modules/elliptic/lib/elliptic/curve/short.js":function(e,t,n){"use strict";var r=n("./node_modules/elliptic/lib/elliptic/utils.js"),i=n("./node_modules/bn.js/lib/bn.js"),a=n("./node_modules/inherits/inherits_browser.js"),s=n("./node_modules/elliptic/lib/elliptic/curve/base.js"),o=r.assert;function l(e){s.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(e,t,n,r){s.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(e,t,n,r){s.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(l,s),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?n=a[0]:(n=a[1],o(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),a=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(a).fromRed(),r.redSub(a).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,n,r,a,s,o,l,c,u,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,h=this.n.clone(),p=new i(1),m=new i(0),b=new i(0),v=new i(1),g=0;0!==f.cmpn(0);){var y=h.div(f);c=h.sub(y.mul(f)),u=b.sub(y.mul(p));var w=v.sub(y.mul(m));if(!r&&c.cmp(d)<0)t=l.neg(),n=p,r=c.neg(),a=u;else if(r&&2==++g)break;l=c,h=f,f=c,b=p,p=u,v=m,m=w}s=c.neg(),o=u;var C=r.sqr().add(a.sqr());return s.sqr().add(o.sqr()).cmp(C)>=0&&(s=t,o=n),r.negative&&(r=r.neg(),a=a.neg()),s.negative&&(s=s.neg(),o=o.neg()),[{a:r,b:a},{a:s,b:o}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),a=n.b.neg().mul(e).divRound(this.n),s=i.mul(n.a),o=a.mul(r.a),l=i.mul(n.b),c=a.mul(r.b);return{k1:e.sub(s).sub(o),k2:l.add(c).neg()}},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var a=r.fromRed().isOdd();return(t&&!a||!t&&a)&&(r=r.redNeg()),this.point(e,r)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,a=0;a<e.length;a++){var s=this._endoSplit(t[a]),o=e[a],l=o._getBeta();s.k1.negative&&(s.k1.ineg(),o=o.neg(!0)),s.k2.negative&&(s.k2.ineg(),l=l.neg(!0)),r[2*a]=o,r[2*a+1]=l,i[2*a]=s.k1,i[2*a+1]=s.k2}for(var c=this._wnafMulAdd(1,r,i,2*a,n),u=0;u<2*a;u++)r[u]=null,i[u]=null;return c},a(c,s.BasePoint),l.prototype.point=function(e,t,n){return new c(this,e,t,n)},l.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(e,t,n){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var a=t[2];return r.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[r].concat(a.doubles.points.map(i))},naf:a.naf&&{wnd:a.naf.wnd,points:[r].concat(a.naf.points.map(i))}},r},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),a=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(u,s.BasePoint),l.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),a=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(n.redMul(this.z)),o=r.redSub(i),l=a.redSub(s);if(0===o.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),u=c.redMul(o),d=r.redMul(c),f=l.redSqr().redIAdd(u).redISub(d).redISub(d),h=l.redMul(d.redISub(f)).redISub(a.redMul(u)),p=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(f,h,p)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),s=n.redSub(r),o=i.redSub(a);if(0===s.cmpn(0))return 0!==o.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),c=l.redMul(s),u=n.redMul(l),d=o.redSqr().redIAdd(c).redISub(u).redISub(u),f=o.redMul(u.redISub(d)).redISub(i.redMul(c)),h=this.z.redMul(s);return this.curve.jpoint(d,f,h)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}var r=this.curve.a,i=this.curve.tinv,a=this.x,s=this.y,o=this.z,l=o.redSqr().redSqr(),c=s.redAdd(s);for(n=0;n<e;n++){var u=a.redSqr(),d=c.redSqr(),f=d.redSqr(),h=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(l)),p=a.redMul(d),m=h.redSqr().redISub(p.redAdd(p)),b=p.redISub(m),v=h.redMul(b);v=v.redIAdd(v).redISub(f);var g=c.redMul(o);n+1<e&&(l=l.redMul(f)),a=m,o=g,c=v}return this.curve.jpoint(a,c.redMul(i),o)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(a);s=s.redIAdd(s);var o=r.redAdd(r).redIAdd(r),l=o.redSqr().redISub(s).redISub(s),c=a.redIAdd(a);c=(c=c.redIAdd(c)).redIAdd(c),e=l,t=o.redMul(s.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),d=this.y.redSqr(),f=d.redSqr(),h=this.x.redAdd(d).redSqr().redISub(u).redISub(f);h=h.redIAdd(h);var p=u.redAdd(u).redIAdd(u),m=p.redSqr(),b=f.redIAdd(f);b=(b=b.redIAdd(b)).redIAdd(b),e=m.redISub(h).redISub(h),t=p.redMul(h.redISub(e)).redISub(b),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},u.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(a);s=s.redIAdd(s);var o=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),l=o.redSqr().redISub(s).redISub(s);e=l;var c=a.redIAdd(a);c=(c=c.redIAdd(c)).redIAdd(c),t=o.redMul(s.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),d=this.y.redSqr(),f=this.x.redMul(d),h=this.x.redSub(u).redMul(this.x.redAdd(u));h=h.redAdd(h).redIAdd(h);var p=f.redIAdd(f),m=(p=p.redIAdd(p)).redAdd(p);e=h.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(d).redISub(u);var b=d.redSqr();b=(b=(b=b.redIAdd(b)).redIAdd(b)).redIAdd(b),t=h.redMul(p.redISub(e)).redISub(b)}return this.curve.jpoint(e,t,n)},u.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),a=t.redSqr(),s=n.redSqr(),o=a.redAdd(a).redIAdd(a).redIAdd(e.redMul(i)),l=t.redAdd(t),c=(l=l.redIAdd(l)).redMul(s),u=o.redSqr().redISub(c.redAdd(c)),d=c.redISub(u),f=s.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var h=o.redMul(d).redISub(f),p=n.redAdd(n).redMul(r);return this.curve.jpoint(u,h,p)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),a=i.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(r),o=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(a)).redSqr(),l=r.redIAdd(r);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var c=i.redIAdd(s).redSqr().redISub(a).redISub(o).redISub(l),u=t.redMul(c);u=(u=u.redIAdd(u)).redIAdd(u);var d=this.x.redMul(o).redISub(u);d=(d=d.redIAdd(d)).redIAdd(d);var f=this.y.redMul(c.redMul(l.redISub(c)).redISub(s.redMul(o)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var h=this.z.redAdd(s).redSqr().redISub(n).redISub(o);return this.curve.jpoint(d,f,h)},u.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},u.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},u.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},"./node_modules/elliptic/lib/elliptic/curves.js":function(e,t,n){"use strict";var r,i=t,a=n("./node_modules/hash.js/lib/hash.js"),s=n("./node_modules/elliptic/lib/elliptic/curve/index.js"),o=n("./node_modules/elliptic/lib/elliptic/utils.js").assert;function l(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n("./node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js")}catch(u){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},"./node_modules/elliptic/lib/elliptic/ec/index.js":function(e,t,n){"use strict";var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/hmac-drbg/lib/hmac-drbg.js"),a=n("./node_modules/elliptic/lib/elliptic/utils.js"),s=n("./node_modules/elliptic/lib/elliptic/curves.js"),o=n("./node_modules/brorand/index.js"),l=a.assert,c=n("./node_modules/elliptic/lib/elliptic/ec/key.js"),u=n("./node_modules/elliptic/lib/elliptic/ec/signature.js");function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(l(s.hasOwnProperty(e),"Unknown curve "+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=d,d.prototype.keyPair=function(e){return new c(this,e)},d.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||o(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new r(2));;){var s=new r(t.generate(n));if(!(s.cmp(a)>0))return s.iaddn(1),this.keyFromPrivate(s)}},d.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,n,a){"object"==typeof n&&(a=n,n=null),a||(a={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var s=this.n.byteLength(),o=t.getPrivate().toArray("be",s),l=e.toArray("be",s),c=new i({hash:this.hash,entropy:o,nonce:l,pers:a.pers,persEnc:a.persEnc||"utf8"}),d=this.n.sub(new r(1)),f=0;;f++){var h=a.k?a.k(f):new r(c.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(d)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var m=p.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var v=h.invm(this.n).mul(b.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return a.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),g^=1),new u({r:b,s:v,recoveryParam:g})}}}}}},d.prototype.verify=function(e,t,n,i){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,i);var a=(t=new u(t,"hex")).r,s=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var o,l=s.invm(this.n),c=l.mul(e).umod(this.n),d=l.mul(a).umod(this.n);return this.curve._maxwellTrick?!(o=this.g.jmulAdd(c,n.getPublic(),d)).isInfinity()&&o.eqXToP(a):!(o=this.g.mulAdd(c,n.getPublic(),d)).isInfinity()&&0===o.getX().umod(this.n).cmp(a)},d.prototype.recoverPubKey=function(e,t,n,i){l((3&n)===n,"The recovery param is more than two bits"),t=new u(t,i);var a=this.n,s=new r(e),o=t.r,c=t.s,d=1&n,f=n>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");o=f?this.curve.pointFromX(o.add(this.curve.n),d):this.curve.pointFromX(o,d);var h=t.r.invm(a),p=a.sub(s).mul(h).umod(a),m=c.mul(h).umod(a);return this.g.mulAdd(p,o,m)},d.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new u(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},"./node_modules/elliptic/lib/elliptic/ec/key.js":function(e,t,n){"use strict";var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/elliptic/lib/elliptic/utils.js").assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,n){return t instanceof a?t:new a(e,{pub:t,pubEnc:n})},a.fromPrivate=function(e,t,n){return t instanceof a?t:new a(e,{priv:t,privEnc:n})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.mul(this.priv).getX()},a.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},"./node_modules/elliptic/lib/elliptic/ec/signature.js":function(e,t,n){"use strict";var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/elliptic/lib/elliptic/utils.js"),a=i.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function o(){this.place=0}function l(e,t){var n=e[t.place++];if(!(128&n))return n;for(var r=15&n,i=0,a=0,s=t.place;a<r;a++,s++)i<<=8,i|=e[s];return t.place=s,i}function c(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function u(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=s,s.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new o;if(48!==e[n.place++])return!1;if(l(e,n)+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var a=l(e,n),s=e.slice(n.place,a+n.place);if(n.place+=a,2!==e[n.place++])return!1;var c=l(e,n);if(e.length!==c+n.place)return!1;var u=e.slice(n.place,c+n.place);return 0===s[0]&&128&s[1]&&(s=s.slice(1)),0===u[0]&&128&u[1]&&(u=u.slice(1)),this.r=new r(s),this.s=new r(u),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=c(t),n=c(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];u(r,t.length),(r=r.concat(t)).push(2),u(r,n.length);var a=r.concat(n),s=[48];return u(s,a.length),s=s.concat(a),i.encode(s,e)}},"./node_modules/elliptic/lib/elliptic/eddsa/index.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash.js"),i=n("./node_modules/elliptic/lib/elliptic/curves.js"),a=n("./node_modules/elliptic/lib/elliptic/utils.js"),s=a.assert,o=a.parseBytes,l=n("./node_modules/elliptic/lib/elliptic/eddsa/key.js"),c=n("./node_modules/elliptic/lib/elliptic/eddsa/signature.js");function u(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);e=i[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=u,u.prototype.sign=function(e,t){e=o(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),a=this.encodePoint(i),s=this.hashInt(a,n.pubBytes(),e).mul(n.priv()),l=r.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:l,Rencoded:a})},u.prototype.verify=function(e,t,n){e=o(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(a)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return a.intFromLE(e.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},u.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},u.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},u.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},u.prototype.decodePoint=function(e){var t=(e=a.parseBytes(e)).length-1,n=e.slice(0,t).concat(-129&e[t]),r=0!=(128&e[t]),i=a.intFromLE(n);return this.curve.pointFromY(i,r)},u.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(e){return a.intFromLE(e)},u.prototype.isPoint=function(e){return e instanceof this.pointClass}},"./node_modules/elliptic/lib/elliptic/eddsa/key.js":function(e,t,n){"use strict";var r=n("./node_modules/elliptic/lib/elliptic/utils.js"),i=r.assert,a=r.parseBytes,s=r.cachedProperty;function o(e,t){this.eddsa=e,this._secret=a(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=a(t.pub)}o.fromPublic=function(e,t){return t instanceof o?t:new o(e,{pub:t})},o.fromSecret=function(e,t){return t instanceof o?t:new o(e,{secret:t})},o.prototype.secret=function(){return this._secret},s(o,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),s(o,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),s(o,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),s(o,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),s(o,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),s(o,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),o.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},o.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},o.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},o.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=o},"./node_modules/elliptic/lib/elliptic/eddsa/signature.js":function(e,t,n){"use strict";var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/elliptic/lib/elliptic/utils.js"),a=i.assert,s=i.cachedProperty,o=i.parseBytes;function l(e,t){this.eddsa=e,"object"!=typeof t&&(t=o(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}s(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},"./node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js":function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},"./node_modules/elliptic/lib/elliptic/utils.js":function(e,t,n){"use strict";var r=t,i=n("./node_modules/bn.js/lib/bn.js"),a=n("./node_modules/minimalistic-assert/index.js"),s=n("./node_modules/minimalistic-crypto-utils/lib/utils.js");r.assert=a,r.toArray=s.toArray,r.zero2=s.zero2,r.toHex=s.toHex,r.encode=s.encode,r.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<<t+1,a=e.clone(),s=0;s<r.length;s++){var o,l=a.andln(i-1);a.isOdd()?(o=l>(i>>1)-1?(i>>1)-l:l,a.isubn(o)):o=0,r[s]=o,a.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,i=0;e.cmpn(-r)>0||t.cmpn(-i)>0;){var a,s,o,l=e.andln(3)+r&3,c=t.andln(3)+i&3;if(3===l&&(l=-1),3===c&&(c=-1),0==(1&l))a=0;else a=3!==(o=e.andln(7)+r&7)&&5!==o||2!==c?l:-l;if(n[0].push(a),0==(1&c))s=0;else s=3!==(o=t.andln(7)+i&7)&&5!==o||2!==l?c:-c;n[1].push(s),2*r===a+1&&(r=1-r),2*i===s+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},"./node_modules/elliptic/package.json":function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.2","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <fedor@indutny.com>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}}')},"./node_modules/es5-ext/function/noop.js":function(e,t,n){"use strict";e.exports=function(){}},"./node_modules/es5-ext/object/assign/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/es5-ext/object/assign/is-implemented.js")()?Object.assign:n("./node_modules/es5-ext/object/assign/shim.js")},"./node_modules/es5-ext/object/assign/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},"./node_modules/es5-ext/object/assign/shim.js":function(e,t,n){"use strict";var r=n("./node_modules/es5-ext/object/keys/index.js"),i=n("./node_modules/es5-ext/object/valid-value.js"),a=Math.max;e.exports=function(e,t){var n,s,o,l=a(arguments.length,2);for(e=Object(i(e)),o=function(r){try{e[r]=t[r]}catch(i){n||(n=i)}},s=1;s<l;++s)t=arguments[s],r(t).forEach(o);if(void 0!==n)throw n;return e}},"./node_modules/es5-ext/object/is-value.js":function(e,t,n){"use strict";var r=n("./node_modules/es5-ext/function/noop.js")();e.exports=function(e){return e!==r&&null!==e}},"./node_modules/es5-ext/object/keys/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/es5-ext/object/keys/is-implemented.js")()?Object.keys:n("./node_modules/es5-ext/object/keys/shim.js")},"./node_modules/es5-ext/object/keys/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},"./node_modules/es5-ext/object/keys/shim.js":function(e,t,n){"use strict";var r=n("./node_modules/es5-ext/object/is-value.js"),i=Object.keys;e.exports=function(e){return i(r(e)?Object(e):e)}},"./node_modules/es5-ext/object/normalize-options.js":function(e,t,n){"use strict";var r=n("./node_modules/es5-ext/object/is-value.js"),i=Array.prototype.forEach,a=Object.create,s=function(e,t){var n;for(n in e)t[n]=e[n]};e.exports=function(e){var t=a(null);return i.call(arguments,(function(e){r(e)&&s(Object(e),t)})),t}},"./node_modules/es5-ext/object/valid-callable.js":function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},"./node_modules/es5-ext/object/valid-value.js":function(e,t,n){"use strict";var r=n("./node_modules/es5-ext/object/is-value.js");e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},"./node_modules/es5-ext/string/#/contains/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/es5-ext/string/#/contains/is-implemented.js")()?String.prototype.contains:n("./node_modules/es5-ext/string/#/contains/shim.js")},"./node_modules/es5-ext/string/#/contains/is-implemented.js":function(e,t,n){"use strict";var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}},"./node_modules/es5-ext/string/#/contains/shim.js":function(e,t,n){"use strict";var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1}},"./node_modules/event-emitter/index.js":function(e,t,n){"use strict";var r,i,a,s,o,l,c,u=n("./node_modules/d/index.js"),d=n("./node_modules/es5-ext/object/valid-callable.js"),f=Function.prototype.apply,h=Function.prototype.call,p=Object.create,m=Object.defineProperty,b=Object.defineProperties,v=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};i=function(e,t){var n,i;return d(t),i=this,r.call(this,e,n=function(){a.call(i,e,n),f.call(t,this,arguments)}),n.__eeOnceListener__=t,this},o={on:r=function(e,t){var n;return d(t),v.call(this,"__ee__")?n=this.__ee__:(n=g.value=p(null),m(this,"__ee__",g),g.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:i,off:a=function(e,t){var n,r,i,a;if(d(t),!v.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(a=0;i=r[a];++a)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[a?0:1]:r.splice(a,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:s=function(e){var t,n,r,i,a;if(v.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(n=arguments.length,a=new Array(n-1),t=1;t<n;++t)a[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)f.call(r,this,a)}else switch(arguments.length){case 1:h.call(i,this);break;case 2:h.call(i,this,arguments[1]);break;case 3:h.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,a=new Array(n-1),t=1;t<n;++t)a[t-1]=arguments[t];f.call(i,this,a)}}},l={on:u(r),once:u(i),off:u(a),emit:u(s)},c=b({},l),e.exports=t=function(e){return null==e?p(c):b(Object(e),l)},t.methods=o},"./node_modules/evp_bytestokey/index.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer,i=n("./node_modules/md5.js/index.js");e.exports=function(e,t,n,a){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=n/8,o=r.alloc(s),l=r.alloc(a||0),c=r.alloc(0);s>0||a>0;){var u=new i;u.update(c),u.update(e),t&&u.update(t),c=u.digest();var d=0;if(s>0){var f=o.length-s;d=Math.min(s,c.length),c.copy(o,f,0,d),s-=d}if(d<c.length&&a>0){var h=l.length-a,p=Math.min(a,c.length-d);c.copy(l,h,d,d+p),a-=p}}return c.fill(0),{key:o,iv:l}}},"./node_modules/hash-base/index.js":function(e,t,n){"use strict";var r=n("./node_modules/safe-buffer/index.js").Buffer,i=n("./node_modules/hash-base/node_modules/readable-stream/readable-browser.js").Transform;function a(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n("./node_modules/inherits/inherits_browser.js")(a,i),a.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(i){r=i}n(r)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(n){t=n}e(t)},a.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)n[a++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var s=0,o=8*e.length;o>0;++s)this._length[s]+=o,(o=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*o);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},a.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=a},"./node_modules/hash-base/node_modules/readable-stream/errors-browser.js":function(e,t,n){"use strict";var r={};function i(e,t,n){n||(n=Error);var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function a(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i,s,o;if("string"==typeof t&&(i="not ",t.substr(!s||s<0?0:+s,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))o="The ".concat(e," ").concat(r," ").concat(a(t,"type"));else{var l=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";o='The "'.concat(e,'" ').concat(l," ").concat(r," ").concat(a(t,"type"))}return o+=". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=r},"./node_modules/hash-base/node_modules/readable-stream/lib/_stream_duplex.js":function(e,t,n){"use strict";(function(t){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_readable.js"),a=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_writable.js");n("./node_modules/inherits/inherits_browser.js")(c,i);for(var s=r(a.prototype),o=0;o<s.length;o++){var l=s[o];c.prototype[l]||(c.prototype[l]=a.prototype[l])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||t.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/hash-base/node_modules/readable-stream/lib/_stream_passthrough.js":function(e,t,n){"use strict";e.exports=i;var r=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_transform.js");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n("./node_modules/inherits/inherits_browser.js")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},"./node_modules/hash-base/node_modules/readable-stream/lib/_stream_readable.js":function(e,t,n){"use strict";(function(t,r){var i;e.exports=k,k.ReadableState=x;n("./node_modules/events/events.js").EventEmitter;var a=function(e,t){return e.listeners(t).length},s=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/stream-browser.js"),o=n("./node_modules/buffer/index.js").Buffer,l=t.Uint8Array||function(){};var c,u=n(6);c=u&&u.debuglog?u.debuglog("stream"):function(){};var d,f,h,p=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/buffer_list.js"),m=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/destroy.js"),b=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/state.js").getHighWaterMark,v=n("./node_modules/hash-base/node_modules/readable-stream/errors-browser.js").codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,C=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("./node_modules/inherits/inherits_browser.js")(k,s);var _=m.errorOrDestroy,S=["error","close","destroy","pause","resume"];function x(e,t,r){i=i||n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_duplex.js"),e=e||{},"boolean"!=typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n("./node_modules/string_decoder/lib/string_decoder.js").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function k(e){if(i=i||n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_duplex.js"),!(this instanceof k))return new k(e);var t=this instanceof i;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function T(e,t,n,r,i){c("readableAddChunk",t);var a,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(c("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?E(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,s);else if(i||(a=function(e,t){var n;r=t,o.isBuffer(r)||r instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new g("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(s,t)),a)_(e,a);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),r)s.endEmitted?_(e,new C):j(e,s,t,!0);else if(s.ended)_(e,new y);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?j(e,s,t,!1):L(e,s)):j(e,s,t,!1)}else r||(s.reading=!1,L(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function j(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&E(e)),L(e,t)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=o.from(e,t),t=""),n=!0),T(this,e,t,!1,n)},k.prototype.unshift=function(e){return T(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){d||(d=n("./node_modules/string_decoder/lib/string_decoder.js").StringDecoder);var t=new d(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};function M(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(A,e))}function A(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function L(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(c("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function O(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function I(e){c("readable nexttick read 0"),e.read(0)}function B(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function R(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function N(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(H,t,e))}function H(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function G(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}k.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):E(this),null;if(0===(e=M(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&c("length less than watermark",i=!0),t.ended||t.reading?c("reading or ended",i=!1):i&&(c("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=M(n,t))),null===(r=e>0?R(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit("data",r),r},k.prototype._read=function(e){_(this,new w("_read()"))},k.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,c("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:b;function o(t,r){c("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,c("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",h),e.removeListener("unpipe",o),n.removeListener("end",l),n.removeListener("end",b),n.removeListener("data",f),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){c("onend"),e.end()}i.endEmitted?r.nextTick(s):n.once("end",s),e.on("unpipe",o);var u=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,D(e))}}(n);e.on("drain",u);var d=!1;function f(t){c("ondata");var r=e.write(t);c("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==G(i.pipes,e))&&!d&&(c("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(t){c("onerror",t),b(),e.removeListener("error",h),0===a(e,"error")&&_(e,t)}function p(){e.removeListener("finish",m),b()}function m(){c("onfinish"),e.removeListener("close",p),b()}function b(){c("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",h),e.once("close",p),e.once("finish",m),e.emit("pipe",n),i.flowing||(c("pipe resume"),n.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=G(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},k.prototype.on=function(e,t){var n=s.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,c("on readable",i.length,i.reading),i.length?E(this):i.reading||r.nextTick(I,this))),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(O,this),n},k.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(O,this),t},k.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(B,e,t))}(this,e)),e.paused=!1,this},k.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<S.length;a++)e.on(S[a],this.emit.bind(this,S[a]));return this._read=function(t){c("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/async_iterator.js")),f(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=R,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,t){return void 0===h&&(h=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/from-browser.js")),h(k,e,t)})}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/hash-base/node_modules/readable-stream/lib/_stream_transform.js":function(e,t,n){"use strict";e.exports=u;var r=n("./node_modules/hash-base/node_modules/readable-stream/errors-browser.js").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,a=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_duplex.js");function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new a);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(t,n){f(e,t,n)}))}function f(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new o;if(e._transformState.transforming)throw new s;return e.push(null)}n("./node_modules/inherits/inherits_browser.js")(u,l),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new i("_transform()"))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},"./node_modules/hash-base/node_modules/readable-stream/lib/_stream_writable.js":function(e,t,n){"use strict";(function(t,r){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var a;e.exports=k,k.WritableState=x;var s={deprecate:n("./node_modules/util-deprecate/browser.js")},o=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/stream-browser.js"),l=n("./node_modules/buffer/index.js").Buffer,c=t.Uint8Array||function(){};var u,d=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/destroy.js"),f=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/state.js").getHighWaterMark,h=n("./node_modules/hash-base/node_modules/readable-stream/errors-browser.js").codes,p=h.ERR_INVALID_ARG_TYPE,m=h.ERR_METHOD_NOT_IMPLEMENTED,b=h.ERR_MULTIPLE_CALLBACK,v=h.ERR_STREAM_CANNOT_PIPE,g=h.ERR_STREAM_DESTROYED,y=h.ERR_STREAM_NULL_VALUES,w=h.ERR_STREAM_WRITE_AFTER_END,C=h.ERR_UNKNOWN_ENCODING,_=d.errorOrDestroy;function S(){}function x(e,t,s){a=a||n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_duplex.js"),e=e||{},"boolean"!=typeof s&&(s=t instanceof a),this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=f(this,e,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,a=n.writecb;if("function"!=typeof a)throw new b;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,a){--t.pendingcb,n?(r.nextTick(a,i),r.nextTick(L,e,t),e._writableState.errorEmitted=!0,_(e,i)):(a(i),e._writableState.errorEmitted=!0,_(e,i),L(e,t))}(e,n,i,t,a);else{var s=E(n)||e.destroyed;s||n.corked||n.bufferProcessing||!n.bufferedRequest||M(e,n),i?r.nextTick(j,e,n,s,a):j(e,n,s,a)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(e){var t=this instanceof(a=a||n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_duplex.js"));if(!t&&!u.call(k,this))return new k(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function T(e,t,n,r,i,a,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function j(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),L(e,t)}function M(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,a=new Array(r),s=t.corkedRequestsFree;s.entry=n;for(var o=0,l=!0;n;)a[o]=n,n.isBuf||(l=!1),n=n.next,o+=1;a.allBuffers=l,T(e,t,!0,t.length,a,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,d=n.callback;if(T(e,t,!1,t.objectMode?1:c.length,c,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(n){t.pendingcb--,n&&_(e,n),t.prefinished=!0,e.emit("prefinish"),L(e,t)}))}function L(e,t){var n=E(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return n}n("./node_modules/inherits/inherits_browser.js")(k,o),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===k&&(e&&e._writableState instanceof x)}})):u=function(e){return e instanceof this},k.prototype.pipe=function(){_(this,new v)},k.prototype.write=function(e,t,n){var i,a=this._writableState,s=!1,o=!a.objectMode&&(i=e,l.isBuffer(i)||i instanceof c);return o&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(n=t,t=null),o?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof n&&(n=S),a.ending?function(e,t){var n=new w;_(e,n),r.nextTick(t,n)}(this,n):(o||function(e,t,n,i){var a;return null===n?a=new y:"string"==typeof n||t.objectMode||(a=new p("chunk",["string","Buffer"],n)),!a||(_(e,a),r.nextTick(i,a),!1)}(this,a,e,n))&&(a.pendingcb++,s=function(e,t,n,r,i,a){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,n));return t}(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var o=t.objectMode?1:r.length;t.length+=o;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,o,r,i,a);return c}(this,a,o,e,t,n)),s},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||M(this,e))},k.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,n){n(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,L(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=d.destroy,k.prototype._undestroy=d.undestroy,k.prototype._destroy=function(e,t){t(e)}}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/async_iterator.js":function(e,t,n){"use strict";(function(t){var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"),s=Symbol("lastResolve"),o=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[s];if(null!==t){var n=e[f].read();null!==n&&(e[u]=null,e[s]=null,e[o]=null,t(h(n,!1)))}}function m(e){t.nextTick(p,e)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var e=this,n=this[l];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(n,r){t.nextTick((function(){e[l]?r(e[l]):n(h(void 0,!0))}))}));var r,i=this[u];if(i)r=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(h(void 0,!0)):t[d](n,r)}),r)}}(i,this));else{var a=this[f].read();if(null!==a)return Promise.resolve(h(a,!1));r=new Promise(this[d])}return this[u]=r,r}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[f].destroy(null,(function(e){e?n(e):t(h(void 0,!0))}))}))})),r),b);e.exports=function(e){var t,n=Object.create(v,(i(t={},f,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,o,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[f].read();r?(n[u]=null,n[s]=null,n[o]=null,e(h(r,!1))):(n[s]=e,n[o]=t)},writable:!0}),t));return n[u]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[o];return null!==t&&(n[u]=null,n[s]=null,n[o]=null,t(e)),void(n[l]=e)}var r=n[s];null!==r&&(n[u]=null,n[s]=null,n[o]=null,r(h(void 0,!0))),n[c]=!0})),e.on("readable",m.bind(null,n)),n}}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/buffer_list.js":function(e,t,n){"use strict";function r(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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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)}}var s=n("./node_modules/buffer/index.js").Buffer,o=n(7).inspect,l=o&&o.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,c;return t=e,(n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,n,r,i=s.allocUnsafe(e>>>0),a=this.head,o=0;a;)t=a.data,n=i,r=o,s.prototype.copy.call(t,n,r),o+=a.data.length,a=a.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,a=e>i.length?i.length:e;if(a===i.length?r+=i:r+=i.slice(0,e),0==(e-=a)){a===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(a));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return o(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}])&&a(t.prototype,n),c&&a(t,c),e}()},"./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/destroy.js":function(e,t,n){"use strict";(function(t){function n(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,a){var s=this,o=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return o||l?(a?a(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!a&&e?s._writableState?s._writableState.errorEmitted?t.nextTick(r,s):(s._writableState.errorEmitted=!0,t.nextTick(n,s,e)):t.nextTick(n,s,e):a?(t.nextTick(r,s),a(e)):t.nextTick(r,s)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/end-of-stream.js":function(e,t,n){"use strict";var r=n("./node_modules/hash-base/node_modules/readable-stream/errors-browser.js").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,a){if("function"==typeof n)return e(t,null,n);n||(n={}),a=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(a||i);var s=n.readable||!1!==n.readable&&t.readable,o=n.writable||!1!==n.writable&&t.writable,l=function(){t.writable||u()},c=t._writableState&&t._writableState.finished,u=function(){o=!1,c=!0,s||a.call(t)},d=t._readableState&&t._readableState.endEmitted,f=function(){s=!1,d=!0,o||a.call(t)},h=function(e){a.call(t,e)},p=function(){var e;return s&&!d?(t._readableState&&t._readableState.ended||(e=new r),a.call(t,e)):o&&!c?(t._writableState&&t._writableState.ended||(e=new r),a.call(t,e)):void 0},m=function(){t.req.on("finish",u)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?o&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",u),t.on("abort",p),t.req?m():t.on("request",m)),t.on("end",f),t.on("finish",u),!1!==n.error&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",u),t.removeListener("abort",p),t.removeListener("request",m),t.req&&t.req.removeListener("finish",u),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",u),t.removeListener("end",f),t.removeListener("error",h),t.removeListener("close",p)}}},"./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/from-browser.js":function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},"./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/pipeline.js":function(e,t,n){"use strict";var r;var i=n("./node_modules/hash-base/node_modules/readable-stream/errors-browser.js").codes,a=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function o(e){if(e)throw e}function l(e,t,i,a){a=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(a);var o=!1;e.on("close",(function(){o=!0})),void 0===r&&(r=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")),r(e,{readable:t,writable:i},(function(e){if(e)return a(e);o=!0,a()}));var l=!1;return function(t){if(!o&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void a(t||new s("pipe"))}}function c(e){e()}function u(e,t){return e.pipe(t)}function d(e){return e.length?"function"!=typeof e[e.length-1]?o:e.pop():o}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=d(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new a("streams");var s=t.map((function(e,n){var a=n<t.length-1;return l(e,a,n>0,(function(e){r||(r=e),e&&s.forEach(c),a||(s.forEach(c),i(r))}))}));return t.reduce(u)}},"./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/state.js":function(e,t,n){"use strict";var r=n("./node_modules/hash-base/node_modules/readable-stream/errors-browser.js").codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var a=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0)throw new r(i?n:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}}},"./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/stream-browser.js":function(e,t,n){e.exports=n("./node_modules/events/events.js").EventEmitter},"./node_modules/hash-base/node_modules/readable-stream/readable-browser.js":function(e,t,n){(t=e.exports=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_readable.js")).Stream=t,t.Readable=t,t.Writable=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_writable.js"),t.Duplex=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_duplex.js"),t.Transform=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_transform.js"),t.PassThrough=n("./node_modules/hash-base/node_modules/readable-stream/lib/_stream_passthrough.js"),t.finished=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"),t.pipeline=n("./node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/pipeline.js")},"./node_modules/hash.js/lib/hash.js":function(e,t,n){var r=t;r.utils=n("./node_modules/hash.js/lib/hash/utils.js"),r.common=n("./node_modules/hash.js/lib/hash/common.js"),r.sha=n("./node_modules/hash.js/lib/hash/sha.js"),r.ripemd=n("./node_modules/hash.js/lib/hash/ripemd.js"),r.hmac=n("./node_modules/hash.js/lib/hash/hmac.js"),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},"./node_modules/hash.js/lib/hash/common.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js"),i=n("./node_modules/minimalistic-assert/index.js");function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,a=8;a<this.padLength;a++)r[i++]=0;return r}},"./node_modules/hash.js/lib/hash/hmac.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js"),i=n("./node_modules/minimalistic-assert/index.js");function a(e,t,n){if(!(this instanceof a))return new a(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},a.prototype.update=function(e,t){return this.inner.update(e,t),this},a.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},"./node_modules/hash.js/lib/hash/ripemd.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js"),i=n("./node_modules/hash.js/lib/hash/common.js"),a=r.rotl32,s=r.sum32,o=r.sum32_3,l=r.sum32_4,c=i.BlockHash;function u(){if(!(this instanceof u))return new u;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function f(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(u,c),t.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],c=this.h[3],u=this.h[4],g=n,y=r,w=i,C=c,_=u,S=0;S<80;S++){var x=s(a(l(n,d(S,r,i,c),e[p[S]+t],f(S)),b[S]),u);n=u,u=c,c=a(i,10),i=r,r=x,x=s(a(l(g,d(79-S,y,w,C),e[m[S]+t],h(S)),v[S]),_),g=_,_=C,C=a(w,10),w=y,y=x}x=o(this.h[1],i,C),this.h[1]=o(this.h[2],c,_),this.h[2]=o(this.h[3],u,g),this.h[3]=o(this.h[4],n,y),this.h[4]=o(this.h[0],r,w),this.h[0]=x},u.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},"./node_modules/hash.js/lib/hash/sha.js":function(e,t,n){"use strict";t.sha1=n("./node_modules/hash.js/lib/hash/sha/1.js"),t.sha224=n("./node_modules/hash.js/lib/hash/sha/224.js"),t.sha256=n("./node_modules/hash.js/lib/hash/sha/256.js"),t.sha384=n("./node_modules/hash.js/lib/hash/sha/384.js"),t.sha512=n("./node_modules/hash.js/lib/hash/sha/512.js")},"./node_modules/hash.js/lib/hash/sha/1.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js"),i=n("./node_modules/hash.js/lib/hash/common.js"),a=n("./node_modules/hash.js/lib/hash/sha/common.js"),s=r.rotl32,o=r.sum32,l=r.sum32_5,c=a.ft_1,u=i.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,u),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=s(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],a=this.h[1],u=this.h[2],f=this.h[3],h=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),m=l(s(i,5),c(p,a,u,f),h,n[r],d[p]);h=f,f=u,u=s(a,30),a=i,i=m}this.h[0]=o(this.h[0],i),this.h[1]=o(this.h[1],a),this.h[2]=o(this.h[2],u),this.h[3]=o(this.h[3],f),this.h[4]=o(this.h[4],h)},f.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},"./node_modules/hash.js/lib/hash/sha/224.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js"),i=n("./node_modules/hash.js/lib/hash/sha/256.js");function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(a,i),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},"./node_modules/hash.js/lib/hash/sha/256.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js"),i=n("./node_modules/hash.js/lib/hash/common.js"),a=n("./node_modules/hash.js/lib/hash/sha/common.js"),s=n("./node_modules/minimalistic-assert/index.js"),o=r.sum32,l=r.sum32_4,c=r.sum32_5,u=a.ch32,d=a.maj32,f=a.s0_256,h=a.s1_256,p=a.g0_256,m=a.g1_256,b=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(g,b),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=l(m(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],a=this.h[1],b=this.h[2],v=this.h[3],g=this.h[4],y=this.h[5],w=this.h[6],C=this.h[7];for(s(this.k.length===n.length),r=0;r<n.length;r++){var _=c(C,h(g),u(g,y,w),this.k[r],n[r]),S=o(f(i),d(i,a,b));C=w,w=y,y=g,g=o(v,_),v=b,b=a,a=i,i=o(_,S)}this.h[0]=o(this.h[0],i),this.h[1]=o(this.h[1],a),this.h[2]=o(this.h[2],b),this.h[3]=o(this.h[3],v),this.h[4]=o(this.h[4],g),this.h[5]=o(this.h[5],y),this.h[6]=o(this.h[6],w),this.h[7]=o(this.h[7],C)},g.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},"./node_modules/hash.js/lib/hash/sha/384.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js"),i=n("./node_modules/hash.js/lib/hash/sha/512.js");function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(a,i),e.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},"./node_modules/hash.js/lib/hash/sha/512.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js"),i=n("./node_modules/hash.js/lib/hash/common.js"),a=n("./node_modules/minimalistic-assert/index.js"),s=r.rotr64_hi,o=r.rotr64_lo,l=r.shr64_hi,c=r.shr64_lo,u=r.sum64,d=r.sum64_hi,f=r.sum64_lo,h=r.sum64_4_hi,p=r.sum64_4_lo,m=r.sum64_5_hi,b=r.sum64_5_lo,v=i.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function w(e,t,n,r,i){var a=e&n^~e&i;return a<0&&(a+=4294967296),a}function C(e,t,n,r,i,a){var s=t&r^~t&a;return s<0&&(s+=4294967296),s}function _(e,t,n,r,i){var a=e&n^e&i^n&i;return a<0&&(a+=4294967296),a}function S(e,t,n,r,i,a){var s=t&r^t&a^r&a;return s<0&&(s+=4294967296),s}function x(e,t){var n=s(e,t,28)^s(t,e,2)^s(t,e,7);return n<0&&(n+=4294967296),n}function k(e,t){var n=o(e,t,28)^o(t,e,2)^o(t,e,7);return n<0&&(n+=4294967296),n}function T(e,t){var n=s(e,t,14)^s(e,t,18)^s(t,e,9);return n<0&&(n+=4294967296),n}function j(e,t){var n=o(e,t,14)^o(e,t,18)^o(t,e,9);return n<0&&(n+=4294967296),n}function M(e,t){var n=s(e,t,1)^s(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function E(e,t){var n=o(e,t,1)^o(e,t,8)^c(e,t,7);return n<0&&(n+=4294967296),n}function A(e,t){var n=s(e,t,19)^s(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}function L(e,t){var n=o(e,t,19)^o(t,e,29)^c(e,t,6);return n<0&&(n+=4294967296),n}r.inherits(y,v),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=A(n[r-4],n[r-3]),a=L(n[r-4],n[r-3]),s=n[r-14],o=n[r-13],l=M(n[r-30],n[r-29]),c=E(n[r-30],n[r-29]),u=n[r-32],d=n[r-31];n[r]=h(i,a,s,o,l,c,u,d),n[r+1]=p(i,a,s,o,l,c,u,d)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],s=this.h[2],o=this.h[3],l=this.h[4],c=this.h[5],h=this.h[6],p=this.h[7],v=this.h[8],g=this.h[9],y=this.h[10],M=this.h[11],E=this.h[12],A=this.h[13],L=this.h[14],P=this.h[15];a(this.k.length===n.length);for(var O=0;O<n.length;O+=2){var I=L,B=P,D=T(v,g),R=j(v,g),N=w(v,g,y,M,E),H=C(v,g,y,M,E,A),G=this.k[O],F=this.k[O+1],V=n[O],U=n[O+1],z=m(I,B,D,R,N,H,G,F,V,U),W=b(I,B,D,R,N,H,G,F,V,U);I=x(r,i),B=k(r,i),D=_(r,i,s,o,l),R=S(r,i,s,o,l,c);var q=d(I,B,D,R),K=f(I,B,D,R);L=E,P=A,E=y,A=M,y=v,M=g,v=d(h,p,z,W),g=f(p,p,z,W),h=l,p=c,l=s,c=o,s=r,o=i,r=d(z,W,q,K),i=f(z,W,q,K)}u(this.h,0,r,i),u(this.h,2,s,o),u(this.h,4,l,c),u(this.h,6,h,p),u(this.h,8,v,g),u(this.h,10,y,M),u(this.h,12,E,A),u(this.h,14,L,P)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},"./node_modules/hash.js/lib/hash/sha/common.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash/utils.js").rotr32;function i(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function s(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?s(t,n,r):2===e?a(t,n,r):void 0},t.ch32=i,t.maj32=a,t.p32=s,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},"./node_modules/hash.js/lib/hash/utils.js":function(e,t,n){"use strict";var r=n("./node_modules/minimalistic-assert/index.js"),i=n("./node_modules/inherits/inherits_browser.js");function a(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function o(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var s=e.charCodeAt(i);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):a(e,i)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=o(e[n].toString(16));return t},t.htonl=s,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=s(i)),n+=l(i.toString(16))}return n},t.zero2=o,t.zero8=l,t.join32=function(e,t,n,i){var a=n-t;r(a%4==0);for(var s=new Array(a/4),o=0,l=t;o<s.length;o++,l+=4){var c;c="big"===i?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],s[o]=c>>>0}return s},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var a=e[r];"big"===t?(n[i]=a>>>24,n[i+1]=a>>>16&255,n[i+2]=a>>>8&255,n[i+3]=255&a):(n[i+3]=a>>>24,n[i+2]=a>>>16&255,n[i+1]=a>>>8&255,n[i]=255&a)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],a=r+e[t+1]>>>0,s=(a<r?1:0)+n+i;e[t]=s>>>0,e[t+1]=a},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,a,s,o){var l=0,c=t;return l+=(c=c+r>>>0)<t?1:0,l+=(c=c+a>>>0)<a?1:0,e+n+i+s+(l+=(c=c+o>>>0)<o?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,a,s,o){return t+r+a+o>>>0},t.sum64_5_hi=function(e,t,n,r,i,a,s,o,l,c){var u=0,d=t;return u+=(d=d+r>>>0)<t?1:0,u+=(d=d+a>>>0)<a?1:0,u+=(d=d+o>>>0)<o?1:0,e+n+i+s+l+(u+=(d=d+c>>>0)<c?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,a,s,o,l,c){return t+r+a+o+c>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},"./node_modules/hmac-drbg/lib/hmac-drbg.js":function(e,t,n){"use strict";var r=n("./node_modules/hash.js/lib/hash.js"),i=n("./node_modules/minimalistic-crypto-utils/lib/utils.js"),a=n("./node_modules/minimalistic-assert/index.js");function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=s,s.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},s.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},s.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},s.prototype.reseed=function(e,t,n,r){"string"!=typeof t&&(r=n,n=t,t=null),e=i.toArray(e,t),n=i.toArray(n,r),a(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},s.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var a=[];a.length<e;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var s=a.slice(0,e);return this._update(n),this._reseed++,i.encode(s,t)}},"./node_modules/indexes-of/index.js":function(e,t){e.exports=function(e,t){for(var n=-1,r=[];-1!==(n=e.indexOf(t,n+1));)r.push(n);return r}},"./node_modules/ip-regex/index.js":function(e,t,n){"use strict";const r=e=>e&&e.includeBoundaries?"(?:(?<=\\s|^)(?=[a-fA-F\\d:])|(?<=[a-fA-F\\d:])(?=\\s|$))":"",i="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",a="[a-fA-F\\d]{1,4}",s=`\n(\n(?:${a}:){7}(?:${a}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:${a}:){6}(?:${i}|:${a}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:${a}:){5}(?::${i}|(:${a}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:${a}:){4}(?:(:${a}){0,1}:${i}|(:${a}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:${a}:){3}(?:(:${a}){0,2}:${i}|(:${a}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:${a}:){2}(?:(:${a}){0,3}:${i}|(:${a}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:${a}:){1}(?:(:${a}){0,4}:${i}|(:${a}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::((?::${a}){0,5}:${i}|(?::${a}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(%[0-9a-zA-Z]{1,})? // %eth0 %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=e=>e&&e.exact?new RegExp(`(?:^${i}$)|(?:^${s}$)`):new RegExp(`(?:${r(e)}${i}${r(e)})|(?:${r(e)}${s}${r(e)})`,"g");o.v4=e=>e&&e.exact?new RegExp(`^${i}$`):new RegExp(`${r(e)}${i}${r(e)}`,"g"),o.v6=e=>e&&e.exact?new RegExp(`^${s}$`):new RegExp(`${r(e)}${s}${r(e)}`,"g"),e.exports=o},"./node_modules/is-url-superb/index.js":function(e,t,n){"use strict";const r=n("./node_modules/url-regex/index.js")({exact:!0});e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return r.test(e.trim())}},"./node_modules/md5.js/index.js":function(e,t,n){"use strict";var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/hash-base/index.js"),a=n("./node_modules/safe-buffer/index.js").Buffer,s=new Array(16);function o(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<<t|e>>>32-t}function c(e,t,n,r,i,a,s){return l(e+(t&n|~t&r)+i+a|0,s)+t|0}function u(e,t,n,r,i,a,s){return l(e+(t&r|n&~r)+i+a|0,s)+t|0}function d(e,t,n,r,i,a,s){return l(e+(t^n^r)+i+a|0,s)+t|0}function f(e,t,n,r,i,a,s){return l(e+(n^(t|~r))+i+a|0,s)+t|0}r(o,i),o.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,a=this._d;n=c(n,r,i,a,e[0],3614090360,7),a=c(a,n,r,i,e[1],3905402710,12),i=c(i,a,n,r,e[2],606105819,17),r=c(r,i,a,n,e[3],3250441966,22),n=c(n,r,i,a,e[4],4118548399,7),a=c(a,n,r,i,e[5],1200080426,12),i=c(i,a,n,r,e[6],2821735955,17),r=c(r,i,a,n,e[7],4249261313,22),n=c(n,r,i,a,e[8],1770035416,7),a=c(a,n,r,i,e[9],2336552879,12),i=c(i,a,n,r,e[10],4294925233,17),r=c(r,i,a,n,e[11],2304563134,22),n=c(n,r,i,a,e[12],1804603682,7),a=c(a,n,r,i,e[13],4254626195,12),i=c(i,a,n,r,e[14],2792965006,17),n=u(n,r=c(r,i,a,n,e[15],1236535329,22),i,a,e[1],4129170786,5),a=u(a,n,r,i,e[6],3225465664,9),i=u(i,a,n,r,e[11],643717713,14),r=u(r,i,a,n,e[0],3921069994,20),n=u(n,r,i,a,e[5],3593408605,5),a=u(a,n,r,i,e[10],38016083,9),i=u(i,a,n,r,e[15],3634488961,14),r=u(r,i,a,n,e[4],3889429448,20),n=u(n,r,i,a,e[9],568446438,5),a=u(a,n,r,i,e[14],3275163606,9),i=u(i,a,n,r,e[3],4107603335,14),r=u(r,i,a,n,e[8],1163531501,20),n=u(n,r,i,a,e[13],2850285829,5),a=u(a,n,r,i,e[2],4243563512,9),i=u(i,a,n,r,e[7],1735328473,14),n=d(n,r=u(r,i,a,n,e[12],2368359562,20),i,a,e[5],4294588738,4),a=d(a,n,r,i,e[8],2272392833,11),i=d(i,a,n,r,e[11],1839030562,16),r=d(r,i,a,n,e[14],4259657740,23),n=d(n,r,i,a,e[1],2763975236,4),a=d(a,n,r,i,e[4],1272893353,11),i=d(i,a,n,r,e[7],4139469664,16),r=d(r,i,a,n,e[10],3200236656,23),n=d(n,r,i,a,e[13],681279174,4),a=d(a,n,r,i,e[0],3936430074,11),i=d(i,a,n,r,e[3],3572445317,16),r=d(r,i,a,n,e[6],76029189,23),n=d(n,r,i,a,e[9],3654602809,4),a=d(a,n,r,i,e[12],3873151461,11),i=d(i,a,n,r,e[15],530742520,16),n=f(n,r=d(r,i,a,n,e[2],3299628645,23),i,a,e[0],4096336452,6),a=f(a,n,r,i,e[7],1126891415,10),i=f(i,a,n,r,e[14],2878612391,15),r=f(r,i,a,n,e[5],4237533241,21),n=f(n,r,i,a,e[12],1700485571,6),a=f(a,n,r,i,e[3],2399980690,10),i=f(i,a,n,r,e[10],4293915773,15),r=f(r,i,a,n,e[1],2240044497,21),n=f(n,r,i,a,e[8],1873313359,6),a=f(a,n,r,i,e[15],4264355552,10),i=f(i,a,n,r,e[6],2734768916,15),r=f(r,i,a,n,e[13],1309151649,21),n=f(n,r,i,a,e[4],4149444226,6),a=f(a,n,r,i,e[11],3174756917,10),i=f(i,a,n,r,e[2],718787259,15),r=f(r,i,a,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+a|0},o.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=a.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=o},"./node_modules/miller-rabin/lib/mr.js":function(e,t,n){var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/brorand/index.js");function a(e){this.rand=e||new i.Rand}e.exports=a,a.create=function(e){return new a(e)},a.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},a.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},a.prototype.test=function(e,t,n){var i=e.bitLength(),a=r.mont(e),s=new r(1).toRed(a);t||(t=Math.max(1,i/48|0));for(var o=e.subn(1),l=0;!o.testn(l);l++);for(var c=e.shrn(l),u=o.toRed(a);t>0;t--){var d=this._randrange(new r(2),o);n&&n(d);var f=d.toRed(a).redPow(c);if(0!==f.cmp(s)&&0!==f.cmp(u)){for(var h=1;h<l;h++){if(0===(f=f.redSqr()).cmp(s))return!1;if(0===f.cmp(u))break}if(h===l)return!1}}return!0},a.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),a=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var s=e.subn(1),o=0;!s.testn(o);o++);for(var l=e.shrn(o),c=s.toRed(i);t>0;t--){var u=this._randrange(new r(2),s),d=e.gcd(u);if(0!==d.cmpn(1))return d;var f=u.toRed(i).redPow(l);if(0!==f.cmp(a)&&0!==f.cmp(c)){for(var h=1;h<o;h++){if(0===(f=f.redSqr()).cmp(a))return f.fromRed().subn(1).gcd(e);if(0===f.cmp(c))break}if(h===o)return(f=f.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},"./node_modules/minimalistic-assert/index.js":function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},"./node_modules/minimalistic-crypto-utils/lib/utils.js":function(e,t,n){"use strict";var r=t;function i(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",n=0;n<e.length;n++)t+=i(e[n].toString(16));return t}r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),a=i>>8,s=255&i;a?n.push(a,s):n.push(s)}return n},r.zero2=i,r.toHex=a,r.encode=function(e,t){return"hex"===t?a(e):e}},"./node_modules/mobile-detect/mobile-detect.js":function(e,t,n){!function(e,t){e((function(){"use strict";var e,t={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b(?!\\))",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},n=Object.prototype.hasOwnProperty;function r(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function i(e,t){var n,r,i=e.length;if(!i||!t)return!1;for(n=t.toLowerCase(),r=0;r<i;++r)if(n===e[r].toLowerCase())return!0;return!1}function a(e){for(var t in e)n.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function s(e,t){this.ua=function(e){return(e||"").substr(0,500)}(e),this._cache={},this.maxPhoneWidth=t||600}return t.FALLBACK_PHONE="UnknownPhone",t.FALLBACK_TABLET="UnknownTablet",t.FALLBACK_MOBILE="UnknownMobile",e="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var r,i,s,o,l,c,u=t.mobileDetectRules;for(r in u.props)if(n.call(u.props,r)){for(i=u.props[r],e(i)||(i=[i]),l=i.length,o=0;o<l;++o)(c=(s=i[o]).indexOf("[VER]"))>=0&&(s=s.substring(0,c)+"([\\w._\\+]+)"+s.substring(c+5)),i[o]=new RegExp(s,"i");u.props[r]=i}a(u.oss),a(u.phones),a(u.tablets),a(u.uas),a(u.utils),u.oss0={WindowsPhoneOS:u.oss.WindowsPhoneOS,WindowsMobileOS:u.oss.WindowsMobileOS}}(),t.findMatch=function(e,t){for(var r in e)if(n.call(e,r)&&e[r].test(t))return r;return null},t.findMatches=function(e,t){var r=[];for(var i in e)n.call(e,i)&&e[i].test(t)&&r.push(i);return r},t.getVersionStr=function(e,r){var i,a,s,o,l=t.mobileDetectRules.props;if(n.call(l,e))for(s=(i=l[e]).length,a=0;a<s;++a)if(null!==(o=i[a].exec(r)))return o[1];return null},t.getVersion=function(e,n){var r=t.getVersionStr(e,n);return r?t.prepareVersionNo(r):NaN},t.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},t.isMobileFallback=function(e){return t.detectMobileBrowsers.fullPattern.test(e)||t.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},t.isTabletFallback=function(e){return t.detectMobileBrowsers.tabletPattern.test(e)},t.prepareDetectionCache=function(e,n,r){if(void 0===e.mobile){var i,a,o;if(a=t.findMatch(t.mobileDetectRules.tablets,n))return e.mobile=e.tablet=a,void(e.phone=null);if(i=t.findMatch(t.mobileDetectRules.phones,n))return e.mobile=e.phone=i,void(e.tablet=null);t.isMobileFallback(n)?void 0===(o=s.isPhoneSized(r))?(e.mobile=t.FALLBACK_MOBILE,e.tablet=e.phone=null):o?(e.mobile=e.phone=t.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=t.FALLBACK_TABLET,e.phone=null):t.isTabletFallback(n)?(e.mobile=e.tablet=t.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},t.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},t.detectOS=function(e){return t.findMatch(t.mobileDetectRules.oss0,e)||t.findMatch(t.mobileDetectRules.oss,e)},t.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},s.prototype={constructor:s,mobile:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return void 0===this._cache.userAgent&&(this._cache.userAgent=t.findMatch(t.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return void 0===this._cache.userAgents&&(this._cache.userAgents=t.findMatches(t.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return void 0===this._cache.os&&(this._cache.os=t.detectOS(this.ua)),this._cache.os},version:function(e){return t.getVersion(e,this.ua)},versionStr:function(e){return t.getVersionStr(e,this.ua)},is:function(e){return i(this.userAgents(),e)||r(e,this.os())||r(e,this.phone())||r(e,this.tablet())||i(t.findMatches(t.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return s.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return void 0===this._cache.grade&&(this._cache.grade=t.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?s.isPhoneSized=function(e){return e<0?void 0:t.getDeviceSmallerSide()<=e}:s.isPhoneSized=function(){},s._impl=t,s.version="1.4.4 2019-09-21",s}))}(function(t){if(e.exports)return function(t){e.exports=t()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(e){window.MobileDetect=e()};throw new Error("unknown environment")}())},"./node_modules/ms/index.js":function(e,t){var n=1e3,r=6e4,i=60*r,a=24*i;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var o=typeof e;if("string"===o&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===o&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=a)return s(e,t,a,"day");if(t>=i)return s(e,t,i,"hour");if(t>=r)return s(e,t,r,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=a)return Math.round(e/a)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"./node_modules/murmurhash/murmurhash.js":function(e,t,n){!function(){function t(e,t){var n,r,i,a,s,o,l,c;for(n=3&e.length,r=e.length-n,i=t,s=3432918353,o=461845907,c=0;c<r;)l=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,i=27492+(65535&(a=5*(65535&(i=(i^=l=(65535&(l=(l=(65535&l)*s+(((l>>>16)*s&65535)<<16)&4294967295)<<15|l>>>17))*o+(((l>>>16)*o&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(a>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&e.charCodeAt(c+2))<<16;case 2:l^=(255&e.charCodeAt(c+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(c)))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<15|l>>>17))*o+(((l>>>16)*o&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}var n=t;n.v2=function(e,t){for(var n,r=e.length,i=t^r,a=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++a;switch(r){case 3:i^=(255&e.charCodeAt(a+2))<<16;case 2:i^=(255&e.charCodeAt(a+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(a)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0},n.v3=t,e.exports=n}()},"./node_modules/node-object-hash/index.js":function(e,t,n){"use strict";var r=n("./node_modules/crypto-browserify/index.js"),i=n("./node_modules/node-object-hash/objectSorter.js");e.exports=function(e){var t,n=e||{};function a(e){return t(e)}return n.alg=n.alg||"sha256",n.enc=n.enc||"hex",t=i(e),{hash:function(e,t){var i=(t=t||{}).alg||n.alg,s=t.enc||n.enc,o=a(e);return r.createHash(i).update(o).digest(s)},sortObject:a,sort:a}}},"./node_modules/node-object-hash/objectSorter.js":function(e,t,n){"use strict";function r(e){var t=typeof e;return"object"!==t?t:function(e){if(null===e)return"null";switch(e.constructor&&e.constructor.name){case"Array":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Buffer":return"array";case"Map":return"map";case"Set":return"set";case"Date":return"date";case"String":return"string";case"Number":return"number";case"Boolean":return"boolean";case"Object":return"object";default:return"unknown"}}(e)}e.exports=function(e){var t=void 0===(e=e||{}).coerce||e.coerce,n=void 0===e.sort||e.sort,i={};return i.string=function(e){return t?e:"<:s>:"+e},i.number=function(e){return t?e.toString():"<:n>:"+e},i.boolean=function(e){return t?e.valueOf()?"1":"0":e.valueOf()?"<:b>:true":"<:b>:false"},i.symbol=function(){return"<:smbl>"},i.undefined=function(){return t?"":"<:undf>"},i.null=function(){return t?"":"<:null>"},i.function=function(e){return t?e.name+"=>"+e.toString():"<:func>:"+e.name+"=>"+e.toString()},i.array=function(e){for(var t,a,s=[],o=0;o<e.length;o++)a=r(t=e[o]),s.push(i[a](t));return n?"["+s.sort().toString()+"]":"["+s.toString()+"]"},i.set=function(e){return i.array(Array.from(e))},i.date=function(e){var n=e.toISOString();return t?n:"<:date>:"+n},i.object=function(e){var t,a,s,o,l=n?Object.keys(e).sort():Object.keys(e),c=[];for(o=0;o<l.length;o++)s=r(a=e[t=l[o]]),c.push(t+":"+i[s](a));return"{"+c.toString()+"}"},i.map=function(e){var t,a,s,o,l=Array.from(e);for(o=0;o<l.length;o++)t=(s=l[o])[0],a=s[1],s=[i[r(t)](t),i[r(a)](a)],l[o]=s;return n?"["+l.sort().join(";")+"]":"["+l.join(";")+"]"},i.unknown=function(e){return"<:"+(e.constructor?e.constructor.name:"unknonw")+">:"+("function"==typeof e.toString?e.toString():"unknown")},function(e){return i[r(e)](e)}}},"./node_modules/parse-asn1/aesid.json":function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},"./node_modules/parse-asn1/asn1.js":function(e,t,n){"use strict";var r=n("./node_modules/asn1.js/lib/asn1.js");t.certificate=n("./node_modules/parse-asn1/certificate.js");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var a=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=a;var s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}));t.PublicKey=s;var o=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),l=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(o),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=l;var c=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=c;var u=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=u,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var d=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=d;var f=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},"./node_modules/parse-asn1/certificate.js":function(e,t,n){"use strict";var r=n("./node_modules/asn1.js/lib/asn1.js"),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),a=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),o=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())})),l=r.define("RelativeDistinguishedName",(function(){this.setof(a)})),c=r.define("RDNSequence",(function(){this.seqof(l)})),u=r.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),d=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),f=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(u),this.key("validity").use(d),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(o),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())}));e.exports=p},"./node_modules/parse-asn1/fixProc.js":function(e,t,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,s=n("./node_modules/evp_bytestokey/index.js"),o=n("./node_modules/browserify-aes/browser.js"),l=n("./node_modules/safe-buffer/index.js").Buffer;e.exports=function(e,t){var n,c=e.toString(),u=c.match(r);if(u){var d="aes"+u[1],f=l.from(u[2],"hex"),h=l.from(u[3].replace(/[\r\n]/g,""),"base64"),p=s(t,f.slice(0,8),parseInt(u[1],10)).key,m=[],b=o.createDecipheriv(d,p,f);m.push(b.update(h)),m.push(b.final()),n=l.concat(m)}else{var v=c.match(a);n=new l(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:n}}},"./node_modules/parse-asn1/index.js":function(e,t,n){var r=n("./node_modules/parse-asn1/asn1.js"),i=n("./node_modules/parse-asn1/aesid.json"),a=n("./node_modules/parse-asn1/fixProc.js"),s=n("./node_modules/browserify-aes/browser.js"),o=n("./node_modules/pbkdf2/browser.js"),l=n("./node_modules/safe-buffer/index.js").Buffer;function c(e){var t;"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var n,c,u=a(e,t),d=u.tag,f=u.data;switch(d){case"CERTIFICATE":c=r.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=r.PublicKey.decode(f,"der")),n=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=r.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+d);case"ENCRYPTED PRIVATE KEY":f=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=i[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,d=parseInt(a.split("-")[1],10)/8,f=o.pbkdf2Sync(t,n,r,d,"sha1"),h=s.createDecipheriv(a,f,c),p=[];return p.push(h.update(u)),p.push(h.final()),l.concat(p)}(f=r.EncryptedPrivateKey.decode(f,"der"),t);case"PRIVATE KEY":switch(n=(c=r.PrivateKey.decode(f,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:r.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=r.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+d);case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return{curve:(f=r.ECPrivateKey.decode(f,"der")).parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+d)}}e.exports=c,c.signature=r.signature},"./node_modules/pbkdf2/browser.js":function(e,t,n){t.pbkdf2=n("./node_modules/pbkdf2/lib/async.js"),t.pbkdf2Sync=n("./node_modules/pbkdf2/lib/sync-browser.js")},"./node_modules/pbkdf2/lib/async.js":function(e,t,n){(function(t,r){var i,a=n("./node_modules/pbkdf2/lib/precondition.js"),s=n("./node_modules/pbkdf2/lib/default-encoding.js"),o=n("./node_modules/pbkdf2/lib/sync-browser.js"),l=n("./node_modules/safe-buffer/index.js").Buffer,c=t.crypto&&t.crypto.subtle,u={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function f(e,t,n,r,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return l.from(e)}))}e.exports=function(e,n,h,p,m,b){"function"==typeof m&&(b=m,m=void 0);var v=u[(m=m||"sha1").toLowerCase()];if(!v||"function"!=typeof t.Promise)return r.nextTick((function(){var t;try{t=o(e,n,h,p,m)}catch(r){return b(r)}b(null,t)}));if(a(e,n,h,p),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");l.isBuffer(e)||(e=l.from(e,s)),l.isBuffer(n)||(n=l.from(n,s)),function(e,t){e.then((function(e){r.nextTick((function(){t(null,e)}))}),(function(e){r.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var n=f(i=i||l.alloc(8),i,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=n,n}(v).then((function(t){return t?f(e,n,h,p,v):o(e,n,h,p,m)})),b)}}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/pbkdf2/lib/default-encoding.js":function(e,t,n){(function(t){var n;t.browser?n="utf-8":n=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";e.exports=n}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/pbkdf2/lib/precondition.js":function(e,t,n){(function(t){var n=Math.pow(2,30)-1;function r(e,n){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(n+" must be a buffer or string")}e.exports=function(e,t,i,a){if(r(e,"Password"),r(t,"Salt"),"number"!=typeof i)throw new TypeError("Iterations not a number");if(i<0)throw new TypeError("Bad iterations");if("number"!=typeof a)throw new TypeError("Key length not a number");if(a<0||a>n||a!=a)throw new TypeError("Bad key length")}}).call(this,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/pbkdf2/lib/sync-browser.js":function(e,t,n){var r=n("./node_modules/create-hash/md5.js"),i=n("./node_modules/ripemd160/index.js"),a=n("./node_modules/sha.js/index.js"),s=n("./node_modules/pbkdf2/lib/precondition.js"),o=n("./node_modules/pbkdf2/lib/default-encoding.js"),l=n("./node_modules/safe-buffer/index.js").Buffer,c=l.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,n){var s=function(e){function t(t){return a(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?r:t}(e),o="sha512"===e||"sha384"===e?128:64;t.length>o?t=s(t):t.length<o&&(t=l.concat([t,c],o));for(var d=l.allocUnsafe(o+u[e]),f=l.allocUnsafe(o+u[e]),h=0;h<o;h++)d[h]=54^t[h],f[h]=92^t[h];var p=l.allocUnsafe(o+n+4);d.copy(p,0,0,o),this.ipad1=p,this.ipad2=d,this.opad=f,this.alg=e,this.blocksize=o,this.hash=s,this.size=u[e]}d.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,n,r,i){s(e,t,n,r),l.isBuffer(e)||(e=l.from(e,o)),l.isBuffer(t)||(t=l.from(t,o));var a=new d(i=i||"sha1",e,t.length),c=l.allocUnsafe(r),f=l.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var h=0,p=u[i],m=Math.ceil(r/p),b=1;b<=m;b++){f.writeUInt32BE(b,t.length);for(var v=a.run(f,a.ipad1),g=v,y=1;y<n;y++){g=a.run(g,a.ipad2);for(var w=0;w<p;w++)v[w]^=g[w]}v.copy(c,h),h+=p}return c}},"./node_modules/performance-now/lib/performance-now.js":function(e,t,n){(function(t){(function(){var n,r,i,a,s,o;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-s)/1e6},r=t.hrtime,a=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),o=1e9*t.uptime(),s=a-o):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/postcss-advanced-variables/index.mjs":function(e,t,n){"use strict";(function(e){var r=n("./node_modules/path-browserify/index.js"),i=n.n(r),a=n("./node_modules/postcss/lib/postcss.js"),s=n.n(a),o=n("./node_modules/@csstools/sass-import-resolve/index.js"),l=n.n(o);function c(e,t,n){let r=u(t)[e];return d(r,t)&&(r=c(e,t.parent,n)),f(r,n)&&(r=h(e,t,n.variables)),r}const u=e=>Object(Object(e).variables),d=(e,t)=>void 0===e&&t&&t.parent,f=(e,t)=>void 0===e&&Object(t).variables===Object(Object(t).variables),h=(e,t,n)=>"function"==typeof n?n(e,t):n[e];function p(e,t,n,r){if("warn"===t.unresolved)e.warn(t.result,r,{word:n});else if("ignore"!==t.unresolved)throw e.error(r,{word:n})}function m(e,t,n){return e.replace(b,(r,i,a,s,o)=>{if("\\"===i)return r.slice(1);const l=a||s||o,u=c(l,t.parent,n);return void 0===u?(p(t,n,l,`Could not resolve the variable "$${l}" within "${e}"`),r):`${i}${v(u)}`})}const b=/(.?)(?:\$([A-z][\w-]*)|\$\(([A-z][\w-]*)\)|#\{\$([A-z][\w-]*)\})/g,v=e=>Array.isArray(e)?`(${e.map(v).join(",")})`:Object(e)===e?`(${Object.keys(e).map(t=>`${t}:${v(e[t])}`).join(",")})`:String(e);function g(e,t,n,r){if(!y.test(n)||void 0===c(t,e,r)){const r=y.test(n)?n.replace(y,""):n;e.variables=e.variables||{},e.variables[t]=r}}const y=/\s+!default$/;const w=e=>C.test(e.prop),C=/^\$[\w-]+$/;function _(e,t){return x(e)||function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(r=(s=o.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(l){i=!0,a=l}finally{try{r||null==o.return||o.return()}finally{if(i)throw a}}return n}(e,t)||k()}function S(e){return x(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||k()}function x(e){if(Array.isArray(e))return e}function k(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}const T=/^\(([\W\w]*)\)$/g,j=/^([\w-]+)\s*:\s*([\W\w]+)\s*$/,M=/\s*,\s*$/;var E=(e,t)=>e.reduce((e,n)=>e.then(()=>t(n)),Promise.resolve());const A=(e,t)=>{const n=e.params.split(L),r=(n[0]||"").trim().split(" "),i=r[0].trim().slice(1),s=r.length>1&&r[1].trim().slice(1),o=function e(t){const n=T.test(t),r=String(n?t.replace(T,"$1"):t).replace(M,""),i=a.list.comma(r);if(i[0]===t)return t;{const t={},n=[];return i.forEach((r,i)=>{const a=_(r.match(j)||[],3),s=a[0],o=a[1],l=a[2];s?t[o]=e(l):n[i]=e(r)}),Object.keys(t).length>0?Object.assign(t,n):n}}(m(n.slice(1).join(L),e,t));return{varname:i,incname:s,list:"string"==typeof o?[o]:o}},L=" in ";const P=(e,t)=>Promise.resolve(e&&t()),O=(e,t)=>{const n=a.list.space(e.params),r=I(m(n[0]||"",e,t)),i=n[1],s=I(m(n[2]||"",e,t));return!i&&r||"=="===i&&r===s||"!="===i&&r!==s||"<"===i&&r<s||"<="===i&&r<=s||">"===i&&r>s||">="===i&&r>=s},I=e=>"true"===e||"false"!==e&&(isNaN(e)?e:Number(e)),B=e=>Object(e)===e&&"atrule"===e.type&&"else"===e.name;const D=s()(),R=(e,t)=>{const n=S(a.list.space(e.params)),r=n[0],s=n.slice(1),o=m(N(r),e,t),l=s.join(" "),c=e.source&&e.source.input&&e.source.input.file||t.result.from;return{id:o,media:l,cwf:c,cwd:c?i.a.dirname(c):t.importRoot}},N=e=>H(e.replace(/^url\(([\W\w]*)\)$/,"$1")),H=e=>e.replace(/^("|')([\W\w]*)\1$/,"$2");const G=e=>{const t=_(e.params.split(F,2),2),n=t[0],r=t[1];return{name:n,args:r?a.list.comma(r.slice(0,-1)):[]}},F="(";const V=(e,t)=>{const n=a.list.space(e.params);return{varname:n[0].trim().slice(1),start:Number(m(n[2],e,t)),end:Number(m(n[4],e,t)),increment:6 in n&&Number(m(n[6],e,t))||1}};const U=(e,t)=>{const n=_(e.params.split(z,2),2),r=n[0],i=n[1];return{name:r,params:i&&i.slice(0,-1).trim()?a.list.comma(i.slice(0,-1).trim()).map(n=>{const r=a.list.split(n,":");return{name:r[0].slice(1),value:r.length>1?m(r.slice(1).join(":"),e,t):void 0}}):[]}},z="(";const W=e=>"atrule"===e.type&&"mixin"===e.name?e:e.parent&&W(e.parent);function q(e,t){return E(K(e),e=>function(e,t){return Promise.resolve().then(()=>{const n=e.type;if("atrule"===n){const n=e.name.toLowerCase();return"content"===n?function(e,t){if(-1!==t.transform.indexOf("@content")){const n=W(e);if(n){const r=n.original.clone({parent:e.parent,variables:e.variables});return q(r,t).then(()=>{e.parent.insertBefore(e,r.nodes),e.remove()})}p(e,t,"@content","Could not resolve the mixin for @content")}}(e,t):"each"===n?function(e,t){if(-1!==t.transform.indexOf("@each")){const n=A(e,t),r=n.varname,i=n.incname,a=n.list,s=[],o=[];return Object.keys(a).forEach(n=>{g(e,r,a[n],t),i&&g(e,i,n,t);const s=e.clone({parent:e.parent,variables:Object.assign({},e.variables)});o.push(s)}),E(o,e=>q(e,t).then(()=>{s.push(...e.nodes)})).then(()=>{e.parent.insertBefore(e,s),e.remove()})}}(e,t):"if"===n?function(e,t){const n=O(e,t),r=e.next(),i=e=>q(e,t).then(()=>e.parent.insertBefore(e,e.nodes));return P(-1!==t.transform.indexOf("@if"),()=>P(n,()=>i(e)).then(()=>{e.remove()})).then(()=>P(-1!==t.transform.indexOf("@else")&&B(r),()=>P(!n,()=>i(r)).then(()=>{r.remove()})))}(e,t):"import"===n?function(e,t){if(-1!==t.transform.indexOf("@import")){const n=R(e,t),r=n.id,i=n.media,a=n.cwf,o=n.cwd;if(t.importFilter instanceof Function&&t.importFilter(r,i)||t.importFilter instanceof RegExp&&t.importFilter.test(r)){return[o].concat(t.importPaths).reduce((e,n)=>e.catch(()=>t.importResolve(r,n,t)),Promise.reject()).then(({file:n,contents:r})=>D.process(r,{from:n}).then(({root:r})=>{t.result.messages.push({type:"dependency",file:n,parent:a});const o=r.nodes.slice(0);if(i){const t=s.a.atRule({name:"media",params:i,source:e.source});t.append(o),e.replaceWith(t)}else e.replaceWith(o);return q({nodes:o},t)}),()=>{p(e,t,"@import",`Could not resolve the @import for "${r}"`)})}}}(e,t):"include"===n?function(e,t){if(-1!==t.transform.indexOf("@include")){const n=G(e),r=n.name,i=n.args,a=c("@mixin "+r,e.parent,t);if(a){a.params.forEach((n,r)=>{const a=r in i?m(i[r],e,t):n.value;g(e,n.name,a,t)});const n=a.rule.clone({original:e,parent:e.parent,variables:e.variables});return q(n,t).then(()=>{e.parent.insertBefore(e,n.nodes),e.remove()})}p(e,t,r,`Could not resolve the mixin for "${r}"`)}}(e,t):"for"===n?function(e,t){if(-1!==t.transform.indexOf("@for")){const n=V(e,t),r=n.varname,i=n.start,a=n.end,s=n.increment,o=i<=a?1:-1,l=[],c=[];for(let u=i;u*o<=a*o;u+=s*o){g(e,r,u,t);const n=e.clone({parent:e.parent,variables:Object.assign({},e.variables)});c.push(n)}return E(c,e=>q(e,t).then(()=>{l.push(...e.nodes)})).then(()=>{e.parent.insertBefore(e,l),e.remove()})}}(e,t):"mixin"===n?function(e,t){if(-1!==t.transform.indexOf("@mixin")){const n=U(e,t),r=n.name,i=n.params;g(e.parent,"@mixin "+r,{params:i,rule:e},t),e.remove()}}(e,t):function(e,t){e.params=m(e.params,e,t)}(e,t)}return"decl"===n?function(e,t){e.value=m(e.value,e,t),w(e)&&(g(e.parent,e.prop.slice(1),e.value,t),e.remove())}(e,t):"rule"===n?function(e,t){e.selector=m(e.selector,e,t)}(e,t):void 0})}(e,t).then(()=>{if(e.parent)return q(e,t)}))}const K=e=>Array.from(Object(e).nodes||[]);var Z=s.a.plugin("postcss-advanced-variables",t=>(n,r)=>{const i=["@content","@each","@else","@if","@include","@import","@for","@mixin"].filter(e=>!(-1!==String(Object(t).disable||"").split(/\s*,\s*|\s+,?\s*|\s,?\s+/).indexOf(e))),a=String(Object(t).unresolved||"throw").toLowerCase(),s=Object(t).variables,o=Object(Object(t).importCache),c=Object(t).importFilter||(e=>!X.test(e)),u=[].concat(Object(t).importPaths||[]),d=Object(t).importResolve||((e,t)=>l()(e,{cwd:t,readFile:!0,cache:o})),f=Object(t).importRoot||e.cwd();return q(n,{result:r,importCache:o,importFilter:c,importPaths:u,importResolve:d,importRoot:f,transform:i,unresolved:a,variables:s})});const X=/^(?:[A-z]+:)?\/\//;t.a=Z}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/postcss-color-function/index.js":function(e,t,n){var r=n("./node_modules/postcss/lib/postcss.js"),i=n("./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/index.js"),a=n("./node_modules/css-color-function/lib/index.js"),s=n("./node_modules/postcss-message-helpers/index.js"),o={preserveCustomProps:!0};e.exports=r.plugin("postcss-color-function",(function(e){return e=Object.assign({},o,e),function(t,n){t.walkDecls((function(t){if(t.value&&-1!==t.value.indexOf("color(")){if(-1!==t.value.indexOf("var("))return e.preserveCustomProps?void n.messages.push({plugin:"postcss-color-function",type:"skipped-color-function-with-custom-property",word:t.value,message:"Skipped color function with custom property `"+t.value+"`"}):void t.remove();try{t.value=s.try((function(){return e=t.value,i(e).walk((function(e){"function"===e.type&&"color"===e.value&&(e.value=a.convert(i.stringify(e)),e.type="word")})).toString();var e}),t.source)}catch(r){t.warn(n,r.message,{word:t.value,index:t.index})}}}))}}))},"./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/index.js":function(e,t,n){var r=n("./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/parse.js"),i=n("./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/walk.js"),a=n("./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/stringify.js");function s(e){return this instanceof s?(this.nodes=r(e),this):new s(e)}s.prototype.toString=function(){return Array.isArray(this.nodes)?a(this.nodes):""},s.prototype.walk=function(e,t){return i(this.nodes,e,t),this},s.unit=n("./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/unit.js"),s.walk=i,s.stringify=a,e.exports=s},"./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/parse.js":function(e,t){var n="(".charCodeAt(0),r=")".charCodeAt(0),i="'".charCodeAt(0),a='"'.charCodeAt(0),s="\\".charCodeAt(0),o="/".charCodeAt(0),l=",".charCodeAt(0),c=":".charCodeAt(0),u="*".charCodeAt(0);e.exports=function(e){for(var t,d,f,h,p,m,b,v,g=[],y=e,w=0,C=y.charCodeAt(w),_=y.length,S=[{nodes:g}],x=0,k="",T="",j="";w<_;)if(C<=32){t=w;do{t+=1,C=y.charCodeAt(t)}while(C<=32);h=y.slice(w,t),f=g[g.length-1],C===r&&x?j=h:f&&"div"===f.type?f.after=h:C===l||C===c||C===o&&y.charCodeAt(t+1)!==u?T=h:g.push({type:"space",sourceIndex:w,value:h}),w=t}else if(C===i||C===a){t=w,h={type:"string",sourceIndex:w,quote:d=C===i?"'":'"'};do{if(p=!1,~(t=y.indexOf(d,t+1)))for(m=t;y.charCodeAt(m-1)===s;)m-=1,p=!p;else t=(y+=d).length-1,h.unclosed=!0}while(p);h.value=y.slice(w+1,t),g.push(h),w=t+1,C=y.charCodeAt(w)}else if(C===o&&y.charCodeAt(w+1)===u)h={type:"comment",sourceIndex:w},-1===(t=y.indexOf("*/",w))&&(h.unclosed=!0,t=y.length),h.value=y.slice(w+2,t),g.push(h),w=t+2,C=y.charCodeAt(w);else if(C===o||C===l||C===c)h=y[w],g.push({type:"div",sourceIndex:w-T.length,value:h,before:T,after:""}),T="",w+=1,C=y.charCodeAt(w);else if(n===C){t=w;do{t+=1,C=y.charCodeAt(t)}while(C<=32);if(h={type:"function",sourceIndex:w-k.length,value:k,before:y.slice(w+1,t)},w=t,"url"===k&&C!==i&&C!==a){t-=1;do{if(p=!1,~(t=y.indexOf(")",t+1)))for(m=t;y.charCodeAt(m-1)===s;)m-=1,p=!p;else t=(y+=")").length-1,h.unclosed=!0}while(p);b=t;do{b-=1,C=y.charCodeAt(b)}while(C<=32);h.nodes=w!==b+1?[{type:"word",sourceIndex:w,value:y.slice(w,b+1)}]:[],h.unclosed&&b+1!==t?(h.after="",h.nodes.push({type:"space",sourceIndex:b+1,value:y.slice(b+1,t)})):h.after=y.slice(b+1,t),w=t+1,C=y.charCodeAt(w),g.push(h)}else x+=1,h.after="",g.push(h),S.push(h),g=h.nodes=[],v=h;k=""}else if(r===C&&x)w+=1,C=y.charCodeAt(w),v.after=j,j="",x-=1,S.pop(),g=(v=S[x]).nodes;else{t=w;do{C===s&&(t+=1),t+=1,C=y.charCodeAt(t)}while(t<_&&!(C<=32||C===i||C===a||C===l||C===c||C===o||C===n||C===r&&x));h=y.slice(w,t),n===C?k=h:g.push({type:"word",sourceIndex:w,value:h}),w=t}for(w=S.length-1;w;w-=1)S[w].unclosed=!0;return S[0].nodes}},"./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/stringify.js":function(e,t){function n(e,t){var n,i,a=e.type,s=e.value;return t&&void 0!==(i=t(e))?i:"word"===a||"space"===a?s:"string"===a?(n=e.quote||"")+s+(e.unclosed?"":n):"comment"===a?"/*"+s+(e.unclosed?"":"*/"):"div"===a?(e.before||"")+s+(e.after||""):Array.isArray(e.nodes)?(n=r(e.nodes),"function"!==a?n:s+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")):s}function r(e,t){var r,i;if(Array.isArray(e)){for(r="",i=e.length-1;~i;i-=1)r=n(e[i],t)+r;return r}return n(e,t)}e.exports=r},"./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/unit.js":function(e,t){var n="-".charCodeAt(0),r="+".charCodeAt(0),i=".".charCodeAt(0),a="e".charCodeAt(0),s="E".charCodeAt(0);e.exports=function(e){for(var t,o=0,l=e.length,c=!1,u=-1,d=!1;o<l;){if((t=e.charCodeAt(o))>=48&&t<=57)d=!0;else if(t===a||t===s){if(u>-1)break;u=o}else if(t===i){if(c)break;c=!0}else{if(t!==r&&t!==n)break;if(0!==o)break}o+=1}return u+1===o&&o--,!!d&&{number:e.slice(0,o),unit:e.slice(o)}}},"./node_modules/postcss-color-function/node_modules/postcss-value-parser/lib/walk.js":function(e,t){e.exports=function e(t,n,r){var i,a,s,o;for(i=0,a=t.length;i<a;i+=1)s=t[i],r||(o=n(s,i,t)),!1!==o&&"function"===s.type&&Array.isArray(s.nodes)&&e(s.nodes,n,r),r&&n(s,i,t)}},"./node_modules/postcss-custom-media lazy recursive":function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="./node_modules/postcss-custom-media lazy recursive"},"./node_modules/postcss-custom-properties lazy recursive":function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="./node_modules/postcss-custom-properties lazy recursive"},"./node_modules/postcss-each/index.es5.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(r=(s=o.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(l){i=!0,a=l}finally{try{!r&&o.return&&o.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=s(n("./node_modules/postcss/lib/postcss.js")),a=s(n("./node_modules/postcss-simple-vars/index.js"));function s(e){return e&&e.__esModule?e:{default:e}}var o=/\s+in\s+/;function l(e){return i.default.list.comma(e).map((function(e){return e.replace(/^\$/,"")}))}function c(e){var t=" "+e.params+" ",n=function(e){if(!o.test(e))return'Missed "in" keyword in @each';var t=e.split(o).map((function(e){return e.trim()})),n=r(t,2),i=n[0],a=n[1];return i.match(/\$[_a-zA-Z]?\w+/)?a.match(/(\w+\,?\s?)+/)?null:"Missed values list in @each":"Missed variable name in @each"}(t);if(n)throw e.error(n);!function(e,t){t.values[0].forEach((function(n,r){var s={};t.names.forEach((function(e,n){s[e]=t.values[n][r]})),t.indexName&&(s[t.indexName]=r),e.nodes.forEach((function(t){var n=t.clone(),r=i.default.rule({nodes:[n]});(0,a.default)({only:s})(r),e.parent.insertBefore(e,n)}))}))}(e,function(e){var t=e.split(o).map(l),n=r(t,2),a=n[0],s=n[1],c=!1;return s=s.map((function(e){var t=e.match(/^\((.*)\)$/);return t&&(c=!0),t?i.default.list.comma(t[1]):e})),{names:(s=c?s:[s]).map((function(e,t){return a[t]})),indexName:a[s.length],values:s}}(t)),e.remove(),u(e.root())}function u(e,t){var n=t&&t.plugins;n&&t.plugins.afterEach&&t.plugins.afterEach.length&&(e=(0,i.default)(t.plugins.afterEach).process(e).root),e.walkAtRules("each",c),n&&t.plugins.beforeEach&&t.plugins.beforeEach.length&&(e=(0,i.default)(t.plugins.beforeEach).process(e).root),function(e){var t=0;return e.walkAtRules("each",(function(){return t++})),t}(e)&&u(e,t)}t.default=i.default.plugin("postcss-each",(function(e){return e=e||{},function(t,n){return u(t,e)}})),e.exports=t.default},"./node_modules/postcss-functions/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n("./node_modules/postcss/lib/postcss.js"),a=n("./node_modules/postcss-functions/dist/lib/transformer.js"),s=(r=a)&&r.__esModule?r:{default:r},o=n("./node_modules/postcss-functions/dist/lib/helpers.js");t.default=(0,i.plugin)("postcss-functions",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.functions||{},n=(0,s.default)(t);return function(e){var t=[];if(e.walk((function(e){t.push(n(e))})),(0,o.hasPromises)(t))return Promise.all(t)}})),e.exports=t.default},"./node_modules/postcss-functions/dist/lib/helpers.js":function(e,t,n){"use strict";function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=r,t.hasPromises=function(e){return e.some((function(e){return r(e)}))},t.then=function(e,t){return r(e)?e.then(t):t(e)}},"./node_modules/postcss-functions/dist/lib/transformer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n("./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/index.js"),a=(r=i)&&r.__esModule?r:{default:r},s=n("./node_modules/postcss-functions/dist/lib/helpers.js");t.default=function(e){function t(e,t){var r=[],i=(0,a.default)(e[t]).walk((function(e){r.push(n(e))}));return(0,s.hasPromises)(r)&&(r=Promise.all(r)),(0,s.then)(r,(function(){e[t]=i.toString()}))}function n(t){if("function"!==t.type||!e.hasOwnProperty(t.value))return t;var r=e[t.value];return(0,s.then)(function(e){e=e.map((function(e){return n(e)})),(0,s.hasPromises)(e)&&(e=Promise.all(e));return(0,s.then)(e,(function(e){var t=[],n=e.reduce((function(e,n){return"div"===n.type&&","===n.value?(t.push(e),""):e+a.default.stringify(n)}),"");return n&&t.push(n),t}))}(t.nodes),(function(e){var n=r.apply(r,e);return(0,s.then)(n,(function(e){return t.type="word",t.value=e,t}))}))}return function(e){switch(e.type){case"decl":return t(e,"value");case"atrule":return t(e,"params");case"rule":return t(e,"selector")}}},e.exports=t.default},"./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/index.js":function(e,t,n){var r=n("./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/parse.js"),i=n("./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/walk.js"),a=n("./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/stringify.js");function s(e){return this instanceof s?(this.nodes=r(e),this):new s(e)}s.prototype.toString=function(){return Array.isArray(this.nodes)?a(this.nodes):""},s.prototype.walk=function(e,t){return i(this.nodes,e,t),this},s.unit=n("./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/unit.js"),s.walk=i,s.stringify=a,e.exports=s},"./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/parse.js":function(e,t){var n="(".charCodeAt(0),r=")".charCodeAt(0),i="'".charCodeAt(0),a='"'.charCodeAt(0),s="\\".charCodeAt(0),o="/".charCodeAt(0),l=",".charCodeAt(0),c=":".charCodeAt(0),u="*".charCodeAt(0);e.exports=function(e){for(var t,d,f,h,p,m,b,v,g=[],y=e,w=0,C=y.charCodeAt(w),_=y.length,S=[{nodes:g}],x=0,k="",T="",j="";w<_;)if(C<=32){t=w;do{t+=1,C=y.charCodeAt(t)}while(C<=32);h=y.slice(w,t),f=g[g.length-1],C===r&&x?j=h:f&&"div"===f.type?f.after=h:C===l||C===c||C===o&&y.charCodeAt(t+1)!==u?T=h:g.push({type:"space",sourceIndex:w,value:h}),w=t}else if(C===i||C===a){t=w,h={type:"string",sourceIndex:w,quote:d=C===i?"'":'"'};do{if(p=!1,~(t=y.indexOf(d,t+1)))for(m=t;y.charCodeAt(m-1)===s;)m-=1,p=!p;else t=(y+=d).length-1,h.unclosed=!0}while(p);h.value=y.slice(w+1,t),g.push(h),w=t+1,C=y.charCodeAt(w)}else if(C===o&&y.charCodeAt(w+1)===u)h={type:"comment",sourceIndex:w},-1===(t=y.indexOf("*/",w))&&(h.unclosed=!0,t=y.length),h.value=y.slice(w+2,t),g.push(h),w=t+2,C=y.charCodeAt(w);else if(C===o||C===l||C===c)h=y[w],g.push({type:"div",sourceIndex:w-T.length,value:h,before:T,after:""}),T="",w+=1,C=y.charCodeAt(w);else if(n===C){t=w;do{t+=1,C=y.charCodeAt(t)}while(C<=32);if(h={type:"function",sourceIndex:w-k.length,value:k,before:y.slice(w+1,t)},w=t,"url"===k&&C!==i&&C!==a){t-=1;do{if(p=!1,~(t=y.indexOf(")",t+1)))for(m=t;y.charCodeAt(m-1)===s;)m-=1,p=!p;else t=(y+=")").length-1,h.unclosed=!0}while(p);b=t;do{b-=1,C=y.charCodeAt(b)}while(C<=32);h.nodes=w!==b+1?[{type:"word",sourceIndex:w,value:y.slice(w,b+1)}]:[],h.unclosed&&b+1!==t?(h.after="",h.nodes.push({type:"space",sourceIndex:b+1,value:y.slice(b+1,t)})):h.after=y.slice(b+1,t),w=t+1,C=y.charCodeAt(w),g.push(h)}else x+=1,h.after="",g.push(h),S.push(h),g=h.nodes=[],v=h;k=""}else if(r===C&&x)w+=1,C=y.charCodeAt(w),v.after=j,j="",x-=1,S.pop(),g=(v=S[x]).nodes;else{t=w;do{C===s&&(t+=1),t+=1,C=y.charCodeAt(t)}while(t<_&&!(C<=32||C===i||C===a||C===l||C===c||C===o||C===n||C===r&&x));h=y.slice(w,t),n===C?k=h:g.push({type:"word",sourceIndex:w,value:h}),w=t}for(w=S.length-1;w;w-=1)S[w].unclosed=!0;return S[0].nodes}},"./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/stringify.js":function(e,t){function n(e,t){var n,i,a=e.type,s=e.value;return t&&void 0!==(i=t(e))?i:"word"===a||"space"===a?s:"string"===a?(n=e.quote||"")+s+(e.unclosed?"":n):"comment"===a?"/*"+s+(e.unclosed?"":"*/"):"div"===a?(e.before||"")+s+(e.after||""):Array.isArray(e.nodes)?(n=r(e.nodes),"function"!==a?n:s+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")):s}function r(e,t){var r,i;if(Array.isArray(e)){for(r="",i=e.length-1;~i;i-=1)r=n(e[i],t)+r;return r}return n(e,t)}e.exports=r},"./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/unit.js":function(e,t){var n="-".charCodeAt(0),r="+".charCodeAt(0),i=".".charCodeAt(0),a="e".charCodeAt(0),s="E".charCodeAt(0);e.exports=function(e){for(var t,o=0,l=e.length,c=!1,u=-1,d=!1;o<l;){if((t=e.charCodeAt(o))>=48&&t<=57)d=!0;else if(t===a||t===s){if(u>-1)break;u=o}else if(t===i){if(c)break;c=!0}else{if(t!==r&&t!==n)break;if(0!==o)break}o+=1}return u+1===o&&o--,!!d&&{number:e.slice(0,o),unit:e.slice(o)}}},"./node_modules/postcss-functions/node_modules/postcss-value-parser/lib/walk.js":function(e,t){e.exports=function e(t,n,r){var i,a,s,o;for(i=0,a=t.length;i<a;i+=1)s=t[i],r||(o=n(s,i,t)),!1!==o&&"function"===s.type&&Array.isArray(s.nodes)&&e(s.nodes,n,r),r&&n(s,i,t)}},"./node_modules/postcss-message-helpers/index.js":function(e,t){function n(e){var t="<css input>";return e&&(e.input&&e.input.file&&(t=e.input.file),e.start&&(t+=":"+e.start.line+":"+e.start.column)),t}function r(e,t){return n(t)+": "+e}e.exports={sourceString:n,message:r,try:function(e,t){try{return e()}catch(s){if(s.originalMessage=s.message,s.message=r(s.message,t),"object"==typeof t){if(t.input&&t.input.file||t.start){var i=s.stack.split("\n at "),a=i.shift();i.unshift(n(t)),i.unshift(a),s.stack=i.join("\n at ")}t.input&&t.input.file&&(s.fileName=t.input.file),t.start&&(s.lineNumber=t.start.line,s.columnNumber=t.start.column)}throw s}}}},"./node_modules/postcss-nested/index.js":function(e,t,n){var r=n("./node_modules/postcss/lib/postcss.js"),i=n("./node_modules/postcss-selector-parser/dist/index.js");function a(e,t){var n,r=i((function(e){n=e}));try{r.processSync(e)}catch(a){throw-1!==e.indexOf(":")?t?t.error("Missed semicolon"):a:t?t.error(a.message):a}return n.at(0)}function s(e,t){var n=[];return e.selectors.forEach((function(r){var s=a(r,e);t.selectors.forEach((function(e){var r=a(e,t);(function e(t,n){var r=!1;return t.each((function(t){if("nesting"===t.type){var i=n.clone();"&"!==t.value?t.replaceWith(a(t.value.replace("&",i.toString()))):t.replaceWith(i),r=!0}else t.nodes&&e(t,n)&&(r=!0)})),r})(r,s)||(r.prepend(i.combinator({value:" "})),r.prepend(s.clone())),n.push(r.toString())}))})),n}function o(e,t){return e&&"comment"===e.type?(t.after(e),e):t}function l(e,t,n){var r=[];if(t.each((function(t){"comment"===t.type||"decl"===t.type?r.push(t):"rule"===t.type&&n?t.selectors=s(e,t):"atrule"===t.type&&l(e,t,n)})),n&&r.length){for(var i=e.clone({nodes:[]}),a=0;a<r.length;a++)i.append(r[a]);t.prepend(i)}}function c(e,t){var n,r={};for(n=0;n<e.length;n++)r[e[n]]=!0;if(t)for(n=0;n<t.length;n++)r[t[n].replace(/^@/,"")]=!0;return r}e.exports=r.plugin("postcss-nested",(function(e){e||(e={});var t=c(["media","supports"],e.bubble),n=c(["document","font-face","keyframes"],e.unwrap),i=!!e&&e.preserveEmpty,a=function(e){e.each((function(e){"rule"===e.type?function(e,t,n,i){var a=!1,c=e;e.each((function(i){if("rule"===i.type)a=!0,i.selectors=s(e,i),(c=o(i.prev(),c)).after(i),c=i;else if("atrule"===i.type)if("at-root"===i.name){a=!0,l(e,i,!1);var u=i.nodes;i.params&&(u=r.rule({selector:i.params,nodes:u})),c.after(u),c=u,i.remove()}else t[i.name]?(a=!0,l(e,i,!0),(c=o(i.prev(),c)).after(i),c=i):n[i.name]&&(a=!0,l(e,i,!1),(c=o(i.prev(),c)).after(i),c=i)})),a&&!0!==i&&(e.raws.semicolon=!0,0===e.nodes.length&&e.remove())}(e,t,n,i):"atrule"===e.type&&a(e)}))};return a}))},"./node_modules/postcss-prefix-url/index.js":function(e,t,n){"use strict";var r=n("./node_modules/postcss/lib/postcss.js"),i=n("./node_modules/postcss-functions/dist/index.js"),a=n("./node_modules/consistent/index.js"),s=n("./node_modules/url/url.js");e.exports=r.plugin("prefix",(function(e){var t,n=(e=e||{}).prefix||"",o=e.useUrl||!1,l=e.exclude||null;Array.isArray(n)&&(1===n.length?n=n[0]:0===n.length&&(n="")),Array.isArray(n)&&(t=new a({members:n}));var c=function(e){return"string"==typeof n?n:t.get(e)},u=function(e,t){t=void 0===t||t;var n=e.replace(/['"]/g,"");(l&&l.test(e)||/^([a-z]+:\/\/|\/\/)/i.test(e))&&(t=!1);var r=t?c(n):"";return"url("+s.resolve(r,n)+")"};return r().use(i({functions:{cdn:function(e){return u(e)},url:function(e){return u(e,o)}}}))}))},"./node_modules/postcss-selector-parser/dist/index.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/processor.js"))&&r.__esModule?r:{default:r},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n("./node_modules/postcss-selector-parser/dist/selectors/index.js"));var s=function(e){return new i.default(e)};Object.assign(s,a),delete s.__esModule;var o=s;t.default=o,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/parser.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i,a=k(n("./node_modules/indexes-of/index.js")),s=k(n("./node_modules/uniq/uniq.js")),o=k(n("./node_modules/postcss-selector-parser/dist/selectors/root.js")),l=k(n("./node_modules/postcss-selector-parser/dist/selectors/selector.js")),c=k(n("./node_modules/postcss-selector-parser/dist/selectors/className.js")),u=k(n("./node_modules/postcss-selector-parser/dist/selectors/comment.js")),d=k(n("./node_modules/postcss-selector-parser/dist/selectors/id.js")),f=k(n("./node_modules/postcss-selector-parser/dist/selectors/tag.js")),h=k(n("./node_modules/postcss-selector-parser/dist/selectors/string.js")),p=k(n("./node_modules/postcss-selector-parser/dist/selectors/pseudo.js")),m=x(n("./node_modules/postcss-selector-parser/dist/selectors/attribute.js")),b=k(n("./node_modules/postcss-selector-parser/dist/selectors/universal.js")),v=k(n("./node_modules/postcss-selector-parser/dist/selectors/combinator.js")),g=k(n("./node_modules/postcss-selector-parser/dist/selectors/nesting.js")),y=k(n("./node_modules/postcss-selector-parser/dist/sortAscending.js")),w=x(n("./node_modules/postcss-selector-parser/dist/tokenize.js")),C=x(n("./node_modules/postcss-selector-parser/dist/tokenTypes.js")),_=x(n("./node_modules/postcss-selector-parser/dist/selectors/types.js")),S=n("./node_modules/postcss-selector-parser/dist/util/index.js");function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}function T(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)}}var j=((r={})[C.space]=!0,r[C.cr]=!0,r[C.feed]=!0,r[C.newline]=!0,r[C.tab]=!0,r),M=Object.assign({},j,((i={})[C.comment]=!0,i));function E(e){return{line:e[w.FIELDS.START_LINE],column:e[w.FIELDS.START_COL]}}function A(e){return{line:e[w.FIELDS.END_LINE],column:e[w.FIELDS.END_COL]}}function L(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function P(e){return L(e[w.FIELDS.START_LINE],e[w.FIELDS.START_COL],e[w.FIELDS.END_LINE],e[w.FIELDS.END_COL])}function O(e,t){if(e)return L(e[w.FIELDS.START_LINE],e[w.FIELDS.START_COL],t[w.FIELDS.END_LINE],t[w.FIELDS.END_COL])}function I(e,t){var n=e[t];if("string"==typeof n)return-1!==n.indexOf("\\")&&((0,S.ensureObject)(e,"raws"),e[t]=(0,S.unesc)(n),void 0===e.raws[t]&&(e.raws[t]=n)),e}var B=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,w.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=O(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new o.default({source:n}),this.root.errorGenerator=this._errorGenerator();var r=new l.default({source:{start:{line:1,column:1}}});this.root.append(r),this.current=r,this.loop()}var t,n,r,i=e.prototype;return i._errorGenerator=function(){var e=this;return function(t,n){return"string"==typeof e.rule?new Error(t):e.rule.error(t,n)}},i.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[w.FIELDS.TYPE]!==C.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[w.FIELDS.TYPE]!==C.closeSquare)return this.expected("closing square bracket",this.currToken[w.FIELDS.START_POS]);var n=e.length,r={source:L(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[w.FIELDS.START_POS]};if(1===n&&!~[C.word].indexOf(e[0][w.FIELDS.TYPE]))return this.expected("attribute",e[0][w.FIELDS.START_POS]);for(var i=0,a="",s="",o=null,l=!1;i<n;){var c=e[i],u=this.content(c),d=e[i+1];switch(c[w.FIELDS.TYPE]){case C.space:if(l=!0,this.options.lossy)break;if(o){(0,S.ensureObject)(r,"spaces",o);var f=r.spaces[o].after||"";r.spaces[o].after=f+u;var h=(0,S.getProp)(r,"raws","spaces",o,"after")||null;h&&(r.raws.spaces[o].after=h+u)}else a+=u,s+=u;break;case C.asterisk:if(d[w.FIELDS.TYPE]===C.equals)r.operator=u,o="operator";else if((!r.namespace||"namespace"===o&&!l)&&d){a&&((0,S.ensureObject)(r,"spaces","attribute"),r.spaces.attribute.before=a,a=""),s&&((0,S.ensureObject)(r,"raws","spaces","attribute"),r.raws.spaces.attribute.before=a,s=""),r.namespace=(r.namespace||"")+u,((0,S.getProp)(r,"raws","namespace")||null)&&(r.raws.namespace+=u),o="namespace"}l=!1;break;case C.dollar:if("value"===o){var p=(0,S.getProp)(r,"raws","value");r.value+="$",p&&(r.raws.value=p+"$");break}case C.caret:d[w.FIELDS.TYPE]===C.equals&&(r.operator=u,o="operator"),l=!1;break;case C.combinator:if("~"===u&&d[w.FIELDS.TYPE]===C.equals&&(r.operator=u,o="operator"),"|"!==u){l=!1;break}d[w.FIELDS.TYPE]===C.equals?(r.operator=u,o="operator"):r.namespace||r.attribute||(r.namespace=!0),l=!1;break;case C.word:if(d&&"|"===this.content(d)&&e[i+2]&&e[i+2][w.FIELDS.TYPE]!==C.equals&&!r.operator&&!r.namespace)r.namespace=u,o="namespace";else if(!r.attribute||"attribute"===o&&!l){a&&((0,S.ensureObject)(r,"spaces","attribute"),r.spaces.attribute.before=a,a=""),s&&((0,S.ensureObject)(r,"raws","spaces","attribute"),r.raws.spaces.attribute.before=s,s=""),r.attribute=(r.attribute||"")+u,((0,S.getProp)(r,"raws","attribute")||null)&&(r.raws.attribute+=u),o="attribute"}else if(!r.value&&""!==r.value||"value"===o&&!l){var b=(0,S.unesc)(u),v=(0,S.getProp)(r,"raws","value")||"",g=r.value||"";r.value=g+b,r.quoteMark=null,(b!==u||v)&&((0,S.ensureObject)(r,"raws"),r.raws.value=(v||g)+u),o="value"}else{var y="i"===u||"I"===u;!r.value&&""!==r.value||!r.quoteMark&&!l?(r.value||""===r.value)&&(o="value",r.value+=u,r.raws.value&&(r.raws.value+=u)):(r.insensitive=y,y&&"I"!==u||((0,S.ensureObject)(r,"raws"),r.raws.insensitiveFlag=u),o="insensitive",a&&((0,S.ensureObject)(r,"spaces","insensitive"),r.spaces.insensitive.before=a,a=""),s&&((0,S.ensureObject)(r,"raws","spaces","insensitive"),r.raws.spaces.insensitive.before=s,s=""))}l=!1;break;case C.str:if(!r.attribute||!r.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:c[w.FIELDS.START_POS]});var _=(0,m.unescapeValue)(u),x=_.unescaped,k=_.quoteMark;r.value=x,r.quoteMark=k,o="value",(0,S.ensureObject)(r,"raws"),r.raws.value=u,l=!1;break;case C.equals:if(!r.attribute)return this.expected("attribute",c[w.FIELDS.START_POS],u);if(r.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:c[w.FIELDS.START_POS]});r.operator=r.operator?r.operator+u:u,o="operator",l=!1;break;case C.comment:if(o)if(l||d&&d[w.FIELDS.TYPE]===C.space||"insensitive"===o){var T=(0,S.getProp)(r,"spaces",o,"after")||"",j=(0,S.getProp)(r,"raws","spaces",o,"after")||T;(0,S.ensureObject)(r,"raws","spaces",o),r.raws.spaces[o].after=j+u}else{var M=r[o]||"",E=(0,S.getProp)(r,"raws",o)||M;(0,S.ensureObject)(r,"raws"),r.raws[o]=E+u}else s+=u;break;default:return this.error('Unexpected "'+u+'" found.',{index:c[w.FIELDS.START_POS]})}i++}I(r,"attribute"),I(r,"namespace"),this.newNode(new m.default(r)),this.position++},i.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,n=[],r="",i=void 0;do{if(j[this.currToken[w.FIELDS.TYPE]])this.options.lossy||(r+=this.content());else if(this.currToken[w.FIELDS.TYPE]===C.comment){var a={};r&&(a.before=r,r=""),i=new u.default({value:this.content(),source:P(this.currToken),sourceIndex:this.currToken[w.FIELDS.START_POS],spaces:a}),n.push(i)}}while(++this.position<e);if(r)if(i)i.spaces.after=r;else if(!this.options.lossy){var s=this.tokens[t],o=this.tokens[this.position-1];n.push(new h.default({value:"",source:L(s[w.FIELDS.START_LINE],s[w.FIELDS.START_COL],o[w.FIELDS.END_LINE],o[w.FIELDS.END_COL]),sourceIndex:s[w.FIELDS.START_POS],spaces:{before:r,after:""}}))}return n},i.convertWhitespaceNodesToSpace=function(e,t){var n=this;void 0===t&&(t=!1);var r="",i="";return e.forEach((function(e){var a=n.lossySpace(e.spaces.before,t),s=n.lossySpace(e.rawSpaceBefore,t);r+=a+n.lossySpace(e.spaces.after,t&&0===a.length),i+=a+e.value+n.lossySpace(e.rawSpaceAfter,t&&0===s.length)})),i===r&&(i=void 0),{space:r,rawSpace:i}},i.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][w.FIELDS.TYPE]===C.slash&&this.tokens[e+1]&&this.tokens[e+1][w.FIELDS.TYPE]===C.word&&this.tokens[e+2]&&this.tokens[e+2][w.FIELDS.TYPE]===C.slash},i.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,S.unesc)(e).toLowerCase(),n={};t!==e&&(n.value="/"+e+"/");var r=new v.default({value:"/"+t+"/",source:L(this.currToken[w.FIELDS.START_LINE],this.currToken[w.FIELDS.START_COL],this.tokens[this.position+2][w.FIELDS.END_LINE],this.tokens[this.position+2][w.FIELDS.END_COL]),sourceIndex:this.currToken[w.FIELDS.START_POS],raws:n});return this.position=this.position+3,r}this.unexpected()},i.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][w.FIELDS.TYPE]===C.comma)){var n,r=this.currToken,i=void 0;if(t>this.position&&(i=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?n=this.namedCombinator():this.currToken[w.FIELDS.TYPE]===C.combinator?(n=new v.default({value:this.content(),source:P(this.currToken),sourceIndex:this.currToken[w.FIELDS.START_POS]}),this.position++):j[this.currToken[w.FIELDS.TYPE]]||i||this.unexpected(),n){if(i){var a=this.convertWhitespaceNodesToSpace(i),s=a.space,o=a.rawSpace;n.spaces.before=s,n.rawSpaceBefore=o}}else{var l=this.convertWhitespaceNodesToSpace(i,!0),c=l.space,u=l.rawSpace;u||(u=c);var d={},f={spaces:{}};c.endsWith(" ")&&u.endsWith(" ")?(d.before=c.slice(0,c.length-1),f.spaces.before=u.slice(0,u.length-1)):c.startsWith(" ")&&u.startsWith(" ")?(d.after=c.slice(1),f.spaces.after=u.slice(1)):f.value=u,n=new v.default({value:" ",source:O(r,this.tokens[this.position-1]),sourceIndex:r[w.FIELDS.START_POS],spaces:d,raws:f})}return this.currToken&&this.currToken[w.FIELDS.TYPE]===C.space&&(n.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(n)}var h=this.parseWhitespaceEquivalentTokens(t);if(h.length>0){var p=this.current.last;if(p){var m=this.convertWhitespaceNodesToSpace(h),b=m.space,g=m.rawSpace;void 0!==g&&(p.rawSpaceAfter+=g),p.spaces.after+=b}else h.forEach((function(t){return e.newNode(t)}))}},i.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new l.default({source:{start:E(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},i.comment=function(){var e=this.currToken;this.newNode(new u.default({value:this.content(),source:P(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++},i.error=function(e,t){throw this.root.error(e,t)},i.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[w.FIELDS.START_POS]})},i.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[w.FIELDS.START_POS])},i.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[w.FIELDS.START_POS])},i.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[w.FIELDS.START_POS])},i.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[w.FIELDS.TYPE]===C.word?(this.position++,this.word(e)):this.nextToken[w.FIELDS.TYPE]===C.asterisk?(this.position++,this.universal(e)):void 0},i.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new g.default({value:this.content(),source:P(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++},i.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===_.PSEUDO){var n=new l.default({source:{start:E(this.tokens[this.position-1])}}),r=this.current;for(e.append(n),this.current=n;this.position<this.tokens.length&&t;)this.currToken[w.FIELDS.TYPE]===C.openParenthesis&&t++,this.currToken[w.FIELDS.TYPE]===C.closeParenthesis&&t--,t?this.parse():(this.current.source.end=A(this.currToken),this.current.parent.source.end=A(this.currToken),this.position++);this.current=r}else{for(var i,a=this.currToken,s="(";this.position<this.tokens.length&&t;)this.currToken[w.FIELDS.TYPE]===C.openParenthesis&&t++,this.currToken[w.FIELDS.TYPE]===C.closeParenthesis&&t--,i=this.currToken,s+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",s,s):this.newNode(new h.default({value:s,source:L(a[w.FIELDS.START_LINE],a[w.FIELDS.START_COL],i[w.FIELDS.END_LINE],i[w.FIELDS.END_COL]),sourceIndex:a[w.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[w.FIELDS.START_POS])},i.pseudo=function(){for(var e=this,t="",n=this.currToken;this.currToken&&this.currToken[w.FIELDS.TYPE]===C.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[w.FIELDS.TYPE]!==C.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[w.FIELDS.START_POS]):void this.splitWord(!1,(function(r,i){t+=r,e.newNode(new p.default({value:t,source:O(n,e.currToken),sourceIndex:n[w.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[w.FIELDS.TYPE]===C.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[w.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},i.space=function(){var e=this.content();0===this.position||this.prevToken[w.FIELDS.TYPE]===C.comma||this.prevToken[w.FIELDS.TYPE]===C.openParenthesis?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[w.FIELDS.TYPE]===C.comma||this.nextToken[w.FIELDS.TYPE]===C.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},i.string=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:P(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++},i.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var n=this.currToken;this.newNode(new b.default({value:this.content(),source:P(n),sourceIndex:n[w.FIELDS.START_POS]}),e),this.position++},i.splitWord=function(e,t){for(var n=this,r=this.nextToken,i=this.content();r&&~[C.dollar,C.caret,C.equals,C.word].indexOf(r[w.FIELDS.TYPE]);){this.position++;var o=this.content();if(i+=o,o.lastIndexOf("\\")===o.length-1){var l=this.nextToken;l&&l[w.FIELDS.TYPE]===C.space&&(i+=this.requiredSpace(this.content(l)),this.position++)}r=this.nextToken}var u=(0,a.default)(i,".").filter((function(e){return"\\"!==i[e-1]})),h=(0,a.default)(i,"#").filter((function(e){return"\\"!==i[e-1]})),p=(0,a.default)(i,"#{");p.length&&(h=h.filter((function(e){return!~p.indexOf(e)})));var m=(0,y.default)((0,s.default)([0].concat(u,h)));m.forEach((function(r,a){var s,o=m[a+1]||i.length,l=i.slice(r,o);if(0===a&&t)return t.call(n,l,m.length);var p=n.currToken,b=p[w.FIELDS.START_POS]+m[a],v=L(p[1],p[2]+r,p[3],p[2]+(o-1));if(~u.indexOf(r)){var g={value:l.slice(1),source:v,sourceIndex:b};s=new c.default(I(g,"value"))}else if(~h.indexOf(r)){var y={value:l.slice(1),source:v,sourceIndex:b};s=new d.default(I(y,"value"))}else{var C={value:l,source:v,sourceIndex:b};I(C,"value"),s=new f.default(C)}n.newNode(s,e),e=null})),this.position++},i.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},i.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},i.parse=function(e){switch(this.currToken[w.FIELDS.TYPE]){case C.space:this.space();break;case C.comment:this.comment();break;case C.openParenthesis:this.parentheses();break;case C.closeParenthesis:e&&this.missingParenthesis();break;case C.openSquare:this.attribute();break;case C.dollar:case C.caret:case C.equals:case C.word:this.word();break;case C.colon:this.pseudo();break;case C.comma:this.comma();break;case C.asterisk:this.universal();break;case C.ampersand:this.nesting();break;case C.slash:case C.combinator:this.combinator();break;case C.str:this.string();break;case C.closeSquare:this.missingSquareBracket();case C.semicolon:this.missingBackslash();default:this.unexpected()}},i.expected=function(e,t,n){if(Array.isArray(e)){var r=e.pop();e=e.join(", ")+" or "+r}var i=/^[aeiou]/.test(e[0])?"an":"a";return n?this.error("Expected "+i+" "+e+', found "'+n+'" instead.',{index:t}):this.error("Expected "+i+" "+e+".",{index:t})},i.requiredSpace=function(e){return this.options.lossy?" ":e},i.optionalSpace=function(e){return this.options.lossy?"":e},i.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},i.parseParenthesisToken=function(e){var t=this.content(e);return e[w.FIELDS.TYPE]===C.space?this.requiredSpace(t):t},i.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,I(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},i.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[w.FIELDS.START_POS],e[w.FIELDS.END_POS])},i.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!M[this.tokens[t][w.FIELDS.TYPE]])return t;t++}return-1},t=e,(n=[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}])&&T(t.prototype,n),r&&T(t,r),e}();t.default=B,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/processor.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/parser.js"))&&r.__esModule?r:{default:r};var a=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new i.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var n=this;return void 0===t&&(t={}),new Promise((function(r,i){try{var a=n._root(e,t);Promise.resolve(n.func(a)).then((function(r){var i=void 0;return n._shouldUpdateSelector(e,t)&&(i=a.toString(),e.selector=i),{transform:r,root:a,string:i}})).then(r,i)}catch(s){return void i(s)}}))},t._runSync=function(e,t){void 0===t&&(t={});var n=this._root(e,t),r=this.func(n);if(r&&"function"==typeof r.then)throw new Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=n.toString(),e.selector=i),{transform:r,root:n,string:i}},t.ast=function(e,t){return this._run(e,t).then((function(e){return e.root}))},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then((function(e){return e.transform}))},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))},t.processSync=function(e,t){var n=this._runSync(e,t);return n.string||n.root.toString()},e}();t.default=a,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/attribute.js":function(e,t,n){"use strict";t.__esModule=!0,t.unescapeValue=m,t.default=void 0;var r,i=l(n("./node_modules/cssesc/cssesc.js")),a=l(n("./node_modules/postcss-selector-parser/dist/util/unesc.js")),s=l(n("./node_modules/postcss-selector-parser/dist/selectors/namespace.js")),o=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");function l(e){return e&&e.__esModule?e:{default:e}}function c(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)}}var u=n("./node_modules/util/util.js").deprecate,d=/^('|")(.*)\1$/,f=u((function(){}),"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),h=u((function(){}),"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),p=u((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function m(e){var t=!1,n=null,r=e,i=r.match(d);return i&&(n=i[1],r=i[2]),(r=(0,a.default)(r))!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}var b=function(e){var t,n;function r(t){var n;return void 0===t&&(t={}),(n=e.call(this,function(e){if(void 0!==e.quoteMark)return e;if(void 0===e.value)return e;p();var t=m(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}(t))||this).type=o.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:u((function(){return n.value}),"attr.raws.unquoted is deprecated. Call attr.value instead."),set:u((function(){return n.value}),"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),n._constructed=!0,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a,s,l,d=r.prototype;return d.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),n=v[t];return(0,i.default)(this._value,n)},d._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},d.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},d.smartQuoteMark=function(e){var t=this.value,n=t.replace(/[^']/g,"").length,a=t.replace(/[^"]/g,"").length;if(n+a===0){var s=(0,i.default)(t,{isIdentifier:!0});if(s===t)return r.NO_QUOTE;var o=this.preferredQuoteMark(e);if(o===r.NO_QUOTE){var l=this.quoteMark||e.quoteMark||r.DOUBLE_QUOTE,c=v[l];if((0,i.default)(t,c).length<s.length)return l}return o}return a===n?this.preferredQuoteMark(e):a<n?r.DOUBLE_QUOTE:r.SINGLE_QUOTE},d.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===t&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===t&&(t=r.DOUBLE_QUOTE),t},d._syncRawValue=function(){var e=(0,i.default)(this._value,v[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},d._handleEscapes=function(e,t){if(this._constructed){var n=(0,i.default)(t,{isIdentifier:!0});n!==t?this.raws[e]=n:delete this.raws[e]}},d._spacesFor=function(e){var t=this.spaces[e]||{},n=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,n)},d._stringFor=function(e,t,n){void 0===t&&(t=e),void 0===n&&(n=g);var r=this._spacesFor(t);return n(this.stringifyProperty(e),r)},d.offsetOf=function(e){var t=1,n=this._spacesFor("attribute");if(t+=n.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e)return t;if(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e)return t;t+=this.stringifyProperty("attribute").length,t+=n.after.length;var r=this._spacesFor("operator");t+=r.before.length;var i=this.stringifyProperty("operator");if("operator"===e)return i?t:-1;t+=i.length,t+=r.after.length;var a=this._spacesFor("value");t+=a.before.length;var s=this.stringifyProperty("value");return"value"===e?s?t:-1:(t+=s.length,t+=a.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},d.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",(function(t,n){return!(t.length>0)||e.quoted||0!==n.before.length||e.spaces.value&&e.spaces.value.after||(n.before=" "),g(t,n)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},a=r,(s=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){h()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=m(e),n=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(n&&f(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&c(a.prototype,s),l&&c(a,l),r}(s.default);t.default=b,b.NO_QUOTE=null,b.SINGLE_QUOTE="'",b.DOUBLE_QUOTE='"';var v=((r={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},r);function g(e,t){return""+t.before+e+t.after}},"./node_modules/postcss-selector-parser/dist/selectors/className.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=o(n("./node_modules/cssesc/cssesc.js")),i=n("./node_modules/postcss-selector-parser/dist/util/index.js"),a=o(n("./node_modules/postcss-selector-parser/dist/selectors/node.js")),s=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");function o(e){return e&&e.__esModule?e:{default: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)}}var c=function(e){var t,n,a,o,c;function u(t){var n;return(n=e.call(this,t)||this).type=s.CLASS,n._constructed=!0,n}return n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,u.prototype.toString=function(){return[this.rawSpaceBefore,String("."+this.stringifyProperty("value")),this.rawSpaceAfter].join("")},a=u,(o=[{key:"value",set:function(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,i.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e},get:function(){return this._value}}])&&l(a.prototype,o),c&&l(a,c),u}(a.default);t.default=c,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/combinator.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/node.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.COMBINATOR,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/comment.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/node.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.COMMENT,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/constructors.js":function(e,t,n){"use strict";t.__esModule=!0,t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var r=m(n("./node_modules/postcss-selector-parser/dist/selectors/attribute.js")),i=m(n("./node_modules/postcss-selector-parser/dist/selectors/className.js")),a=m(n("./node_modules/postcss-selector-parser/dist/selectors/combinator.js")),s=m(n("./node_modules/postcss-selector-parser/dist/selectors/comment.js")),o=m(n("./node_modules/postcss-selector-parser/dist/selectors/id.js")),l=m(n("./node_modules/postcss-selector-parser/dist/selectors/nesting.js")),c=m(n("./node_modules/postcss-selector-parser/dist/selectors/pseudo.js")),u=m(n("./node_modules/postcss-selector-parser/dist/selectors/root.js")),d=m(n("./node_modules/postcss-selector-parser/dist/selectors/selector.js")),f=m(n("./node_modules/postcss-selector-parser/dist/selectors/string.js")),h=m(n("./node_modules/postcss-selector-parser/dist/selectors/tag.js")),p=m(n("./node_modules/postcss-selector-parser/dist/selectors/universal.js"));function m(e){return e&&e.__esModule?e:{default:e}}t.attribute=function(e){return new r.default(e)};t.className=function(e){return new i.default(e)};t.combinator=function(e){return new a.default(e)};t.comment=function(e){return new s.default(e)};t.id=function(e){return new o.default(e)};t.nesting=function(e){return new l.default(e)};t.pseudo=function(e){return new c.default(e)};t.root=function(e){return new u.default(e)};t.selector=function(e){return new d.default(e)};t.string=function(e){return new f.default(e)};t.tag=function(e){return new h.default(e)};t.universal=function(e){return new p.default(e)}},"./node_modules/postcss-selector-parser/dist/selectors/container.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/node.js"))&&r.__esModule?r:{default:r},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n("./node_modules/postcss-selector-parser/dist/selectors/types.js"));function s(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)}}var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).nodes||(n.nodes=[]),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i,o,l,c=r.prototype;return c.append=function(e){return e.parent=this,this.nodes.push(e),this},c.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},c.at=function(e){return this.nodes[e]},c.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},c.removeChild=function(e){var t;for(var n in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this},c.removeAll=function(){var e=this.nodes,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.parent=void 0}return this.nodes=[],this},c.empty=function(){return this.removeAll()},c.insertAfter=function(e,t){t.parent=this;var n,r=this.index(e);for(var i in this.nodes.splice(r+1,0,t),t.parent=this,this.indexes)r<=(n=this.indexes[i])&&(this.indexes[i]=n+1);return this},c.insertBefore=function(e,t){t.parent=this;var n,r=this.index(e);for(var i in this.nodes.splice(r,0,t),t.parent=this,this.indexes)(n=this.indexes[i])<=r&&(this.indexes[i]=n+1);return this},c._findChildAtPosition=function(e,t){var n=void 0;return this.each((function(r){if(r.atPosition){var i=r.atPosition(e,t);if(i)return n=i,!1}else if(r.isAtPosition(e,t))return n=r,!1})),n},c.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},c._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},c.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var n,r;this.indexes[t]<this.length&&(n=this.indexes[t],!1!==(r=e(this.at(n),n)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==r&&void 0}},c.walk=function(e){return this.each((function(t,n){var r=e(t,n);if(!1!==r&&t.length&&(r=t.walk(e)),!1===r)return!1}))},c.walkAttributes=function(e){var t=this;return this.walk((function(n){if(n.type===a.ATTRIBUTE)return e.call(t,n)}))},c.walkClasses=function(e){var t=this;return this.walk((function(n){if(n.type===a.CLASS)return e.call(t,n)}))},c.walkCombinators=function(e){var t=this;return this.walk((function(n){if(n.type===a.COMBINATOR)return e.call(t,n)}))},c.walkComments=function(e){var t=this;return this.walk((function(n){if(n.type===a.COMMENT)return e.call(t,n)}))},c.walkIds=function(e){var t=this;return this.walk((function(n){if(n.type===a.ID)return e.call(t,n)}))},c.walkNesting=function(e){var t=this;return this.walk((function(n){if(n.type===a.NESTING)return e.call(t,n)}))},c.walkPseudos=function(e){var t=this;return this.walk((function(n){if(n.type===a.PSEUDO)return e.call(t,n)}))},c.walkTags=function(e){var t=this;return this.walk((function(n){if(n.type===a.TAG)return e.call(t,n)}))},c.walkUniversals=function(e){var t=this;return this.walk((function(n){if(n.type===a.UNIVERSAL)return e.call(t,n)}))},c.split=function(e){var t=this,n=[];return this.reduce((function(r,i,a){var s=e.call(t,i);return n.push(i),s?(r.push(n),n=[]):a===t.length-1&&r.push(n),r}),[])},c.map=function(e){return this.nodes.map(e)},c.reduce=function(e,t){return this.nodes.reduce(e,t)},c.every=function(e){return this.nodes.every(e)},c.some=function(e){return this.nodes.some(e)},c.filter=function(e){return this.nodes.filter(e)},c.sort=function(e){return this.nodes.sort(e)},c.toString=function(){return this.map(String).join("")},i=r,(o=[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}])&&s(i.prototype,o),l&&s(i,l),r}(i.default);t.default=o,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/guards.js":function(e,t,n){"use strict";t.__esModule=!0,t.isNode=s,t.isPseudoElement=w,t.isPseudoClass=function(e){return p(e)&&!w(e)},t.isContainer=function(e){return!(!s(e)||!e.walk)},t.isNamespace=function(e){return l(e)||g(e)},t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var r,i=n("./node_modules/postcss-selector-parser/dist/selectors/types.js"),a=((r={})[i.ATTRIBUTE]=!0,r[i.CLASS]=!0,r[i.COMBINATOR]=!0,r[i.COMMENT]=!0,r[i.ID]=!0,r[i.NESTING]=!0,r[i.PSEUDO]=!0,r[i.ROOT]=!0,r[i.SELECTOR]=!0,r[i.STRING]=!0,r[i.TAG]=!0,r[i.UNIVERSAL]=!0,r);function s(e){return"object"==typeof e&&a[e.type]}function o(e,t){return s(t)&&t.type===e}var l=o.bind(null,i.ATTRIBUTE);t.isAttribute=l;var c=o.bind(null,i.CLASS);t.isClassName=c;var u=o.bind(null,i.COMBINATOR);t.isCombinator=u;var d=o.bind(null,i.COMMENT);t.isComment=d;var f=o.bind(null,i.ID);t.isIdentifier=f;var h=o.bind(null,i.NESTING);t.isNesting=h;var p=o.bind(null,i.PSEUDO);t.isPseudo=p;var m=o.bind(null,i.ROOT);t.isRoot=m;var b=o.bind(null,i.SELECTOR);t.isSelector=b;var v=o.bind(null,i.STRING);t.isString=v;var g=o.bind(null,i.TAG);t.isTag=g;var y=o.bind(null,i.UNIVERSAL);function w(e){return p(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value||":after"===e.value)}t.isUniversal=y},"./node_modules/postcss-selector-parser/dist/selectors/id.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/node.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.ID,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.toString=function(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")},r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/index.js":function(e,t,n){"use strict";t.__esModule=!0;var r=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=r[e])}));var i=n("./node_modules/postcss-selector-parser/dist/selectors/constructors.js");Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=i[e])}));var a=n("./node_modules/postcss-selector-parser/dist/selectors/guards.js");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=a[e])}))},"./node_modules/postcss-selector-parser/dist/selectors/namespace.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=a(n("./node_modules/cssesc/cssesc.js")),i=n("./node_modules/postcss-selector-parser/dist/util/index.js");function a(e){return e&&e.__esModule?e:{default:e}}function s(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)}}var o=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o,l,c,u=a.prototype;return u.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},u.toString=function(){return[this.rawSpaceBefore,this.qualifiedName(this.stringifyProperty("value")),this.rawSpaceAfter].join("")},o=a,(l=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e)return this._namespace=e,void(this.raws&&delete this.raws.namespace);var t=(0,r.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,i.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(this.namespace){var e=this.stringifyProperty("namespace");return!0===e?"":e}return""}}])&&s(o.prototype,l),c&&s(o,c),a}(a(n("./node_modules/postcss-selector-parser/dist/selectors/node.js")).default);t.default=o,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/nesting.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/node.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.NESTING,n.value="&",n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/node.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n("./node_modules/postcss-selector-parser/dist/util/index.js");function i(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)}}var a=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t,n,a,s=e.prototype;return s.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},s.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},s.next=function(){return this.parent.at(this.parent.index(this)+1)},s.prev=function(){return this.parent.at(this.parent.index(this)-1)},s.clone=function(e){void 0===e&&(e={});var t=function e(t,n){if("object"!=typeof t||null===t)return t;var r=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];"parent"===i&&"object"===typeof a?n&&(r[i]=n):r[i]=a instanceof Array?a.map((function(t){return e(t,r)})):e(a,r)}return r}(this);for(var n in e)t[n]=e[n];return t},s.appendToPropertyAndEscape=function(e,t,n){this.raws||(this.raws={});var r=this[e],i=this.raws[e];this[e]=r+t,i||n!==t?this.raws[e]=(i||r)+n:delete this.raws[e]},s.setPropertyAndEscape=function(e,t,n){this.raws||(this.raws={}),this[e]=t,this.raws[e]=n},s.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},s.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e)&&(!(this.source.end.line<e)&&(!(this.source.start.line===e&&this.source.start.column>t)&&!(this.source.end.line===e&&this.source.end.column<t)))},s.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},s.toString=function(){return[this.rawSpaceBefore,String(this.stringifyProperty("value")),this.rawSpaceAfter].join("")},t=e,(n=[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}])&&i(t.prototype,n),a&&i(t,a),e}();t.default=a,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/pseudo.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/container.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.PSEUDO,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/root.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/container.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");function s(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)}}var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.ROOT,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i,o,l,c=r.prototype;return c.toString=function(){var e=this.reduce((function(e,t){return e.push(String(t)),e}),[]).join(",");return this.trailingComma?e+",":e},c.error=function(e,t){return this._error?this._error(e,t):new Error(e)},i=r,(o=[{key:"errorGenerator",set:function(e){this._error=e}}])&&s(i.prototype,o),l&&s(i,l),r}(i.default);t.default=o,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/selector.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/container.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.SELECTOR,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/string.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/node.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.STRING,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/tag.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/namespace.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.TAG,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/selectors/types.js":function(e,t,n){"use strict";t.__esModule=!0,t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;t.TAG="tag";t.STRING="string";t.SELECTOR="selector";t.ROOT="root";t.PSEUDO="pseudo";t.NESTING="nesting";t.ID="id";t.COMMENT="comment";t.COMBINATOR="combinator";t.CLASS="class";t.ATTRIBUTE="attribute";t.UNIVERSAL="universal"},"./node_modules/postcss-selector-parser/dist/selectors/universal.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n("./node_modules/postcss-selector-parser/dist/selectors/namespace.js"))&&r.__esModule?r:{default:r},a=n("./node_modules/postcss-selector-parser/dist/selectors/types.js");var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=a.UNIVERSAL,n.value="*",n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=s,e.exports=t.default},"./node_modules/postcss-selector-parser/dist/sortAscending.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default},"./node_modules/postcss-selector-parser/dist/tokenTypes.js":function(e,t,n){"use strict";t.__esModule=!0,t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;t.ampersand=38;t.asterisk=42;t.at=64;t.comma=44;t.colon=58;t.semicolon=59;t.openParenthesis=40;t.closeParenthesis=41;t.openSquare=91;t.closeSquare=93;t.dollar=36;t.tilde=126;t.caret=94;t.plus=43;t.equals=61;t.pipe=124;t.greaterThan=62;t.space=32;t.singleQuote=39;t.doubleQuote=34;t.slash=47;t.bang=33;t.backslash=92;t.cr=13;t.feed=12;t.newline=10;t.tab=9;t.str=39;t.comment=-1;t.word=-2;t.combinator=-3},"./node_modules/postcss-selector-parser/dist/tokenize.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t,n,r,i,s,o,l,c,d,f,h,p,m,b=[],v=e.css.valueOf(),g=v.length,y=-1,w=1,C=0,_=0;function S(t,n){if(!e.safe)throw e.error("Unclosed "+t,w,C-y,C);d=(v+=n).length-1}for(;C<g;){switch((t=v.charCodeAt(C))===a.newline&&(y=C,w+=1),t){case a.space:case a.tab:case a.newline:case a.cr:case a.feed:d=C;do{d+=1,(t=v.charCodeAt(d))===a.newline&&(y=d,w+=1)}while(t===a.space||t===a.newline||t===a.tab||t===a.cr||t===a.feed);m=a.space,i=w,r=d-y-1,_=d;break;case a.plus:case a.greaterThan:case a.tilde:case a.pipe:d=C;do{d+=1,t=v.charCodeAt(d)}while(t===a.plus||t===a.greaterThan||t===a.tilde||t===a.pipe);m=a.combinator,i=w,r=C-y,_=d;break;case a.asterisk:case a.ampersand:case a.bang:case a.comma:case a.equals:case a.dollar:case a.caret:case a.openSquare:case a.closeSquare:case a.colon:case a.semicolon:case a.openParenthesis:case a.closeParenthesis:m=t,i=w,r=C-y,_=(d=C)+1;break;case a.singleQuote:case a.doubleQuote:p=t===a.singleQuote?"'":'"',d=C;do{for(s=!1,-1===(d=v.indexOf(p,d+1))&&S("quote",p),o=d;v.charCodeAt(o-1)===a.backslash;)o-=1,s=!s}while(s);m=a.str,i=w,r=C-y,_=d+1;break;default:t===a.slash&&v.charCodeAt(C+1)===a.asterisk?(0===(d=v.indexOf("*/",C+2)+1)&&S("comment","*/"),n=v.slice(C,d+1),c=n.split("\n"),(l=c.length-1)>0?(f=w+l,h=d-c[l].length):(f=w,h=y),m=a.comment,w=f,i=f,r=d-h):t===a.slash?(m=t,i=w,r=C-y,_=(d=C)+1):(d=u(v,C),m=a.word,i=w,r=d-y),_=d+1}b.push([m,w,C-y,i,r,C,_]),h&&(y=h,h=null),C=_}return b},t.FIELDS=void 0;var r,i,a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n("./node_modules/postcss-selector-parser/dist/tokenTypes.js"));for(var s=((r={})[a.tab]=!0,r[a.newline]=!0,r[a.cr]=!0,r[a.feed]=!0,r),o=((i={})[a.space]=!0,i[a.tab]=!0,i[a.newline]=!0,i[a.cr]=!0,i[a.feed]=!0,i[a.ampersand]=!0,i[a.asterisk]=!0,i[a.bang]=!0,i[a.comma]=!0,i[a.colon]=!0,i[a.semicolon]=!0,i[a.openParenthesis]=!0,i[a.closeParenthesis]=!0,i[a.openSquare]=!0,i[a.closeSquare]=!0,i[a.singleQuote]=!0,i[a.doubleQuote]=!0,i[a.plus]=!0,i[a.pipe]=!0,i[a.tilde]=!0,i[a.greaterThan]=!0,i[a.equals]=!0,i[a.dollar]=!0,i[a.caret]=!0,i[a.slash]=!0,i),l={},c=0;c<"0123456789abcdefABCDEF".length;c++)l["0123456789abcdefABCDEF".charCodeAt(c)]=!0;function u(e,t){var n,r=t;do{if(n=e.charCodeAt(r),o[n])return r-1;n===a.backslash?r=d(e,r)+1:r++}while(r<e.length);return r-1}function d(e,t){var n=t,r=e.charCodeAt(n+1);if(s[r]);else if(l[r]){var i=0;do{n++,i++,r=e.charCodeAt(n+1)}while(l[r]&&i<6);i<6&&r===a.space&&n++}else n++;return n}t.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}},"./node_modules/postcss-selector-parser/dist/util/ensureObject.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=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];for(;n.length>0;){var i=n.shift();e[i]||(e[i]={}),e=e[i]}},e.exports=t.default},"./node_modules/postcss-selector-parser/dist/util/getProp.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=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];for(;n.length>0;){var i=n.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default},"./node_modules/postcss-selector-parser/dist/util/index.js":function(e,t,n){"use strict";t.__esModule=!0,t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var r=o(n("./node_modules/postcss-selector-parser/dist/util/unesc.js"));t.unesc=r.default;var i=o(n("./node_modules/postcss-selector-parser/dist/util/getProp.js"));t.getProp=i.default;var a=o(n("./node_modules/postcss-selector-parser/dist/util/ensureObject.js"));t.ensureObject=a.default;var s=o(n("./node_modules/postcss-selector-parser/dist/util/stripComments.js"));function o(e){return e&&e.__esModule?e:{default:e}}t.stripComments=s.default},"./node_modules/postcss-selector-parser/dist/util/stripComments.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t="",n=e.indexOf("/*"),r=0;for(;n>=0;){t+=e.slice(r,n);var i=e.indexOf("*/",n+2);if(i<0)return t;r=i+2,n=e.indexOf("/*",r)}return t+=e.slice(r)},e.exports=t.default},"./node_modules/postcss-selector-parser/dist/util/unesc.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(r,(function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}))};var r=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig");e.exports=t.default},"./node_modules/postcss-simple-vars/index.js":function(e,t,n){var r=n("./node_modules/postcss/lib/postcss.js");function i(e,t,n,r,i,a){if(i.only)return void 0!==i.only[r]?i.only[r]:n;if(void 0!==e[r])return e[r];if(i.silent)return n;var s=i.unknown(t,r,a);return s||n}function a(e,t,n,r,a){return n.replace(/\$\(\s*([\w\d-_]+)\s*\)/g,(function(n,s){return i(e,t,n,s,r,a)}))}function s(e,t,n,r,s){return n=a(e,t,n=function(e,t,n,r,a){return n.replace(/(^|[^\w])\$([\w\d-_]+)/g,(function(n,s,o){return s+i(e,t,"$"+o,o,r,a)}))}(e,t,n,r,s),r,s)}function o(e,t){var n,r=e;do{r=t(n=r)}while(r!==n&&-1!==r.indexOf("$"));return r}e.exports=r.plugin("postcss-simple-vars",(function(e){return void 0===e&&(e={}),e.unknown||(e.unknown=function(e,t){throw e.error("Undefined variable $"+t)}),function(t,n){var r={};if("function"==typeof e.variables)r=e.variables();else if("object"==typeof e.variables)for(var l in e.variables)r[l]=e.variables[l];for(var c in r)if("$"===c[0]){var u=c.slice(1);r[u]=r[c],delete r[c]}t.walk((function(t){"decl"===t.type?(-1!==t.value.toString().indexOf("$")&&function(e,t,n,r){t.value=o(t.value,(function(i){return s(e,t,i,n,r)}))}(r,t,e,n),-1!==t.prop.indexOf("$(")?function(e,t,n,r){t.prop=o(t.prop,(function(i){return a(e,t,i,n,r)}))}(r,t,e,n):"$"===t.prop[0]&&(e.only||function(e,t){e[t.prop.slice(1)]=t.value,t.remove()}(r,t))):"rule"===t.type?-1!==t.selector.indexOf("$")&&function(e,t,n,r){t.selector=o(t.selector,(function(i){return s(e,t,i,n,r)}))}(r,t,e,n):"atrule"===t.type?t.params&&-1!==t.params.indexOf("$")&&function(e,t,n,r){t.params=o(t.params,(function(i){return s(e,t,i,n,r)}))}(r,t,e,n):"comment"===t.type&&-1!==t.text.indexOf("$")&&function(e,t,n,r){t.text=t.text.replace(/<<\$\(\s*([\w\d-_]+)\s*\)>>/g,(function(a,s){return i(e,t,a,s,n,r)}))}(r,t,e,n)})),Object.keys(r).forEach((function(e){n.messages.push({plugin:"postcss-simple-vars",type:"variable",name:e,value:r[e]})})),e.onVariables&&e.onVariables(r)}}))},"./node_modules/postcss-values-parser/lib/ValuesParser.js":function(e,t,n){const r=n("./node_modules/postcss/lib/parser.js"),i=n("./node_modules/postcss-values-parser/lib/nodes/AtWord.js"),a=n("./node_modules/postcss-values-parser/lib/nodes/Comment.js"),s=n("./node_modules/postcss-values-parser/lib/nodes/Func.js"),o=n("./node_modules/postcss-values-parser/lib/nodes/Interpolation.js"),l=n("./node_modules/postcss-values-parser/lib/nodes/Numeric.js"),c=n("./node_modules/postcss-values-parser/lib/nodes/Operator.js"),u=n("./node_modules/postcss-values-parser/lib/nodes/Punctuation.js"),d=n("./node_modules/postcss-values-parser/lib/nodes/Quoted.js"),f=n("./node_modules/postcss-values-parser/lib/nodes/UnicodeRange.js"),h=n("./node_modules/postcss-values-parser/lib/nodes/Word.js"),p={ignoreUnknownWords:!1,interpolation:!1,parentNode:null,variables:{prefixes:["--"]}};e.exports=class extends r{constructor(e,t={}){super(e),this.lastNode=null,this.options=Object.assign({},p,t),this.parentNode=this.options.parentNode}back(e){for(const t of e.reverse())this.tokenizer.back(t)}comment(e){super.comment(e);const t=a.testInline(e),n=this.lastNode;n.inline=t,Object.setPrototypeOf(n,a.prototype)}fromFirst(e,t){const[n]=e,[,r,i,a]=n,s=new t({value:r});this.init(s,i,a),this.current=s,this.end(n),this.back(e.slice(1))}init(e,t,n){super.init(e,t,n),this.lastNode=e}other(e){const t=[],n=[];let r=e,i=null,a=null;for(;r;)[i]=r,n.push(r),"("===i||"["===i?(a||(a=r),t.push("("===i?")":"]")):i===t[t.length-1]&&(t.pop(),0===t.length&&(a=null)),r=this.tokenizer.nextToken();t.length>0&&this.unclosedBracket(a),this.unknownWord(n)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case"comment":this.comment(e);break;case"at-word":this.atrule(e),Object.setPrototypeOf(this.lastNode,i.prototype),this.lastNode.type="atword";break;default:this.other(e)}this.endFile()}unknownWord(e){const[t]=e,[n,r]=t;if(u.chars.includes(n))u.fromTokens(e,this);else if(s.test(e))s.fromTokens(e,this);else if(this.options.interpolation&&o.test(e,this))o.fromTokens(e,this);else if("brackets"===n)u.tokenizeBrackets(e,this);else if("comma"===n)u.fromTokens(e,this);else if("operator"===n)c.fromTokens(e,this);else if("string"===n)d.fromTokens(e,this);else if("word"===n)if(","===r)u.fromTokens(e,this);else if("//"===r)a.tokenizeNext(e,this);else if(a.testInline(t)){const{parentNode:t}=this;t&&"func"===t.type&&"url"===t.name?h.fromTokens(e,this):a.tokenizeInline(e,this)}else r.includes(",")?u.tokenizeCommas(e,this):h.testWord(e,this)?h.fromTokens(e,this):l.test(r)?l.fromTokens(e,this):f.test(r)?f.fromTokens(e,this):c.chars.includes(r)?c.fromTokens(e,this):/^[\w-]+$/.test(r)?h.fromTokens(e,this):c.regex.test(r)?c.tokenize(e,this):this.options.ignoreUnknownWords?h.fromTokens(e,this):super.unknownWord(e);else super.unknownWord(e)}}},"./node_modules/postcss-values-parser/lib/ValuesStringifier.js":function(e,t,n){const r=n("./node_modules/postcss/lib/stringifier.js");e.exports=class e extends r{static stringify(t,n){new e(n).stringify(t)}basic(e,t){const n=t||e.value,r=e.raws.after&&this.raw(e,"after")||"";this.builder(n,e,"start"),this.builder(r,e,"end")}atword(...e){this.atrule(...e)}comment(e){if(e.inline){const t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder(`//${t}${e.text}${n}`,e)}else super.comment(e)}func(e){const t=this.raw(e,"after")||"";this.builder(e.name+"(",e,"start");for(const n of e.nodes){const e=n.raws.before?this.raw(n,"before"):"";e&&this.builder(e),this.stringify(n)}this.builder(")"+t,e,"end")}interpolation(e){this.basic(e,e.prefix+e.params)}numeric(e){const t=e.value+e.unit;this.basic(e,t)}operator(e){this.basic(e)}punctuation(e){this.basic(e)}quoted(e){this.basic(e)}unicodeRange(e){this.basic(e)}word(e){this.basic(e)}}},"./node_modules/postcss-values-parser/lib/index.js":function(e,t,n){const r=n("./node_modules/postcss/lib/input.js"),i=n("./node_modules/postcss-values-parser/lib/ValuesParser.js"),{stringify:a}=n("./node_modules/postcss-values-parser/lib/ValuesStringifier.js");e.exports={parse(t,n){const a=new r(t,n),s=new i(a,n);s.parse();const{root:o}=s,l=o.toString;return o.toString=function(t){return l.bind(o)(t||e.exports.stringify)}.bind(o),s.root},stringify:a,nodeToString(t){let n="";return e.exports.stringify(t,e=>{n+=e}),n}}},"./node_modules/postcss-values-parser/lib/nodes/AtWord.js":function(e,t,n){const r=n("./node_modules/postcss/lib/node.js"),{registerWalker:i}=n("./node_modules/postcss-values-parser/lib/walker.js"),{stringify:a}=n("./node_modules/postcss-values-parser/lib/ValuesStringifier.js");class s extends r{toString(e=a){return super.toString(e)}}i(s),e.exports=s},"./node_modules/postcss-values-parser/lib/nodes/Comment.js":function(e,t,n){const r=n("./node_modules/postcss/lib/comment.js"),{stringify:i}=n("./node_modules/postcss-values-parser/lib/ValuesStringifier.js"),a=/(\/\/)/;e.exports=class extends r{static testInline(e){return a.test(e[1])}static tokenizeNext(e,t){const[n]=e,r=e.findIndex(e=>/\n/.test(e[1]));let i=e,a=[];r>=0&&(i=e.slice(0,r),a=e.slice(r)),i=i.map(e=>e[1]);const s=i.concat("~~").join(""),o=i[i.length-1],l=["comment",s,n[2],n[3],o[2],o[3]];t.back([l,...a])}static tokenizeInline(e,t){const[n,...r]=e,i=n[1].split(/(\/\/.+)/).filter(e=>!!e),a=[],[,,s,,o]=n;let[,,,l,,c]=n;for(let u of i){const e="//"===u.slice(0,2),t=e?"comment":"word";e&&(u+="~~"),u!==i[0]&&(l=c+1),c=l+u.length-1,a.push([t,u,s,l,o,c])}t.back(a.concat(r))}toString(e=i){return super.toString(e)}}},"./node_modules/postcss-values-parser/lib/nodes/Container.js":function(e,t,n){const r=n("./node_modules/postcss/lib/container.js"),{stringify:i}=n("./node_modules/postcss-values-parser/lib/ValuesStringifier.js");e.exports=class extends r{toString(e=i){return super.toString(e)}}},"./node_modules/postcss-values-parser/lib/nodes/Func.js":function(e,t,n){const{getTokens:r}=n("./node_modules/postcss-values-parser/lib/tokenize.js"),{registerWalker:i}=n("./node_modules/postcss-values-parser/lib/walker.js"),a=n("./node_modules/postcss-values-parser/lib/nodes/Container.js"),s=n("./node_modules/postcss-values-parser/lib/nodes/Punctuation.js"),o=new RegExp(`^(${["-webkit-","-moz-","-ms-","-o-"].join("|")})?(${["annotation","attr","blur","brightness","calc","character-variant","circle","contrast","cubic-bezier","dir","drop-shadow","element","ellipse","grayscale","hsl","hsla","hue-rotate","image","inset","invert","lang","linear-gradient","matrix","matrix3d","minmax","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","opacity","ornaments","perspective","polygon","radial-gradient","rect","repeat","repeating-linear-gradient","repeating-radial-gradient","rgb","rgba","rotate","rotatex","rotatey","rotatez","rotate3d","saturate","scale","scalex","scaley","scalez","scale3d","sepia","skew","skewx","skewy","steps","styleset","stylistic","swash","symbols","translate","translatex","translatey","translatez","translate3d","url","var"].join("|")})`,"i"),l=new RegExp(`^(\\${s.chars.join("|\\")})`),c=/^(hsla?|hwb|lab|lch|rgba?)$/i,u=/^var$/i,d=/^--[^\s]+$/;class f extends a{constructor(e={}){super(e),this.type="func",this.isColor=!1,this.isVar=!1,this.name=e.name||"",this.nodes||(this.nodes=[])}static test(e){return e.length>1&&"word"===e[0][0]&&!l.test(e[0][1])&&("brackets"===e[1][0]||"("===e[1][0])}static fromTokens(e,t){const[[,,i,a]]=e,[s,l]=e.splice(0,2),h=new f({name:s[1]});let p=0,m=1,b=l;if(!o.test(h.name)&&!/^[a-zA-Z\-]+$/.test(h.name)){const n=r(h.name);return e.unshift(...n,l),void t.back(e)}t.init(h,i,a),t.current=h,"brackets"===l[0]&&(m=l[1].match(/[(]/g).length-1);const v=[];for(const n of e)p<m?(")"===n[1]?p+=1:"("===n[1]&&(m+=1),l[1]+=n[1],b=n):v.push(n);p!==m&&t.unclosedBracket(l),[,h.params]=l;const g=l[1].slice(1,-1);if(g.length){let e=t.options;"url"===h.name&&(e=Object.assign({},t.options,{ignoreUnknownWords:!0})),e.parentNode=h;const{parse:r}=n("./node_modules/postcss-values-parser/lib/index.js"),i=r(g,e),{nodes:a}=i;for(const t of a)h.push(t);i.raws.after&&(h.last.raws.after=i.raws.after)}t.end(b),t.back(v);const{lastNode:y}=t,{nodes:w}=h;y.isColor=c.test(y.name),y.isVar=u.test(y.name)&&w.length&&d.test(w[0].value)}}i(f),e.exports=f},"./node_modules/postcss-values-parser/lib/nodes/Interpolation.js":function(e,t,n){const{registerWalker:r}=n("./node_modules/postcss-values-parser/lib/walker.js"),i=n("./node_modules/postcss-values-parser/lib/nodes/Container.js");class a extends i{constructor(e={}){super(e),this.type="interpolation",this.prefix=e.prefix||"",this.nodes||(this.nodes=[])}static test(e,t){const{prefix:n}=t.options.interpolation,[r,i]=e;return e.length>1&&"word"===r[0]&&n===r[1]&&"{"===i[0]}static fromTokens(e,t){const[[,,r,i]]=e,[s]=e.splice(0,2),[,o]=s,l=new a({prefix:o}),c=[];let u,d=!1,f="{";t.init(l,r,i),t.current=l;for(const n of e)d?c.push(n):("}"===n[1]&&(d=!0),f+=n[1],u=n);d||t.unclosedBracket(s),l.params=f;const h=f.slice(1,-1);if(h.length){const{parse:e}=n("./node_modules/postcss-values-parser/lib/index.js"),{nodes:r}=e(h,t.options);for(const t of r)l.push(t)}t.end(u),t.back(c)}}r(a),e.exports=a},"./node_modules/postcss-values-parser/lib/nodes/Node.js":function(e,t,n){const r=n("./node_modules/postcss/lib/node.js"),{stringify:i}=n("./node_modules/postcss-values-parser/lib/ValuesStringifier.js");e.exports=class extends r{toString(e=i){return super.toString(e||{})}}},"./node_modules/postcss-values-parser/lib/nodes/Numeric.js":function(e,t,n){const{registerWalker:r}=n("./node_modules/postcss-values-parser/lib/walker.js"),i=n("./node_modules/postcss-values-parser/lib/nodes/Node.js"),a=new RegExp(`^${/^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)$/.source.slice(1,-1)+/^(-?(?:[-A-Z_a-z]|[^\x00-\x7F]|\\[^\n\f\r])(?:[-\w]|[^\x00-\x7F]|\\[^\n\f\r])*|%)$/.source.slice(1,-1)}?$`);class s extends i{constructor(e={}){super(e),this.type="numeric",this.unit=e.unit||""}static fromTokens(e,t){t.fromFirst(e,s);const[[,n]]=e,[,r,i=""]=n.match(a),{lastNode:o}=t;o.unit=i,o.value=r}static test(e){return a.test(e)}}r(s),e.exports=s},"./node_modules/postcss-values-parser/lib/nodes/Operator.js":function(e,t,n){const{registerWalker:r}=n("./node_modules/postcss-values-parser/lib/walker.js"),i=n("./node_modules/postcss-values-parser/lib/nodes/Node.js"),a=["+","-","/","*","%"],s=new RegExp("([/|*}])");class o extends i{constructor(e){super(e),this.type="operator"}static get chars(){return a}static fromTokens(e,t){t.fromFirst(e,o)}static get regex(){return s}static tokenize(e,t){const[n,...r]=e,[,i,a,,o,l]=n,c=i.split(s).filter(e=>!!e);let[,,,u]=n;const d=c.map(e=>{const t=["word",e,a,u,o,l];return u+=e.length,t});t.back(d.concat(r))}}r(o),e.exports=o},"./node_modules/postcss-values-parser/lib/nodes/Punctuation.js":function(e,t,n){const{getTokens:r}=n("./node_modules/postcss-values-parser/lib/tokenize.js"),{registerWalker:i}=n("./node_modules/postcss-values-parser/lib/walker.js"),a=n("./node_modules/postcss-values-parser/lib/nodes/Node.js");class s extends a{constructor(e){super(e),this.type="punctuation"}static get chars(){return[",",":","(",")","[","]","{","}"]}static fromTokens(e,t){t.fromFirst(e,s)}static tokenizeBrackets(e,t){const[n,...i]=e,a=n[1].split(/([()])/g).filter(e=>!!e),s=[],[,,o,,l]=n;let[,,,c,,u]=n;for(const d of a){let e="("===d?"(":")"===d?")":"word";if(/^\s+$/.test(d)&&(e="space"),d!==a[0]&&(c=u+1),u=c+d.length-1,"word"===e){const e=r(d);for(const t of e)t[3]+=c-1,s.push(t)}else s.push([e,d,o,c,l,u])}t.back(s.concat(i))}static tokenizeCommas(e,t){const[n,...r]=e,i=n[1].split(/([,])/g).filter(e=>!!e),a=[],[,,s,,o]=n;let[,,,l,,c]=n;for(const u of i)u!==i[0]&&(l=c+1),c=l+u.length-1,a.push(["word",u,s,l,o,c]);t.back(a.concat(r))}}i(s),e.exports=s},"./node_modules/postcss-values-parser/lib/nodes/Quoted.js":function(e,t,n){const{registerWalker:r}=n("./node_modules/postcss-values-parser/lib/walker.js"),i=n("./node_modules/postcss-values-parser/lib/nodes/Node.js");class a extends i{constructor(e){super(e),this.type="quoted",[this.quote]=e.value}static fromTokens(e,t){t.fromFirst(e,a)}}r(a),e.exports=a},"./node_modules/postcss-values-parser/lib/nodes/UnicodeRange.js":function(e,t,n){const{registerWalker:r}=n("./node_modules/postcss-values-parser/lib/walker.js"),i=n("./node_modules/postcss-values-parser/lib/nodes/Node.js");class a extends i{constructor(e){super(e),this.type="unicodeRange"}static fromTokens(e,t){t.fromFirst(e,a)}static test(e){return/U\+(\d|\w)+(-\w+)?(\?+)?/.test(e)}}r(a),e.exports=a},"./node_modules/postcss-values-parser/lib/nodes/Word.js":function(e,t,n){const r=n("./node_modules/color-name/index.js"),i=n("./node_modules/is-url-superb/index.js"),{registerWalker:a}=n("./node_modules/postcss-values-parser/lib/walker.js"),s=n("./node_modules/postcss-values-parser/lib/nodes/Node.js"),o=/^\\(.+)/,l=/^#(.+)/,c=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,u=Object.keys(r);class d extends s{constructor(e){super(e),this.type="word",this.isColor=!1,this.isHex=!1,this.isUrl=!1,this.isVariable=!1}static fromTokens(e,t){t.fromFirst(e,d);const{lastNode:n}=t,{value:r}=n;n.isColor=c.test(r)||u.includes(r.toLowerCase()),n.isHex=l.test(r),n.isUrl=i(r),n.isVariable=d.testVariable(e[0],t)}static testEscaped(e){const[t,n]=e,[r,i]=t;return"word"===r&&(o.test(i)||"\\"===i&&n&&!/^\s+$/.test(n[1]))}static testHex(e){const[t,n]=e;return"word"===t&&l.test(n)}static testVariable(e,t){const[n,r]=e,{prefixes:i}=t.options.variables,a=new RegExp(`^(${i.join("|")})`);return"word"===n&&a.test(r)}static testWord(e,t){const[n]=e;return d.testEscaped(e)||d.testHex(n)||d.testVariable(n,t)}}a(d),e.exports=d},"./node_modules/postcss-values-parser/lib/tokenize.js":function(e,t,n){const r=n("./node_modules/postcss/lib/input.js"),i=n("./node_modules/postcss/lib/tokenize.js"),a=["*","-","%","+","/"],s=/([*/])/g,o=e=>{const t=new r(e,{}),n=l(t),i=[];for(;!n.endOfFile();){const e=n.nextToken();i.push(e)}return i},l=(...e)=>{const t=i(...e),n=t.nextToken;return t.nextToken=(...e)=>{let r=n(...e);if(!r)return r;const[i,l]=r;return"brackets"===i?(((e,t)=>{const[,,n,r,i,a]=e,s=e[1].slice(1,e[1].length-1),l=o(s);for(const o of l)if("space"!==o[0]){const e=o[5]-o[3];o[2]=n,o[3]+=r,o[4]+=i-1,o[5]=o[3]+e}const c=[["(","(",n,r,n,r],...l];c.push([")",")",n,a,i,a]);for(const o of c.reverse())t.back(o)})(r,t),r=n(...e)):"word"===i&&(a.includes(l)?r[0]="operator":s.test(l)?(((e,t)=>{const[,n,r,,i,o]=e,l=n.split(s);let[,,,c]=e;const u=l.map(e=>{const t=[a.includes(e)?"operator":"word",e,r,c,i,o];return c+=e.length,t});for(const a of u.reverse())t.back(a)})(r,t),r=n(...e)):l.length>1&&l.includes(",")&&(((e,t)=>{const n=e[1].split(/([,])/),r=[],[,,i,,a]=e;let[,,,s,,o]=e;for(let l of n){l=l||",";const e=","===l?"comma":"word";l!==n[0]&&(s=o+1),o=s+l.length-1,r.push([e,l,i,s,a,o])}for(const l of r.reverse())t.back(l)})(r,t),r=n(...e))),r},t};e.exports={getTokens:o,tokenizer:l}},"./node_modules/postcss-values-parser/lib/walker.js":function(e,t,n){const r=n("./node_modules/postcss/lib/container.js");r.prototype.walkType=function(e,t){if(!e||!t)throw new Error("Parameters {type} and {callback} are required.");const n="function"==typeof e;return this.walk((r,i)=>{if(n&&r instanceof e||!n&&r.type===e)return t.call(this,r,i)})},e.exports={registerWalker:e=>{let t="walk"+e.name;t.lastIndexOf("s")!==t.length-1&&(t+="s"),r.prototype[t]||(r.prototype[t]=function(t){return this.walkType(e,t)})}}},"./node_modules/prefix-style/index.js":function(e,t){var n=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),a=r.length;a>=0;a--){var s=r[a]+i;if(s in t)return s}return!1}},"./node_modules/prop-types/factoryWithThrowingShims.js":function(e,t,n){"use strict";var r=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,s){if(s!==r){var o=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 o.name="Invariant Violation",o}}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:a,resetWarningCache:i};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":function(e,t,n){e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/public-encrypt/browser.js":function(e,t,n){t.publicEncrypt=n("./node_modules/public-encrypt/publicEncrypt.js"),t.privateDecrypt=n("./node_modules/public-encrypt/privateDecrypt.js"),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},"./node_modules/public-encrypt/mgf.js":function(e,t,n){var r=n("./node_modules/create-hash/browser.js"),i=n("./node_modules/safe-buffer/index.js").Buffer;function a(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var n,s=i.alloc(0),o=0;s.length<t;)n=a(o++),s=i.concat([s,r("sha1").update(e).update(n).digest()]);return s.slice(0,t)}},"./node_modules/public-encrypt/privateDecrypt.js":function(e,t,n){var r=n("./node_modules/parse-asn1/index.js"),i=n("./node_modules/public-encrypt/mgf.js"),a=n("./node_modules/public-encrypt/xor.js"),s=n("./node_modules/bn.js/lib/bn.js"),o=n("./node_modules/browserify-rsa/index.js"),l=n("./node_modules/create-hash/browser.js"),c=n("./node_modules/public-encrypt/withPublic.js"),u=n("./node_modules/safe-buffer/index.js").Buffer;e.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var f,h=r(e),p=h.modulus.byteLength();if(t.length>p||new s(t).cmp(h.modulus)>=0)throw new Error("decryption error");f=n?c(new s(t),h):o(t,h);var m=u.alloc(p-f.length);if(f=u.concat([m,f],p),4===d)return function(e,t){var n=e.modulus.byteLength(),r=l("sha1").update(u.alloc(0)).digest(),s=r.length;if(0!==t[0])throw new Error("decryption error");var o=t.slice(1,s+1),c=t.slice(s+1),d=a(o,i(c,s)),f=a(c,i(d,n-s-1));if(function(e,t){e=u.from(e),t=u.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;for(;++i<r;)n+=e[i]^t[i];return n}(r,f.slice(0,s)))throw new Error("decryption error");var h=s;for(;0===f[h];)h++;if(1!==f[h++])throw new Error("decryption error");return f.slice(h)}(h,f);if(1===d)return function(e,t,n){var r=t.slice(0,2),i=2,a=0;for(;0!==t[i++];)if(i>=t.length){a++;break}var s=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&a++;s.length<8&&a++;if(a)throw new Error("decryption error");return t.slice(i)}(0,f,n);if(3===d)return f;throw new Error("unknown padding")}},"./node_modules/public-encrypt/publicEncrypt.js":function(e,t,n){var r=n("./node_modules/parse-asn1/index.js"),i=n("./node_modules/randombytes/browser.js"),a=n("./node_modules/create-hash/browser.js"),s=n("./node_modules/public-encrypt/mgf.js"),o=n("./node_modules/public-encrypt/xor.js"),l=n("./node_modules/bn.js/lib/bn.js"),c=n("./node_modules/public-encrypt/withPublic.js"),u=n("./node_modules/browserify-rsa/index.js"),d=n("./node_modules/safe-buffer/index.js").Buffer;e.exports=function(e,t,n){var f;f=e.padding?e.padding:n?1:4;var h,p=r(e);if(4===f)h=function(e,t){var n=e.modulus.byteLength(),r=t.length,c=a("sha1").update(d.alloc(0)).digest(),u=c.length,f=2*u;if(r>n-f-2)throw new Error("message too long");var h=d.alloc(n-r-f-2),p=n-u-1,m=i(u),b=o(d.concat([c,h,d.alloc(1,1),t],p),s(m,p)),v=o(m,s(b,u));return new l(d.concat([d.alloc(1),v,b],n))}(p,t);else if(1===f)h=function(e,t,n){var r,a=t.length,s=e.modulus.byteLength();if(a>s-11)throw new Error("message too long");r=n?d.alloc(s-a-3,255):function(e){var t,n=d.allocUnsafe(e),r=0,a=i(2*e),s=0;for(;r<e;)s===a.length&&(a=i(2*e),s=0),(t=a[s++])&&(n[r++]=t);return n}(s-a-3);return new l(d.concat([d.from([0,n?1:2]),r,d.alloc(1),t],s))}(p,t,n);else{if(3!==f)throw new Error("unknown padding");if((h=new l(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?u(h,p):c(h,p)}},"./node_modules/public-encrypt/withPublic.js":function(e,t,n){var r=n("./node_modules/bn.js/lib/bn.js"),i=n("./node_modules/safe-buffer/index.js").Buffer;e.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}},"./node_modules/public-encrypt/xor.js":function(e,t){e.exports=function(e,t){for(var n=e.length,r=-1;++r<n;)e[r]^=t[r];return e}},"./node_modules/raf/index.js":function(e,t,n){(function(t){for(var r=n("./node_modules/performance-now/lib/performance-now.js"),i="undefined"==typeof window?t:window,a=["moz","webkit"],s="AnimationFrame",o=i["request"+s],l=i["cancel"+s]||i["cancelRequest"+s],c=0;!o&&c<a.length;c++)o=i[a[c]+"Request"+s],l=i[a[c]+"Cancel"+s]||i[a[c]+"CancelRequest"+s];if(!o||!l){var u=0,d=0,f=[];o=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return o.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=o,e.cancelAnimationFrame=l}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/randombytes/browser.js":function(e,t,n){"use strict";(function(t,r){var i=n("./node_modules/safe-buffer/index.js").Buffer,a=t.crypto||t.msCrypto;a&&a.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(e);if(e>0)if(e>65536)for(var s=0;s<e;s+=65536)a.getRandomValues(n.slice(s,s+65536));else a.getRandomValues(n);if("function"==typeof t)return r.nextTick((function(){t(null,n)}));return n}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/randomfill/browser.js":function(e,t,n){"use strict";(function(e,r){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=n("./node_modules/safe-buffer/index.js"),s=n("./node_modules/randombytes/browser.js"),o=a.Buffer,l=a.kMaxLength,c=e.crypto||e.msCrypto,u=Math.pow(2,32)-1;function d(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>u||e<0)throw new TypeError("offset must be a uint32");if(e>l||e>t)throw new RangeError("offset out of range")}function f(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>u||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>l)throw new RangeError("buffer too small")}function h(e,t,n,i){if(r.browser){var a=e.buffer,o=new Uint8Array(a,t,n);return c.getRandomValues(o),i?void r.nextTick((function(){i(null,e)})):e}if(!i)return s(n).copy(e,t),e;s(n,(function(n,r){if(n)return i(n);r.copy(e,t),i(null,e)}))}c&&c.getRandomValues||!r.browser?(t.randomFill=function(t,n,r,i){if(!(o.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)i=n,n=0,r=t.length;else if("function"==typeof r)i=r,r=t.length-n;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return d(n,t.length),f(r,n,t.length),h(t,n,r,i)},t.randomFillSync=function(t,n,r){void 0===n&&(n=0);if(!(o.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');d(n,t.length),void 0===r&&(r=t.length-n);return f(r,n,t.length),h(t,n,r)}):(t.randomFill=i,t.randomFillSync=i)}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/react-custom-scrollbars/lib/Scrollbars/defaultRenderElements.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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};t.renderViewDefault=function(e){return s.default.createElement("div",e)},t.renderTrackHorizontalDefault=function(e){var t=e.style,n=o(e,["style"]),i=r({},t,{right:2,bottom:2,left:2,borderRadius:3});return s.default.createElement("div",r({style:i},n))},t.renderTrackVerticalDefault=function(e){var t=e.style,n=o(e,["style"]),i=r({},t,{right:2,bottom:2,top:2,borderRadius:3});return s.default.createElement("div",r({style:i},n))},t.renderThumbHorizontalDefault=function(e){var t=e.style,n=o(e,["style"]),i=r({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return s.default.createElement("div",r({style:i},n))},t.renderThumbVerticalDefault=function(e){var t=e.style,n=o(e,["style"]),i=r({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return s.default.createElement("div",r({style:i},n))};var i,a=n("./node_modules/react/index.js"),s=(i=a)&&i.__esModule?i:{default:i};function o(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}},"./node_modules/react-custom-scrollbars/lib/Scrollbars/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},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}}(),a=n("./node_modules/raf/index.js"),s=v(a),o=v(n("./node_modules/dom-css/index.js")),l=n("./node_modules/react/index.js"),c=v(n("./node_modules/prop-types/index.js")),u=v(n("./node_modules/react-custom-scrollbars/lib/utils/isString.js")),d=v(n("./node_modules/react-custom-scrollbars/lib/utils/getScrollbarWidth.js")),f=v(n("./node_modules/react-custom-scrollbars/lib/utils/returnFalse.js")),h=v(n("./node_modules/react-custom-scrollbars/lib/utils/getInnerWidth.js")),p=v(n("./node_modules/react-custom-scrollbars/lib/utils/getInnerHeight.js")),m=n("./node_modules/react-custom-scrollbars/lib/Scrollbars/styles.js"),b=n("./node_modules/react-custom-scrollbars/lib/Scrollbars/defaultRenderElements.js");function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 w=function(e){function t(e){var n;g(this,t);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var s=y(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(i)));return s.getScrollLeft=s.getScrollLeft.bind(s),s.getScrollTop=s.getScrollTop.bind(s),s.getScrollWidth=s.getScrollWidth.bind(s),s.getScrollHeight=s.getScrollHeight.bind(s),s.getClientWidth=s.getClientWidth.bind(s),s.getClientHeight=s.getClientHeight.bind(s),s.getValues=s.getValues.bind(s),s.getThumbHorizontalWidth=s.getThumbHorizontalWidth.bind(s),s.getThumbVerticalHeight=s.getThumbVerticalHeight.bind(s),s.getScrollLeftForOffset=s.getScrollLeftForOffset.bind(s),s.getScrollTopForOffset=s.getScrollTopForOffset.bind(s),s.scrollLeft=s.scrollLeft.bind(s),s.scrollTop=s.scrollTop.bind(s),s.scrollToLeft=s.scrollToLeft.bind(s),s.scrollToTop=s.scrollToTop.bind(s),s.scrollToRight=s.scrollToRight.bind(s),s.scrollToBottom=s.scrollToBottom.bind(s),s.handleTrackMouseEnter=s.handleTrackMouseEnter.bind(s),s.handleTrackMouseLeave=s.handleTrackMouseLeave.bind(s),s.handleHorizontalTrackMouseDown=s.handleHorizontalTrackMouseDown.bind(s),s.handleVerticalTrackMouseDown=s.handleVerticalTrackMouseDown.bind(s),s.handleHorizontalThumbMouseDown=s.handleHorizontalThumbMouseDown.bind(s),s.handleVerticalThumbMouseDown=s.handleVerticalThumbMouseDown.bind(s),s.handleWindowResize=s.handleWindowResize.bind(s),s.handleScroll=s.handleScroll.bind(s),s.handleDrag=s.handleDrag.bind(s),s.handleDragEnd=s.handleDragEnd.bind(s),s.state={didMountUniversal:!1},s}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(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,a.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var e=this.view||{},t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,i=void 0===r?0:r,a=e.scrollWidth,s=void 0===a?0:a,o=e.scrollHeight,l=void 0===o?0:o,c=e.clientWidth,u=void 0===c?0:c,d=e.clientHeight,f=void 0===d?0:d;return{left:n/(s-u)||0,top:i/(l-f)||0,scrollLeft:n,scrollTop:i,scrollWidth:s,scrollHeight:l,clientWidth:u,clientHeight:f}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,i=r.scrollWidth,a=r.clientWidth,s=(0,h.default)(this.trackHorizontal),o=Math.ceil(a/i*s);return s===o?0:t||Math.max(o,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,i=r.scrollHeight,a=r.clientHeight,s=(0,p.default)(this.trackVertical),o=Math.ceil(a/i*s);return s===o?0:t||Math.max(o,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,r=t.clientWidth;return e/((0,h.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-r)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,n=t.scrollHeight,r=t.clientHeight;return e/((0,p.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-r)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,i=n.onScrollFrame;r&&r(e),this.update((function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,i&&i(e)})),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect().left,i=this.getThumbHorizontalWidth(),a=Math.abs(r-n)-i/2;this.view.scrollLeft=this.getScrollLeftForOffset(a)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect().top,i=this.getThumbVerticalHeight(),a=Math.abs(r-n)-i/2;this.view.scrollTop=this.getScrollTopForOffset(a)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,i=t.getBoundingClientRect().left;this.prevPageX=r-(n-i)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,i=t.getBoundingClientRect().top;this.prevPageY=r-(n-i)}},{key:"setupDragging",value:function(){(0,o.default)(document.body,m.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=f.default}},{key:"teardownDragging",value:function(){(0,o.default)(document.body,m.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=-this.trackHorizontal.getBoundingClientRect().left+t-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(n)}if(this.prevPageY){var r=e.clientY,i=-this.trackVertical.getBoundingClientRect().top+r-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(i)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,o.default)(this.trackHorizontal,{opacity:1}),(0,o.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout((function(){(0,o.default)(e.trackHorizontal,{opacity:0}),(0,o.default)(e.trackVertical,{opacity:0})}),t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval((function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop}),100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&s.default.cancel(this.requestFrame),this.requestFrame=(0,s.default)((function(){t.requestFrame=void 0,e()}))}},{key:"update",value:function(e){var t=this;this.raf((function(){return t._update(e)}))}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,i=this.getValues();if((0,d.default)()){var a=i.scrollLeft,s=i.clientWidth,l=i.scrollWidth,c=(0,h.default)(this.trackHorizontal),u=this.getThumbHorizontalWidth(),f={width:u,transform:"translateX("+a/(l-s)*(c-u)+"px)"},m=i.scrollTop,b=i.clientHeight,v=i.scrollHeight,g=(0,p.default)(this.trackVertical),y=this.getThumbVerticalHeight(),w={height:y,transform:"translateY("+m/(v-b)*(g-y)+"px)"};if(r){var C={visibility:l>s?"visible":"hidden"},_={visibility:v>b?"visible":"hidden"};(0,o.default)(this.trackHorizontal,C),(0,o.default)(this.trackVertical,_)}(0,o.default)(this.thumbHorizontal,f),(0,o.default)(this.thumbVertical,w)}n&&n(i),"function"==typeof e&&e(i)}},{key:"render",value:function(){var e=this,t=(0,d.default)(),n=this.props,i=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),a=n.renderTrackHorizontal,s=n.renderTrackVertical,o=n.renderThumbHorizontal,c=n.renderThumbVertical,f=n.tagName,h=(n.hideTracksWhenNotNeeded,n.autoHide),p=(n.autoHideTimeout,n.autoHideDuration),b=(n.thumbSize,n.thumbMinSize,n.universal),v=n.autoHeight,g=n.autoHeightMin,y=n.autoHeightMax,w=n.style,C=n.children,_=function(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}(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),S=this.state.didMountUniversal,x=r({},m.containerStyleDefault,v&&r({},m.containerStyleAutoHeight,{minHeight:g,maxHeight:y}),w),k=r({},m.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},v&&r({},m.viewStyleAutoHeight,{minHeight:(0,u.default)(g)?"calc("+g+" + "+t+"px)":g+t,maxHeight:(0,u.default)(y)?"calc("+y+" + "+t+"px)":y+t}),v&&b&&!S&&{minHeight:g,maxHeight:y},b&&!S&&m.viewStyleUniversalInitial),T={transition:"opacity "+p+"ms",opacity:0},j=r({},m.trackHorizontalStyleDefault,h&&T,(!t||b&&!S)&&{display:"none"}),M=r({},m.trackVerticalStyleDefault,h&&T,(!t||b&&!S)&&{display:"none"});return(0,l.createElement)(f,r({},_,{style:x,ref:function(t){e.container=t}}),[(0,l.cloneElement)(i({style:k}),{key:"view",ref:function(t){e.view=t}},C),(0,l.cloneElement)(a({style:j}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,l.cloneElement)(o({style:m.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,l.cloneElement)(s({style:M}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,l.cloneElement)(c({style:m.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(l.Component);t.default=w,w.propTypes={onScroll:c.default.func,onScrollFrame:c.default.func,onScrollStart:c.default.func,onScrollStop:c.default.func,onUpdate:c.default.func,renderView:c.default.func,renderTrackHorizontal:c.default.func,renderTrackVertical:c.default.func,renderThumbHorizontal:c.default.func,renderThumbVertical:c.default.func,tagName:c.default.string,thumbSize:c.default.number,thumbMinSize:c.default.number,hideTracksWhenNotNeeded:c.default.bool,autoHide:c.default.bool,autoHideTimeout:c.default.number,autoHideDuration:c.default.number,autoHeight:c.default.bool,autoHeightMin:c.default.oneOfType([c.default.number,c.default.string]),autoHeightMax:c.default.oneOfType([c.default.number,c.default.string]),universal:c.default.bool,style:c.default.object,children:c.default.node},w.defaultProps={renderView:b.renderViewDefault,renderTrackHorizontal:b.renderTrackHorizontalDefault,renderTrackVertical:b.renderTrackVerticalDefault,renderThumbHorizontal:b.renderThumbHorizontalDefault,renderThumbVertical:b.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},"./node_modules/react-custom-scrollbars/lib/Scrollbars/styles.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},"./node_modules/react-custom-scrollbars/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollbars=void 0;var r,i=n("./node_modules/react-custom-scrollbars/lib/Scrollbars/index.js"),a=(r=i)&&r.__esModule?r:{default:r};t.default=a.default,t.Scrollbars=a.default},"./node_modules/react-custom-scrollbars/lib/utils/getInnerHeight.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,i=n.paddingBottom;return t-parseFloat(r)-parseFloat(i)}},"./node_modules/react-custom-scrollbars/lib/utils/getInnerWidth.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,i=n.paddingRight;return t-parseFloat(r)-parseFloat(i)}},"./node_modules/react-custom-scrollbars/lib/utils/getScrollbarWidth.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1!==s)return s;if("undefined"!=typeof document){var e=document.createElement("div");(0,a.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),s=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else s=0;return s||0};var r,i=n("./node_modules/dom-css/index.js"),a=(r=i)&&r.__esModule?r:{default:r};var s=!1},"./node_modules/react-custom-scrollbars/lib/utils/isString.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},"./node_modules/react-custom-scrollbars/lib/utils/returnFalse.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!1}},"./node_modules/readable-stream/duplex-browser.js":function(e,t,n){e.exports=n("./node_modules/readable-stream/lib/_stream_duplex.js")},"./node_modules/readable-stream/passthrough.js":function(e,t,n){e.exports=n("./node_modules/readable-stream/readable-browser.js").PassThrough},"./node_modules/readable-stream/transform.js":function(e,t,n){e.exports=n("./node_modules/readable-stream/readable-browser.js").Transform},"./node_modules/readable-stream/writable-browser.js":function(e,t,n){e.exports=n("./node_modules/readable-stream/lib/_stream_writable.js")},"./node_modules/ripemd160/index.js":function(e,t,n){"use strict";var r=n("./node_modules/buffer/index.js").Buffer,i=n("./node_modules/inherits/inherits_browser.js"),a=n("./node_modules/hash-base/index.js"),s=new Array(16),o=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function h(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function m(e,t,n,r,i,a,s,o){return p(e+(t^n^r)+a+s|0,o)+i|0}function b(e,t,n,r,i,a,s,o){return p(e+(t&n|~t&r)+a+s|0,o)+i|0}function v(e,t,n,r,i,a,s,o){return p(e+((t|~n)^r)+a+s|0,o)+i|0}function g(e,t,n,r,i,a,s,o){return p(e+(t&r|n&~r)+a+s|0,o)+i|0}function y(e,t,n,r,i,a,s,o){return p(e+(t^(n|~r))+a+s|0,o)+i|0}i(h,a),h.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,a=0|this._d,h=0|this._e,w=0|this._a,C=0|this._b,_=0|this._c,S=0|this._d,x=0|this._e,k=0;k<80;k+=1){var T,j;k<16?(T=m(n,r,i,a,h,e[o[k]],d[0],c[k]),j=y(w,C,_,S,x,e[l[k]],f[0],u[k])):k<32?(T=b(n,r,i,a,h,e[o[k]],d[1],c[k]),j=g(w,C,_,S,x,e[l[k]],f[1],u[k])):k<48?(T=v(n,r,i,a,h,e[o[k]],d[2],c[k]),j=v(w,C,_,S,x,e[l[k]],f[2],u[k])):k<64?(T=g(n,r,i,a,h,e[o[k]],d[3],c[k]),j=b(w,C,_,S,x,e[l[k]],f[3],u[k])):(T=y(n,r,i,a,h,e[o[k]],d[4],c[k]),j=m(w,C,_,S,x,e[l[k]],f[4],u[k])),n=h,h=a,a=p(i,10),i=r,r=T,w=x,x=S,S=p(_,10),_=C,C=j}var M=this._b+i+S|0;this._b=this._c+a+x|0,this._c=this._d+h+w|0,this._d=this._e+n+C|0,this._e=this._a+r+_|0,this._a=M},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},"./node_modules/sha.js/hash.js":function(e,t,n){var r=n("./node_modules/safe-buffer/index.js").Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,a=e.length,s=this._len,o=0;o<a;){for(var l=s%i,c=Math.min(a-o,i-l),u=0;u<c;u++)n[l+u]=e[o+u];o+=c,(s+=c)%i==0&&this._update(n)}return this._len+=a,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},"./node_modules/sha.js/index.js":function(e,t,n){(t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n}).sha=n("./node_modules/sha.js/sha.js"),t.sha1=n("./node_modules/sha.js/sha1.js"),t.sha224=n("./node_modules/sha.js/sha224.js"),t.sha256=n("./node_modules/sha.js/sha256.js"),t.sha384=n("./node_modules/sha.js/sha384.js"),t.sha512=n("./node_modules/sha.js/sha512.js")},"./node_modules/sha.js/sha.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/sha.js/hash.js"),a=n("./node_modules/safe-buffer/index.js").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function l(){this.init(),this._w=o,i.call(this,64,56)}function c(e){return e<<30|e>>>2}function u(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,a=0|this._c,o=0|this._d,l=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=n[d-3]^n[d-8]^n[d-14]^n[d-16];for(var f=0;f<80;++f){var h=~~(f/20),p=0|((t=r)<<5|t>>>27)+u(h,i,a,o)+l+n[f]+s[h];l=o,o=a,a=c(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},"./node_modules/sha.js/sha1.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/sha.js/hash.js"),a=n("./node_modules/safe-buffer/index.js").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function l(){this.init(),this._w=o,i.call(this,64,56)}function c(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function d(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,a=0|this._c,o=0|this._d,l=0|this._e,f=0;f<16;++f)n[f]=e.readInt32BE(4*f);for(;f<80;++f)n[f]=(t=n[f-3]^n[f-8]^n[f-14]^n[f-16])<<1|t>>>31;for(var h=0;h<80;++h){var p=~~(h/20),m=c(r)+d(p,i,a,o)+l+n[h]+s[p]|0;l=o,o=a,a=u(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},"./node_modules/sha.js/sha224.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/sha.js/sha256.js"),a=n("./node_modules/sha.js/hash.js"),s=n("./node_modules/safe-buffer/index.js").Buffer,o=new Array(64);function l(){this.init(),this._w=o,a.call(this,64,56)}r(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},"./node_modules/sha.js/sha256.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/sha.js/hash.js"),a=n("./node_modules/safe-buffer/index.js").Buffer,s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=new Array(64);function l(){this.init(),this._w=o,i.call(this,64,56)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function f(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,a=0|this._c,o=0|this._d,l=0|this._e,p=0|this._f,m=0|this._g,b=0|this._h,v=0;v<16;++v)n[v]=e.readInt32BE(4*v);for(;v<64;++v)n[v]=0|(((t=n[v-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[v-7]+h(n[v-15])+n[v-16];for(var g=0;g<64;++g){var y=b+f(l)+c(l,p,m)+s[g]+n[g]|0,w=d(r)+u(r,i,a)|0;b=m,m=p,p=l,l=o+y|0,o=a,a=i,i=r,r=y+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},l.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},"./node_modules/sha.js/sha384.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/sha.js/sha512.js"),a=n("./node_modules/sha.js/hash.js"),s=n("./node_modules/safe-buffer/index.js").Buffer,o=new Array(160);function l(){this.init(),this._w=o,a.call(this,128,112)}r(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},"./node_modules/sha.js/sha512.js":function(e,t,n){var r=n("./node_modules/inherits/inherits_browser.js"),i=n("./node_modules/sha.js/hash.js"),a=n("./node_modules/safe-buffer/index.js").Buffer,s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],o=new Array(160);function l(){this.init(),this._w=o,i.call(this,128,112)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function f(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function b(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0<t>>>0?1:0}r(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,a=0|this._dh,o=0|this._eh,l=0|this._fh,g=0|this._gh,y=0|this._hh,w=0|this._al,C=0|this._bl,_=0|this._cl,S=0|this._dl,x=0|this._el,k=0|this._fl,T=0|this._gl,j=0|this._hl,M=0;M<32;M+=2)t[M]=e.readInt32BE(4*M),t[M+1]=e.readInt32BE(4*M+4);for(;M<160;M+=2){var E=t[M-30],A=t[M-30+1],L=h(E,A),P=p(A,E),O=m(E=t[M-4],A=t[M-4+1]),I=b(A,E),B=t[M-14],D=t[M-14+1],R=t[M-32],N=t[M-32+1],H=P+D|0,G=L+B+v(H,P)|0;G=(G=G+O+v(H=H+I|0,I)|0)+R+v(H=H+N|0,N)|0,t[M]=G,t[M+1]=H}for(var F=0;F<160;F+=2){G=t[F],H=t[F+1];var V=u(n,r,i),U=u(w,C,_),z=d(n,w),W=d(w,n),q=f(o,x),K=f(x,o),Z=s[F],X=s[F+1],$=c(o,l,g),J=c(x,k,T),Y=j+K|0,Q=y+q+v(Y,j)|0;Q=(Q=(Q=Q+$+v(Y=Y+J|0,J)|0)+Z+v(Y=Y+X|0,X)|0)+G+v(Y=Y+H|0,H)|0;var ee=W+U|0,te=z+V+v(ee,W)|0;y=g,j=T,g=l,T=k,l=o,k=x,o=a+Q+v(x=S+Y|0,S)|0,a=i,S=_,i=r,_=C,r=n,C=w,n=Q+te+v(w=Y+ee|0,Y)|0}this._al=this._al+w|0,this._bl=this._bl+C|0,this._cl=this._cl+_|0,this._dl=this._dl+S|0,this._el=this._el+x|0,this._fl=this._fl+k|0,this._gl=this._gl+T|0,this._hl=this._hl+j|0,this._ah=this._ah+n+v(this._al,w)|0,this._bh=this._bh+r+v(this._bl,C)|0,this._ch=this._ch+i+v(this._cl,_)|0,this._dh=this._dh+a+v(this._dl,S)|0,this._eh=this._eh+o+v(this._el,x)|0,this._fh=this._fh+l+v(this._fl,k)|0,this._gh=this._gh+g+v(this._gl,T)|0,this._hh=this._hh+y+v(this._hl,j)|0},l.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},"./node_modules/stream-browserify/index.js":function(e,t,n){e.exports=i;var r=n("./node_modules/events/events.js").EventEmitter;function i(){r.call(this)}n("./node_modules/inherits/inherits_browser.js")(i,r),i.Readable=n("./node_modules/readable-stream/readable-browser.js"),i.Writable=n("./node_modules/readable-stream/writable-browser.js"),i.Duplex=n("./node_modules/readable-stream/duplex-browser.js"),i.Transform=n("./node_modules/readable-stream/transform.js"),i.PassThrough=n("./node_modules/readable-stream/passthrough.js"),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function a(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",a),e._isStdio||t&&!1===t.end||(n.on("end",o),n.on("close",l));var s=!1;function o(){s||(s=!0,e.end())}function l(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",a),n.removeListener("end",o),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},"./node_modules/tlds/index.js":function(e,t){e.exports=["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afamilycompany","afl","africa","ag","agakhan","agency","ai","aig","aigo","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","budapest","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","caseih","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","ceb","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","esurance","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glade","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","intel","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","iveco","jaguar","java","jcb","jcp","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","liaison","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","lk","llc","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","lupin","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","metlife","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","movistar","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","mutual","mv","mw","mx","my","mz","na","nab","nadex","nagoya","name","nationwide","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","qvc","racing","radio","raid","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","space","sport","spot","spreadbetting","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiftcover","swiss","sx","sy","sydney","symantec","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","telefonica","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","vistaprint","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","ಭಾರತ","慈善","集团","在线","한국","ଭାରତ","大众汽车","点看","คอม","ভাৰত","ভারত","八卦","موقع","বাংলা","公益","公司","香格里拉","网站","移动","我爱你","москва","қаз","католик","онлайн","сайт","联通","срб","бг","бел","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","삼성","சிங்கப்பூர்","商标","商店","商城","дети","мкд","ею","ポイント","新闻","工行","家電","كوم","中文网","中信","中国","中國","娱乐","谷歌","భారత్","ලංකා","電訊盈科","购物","クラウド","ભારત","通販","भारतम्","भारत","भारोत","网店","संगठन","餐厅","网络","ком","укр","香港","诺基亚","食品","飞利浦","台湾","台灣","手表","手机","мон","الجزائر","عمان","ارامكو","ایران","العليان","اتصالات","امارات","بازار","موريتانيا","پاکستان","الاردن","بارت","بھارت","المغرب","ابوظبي","السعودية","ڀارت","كاثوليك","سودان","همراه","عراق","مليسيا","澳門","닷컴","政府","شبكة","بيتك","عرب","გე","机构","组织机构","健康","ไทย","سورية","招聘","рус","рф","珠宝","تونس","大拿","みんな","グーグル","ευ","ελ","世界","書籍","ഭാരതം","ਭਾਰਤ","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","مصر","قطر","广东","இலங்கை","இந்தியா","հայ","新加坡","فلسطين","政务","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw"]},"./node_modules/to-camel-case/index.js":function(e,t,n){var r=n("./node_modules/to-space-case/index.js");e.exports=function(e){return r(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}},"./node_modules/to-no-case/index.js":function(e,t){e.exports=function(e){return n.test(e)?e.toLowerCase():r.test(e)?(function(e){return e.replace(a,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():i.test(e)?function(e){return e.replace(s,(function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")}))}(e).toLowerCase():e.toLowerCase()};var n=/\s/,r=/(_|-|\.|:)/,i=/([a-z][A-Z]|[A-Z][a-z])/;var a=/[\W_]+(.|$)/g;var s=/(.)([A-Z]+)/g},"./node_modules/to-space-case/index.js":function(e,t,n){var r=n("./node_modules/to-no-case/index.js");e.exports=function(e){return r(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}},"./node_modules/type/function/is.js":function(e,t,n){"use strict";var r=n("./node_modules/type/prototype/is.js");e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(t){return!1}return!r(e)}},"./node_modules/type/object/is.js":function(e,t,n){"use strict";var r=n("./node_modules/type/value/is.js"),i={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(i,typeof e)}},"./node_modules/type/plain-function/is.js":function(e,t,n){"use strict";var r=n("./node_modules/type/function/is.js"),i=/^\s*class[\s{/}]/,a=Function.prototype.toString;e.exports=function(e){return!!r(e)&&!i.test(a.call(e))}},"./node_modules/type/prototype/is.js":function(e,t,n){"use strict";var r=n("./node_modules/type/object/is.js");e.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}},"./node_modules/type/value/is.js":function(e,t,n){"use strict";e.exports=function(e){return null!=e}},"./node_modules/uniq/uniq.js":function(e,t,n){"use strict";e.exports=function(e,t,n){return 0===e.length?e:t?(n||e.sort(t),function(e,t){for(var n=1,r=e.length,i=e[0],a=e[0],s=1;s<r;++s)if(a=i,t(i=e[s],a)){if(s===n){n++;continue}e[n++]=i}return e.length=n,e}(e,t)):(n||e.sort(),function(e){for(var t=1,n=e.length,r=e[0],i=e[0],a=1;a<n;++a,i=r)if(i=r,(r=e[a])!==i){if(a===t){t++;continue}e[t++]=r}return e.length=t,e}(e))}},"./node_modules/url-regex/index.js":function(e,t,n){"use strict";const r=n("./node_modules/ip-regex/index.js"),i=n("./node_modules/tlds/index.js");e.exports=e=>{const t=`(?:${"(?:(?:[a-z]+:)?//)"+((e={strict:!0,...e}).strict?"":"?")}|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|${r.v4().source}|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*${`(?:\\.${e.strict?"(?:[a-z\\u00a1-\\uffff]{2,})":`(?:${i.sort((e,t)=>t.length-e.length).join("|")})`})\\.?`})(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return e.exact?new RegExp(`(?:^${t}$)`,"i"):new RegExp(t,"ig")}},"./node_modules/vm-browserify/index.js":function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)t.push(n);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,n){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch(e){return function(e,t,n){e[t]=n}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var n=t.contentWindow,r=n.eval,i=n.execScript;!r&&i&&(i.call(n,"null"),r=n.eval),forEach(Object_keys(e),(function(t){n[t]=e[t]})),forEach(globals,(function(t){e[t]&&(n[t]=e[t])}));var a=Object_keys(n),s=r.call(n,this.code);return forEach(Object_keys(n),(function(t){(t in e||-1===indexOf(a,t))&&(e[t]=n[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,n[t])})),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),n=this.runInContext(t);return e&&forEach(Object_keys(t),(function(n){e[n]=t[n]})),n},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var n=Script(t);return n[e].apply(n,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),(function(n){t[n]=e[n]})),t}},"./node_modules/webfontloader/webfontloader.js":function(e,t,n){!function(){function t(e,t,n){return e.call.apply(e.bind,arguments)}function n(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function r(e,i,a){return(r=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?t:n).apply(null,arguments)}var i=Date.now||function(){return+new Date};function a(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var s=!!window.FontFace;function o(e,t,n,r){if(t=e.c.createElement(t),n)for(var i in n)n.hasOwnProperty(i)&&("style"==i?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r&&t.appendChild(e.c.createTextNode(r)),t}function l(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function c(e){e.parentNode&&e.parentNode.removeChild(e)}function u(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),i=0;i<t.length;i+=1){for(var a=!1,s=0;s<r.length;s+=1)if(t[i]===r[s]){a=!0;break}a||r.push(t[i])}for(t=[],i=0;i<r.length;i+=1){for(a=!1,s=0;s<n.length;s+=1)if(r[i]===n[s]){a=!0;break}a||t.push(r[i])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function d(e,t){for(var n=e.className.split(/\s+/),r=0,i=n.length;r<i;r++)if(n[r]==t)return!0;return!1}function f(e,t,n){function r(){u&&i&&a&&(u(c),u=null)}t=o(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,a=!0,c=null,u=n||null;s?(t.onload=function(){i=!0,r()},t.onerror=function(){i=!0,c=Error("Stylesheet failed to load"),r()}):setTimeout((function(){i=!0,r()}),0),l(e,"head",t)}function h(e,t,n,r){var i=e.c.getElementsByTagName("head")[0];if(i){var a=o(e,"script",{src:t}),s=!1;return a.onload=a.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,n&&n(null),a.onload=a.onreadystatechange=null,"HEAD"==a.parentNode.tagName&&i.removeChild(a))},i.appendChild(a),setTimeout((function(){s||(s=!0,n&&n(Error("Script load timeout")))}),r||5e3),a}return null}function p(){this.a=0,this.c=null}function m(e){return e.a++,function(){e.a--,v(e)}}function b(e,t){e.c=t,v(e)}function v(e){0==e.a&&e.c&&(e.c(),e.c=null)}function g(e){this.a=e||"-"}function y(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function w(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function C(e){return e.a+e.f}function _(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function S(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function x(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new g("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function k(e){if(e.g){var t=d(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),u(e.f,n,r)}T(e,"inactive")}function T(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,C(n)):e.h[t]())}function j(){this.c={}}function M(e,t){this.c=e,this.f=t,this.a=o(this.c,"span",{"aria-hidden":"true"},this.f)}function E(e){l(e.c,"body",e.a)}function A(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+w(e.c)+";font-style:"+_(e)+";font-weight:"+e.f+"00;"}function L(e,t,n,r,i,a){this.g=e,this.j=t,this.a=r,this.c=n,this.f=i||3e3,this.h=a||void 0}function P(e,t,n,r,i,a,s){this.v=e,this.B=t,this.c=n,this.a=r,this.s=s||"BESbswy",this.f={},this.w=i||3e3,this.u=a||null,this.m=this.j=this.h=this.g=null,this.g=new M(this.c,this.s),this.h=new M(this.c,this.s),this.j=new M(this.c,this.s),this.m=new M(this.c,this.s),e=A(e=new y(this.a.c+",serif",C(this.a))),this.g.a.style.cssText=e,e=A(e=new y(this.a.c+",sans-serif",C(this.a))),this.h.a.style.cssText=e,e=A(e=new y("serif",C(this.a))),this.j.a.style.cssText=e,e=A(e=new y("sans-serif",C(this.a))),this.m.a.style.cssText=e,E(this.g),E(this.h),E(this.j),E(this.m)}g.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},L.prototype.start=function(){var e=this.c.o.document,t=this,n=i(),r=new Promise((function(r,a){!function s(){i()-n>=t.f?a():e.fonts.load(function(e){return _(e)+" "+e.f+"00 300px "+w(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(s,25)}),(function(){a()}))}()})),a=null,s=new Promise((function(e,n){a=setTimeout(n,t.f)}));Promise.race([s,r]).then((function(){a&&(clearTimeout(a),a=null),t.g(t.a)}),(function(){t.j(t.a)}))};var O={D:"serif",C:"sans-serif"},I=null;function B(){if(null===I){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);I=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return I}function D(e,t,n){for(var r in O)if(O.hasOwnProperty(r)&&t===e.f[O[r]]&&n===e.f[O[r]])return!0;return!1}function R(e){var t,n=e.g.a.offsetWidth,a=e.h.a.offsetWidth;(t=n===e.f.serif&&a===e.f["sans-serif"])||(t=B()&&D(e,n,a)),t?i()-e.A>=e.w?B()&&D(e,n,a)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?N(e,e.v):N(e,e.B):function(e){setTimeout(r((function(){R(this)}),e),50)}(e):N(e,e.v)}function N(e,t){setTimeout(r((function(){c(this.g.a),c(this.h.a),c(this.j.a),c(this.m.a),t(this.a)}),e),0)}function H(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}P.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=i(),R(this)};var G=null;function F(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&u(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),T(e,"active")):k(e.a))}function V(e){this.j=e,this.a=new j,this.h=0,this.f=this.g=!0}function U(e,t,n,i,a){var s=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=a||null,o=i||{};if(0===n.length&&s)k(t.a);else{t.f+=n.length,s&&(t.j=s);var l,c=[];for(l=0;l<n.length;l++){var d=n[l],f=o[d.c],h=t.a,p=d;if(h.g&&u(h.f,[h.a.c("wf",p.c,C(p).toString(),"loading")]),T(h,"fontloading",p),h=null,null===G)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);G=p?42<parseInt(p[1],10):!m}else G=!1;h=G?new L(r(t.g,t),r(t.h,t),t.c,d,t.s,f):new P(r(t.g,t),r(t.h,t),t.c,d,t.s,e,f),c.push(h)}for(l=0;l<c.length;l++)c[l].start()}}),0)}function z(e,t){this.c=e,this.a=t}function W(e,t){this.c=e,this.a=t}function q(e,t){this.c=e||K,this.a=[],this.f=[],this.g=t||""}H.prototype.g=function(e){var t=this.a;t.g&&u(t.f,[t.a.c("wf",e.c,C(e).toString(),"active")],[t.a.c("wf",e.c,C(e).toString(),"loading"),t.a.c("wf",e.c,C(e).toString(),"inactive")]),T(t,"fontactive",e),this.m=!0,F(this)},H.prototype.h=function(e){var t=this.a;if(t.g){var n=d(t.f,t.a.c("wf",e.c,C(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,C(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,C(e).toString(),"inactive")),u(t.f,r,i)}T(t,"fontinactive",e),F(this)},V.prototype.load=function(e){this.c=new a(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],i=n.timeout;!function(e){e.g&&u(e.f,[e.a.c("wf","loading")]),T(e,"loading")}(t);r=function(e,t,n){var r,i=[];for(r in t)if(t.hasOwnProperty(r)){var a=e.c[r];a&&i.push(a(t[r],n))}return i}(e.a,n,e.c);var a=new H(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){U(e,a,t,n,r)}))}(this,new x(this.c,e),e)},z.prototype.load=function(e){var t=this,n=t.a.projectId,r=t.a.version;if(n){var i=t.c.o;h(this.c,(t.a.api||"https://fast.fonts.net/jsapi")+"/"+n+".js"+(r?"?v="+r:""),(function(r){r?e([]):(i["__MonotypeConfiguration__"+n]=function(){return t.a},function t(){if(i["__mti_fntLst"+n]){var r,a=i["__mti_fntLst"+n](),s=[];if(a)for(var o=0;o<a.length;o++){var l=a[o].fontfamily;null!=a[o].fontStyle&&null!=a[o].fontWeight?(r=a[o].fontStyle+a[o].fontWeight,s.push(new y(l,r))):s.push(new y(l))}e(s)}else setTimeout((function(){t()}),50)}())})).id="__MonotypeAPIScript__"+n}else e([])},W.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],a=this.a.testStrings||{},s=new p;for(t=0,n=r.length;t<n;t++)f(this.c,r[t],m(s));var o=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var l=r[1].split(","),c=0;c<l.length;c+=1)o.push(new y(r[0],l[c]));else o.push(new y(r[0]));b(s,(function(){e(o,a)}))};var K="https://fonts.googleapis.com/css";function Z(e){this.f=e,this.a=[],this.c={}}var X={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},$={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},J={i:"i",italic:"i",n:"n",normal:"n"},Y=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function Q(e,t){this.c=e,this.a=t}var ee={Arimo:!0,Cousine:!0,Tinos:!0};function te(e,t){this.c=e,this.a=t}function ne(e,t){this.c=e,this.f=t,this.a=[]}Q.prototype.load=function(e){var t=new p,n=this.c,r=new q(this.a.api,this.a.text),i=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var i=t[r].split(":");3==i.length&&e.f.push(i.pop());var a="";2==i.length&&""!=i[1]&&(a=":"),e.a.push(i.join(a))}}(r,i);var a=new Z(i);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),i=r[0].replace(/\+/g," "),a=["n4"];if(2<=r.length){var s;if(s=[],o=r[1])for(var o,l=(o=o.split(",")).length,c=0;c<l;c++){var u;if((u=o[c]).match(/^[\w-]+$/))if(null==(f=Y.exec(u.toLowerCase())))u="";else{if(u=null==(u=f[2])||""==u?"n":J[u],null==(f=f[1])||""==f)f="4";else var d=$[f],f=d||(isNaN(f)?"4":f.substr(0,1));u=[u,f].join("")}else u="";u&&s.push(u)}0<s.length&&(a=s),3==r.length&&(s=[],0<(r=(r=r[2])?r.split(","):s).length&&(r=X[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=X[i])&&(e.c[i]=r),r=0;r<a.length;r+=1)e.a.push(new y(i,a[r]))}}(a),f(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),m(t)),b(t,(function(){e(a.a,a.c,ee)}))},te.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?h(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],i=0;i<t.length;i+=2)for(var a=t[i],s=t[i+1],o=0;o<s.length;o++)r.push(new y(a,s[o]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(l){}e(r)}}),2e3):e([])},ne.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var i=0,a=n.fonts.length;i<a;++i){var s=n.fonts[i];r.a.push(new y(s.name,S("font-weight:"+s.weight+";font-style:"+s.style)))}e(r.a)},h(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var re=new V(window);re.a.c.custom=function(e,t){return new W(t,e)},re.a.c.fontdeck=function(e,t){return new ne(t,e)},re.a.c.monotype=function(e,t){return new z(t,e)},re.a.c.typekit=function(e,t){return new te(t,e)},re.a.c.google=function(e,t){return new Q(t,e)};var ie={load:r(re.load,re)};"function"==typeof define&&define.amd?define((function(){return ie})):e.exports?e.exports=ie:(window.WebFont=ie,window.WebFontConfig&&re.load(window.WebFontConfig))}()},"./public/components/api/publicAPI.js":function(e,t,n){"use strict";var r=n("./node_modules/event-emitter/index.js"),i=function(){};n.n(r)()(i.prototype);var a=new i;t.a={on:function(e,t){a.on("vcv:api:"+e,t)},once:function(e,t){a.once("vcv:api:"+e,t)},off:function(e,t){a.off("vcv:api:"+e,t)},trigger:function(e){var t=Array.prototype.slice.call(arguments,1);a.emit.apply(a,["vcv:api:".concat(e)].concat(t))},ready:function(e){this.once("ready",e)}}},"./public/components/dnd/domElement.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/createClass.js"),s=n.n(a),o=n("./node_modules/lodash/lodash.js"),l=n.n(o),c=function(){function e(t,n,r){i()(this,e),r=l.a.defaults(r,{containerFor:null,childFor:null,parent:null,handler:null,datasetKey:"vcvDndDomElement"}),Object.defineProperties(this,{node:{configurable:!1,enumerable:!1,value:n,writable:!1},$node:{configurable:!1,enumerable:!1,value:window.jQuery(n),writable:!1},id:{configurable:!1,enumerable:!1,value:t,writable:!1},options:{configurable:!1,enumerable:!1,value:r,writable:!1},isEmptyAsContainer:{enumerable:!1,get:function(){return 0===this.$node.find("[data-vcv-dnd-element]").length}}}),this.setAttributes()}return s()(e,[{key:"setAttributes",value:function(){var e=this.options.handler;"string"==typeof e&&(e=this.$node.find(this.options.handler).get(0)),e&&e.ELEMENT_NODE&&(void 0!==this.handler?Object.defineProperty(this,"handler",{configurable:!0,enumerable:!1,value:e,writable:!0}):this.handler=e),this.node.setAttribute("data-vcv-dnd-element",this.id),this.handler?(this.handler.setAttribute("data-vcv-dnd-element-handler",this.id),this.handler.dataset[this.options.datasetKey]=this.node.className):this.options.handler||this.node.setAttribute("data-vcv-dnd-element-handler",this.id)}},{key:"refresh",value:function(){return this.setAttributes(),this}},{key:"parent",value:function(){return this.options.parent}},{key:"isChild",value:function(e){return this.relatedTo(e.containerFor())}},{key:"relatedTo",value:function(e){if(!this.options.relatedTo||!e)return!1;var t=!1;return Array.isArray(this.options.relatedTo)?this.options.relatedTo.find((function(n){return t=Array.isArray(e)?e.indexOf(n)>-1:e===n})):e===this.options.relatedTo&&(t=!0),t}},{key:"containerFor",value:function(){return this.options.containerFor}},{key:"equals",value:function(e){return this.id===e.id}},{key:"isNearBoundaries",value:function(e,t){var n=this.node.getBoundingClientRect();return e.y-n.top<t||n.bottom-e.y<t||e.x-n.left<t||n.right-e.x<t}},{key:"on",value:function(e,t,n){var r=this.dragHandler;return r&&r.addEventListener(e,t,!!n),this}},{key:"off",value:function(e,t,n){var r=this.dragHandler;return r&&r.removeEventListener(e,t,!!n),this}},{key:"dragHandler",get:function(){return this.options.handler?this.handler:this.node}},{key:"tag",get:function(){return this.options.tag}}]),e}()},"./public/components/dnd/helper.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/createClass.js"),s=n.n(a),o=n("./node_modules/lodash/lodash.js"),l=n.n(o),c=function(){function e(t,n){i()(this,e),Object.defineProperty(this,"element",{enumerable:!1,configurable:!1,writable:!1,value:t}),Object.defineProperty(this,"options",{enumerable:!1,configurable:!1,writable:!1,value:l.a.defaults(n,{container:document.body,wrapper:null})}),Object.defineProperty(this,"control",{enumerable:!1,configurable:!1,writable:!0,value:this.draw()}),this.hide()}return s()(e,[{key:"draw",value:function(){var e=this.options.container.querySelector("#vcv-ui-drag-helper-wrapper");e&&this.options.container.removeChild(e);var t=document.createElement("div");t.classList.add("vcv-ui-drag-helper-wrapper"),t.id="vcv-ui-drag-helper-wrapper";var n=document.createElement("div");n.classList.add("vcv-drag-helper"),n.classList.add("vcv-drag-helper-"+this.element.tag),this.element.containerFor()&&this.element.containerFor().length&&n.classList.add("vcv-drag-helper-container"),t.appendChild(n),this.options.container.appendChild(t);var r=this.element.options.iconLink;r&&(n.innerHTML='<img src="'+r+'" class="vcv-ui-dnd-helper-icon" alt="" title=""/>');var i=n.getBoundingClientRect();return n.style.marginTop=-i.height/2+"px",n.style.marginLeft=-i.width/2+"px",n.style.top="-100%",n.style.left="-100%",n}},{key:"setPosition",value:function(e){this.control.style.top=e.top?"".concat(e.y-e.top,"px"):"".concat(e.y,"px"),this.control.style.left=e.left?"".concat(e.x-e.left,"px"):"".concat(e.x,"px")}},{key:"hide",value:function(){this.control.style.display="none"}},{key:"show",value:function(){this.control.style.display="flex"}},{key:"remove",value:function(){var e=this.control;this.control=null;var t=e.parentNode;t.classList.contains("vcv-ui-drag-helper-wrapper")?t.parentNode&&t.parentNode.removeChild(t):t.removeChild(e)}}]),e}()},"./public/components/layoutHelpers/tinymce/fontFamily/getUsedFonts.js":function(e,t,n){"use strict";var r=n("./public/sources/attributes/googleFonts/lib/google-fonts-set.json");function i(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return a(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 a(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,s=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=r.families,o=function(e,t,n){var r=s[n].variants;if(r&&1===r.length&&"regular"===r[0])return"all";var i="";return i="normal"===e&&"400"===t?"regular":"italic"===e&&"400"===t?"italic":"italic"===e?"".concat(t).concat(e):t,r.indexOf(i)>-1?i:"all"};t.a=function(e){var t,n={},r=i(e.querySelectorAll("*"));try{for(r.s();!(t=r.n()).done;){var a=t.value,l=window.getComputedStyle(a),c=l.fontFamily;c=c.replace(/^\s*['"]([^'"]*)['"]\s*$/,"$1").trim();var u=s.map((function(e){return e.family.toLowerCase()})).indexOf(c.toLowerCase());if(u>-1){var d=l.fontStyle,f=l.fontWeight,h=o(d,f,u);Object.prototype.hasOwnProperty.call(n,c)?n[c].variants.indexOf("all")<0&&n[c].variants.indexOf(h)<0&&n[c].variants.push(h):n[c]={variants:[h],subsets:s[u].subsets}}}}catch(p){r.e(p)}finally{r.f()}return Object.keys(n).forEach((function(e){n[e].variants.indexOf("all")>-1&&delete n[e].variants})),n}},"./public/components/layoutHelpers/tinymce/fontFamily/tinymceFontsSelect.jquery.js":function(e,t,n){"use strict";t.a=function(e){var t=e.jQuery;if(!e.vcvTinymcePluginInitialized){e.vcvTinymcePluginInitialized=!0;var n=function(e){e?e.closest(".vcv-ui-tinymce-fonts-selectbox").removeClass("mce-active"):t(".vcv-ui-tinymce-fonts-selectbox").removeClass("mce-active"),document.body.removeEventListener("click",r)},r=function(e){e&&e.preventDefault();var r=t(e.target),i=r.closest(".vcv-ui-tinymce-fonts-selectbox-options")||r.closest(".vcv-ui-tinymce-fonts-selectbox");i&&i.length||n()};t("body").on("click.vcvuitinymcefontsselectbox.data-api touchstart.vcvuitinymcefontsselectbox.data-api",".vcv-ui-tinymce-fonts-selectbox [data-toggle=vcv-ui-tinymce-fonts-selectbox]",(function(e){e&&e.preventDefault();var i=t(this);if(i.is(".disabled, :disabled"))return!1;var a=i.closest(".vcv-ui-tinymce-fonts-selectbox"),s=a.hasClass("mce-active");if(n(i),!s){a.toggleClass("mce-active");var o=a.find(".vcv-ui-tinymce-fonts-selectbox-font-family").val();if(o){var l=JSON.parse(o);a.find('[role=option] > li > [data-option*="'+(l.value||l.family)+'"]').focus()}var c=a.closest(".vcv-ui-tree-content");if(c.length){var u=a.offset().left,d=c.offset().left,f=c.width(),h=a.find(".vcv-ui-tinymce-fonts-selectbox-options"),p=h.width();u+p>d+f?h.css("left",d+f-(u+p)-10+"px"):h.css("left",0)}}return s?document.body.removeEventListener("click",r):document.body.addEventListener("click",r),!1})).on("click.vcvuitinymcefontsselectbox.data-api",".vcv-ui-tinymce-fonts-selectbox [role=option] > li > a",(function(e){var r=t(this);if(e.preventDefault(),e.stopPropagation(),r.is(".disabled, :disabled"))return!1;var i=r.closest(".vcv-ui-tinymce-fonts-selectbox"),a=i.find(".vcv-ui-tinymce-fonts-selectbox-label"),s=i.find(".vcv-ui-tinymce-fonts-selectbox-font-family");a.html(r.html()),s.removeData(),s.val(JSON.stringify(r.data("option"))),t.each(r.data(),(function(e,t){s.data(e,t)})),s.trigger("change"),n(r)})).on("propertychange.vcvuitinymcefontsselectbox.data-api change.vcvuitinymcefontsselectbox.data-api input.vcvuitinymcefontsselectbox.data-api paste.vcvuitinymcefontsselectbox.data-api",".vcv-ui-tinymce-fonts-selectbox-filter",(function(){var e=t(this),n=e.closest(".vcv-ui-tinymce-fonts-selectbox"),r=t("[role=option] li",n);r.hide(),r.filter((function(){return-1!==t(this).text().toUpperCase().indexOf(e.val().toUpperCase())})).show()}))}}},"./public/components/layoutHelpers/tinymce/tinymceVcvHtmleditorPlugin.js":function(e,t,n){"use strict";var r=function(e){e.addCommand("mceApplyTextFont",(function(t){!function(e,t){e.undoManager.transact((function(){e.focus(),e.formatter.apply("fontname",{value:t}),e.nodeChanged()}))}(e,t)})),e.addCommand("mceRemoveTextFont",(function(t){!function(e,t){e.undoManager.transact((function(){e.focus(),e.formatter.remove("fontname",{value:t},null,!0),e.nodeChanged()}))}(e,t)}))},i=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),a=n.n(i),s=n("./node_modules/webfontloader/webfontloader.js"),o=n.n(s);function l(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?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=document.querySelector("#vcv-editor-iframe"),i=r&&r.contentWindow,a={};i&&(a.context=i),o.a.load(c({google:{families:["".concat(t)]}},a)),n&&(a={},e.getWin()&&(a.context=e.getWin()),o.a.load(c({google:{families:["".concat(t)]}},a)))},d=n("./node_modules/@babel/runtime/helpers/toConsumableArray.js"),f=n.n(d),h=n("./public/sources/attributes/googleFonts/lib/google-fonts-set.json").families,p=function(){return[{family:"Default Font",value:"",defaultFont:!0}].concat([{family:"Andale Mono",value:"andale mono,monospace",defaultFont:!0},{family:"Arial",value:"arial,helvetica,sans-serif",defaultFont:!0},{family:"Arial Black",value:"arial black,sans-serif",defaultFont:!0},{family:"Book Antiqua",value:"book antiqua,palatino,serif",defaultFont:!0},{family:"Comic Sans MS",value:"comic sans ms,sans-serif",defaultFont:!0},{family:"Courier New",value:"courier new,courier,monospace",defaultFont:!0},{family:"Georgia",value:"georgia,palatino,serif",defaultFont:!0},{family:"Helvetica",value:"helvetica,arial,sans-serif",defaultFont:!0},{family:"Impact",value:"impact,sans-serif",defaultFont:!0},{family:"Symbol",value:"symbol",defaultFont:!0},{family:"Tahoma",value:"tahoma,arial,helvetica,sans-serif",defaultFont:!0},{family:"Terminal",value:"terminal,monaco,monospace",defaultFont:!0},{family:"Times New Roman",value:"times new roman,times,serif",defaultFont:!0},{family:"Trebuchet MS",value:"trebuchet ms,geneva,sans-serif",defaultFont:!0},{family:"Verdana",value:"verdana,geneva,sans-serif",defaultFont:!0},{family:"Webdings",value:"webdings",defaultFont:!0},{family:"Wingdings",value:"wingdings,zapf dingbats",defaultFont:!0}],f()(h))},m=function(e,t){var n=t.jQuery,r=function(e){var t;return e.dom.getParents(e.selection.getStart(),(function(e){var n=e.style["font-family"];n&&(t=t?t.replace(/"/g,""):n.replace(/"/g,""))})),t};e.addButton("VcvFontsSelect",{type:"VcvFontsSelect",tooltip:"Font Family",onPostRender:function(e){return function(t){var i=t.control,a=n(i.$el);var s=a.find(".vcv-ui-tinymce-fonts-selectbox-font-family"),o=i.$el.find(".vcv-ui-tinymce-fonts-selectbox-label"),l=p();e.on("init nodeChange",(function(t){var n,c=r(e),u=!!c&&l.find((function(e){return e.value?e.value.replace(/\s/g,"")===c.replace(/\s/g,""):e.family.replace(/\s/g,"")===c.replace(/\s/g,"")}));u?(i.state.set("value",u),o.html(c?u?u.family:c:"Default Font"),s.val(JSON.stringify(u))):(o.html(c||"Default Font"),s.val(c||""),i.state.set("value","")),(n=a).is(".vcv-ui-tinymce-fonts-selectbox")?n.removeClass("mce-active"):n.closest(".vcv-ui-tinymce-fonts-selectbox").removeClass("mce-active")})),s.on("change",(function(){if(i.state.set("value",this.value),this.value){var t=JSON.parse(this.value);i.state.set("value",t),e.execCommand("mceApplyTextFont",t.value||t.family),t.defaultFont||u(e,t.family)}else e.execCommand("mceRemoveTextFont",r(e))}))}}(e)})},b=function(e,t){var n={100:"Thin",200:"Extra Light",300:"Light",400:"Normal",500:"Medium",600:"Semi Bold",700:"Bold",800:"Extra Bold",900:"Black"},r=function(e){var t=e.match(/\d+/g),n=e.match(/[a-z]+$/i);return{weight:t?t[0]:"400",style:n&&"italic"===n[0]?"italic":"regular"}},i=function(e){var t=r(e),i=n[t.weight],a="italic"===t.style?" Italic":" Regular";return"".concat(i," (").concat(t.weight,")")+a},a=function(e,t){var n=e;if(!n){var a=t.controlManager,s=a&&a.buttons&&a.buttons.VcvFontsSelect&&a.buttons.VcvFontsSelect.state;n=s&&s.data&&s.data.value}var o=[];return n&&!n.defaultFont?n.variants.forEach((function(e){var t=r(e);o.push({text:i(e),value:JSON.stringify(t),textStyle:"font-weight:".concat(t.weight)})})):o=[{text:"Normal (400) Regular",value:JSON.stringify({weight:"400",style:"regular"}),textStyle:"font-weight:normal"},{text:"Bold (700) Regular",value:JSON.stringify({weight:"700",style:"regular"}),textStyle:"font-weight:bold"}],o},s=a(null,e);e.addButton("fontWeight",{type:"listbox",text:"Font Weight",tooltip:"Font Weight",icon:!1,fixedWidth:!0,onselect:function(t){var n=t.control.settings.value;if(n){var r=JSON.parse(n);e.formatter.toggle("fontweight",{value:r.weight}),e.formatter.toggle("fontstyle",{value:"regular"===r.style?"normal":r.style});var i=e.controlManager;i&&i.buttons&&i.buttons.fontWeight&&i.buttons.fontWeight.classes.remove("active"),e.nodeChanged()}},values:s,onPostRender:function(e,n,r){return function(){this.state.set("value",null),e.on("init nodeChange",(function(n){var r=a(null,e),i=function(e,t){var n="normal"===e.style?"regular":e.style,r={};return t.forEach((function(t){var i=JSON.parse(t.value);i&&i.style===n&&i.weight===e.weight&&(r.value=t.value,r.text=t.text)})),r}(function(){var n=function(e){var t=e.selection.getRng&&e.selection.getRng(),n=t&&t.startContainer;return n?3===n.nodeType?n.parentNode:n:null}(e);if(n){var r=t.getComputedStyle(n);return{weight:r.fontWeight,style:r.fontStyle}}return""}(),r);!function(e,t,n,r,i){var a=t.controlManager,s=a&&a.buttons&&a.buttons.fontWeight&&a.buttons.fontWeight;s&&(s._values=n,r&&(s.state.set("value",r),s.state.set("text",i)),s.state.set("menu",n))}(0,e,r,i.value,i.text)}))}}(e)})},v=function(e,t){var n="8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 42pt 48pt 56pt 64pt 80pt 96pt".split(" ").map((function(e){var t=e,n=e,r=e.split("=");return r.length>1&&(t=r[0],n=r[1]),{text:t,value:n}}));e.addButton("fontSizeSelectAdvanced",{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",fixedWidth:!0,values:n,onPostRender:function(e,t){var n=function(e,t){return/[0-9.]+px$/.test(e)?function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(72*parseInt(e,10)/96,t||0)+"pt":e},r=function(e,t,n){var r;return e.forEach((function(e){e.value===n?r=n:e.value===t&&(r=t)})),r};return function(){var i=this;e.on("init nodeChange",(function(a){var s,o,l,c=e.queryCommandValue("FontSize");if(c)for(o=3;!l&&o>=0;o--)s=n(c,o),l=r(t,s,c);i.value(l||null),l||i.text(s)}))}}(e,n),onselect:function(t){var n=t.control.settings.value;n&&e.execCommand("FontSize",!1,n)}})},g=function(e,t){var n=[];"Default 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5 3".split(" ").forEach((function(e){var t=e,r="Default"===e?"inherit":e,i=e.split("=");i.length>1&&(t=i[0],r=i[1]),n.push({text:t,value:r})})),e.addButton("lineHeight",{type:"listbox",text:"Line Height",tooltip:"Line Height",fixedWidth:!0,values:n,onPostRender:function(e,t){return function(){var n=this;e.on("nodeChange",(function(r){var i=e.formatter,a=null;r.parents.forEach((function(e){if(t.forEach((function(t){if(i.matchNode(e,"lineheight",{value:t.value})&&(a=t.value),a)return!1})),a)return!1})),n.value(a)}))}}(e,n),onselect:function(t){var n=t.control.settings.value;n&&e.formatter.apply("lineheight",{value:n})}})},y=function(e,t){var n="Default 1px 2px 3px 4px 5px 6px 7px 8px 9px 10px 15px 25px 30px 35px".split(" ").map((function(e){var t=e,n="Default"===e?"inherit":e,r=e.split("=");return r.length>1&&(t=r[0],n=r[1]),{text:t,value:n}}));e.addButton("letterSpacing",{type:"listbox",text:"Letter Spacing",tooltip:"Letter Spacing",fixedWidth:!0,values:n,onPostRender:function(e,t){return function(){var n=this;e.on("nodeChange",(function(r){var i=e.formatter,a=null;r.parents.forEach((function(e){if(t.forEach((function(t){if(i.matchNode(e,"letterspacing",{value:t.value})&&(a=t.value),a)return!1})),a)return!1})),n.value(a)}))}}(e,n),onselect:function(t){var n=t.control.settings.value;n&&e.formatter.apply("letterspacing",{value:n})}})},w=function(e){return e.ui.Widget.extend({renderHtml:function(){var e,t,n=this._id;return'<div id="'.concat(n,'" tabindex="-1" class="').concat(this.classes,' vcv-ui-tinymce-fonts-selectbox mce-widget mce-menubtn mce-btn-has-text mce-fixed-width mce-btn mce-listbox" aria-labelledby="').concat(n,'" role="button" aria-label="Font Family" aria-haspopup="true">\n <input type="hidden" value="" class="vcv-ui-tinymce-fonts-selectbox-font-family" />\n <button class="vcv-ui-tinymce-fonts-selectbox-toggle" role="presentation" tabindex="-1" data-toggle="vcv-ui-tinymce-fonts-selectbox">\n <span class="vcv-ui-tinymce-fonts-selectbox-label mce-txt">Default Font</span><i class="mce-caret"></i>\n </button>\n <div class="vcv-ui-tinymce-fonts-selectbox-options">\n <div class="vcv-ui-tinymce-fonts-selectbox-input-box">\n <input type="text" class="vcv-ui-tinymce-fonts-selectbox-filter">\n </div> \n <div role="listbox">\n <ul role="option">').concat((e=[],t=30,p().forEach((function(n,r){var i="";(Object.prototype.hasOwnProperty.call(n,"value")?n.value:n.family).length?(i="background-position: 10px ".concat(t-25,"px;"),t-=25):i="background: none;text-indent: 0;",e.push('<li><a tabindex="-1" href="javascript:;" style="'.concat(i,"\" data-option='").concat(JSON.stringify(n),"'>").concat(n.family,"</a></li>"))})),e.join("")),"</ul>\n </div>\n </div>\n </div>")}})};t.a=function(e,t){var n=e.util.Tools.resolve("tinymce.PluginManager");n.vcvhtmleditor||(n.vcvhtmleditor=!0,n.add("vcvhtmleditor",(function(n){var i=w(e);e.ui.VcvFontsSelect=i,e.util.Tools.resolve("tinymce.ui.Factory").add("VcvFontsSelect",i),r(n),m(n,t),b(n,t),v(n,t),g(n,t),y(n,t),n.on("init",(function(){n.formatter.register("fontweight",{inline:"span",toggle:!1,styles:{fontWeight:"%value"},clear_child_styles:!0}),n.formatter.register("fontstyle",{inline:"span",toggle:!1,styles:{fontStyle:"%value"},clear_child_styles:!0}),n.formatter.register("lineheight",{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",toggle:!1,styles:{lineHeight:"%value"},clear_child_styles:!0}),n.formatter.register("letterspacing",{selector:"span,figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",toggle:!1,styles:{letterSpacing:"%value"},clear_child_styles:!0})}))})))}},"./public/components/notifications/notifications.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/createClass.js"),s=n.n(a),o=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),l=n.n(o),c=n("./node_modules/@babel/runtime/helpers/inherits.js"),u=n.n(c),d=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=n.n(d),h=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),p=n.n(h),m=n("./node_modules/react/index.js"),b=n.n(m),v=n("./node_modules/react-dom/index.js"),g=n.n(v),y=n("./node_modules/vc-cake/index.js"),w=n.n(y),C=n("./node_modules/@babel/runtime/helpers/extends.js"),_=n.n(C),S=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),x=n.n(S),k=n("./node_modules/classnames/index.js"),T=n.n(k);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 n,r=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var M=Object(y.getStorage)("notifications"),E=function(e){u()(n,e);var t=j(n);function n(e){var r;return i()(this,n),(r=t.call(this,e)).state={hidden:!1},r.timer=null,r.handleClickHideNotification=r.handleClickHideNotification.bind(l()(r)),r.handleRemoveNotification=r.handleRemoveNotification.bind(l()(r)),r}return s()(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.data.time,n=parseInt(t)||3e3;this.timer=window.setTimeout((function(){e.handleClickHideNotification()}),n)}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.timer)}},{key:"handleRemoveNotification",value:function(){M.trigger("remove",this.props.data.id)}},{key:"handleClickHideNotification",value:function(){window.clearTimeout(this.timer),this.setState({hidden:!0}),g.a.findDOMNode(this).addEventListener("transitionend",this.handleRemoveNotification)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.data,i=n.position;if(!r.text)return null;var a="",s="",o="",l={};a=r.html?b.a.createElement("div",{className:"vcv-layout-notifications-text",dangerouslySetInnerHTML:{__html:r.text}}):b.a.createElement("div",{className:"vcv-layout-notifications-text"},r.text),r.icon&&(s=b.a.createElement("div",{className:"vcv-layout-notifications-icon"},b.a.createElement("i",{className:r.icon}))),r.showCloseButton?o=b.a.createElement("div",{className:"vcv-layout-notifications-close",onClick:this.handleClickHideNotification},b.a.createElement("div",{className:"vcv-layout-notifications-close-btn"})):l.onClick=this.handleClickHideNotification;var c=r.type&&["default","success","warning","error"].indexOf(r.type)>=0?r.type:"default",u=T()((e={},x()(e,"vcv-layout-notifications-position--".concat(i),!0),x()(e,"vcv-layout-notifications-type--".concat(c),!0),x()(e,"vcv-layout-notifications-style--transparent",r.transparent),x()(e,"vcv-layout-notifications-shape--rounded",r.rounded),x()(e,"vcv-layout-notifications-type--disabled",this.state.hidden),e));return b.a.createElement("div",_()({className:u},l,{ref:function(e){t.textInput=e}}),s,a,o)}}]),n}(b.a.Component);function A(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=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var L=Object(y.getStorage)("notifications").state("notifications"),P=function(e){u()(n,e);var t=A(n);function n(e){var r;return i()(this,n),(r=t.call(this,e)).state={topNotifications:[],bottomNotifications:[]},r.update=r.update.bind(l()(r)),L.onChange(r.update),r}return s()(n,[{key:"componentWillUnmount",value:function(){L.ignoreChange(this.update)}},{key:"update",value:function(e){var t=[],n=[];e&&e.length&&e.forEach((function(e){"bottom"===e.position?n.push(e):t.push(e)})),this.setState({topNotifications:t,bottomNotifications:n})}},{key:"renderItems",value:function(e,t){if(e)return e.map((function(e){return b.a.createElement(E,{data:e,key:"notification-".concat(e.id),position:t})}))}},{key:"render",value:function(){return b.a.createElement("div",{className:"vcv-layout-notifications"},b.a.createElement("div",{className:"vcv-layout-notifications-top"},this.renderItems(this.state.topNotifications,"top")),b.a.createElement("div",{className:"vcv-layout-notifications-bottom"},this.renderItems(this.state.bottomNotifications,"bottom")))}}]),n}(b.a.Component);function O(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=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}n.d(t,"a",(function(){return B}));var I=w.a.getStorage("notifications").state("portal"),B=function(e){u()(n,e);var t=O(n);function n(e){var r;return i()(this,n),(r=t.call(this,e)).state={portalContainer:null},r.changePortalContainer=r.changePortalContainer.bind(l()(r)),I.onChange(r.changePortalContainer),r}return s()(n,[{key:"getVisibleContainer",value:function(e){var t=[].slice.call(document.querySelectorAll(e));return t.length?t.filter((function(e){return null!==e.offsetParent}))[0]:null}},{key:"changePortalContainer",value:function(e){this.setState({portalContainer:e?this.getVisibleContainer(e):e})}},{key:"render",value:function(){return this.state.portalContainer?g.a.createPortal(b.a.createElement(P,null),this.state.portalContainer):b.a.createElement(P,null)}}]),n}(b.a.Component)},"./public/components/panels/addElement/lib/categories.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r=n("./node_modules/@babel/runtime/helpers/toConsumableArray.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),s=n.n(a),o=n("./node_modules/@babel/runtime/helpers/createClass.js"),l=n.n(o),c=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),u=n.n(c),d=n("./node_modules/@babel/runtime/helpers/inherits.js"),f=n.n(d),h=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),p=n.n(h),m=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),b=n.n(m),v=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),g=n.n(v),y=n("./node_modules/react/index.js"),w=n.n(y),C=n("./node_modules/classnames/index.js"),_=n.n(C),S=n("./public/components/panels/addElement/lib/elementControl.js"),x=n("./public/components/scrollbar/scrollbar.js"),k=n("./public/components/panels/addElement/lib/searchElement.js"),T=n("./node_modules/vc-cake/index.js"),j=n.n(T),M=n("./node_modules/prop-types/index.js"),E=n.n(M);function A(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 i=b()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var L=j.a.getService("hubCategories"),P=j.a.getService("hubGroups"),O=j.a.getService("sharedAssetsLibrary"),I=j.a.getStorage("workspace"),B=j.a.getStorage("hubElements"),D=j.a.getService("cook"),R=j.a.getStorage("elements"),N=function(e){f()(n,e);var t=A(n);function n(e){var r;return s()(this,n),r=t.call(this,e),g()(u()(r),"updateElementsTimeout",0),r.state={activeCategoryIndex:0,inputValue:"",isSearching:"",centered:!1,filterType:"all",focusedElement:null,allElements:L.getSortedElements()},r.changeActiveCategory=r.changeActiveCategory.bind(u()(r)),r.changeSearchState=r.changeSearchState.bind(u()(r)),r.changeInput=r.changeInput.bind(u()(r)),r.handleGoToHub=r.handleGoToHub.bind(u()(r)),r.applyFirstElement=r.applyFirstElement.bind(u()(r)),r.addElement=r.addElement.bind(u()(r)),r.openEditForm=r.openEditForm.bind(u()(r)),r.setFocusedElement=r.setFocusedElement.bind(u()(r)),r.reset=r.reset.bind(u()(r)),n.hubElements=B.state("elements").get(),B.state("elements").onChange(r.reset),B.state("elementPresets").onChange(r.reset),r}return l()(n,[{key:"componentWillUnmount",value:function(){B.state("elements").ignoreChange(this.reset),B.state("elementPresets").ignoreChange(this.reset),this.updateElementsTimeout&&(window.clearTimeout(this.updateElementsTimeout),this.updateElementsTimeout=0)}},{key:"reset",value:function(){var e=this;n.allCategories=[],n.allElements=[],n.allElementsTags=[],n.elementPresets=[],n.hubElements=B.state("elements").get(),L.getSortedElements.cache.clear(),this.updateElementsTimeout=setTimeout((function(){e.setState({allElements:L.getSortedElements()})}),100)}},{key:"hasItemInArray",value:function(e,t){var n=this;if(Array.isArray(t)){var r=!1;return t.find((function(t){return r=n.hasItemInArray(e,t)})),r}return e.indexOf(t)>-1}},{key:"getAllElements",value:function(){var e=this,t=this.props.parent,r=["General","RootElements"];if(t&&t.tag&&"column"!==t.tag){var i=D.get(t);i&&(r=i.containerFor())}var a=!n.allElements.length||n.parentElementTag!==t.tag,s=n.elementPresets.length!==B.state("elementPresets").get().length;if(a||s){var o=this.state.allElements;n.allElements=o.filter((function(t){return!(Array.isArray(t.relatedTo)&&t.relatedTo.indexOf("CustomRoot")>-1)&&e.hasItemInArray(r,t.relatedTo)}));var l=B.state("elementPresets").get().map((function(e){var t=D.get(e.presetData),n=t.toJS();return n.name=e.name,n.presetId=e.id,n.metaDescription=t.get("metaDescription"),n.metaThumbnailUrl=t.get("metaThumbnailUrl"),n.metaPreviewUrl=t.get("metaPreviewUrl"),delete n.id,n}));n.allElements=l.concat(n.allElements)}return n.allElements}},{key:"getAllElementsTags",value:function(){if(!n.allElementsTags.length||n.parentElementTag!==this.props.parent.tag){var e=this.getAllElements();n.allElementsTags=e.map((function(e){return e.tag}))}return n.allElementsTags}},{key:"getElementsList",value:function(e,t){var n=[],r=function(e){t.indexOf(e.tag)>-1&&n.push(e)};return!0===e?n=this.getAllElements():e.forEach((function(e){L.getSortedElements(e).forEach(r)})),n=i()(new Set(n))}},{key:"getAllCategories",value:function(){var e=this,t=!n.allCategories.length||n.parentElementTag!==this.props.parent.tag,r=n.elementPresets.length!==B.state("elementPresets").get().length;if(t||r){var i={},a=P.all(),s=this.getAllElementsTags();n.allCategories=a.filter((function(t){return i[t.title]=e.getElementsList(t.categories,s),i[t.title].length>0})).map((function(e,t){return{id:e.title+t,index:t,title:e.title,elements:i[e.title],isVisible:!0}})),n.parentElementTag=this.props.parent.tag,n.elementPresets=B.state("elementPresets").get()}return n.allCategories}},{key:"changeActiveCategory",value:function(e){this.setState({activeCategoryIndex:e})}},{key:"changeInput",value:function(e){this.setState({inputValue:e,searchResults:this.getSearchResults(e)})}},{key:"handleGoToHub",value:function(){var e={action:"addHub",element:{},tag:"",options:{filterType:"element",id:"1-0",bundleType:void 0}};I.state("settings").set(e)}},{key:"getNoResultsElement",value:function(){var e=window.VCV_I18N&&window.VCV_I18N(),t=e?e.nothingFound:"Nothing found",n=e?e.accessVisualComposerHubToDownload:"Access Visual Composer Hub - to download additional elements, templates and extensions.",r=O.getSourcePath("images/search-no-result.png");return w.a.createElement("div",{className:"vcv-ui-editor-no-items-container"},w.a.createElement("div",{className:"vcv-ui-editor-no-items-content"},w.a.createElement("img",{className:"vcv-ui-editor-no-items-image",src:r,alt:t})),w.a.createElement("div",null,w.a.createElement("div",{className:"vcv-ui-editor-no-items-content"},this.getMoreButton()),w.a.createElement("div",{className:"vcv-ui-editor-no-items-content"},w.a.createElement("p",{className:"vcv-start-blank-helper"},n))))}},{key:"getElementControl",value:function(e){var t=e.tag,r=e.name,i="vcv-element-control-".concat(r.replace(/ /g,""),"-").concat(t);return w.a.createElement(S.a,{key:i,elementPresetId:e.presetId,element:e,hubElement:n.hubElements[t],tag:t,name:r,addElement:this.addElement,setFocusedElement:this.setFocusedElement,applyFirstElement:this.applyFirstElement})}},{key:"changeSearchState",value:function(e){this.setState({isSearching:e})}},{key:"getSearchProps",value:function(){return{allCategories:this.getAllCategories(),index:this.state.activeCategoryIndex,changeActive:this.changeActiveCategory,changeTerm:this.changeSearchState,changeInput:this.changeInput,applyFirstElement:this.applyFirstElement}}},{key:"getSearchElement",value:function(){var e=this.getSearchProps();return w.a.createElement(k.a,e)}},{key:"getFoundElements",value:function(){var e=this;return this.state.searchResults.map((function(t){return e.getElementControl(t)}))}},{key:"getSearchResults",value:function(e){var t=this.getAllCategories(),n=t.findIndex((function(e){return"All"===e.title||"All Elements"===e.title}));return t[n].elements.filter((function(t){var n="";if(t.name)n=t.name.toLowerCase();else if(t.tag){var r=D.get(t);r.get("name")&&(n=r.get("name").toLowerCase())}return-1!==n.indexOf(e.trim())}))}},{key:"getElementsByCategory",value:function(){var e=this,t=this.state.activeCategoryIndex,n=this.getAllCategories(),r=t;return n&&n[r]&&n[r].elements?n[r].elements.map((function(t){return e.getElementControl(t)})):[]}},{key:"getElementListContainer",value:function(e){return e.length?w.a.createElement("div",{className:"vcv-ui-item-list-container"},w.a.createElement("ul",{className:"vcv-ui-item-list"},e)):this.getNoResultsElement()}},{key:"isSearching",value:function(){var e=this.state,t=e.isSearching,n=e.inputValue;return t&&n.trim()}},{key:"applyFirstElement",value:function(){var e=this.state,t=e.searchResults,n=e.focusedElement;if(t&&t.length||n){var r=n||t[0];this.addElement(r)}}},{key:"addElement",value:function(e){var t=I.state("settings").get()||!1;e.parent=!(!t||!t.element)&&t.element.id,e=D.get(e).toJS(),R.trigger("add",e,!0,{insertAfter:!!(t&&t.options&&t.options.insertAfter)&&t.options.insertAfter}),this.addedId=e.id;var n=document.getElementById("vcv-editor-iframe");this.iframeWindow=n&&n.contentWindow&&n.contentWindow.window,this.iframeWindow.vcv&&this.iframeWindow.vcv.on("ready",this.openEditForm)}},{key:"openEditForm",value:function(e,t){"add"===e&&t===this.addedId&&(I.trigger("edit",this.addedId,""),this.iframeWindow.vcv.off("ready",this.openEditForm))}},{key:"getMoreButton",value:function(){var e=window.VCV_I18N&&window.VCV_I18N(),t=e?e.getMoreElements:"Get More Elements";return w.a.createElement("button",{className:"vcv-start-blank-button",onClick:this.handleGoToHub},t)}},{key:"setFocusedElement",value:function(e){this.setState({focusedElement:e})}},{key:"render",value:function(){var e=window.VCV_I18N&&window.VCV_I18N(),t=e?e.goToHubButtonDescription:"Access Visual Composer Hub - download additional elements, templates and extensions.",n=this.isSearching()?this.getFoundElements():this.getElementsByCategory(),r=_()({"vcv-ui-tree-content-section-inner":!0,"vcv-ui-state--centered-content":!n.length}),i=null;return n.length&&(i=w.a.createElement("div",{className:"vcv-ui-editor-get-more"},this.getMoreButton(),w.a.createElement("span",{className:"vcv-ui-editor-get-more-description"},t))),w.a.createElement("div",{className:"vcv-ui-tree-content"},this.getSearchElement(),w.a.createElement("div",{className:"vcv-ui-tree-content-section"},w.a.createElement(x.a,null,w.a.createElement("div",{className:r},w.a.createElement("div",{className:"vcv-ui-editor-plates-container"},w.a.createElement("div",{className:"vcv-ui-editor-plates"},w.a.createElement("div",{className:"vcv-ui-editor-plate vcv-ui-state--active"},this.getElementListContainer(n)))),i))))}}]),n}(w.a.Component);g()(N,"propTypes",{parent:E.a.object}),g()(N,"allElements",[]),g()(N,"allCategories",[]),g()(N,"allElementsTags",[]),g()(N,"hubElements",[]),g()(N,"addedId",null),g()(N,"parentElementTag",null),g()(N,"elementPresets",[])},"./public/components/panels/addElement/lib/elementControl.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/createClass.js"),s=n.n(a),o=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),l=n.n(o),c=n("./node_modules/@babel/runtime/helpers/inherits.js"),u=n.n(c),d=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=n.n(d),h=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),p=n.n(h),m=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),b=n.n(m),v=n("./node_modules/vc-cake/index.js"),g=n.n(v),y=n("./node_modules/react/index.js"),w=n.n(y),C=n("./node_modules/react-dom/index.js"),_=n.n(C),S=n("./node_modules/classnames/index.js"),x=n.n(S),k=n("./public/components/dnd/helper.js"),T=n("./public/components/dnd/domElement.js"),j=n("./node_modules/mobile-detect/mobile-detect.js"),M=n.n(j),E=n("./node_modules/prop-types/index.js"),A=n.n(E);function L(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=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var P=g.a.getStorage("workspace"),O=g.a.getService("hubCategories"),I=g.a.getStorage("settings"),B=g.a.getStorage("notifications"),D=g.a.getService("dataProcessor"),R=g.a.getStorage("hubElements"),N=function(e){u()(n,e);var t=L(n);function n(e){var r;return i()(this,n),r=t.call(this,e),b()(l()(r),"helper",null),b()(l()(r),"layoutBarOverlay",document.querySelector(".vcv-layout-bar-overlay")),b()(l()(r),"layoutBarOverlayRect",null),b()(l()(r),"dragTimeout",0),b()(l()(r),"addedId",null),b()(l()(r),"iframeWindow",null),r.state={previewVisible:!1,previewStyle:{},isDragging:!1,iframe:document.getElementById("vcv-editor-iframe"),backendContentContainer:document.querySelector(".vcv-wpbackend-layout-content-container"),mouseX:null,mouseY:null,showSpinner:!1},r.handleMouseEnterShowPreview=r.handleMouseEnterShowPreview.bind(l()(r)),r.handleMouseLeaveHidePreview=r.handleMouseLeaveHidePreview.bind(l()(r)),r.handleMouseDown=r.handleMouseDown.bind(l()(r)),r.handleMouseUp=r.handleMouseUp.bind(l()(r)),r.initDrag=r.initDrag.bind(l()(r)),r.handleDragStateChange=r.handleDragStateChange.bind(l()(r)),r.handleFocus=r.handleFocus.bind(l()(r)),r.handleKeyPress=r.handleKeyPress.bind(l()(r)),r.handleRemovePreset=r.handleRemovePreset.bind(l()(r)),r.displayError=r.displayError.bind(l()(r)),r.displaySuccess=r.displaySuccess.bind(l()(r)),r}return s()(n,[{key:"componentDidMount",value:function(){this.ellipsize(".vcv-ui-item-element-name"),this.ellipsize(".vcv-ui-item-preview-text"),P.state("drag").onChange(this.handleDragStateChange)}},{key:"componentWillUnmount",value:function(){this.endDrag(),P.state("drag").ignoreChange(this.handleDragStateChange)}},{key:"handleDragStateChange",value:function(e){e&&Object.prototype.hasOwnProperty.call(e,"active")&&!e.active&&this.state.isDragging?this.endDragGlobal():e&&Object.prototype.hasOwnProperty.call(e,"terminate")&&e.terminate&&this.state.isDragging&&this.endDrag()}},{key:"handleMouseEnterShowPreview",value:function(){var e=new M.a(window.navigator.userAgent);if(!e.mobile()||!e.tablet()&&!e.phone()){var t=P.state("drag").get();t&&t.active||this.setState({previewVisible:!0},this.updatePreviewPosition)}}},{key:"handleMouseLeaveHidePreview",value:function(){this.setState({previewVisible:!1})}},{key:"getClosest",value:function(e,t){var n,r;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some((function(e){return"function"==typeof document.body[e]&&(n=e,!0)}));e;){if((r=e.parentElement)&&r[n](t))return r;e=r}return null}},{key:"updatePreviewPosition",value:function(){var e=_.a.findDOMNode(this),t=(void 0===e.closest?this.getClosest(e,".vcv-ui-item-list"):e.closest(".vcv-ui-item-list")).querySelector(".vcv-ui-item-list-item"),n=e.querySelector(".vcv-ui-item-element-content"),r=e.querySelector(".vcv-ui-item-preview-container"),i=n.getBoundingClientRect(),a=t.getBoundingClientRect(),s=r.getBoundingClientRect(),o=window.innerHeight,l=window.innerWidth,c=i.left+i.width,u=i.top;return c+s.width>l&&(c=i.left-s.width),c<0&&(c=i.left,u=i.top+i.height),c+s.width>l&&(c=i.left+i.width-s.width),c<0&&(c=a.left),!(c+s.width>l)&&(u+s.height>o&&(u=i.top+i.height-s.height,c!==i.left&&c!==a.left||(u=i.top-s.height)),!(u<0)&&(this.setState({previewStyle:{left:c,top:u}}),!0))}},{key:"ellipsize",value:function(e){var t=_.a.findDOMNode(this).querySelector(e);if(t){for(var n=t.innerHTML.split(" ");t.scrollHeight-t.offsetHeight>3&&n.length>0;)n.pop(),t.innerHTML=n.join(" ")+"...";return this}}},{key:"endDrag",value:function(){var e=this.state.iframe;this.setState({isDragging:!1,mouseX:null,mouseY:null}),document.body.removeEventListener("mousemove",this.initDrag),this.helper&&(this.helper.remove(),this.helper=null),e&&e.removeAttribute("style"),window.clearTimeout(this.dragTimeout),this.dragTimeout=0}},{key:"endDragGlobal",value:function(){this.endDrag(),g.a.setData("dropNewElement",{endDnd:!0})}},{key:"handleDragWithIframe",value:function(e,t){var n=this.props,r=n.element,i=n.tag,a=this.state,s=a.iframe,o=a.isDragging;this.helper||this.createHelper(i,t),s.style.pointerEvents="none",e.target.closest(".vcv-layout-header")?(this.helper.show(),o&&g.a.getData("dropNewElement")&&!g.a.getData("dropNewElement").endDnd&&g.a.setData("dropNewElement",{endDnd:!0})):(s.style="",this.helper.hide(),o&&g.a.setData("dropNewElement",{id:"dropNewElement",point:!1,tag:i,domNode:t,element:r})),this.helper.setPosition({x:e.clientX,y:e.clientY})}},{key:"handleDragWithoutIframe",value:function(e,t){var n=this.props,r=n.element,i=n.tag;g.a.getData("vcv:layoutCustomMode")||g.a.setData("dropNewElement",{id:r.id,point:{x:e.clientX,y:e.clientY},tag:i,domNode:t})}},{key:"initDrag",value:function(e){if(this.state.mouseX||this.state.mouseY){if(e.pageX!==this.state.mouseX&&e.pageY!==this.state.mouseY){var t=this.props.element,n=this.state,r=n.iframe,i=n.isDragging,a=n.backendContentContainer,s=document.createElement("div");s.setAttribute("data-vcv-element",t.id);var o=P.state("drag");this.handleMouseLeaveHidePreview(),o.get()&&o.get().active||o.set({active:!0,addPanel:!0}),i||this.setState({isDragging:!0}),r&&!a?this.handleDragWithIframe(e,s):this.handleDragWithoutIframe(e,s)}}else this.setState({mouseX:e.pageX,mouseY:e.pageY})}},{key:"createHelper",value:function(e,t){var n=document.body,r=new T.a("dropElement",t,{containerFor:null,relatedTo:null,parent:null,handler:null,tag:e,iconLink:O.getElementIcon(e)});this.helper=new k.a(r,{container:n}),this.helper.show()}},{key:"handleMouseDown",value:function(e){var t=this;e&&e.preventDefault(),this.state.isDragging||(this.dragTimeout=setTimeout((function(){t.layoutBarOverlayRect=t.layoutBarOverlay.getBoundingClientRect(),document.body.addEventListener("mousemove",t.initDrag)}),1))}},{key:"handleMouseUp",value:function(e){if(e&&e.preventDefault(),e.target.dataset&&e.target.dataset.action&&"deleteElementPreset"===e.target.dataset.action)this.endDragGlobal();else{var t=P.state("drag").get();t&&t.active?this.endDragGlobal():(this.props.addElement(this.props.element),this.endDrag())}}},{key:"handleFocus",value:function(e){e&&e.preventDefault(),this.props.setFocusedElement(this.props.element)}},{key:"handleKeyPress",value:function(e){"Enter"===e.key&&(e.preventDefault(),this.props.applyFirstElement())}},{key:"handleRemovePreset",value:function(){var e=this,t=window.VCV_I18N&&window.VCV_I18N(),n=t?t.removeElementPresetWarning:"Do you want to remove this template?";if(window.confirm(n)){var r=t?t.couldNotParseData:"Could not parse data from server!",i=t?t.noAccessCheckLicence:"No access, please check your license!",a=t?t.presetRemovedText:"Element preset has been removed.",s=this.props.elementPresetId;this.setState({showSpinner:!0}),D.appServerRequest({"vcv-action":"addon:presets:delete:adminNonce","vcv-preset-id":s,"vcv-nonce":window.vcvNonce}).then((function(t){try{var n=JSON.parse(t);if(n&&n.status)R.trigger("removePreset",s),e.displaySuccess(a);else{var o=n.response&&n.response.message?n.response.message:n.message;o=o||i,e.displayError(o),g.a.env("VCV_DEBUG")&&console.warn(o,n)}}catch(l){e.displayError(r),g.a.env("VCV_DEBUG")&&console.warn(r,l)}}))}}},{key:"displaySuccess",value:function(e){B.trigger("add",{position:"bottom",transparent:!0,rounded:!0,text:e,time:3e3})}},{key:"displayError",value:function(e){this.setState({showSpinner:!1}),B.trigger("add",{position:"bottom",type:"error",text:e,time:3e3})}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.element,r=e.elementPresetId,i=e.hubElement,a=this.state,s=a.previewVisible,o=a.previewStyle,l=P.state("drag").get(),c=window.VCV_I18N&&window.VCV_I18N(),u=x()({"vcv-ui-item-list-item":!0,"vcv-ui-item-list-item--inactive":l&&l.active,"vcv-ui-item-list-item--preset":!!r}),d=x()({"vcv-ui-item-badge vcv-ui-badge--success":!1,"vcv-ui-item-badge vcv-ui-badge--warning":!1}),f=x()({"vcv-ui-item-preview-container":!0,"vcv-ui-state--visible":s}),h=n.metaThumbnailUrl,p=n.metaPreviewUrl,m=I.state("itemPreviewDisabled").get(),b="";if(!m&&s){var v=c?c.addOn:"Add-on";b=w.a.createElement("figure",{className:f,style:o},i&&i.thirdParty?w.a.createElement("span",{className:"vcv-ui-item-preview-addon-tag"},v):null,w.a.createElement("img",{className:"vcv-ui-item-preview-image",src:p,alt:t}),w.a.createElement("figcaption",{className:"vcv-ui-item-preview-caption"},w.a.createElement("div",{className:"vcv-ui-item-preview-text"},n.metaDescription)))}var g=null;if(r){var y=x()({"vcv-ui-icon vcv-ui-icon-close-thin vcv-ui-form-attach-image-item-control-state--danger":!0,"vcv-ui-state--hidden":this.state.showSpinner});g=w.a.createElement("span",{className:y,onClick:this.handleRemovePreset,"data-action":"deleteElementPreset"})}var C=x()({"vcv-ui-item-control vcv-ui-icon vcv-ui-wp-spinner-light":!0,"vcv-ui-state--hidden":!this.state.showSpinner}),_=x()({"vcv-ui-item-add vcv-ui-icon vcv-ui-icon-add":!0,"vcv-ui-state--hidden":this.state.showSpinner}),S=x()({"vcv-ui-item-overlay":!0,"vcv-ui-item-overlay--visible":this.state.showSpinner});return w.a.createElement("li",{className:u},w.a.createElement("span",{className:"vcv-ui-item-element",onMouseEnter:m?null:this.handleMouseEnterShowPreview,onMouseLeave:m?null:this.handleMouseLeaveHidePreview,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onFocus:this.handleFocus,onKeyPress:this.handleKeyPress,title:t,tabIndex:0},w.a.createElement("span",{className:"vcv-ui-item-element-content"},w.a.createElement("img",{className:"vcv-ui-item-element-image",src:h,alt:t}),w.a.createElement("span",{className:S},w.a.createElement("span",{className:_}),g,r?w.a.createElement("span",{className:C}):null)),w.a.createElement("span",{className:"vcv-ui-item-element-name"},w.a.createElement("span",{className:d},t)),b))}}]),n}(w.a.Component);b()(N,"propTypes",{tag:A.a.string.isRequired,name:A.a.string.isRequired,element:A.a.object.isRequired,hubElement:A.a.object,addElement:A.a.func,setFocusedElement:A.a.func,applyFirstElement:A.a.func})},"./public/components/panels/addElement/lib/searchElement.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/createClass.js"),s=n.n(a),o=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),l=n.n(o),c=n("./node_modules/@babel/runtime/helpers/inherits.js"),u=n.n(c),d=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=n.n(d),h=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),p=n.n(h),m=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),b=n.n(m),v=n("./node_modules/react/index.js"),g=n.n(v),y=n("./node_modules/classnames/index.js"),w=n.n(y),C=n("./node_modules/mobile-detect/mobile-detect.js"),_=n.n(C),S=n("./node_modules/prop-types/index.js"),x=n.n(S);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 n,r=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var T=function(e){u()(n,e);var t=k(n);function n(e){var r;return i()(this,n),r=t.call(this,e),b()(l()(r),"inputTimeout",0),b()(l()(r),"dropdownTimeout",0),b()(l()(r),"mobileDetect",null),r.state={inputValue:"",activeIndex:r.props.index,content:r.getContentTitle(r.props.index),dropdown:!1,input:!1},r.handleSearch=r.handleSearch.bind(l()(r)),r.handleCategoryChange=r.handleCategoryChange.bind(l()(r)),r.handleCategorySelect=r.handleCategorySelect.bind(l()(r)),r.handleCategoryClick=r.handleCategoryClick.bind(l()(r)),r.handleInputFocus=r.handleInputFocus.bind(l()(r)),r.getPlaceholder=r.getPlaceholder.bind(l()(r)),r.handleKeyPress=r.handleKeyPress.bind(l()(r)),r.mobileDetect=new _.a(window.navigator.userAgent),r}return s()(n,[{key:"componentWillUnmount",value:function(){this.inputTimeout&&(window.clearTimeout(this.inputTimeout),this.inputTimeout=0),this.dropdownTimeout&&(window.clearTimeout(this.dropdownTimeout),this.dropdownTimeout=0)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState({activeIndex:e.index,content:this.getContentTitle(e.index)})}},{key:"handleKeyPress",value:function(e){"Enter"===e.key&&this.props.applyFirstElement&&(e.preventDefault(),this.props.applyFirstElement())}},{key:"handleSearch",value:function(e){var t=e.currentTarget.value.toLowerCase();this.props.selectEvent&&this.props.selectEvent.constructor===Function&&this.props.selectEvent("0"),this.setState({inputValue:e.currentTarget.value,activeIndex:0,content:this.getContentTitle("0")}),this.props.changeActive("0"),this.props.changeTerm("search"),this.props.changeInput(t)}},{key:"getContentTitle",value:function(e){if(e.indexOf&&e.indexOf("-")>-1){e=e.split("-");var t=this.props.allCategories[e[0]],n=t&&t.categories&&t.categories[e[1]];return n?n.title:""}return this.props.allCategories[e]?this.props.allCategories[e].title:""}},{key:"handleCategoryChange",value:function(e){this.setState({inputValue:"",activeIndex:e,content:this.getContentTitle(e)}),this.props.changeActive(e),this.props.changeTerm("")}},{key:"handleCategorySelect",value:function(e){this.props.selectEvent&&this.props.selectEvent.constructor===Function&&this.props.selectEvent(e.currentTarget.value),this.setState({inputValue:"",activeIndex:e.currentTarget.value,content:this.getContentTitle(e.currentTarget.value)}),this.props.changeActive(e.currentTarget.value),this.props.changeTerm("")}},{key:"getSelectOptions",value:function(e,t){var n=[];return e.forEach((function(e){n.push(g.a.createElement("option",{key:"search-select-item-".concat(e.id,"-").concat(e.index),value:"".concat(t,"-").concat(e.index)},e.title))})),n}},{key:"getSelectGroups",value:function(){var e=this,t=[];return this.props.allCategories.forEach((function(n,r){n.categories?t.push(g.a.createElement("optgroup",{key:"search-select-group-item-".concat(n.id,"-").concat(n.index),label:n.title},e.getSelectOptions(n.categories,r))):t.push(g.a.createElement("option",{key:"search-select-item-".concat(n.id,"-").concat(n.index),value:n.index},n.title))})),t}},{key:"getCategorySelect",value:function(){return g.a.createElement("select",{className:"vcv-ui-form-dropdown",onChange:this.handleCategorySelect,value:this.state.activeIndex},this.getSelectGroups())}},{key:"handleCategoryClick",value:function(){var e=this;this.setState({dropdown:!0}),this.dropdownTimeout=setTimeout((function(){e.setState({dropdown:!1})}),400)}},{key:"handleInputFocus",value:function(){var e=this;this.setState({input:!0}),this.inputTimeout=setTimeout((function(){e.setState({input:!1})}),400)}},{key:"getPlaceholder",value:function(){var e="",t=window.VCV_I18N&&window.VCV_I18N();switch(this.props.inputPlaceholder){case"elements":e=t?t.searchContentElements:"Search content elements";break;case"elements and templates":e=t?t.searchContentElementsAndTemplates:"Search content elements and templates";break;case"templates":e=t?t.searchContentTemplates:"Search content templates";break;default:e=t?t.searchContentElements:"Search content elements"}return e}},{key:"render",value:function(){var e=w()({"vcv-ui-editor-search-dropdown-container":!0,"vcv-ui-editor-field-highlight":this.state.dropdown}),t=w()({"vcv-ui-editor-search-field-container":!0,"vcv-ui-editor-field-highlight":this.state.input}),n=!this.mobileDetect.mobile();return g.a.createElement("div",{className:"vcv-ui-editor-search-container"},!this.props.disableSelect&&g.a.createElement("div",{className:e,"data-content":this.state.content,onClick:this.handleCategoryClick},this.getCategorySelect()),g.a.createElement("div",{className:t},g.a.createElement("label",{className:"vcv-ui-editor-search-icon-container",htmlFor:"add-element-search"},g.a.createElement("i",{className:"vcv-ui-icon vcv-ui-icon-search"})),g.a.createElement("input",{className:"vcv-ui-form-input vcv-ui-editor-search-field",id:"add-element-search",onChange:this.handleSearch,onFocus:this.handleInputFocus,type:"text",value:this.state.inputValue,placeholder:this.getPlaceholder(),autoFocus:n,onKeyPress:this.handleKeyPress})))}}]),n}(g.a.Component);b()(T,"propTypes",{allCategories:x.a.array.isRequired,index:x.a.any.isRequired,changeActive:x.a.func.isRequired,changeTerm:x.a.func.isRequired,changeInput:x.a.func.isRequired,applyFirstElement:x.a.func,disableSelect:x.a.bool})},"./public/components/panels/hub/categoriesSettings.json":function(e){e.exports=JSON.parse('{"all":{"index":0,"type":"all","title":"All"},"element":{"index":1,"subIndex":0,"type":"element","title":"Elements","bundleTypes":["free","premium"]},"template":{"index":2,"type":"template","title":"Templates","bundleTypes":["free","premium"]},"block":{"index":3,"type":"block","title":"Blocks","templateType":true},"addon":{"index":4,"type":"addon","title":"Addons"},"hubHeader":{"index":5,"type":"hubHeader","title":"Headers","templateType":true},"hubFooter":{"index":6,"type":"hubFooter","title":"Footers","templateType":true},"hubSidebar":{"index":7,"type":"hubSidebar","title":"Sidebars","templateType":true},"stockImages":{"index":8,"type":"stockImages","title":"Stock Images"}}')},"./public/components/panels/hub/hubContainer.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/toConsumableArray.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),s=n.n(a),o=n("./node_modules/@babel/runtime/helpers/createClass.js"),l=n.n(o),c=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),u=n.n(c),d=n("./node_modules/@babel/runtime/helpers/inherits.js"),f=n.n(d),h=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),p=n.n(h),m=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),b=n.n(m),v=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),g=n.n(v),y=n("./node_modules/react/index.js"),w=n.n(y),C=n("./node_modules/classnames/index.js"),_=n.n(C),S=n("./node_modules/vc-cake/index.js"),x=n.n(S),k=n("./public/components/panels/addElement/lib/elementControl.js"),T=n("./node_modules/prop-types/index.js"),j=n.n(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 i=b()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var E=function(e){f()(n,e);var t=M(n);function n(){return s()(this,n),t.apply(this,arguments)}return l()(n,[{key:"render",value:function(){var e,t=this.props,n=t.element,r=t.elementState,i=t.onClick,a=t.showLoading,s=t.name,o=window.VCV_I18N&&window.VCV_I18N(),l=o.downloadAddonText||"Download Addon",c=o.installedText||"Installed",u=o.availableInPremiumText||"Available in Premium",d=!n.allowDownload&&"inactive"===r||!window.vcvIsAnyActivated;"success"===r?e=c:d?e=u:"inactive"!==r&&"failed"!==r||(e=l);var f=_()({"vcv-hub-addon-control":!0,"vcv-hub-addon-control--locked":"success"===r}),h=w.a.createElement("button",{className:f,onClick:i},e);return("downloading"===r||a)&&(h=w.a.createElement("span",{className:"vcv-ui-icon vcv-ui-wp-spinner"})),w.a.createElement("li",{className:"vcv-ui-item-list-item"},w.a.createElement("div",{className:"vcv-hub-addon-item-container"},w.a.createElement("img",{className:"vcv-hub-addon-image",src:n.metaAddonImageUrl,alt:s}),w.a.createElement("div",{className:"vcv-hub-addon-item-content-container"},w.a.createElement("h3",{className:"vcv-hub-addon-name"},s),w.a.createElement("p",{className:"vcv-hub-addon-description"},n.metaDescription),h)))}}]),n}(w.a.Component);function A(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 i=b()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}g()(E,"propTypes",{element:j.a.object.isRequired,elementState:j.a.string.isRequired,showLoading:j.a.bool.isRequired,name:j.a.string.isRequired,onClick:j.a.func.isRequired});var L=Object(S.getService)("hubElements"),P=Object(S.getService)("myTemplates"),O=Object(S.getStorage)("workspace"),I=Object(S.getStorage)("notifications"),B=Object(S.getStorage)("elements"),D=O.state("settings"),R=Object(S.getStorage)("hubElements"),N=Object(S.getStorage)("hubTemplates"),H=Object(S.getStorage)("hubAddons"),G=Object(S.getStorage)("events"),F=function(e){f()(n,e);var t=A(n);function n(e){var r;s()(this,n),r=t.call(this,e);var i,a=L.all();if("element"===r.props.type)i=(O.state("downloadingItems").get()||[]).includes(e.tag)?"downloading":void 0!==a[r.props.tag]?"success":"inactive";else if("addon"===r.props.type){var o=r.props.element.tag;i=(O.state("downloadingItems").get()||[]).includes(o)?"downloading":H.state("addons").get()[o]?"success":"inactive"}else{var l=O.state("downloadingItems").get()||[],c=r.props.element.bundle.replace("template/","").replace("predefinedTemplate/","");l.includes(c)?i="downloading":(i="inactive",P.findTemplateByBundle(r.props.element.bundle)&&(i="success"))}return r.state={elementState:i,showLoading:!1},r.addElement=r.addElement.bind(u()(r)),r.downloadElement=r.downloadElement.bind(u()(r)),r.downloadTemplate=r.downloadTemplate.bind(u()(r)),r.downloadAddon=r.downloadAddon.bind(u()(r)),r.addTemplate=r.addTemplate.bind(u()(r)),r.downloadingItemOnChange=r.downloadingItemOnChange.bind(u()(r)),r.handleAddonClick=r.handleAddonClick.bind(u()(r)),r}return l()(n,[{key:"componentDidMount",value:function(){"downloading"===this.state.elementState&&O.state("downloadingItems").onChange(this.downloadingItemOnChange),this.ellipsize(".vcv-ui-item-element-name"),this.ellipsize(".vcv-ui-item-preview-text")}},{key:"componentWillUnmount",value:function(){O.state("downloadingItems").ignoreChange(this.downloadingItemOnChange)}},{key:"downloadingItemOnChange",value:function(e){var t="element"===this.props.type?this.props.tag:this.props.element.bundle.replace("template/","").replace("predefinedTemplate/","").replace("addon/",""),n="failed";if(!e.includes(t)){switch(this.props.type){case"element":case"addon":n=this.props.tag&&"success";break;case"template":n=this.props.element.bundle.replace("template/","").replace("predefinedTemplate/","")&&"success";break;default:console.warn("Invalid hub element type received")}this.setState({elementState:n}),O.state("downloadingItems").ignoreChange(this.downloadingItemOnChange)}}},{key:"downloadAddon",value:function(e){if(this.props.element.allowDownload&&window.vcvIsAnyActivated){var t=window.VCV_I18N&&window.VCV_I18N();if(this.props.element.update){var n=t.elementDownloadRequiresUpdate||"Update Visual Composer plugin to the most recent version to download this content element.";I.trigger("add",{type:"error",text:n,showCloseButton:"true",icon:"vcv-ui-icon vcv-ui-icon-error",time:5e3})}else this.setState({elementState:"downloading"}),O.state("downloadingItems").onChange(this.downloadingItemOnChange),H.trigger("downloadAddon",this.props.element)}}},{key:"downloadElement",value:function(e){if(this.props.element.allowDownload&&window.vcvIsAnyActivated){var t=window.VCV_I18N&&window.VCV_I18N();if(this.props.element.update){var n=t.elementDownloadRequiresUpdate||"Update Visual Composer plugin to the most recent version to download this content element.";I.trigger("add",{type:"error",text:n,showCloseButton:"true",icon:"vcv-ui-icon vcv-ui-icon-error",time:5e3})}else this.setState({elementState:"downloading"}),O.state("downloadingItems").onChange(this.downloadingItemOnChange),R.trigger("downloadElement",this.props.element)}}},{key:"downloadTemplate",value:function(e){if(this.props.element.allowDownload&&window.vcvIsAnyActivated){var t=window.VCV_I18N&&window.VCV_I18N();if(this.props.element.update){var n=t.templateDownloadRequiresUpdate||"Update Visual Composer plugin to the most recent version to download this template.";I.trigger("add",{type:"error",text:n,showCloseButton:"true",icon:"vcv-ui-icon vcv-ui-icon-error",time:5e3})}else this.setState({elementState:"downloading"}),O.state("downloadingItems").onChange(this.downloadingItemOnChange),N.trigger("downloadTemplate",this.props.element)}}},{key:"addTemplate",value:function(){var e=this,t=function(e){B.trigger("merge",e),D.set(!1)};if(Object(S.env)("VCV_FT_TEMPLATE_DATA_ASYNC")){var n=P.findTemplateByBundle(this.props.element.bundle).id;this.setState({showLoading:!0}),P.load(n,(function(n){e.setState({showLoading:!1}),t(n.data)}))}else{var r=P.findTemplateByBundle(this.props.element.bundle);t(r.data)}}},{key:"buildVariables",value:function(e){e.length&&e.forEach((function(e){void 0===window[e.key]&&("constant"===e.type?window[e.key]=function(){return e.value}:window[e.key]=e.value)}))}},{key:"addElement",value:function(){this.props.addElement(this.props.element)}},{key:"handleAddonClick",value:function(){var e={element:this.props.element};G.trigger("hub:addon:clickAdd",e)}},{key:"openPremiumTab",value:function(){window.open(window.VCV_UTM().goPremiumElementDownload)}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.element,r=e.tag,i=e.type,a=this.state,s=a.previewVisible,o=a.previewStyle,l=a.elementState,c=_()({"vcv-ui-item-element":!0,"vcv-ui-item-element-inactive":"success"!==l}),u=_()({"vcv-ui-item-list-item":!0,"vcv-ui-item-list-item--inactive":!1}),d=_()({"vcv-ui-item-badge vcv-ui-badge--success":!1,"vcv-ui-item-badge vcv-ui-badge--warning":!1}),f=_()({"vcv-ui-item-preview-container":!0,"vcv-ui-state--visible":s}),h=_()({"vcv-ui-item-overlay":!0,"vcv-ui-item-downloading":"downloading"===l}),p=n.metaThumbnailUrl,m=n.metaPreviewUrl,b=!n.allowDownload&&"inactive"===l||!window.vcvIsAnyActivated,v=_()({"vcv-ui-item-add":!0,"vcv-ui-item-add-hub":!0,"vcv-ui-icon":!0,"vcv-ui-icon-download":"inactive"===l||"failed"===l,"vcv-ui-wp-spinner-light":"downloading"===l||this.state.showLoading,"vcv-ui-icon-lock":b});if("success"===l){var g="vcv-ui-icon-add";if("addon"===i){var y=H.state("addons").get()[r];g=y&&(void 0===y.addable||y.addable)?"vcv-ui-icon-add":"vcv-ui-icon-more-dots"}v+=" ".concat(g)}var C=this.addElement;if("element"===this.props.type)"success"!==l&&(C=b?this.openPremiumTab:this.downloadElement);else if("template"===this.props.type)C=this.addTemplate,"success"!==l&&(C=b?this.openPremiumTab:this.downloadTemplate);else if("addon"===this.props.type)return C="success"!==l?b?this.openPremiumTab:this.downloadAddon:this.handleAddonClick,w.a.createElement(E,{key:"vcv-element-control-"+r,element:n,elementState:l,showLoading:this.state.showLoading,name:t,onClick:C});var S=w.a.createElement("span",{className:v,onClick:C}),x=null;return s&&(x=w.a.createElement("figure",{className:f,style:o},w.a.createElement("img",{className:"vcv-ui-item-preview-image",src:m,alt:t}),w.a.createElement("figcaption",{className:"vcv-ui-item-preview-caption"},w.a.createElement("div",{className:"vcv-ui-item-preview-text"},n.metaDescription)))),w.a.createElement("li",{className:u},w.a.createElement("span",{className:c,onMouseEnter:this.handleMouseEnterShowPreview,onMouseLeave:this.handleMouseLeaveHidePreview,title:t},w.a.createElement("span",{className:"vcv-ui-item-element-content"},w.a.createElement("img",{className:"vcv-ui-item-element-image",src:p,alt:t}),w.a.createElement("span",{className:h},S)),w.a.createElement("span",{className:"vcv-ui-item-element-name"},w.a.createElement("span",{className:d},t)),x))}}]),n}(k.a),V=n("./node_modules/react-dom/index.js"),U=n.n(V);function z(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 i=b()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var W=function(e){f()(n,e);var t=z(n);function n(e){var r;return s()(this,n),r=t.call(this,e),g()(u()(r),"buttonsGroup",null),r.state={totalControlWidth:0,isControlsHidden:!0},r.handleResize=r.handleResize.bind(u()(r)),r.getDropdownItems=r.getDropdownItems.bind(u()(r)),r}return l()(n,[{key:"componentDidMount",value:function(){this.setState({totalControlWidth:this.getControlsTotalWidth()}),this.handleResize(),this.addResizeListener(U.a.findDOMNode(this),this.handleResize)}},{key:"componentWillUnmount",value:function(){this.removeResizeListener(U.a.findDOMNode(this),this.handleResize)}},{key:"addResizeListener",value:function(e,t){var n=!(!navigator.userAgent.match(/Trident/)&&!navigator.userAgent.match(/Edge/));"static"===window.getComputedStyle(e).position&&(e.style.position="relative");var r=e.__resizeTrigger__=document.createElement("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; opacity: 0; pointer-events: none; z-index: -1;"),r.__resizeElement__=e,r.onload=function(){this.contentDocument.defaultView.addEventListener("resize",t)},r.type="text/html",n&&e.appendChild(r),r.data="about:blank",n||e.appendChild(r)}},{key:"removeResizeListener",value:function(e,t){e.__resizeTrigger__.contentDocument.defaultView.removeEventListener("resize",t),e.__resizeTrigger__=!e.removeChild(e.__resizeTrigger__)}},{key:"getControlsTotalWidth",value:function(){return this.buttonsGroup.getBoundingClientRect().width}},{key:"handleResize",value:function(){var e=U.a.findDOMNode(this).getBoundingClientRect().width,t=this.state,n=t.isControlsHidden,r=t.totalControlWidth||this.getControlsTotalWidth();e>=r&&n?this.setState({isControlsHidden:!1}):e<r&&!n&&this.setState({isControlsHidden:!0})}},{key:"handleClick",value:function(e,t,n){this.props.setFilterType(e,t,n)}},{key:"getControls",value:function(){var e=this;return Object.values(this.props.categories).map((function(t,n){var r=t.type,i=t.title,a=t.bundleTypes,s=r===e.props.filterType,o=_()({"vcv-ui-form-button":!0,"vcv-ui-form-button--active":s}),l=t.index;void 0!==t.subIndex&&(l="".concat(t.index,"-").concat(t.subIndex));var c=null;return a&&a.length&&(c=w.a.createElement("div",{className:"vcv-ui-form-button-group-dropdown"},e.getDropdownItems(a,r,l,s))),w.a.createElement("div",{key:"hub-control-".concat(r,"-").concat(n),className:"vcv-ui-form-button-group-item"},w.a.createElement("button",{type:"button",onClick:function(){return e.handleClick(r,l)},className:o},i),c)}))}},{key:"getDropdownItems",value:function(e,t,n,r){var i=this,a=window.VCV_I18N&&window.VCV_I18N();return e.map((function(e){var s=_()({"vcv-ui-form-button-group-dropdown-item":!0,"vcv-ui-form-button-group-dropdown-item--active":r&&e===i.props.bundleType}),o=a[e];return o||"free"!==e||(o="Free"),o||"premium"!==e||(o="Premium"),w.a.createElement("button",{key:"hub-control-dropdown-item-".concat(e),type:"button",onClick:function(){return i.handleClick(t,n,e)},className:s},o)}))}},{key:"render",value:function(){var e=this,t=_()({"vcv-ui-hub-control-container":!0,"vcv-is-hidden":this.state.isControlsHidden});return w.a.createElement("div",{className:t},w.a.createElement("div",{className:"vcv-ui-form-buttons-group vcv-ui-form-button-group--large",ref:function(t){e.buttonsGroup=t}},this.getControls()))}}]),n}(w.a.Component);function q(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 i=b()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}g()(W,"propTypes",{categories:j.a.object.isRequired,filterType:j.a.string.isRequired,setFilterType:j.a.func.isRequired});var K=function(e){f()(n,e);var t=q(n);function n(e){var r;return s()(this,n),(r=t.call(this,e)).handleDropdownChange=r.handleDropdownChange.bind(u()(r)),r.getSelectOptions=r.getSelectOptions.bind(u()(r)),r}return l()(n,[{key:"createGroup",value:function(e,t,r,i){var a=this,s=[];return s.push(this.createOptions(t,r,"All ".concat(i))),e.forEach((function(e){var i=n.localizations[e];i||"free"!==e||(i="Free"),i||"premium"!==e||(i="Premium"),s.push(a.createOptions(t,r,i,e))})),w.a.createElement("optgroup",{key:"hub-dropdown-optGroup-".concat(t,"-").concat(r),label:i},s)}},{key:"createOptions",value:function(e,t,n,r){var i=r?"".concat(e,"_").concat(t,"_").concat(r):"".concat(e,"_").concat(t),a=r?"hub-dropdown-option-".concat(e,"-").concat(t,"-").concat(r):"hub-dropdown-option-".concat(e,"-").concat(t);return w.a.createElement("option",{key:a,value:i},n)}},{key:"getSelectOptions",value:function(){var e=this,t=this.props.categories;return Object.values(t).map((function(t){var n=t.type,r=t.title,i=t.bundleTypes,a=t.index;return void 0!==t.subIndex&&(a="".concat(t.index,"-").concat(t.subIndex)),i&&i.length?e.createGroup(i,n,a,r):e.createOptions(n,a,r)}))}},{key:"handleDropdownChange",value:function(e){var t=e.target.value.split("_");this.props.setFilterType(t[0],t[1],t[2])}},{key:"render",value:function(){var e=this.props,t=e.categories,n=e.filterType,r=e.bundleType,i=t[n],a=i.subIndex,s=i.index,o=i.type,l=void 0!==a?"".concat(s,"-").concat(a):s,c=r?"".concat(o,"_").concat(l,"_").concat(r):"".concat(o,"_").concat(l);return w.a.createElement("select",{className:"vcv-ui-form-dropdown",value:c,onChange:this.handleDropdownChange},this.getSelectOptions())}}]),n}(w.a.Component);g()(K,"propTypes",{categories:j.a.object.isRequired,filterType:j.a.string.isRequired,setFilterType:j.a.func.isRequired,bundleType:j.a.string}),g()(K,"localizations",window.VCV_I18N&&window.VCV_I18N());var Z=n("./public/components/panels/addElement/lib/categories.js"),X=n("./public/components/scrollbar/scrollbar.js"),$=n("./public/components/panels/addElement/lib/searchElement.js"),J=n("./node_modules/lodash/lodash.js"),Y=n.n(J),Q=n("./public/components/panels/hub/categoriesSettings.json"),ee=n("./public/components/stockImages/stockImages.js");function te(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 i=b()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",(function(){return re}));var ne=x.a.getService("sharedAssetsLibrary"),re=function(e){f()(n,e);var t=te(n);function n(e){var r;if(s()(this,n),r=t.call(this,e),g()(u()(r),"allCategories",null),e&&e.options&&e.options.filterType){var i=e.options,a=i.filterType,o=i.id,l=i.bundleType;r.state={filterType:a,activeCategoryIndex:o,bundleType:l}}return r.setFilterType=r.setFilterType.bind(u()(r)),r.handleScroll=r.handleScroll.bind(u()(r)),r}return l()(n,[{key:"componentDidMount",value:function(){this.props.hideScrollbar&&window.addEventListener("scroll",this.handleScroll)}},{key:"componentWillUnmount",value:function(){this.props.hideScrollbar&&window.removeEventListener("scroll",this.handleScroll)}},{key:"getAllCategories",value:function(){if(!this.allCategories){var e=this.getElementGroup(Q.element),t=this.getTemplateGroup(Q.template),n=this.getBlockGroup(Q.block),r=this.getAddonsGroup(Q.addon),i=this.getHFSGroup(Q.hubHeader),a=this.getHFSGroup(Q.hubFooter),s=this.getHFSGroup(Q.hubSidebar),o=this.getAllGroup(Q.all,[e,t,n,i,a,s]);this.allCategories=[o,e,t,n,r,i,a,s]}return this.allCategories}},{key:"getAllGroup",value:function(e,t){var n=e.title,r=e.index,a=[];return t.forEach((function(e){var t=e.categories&&e.categories[0]?e.categories[0].elements:e.elements;t&&a.push.apply(a,i()(t))})),{elements:a,id:"".concat(n).concat(r),index:r,title:n}}},{key:"getAddonsGroup",value:function(e){var t=e.title,n=e.index;return{elements:window.VCV_HUB_GET_ADDON_TEASER(),id:"".concat(t).concat(n),index:n,title:t}}},{key:"getElementGroup",value:function(e){var t=e.title,n=e.index,r=window.VCV_HUB_GET_TEASER();return r.forEach((function(e,t){var n=Y.a.sortBy(e.elements,["name"]);n=n.map((function(e){var t=e.tag;return e.tag=t.charAt(0).toLowerCase()+t.substr(1,t.length-1),e})),r[t].elements=n})),{categories:r,id:"".concat(t).concat(n),index:n,title:t}}},{key:"getTemplateGroup",value:function(e){var t=e.title,n=e.index;return{elements:window.VCV_HUB_GET_TEMPLATES_TEASER().filter((function(e){return"hub"===e.templateType||"predefined"===e.templateType})),id:"".concat(t).concat(n),index:n,title:t}}},{key:"getBlockGroup",value:function(e){var t=e.title,n=e.index,r=e.type;return{elements:window.VCV_HUB_GET_TEMPLATES_TEASER().filter((function(e){return e.templateType===r})),id:"".concat(t).concat(n),index:n,title:t}}},{key:"getHFSGroup",value:function(e){var t=e.type,n=e.title,r=e.index;if(r){var i=window.VCV_HUB_GET_TEMPLATES_TEASER();return{elements:i=i.filter((function(e){return e.templateType===t})),id:"".concat(n).concat(r),index:r,title:n}}return{}}},{key:"getElementControl",value:function(e){var t=e.tag?e.tag:e.name;return t=t.charAt(0).toLowerCase()+t.substr(1,t.length-1),w.a.createElement(F,{key:"vcv-element-control-"+t,element:e,tag:t,type:e.type?e.type:"element",update:!!e.update&&e.update,name:e.name,addElement:this.addElement})}},{key:"getNoResultsElement",value:function(){var e=n.localizations?n.localizations.nothingFound:"Nothing found",t=ne.getSourcePath("images/search-no-result.png");return w.a.createElement("div",{className:"vcv-ui-editor-no-items-container"},w.a.createElement("div",{className:"vcv-ui-editor-no-items-content"},w.a.createElement("img",{className:"vcv-ui-editor-no-items-image",src:t,alt:e})))}},{key:"getElementsByCategory",value:function(){var e=this,t=this.state.activeCategoryIndex,n=this.getAllCategories(),r=[];if(t.indexOf&&t.indexOf("-")>-1){var i=t.split("-"),a=n[i[0]],s=a&&a.categories&&a.categories[i[1]];r=s?s.elements:[]}else r=n&&n[t]&&n[t].elements;return r?r.map((function(t){return e.getElementControl(t)})):[]}},{key:"getSearchProps",value:function(){var e=this;return{allCategories:this.getAllCategories(),index:this.state.activeCategoryIndex,changeActive:this.changeActiveCategory,changeTerm:this.changeSearchState,changeInput:this.changeInput,inputPlaceholder:"elements and templates",activeFilter:this.state.filterId,disableSelect:!0,selectEvent:function(t){var n=t&&t.constructor===String&&t.split("-")[0],r=e.state,i=Object.values(Q).find((function(e){return parseInt(n)===e.index}));r.filterType=i.type,e.setState(r)}}}},{key:"getSearchElement",value:function(){var e=this.getSearchProps();return w.a.createElement($.a,e)}},{key:"setFilterType",value:function(e,t,n){this.setState({filterType:e,activeCategoryIndex:t,bundleType:n})}},{key:"filterResult",value:function(){var e=this.state,t=e.filterType,n=e.bundleType,r=this.isSearching()?this.getFoundElements():this.getElementsByCategory();return r=r.filter((function(e){var r=!1;r="all"===t||(Q[t].templateType?"template"===e.props.type&&e.props.element.templateType===t:e.props.type===t);var i=e.props.element.bundleType;return!n||e.props.element.bundleType&&e.props.element.bundleType.length||(r=!1),r&&i&&i.length&&n&&(r=i.indexOf(n)>-1,"premium"===n&&r&&(r=i.indexOf("free")<0)),r}))}},{key:"getTypeControlProps",value:function(){return{categories:Q,filterType:this.state.filterType,bundleType:this.state.bundleType,setFilterType:this.setFilterType}}},{key:"getHubPanelControls",value:function(){return w.a.createElement(W,this.getTypeControlProps())}},{key:"getHubBanner",value:function(){var e=n.localizations?n.localizations.getMoreText:"Get More Elements, Templates, and Extensions",t=n.localizations?n.localizations.downloadFromHubText:"Download additional content from the Visual Composer Hub - right in your editor instantly.",r=n.localizations?n.localizations.goPremium:"Go Premium",i=n.localizations?n.localizations.unlockHub:"Unlock Visual Composer Hub",a=window.vcvIsFreeActivated?r:i;return w.a.createElement("div",{className:"vcv-hub-banner"},w.a.createElement("div",{className:"vcv-hub-banner-content"},w.a.createElement("p",{className:"vcv-hub-banner-title"},e),w.a.createElement("p",{className:"vcv-hub-banner-subtitle"},t),w.a.createElement("span",{className:"vcv-hub-banner-button","data-href":window.vcvUpgradeUrl+"&screen=license-options",onClick:n.handleClickGoPremium},a)))}},{key:"handleScroll",value:function(e){var t=e.currentTarget;this.props.hideScrollbar&&(t=e.currentTarget.document.documentElement);var n=t.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,i=t.scrollTop+n.height+r/2>=t.scrollHeight;this.setState({scrollTop:t.scrollTop,scrolledToBottom:i})}},{key:"render",value:function(){var e=this.filterResult(),t=_()({"vcv-ui-tree-content-section-inner":!0,"vcv-ui-state--centered-content":!e.length}),n=_()({"vcv-ui-editor-plate":!0,"vcv-ui-state--active":!0,"vcv-ui-editor-plate--addon":"addon"===this.state.filterType}),r="";r=this.state.filterType&&"stockImages"===this.state.filterType?w.a.createElement(ee.a,{scrolledToBottom:this.state.scrolledToBottom,scrollTop:this.state.scrollTop}):w.a.createElement("div",{className:t},void 0===window.vcvIsPremiumActivated||window.vcvIsPremiumActivated?null:this.getHubBanner(),w.a.createElement("div",{className:"vcv-ui-editor-plates-container vcv-ui-editor-plate--teaser"},w.a.createElement("div",{className:"vcv-ui-editor-plates"},w.a.createElement("div",{className:n},this.getElementListContainer(e)))));var i=null;return i=this.props.hideScrollbar?r:w.a.createElement(X.a,{onScroll:Y.a.throttle(this.handleScroll,100)},r),w.a.createElement("div",{className:"vcv-ui-tree-view-content vcv-ui-teaser-add-element-content"},w.a.createElement("div",{className:"vcv-ui-tree-content"},this.getSearchElement(),this.getHubPanelControls(),w.a.createElement("div",{className:"vcv-ui-hub-dropdown-container"},w.a.createElement(K,this.getTypeControlProps())),w.a.createElement("div",{className:"vcv-ui-tree-content-section"},i)))}}],[{key:"handleClickGoPremium",value:function(e){e&&e.preventDefault&&e.preventDefault();var t=e.currentTarget;window.location.replace(t.dataset.href)}}]),n}(Z.a);g()(re,"localizations",window.VCV_I18N&&window.VCV_I18N())},"./public/components/polyfills/index.js":function(e,t){var n;"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof n.closest&&(n.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},"./public/components/scrollbar/scrollbar.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));var r=n("./node_modules/@babel/runtime/helpers/extends.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),s=n.n(a),o=n("./node_modules/@babel/runtime/helpers/createClass.js"),l=n.n(o),c=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),u=n.n(c),d=n("./node_modules/@babel/runtime/helpers/inherits.js"),f=n.n(d),h=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),p=n.n(h),m=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),b=n.n(m),v=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),g=n.n(v),y=n("./node_modules/react/index.js"),w=n.n(y),C=n("./node_modules/classnames/index.js"),_=n.n(C),S=n("./node_modules/react-custom-scrollbars/lib/index.js"),x=n("./node_modules/prop-types/index.js"),k=n.n(x);function T(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 i=b()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var j=function(e){f()(n,e);var t=T(n);function n(e){var r;return s()(this,n),r=t.call(this,e),g()(u()(r),"scrollbars",null),r.state={showTracks:!0},r}return l()(n,[{key:"scrollTop",value:function(e){return this.scrollbars.scrollTop(e)}},{key:"render",value:function(){var e=this,t=i()({},this.props),n=_()({"vcv-ui-scroll":!0,"vcv-ui-tree-layout-filled":Object.prototype.hasOwnProperty.call(this.props,"content")&&this.props.content});return w.a.createElement(S.Scrollbars,i()({ref:function(t){e.scrollbars=t}},t,{className:n,renderTrackHorizontal:function(e){return w.a.createElement("div",i()({},e,{className:"vcv-ui-scroll-track--horizontal"}))},renderTrackVertical:function(e){return w.a.createElement("div",i()({},e,{className:"vcv-ui-scroll-track--vertical"}))},renderThumbHorizontal:function(e){return w.a.createElement("div",i()({},e,{className:"vcv-ui-scroll-thumb--horizontal"}))},renderThumbVertical:function(e){return w.a.createElement("div",i()({},e,{className:"vcv-ui-scroll-thumb--vertical"}))},renderView:function(e){return w.a.createElement("div",i()({},e,{className:"vcv-ui-scroll-content"}))},onScroll:this.props.onScroll,hideTracksWhenNotNeeded:this.state.showTracks}))}}]),n}(w.a.Component);g()(j,"propTypes",{content:k.a.number,onScroll:k.a.func})},"./public/components/stockImages/stockImages.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n.n(r),a=n("./node_modules/@babel/runtime/helpers/createClass.js"),s=n.n(a),o=n("./node_modules/@babel/runtime/helpers/assertThisInitialized.js"),l=n.n(o),c=n("./node_modules/@babel/runtime/helpers/inherits.js"),u=n.n(c),d=n("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=n.n(d),h=n("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),p=n.n(h),m=n("./node_modules/@babel/runtime/helpers/defineProperty.js"),b=n.n(m),v=n("./node_modules/react/index.js"),g=n.n(v),y=n("./public/sources/images/unsplashLogo.raw"),w=n.n(y),C=n("./node_modules/classnames/index.js"),_=n.n(C),S=n("./node_modules/prop-types/index.js"),x=n.n(S),k=n("./node_modules/lodash/lodash.js"),T=n.n(k),j=n("./node_modules/vc-cake/index.js");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=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var E=Object(j.getService)("dataProcessor"),A=Object(j.getStorage)("notifications"),L=Object(j.getService)("sharedAssetsLibrary"),P=function(e){u()(n,e);var t=M(n);function n(e){var r;return i()(this,n),r=t.call(this,e),b()(l()(r),"maxColumnCount",5),b()(l()(r),"abortController",new window.AbortController),b()(l()(r),"componentUnmounted",!1),b()(l()(r),"unsplashLicenseKey",window.VCV_LICENSE_KEY&&window.VCV_LICENSE_KEY()||"free"),b()(l()(r),"allowDownload",!0),r.state={columnData:T.a.defaultsDeep({},r.createDefaultColumnData()),total:0,columnCount:r.getColumnCount(),page:1,totalPages:0,requestInProgress:!1,hasError:!1,activeItem:null,downloadingItems:[]},r.handleImageLoad=r.handleImageLoad.bind(l()(r)),r.handleClickDownloadImage=r.handleClickDownloadImage.bind(l()(r)),r.setColumnCount=r.setColumnCount.bind(l()(r)),r.handleClickShowDownloadOptions=r.handleClickShowDownloadOptions.bind(l()(r)),r.handleClickOutside=r.handleClickOutside.bind(l()(r)),r}return s()(n,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.setColumnCount),this.getImagesFromServer("",1,"trending")}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside),window.removeEventListener("resize",this.setColumnCount),this.componentUnmounted=!0,this.abortController.abort()}},{key:"componentDidUpdate",value:function(e,t){var n=t.requestInProgress,r=t.page,i=e.scrolledToBottom,a=e.searchValue,s=e.scrollTop;this.props.searchValue&&(this.props.searchValue!==a?this.getImagesFromServer(this.props.searchValue,1):!1===n&&this.props.scrolledToBottom&&this.props.scrolledToBottom!==i&&this.getImagesFromServer(this.props.searchValue,r)),this.props.scrollTop!==s&&this.showImages()}},{key:"prepareImages",value:function(e){var t=this.getColumnData(e.results);if(this.setState({columnData:t,total:parseInt(e.total),page:this.state.page+1,totalPages:parseInt(e.totalPages),requestInProgress:!1}),this.resultContainer){var n=this.resultContainer.closest(".vcv-ui-scroll-content"),r=n&&n.getBoundingClientRect();r&&r.height>=n.scrollHeight&&this.getImagesFromServer(this.props.searchValue,this.state.page)}}},{key:"getColumnData",value:function(e){var t=this,n="";return n=1===this.state.page?T.a.defaultsDeep({},this.createDefaultColumnData()):T.a.defaultsDeep({},this.state.columnData),e&&e.length&&Object.keys(n).forEach((function(r){var i=n[r];e.forEach((function(e){var n=e.height/e.width,r=t.getSmallestFromArray(i);i[r].value+=n,i[r].images.push(e)}))})),n}},{key:"createDefaultColumnData",value:function(){for(var e={},t=1;t<=this.maxColumnCount;t++){e[t]=[];for(var n=0;n<t;n++)e[t].push({value:0,images:[]})}return e}},{key:"getImagesFromServer",value:function(e,t){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"search";if(!(t>1&&t>this.state.totalPages)){var a=window.VCV_API_URL&&window.VCV_API_URL(),s=window.VCV_PLUGIN_URL&&window.VCV_PLUGIN_URL(),o=window.VCV_LICENSE_UNSPLASH_AUTHOR_API_KEY&&window.VCV_LICENSE_UNSPLASH_AUTHOR_API_KEY(),l="".concat(a,"/api/unsplash/").concat(i),c=this.unsplashLicenseKey;this.setState({page:t,requestInProgress:!0,hasError:!1});var u="";u="search"===i?"".concat(l,"/").concat(e,"?licenseKey=").concat(c,"&page=").concat(t,"&url=").concat(s):"".concat(l,"?licenseKey=").concat(c,"&url=").concat(s),o&&(u+="&author_api_key=".concat(o)),window.fetch(u,{method:"get",signal:this.abortController.signal}).then((function(e){return e.json()})).then((function(e){e&&(Object.prototype.hasOwnProperty.call(e,"allowDownload")?r.allowDownload=e.allowDownload:r.allowDownload=!0,r.prepareImages(e),e.results&&e.results.length&&r.showImages())}),(function(e){if(!r.componentUnmounted){var t="".concat(n.localizations.noConnectionToUnsplash," #10088")||!1;A.trigger("add",{position:"bottom",transparent:!0,rounded:!0,text:t,time:3e3,type:"error",id:"unsplash-error"}),r.setState({hasError:!0}),Object(j.env)("VCV_DEBUG")&&console.warn(t,e)}}))}}},{key:"getSmallestFromArray",value:function(e){if(1===e.length)return 0;var t=0,n=e[0].value;return e.forEach((function(r,i){r.value<n&&(n=e[i].value,t=i)})),t}},{key:"setColumnCount",value:function(){var e=this.getColumnCount();this.state.columnCount!==e&&(this.setState({columnCount:e}),this.showImages());var t=window.innerHeight||document.documentElement.clientHeight;t!==this.windowHeight&&this.showImages(),this.windowHeight=t}},{key:"getColumnCount",value:function(){for(var e=window.innerWidth||document.documentElement.clientWidth,t=300,n=1;n<=this.maxColumnCount;n++){if(e<t+250)return n;t+=250}return this.maxColumnCount}},{key:"handleImageLoad",value:function(e){var t=e.currentTarget;if(t){var n=t.closest(".vcv-stock-image-wrapper");n&&n.classList.add("vcv-stock-image--loaded")}}},{key:"showImages",value:function(){var e=this.resultContainer&&this.resultContainer.querySelectorAll(".vcv-stock-image-not-visible");e&&e.length&&e.forEach((function(e){e.getBoundingClientRect().top-100<(window.innerHeight||document.documentElement.clientHeight)&&(e.src=e.dataset.src,e.classList.remove("vcv-stock-image-not-visible"))}))}},{key:"handleClickDownloadImage",value:function(e){var t=this,r=e.currentTarget,i=r&&r.getAttribute("data-img-size"),a=r&&r.closest(".vcv-stock-image-inner"),s=a&&a.id;if(s&&i){var o=this.state.downloadingItems;o[s]=!0,this.setState({downloadingItems:o}),E.appServerRequest({"vcv-action":"hub:unsplash:download:adminNonce","vcv-nonce":window.vcvNonce,"vcv-imageId":s,"vcv-imageSize":i}).then((function(r){try{var i=JSON.parse(r);if(i.status)A.trigger("add",{position:"bottom",transparent:!0,rounded:!0,text:n.localizations.imageDownloadedToMediaLibrary||"Image has been downloaded to your Media Library.",time:3e3});else{var a=i.response?i.response.message:i.message;a=a||"".concat(n.localizations.noAccessCheckLicence," #10087")||"No access, please check your license! #10087",A.trigger("add",{position:"bottom",transparent:!0,rounded:!0,text:a,time:3e3,type:"error",id:"unsplash-error"}),Object(j.env)("VCV_DEBUG")&&console.warn(a,i)}}catch(e){var o="".concat(n.localizations.coundNotParseData," #10086")||!1;A.trigger("add",{position:"bottom",transparent:!0,rounded:!0,text:o,time:3e3,type:"error",id:"unsplash-error"}),Object(j.env)("VCV_DEBUG")&&console.warn(o,e)}if(!t.componentUnmounted){t.state.activeItem===s&&t.setState({activeItem:null});var l=t.state.downloadingItems;delete l[s],t.setState({downloadingItems:l})}}))}}},{key:"handleClickShowDownloadOptions",value:function(e){var t=this,n=e.currentTarget,r=n&&n.parentElement.id;r&&window.setTimeout((function(){t.setState({activeItem:r}),document.addEventListener("click",t.handleClickOutside)}),1)}},{key:"handleClickOutside",value:function(e){e.target.closest(".vcv-stock-image-download-button")||(this.setState({activeItem:null}),document.removeEventListener("click",this.handleClickOutside))}},{key:"getItems",value:function(){var e=this,t=this.state,r=t.columnData,i=t.columnCount,a=t.activeItem,s=t.downloadingItems,o=this.allowDownload&&"free"!==this.unsplashLicenseKey,l=n.localizations?n.localizations.activatePremiumToUnlockStockImages:"Activate Premium to Unlock Stock Images";return r[i].map((function(t,r){var c=t.images.map((function(t,c){var u,d=t.urls,f=t.user,h={className:"vcv-stock-image vcv-stock-image-not-visible",alt:"Unsplash image",onLoad:e.handleImageLoad,onError:e.handleImageLoad,"data-src":d.small},p=_()({"vcv-stock-image-inner":!0,"vcv-stock-image-inner--active":t.id===a,"vcv-stock-image--downloading":s[t.id]}),m=t.height/t.width;u=o?g.a.createElement("div",{className:"vcv-stock-image-hover-download",onClick:e.handleClickShowDownloadOptions},g.a.createElement("span",{className:"vcv-ui-icon vcv-ui-icon-download"})):g.a.createElement("div",{className:"vcv-stock-image-hover-download vcv-stock-image-hover-lock",title:l},g.a.createElement("span",{className:"vcv-ui-icon vcv-ui-icon-lock"}));var b=null;return o&&(b=g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:"vcv-stock-image-download-container"},g.a.createElement("div",{className:"vcv-stock-image-download-options"},g.a.createElement("button",{className:"vcv-stock-image-download-button",onClick:e.handleClickDownloadImage,"data-img-size":"400"},n.localizations.small||"Small",g.a.createElement("span",null," (400 x ",Math.round(400*m),")")),g.a.createElement("button",{className:"vcv-stock-image-download-button",onClick:e.handleClickDownloadImage,"data-img-size":"800"},n.localizations.medium||"Medium",g.a.createElement("span",null," (800 x ",Math.round(800*m),")")),g.a.createElement("button",{className:"vcv-stock-image-download-button",onClick:e.handleClickDownloadImage,"data-img-size":"1600"},n.localizations.large||"large",g.a.createElement("span",null," (1600 x ",Math.round(1600*m),")")))),g.a.createElement("div",{className:"vcv-stock-image-loading"},g.a.createElement("span",{className:"vcv-ui-icon vcv-ui-wp-spinner-light"})))),g.a.createElement("div",{className:"vcv-stock-image-wrapper",key:"vcv-stock-image-".concat(i,"-").concat(r,"-").concat(c)},g.a.createElement("div",{className:p,style:{paddingBottom:"".concat(100*m,"%")},id:t.id},g.a.createElement("img",h),u,g.a.createElement("a",{href:f&&f.url,target:"_blank",rel:"noopener noreferrer",className:"vcv-stock-image-author"},g.a.createElement("img",{src:f&&f.image,alt:f&&f.name,className:"vcv-stock-image-author-image"}),f&&f.name),b))}));return g.a.createElement("div",{className:"vcv-stock-images-col",key:"vcv-stock-image-column-".concat(i,"-").concat(r)},c)}))}},{key:"getNoResultsElement",value:function(){var e=n.localizations?n.localizations.nothingFound:"Nothing found",t=L.getSourcePath("images/search-no-result.png");return g.a.createElement("div",{className:"vcv-ui-editor-no-items-container"},g.a.createElement("div",{className:"vcv-ui-editor-no-items-content"},g.a.createElement("img",{className:"vcv-ui-editor-no-items-image",src:t,alt:e})))}},{key:"render",value:function(){var e=this,t=this.state,r=t.total,i=t.columnCount,a=t.requestInProgress,s=t.page,o=t.hasError,l=this.props,c=l.searchValue,u=l.isSearchUsed;if(o)return null;if(u&&!c)return this.getNoResultsElement();var d=g.a.createElement("div",{className:"vcv-loading-dots-container"},g.a.createElement("div",{className:"vcv-loading-dot vcv-loading-dot-1"}),g.a.createElement("div",{className:"vcv-loading-dot vcv-loading-dot-2"}));if(a&&1===s)return d;var f="vcv-stock-images-results-container vcv-stock-images-column-count--".concat(i),h="";h=r>0?g.a.createElement("div",{className:f,ref:function(t){e.resultContainer=t}},this.getItems()):this.getNoResultsElement();var p=n.localizations.free&&n.localizations.free.toLowerCase(),m=n.localizations.images,b=n.localizations.downloadImageFromUnsplash;return g.a.createElement(g.a.Fragment,null,c&&g.a.createElement("div",{className:"vcv-stock-images-results-data"},g.a.createElement("span",null,r," ",p||"free"," ",c.toLowerCase()," ",m||"images"),g.a.createElement("span",null,b||"Download images from Unsplash to your Media Library")),h,a&&g.a.createElement("div",{className:"vcv-loading-wrapper"},d))}}]),n}(g.a.Component);function O(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=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}b()(P,"propTypes",{searchValue:x.a.string,scrolledToBottom:x.a.bool,scrollTop:x.a.number,isSearchUsed:x.a.bool}),b()(P,"localizations",window.VCV_I18N&&window.VCV_I18N()),n.d(t,"a",(function(){return B}));var I=["https://cdn.hub.visualcomposer.com/plugin-assets/unsplash-1.jpg","https://cdn.hub.visualcomposer.com/plugin-assets/unsplash-2.jpg","https://cdn.hub.visualcomposer.com/plugin-assets/unsplash-3.jpg","https://cdn.hub.visualcomposer.com/plugin-assets/unsplash-4.jpg","https://cdn.hub.visualcomposer.com/plugin-assets/unsplash-5.jpg"],B=function(e){u()(n,e);var t=O(n);function n(e){var r;return i()(this,n),r=t.call(this,e),b()(l()(r),"inputTimeout",0),b()(l()(r),"randomImage",r.getRandomImage()),r.state={inputValue:"",input:!1,searchValue:"",isSearchUsed:!1},r.handleValueChange=r.handleValueChange.bind(l()(r)),r.handleInputFocus=r.handleInputFocus.bind(l()(r)),r.handleSearch=r.handleSearch.bind(l()(r)),r.handleKeyPress=r.handleKeyPress.bind(l()(r)),r}return s()(n,[{key:"componentWillUnmount",value:function(){this.inputTimeout&&(window.clearTimeout(this.inputTimeout),this.inputTimeout=0)}},{key:"handleKeyPress",value:function(e){"Enter"===e.key&&(e.preventDefault(),this.handleSearch())}},{key:"handleSearch",value:function(){var e={searchValue:this.state.inputValue};this.state.inputValue&&(e.isSearchUsed=!0),this.setState(e)}},{key:"handleValueChange",value:function(e){this.setState({inputValue:e.currentTarget.value})}},{key:"handleInputFocus",value:function(){var e=this;this.setState({input:!0}),this.inputTimeout=setTimeout((function(){e.setState({input:!1})}),400)}},{key:"getSearch",value:function(){var e=n.localizations?n.localizations.searchPhotosOnUnsplash:"Search free high-resolution photos on Unsplash",t=_()({"vcv-ui-search-container":!0,"vcv-ui-editor-field-highlight":this.state.input});return g.a.createElement("div",{className:t},g.a.createElement("button",{className:"vcv-ui-search-button",onClick:this.handleSearch},g.a.createElement("i",{className:"vcv-ui-icon vcv-ui-icon-search"})),g.a.createElement("input",{className:"vcv-ui-form-input vcv-ui-search-field",onChange:this.handleValueChange,onFocus:this.handleInputFocus,type:"text",value:this.state.inputValue,placeholder:e,onKeyPress:this.handleKeyPress,autoFocus:!0}))}},{key:"getRandomImage",value:function(){return I[Math.floor(Math.random()*I.length)]}},{key:"render",value:function(){var e=n.localizations?n.localizations.getPhotosWithPremiumText:"Download and Add Free Beautiful Photos to Your Site With Visual Composer Premium",t=n.localizations?n.localizations.getPhotosText:"Download and Add Free Beautiful Photos to Your Site",r=n.localizations?n.localizations.activatePremium:"Activate Premium",i="";i=void 0===window.vcvIsPremiumActivated||window.vcvIsPremiumActivated?g.a.createElement(g.a.Fragment,null,g.a.createElement("span",{className:"vcv-stock-images-unsplash-logo",dangerouslySetInnerHTML:{__html:w.a}}),g.a.createElement("p",{className:"vcv-stock-images-subtitle"},t),this.getSearch()):g.a.createElement(g.a.Fragment,null,g.a.createElement("span",{className:"vcv-stock-images-unsplash-logo",dangerouslySetInnerHTML:{__html:w.a}}),g.a.createElement("p",{className:"vcv-stock-images-subtitle"},e),g.a.createElement("span",{className:"vcv-stock-images-button","data-href":window.vcvUpgradeUrlUnsplash,onClick:n.handleClickGoPremium},r));var a={};this.state.isSearchUsed||(a.backgroundImage="url(".concat(this.randomImage,")"));var s=_()({"vcv-ui-editor-plates-container":!0,"vcv-ui-editor-plate--stock-images":!0,"vcv-ui-editor-plate--stock-images--search-is-used":this.state.isSearchUsed});return g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:s},g.a.createElemen