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 (96) 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
  34. public/dist/pe.bundle.css +1 -1
  35. public/dist/pe.bundle.js +1 -1
  36. public/dist/runtime.bundle.js +1 -0
  37. public/dist/vendor.bundle.js +1 -1
  38. public/dist/wp.bundle.css +1 -1
  39. public/dist/wp.bundle.js +1 -1
  40. public/dist/wp.bundle.js.LICENSE +0 -14
  41. public/dist/wpUpdate.bundle.js +1 -1
  42. public/dist/wpUpdate.bundle.js.LICENSE +0 -14
  43. public/dist/wpVcSettings.bundle.css +1 -1
  44. public/dist/wpVcSettings.bundle.js +1 -1
  45. public/dist/wpVcSettings.bundle.js.LICENSE +0 -14
  46. public/dist/wpbackendswitch.bundle.js +1 -1
  47. public/dist/wpbase.bundle.js +1 -1
  48. public/sources/assetsLibrary/fullWidth/dist/fullWidth.bundle.js +1 -1
  49. readme.txt +111 -71
  50. vendor/autoload.php +1 -1
  51. vendor/composer/autoload_classmap.php +3 -3
  52. vendor/composer/autoload_real.php +4 -4
  53. vendor/composer/autoload_static.php +7 -7
  54. visualcomposer/Helpers/Assets.php +81 -0
  55. visualcomposer/Helpers/AssetsEnqueue.php +12 -2
  56. visualcomposer/Helpers/Hub/Update.php +20 -0
  57. visualcomposer/Helpers/License.php +1 -1
  58. visualcomposer/Helpers/Localizations.php +163 -67
  59. visualcomposer/Helpers/Token.php +1 -1
  60. visualcomposer/Helpers/Utm.php +5 -0
  61. visualcomposer/Modules/Assets/AssetBundleController.php +71 -0
  62. visualcomposer/Modules/Assets/AssetResetController.php +37 -26
  63. visualcomposer/Modules/Assets/EnqueueController.php +70 -19
  64. visualcomposer/Modules/Assets/FileController.php +14 -10
  65. visualcomposer/Modules/Assets/JsEnqueueController.php +13 -5
  66. visualcomposer/Modules/Assets/VcwbWpScripts.php +20 -0
  67. visualcomposer/Modules/Assets/VendorBundleController.php +0 -99
  68. visualcomposer/Modules/Editors/Frontend/BundleController.php +56 -29
  69. visualcomposer/Modules/Editors/FrontendLayoutSwitcher/BundleController.php +3 -1
  70. visualcomposer/Modules/FrontView/FrontVariablesController.php +8 -6
  71. visualcomposer/Modules/Hub/Addons/AddonsUpdater.php +31 -1
  72. visualcomposer/Modules/Hub/Addons/Teasers/TeasersDownloadController.php +1 -0
  73. visualcomposer/Modules/Hub/Pages/UpdateBePage.php +2 -1
  74. visualcomposer/Modules/Hub/Pages/UpdateFePage.php +1 -1
  75. visualcomposer/Modules/Hub/Templates/TemplatesUpdater.php +103 -26
  76. visualcomposer/Modules/Hub/UpdateController.php +1 -1
  77. visualcomposer/Modules/License/FeedbackController.php +54 -0
  78. visualcomposer/Modules/License/LicenseController.php +1 -3
  79. visualcomposer/Modules/License/Pages/GettingStarted.php +3 -8
  80. visualcomposer/Modules/License/Pages/GoPremium.php +44 -12
  81. visualcomposer/Modules/License/Pages/LicenseStatus.php +1 -0
  82. visualcomposer/Modules/License/Pages/ThemeActivation.php +0 -120
  83. visualcomposer/Modules/Settings/Pages/About.php +5 -9
  84. visualcomposer/Modules/Settings/Pages/CssJsSettings.php +2 -0
  85. visualcomposer/Modules/Settings/Pages/Settings.php +1 -5
  86. visualcomposer/Modules/Settings/Pages/SystemStatus.php +1 -0
  87. visualcomposer/Modules/System/Activation/Notice.php +0 -28
  88. visualcomposer/Modules/Vendors/DashboardController.php +57 -0
  89. visualcomposer/Modules/Vendors/Gutenberg/AttributeController.php +4 -2
  90. visualcomposer/Modules/Vendors/PluginsController.php +154 -0
  91. visualcomposer/Modules/Vendors/WpmlController.php +5 -1
  92. visualcomposer/resources/views/editor/frontend/fe-update-wrapper.php +2 -0
  93. visualcomposer/resources/views/editor/frontend/frontend.php +3 -2
  94. visualcomposer/resources/views/settings/pages/plugins/notice.php +0 -76
  95. visualcomposer/resources/views/vendors/dashboard.php +62 -0
  96. visualcomposer/resources/views/vendors/images/vc-logo.php +97 -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("|")+")?quot;);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+#x2F;.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+#x2F;.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("|")+")?quot;);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+#x2F;.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+#x2F;.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.isDefaultImag