Admin Columns - Version 3.2.7

Version Description

Release Date: September 25th, 2018

  • [Fixed] jQuery noConflict fixes for column settings page
  • [Improved] Post title column is now always available
  • [Improved] Disable autoloading for ACP options
Download this release

Release Info

Developer tschutter
Plugin Icon 128x128 Admin Columns
Version 3.2.7
Comparing to
See all releases

Code changes from version 3.2.3 to 3.2.7

Files changed (167) hide show
  1. api.php +5 -7
  2. assets/css/admin-page-columns.css +1 -1
  3. assets/css/table.css +1 -1
  4. assets/images/symbols.svg +52 -51
  5. assets/js/admin-general.js +1 -17
  6. assets/js/admin-general.js.map +1 -0
  7. assets/js/admin-page-columns.js +1 -156
  8. assets/js/admin-page-columns.js.map +1 -0
  9. assets/js/message-addon.js +0 -1
  10. assets/js/message-dismiss.js +0 -1
  11. assets/js/message-dismissible.js +0 -1
  12. assets/js/message-review.js +1 -1
  13. assets/js/message-review.js.map +1 -0
  14. assets/js/message.js +0 -5
  15. assets/js/notice-dismiss.js +0 -1
  16. assets/js/notice-dismissible.js +1 -1
  17. assets/js/notice-dismissible.js.map +1 -0
  18. assets/js/table.js +1 -11
  19. assets/js/table.js.map +1 -0
  20. assets/js/upgrade.js +0 -10
  21. bootstrap.php +4 -4
  22. classes/API.php +3 -3
  23. classes/Addon.php +0 -3
  24. classes/Admin.php +1 -2
  25. classes/Admin/Addon.php +19 -11
  26. classes/Admin/Addon/ACF.php +6 -0
  27. classes/Admin/Addons.php +0 -2
  28. classes/Admin/Help/Basics.php +14 -14
  29. classes/Admin/Help/Introduction.php +2 -2
  30. classes/Admin/Page.php +0 -5
  31. classes/Admin/Page/Addons.php +4 -8
  32. classes/Admin/Page/Columns.php +7 -12
  33. classes/Admin/Page/Settings.php +2 -2
  34. classes/Admin/Pages.php +0 -1
  35. classes/Admin/Promo.php +6 -7
  36. classes/AdminColumns.php +76 -13
  37. classes/Ajax/Handler.php +5 -3
  38. classes/Autoloader.php +10 -5
  39. classes/Autoloader/Underscore.php +7 -5
  40. classes/Builder.php +9 -0
  41. classes/Capabilities.php +8 -4
  42. classes/Check/AddonAvailable.php +3 -0
  43. classes/Check/Review.php +5 -4
  44. classes/Collection.php +3 -2
  45. classes/Column.php +15 -11
  46. classes/Column/Actions.php +4 -1
  47. classes/Column/Comment/Response.php +0 -1
  48. classes/Column/CustomField.php +6 -8
  49. classes/Column/Media/Author.php +1 -0
  50. classes/Column/Media/AuthorName.php +1 -1
  51. classes/Column/Media/AvailableSizes.php +6 -2
  52. classes/Column/Media/Date.php +1 -1
  53. classes/Column/Media/Taxonomy.php +1 -0
  54. classes/Column/Menu.php +4 -1
  55. classes/Column/Meta.php +4 -3
  56. classes/Column/Placeholder.php +0 -1
  57. classes/Column/Post/AuthorName.php +0 -1
  58. classes/Column/Post/CommentCount.php +0 -1
  59. classes/Column/Post/CommentStatus.php +1 -2
  60. classes/Column/Post/Depth.php +1 -2
  61. classes/Column/Post/EstimatedReadingTime.php +2 -0
  62. classes/Column/Post/LastModifiedAuthor.php +1 -2
  63. classes/Column/Post/Path.php +0 -1
  64. classes/Column/Post/Permalink.php +0 -1
  65. classes/Column/Post/Shortcodes.php +0 -1
  66. classes/Column/Post/Title.php +0 -4
  67. classes/Column/Relation.php +0 -1
  68. classes/Column/Taxonomy.php +0 -1
  69. classes/Column/User/PostCount.php +4 -1
  70. classes/Dependencies.php +0 -3
  71. classes/Form/Element.php +3 -6
  72. classes/Groups.php +2 -3
  73. classes/Helper.php +0 -2
  74. classes/Helper/Arrays.php +2 -3
  75. classes/Helper/Date.php +2 -2
  76. classes/Helper/File.php +3 -3
  77. classes/Helper/Html.php +16 -9
  78. classes/Helper/Icon.php +9 -3
  79. classes/Helper/Image.php +4 -2
  80. classes/Helper/Network.php +2 -2
  81. classes/Helper/Post.php +1 -0
  82. classes/Helper/Strings.php +19 -6
  83. classes/Helper/Taxonomy.php +43 -20
  84. classes/Helper/User.php +2 -0
  85. classes/ListScreen.php +21 -26
  86. classes/ListScreen/Comment.php +4 -2
  87. classes/ListScreen/Media.php +9 -2
  88. classes/ListScreen/Post.php +9 -2
  89. classes/ListScreen/User.php +12 -2
  90. classes/ListScreenWP.php +0 -6
  91. classes/Message.php +6 -5
  92. classes/Message/Plugin.php +0 -2
  93. classes/Meta/Query.php +30 -6
  94. classes/Plugin.php +8 -8
  95. classes/Plugin/Update.php +0 -3
  96. classes/Plugin/Update/V3007.php +1 -1
  97. classes/Plugin/Update/V3201.php +5 -2
  98. classes/Plugin/Updater.php +0 -1
  99. classes/Preferences.php +0 -5
  100. classes/Screen.php +8 -16
  101. classes/Screen/QuickEdit.php +75 -0
  102. classes/Settings/Column.php +2 -14
  103. classes/Settings/Column/CustomField.php +1 -1
  104. classes/Settings/Column/CustomFieldType.php +0 -2
  105. classes/Settings/Column/Date.php +1 -0
  106. classes/Settings/Column/DateTimeFormat.php +1 -0
  107. classes/Settings/Column/ExifData.php +0 -3
  108. classes/Settings/Column/Label.php +0 -1
  109. classes/Settings/Column/NumberOfItems.php +1 -1
  110. classes/Settings/Column/Post.php +1 -1
  111. classes/Settings/Column/PostFormatIcon.php +3 -3
  112. classes/Settings/Column/StatusIcon.php +1 -1
  113. classes/Settings/Column/Type.php +0 -3
  114. classes/Settings/Column/Width.php +1 -1
  115. classes/Settings/Column/WordLimit.php +2 -2
  116. classes/Settings/Column/WordsPerMinute.php +1 -1
  117. classes/Storage/Option.php +2 -0
  118. classes/Storage/Timestamp.php +3 -1
  119. classes/Storage/UserMeta.php +5 -1
  120. classes/Table/Button.php +201 -0
  121. classes/Table/Screen.php +208 -185
  122. classes/ThirdParty/ACF.php +2 -1
  123. classes/ThirdParty/WPML.php +0 -3
  124. classes/Transient.php +3 -0
  125. classes/Transient/User.php +23 -0
  126. classes/View.php +1 -4
  127. codepress-admin-columns.php +2 -2
  128. languages/codepress-admin-columns-ar_AR.mo +0 -0
  129. languages/codepress-admin-columns-ar_AR.po +486 -506
  130. languages/codepress-admin-columns-bt_BR.mo +0 -0
  131. languages/codepress-admin-columns-bt_BR.po +495 -517
  132. languages/codepress-admin-columns-da_DK.mo +0 -0
  133. languages/codepress-admin-columns-da_DK.po +486 -506
  134. languages/codepress-admin-columns-de_DE.mo +0 -0
  135. languages/codepress-admin-columns-de_DE.po +480 -500
  136. languages/codepress-admin-columns-en_NZ.mo +0 -0
  137. languages/codepress-admin-columns-en_NZ.po +480 -500
  138. languages/codepress-admin-columns-es_ES.mo +0 -0
  139. languages/codepress-admin-columns-es_ES.po +486 -506
  140. languages/codepress-admin-columns-fa_IR.mo +0 -0
  141. languages/codepress-admin-columns-fa_IR.po +486 -506
  142. languages/codepress-admin-columns-fr_FR.mo +0 -0
  143. languages/codepress-admin-columns-fr_FR.po +498 -520
  144. languages/codepress-admin-columns-he_IL.mo +0 -0
  145. languages/codepress-admin-columns-he_IL.po +481 -501
  146. languages/codepress-admin-columns-hu_HU.mo +0 -0
  147. languages/codepress-admin-columns-hu_HU.po +486 -506
  148. languages/codepress-admin-columns-it_IT.mo +0 -0
  149. languages/codepress-admin-columns-it_IT.po +502 -524
  150. languages/codepress-admin-columns-ja_JA.mo +0 -0
  151. languages/codepress-admin-columns-ja_JA.po +488 -508
  152. languages/codepress-admin-columns-nl_NL.mo +0 -0
  153. languages/codepress-admin-columns-nl_NL.po +497 -519
  154. languages/codepress-admin-columns-pl_PL.mo +0 -0
  155. languages/codepress-admin-columns-pl_PL.po +486 -506
  156. languages/codepress-admin-columns-ro_RO.mo +0 -0
  157. languages/codepress-admin-columns-ro_RO.po +485 -505
  158. languages/codepress-admin-columns-ru_RU.mo +0 -0
  159. languages/codepress-admin-columns-ru_RU.po +565 -585
  160. languages/codepress-admin-columns-sv_SE.mo +0 -0
  161. languages/codepress-admin-columns-sv_SE.po +664 -684
  162. languages/codepress-admin-columns-zh_CN.mo +0 -0
  163. languages/codepress-admin-columns-zh_CN.po +486 -506
  164. languages/codepress-admin-columns.pot +179 -183
  165. readme.txt +28 -4
  166. templates/settings/header-icon.php +3 -3
  167. templates/settings/header.php +1 -1
api.php CHANGED
@@ -18,6 +18,8 @@ function ac_is_pro_active() {
18
/**
19
* Get the url where the Admin Columns website is hosted
20
*
21
* @return string
22
*/
23
function ac_get_site_url( $path = '' ) {
@@ -36,6 +38,7 @@ function ac_get_site_url( $path = '' ) {
36
* @param string $path
37
* @param string $utm_medium
38
* @param string $utm_content
39
*
40
* @return string
41
*/
@@ -67,7 +70,6 @@ function ac_get_site_utm_url( $path, $utm_medium, $utm_content = null, $utm_camp
67
68
/**
69
* Admin Columns Twitter username
70
- *
71
* @return string
72
*/
73
function ac_get_twitter_handle() {
@@ -76,7 +78,6 @@ function ac_get_twitter_handle() {
76
77
/**
78
* Simple helper methods for AC_Column objects
79
- *
80
* @since 3.0
81
*/
82
function ac_helper() {
@@ -86,17 +87,14 @@ function ac_helper() {
86
/**
87
* Manually set the columns for a list screen
88
* This overrides the database settings and thus renders the settings screen for this list screen useless
89
- *
90
* If you like to register a column of your own please have a look at our documentation.
91
* We also have a free start-kit available, which contains all the necessary files.
92
- *
93
* Documentation: https://www.admincolumns.com/documentation/developer-docs/creating-new-column-type/
94
* Starter-kit: https://github.com/codepress/ac-column-template/
95
- *
96
* @since 2.2
97
*
98
- * @param string|array $list_screen_key List screen key or keys
99
- * @param array $column_data
100
*/
101
function ac_register_columns( $list_screen_keys, $column_data ) {
102
AC()->api()->load_columndata( $list_screen_keys, $column_data );
18
/**
19
* Get the url where the Admin Columns website is hosted
20
*
21
+ * @param string $path
22
+ *
23
* @return string
24
*/
25
function ac_get_site_url( $path = '' ) {
38
* @param string $path
39
* @param string $utm_medium
40
* @param string $utm_content
41
+ * @param bool $utm_campaign
42
*
43
* @return string
44
*/
70
71
/**
72
* Admin Columns Twitter username
73
* @return string
74
*/
75
function ac_get_twitter_handle() {
78
79
/**
80
* Simple helper methods for AC_Column objects
81
* @since 3.0
82
*/
83
function ac_helper() {
87
/**
88
* Manually set the columns for a list screen
89
* This overrides the database settings and thus renders the settings screen for this list screen useless
90
* If you like to register a column of your own please have a look at our documentation.
91
* We also have a free start-kit available, which contains all the necessary files.
92
* Documentation: https://www.admincolumns.com/documentation/developer-docs/creating-new-column-type/
93
* Starter-kit: https://github.com/codepress/ac-column-template/
94
* @since 2.2
95
*
96
+ * @param array $list_screen_keys
97
+ * @param array $column_data
98
*/
99
function ac_register_columns( $list_screen_keys, $column_data ) {
100
AC()->api()->load_columndata( $list_screen_keys, $column_data );
assets/css/admin-page-columns.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4)}.ui-sortable-helper .column-meta{border-width:1px}.ac-column .comment-grey-bubble{height:16px;width:16px}.ac-column .comment-grey-bubble:before{content:'\f101';font:normal 20px/.5 'dashicons';speak:none;display:inline-block;padding:0;top:5px;left:0;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important}.rtl .ac-column .comment-grey-bubble:before{right:0;left:auto}.ac-admin{margin-right:300px;max-width:740px}.ac-admin #add-new-column-template{display:none}.ac-admin .ac-left{float:left;width:100%}.ac-admin .ac-left .column-footer a.add_column{padding-left:16px;padding-right:16px;text-align:center}.ac-admin .ac-left .column-footer a.submit.save,.ac-admin .ac-left .column-footer a.submit.update{padding-left:20px;padding-right:20px;text-align:center}.ac-admin .ac-left .column-footer .submit.save{display:inline-block}.ac-admin .ac-left .column-footer .submit.update{display:none}.ac-admin .ac-right{float:right;margin-right:-300px;width:280px}.ac-admin .ac-right .ac-right-inside.fixed{width:280px}.ac-admin .column-footer .spinner{display:none}.ac-admin.saving .ac-right-inside .spinner{visibility:visible}.ac-admin.saving .column-footer .spinner{margin:4px 0 0;background-position:center center;float:none;display:inline-block;visibility:visible}.ac-admin.stored .ac-right .sidebox.form-actions .submit.save{display:none}.ac-admin.stored .ac-right .sidebox.form-actions .submit.update{display:block}.ac-admin.stored .ac-right .sidebox.form-actions .form-reset{display:block}.ac-admin.stored .column-footer .submit.save{display:none}.ac-admin.stored .column-footer .submit.update{display:inline-block}.ac-left .ac-notice{background:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin-bottom:15px;padding:1px 12px}.ac-left .ajax-message{display:none}.ac-left .ac-message{margin-top:0 !important}.ac-left .ac-boxes .ac-columns form{box-shadow:0 1px 3px rgba(0,0,0,0.1);margin:0}.ac-left .ac-boxes.disabled{opacity:0.7}.ac-left .ac-boxes.disabled a.remove-button,.ac-left .ac-boxes.disabled a.clone-button,.ac-left .ac-boxes.disabled .column_action{display:none !important}.ac-left .ac-boxes.disabled .column-meta td.column_sort{display:none}.ac-left .ac-boxes.disabled .column-meta td.column_label{padding-left:10px}.ac-left .ac-boxes.disabled .meta span{cursor:default !important;opacity:0.45}.ac-left .ac-boxes.disabled .meta span:before{color:#808080 !important}.ac-left .ac-boxes.disabled .meta span.on{opacity:1}.ac-left .ac-boxes.disabled .column-footer{display:none}.ac-column a{cursor:pointer}.ac-column a:focus,.ac-column a:active{box-shadow:none}.ac-column.loading .ac-column-body>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.ac-column.loading .ac-column-body:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:0.5}.ac-column.opened{margin-bottom:-1px}.ac-column.opened .ac-column-header{background-color:#eaeaea;border-color:#ccc}.ac-column.opened .ac-column-header:hover .column_label .inner>a.close-button{display:inline-block}.ac-column.opened .ac-column-header .column_edit:after{content:"\f142"}.ac-column.opened .ac-column-header table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td a{color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td.column_sort span{color:#9b9b9b}.ac-column.opened .ac-column-header table td.column_label .meta span{color:#8d8d8d;text-shadow:none}.ac-column.opened .ac-column-header table td.column_label a.edit-button{display:none}.ac-column.opened .ac-column-header table td.column_type{color:#5C5C5C}.ac-column.opened .ac-column-header table td.column_edit:after{color:#9b9b9b}.ac-column.opened .ac-column-body{border:1px solid #ccc;border-top:1px solid #d4d4d4}.ac-column-setting{width:100%;clear:both;border-spacing:0;margin:0;border-top:1px solid #e8e8e8}.ac-column-setting:first-child{border-top:0}.ac-column-setting tr.hide{display:none}.ac-column-setting tr td{vertical-align:top;border:none;padding:0;background:#fff}.ac-column-setting td.col-label{position:relative;line-height:24px;overflow:visible;background:#f5f5f5;border-right:1px solid #dedede;width:34%;padding:10px;padding-left:12px}.ac-column-setting td.col-label span.label{font-weight:bold;display:block;color:#333333;font-style:normal}.ac-column-setting td.col-label div.tooltip{font-size:12px;font-style:normal;line-height:16px;margin:0 !important;display:none;position:absolute;max-width:200px;z-index:99;top:40px;left:0;font-weight:normal;color:#fff;background-color:#333;box-shadow:0 1px 3px rgba(0,0,0,0.2);padding:.618em 1em;border-radius:3px}.ac-column-setting td.col-label div.tooltip em{margin-top:3px;display:block;color:#999}.ac-column-setting td.col-input div.msg{margin-top:5px;display:none;color:#333;padding:6px 10px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.ac-column-setting td.col-input div.msg p{margin:0.5em 0 1em 0}.ac-column-setting td.col-input div.msg a.button{margin-bottom:1em}.ac-column-setting td.col-input .help-msg{margin:10px 0 0;color:#666;font-size:13px}.ac-column-setting .ac-column-setting td.col_label{background-color:#fcfcfc}.ac-column-setting .ac-column-setting td.col_label .label{font-size:12px;color:#595959}.ac-column-setting span.ac-setting-error{display:block;margin:0;background-color:#ffebe8;padding:7px 10px}.ac-column-setting-actions .col-settings p{padding-left:10px}.ac-column-setting-actions .col-settings a{text-decoration:none}.ac-column-setting-actions .col-settings a.close-button,.ac-column-setting-actions .col-settings a.clone-button{margin-right:10px}.ac-column-setting-actions .col-settings a.remove-button{color:#a00;text-decoration:none;text-shadow:none;margin-right:5px}.ac-column-setting-actions .col-settings a.remove-button:hover{color:#f00}.ac-setting-input{padding:10px;line-height:24px}.ac-setting-input input,.ac-setting-input select{width:99.95%}.ac-setting-input input[type=checkbox],.ac-setting-input input[type=radio]{width:auto;margin-right:4px}.ac-setting-input .checkbox-labels>label,.ac-setting-input .radio-labels>label{padding-right:10px;vertical-align:top}.ac-setting-input .checkbox-labels.vertical input[type=radio],.ac-setting-input .radio-labels.vertical input[type=radio]{margin-right:6px}.ac-setting-input .checkbox-labels.vertical>label,.ac-setting-input .radio-labels.vertical>label{display:block;margin-bottom:5px}.ac-setting-input-date .ac-setting-input-date__custom{display:inline-block;width:71px;margin-right:5px}.ac-setting-input-date .ac-setting-input-date__value{display:inline-block;width:165px}.ac-setting-input-date .ac-setting-input-date__example{margin-left:8px}.ac-setting-input-date .ac-setting-input-date__example .spinner{float:none;vertical-align:top}.ac-setting-input-date code{display:inline-block;min-width:60px;padding-top:0;padding-bottom:0;text-align:center}.ac-setting-input-width{position:relative}.ac-setting-input-width div.description{font-size:12px;width:68px;position:absolute;display:table}.ac-setting-input-width div.description input{margin:0;text-align:right;vertical-align:middle;display:table-cell}.ac-setting-input-width div.description input::-webkit-input-placeholder{font-size:13px}.ac-setting-input-width div.description input:-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input::-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input:-ms-input-placeholder{font-size:13px}.ac-setting-input-width div.description span{background:#efefef;display:table-cell;width:26px;line-height:23px;text-align:center;vertical-align:middle;border:1px solid #dedede;border-left:none;color:#505050}.ac-setting-input-width div.width-slider{margin-left:82px;margin-right:88px;position:relative;top:8px}.ac-setting-input-width div.width-slider .ui-slider-handle{cursor:ew-resize}.ac-setting-input-width div.unit-select{position:absolute;top:11px;right:6px;width:82px;text-align:right}.ac-setting-input-width div.unit-select .radio-labels{padding:0}.ac-setting-input-width div.unit-select .radio-labels label{padding:0;margin-right:6px}.ac-setting-input-width div.unit-select .radio-labels label input{margin-right:2px}.ac-column-setting--pro .col-label .dashicons{color:#A99D9F;transform:scale(0.9, 0.9);margin-top:2px;display:inline-block;margin-right:3px;cursor:pointer}.ac-column-setting--pro .radio-labels{display:inline-block}.ac-column-setting--pro .radio-labels input{background-color:#F0F0F0}.ac-column-setting--pro .radio-labels input:checked:before{background-color:#808080}.ac-column-setting--pro .ac-setting-input{background:#f5f5f5}.ac-column-setting--pro .acp-button{background:#e9426e;color:#fff;border:none;border-radius:3px;padding:3px 10px;letter-spacing:2px;cursor:pointer;font-size:13px;vertical-align:middle;margin-top:-1px;margin-left:5px}.ac-column-header{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.ac-column-header:nth-child(2n) .column-meta{background:#f9f9f9}.ac-column-header img{margin-right:3px}.ac-column-header table{border:none;background:transparent;border-radius:0}.ac-column-header table tr td{vertical-align:top;height:18px;padding:12px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}.ac-column-header table tr td.column_sort{position:relative;cursor:move;padding:9px 16px}.ac-column-header table tr td.column_sort span.cpacicon-move{position:absolute;top:12px;left:12px;font-size:22px;display:inline-block;color:#bdbdbd}.ac-column-header table tr td.column_label{width:70%;font-weight:bold;vertical-align:middle;position:relative;padding:15px 0}.ac-column-header table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.ac-column-header table tr td.column_label .inner .toggle img{max-height:20px}.ac-column-header table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.ac-column-header table tr td.column_label .inner>a:hover{color:#333333}.ac-column-header table tr td.column_label .inner>a.edit-button,.ac-column-header table tr td.column_label .inner>a.close-button,.ac-column-header table tr td.column_label .inner>a.remove-button,.ac-column-header table tr td.column_label .inner>a.clone-button{display:none;color:#0074a2;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px}.ac-column-header table tr td.column_label .inner>a.edit-button:hover,.ac-column-header table tr td.column_label .inner>a.close-button:hover,.ac-column-header table tr td.column_label .inner>a.remove-button:hover,.ac-column-header table tr td.column_label .inner>a.clone-button:hover{color:#2ea2cc}.ac-column-header table tr td.column_label .inner>a.remove-button{color:#a00}.ac-column-header table tr td.column_label .inner>a.remove-button:hover{color:#f00}.ac-column-header table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:normal;color:#b2b2b2;font-size:12px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting{cursor:pointer;margin-left:4px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-heading-setting--width{margin-right:3px;cursor:auto;color:#737373}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator{margin-left:3px;font-size:24px;line-height:17px;width:22px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.ac-column-indicator--filter{font-size:20px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on,.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on span{color:#21759B}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.disabled{cursor:default}.ac-column-header table tr td.column_type{width:auto;min-width:120px;text-align:right;color:#999999;padding-right:0}.ac-column-header table tr td.column_type .inner{display:inline-block;height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:120px;vertical-align:middle}.ac-column-header table tr td.column_type .inner a{margin-top:2px;color:#999999}.ac-column-header table tr td.column_edit{width:38px;min-width:38px;text-align:center;cursor:pointer}.ac-column-header table tr td.column_edit:after{right:0;content:"\f140";font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:0;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important;color:#b4b9be}.ac-column-header table tr:hover td.column_sort span{color:#9b9b9b}.ac-column-header:hover .column_label .inner>a.remove-button,.ac-column-header:hover .column_label .inner>a.edit-button,.ac-column-header:hover .column_label .inner>a.clone-button{display:inline-block}.ac-column-header span.vers{padding-top:2px}.ac-column-body{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.column-footer{background:#EAF2FA;border:1px solid #c7d7e2;min-height:26px;padding:8px;overflow:hidden}.column-footer .order-message{color:#7A9BBE;float:left;font-family:Comic Sans MS, sans-serif;font-size:11px;height:13px;position:relative;line-height:1em;margin-left:4px;padding:7px 0 0 22px;text-shadow:0 1px 0 #FFFFFF;display:inline-block}.column-footer .order-message__icon{display:inline-block;position:absolute;left:0;top:0}.column-footer .button-container{float:right;display:inline-block;min-height:29px}.column-footer .button-container a{display:inline-block;margin-left:5px;vertical-align:top}.column-footer .button-container a.clear-columns{color:#BC0B0B;text-decoration:none;margin-right:8px;margin-top:5px}.column-footer .button-container a.clear-columns:hover{color:red}.ac-right .sidebox{background:none repeat scroll 0 0 #FFFFFF;border:1px solid #dedede;border-radius:0 0 0 0;box-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative;margin-bottom:14px}.ac-right .sidebox h3{padding:10px;margin:0;position:relative}.ac-right .sidebox h3.title{font-family:Georgia, "Times New Roman", "Bitstream Charter", Times, serif;font-size:15px;font-weight:normal;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:-webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));background-image:-webkit-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-moz-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-o-linear-gradient(bottom, #ececec, #f9f9f9);background-image:linear-gradient(to top, #ececec, #f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.ac-right .sidebox h3 span.left{position:relative;background:#fff;z-index:2;padding-right:8px;float:none}.ac-right .sidebox h3 span.contenttype{display:block;line-height:20px;font-size:12px;text-transform:uppercase;color:#808080;margin-top:4px}.ac-right .sidebox h3 span.contenttype.right{position:absolute;display:inline-block;z-index:1;right:10px;text-align:right;margin-top:0}.ac-right .sidebox .inside{padding:10px}.ac-right .sidebox .inside p{margin-top:0}.ac-right .sidebox.form-actions .form-reset{display:none;border-bottom:1px solid #F5F5F5;padding:8px}.ac-right .sidebox.form-actions .reset-column-type{text-decoration:none;color:#BC0B0B;line-height:25px;display:inline-block;background:none;border:none;padding:0;font-size:13px;cursor:pointer;margin:0}.ac-right .sidebox.form-actions .reset-column-type:hover{color:red}.ac-right .sidebox.form-actions .form-update{padding:8px;overflow:hidden}.ac-right .sidebox.form-actions .submit{display:none;width:100%;height:28px;line-height:28px;text-align:center}.ac-right .sidebox.form-actions .submit.save{display:block}.ac-right .sidebox#direct-feedback #feedback-support,.ac-right .sidebox#direct-feedback #feedback-rate{display:none}.ac-right .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #CCC;width:48%;height:64px;text-align:center;line-height:64px;font-weight:bold;color:#222;display:inline-block;text-decoration:none}.ac-right .sidebox#direct-feedback .inside>a:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.ac-right .sidebox#direct-feedback .inside form input[type="submit"]{display:inline-block;float:right;border-radius:4px;border:1px solid #CCC;height:32px;text-align:center;line-height:32px;font-weight:bold;font-size:12px;padding:0 32px;color:#CCC;background:none;text-decoration:none;cursor:pointer}.ac-right .sidebox#direct-feedback .inside form input[type="submit"]:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.ac-right .sidebox#direct-feedback .inside ul{margin:0}.ac-right .sidebox#direct-feedback .inside ul.share li{margin:0;display:block;float:left;margin-left:9px;width:30%}.ac-right .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #CCC;border-radius:4px;display:block}.ac-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.ac-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}#ac-pro-version{background:none}#ac-pro-version .padding-box{padding:20px 10px 10px;background:#3d4350;color:#fff}#ac-pro-version .nopadding{margin:0;padding:0}#ac-pro-version h2{color:#fff}#ac-pro-version h3{font-size:34px;line-height:40px}#ac-pro-version h3 a{text-decoration:none;color:#fff}#ac-pro-version h3 a span{color:#e9426e}#ac-pro-version sup{text-decoration:line-through;font-size:13px;color:#ccc}#ac-pro-version .ac-pro-prices{color:#ffcac0;text-decoration:none}#ac-pro-version .ac-pro-prices:hover{text-decoration:underline}#ac-pro-version .ac-pro-prices:hover sup{text-decoration:none}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px;cursor:pointer}#ac-pro-version .more{color:#FFEE85;text-decoration:none}#ac-pro-version .more:hover{text-decoration:underline}#ac-pro-version p.center{text-align:center}#ac-pro-version p.nomargin{margin-bottom:0}#ac-pro-version ul.features a:hover{text-decoration:underline}#ac-pro-version ul li{padding-bottom:3px}#ac-pro-version ul li a{color:#fff;text-decoration:none;padding-left:25px;position:relative;display:block}#ac-pro-version ul li a:before{content:'\2713';font-weight:bold;font-size:16px;position:absolute;left:0;top:0}#ac-pro-version ul li.acp-integration{padding:0;min-height:23px;line-height:23px}#ac-pro-version ul li.acp-integration img{height:23px;display:inline-block;vertical-align:middle;margin-right:3px}#ac-pro-version ul li.acp-integration img.ac-addon-pods{margin-top:-4px}#ac-pro-version ul li.acp-integration img.ac-addon-types{height:18px}#ac-pro-version ul li.acp-integration img.cac-addon-acf{margin-top:-4px;height:15px}#ac-pro-version ul li.acp-integration a:before{content:'+'}#ac-pro-version .padding-box.ac-pro-deal{color:#3d4350;padding-bottom:20px;text-align:center;background:#ffef8f}#ac-pro-version .padding-box.ac-pro-deal h3{font-size:20px;line-height:26px;padding-top:0;padding-bottom:0;margin-bottom:18px}#ac-pro-version .padding-box.ac-pro-deal a.acp-button{font-size:16px}#ac-pro-version .padding-box.ac-pro-newsletter{background:#fff;color:#3d4350}#ac-pro-version .padding-box.ac-pro-newsletter h3{font-size:20px;padding-bottom:0}#ac-pro-version .padding-box.ac-pro-newsletter input{width:100%;margin-bottom:8px}#ac-pro-version .padding-box.ac-pro-newsletter .acp-button{margin-top:12px;margin-bottom:0;padding:7px 20px}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px}@media only screen and (max-width: 900px){.ac-admin{margin-right:0}.ac-admin .menu{float:none}.ac-admin .ac-left{float:none}.ac-admin .ac-right{float:none;margin-top:0;margin-right:0;width:100%}}.ac-modal{position:fixed;overflow:auto;height:100%;width:100%;z-index:100000;top:0;background:rgba(0,0,0,0.5);display:none}.ac-modal.-active{display:block}.ac-modal__dialog{border:1px solid #C8C8C8;background:#fff;position:fixed;top:200px;left:50%;transform:translateX(-50%);width:650px;max-width:90%}.ac-modal__dialog__header{background:#f5f5f5;font-size:18px;color:#807F7F;padding:17px 25px}.ac-modal__dialog__close{display:inline-block;padding:0;margin:0;border:none;background:none;position:absolute;right:0;top:0;width:52px;height:52px;text-align:center;color:#989797;cursor:pointer}.ac-modal__dialog__close:hover{background:#e1e1e1}.ac-modal__dialog__content{padding:25px}.ac-modal__dialog__content__lead{font-weight:bold;font-size:15px;margin-top:5px;margin-bottom:25px;color:#6D6D6D}.ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:0.5px;margin-bottom:10px}.ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal__dialog__footer{padding:20px 24px;border-top:1px solid #DBDBDB;color:#979696;font-size:16px}.ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal__dialog__footer span{display:inline-block;margin-top:4px;margin-left:10px;font-size:14px}.ac-modal__dialog__mascot{position:absolute;right:20px;bottom:20px;width:150px;height:225px;z-index:4}@media only screen and (max-width: 720px){.ac-modal__dialog__mascot{display:none}.ac-modal__dialog__footer__content{display:block}.ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}
1
+ @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4)}.ui-sortable-helper .column-meta{border-width:1px}.ac-column .comment-grey-bubble{height:16px;width:16px}.ac-column .comment-grey-bubble:before{content:'\f101';font:normal 20px/.5 'dashicons';speak:none;display:inline-block;padding:0;top:5px;left:0;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important}.rtl .ac-column .comment-grey-bubble:before{right:0;left:auto}.ac-admin{margin-right:300px;max-width:740px}.ac-admin #add-new-column-template{display:none}.ac-admin .ac-left{float:left;width:100%}.ac-admin .ac-left .column-footer a.add_column{padding-left:16px;padding-right:16px;text-align:center}.ac-admin .ac-left .column-footer a.submit.save,.ac-admin .ac-left .column-footer a.submit.update{padding-left:20px;padding-right:20px;text-align:center}.ac-admin .ac-left .column-footer .submit.save{display:inline-block}.ac-admin .ac-left .column-footer .submit.update{display:none}.ac-admin .ac-right{float:right;margin-right:-300px;width:280px}.ac-admin .ac-right .ac-right-inside.fixed{width:280px}.ac-admin .column-footer .spinner{display:none}.ac-admin.saving .ac-right-inside .spinner{visibility:visible}.ac-admin.saving .column-footer .spinner{margin:4px 0 0;background-position:center center;float:none;display:inline-block;visibility:visible}.ac-admin.stored .ac-right .sidebox.form-actions .submit.save{display:none}.ac-admin.stored .ac-right .sidebox.form-actions .submit.update{display:block}.ac-admin.stored .ac-right .sidebox.form-actions .form-reset{display:block}.ac-admin.stored .column-footer .submit.save{display:none}.ac-admin.stored .column-footer .submit.update{display:inline-block}.ac-left .ac-notice{background:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin-bottom:15px;padding:1px 12px}.ac-left .ajax-message{display:none}.ac-left .ac-message{margin-top:0 !important}.ac-left .ac-boxes .ac-columns form{box-shadow:0 1px 3px rgba(0,0,0,0.1);margin:0}.ac-column a{cursor:pointer}.ac-column a:focus,.ac-column a:active{box-shadow:none}.ac-column.loading .ac-column-body>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.ac-column.loading .ac-column-body:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:0.5}.ac-column.opened{margin-bottom:-1px}.ac-column.opened .ac-column-header{background-color:#eaeaea;border-color:#ccc}.ac-column.opened .ac-column-header:hover .column_label .inner>a.close-button{display:inline-block}.ac-column.opened .ac-column-header .column_edit:after{content:"\f142"}.ac-column.opened .ac-column-header table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td a{color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td.column_sort span{color:#9b9b9b}.ac-column.opened .ac-column-header table td.column_label .meta span{color:#8d8d8d;text-shadow:none}.ac-column.opened .ac-column-header table td.column_label a.edit-button{display:none}.ac-column.opened .ac-column-header table td.column_type{color:#5C5C5C}.ac-column.opened .ac-column-header table td.column_edit:after{color:#9b9b9b}.ac-column.opened .ac-column-body{border:1px solid #ccc;border-top:1px solid #d4d4d4}.ac-column.disabled,.boxes.disabled .ac-column{opacity:0.7}.ac-column.disabled a.remove-button,.ac-column.disabled a.clone-button,.ac-column.disabled .column_action,.boxes.disabled .ac-column a.remove-button,.boxes.disabled .ac-column a.clone-button,.boxes.disabled .ac-column .column_action{display:none !important}.ac-column.disabled .column-meta td.column_sort,.boxes.disabled .ac-column .column-meta td.column_sort{display:none}.ac-column.disabled .column-meta td.column_label,.boxes.disabled .ac-column .column-meta td.column_label{padding-left:10px}.ac-column.disabled .meta span,.boxes.disabled .ac-column .meta span{cursor:default !important;opacity:0.45}.ac-column.disabled .meta span:before,.boxes.disabled .ac-column .meta span:before{color:#808080 !important}.ac-column.disabled .meta span.on,.boxes.disabled .ac-column .meta span.on{opacity:1}.ac-column.disabled .column-footer,.boxes.disabled .ac-column .column-footer{display:none}.ac-column.disabled .ac-column-body:before,.boxes.disabled .ac-column .ac-column-body:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:0.3;cursor:not-allowed}.ac-column-setting{width:100%;clear:both;border-spacing:0;margin:0;border-top:1px solid #e8e8e8}.ac-column-setting:first-child{border-top:0}.ac-column-setting tr.hide{display:none}.ac-column-setting tr td{vertical-align:top;border:none;padding:0;background:#fff}.ac-column-setting td.col-label{position:relative;line-height:24px;overflow:visible;background:#f5f5f5;border-right:1px solid #dedede;width:34%;padding:10px;padding-left:12px}.ac-column-setting td.col-label span.label{font-weight:bold;display:block;color:#333333;font-style:normal}.ac-column-setting td.col-label div.tooltip{font-size:12px;font-style:normal;line-height:16px;margin:0 !important;display:none;position:absolute;max-width:200px;z-index:99;top:40px;left:0;font-weight:normal;color:#fff;background-color:#333;box-shadow:0 1px 3px rgba(0,0,0,0.2);padding:.618em 1em;border-radius:3px}.ac-column-setting td.col-label div.tooltip em{margin-top:3px;display:block;color:#999}.ac-column-setting td.col-input div.msg{margin-top:5px;display:none;color:#333;padding:6px 10px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.ac-column-setting td.col-input div.msg p{margin:0.5em 0 1em 0}.ac-column-setting td.col-input div.msg a.button{margin-bottom:1em}.ac-column-setting td.col-input .help-msg{margin:10px 0 0;color:#666;font-size:13px}.ac-column-setting .ac-column-setting td.col_label{background-color:#fcfcfc}.ac-column-setting .ac-column-setting td.col_label .label{font-size:12px;color:#595959}.ac-column-setting span.ac-setting-error{display:block;margin:0;background-color:#ffebe8;padding:7px 10px}.ac-column-setting-actions .col-settings p{padding-left:10px}.ac-column-setting-actions .col-settings a{text-decoration:none}.ac-column-setting-actions .col-settings a.close-button,.ac-column-setting-actions .col-settings a.clone-button{margin-right:10px}.ac-column-setting-actions .col-settings a.remove-button{color:#a00;text-decoration:none;text-shadow:none;margin-right:5px}.ac-column-setting-actions .col-settings a.remove-button:hover{color:#f00}.ac-setting-input{padding:10px;line-height:24px}.ac-setting-input input,.ac-setting-input select{width:99.95%}.ac-setting-input input[type=checkbox],.ac-setting-input input[type=radio]{width:auto;margin-right:4px}.ac-setting-input .checkbox-labels>label,.ac-setting-input .radio-labels>label{padding-right:10px;vertical-align:top}.ac-setting-input .checkbox-labels.vertical input[type=radio],.ac-setting-input .radio-labels.vertical input[type=radio]{margin-right:6px}.ac-setting-input .checkbox-labels.vertical>label,.ac-setting-input .radio-labels.vertical>label{display:block;margin-bottom:5px}.ac-setting-input-date .ac-setting-input-date__custom{display:inline-block;width:71px;margin-right:5px}.ac-setting-input-date .ac-setting-input-date__value{display:inline-block;width:165px}.ac-setting-input-date .ac-setting-input-date__example{margin-left:8px}.ac-setting-input-date .ac-setting-input-date__example .spinner{float:none;vertical-align:top}.ac-setting-input-date code{display:inline-block;min-width:60px;padding-top:0;padding-bottom:0;text-align:center}.ac-setting-input-width{position:relative}.ac-setting-input-width div.description{font-size:12px;width:68px;position:absolute;display:table}.ac-setting-input-width div.description input{margin:0;text-align:right;vertical-align:middle;display:table-cell}.ac-setting-input-width div.description input::-webkit-input-placeholder{font-size:13px}.ac-setting-input-width div.description input:-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input::-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input:-ms-input-placeholder{font-size:13px}.ac-setting-input-width div.description span{background:#efefef;display:table-cell;width:26px;line-height:23px;text-align:center;vertical-align:middle;border:1px solid #dedede;border-left:none;color:#505050}.ac-setting-input-width div.width-slider{margin-left:82px;margin-right:88px;position:relative;top:8px}.ac-setting-input-width div.width-slider .ui-slider-handle{cursor:ew-resize}.ac-setting-input-width div.unit-select{position:absolute;top:11px;right:6px;width:82px;text-align:right}.ac-setting-input-width div.unit-select .radio-labels{padding:0}.ac-setting-input-width div.unit-select .radio-labels label{padding:0;margin-right:6px}.ac-setting-input-width div.unit-select .radio-labels label input{margin-right:2px}.ac-column-setting--pro .col-label .dashicons{color:#A99D9F;transform:scale(0.9, 0.9);margin-top:2px;display:inline-block;margin-right:3px;cursor:pointer}.ac-column-setting--pro .radio-labels{display:inline-block}.ac-column-setting--pro .radio-labels input{background-color:#F0F0F0}.ac-column-setting--pro .radio-labels input:checked:before{background-color:#808080}.ac-column-setting--pro .ac-setting-input{background:#f5f5f5}.ac-column-setting--pro .acp-button{background:#e9426e;color:#fff;border:none;border-radius:3px;padding:3px 10px;letter-spacing:2px;cursor:pointer;font-size:13px;vertical-align:middle;margin-top:-1px;margin-left:5px}.ac-column-header{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.ac-column-header:nth-child(2n) .column-meta{background:#f9f9f9}.ac-column-header img{margin-right:3px}.ac-column-header table{border:none;background:transparent;border-radius:0}.ac-column-header table tr td{vertical-align:top;height:18px;padding:12px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}.ac-column-header table tr td.column_sort{position:relative;cursor:move;padding:9px 16px}.ac-column-header table tr td.column_sort span.cpacicon-move{position:absolute;top:12px;left:12px;font-size:22px;display:inline-block;color:#bdbdbd}.ac-column-header table tr td.column_label{width:70%;font-weight:bold;vertical-align:middle;position:relative;padding:15px 0}.ac-column-header table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.ac-column-header table tr td.column_label .inner .toggle img{max-height:20px}.ac-column-header table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.ac-column-header table tr td.column_label .inner>a:hover{color:#333333}.ac-column-header table tr td.column_label .inner>a.edit-button,.ac-column-header table tr td.column_label .inner>a.close-button,.ac-column-header table tr td.column_label .inner>a.remove-button,.ac-column-header table tr td.column_label .inner>a.clone-button{display:none;color:#0074a2;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px}.ac-column-header table tr td.column_label .inner>a.edit-button:hover,.ac-column-header table tr td.column_label .inner>a.close-button:hover,.ac-column-header table tr td.column_label .inner>a.remove-button:hover,.ac-column-header table tr td.column_label .inner>a.clone-button:hover{color:#2ea2cc}.ac-column-header table tr td.column_label .inner>a.remove-button{color:#a00}.ac-column-header table tr td.column_label .inner>a.remove-button:hover{color:#f00}.ac-column-header table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:normal;color:#b2b2b2;font-size:12px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting{cursor:pointer;margin-left:4px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-heading-setting--width{margin-right:3px;cursor:auto;color:#737373}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator{margin-left:3px;font-size:24px;line-height:17px;width:22px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.ac-column-indicator--filter{font-size:20px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on,.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on span{color:#21759B}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.disabled{cursor:default}.ac-column-header table tr td.column_type{width:auto;min-width:120px;text-align:right;color:#999999;padding-right:0}.ac-column-header table tr td.column_type .inner{display:inline-block;height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:120px;vertical-align:middle}.ac-column-header table tr td.column_type .inner a{margin-top:2px;color:#999999}.ac-column-header table tr td.column_edit{width:38px;min-width:38px;text-align:center;cursor:pointer}.ac-column-header table tr td.column_edit:after{right:0;content:"\f140";font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:0;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important;color:#b4b9be}.ac-column-header table tr:hover td.column_sort span{color:#9b9b9b}.ac-column-header:hover .column_label .inner>a.remove-button,.ac-column-header:hover .column_label .inner>a.edit-button,.ac-column-header:hover .column_label .inner>a.clone-button{display:inline-block}.ac-column-header span.vers{padding-top:2px}.ac-column-body{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.column-footer{background:#EAF2FA;border:1px solid #c7d7e2;min-height:26px;padding:8px;overflow:hidden}.column-footer .order-message{color:#7A9BBE;float:left;font-family:Comic Sans MS, sans-serif;font-size:11px;height:13px;position:relative;line-height:1em;margin-left:4px;padding:7px 0 0 22px;text-shadow:0 1px 0 #FFFFFF;display:inline-block}.column-footer .order-message__icon{display:inline-block;position:absolute;left:0;top:0}.column-footer .button-container{float:right;display:inline-block;min-height:29px}.column-footer .button-container a{display:inline-block;margin-left:5px;vertical-align:top}.column-footer .button-container a.clear-columns{color:#BC0B0B;text-decoration:none;margin-right:8px;margin-top:5px}.column-footer .button-container a.clear-columns:hover{color:red}.ac-right .sidebox{background:none repeat scroll 0 0 #FFFFFF;border:1px solid #dedede;border-radius:0 0 0 0;box-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative;margin-bottom:14px}.ac-right .sidebox h3{padding:10px;margin:0;position:relative}.ac-right .sidebox h3.title{font-family:Georgia, "Times New Roman", "Bitstream Charter", Times, serif;font-size:15px;font-weight:normal;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:-webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));background-image:-webkit-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-moz-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-o-linear-gradient(bottom, #ececec, #f9f9f9);background-image:linear-gradient(to top, #ececec, #f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.ac-right .sidebox h3 span.left{position:relative;background:#fff;z-index:2;padding-right:8px;float:none}.ac-right .sidebox h3 span.contenttype{display:block;line-height:20px;font-size:12px;text-transform:uppercase;color:#808080;margin-top:4px}.ac-right .sidebox h3 span.contenttype.right{position:absolute;display:inline-block;z-index:1;right:10px;text-align:right;margin-top:0}.ac-right .sidebox .inside{padding:10px}.ac-right .sidebox .inside p{margin-top:0}.ac-right .sidebox.form-actions .form-reset{display:none;border-bottom:1px solid #F5F5F5;padding:8px}.ac-right .sidebox.form-actions .reset-column-type{text-decoration:none;color:#BC0B0B;line-height:25px;display:inline-block;background:none;border:none;padding:0;font-size:13px;cursor:pointer;margin:0}.ac-right .sidebox.form-actions .reset-column-type:hover{color:red}.ac-right .sidebox.form-actions .form-update{padding:8px;overflow:hidden}.ac-right .sidebox.form-actions .submit{display:none;width:100%;height:28px;line-height:28px;text-align:center}.ac-right .sidebox.form-actions .submit.save{display:block}.ac-right .sidebox#direct-feedback #feedback-support,.ac-right .sidebox#direct-feedback #feedback-rate{display:none}.ac-right .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #CCC;width:48%;height:64px;text-align:center;line-height:64px;font-weight:bold;color:#222;display:inline-block;text-decoration:none}.ac-right .sidebox#direct-feedback .inside>a:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.ac-right .sidebox#direct-feedback .inside form input[type="submit"]{display:inline-block;float:right;border-radius:4px;border:1px solid #CCC;height:32px;text-align:center;line-height:32px;font-weight:bold;font-size:12px;padding:0 32px;color:#CCC;background:none;text-decoration:none;cursor:pointer}.ac-right .sidebox#direct-feedback .inside form input[type="submit"]:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.ac-right .sidebox#direct-feedback .inside ul{margin:0}.ac-right .sidebox#direct-feedback .inside ul.share li{margin:0;display:block;float:left;margin-left:9px;width:30%}.ac-right .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #CCC;border-radius:4px;display:block}.ac-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.ac-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}#ac-pro-version{background:none}#ac-pro-version .padding-box{padding:20px 10px 10px;background:#3d4350;color:#fff}#ac-pro-version .nopadding{margin:0;padding:0}#ac-pro-version h2{color:#fff}#ac-pro-version h3{font-size:34px;line-height:40px}#ac-pro-version h3 a{text-decoration:none;color:#fff}#ac-pro-version h3 a span{color:#e9426e}#ac-pro-version sup{text-decoration:line-through;font-size:13px;color:#ccc}#ac-pro-version .ac-pro-prices{color:#ffcac0;text-decoration:none}#ac-pro-version .ac-pro-prices:hover{text-decoration:underline}#ac-pro-version .ac-pro-prices:hover sup{text-decoration:none}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px;cursor:pointer}#ac-pro-version .more{color:#FFEE85;text-decoration:none}#ac-pro-version .more:hover{text-decoration:underline}#ac-pro-version p.center{text-align:center}#ac-pro-version p.nomargin{margin-bottom:0}#ac-pro-version ul.features a:hover{text-decoration:underline}#ac-pro-version ul li{padding-bottom:3px}#ac-pro-version ul li a{color:#fff;text-decoration:none;padding-left:25px;position:relative;display:block}#ac-pro-version ul li a:before{content:'\2713';font-weight:bold;font-size:16px;position:absolute;left:0;top:0}#ac-pro-version ul li.acp-integration{padding:0;min-height:23px;line-height:23px}#ac-pro-version ul li.acp-integration img{height:23px;display:inline-block;vertical-align:middle;margin-right:3px}#ac-pro-version ul li.acp-integration img.ac-addon-pods{margin-top:-4px}#ac-pro-version ul li.acp-integration img.ac-addon-types{height:18px}#ac-pro-version ul li.acp-integration img.cac-addon-acf{margin-top:-4px;height:15px}#ac-pro-version ul li.acp-integration a:before{content:'+'}#ac-pro-version .padding-box.ac-pro-deal{color:#3d4350;padding-bottom:20px;text-align:center;background:#ffef8f}#ac-pro-version .padding-box.ac-pro-deal h3{font-size:20px;line-height:26px;padding-top:0;padding-bottom:0;margin-bottom:18px}#ac-pro-version .padding-box.ac-pro-deal a.acp-button{font-size:16px}#ac-pro-version .padding-box.ac-pro-newsletter{background:#fff;color:#3d4350}#ac-pro-version .padding-box.ac-pro-newsletter h3{font-size:20px;padding-bottom:0}#ac-pro-version .padding-box.ac-pro-newsletter input{width:100%;margin-bottom:8px}#ac-pro-version .padding-box.ac-pro-newsletter .acp-button{margin-top:12px;margin-bottom:0;padding:7px 20px}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px}@media only screen and (max-width: 900px){.ac-admin{margin-right:0}.ac-admin .menu{float:none}.ac-admin .ac-left{float:none}.ac-admin .ac-right{float:none;margin-top:0;margin-right:0;width:100%}}.ac-modal{position:fixed;overflow:auto;height:100%;width:100%;z-index:100000;top:0;background:rgba(0,0,0,0.5);display:none}.ac-modal.-active{display:block}.ac-modal__dialog{border:1px solid #C8C8C8;background:#fff;position:fixed;top:200px;left:50%;transform:translateX(-50%);width:650px;max-width:90%}.ac-modal__dialog__header{background:#f5f5f5;font-size:18px;color:#807F7F;padding:17px 25px}.ac-modal__dialog__close{display:inline-block;padding:0;margin:0;border:none;background:none;position:absolute;right:0;top:0;width:52px;height:52px;text-align:center;color:#989797;cursor:pointer}.ac-modal__dialog__close:hover{background:#e1e1e1}.ac-modal__dialog__content{padding:25px}.ac-modal__dialog__content__lead{font-weight:bold;font-size:15px;margin-top:5px;margin-bottom:25px;color:#6D6D6D}.ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:0.5px;margin-bottom:10px}.ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal__dialog__footer{padding:20px 24px;border-top:1px solid #DBDBDB;color:#979696;font-size:16px}.ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal__dialog__footer span{display:inline-block;margin-top:4px;margin-left:10px;font-size:14px}.ac-modal__dialog__mascot{position:absolute;right:20px;bottom:20px;width:150px;height:225px;z-index:4}@media only screen and (max-width: 720px){.ac-modal__dialog__mascot{display:none}.ac-modal__dialog__footer__content{display:block}.ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}
assets/css/table.css CHANGED
@@ -1 +1 @@
1
- .column-status .dashicons{font-size:22px}.column-status .dashicons.large{width:25px;height:28px;font-size:28px}.column-status .dashicons.dashicons-lock{font-size:15px;margin-left:-2px}.ac-image-sizes .ac-missing-size{color:#929292}.ac-comment-bubble .post-com-count{display:inline-block;vertical-align:top}.ac-comment-bubble .post-com-count-no-comments,.ac-comment-bubble .post-com-count-approved{margin-top:5px}.ac-comment-bubble .comment-count-no-comments,.ac-comment-bubble .comment-count-approved{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ac-comment-bubble .post-com-count-no-comments:after,.ac-comment-bubble .post-com-count-approved:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid transparent}.ac-comment-bubble .post-com-count-approved:hover .comment-count-approved,.ac-comment-bubble .post-com-count-approved:focus .comment-count-approved{background:#0073aa}.ac-comment-bubble .post-com-count-approved:hover:after,.ac-comment-bubble .post-com-count-approved:focus:after{border-top-color:#0073aa}.ac-comment-bubble .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.ac-comment-bubble .post-com-count-no-pending{display:none}.ac-divider{display:inline-block;width:14px;height:12px;position:relative}.ac-divider:before{content:'';display:block;width:2px;height:2px;background:#000;position:absolute;left:50%;margin-left:-1px;top:60%}span.status-closed{color:red}.ac-value-stars{white-space:nowrap;word-wrap:normal;display:block}.ac-value-stars .ac-value-star{font-size:16px;width:auto;margin-right:-3px}.actions #post-query-submit{float:left;vertical-align:middle;margin-bottom:4px}.tablenav.top .ac-button{top:2px;display:inline-block;vertical-align:middle;float:left;margin-bottom:4px}body.edit-tags-php .tablenav.top .ac-button{float:none}span.dashicons.flip:before{transform:scale(-1, 1);display:inline-block}span.dashicons.yellow{color:#ffb900}span.dashicons.orange{color:#d54e21}span.dashicons.red{color:#dc3232}span.dashicons.green{color:#46b450}span.dashicons.light-gray{color:#bbb}span.dashicons.gray{color:#8a8a8a}span.dashicons.blue{color:#0073aa}span.dashicons.light-blue{color:#00a0d2}body.edit-php #delete_all{float:left;margin-right:3px}body.users-php .tablenav .actions a.add-new-h2{float:none;vertical-align:middle !important;top:2px !important}@media screen and (max-width: 782px){.tablenav.top .actions{display:block !important;margin-bottom:4px}.tablenav.top .actions *{display:none}.tablenav.top .actions .ac-button{display:inline-block}}body.upload-php .tablenav.top .ac-button{float:none}.ac-toggle-box-link:focus{outline:none;box-shadow:none}.ac-toggle-box-link .spinner{float:none;margin-top:-2px}.ac-toggle-box-link.loading .spinner{visibility:visible}.ac-toggle-box-contents-ajax{padding:5px 0 0}.ac-toggle-box-contents{display:none;padding:5px 0 0}table.ac-table-items{border-spacing:0}table.ac-table-items tr td{border:0;margin:0;padding:0 0 3px}table.ac-table-items tr td.ac-table-item-qty{color:#999;padding-right:6px;text-align:left}.ac-post-state-format:before{color:#a7a7a7}.ac-image-details .ac-image-info{display:inline-block;border-radius:7px;padding:0 9px;min-height:20px;background-color:#e9e9e9;text-align:left;font-size:11px;font-weight:bold;margin:0 6px 5px 0;white-space:nowrap}.ac-image-details .ac-image-info>span{margin-right:6px}.ac-image-details .ac-image-info>span:last-child{margin-right:0}.ac-image-details .ac-image-info span{vertical-align:middle;line-height:20px}.ac-image-details .ac-image-info span.image-id{font-size:11px;color:#757575}.ac-image-details .ac-image-info span.image-file-size{font-size:12px}.ac-image-details .ac-image-info span.image-extension{text-transform:uppercase;font-size:11px;color:#757575}.ac-image-details .ac-image-info span.suffix{display:inline-block;text-transform:uppercase;font-size:10px;color:#757575;padding-left:3px;margin-top:-2px}.ac-image-details .ac-image-info span.dashicons{margin-top:-2px;color:#757575;font-size:14px;width:16px}.ac-image-details a.ac-image-info:hover{color:#0073aa}.ac-image-details a.ac-image-info:hover span.dashicons{color:#3d4350}.ac-upload-space .ac-upload-space-labels{display:table;width:100%}.ac-upload-space .ac-upload-space-labels .inner{display:table-row}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon{display:table-cell}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before{color:#82878c;content:"\f104";display:inline-block;font-family:'dashicons', serif;width:20px;height:20px;font-size:18px;line-height:1;text-decoration:inherit;font-weight:normal;font-style:normal;vertical-align:top;text-align:center;margin-right:4px}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left{display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right{width:100%;text-align:right;padding-left:6px;display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-progress{margin-top:6px;height:3px;background:white;border:1px solid #dfdfdf;position:relative}.ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar{background-color:#46b450;height:100%;display:block}.ac-upload-space.warning .ac-upload-space-icon:before{color:#ffb900;content:"\f534";margin-top:1px}.ac-upload-space.warning .ac-upload-space-progress-bar{background-color:#ffb900}.ac-upload-space.full .ac-upload-space-icon:before{color:#d54e21;content:"\f153";margin-top:1px}.ac-upload-space.full .ac-upload-space-progress-bar{background-color:#dc3232}#form-site-list .tablenav .actions .ac-button{float:none}.ac-inline-info{display:inline-block;border-radius:3px;min-width:8px;padding:0 6px;min-height:20px;background-color:#e9e9e9;text-align:center;margin-right:7px;font-size:11px;font-weight:bold}.ac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:7px;margin-right:7px;font-size:12px}.ac-rounded.ac-rounded-first{margin-left:0}.ac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:#808080}.ac-small-block{display:inline-block;border-radius:3px;background-color:rgba(224,224,224,0.6);padding:2px 7px;margin:0 5px 5px 0}.ac-more-link-show{cursor:pointer}.ac-show-more-block{display:none}.ac-more-link-hide{cursor:pointer}.ac-image-container{margin-bottom:-6px}.ac-image{display:inline-block;margin-right:2px;margin-bottom:6px;overflow:hidden;max-width:100%;background-color:#ccc;vertical-align:middle}.ac-image img{display:block;margin:0 auto}.ac-image .ac-extension{font-size:12px;line-height:22px;display:block;text-align:center;text-transform:uppercase;font-weight:bold}.ac-image.ac-icon{background-color:transparent}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}.ac-progress-bar{width:100%;display:flex}.ac-progress-bar .ac-label-main{width:65px}.ac-progress-bar .ac-bar-container{flex:auto;background-color:#fff;min-height:22px;line-height:22px;position:relative;border:1px solid #ccc;border-radius:2px}.ac-progress-bar .ac-bar-container .ac-bar{height:100%;background-color:#69c471;border-right:1px solid #fff}.ac-progress-bar .ac-bar-container .ac-label-left,.ac-progress-bar .ac-bar-container .ac-label-right{text-shadow:rgba(255,255,255,0.65) 0 0 5px;color:#555;position:absolute}.ac-progress-bar .ac-bar-container .ac-label-left{left:5px}.ac-progress-bar .ac-bar-container .ac-label-right{right:5px}.ac-progress-bar.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.45);border:none}.ac-progress-bar.dark .ac-bar-container{flex:auto;background-color:#a6a6a6;min-height:22px;line-height:22px;position:relative}.ac-progress-bar.dark .ac-bar-container .ac-bar{height:100%;background-color:#46b450;border-right:1px solid #fff}.ac-progress-bar.dark .ac-bar-container .ac-label-left{color:#fff;position:absolute;left:5px}.ac-progress-bar.dark .ac-bar-container .ac-label-right{color:#fff;position:absolute;right:5px}.ac-progress-bar.dark.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.68);border:none}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#ffffff;float:left;height:16px;line-height:16px;margin-right:12px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco, Menlo, Consolas, "Courier New", monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac_wp_button,.column-actions.cpac_use_icons .row-actions>span a{color:#555;background:#f7f7f7;box-shadow:0 1px 0 #ccc;vertical-align:top;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border:1px solid #ccc;border-radius:3px;white-space:nowrap;box-sizing:border-box}.cpac_wp_button:hover,.column-actions.cpac_use_icons .row-actions>span a:hover{background:#fafafa;color:#23282d;border-color:#999}.column-actions .row-actions{left:0;position:relative}.column-actions.cpac_use_icons .row-actions>span{color:transparent;margin-right:-8px}.column-actions.cpac_use_icons .row-actions>span a{display:inline-block;position:relative;min-width:26px;margin-bottom:5px}.column-actions.cpac_use_icons .row-actions>span a:before{text-indent:0;font-family:Dashicons, sans-serif;font-size:16px;position:absolute;padding-left:4px;top:0;left:0;width:100%;height:100%}.column-actions.cpac_use_icons .row-actions>span.edit a,.column-actions.cpac_use_icons .row-actions>span.inline a,.column-actions.cpac_use_icons .row-actions>span.trash a,.column-actions.cpac_use_icons .row-actions>span.view a,.column-actions.cpac_use_icons .row-actions>span.quickedit a,.column-actions.cpac_use_icons .row-actions>span.approve a,.column-actions.cpac_use_icons .row-actions>span.unapprove a,.column-actions.cpac_use_icons .row-actions>span.spam a,.column-actions.cpac_use_icons .row-actions>span.untrash a,.column-actions.cpac_use_icons .row-actions>span.unspam a,.column-actions.cpac_use_icons .row-actions>span.reply a,.column-actions.cpac_use_icons .row-actions>span.delete a,.column-actions.cpac_use_icons .row-actions>span.backend a,.column-actions.cpac_use_icons .row-actions>span.visit a,.column-actions.cpac_use_icons .row-actions>span.deactivate a,.column-actions.cpac_use_icons .row-actions>span.archive a,.column-actions.cpac_use_icons .row-actions>span.unarchive a,.column-actions.cpac_use_icons .row-actions>span.activate a,.column-actions.cpac_use_icons .row-actions>span.download a{text-indent:-3000px}.column-actions.cpac_use_icons .row-actions>span.edit a:before,.column-actions.cpac_use_icons .row-actions>span.inline a:before,.column-actions.cpac_use_icons .row-actions>span.trash a:before,.column-actions.cpac_use_icons .row-actions>span.view a:before,.column-actions.cpac_use_icons .row-actions>span.quickedit a:before,.column-actions.cpac_use_icons .row-actions>span.approve a:before,.column-actions.cpac_use_icons .row-actions>span.unapprove a:before,.column-actions.cpac_use_icons .row-actions>span.spam a:before,.column-actions.cpac_use_icons .row-actions>span.untrash a:before,.column-actions.cpac_use_icons .row-actions>span.unspam a:before,.column-actions.cpac_use_icons .row-actions>span.reply a:before,.column-actions.cpac_use_icons .row-actions>span.delete a:before,.column-actions.cpac_use_icons .row-actions>span.backend a:before,.column-actions.cpac_use_icons .row-actions>span.visit a:before,.column-actions.cpac_use_icons .row-actions>span.deactivate a:before,.column-actions.cpac_use_icons .row-actions>span.archive a:before,.column-actions.cpac_use_icons .row-actions>span.unarchive a:before,.column-actions.cpac_use_icons .row-actions>span.activate a:before,.column-actions.cpac_use_icons .row-actions>span.download a:before{text-indent:0;font-family:Dashicons, sans-serif}.column-actions.cpac_use_icons .row-actions>span.edit a:before{content:"\f464"}.column-actions.cpac_use_icons .row-actions>span.inline a:before,.column-actions.cpac_use_icons .row-actions>span.quickedit a:before{content:"\f119"}.column-actions.cpac_use_icons .row-actions>span.trash a{border-radius:3px;border:1px solid #ccc}.column-actions.cpac_use_icons .row-actions>span.trash a:before{content:"\f182"}.column-actions.cpac_use_icons .row-actions>span.trash a:hover{border-color:#999}.column-actions.cpac_use_icons .row-actions>span.view a:before{content:"\f177"}.column-actions.cpac_use_icons .row-actions>span.unapprove a:before{content:"\f158"}.column-actions.cpac_use_icons .row-actions>span.approve a:before{content:"\f147"}.column-actions.cpac_use_icons .row-actions>span.spam a:before{content:"\f117"}.column-actions.cpac_use_icons .row-actions>span.reply a:before{content:"\f473"}.column-actions.cpac_use_icons .row-actions>span.untrash a:before,.column-actions.cpac_use_icons .row-actions>span.unspam a:before{content:"\f171"}.column-actions.cpac_use_icons .row-actions>span.delete a:before{content:"\f182"}.column-actions.cpac_use_icons .row-actions>span.backend a:before{content:"\f226"}.column-actions.cpac_use_icons .row-actions>span.visit a:before{content:"\f115"}.column-actions.cpac_use_icons .row-actions>span.deactivate a:before{content:"\f530"}.column-actions.cpac_use_icons .row-actions>span.archive a:before{content:"\f480"}.column-actions.cpac_use_icons .row-actions>span.unarchive a:before{content:"\f322"}.column-actions.cpac_use_icons .row-actions>span.activate a:before{content:"\f177"}.column-actions.cpac_use_icons .row-actions>span.download a:before{content:"\f316"}@media screen and (max-width: 782px){.wp-list-table.widefat thead th{display:none}.wp-list-table.widefat thead th.column-primary{display:table-cell}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td{display:none}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary{display:block}}.ac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,0.75);font-weight:normal;min-width:25px}
1
+ .column-status .dashicons{font-size:22px}.column-status .dashicons.large{width:25px;height:28px;font-size:28px}.column-status .dashicons.dashicons-lock{font-size:15px;margin-left:-2px}.ac-image-sizes .ac-missing-size{color:#929292}.ac-comment-bubble .post-com-count{display:inline-block;vertical-align:top}.ac-comment-bubble .post-com-count-no-comments,.ac-comment-bubble .post-com-count-approved{margin-top:5px}.ac-comment-bubble .comment-count-no-comments,.ac-comment-bubble .comment-count-approved{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ac-comment-bubble .post-com-count-no-comments:after,.ac-comment-bubble .post-com-count-approved:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid transparent}.ac-comment-bubble .post-com-count-approved:hover .comment-count-approved,.ac-comment-bubble .post-com-count-approved:focus .comment-count-approved{background:#0073aa}.ac-comment-bubble .post-com-count-approved:hover:after,.ac-comment-bubble .post-com-count-approved:focus:after{border-top-color:#0073aa}.ac-comment-bubble .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.ac-comment-bubble .post-com-count-no-pending{display:none}.ac-divider{display:inline-block;width:14px;height:12px;position:relative}.ac-divider:before{content:'';display:block;width:2px;height:2px;background:#000;position:absolute;left:50%;margin-left:-1px;top:60%}span.status-closed{color:red}.ac-value-stars{white-space:nowrap;word-wrap:normal;display:block}.ac-value-stars .ac-value-star{font-size:16px;width:auto;margin-right:-3px}.actions #post-query-submit{float:left;vertical-align:middle;margin-bottom:4px}.tablenav.top .ac-button{top:2px;display:inline-block;vertical-align:middle;float:left;margin-bottom:4px}body.edit-tags-php .tablenav.top .ac-button{float:none}span.dashicons.flip:before{transform:scale(-1, 1);display:inline-block}span.dashicons.yellow{color:#ffb900}span.dashicons.orange{color:#d54e21}span.dashicons.red{color:#dc3232}span.dashicons.green{color:#46b450}span.dashicons.light-gray{color:#bbb}span.dashicons.gray{color:#8a8a8a}span.dashicons.blue{color:#0073aa}span.dashicons.light-blue{color:#00a0d2}body.edit-php #delete_all{float:left;margin-right:3px}body.users-php .tablenav .actions a.add-new-h2{float:none;vertical-align:middle !important;top:2px !important}@media screen and (max-width: 782px){.tablenav.top .actions{display:block !important;margin-bottom:4px}.tablenav.top .actions *{display:none}.tablenav.top .actions .ac-button{display:inline-block}}body.upload-php .tablenav.top .ac-button{float:none}.ac-toggle-box-link:focus{outline:none;box-shadow:none}.ac-toggle-box-link .spinner{float:none;margin-top:-2px}.ac-toggle-box-link.loading .spinner{visibility:visible}.ac-toggle-box-contents-ajax{padding:5px 0 0}.ac-toggle-box-contents{display:none;padding:5px 0 0}table.ac-table-items{border-spacing:0}table.ac-table-items tr td{border:0;margin:0;padding:0 0 3px}table.ac-table-items tr td.ac-table-item-qty{color:#999;padding-right:6px;text-align:left}.ac-post-state-format:before{color:#a7a7a7}.ac-image-details .ac-image-info{display:inline-block;border-radius:7px;padding:0 9px;min-height:20px;background-color:#e9e9e9;text-align:left;font-size:11px;font-weight:bold;margin:0 6px 5px 0;white-space:nowrap}.ac-image-details .ac-image-info>span{margin-right:6px}.ac-image-details .ac-image-info>span:last-child{margin-right:0}.ac-image-details .ac-image-info span{vertical-align:middle;line-height:20px}.ac-image-details .ac-image-info span.image-id{font-size:11px;color:#757575}.ac-image-details .ac-image-info span.image-file-size{font-size:12px}.ac-image-details .ac-image-info span.image-extension{text-transform:uppercase;font-size:11px;color:#757575}.ac-image-details .ac-image-info span.suffix{display:inline-block;text-transform:uppercase;font-size:10px;color:#757575;padding-left:3px;margin-top:-2px}.ac-image-details .ac-image-info span.dashicons{margin-top:-2px;color:#757575;font-size:14px;width:16px}.ac-image-details a.ac-image-info:hover{color:#0073aa}.ac-image-details a.ac-image-info:hover span.dashicons{color:#3d4350}.ac-upload-space .ac-upload-space-labels{display:table;width:100%}.ac-upload-space .ac-upload-space-labels .inner{display:table-row}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon{display:table-cell}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before{color:#82878c;content:"\f104";display:inline-block;font-family:'dashicons', serif;width:20px;height:20px;font-size:18px;line-height:1;text-decoration:inherit;font-weight:normal;font-style:normal;vertical-align:top;text-align:center;margin-right:4px}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left{display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right{width:100%;text-align:right;padding-left:6px;display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-progress{margin-top:6px;height:3px;background:white;border:1px solid #dfdfdf;position:relative}.ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar{background-color:#46b450;height:100%;display:block}.ac-upload-space.warning .ac-upload-space-icon:before{color:#ffb900;content:"\f534";margin-top:1px}.ac-upload-space.warning .ac-upload-space-progress-bar{background-color:#ffb900}.ac-upload-space.full .ac-upload-space-icon:before{color:#d54e21;content:"\f153";margin-top:1px}.ac-upload-space.full .ac-upload-space-progress-bar{background-color:#dc3232}#form-site-list .tablenav .actions .ac-button{float:none}.ac-inline-info{display:inline-block;border-radius:3px;min-width:8px;padding:0 6px;min-height:20px;background-color:#e9e9e9;text-align:center;margin-right:7px;font-size:11px;font-weight:bold}.ac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:7px;margin-right:7px;font-size:12px}.ac-rounded.ac-rounded-first{margin-left:0}.ac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:#808080}.ac-small-block{display:inline-block;border-radius:3px;background-color:rgba(224,224,224,0.6);padding:2px 7px;margin:0 5px 5px 0}.ac-more-link-show{cursor:pointer}.ac-show-more-block{display:none}.ac-more-link-hide{cursor:pointer}.ac-image-container{margin-bottom:-6px}.ac-image{display:inline-block;margin-right:2px;margin-bottom:6px;overflow:hidden;max-width:100%;background-color:#ccc;vertical-align:middle}.ac-image img{display:block;margin:0 auto}.ac-image .ac-extension{font-size:12px;line-height:22px;display:block;text-align:center;text-transform:uppercase;font-weight:bold}.ac-image.ac-icon{background-color:transparent}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}.ac-progress-bar{width:100%;display:flex}.ac-progress-bar .ac-label-main{width:65px}.ac-progress-bar .ac-bar-container{flex:auto;background-color:#fff;min-height:22px;line-height:22px;position:relative;border:1px solid #ccc;border-radius:2px}.ac-progress-bar .ac-bar-container .ac-bar{height:100%;background-color:#69c471;border-right:1px solid #fff}.ac-progress-bar .ac-bar-container .ac-label-left,.ac-progress-bar .ac-bar-container .ac-label-right{text-shadow:rgba(255,255,255,0.65) 0 0 5px;color:#555;position:absolute}.ac-progress-bar .ac-bar-container .ac-label-left{left:5px}.ac-progress-bar .ac-bar-container .ac-label-right{right:5px}.ac-progress-bar.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.45);border:none}.ac-progress-bar.dark .ac-bar-container{flex:auto;background-color:#a6a6a6;min-height:22px;line-height:22px;position:relative}.ac-progress-bar.dark .ac-bar-container .ac-bar{height:100%;background-color:#46b450;border-right:1px solid #fff}.ac-progress-bar.dark .ac-bar-container .ac-label-left{color:#fff;position:absolute;left:5px}.ac-progress-bar.dark .ac-bar-container .ac-label-right{color:#fff;position:absolute;right:5px}.ac-progress-bar.dark.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.68);border:none}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#ffffff;float:left;height:16px;line-height:16px;margin-right:12px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco, Menlo, Consolas, "Courier New", monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac_wp_button,.column-actions.cpac_use_icons .row-actions>span a{color:#555;background:#f7f7f7;box-shadow:0 1px 0 #ccc;vertical-align:top;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border:1px solid #ccc;border-radius:3px;white-space:nowrap;box-sizing:border-box}.cpac_wp_button:hover,.column-actions.cpac_use_icons .row-actions>span a:hover{background:#fafafa;color:#23282d;border-color:#999}.column-actions .row-actions{left:0;position:relative}.column-actions.cpac_use_icons .row-actions>span{color:transparent;margin-right:-8px}.column-actions.cpac_use_icons .row-actions>span a{display:inline-block;position:relative;min-width:26px;margin-bottom:5px}.column-actions.cpac_use_icons .row-actions>span a:before{text-indent:0;font-family:Dashicons, sans-serif;font-size:16px;position:absolute;padding-left:4px;top:0;left:0;width:100%;height:100%}.column-actions.cpac_use_icons .row-actions>span.edit a,.column-actions.cpac_use_icons .row-actions>span.inline a,.column-actions.cpac_use_icons .row-actions>span.trash a,.column-actions.cpac_use_icons .row-actions>span.view a,.column-actions.cpac_use_icons .row-actions>span.quickedit a,.column-actions.cpac_use_icons .row-actions>span.approve a,.column-actions.cpac_use_icons .row-actions>span.unapprove a,.column-actions.cpac_use_icons .row-actions>span.spam a,.column-actions.cpac_use_icons .row-actions>span.untrash a,.column-actions.cpac_use_icons .row-actions>span.unspam a,.column-actions.cpac_use_icons .row-actions>span.reply a,.column-actions.cpac_use_icons .row-actions>span.delete a,.column-actions.cpac_use_icons .row-actions>span.backend a,.column-actions.cpac_use_icons .row-actions>span.visit a,.column-actions.cpac_use_icons .row-actions>span.deactivate a,.column-actions.cpac_use_icons .row-actions>span.archive a,.column-actions.cpac_use_icons .row-actions>span.unarchive a,.column-actions.cpac_use_icons .row-actions>span.activate a,.column-actions.cpac_use_icons .row-actions>span.download a{text-indent:-3000px}.column-actions.cpac_use_icons .row-actions>span.edit a:before,.column-actions.cpac_use_icons .row-actions>span.inline a:before,.column-actions.cpac_use_icons .row-actions>span.trash a:before,.column-actions.cpac_use_icons .row-actions>span.view a:before,.column-actions.cpac_use_icons .row-actions>span.quickedit a:before,.column-actions.cpac_use_icons .row-actions>span.approve a:before,.column-actions.cpac_use_icons .row-actions>span.unapprove a:before,.column-actions.cpac_use_icons .row-actions>span.spam a:before,.column-actions.cpac_use_icons .row-actions>span.untrash a:before,.column-actions.cpac_use_icons .row-actions>span.unspam a:before,.column-actions.cpac_use_icons .row-actions>span.reply a:before,.column-actions.cpac_use_icons .row-actions>span.delete a:before,.column-actions.cpac_use_icons .row-actions>span.backend a:before,.column-actions.cpac_use_icons .row-actions>span.visit a:before,.column-actions.cpac_use_icons .row-actions>span.deactivate a:before,.column-actions.cpac_use_icons .row-actions>span.archive a:before,.column-actions.cpac_use_icons .row-actions>span.unarchive a:before,.column-actions.cpac_use_icons .row-actions>span.activate a:before,.column-actions.cpac_use_icons .row-actions>span.download a:before{text-indent:0;font-family:Dashicons, sans-serif}.column-actions.cpac_use_icons .row-actions>span.edit a:before{content:"\f464"}.column-actions.cpac_use_icons .row-actions>span.inline a:before,.column-actions.cpac_use_icons .row-actions>span.quickedit a:before{content:"\f119"}.column-actions.cpac_use_icons .row-actions>span.trash a{border-radius:3px;border:1px solid #ccc}.column-actions.cpac_use_icons .row-actions>span.trash a:before{content:"\f182"}.column-actions.cpac_use_icons .row-actions>span.trash a:hover{border-color:#999}.column-actions.cpac_use_icons .row-actions>span.view a:before{content:"\f177"}.column-actions.cpac_use_icons .row-actions>span.unapprove a:before{content:"\f158"}.column-actions.cpac_use_icons .row-actions>span.approve a:before{content:"\f147"}.column-actions.cpac_use_icons .row-actions>span.spam a:before{content:"\f117"}.column-actions.cpac_use_icons .row-actions>span.reply a:before{content:"\f473"}.column-actions.cpac_use_icons .row-actions>span.untrash a:before,.column-actions.cpac_use_icons .row-actions>span.unspam a:before{content:"\f171"}.column-actions.cpac_use_icons .row-actions>span.delete a:before{content:"\f182"}.column-actions.cpac_use_icons .row-actions>span.backend a:before{content:"\f226"}.column-actions.cpac_use_icons .row-actions>span.visit a:before{content:"\f115"}.column-actions.cpac_use_icons .row-actions>span.deactivate a:before{content:"\f530"}.column-actions.cpac_use_icons .row-actions>span.archive a:before{content:"\f480"}.column-actions.cpac_use_icons .row-actions>span.unarchive a:before{content:"\f322"}.column-actions.cpac_use_icons .row-actions>span.activate a:before{content:"\f177"}.column-actions.cpac_use_icons .row-actions>span.download a:before{content:"\f316"}@media screen and (max-width: 782px){.wp-list-table.widefat thead th{display:none}.wp-list-table.widefat thead th.column-primary{display:table-cell}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td{display:none}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary{display:block}}.ac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,0.75);font-weight:normal;min-width:25px}.ac-table-actions{float:left;white-space:nowrap;margin-right:5px;margin-left:1px}.ac-table-actions .ac-table-actions-buttons{white-space:nowrap;display:inline-block;vertical-align:top}.ac-table-actions .ac-table-actions-buttons .ac-table-button{float:left;border-radius:0;border-right:none}.ac-table-actions .ac-table-actions-buttons .ac-table-button:first-child{border-radius:3px 0 0 3px}.ac-table-actions .ac-table-actions-buttons .ac-table-button:last-child,.ac-table-actions .ac-table-actions-buttons .ac-table-button.last{border-radius:0 3px 3px 0;border-right:1px solid #ccc}.ac-table-actions .ac-table-actions-buttons .ac-table-button:last-child.active,.ac-table-actions .ac-table-actions-buttons .ac-table-button.last.active{border-right:1px solid #008EC2}.ac-table-actions .ac-table-actions-buttons .ac-table-button:last-child:first-child,.ac-table-actions .ac-table-actions-buttons .ac-table-button.last:first-child{border-radius:3px}.ac-table-actions .ac-table-button{display:inline-block;padding:2px 12px;color:#555;background:#f7f7f7;text-decoration:none;font-size:13px;height:24px;line-height:24px;text-align:center;border:1px solid #CCCCCC;transform:translateX(-1px);border-radius:3px}.ac-table-actions .ac-table-button:focus,.ac-table-actions .ac-table-button:active{outline:none;box-shadow:none}.ac-table-actions .ac-table-button:hover{background:#ddd;color:#4d4d4d}.ac-table-actions .ac-table-button .dashicons{font-size:14px;width:14px;height:14px;line-height:24px}.ac-table-actions .ac-table-button.disabled{background:#ddd;color:#aaa;cursor:not-allowed}.ac-table-actions .ac-table-button.active{background:#00A0D2;border:1px solid #008EC2;color:#fff}.ac-table-actions .ac-table-button.active+.ac-table-button{border-left:none}.ac-table-actions .ac-table-button.-inline-edit .dashicons{font-size:18px;margin-left:-2px}.ac-table-actions .ac-table-button.-toggle{background:none;border:1px solid transparent;padding-left:4px;padding-right:4px;transform:translateY(-1px)}.ac-table-actions .ac-table-button.-toggle .ac-toggle__switch{vertical-align:middle;margin-top:-3px;margin-right:1px;color:#888}.ac-toggle{display:inline-block;white-space:nowrap}.ac-toggle input{position:absolute;left:-3000em}.ac-toggle__switch{display:inline-block;background:#ccc;border-radius:8px;width:30px;height:16px;position:relative;transition:background-color .3s}.ac-toggle__switch__on,.ac-toggle__switch__off{font-size:11px;font-weight:bold;color:#fff;position:absolute;top:5px;line-height:11px}.ac-toggle__switch__off{right:6px;color:#555}.ac-toggle__switch__on{left:8px}.ac-toggle__switch__track{border-radius:50%;display:inline-block;background:#fff;position:absolute;left:3px;top:3px;height:10px;width:10px;transition:all .1s}.ac-toggle input:checked+.ac-toggle__switch{background:#1e8cbe}.ac-toggle input:checked+.ac-toggle__switch .ac-toggle__switch__track{left:calc(100% - 13px)}
assets/images/symbols.svg CHANGED
@@ -1,4 +1,5 @@
1
- <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs/><symbol id="arrow-left-top" viewBox="0 0 64 64">
2
<!-- Generator: Sketch 50 (54983) - http://www.bohemiancoding.com/sketch -->
3
<desc>Created with Sketch.</desc>
4
@@ -7,56 +8,56 @@
7
<path d="M63.386,16.193 L63.388,16.191 C63.39,16.188 63.392,16.185 63.394,16.181 C63.566,15.986 63.692,15.751 63.793,15.503 C63.825,15.427 63.846,15.355 63.869,15.278 C63.927,15.087 63.963,14.889 63.975,14.682 C63.981,14.606 63.993,14.534 63.991,14.456 C63.991,14.416 64.001,14.38 63.999,14.341 C63.985,14.102 63.937,13.871 63.863,13.654 C63.857,13.631 63.841,13.613 63.833,13.59 C63.745,13.351 63.619,13.139 63.47,12.945 C63.449,12.918 63.442,12.882 63.42,12.855 L53.109,0.709 C52.32,-0.221 51.025,-0.239 50.215,0.672 C49.407,1.582 49.392,3.074 50.183,4.006 L55.741,10.555 C47.62,9.479 39.637,11.188 39.26,11.272 C14.614,15.739 -2.827,38.499 0.38,62.008 C0.539,63.172 1.408,64 2.399,64 C2.505,64 2.611,63.991 2.719,63.973 C3.835,63.77 4.597,62.564 4.423,61.277 C1.566,40.337 17.479,19.995 39.96,15.919 C40.063,15.895 48.311,14.125 56.077,15.345 L47.5,20.438 C46.495,21.036 46.102,22.458 46.619,23.615 C47.135,24.774 48.367,25.223 49.375,24.632 L62.895,16.604 C63.078,16.493 63.242,16.354 63.386,16.193 Z" id="Shape" fill="#7A9BBE"/>
8
</g>
9
10
- </symbol><symbol id="curve-arrow" viewBox="0 0 504 512">
11
- <!-- Generator: Sketch 50 (54983) - http://www.bohemiancoding.com/sketch -->
12
- <desc>Created with Sketch.</desc>
13
-
14
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
15
- <g id="curve-arrow" transform="translate(-4.000000, 4.000000)" fill="#2196F3" fill-rule="nonzero">
16
- <path d="M371.552,5.284 C365.536,-0.732 354.912,-0.732 348.928,5.284 L303.68,50.564 C297.44,56.804 297.44,66.948 303.68,73.188 L336.96,106.468 C145.344,129.508 0,290.468 0,487.236 C0,496.068 7.168,503.236 16,503.236 L80,503.236 C88.832,503.236 96,496.068 96,487.236 C96,345.988 196.096,229.22 330.784,204.42 L303.648,231.556 C297.408,237.796 297.408,247.94 303.648,254.18 L348.896,299.46 C351.904,302.468 355.968,304.132 360.224,304.132 C364.48,304.132 368.544,302.436 371.552,299.46 L507.328,163.684 C513.568,157.444 513.568,147.3 507.328,141.06 L371.552,5.284 Z" id="Shape" transform="translate(256.004000, 252.004000) rotate(-90.000000) translate(-256.004000, -252.004000) "/>
17
- </g>
18
- </g>
19
- </symbol><symbol id="woocommerce_logo_white" viewBox="0 0 998 810">
20
- <g>
21
- <path fill-rule="evenodd" clip-rule="evenodd" fill="#9B5C8F" d="M160.7,331.2h199.1c12.6,0,22.8,10.2,22.8,22.8V430
22
- c0,12.6-10.2,22.8-22.8,22.8h-71.4l9.8,24l-43.1-24h-94.3c-12.6,0-22.8-10.2-22.8-22.8V354C137.9,341.5,148.1,331.2,160.7,331.2z"/>
23
- <path fill="#FFFFFF" d="M150.2,351.9c1.4-1.9,3.5-2.9,6.3-3.1c5.1-0.4,8,2,8.7,7.2c3.1,20.9,6.5,38.6,10.1,53.1l21.9-41.7
24
- c2-3.8,4.5-5.8,7.5-6c4.4-0.3,7.1,2.5,8.2,8.4c2.5,13.3,5.7,24.6,9.5,34.2c2.6-25.4,7-43.7,13.2-55c1.5-2.8,3.7-4.2,6.6-4.4
25
- c2.3-0.2,4.4,0.5,6.3,2c1.9,1.5,2.9,3.4,3.1,5.7c0.1,1.8-0.2,3.3-1,4.8c-3.9,7.2-7.1,19.3-9.7,36.1c-2.5,16.3-3.4,29-2.8,38.1
26
- c0.2,2.5-0.2,4.7-1.2,6.6c-1.2,2.2-3,3.4-5.3,3.6c-2.6,0.2-5.3-1-7.9-3.7c-9.3-9.5-16.7-23.7-22.1-42.6
27
- c-6.5,12.8-11.3,22.4-14.4,28.8c-5.9,11.3-10.9,17.1-15.1,17.4c-2.7,0.2-5-2.1-7-6.9c-5.1-13.1-10.6-38.4-16.5-75.9
28
- C148.3,356,148.8,353.7,150.2,351.9z"/>
29
- <path fill="#FFFFFF" d="M365.2,367.6c-3.6-6.3-8.9-10.1-16-11.6c-1.9-0.4-3.7-0.6-5.4-0.6c-9.6,0-17.4,5-23.5,15
30
- c-5.2,8.5-7.8,17.9-7.8,28.2c0,7.7,1.6,14.3,4.8,19.8c3.6,6.3,8.9,10.1,16,11.6c1.9,0.4,3.7,0.6,5.4,0.6c9.7,0,17.5-5,23.5-15
31
- c5.2-8.6,7.8-18,7.8-28.3C370,379.5,368.4,373,365.2,367.6L365.2,367.6z M352.6,395.3c-1.4,6.6-3.9,11.5-7.6,14.8
32
- c-2.9,2.6-5.6,3.7-8.1,3.2c-2.4-0.5-4.4-2.6-5.9-6.5c-1.2-3.1-1.8-6.2-1.8-9.1c0-2.5,0.2-5,0.7-7.3c0.9-4.1,2.6-8.1,5.3-11.9
33
- c3.3-4.9,6.8-6.9,10.4-6.2c2.4,0.5,4.4,2.6,5.9,6.5c1.2,3.1,1.8,6.2,1.8,9.1C353.3,390.5,353,393,352.6,395.3L352.6,395.3z"/>
34
- <path fill="#FFFFFF" d="M302.5,367.6c-3.6-6.3-9-10.1-16-11.6c-1.9-0.4-3.7-0.6-5.4-0.6c-9.6,0-17.4,5-23.5,15
35
- c-5.2,8.5-7.8,17.9-7.8,28.2c0,7.7,1.6,14.3,4.8,19.8c3.6,6.3,8.9,10.1,16,11.6c1.9,0.4,3.7,0.6,5.4,0.6c9.7,0,17.5-5,23.5-15
36
- c5.2-8.6,7.8-18,7.8-28.3C307.3,379.5,305.7,373,302.5,367.6L302.5,367.6z M289.9,395.3c-1.4,6.6-3.9,11.5-7.6,14.8
37
- c-2.9,2.6-5.6,3.7-8.1,3.2c-2.4-0.5-4.4-2.6-5.9-6.5c-1.2-3.1-1.8-6.2-1.8-9.1c0-2.5,0.2-5,0.7-7.3c0.9-4.1,2.6-8.1,5.3-11.9
38
- c3.3-4.9,6.8-6.9,10.4-6.2c2.4,0.5,4.4,2.6,5.9,6.5c1.2,3.1,1.8,6.2,1.8,9.1C290.6,390.5,290.4,393,289.9,395.3L289.9,395.3z"/>
39
- <g>
40
- <g>
41
- <path fill="#FFFFFF" d="M407.9,366.7c-6.7,6.6-10,15-10,25.2c0,10.9,3.3,19.8,9.9,26.5c6.6,6.7,15.2,10.1,25.9,10.1
42
- c3.1,0,6.6-0.5,10.4-1.6v-16.2c-3.5,1-6.5,1.5-9.1,1.5c-5.3,0-9.5-1.8-12.7-5.3c-3.2-3.6-4.8-8.4-4.8-14.5c0-5.7,1.6-10.4,4.7-14
43
- c3.2-3.7,7.1-5.5,11.9-5.5c3.1,0,6.4,0.5,10,1.5v-16.2c-3.3-0.9-7-1.3-10.9-1.3C423,356.8,414.6,360.1,407.9,366.7z M477.3,356.8
44
- c-9.2,0-16.4,3.1-21.6,9.2c-5.2,6.1-7.7,14.7-7.7,25.7c0,11.9,2.6,21,7.7,27.3c5.1,6.3,12.6,9.5,22.4,9.5
45
- c9.5,0,16.8-3.2,21.9-9.5c5.1-6.3,7.7-15.2,7.7-26.6c0-11.4-2.6-20.2-7.8-26.4C494.6,359.9,487.1,356.8,477.3,356.8z
46
- M485.2,408.8c-1.8,2.8-4.5,4.2-7.9,4.2c-3.2,0-5.6-1.4-7.3-4.2c-1.7-2.8-2.5-8.4-2.5-16.9c0-13.1,3.3-19.6,10-19.6
47
- c7,0,10.6,6.6,10.6,19.9C488,400.4,487,406,485.2,408.8z M557.1,358.7l-3.6,15.3c-0.9,3.9-1.8,7.9-2.6,12l-2,10.6
48
- c-1.9-10.6-4.5-23.2-7.8-37.9h-23.2l-8.7,68.1h17.4l4.7-46.9l11.9,46.9h12.4L567,380l4.9,46.8h18.2l-9.2-68.1H557.1z
49
- M640.4,358.7l-3.6,15.3c-0.9,3.9-1.8,7.9-2.6,12l-2,10.6c-1.9-10.6-4.5-23.2-7.8-37.9h-23.2l-8.7,68.1h17.4l4.7-46.9l11.9,46.9
50
- h12.4l11.3-46.8l4.9,46.8h18.2l-9.2-68.1H640.4z M697,399.9h16.3v-14.1H697v-12.5h18.8v-14.5h-37.2v68.1h37.3v-14.5H697V399.9z
51
- M767.7,389.1c1.9-3.1,2.9-6.3,2.9-9.6c0-6.4-2.5-11.5-7.5-15.2c-5-3.7-11.9-5.6-20.5-5.6h-21.4v68.1h18.4v-31h0.3l14.9,31h19.4
52
- l-14.7-30.7C763,394.5,765.8,392.2,767.7,389.1z M739.5,388v-16.2c4.4,0.1,7.5,0.8,9.4,2.2c1.9,1.4,2.8,3.6,2.8,6.8
53
- C751.7,385.5,747.6,387.9,739.5,388z M781.4,366.7c-6.7,6.6-10,15-10,25.2c0,10.9,3.3,19.8,9.9,26.5c6.6,6.7,15.2,10.1,25.9,10.1
54
- c3.1,0,6.6-0.5,10.4-1.6v-16.2c-3.5,1-6.5,1.5-9.1,1.5c-5.3,0-9.5-1.8-12.7-5.3c-3.2-3.6-4.8-8.4-4.8-14.5c0-5.7,1.6-10.4,4.7-14
55
- c3.2-3.7,7.1-5.5,11.9-5.5c3.1,0,6.4,0.5,10,1.5v-16.2c-3.3-0.9-7-1.3-10.9-1.3C796.6,356.8,788.1,360.1,781.4,366.7z
56
- M841.1,412.2v-12.4h16.3v-14.1h-16.3v-12.5H860v-14.5h-37.2v68.1h37.3v-14.5H841.1z"/>
57
- </g>
58
- </g>
59
- </g>
60
</symbol><symbol id="zebra-thumbs-up" viewBox="0 0 209 328">
61
<!-- Generator: Sketch 50 (54983) - http://www.bohemiancoding.com/sketch -->
62
<title>zebra_2</title>
1
+ <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <svg xmlns="http://www.w3.org/2000/svg"><defs/><symbol id="arrow-left-top" viewBox="0 0 64 64">
3
<!-- Generator: Sketch 50 (54983) - http://www.bohemiancoding.com/sketch -->
4
<desc>Created with Sketch.</desc>
5
8
<path d="M63.386,16.193 L63.388,16.191 C63.39,16.188 63.392,16.185 63.394,16.181 C63.566,15.986 63.692,15.751 63.793,15.503 C63.825,15.427 63.846,15.355 63.869,15.278 C63.927,15.087 63.963,14.889 63.975,14.682 C63.981,14.606 63.993,14.534 63.991,14.456 C63.991,14.416 64.001,14.38 63.999,14.341 C63.985,14.102 63.937,13.871 63.863,13.654 C63.857,13.631 63.841,13.613 63.833,13.59 C63.745,13.351 63.619,13.139 63.47,12.945 C63.449,12.918 63.442,12.882 63.42,12.855 L53.109,0.709 C52.32,-0.221 51.025,-0.239 50.215,0.672 C49.407,1.582 49.392,3.074 50.183,4.006 L55.741,10.555 C47.62,9.479 39.637,11.188 39.26,11.272 C14.614,15.739 -2.827,38.499 0.38,62.008 C0.539,63.172 1.408,64 2.399,64 C2.505,64 2.611,63.991 2.719,63.973 C3.835,63.77 4.597,62.564 4.423,61.277 C1.566,40.337 17.479,19.995 39.96,15.919 C40.063,15.895 48.311,14.125 56.077,15.345 L47.5,20.438 C46.495,21.036 46.102,22.458 46.619,23.615 C47.135,24.774 48.367,25.223 49.375,24.632 L62.895,16.604 C63.078,16.493 63.242,16.354 63.386,16.193 Z" id="Shape" fill="#7A9BBE"/>
9
</g>
10
11
+ </symbol><symbol id="curve-arrow" viewBox="0 0 504 512">
12
+ <!-- Generator: Sketch 50 (54983) - http://www.bohemiancoding.com/sketch -->
13
+ <desc>Created with Sketch.</desc>
14
+
15
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
16
+ <g id="curve-arrow" transform="translate(-4.000000, 4.000000)" fill="#2196F3" fill-rule="nonzero">
17
+ <path d="M371.552,5.284 C365.536,-0.732 354.912,-0.732 348.928,5.284 L303.68,50.564 C297.44,56.804 297.44,66.948 303.68,73.188 L336.96,106.468 C145.344,129.508 0,290.468 0,487.236 C0,496.068 7.168,503.236 16,503.236 L80,503.236 C88.832,503.236 96,496.068 96,487.236 C96,345.988 196.096,229.22 330.784,204.42 L303.648,231.556 C297.408,237.796 297.408,247.94 303.648,254.18 L348.896,299.46 C351.904,302.468 355.968,304.132 360.224,304.132 C364.48,304.132 368.544,302.436 371.552,299.46 L507.328,163.684 C513.568,157.444 513.568,147.3 507.328,141.06 L371.552,5.284 Z" id="Shape" transform="translate(256.004000, 252.004000) rotate(-90.000000) translate(-256.004000, -252.004000) "/>
18
+ </g>
19
+ </g>
20
+ </symbol><symbol id="woocommerce_logo_white" viewBox="0 0 998 810">
21
+ <g>
22
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#9B5C8F" d="M160.7,331.2h199.1c12.6,0,22.8,10.2,22.8,22.8V430
23
+ c0,12.6-10.2,22.8-22.8,22.8h-71.4l9.8,24l-43.1-24h-94.3c-12.6,0-22.8-10.2-22.8-22.8V354C137.9,341.5,148.1,331.2,160.7,331.2z"/>
24
+ <path fill="#FFFFFF" d="M150.2,351.9c1.4-1.9,3.5-2.9,6.3-3.1c5.1-0.4,8,2,8.7,7.2c3.1,20.9,6.5,38.6,10.1,53.1l21.9-41.7
25
+ c2-3.8,4.5-5.8,7.5-6c4.4-0.3,7.1,2.5,8.2,8.4c2.5,13.3,5.7,24.6,9.5,34.2c2.6-25.4,7-43.7,13.2-55c1.5-2.8,3.7-4.2,6.6-4.4
26
+ c2.3-0.2,4.4,0.5,6.3,2c1.9,1.5,2.9,3.4,3.1,5.7c0.1,1.8-0.2,3.3-1,4.8c-3.9,7.2-7.1,19.3-9.7,36.1c-2.5,16.3-3.4,29-2.8,38.1
27
+ c0.2,2.5-0.2,4.7-1.2,6.6c-1.2,2.2-3,3.4-5.3,3.6c-2.6,0.2-5.3-1-7.9-3.7c-9.3-9.5-16.7-23.7-22.1-42.6
28
+ c-6.5,12.8-11.3,22.4-14.4,28.8c-5.9,11.3-10.9,17.1-15.1,17.4c-2.7,0.2-5-2.1-7-6.9c-5.1-13.1-10.6-38.4-16.5-75.9
29
+ C148.3,356,148.8,353.7,150.2,351.9z"/>
30
+ <path fill="#FFFFFF" d="M365.2,367.6c-3.6-6.3-8.9-10.1-16-11.6c-1.9-0.4-3.7-0.6-5.4-0.6c-9.6,0-17.4,5-23.5,15
31
+ c-5.2,8.5-7.8,17.9-7.8,28.2c0,7.7,1.6,14.3,4.8,19.8c3.6,6.3,8.9,10.1,16,11.6c1.9,0.4,3.7,0.6,5.4,0.6c9.7,0,17.5-5,23.5-15
32
+ c5.2-8.6,7.8-18,7.8-28.3C370,379.5,368.4,373,365.2,367.6L365.2,367.6z M352.6,395.3c-1.4,6.6-3.9,11.5-7.6,14.8
33
+ c-2.9,2.6-5.6,3.7-8.1,3.2c-2.4-0.5-4.4-2.6-5.9-6.5c-1.2-3.1-1.8-6.2-1.8-9.1c0-2.5,0.2-5,0.7-7.3c0.9-4.1,2.6-8.1,5.3-11.9
34
+ c3.3-4.9,6.8-6.9,10.4-6.2c2.4,0.5,4.4,2.6,5.9,6.5c1.2,3.1,1.8,6.2,1.8,9.1C353.3,390.5,353,393,352.6,395.3L352.6,395.3z"/>
35
+ <path fill="#FFFFFF" d="M302.5,367.6c-3.6-6.3-9-10.1-16-11.6c-1.9-0.4-3.7-0.6-5.4-0.6c-9.6,0-17.4,5-23.5,15
36
+ c-5.2,8.5-7.8,17.9-7.8,28.2c0,7.7,1.6,14.3,4.8,19.8c3.6,6.3,8.9,10.1,16,11.6c1.9,0.4,3.7,0.6,5.4,0.6c9.7,0,17.5-5,23.5-15
37
+ c5.2-8.6,7.8-18,7.8-28.3C307.3,379.5,305.7,373,302.5,367.6L302.5,367.6z M289.9,395.3c-1.4,6.6-3.9,11.5-7.6,14.8
38
+ c-2.9,2.6-5.6,3.7-8.1,3.2c-2.4-0.5-4.4-2.6-5.9-6.5c-1.2-3.1-1.8-6.2-1.8-9.1c0-2.5,0.2-5,0.7-7.3c0.9-4.1,2.6-8.1,5.3-11.9
39
+ c3.3-4.9,6.8-6.9,10.4-6.2c2.4,0.5,4.4,2.6,5.9,6.5c1.2,3.1,1.8,6.2,1.8,9.1C290.6,390.5,290.4,393,289.9,395.3L289.9,395.3z"/>
40
+ <g>
41
+ <g>
42
+ <path fill="#FFFFFF" d="M407.9,366.7c-6.7,6.6-10,15-10,25.2c0,10.9,3.3,19.8,9.9,26.5c6.6,6.7,15.2,10.1,25.9,10.1
43
+ c3.1,0,6.6-0.5,10.4-1.6v-16.2c-3.5,1-6.5,1.5-9.1,1.5c-5.3,0-9.5-1.8-12.7-5.3c-3.2-3.6-4.8-8.4-4.8-14.5c0-5.7,1.6-10.4,4.7-14
44
+ c3.2-3.7,7.1-5.5,11.9-5.5c3.1,0,6.4,0.5,10,1.5v-16.2c-3.3-0.9-7-1.3-10.9-1.3C423,356.8,414.6,360.1,407.9,366.7z M477.3,356.8
45
+ c-9.2,0-16.4,3.1-21.6,9.2c-5.2,6.1-7.7,14.7-7.7,25.7c0,11.9,2.6,21,7.7,27.3c5.1,6.3,12.6,9.5,22.4,9.5
46
+ c9.5,0,16.8-3.2,21.9-9.5c5.1-6.3,7.7-15.2,7.7-26.6c0-11.4-2.6-20.2-7.8-26.4C494.6,359.9,487.1,356.8,477.3,356.8z
47
+ M485.2,408.8c-1.8,2.8-4.5,4.2-7.9,4.2c-3.2,0-5.6-1.4-7.3-4.2c-1.7-2.8-2.5-8.4-2.5-16.9c0-13.1,3.3-19.6,10-19.6
48
+ c7,0,10.6,6.6,10.6,19.9C488,400.4,487,406,485.2,408.8z M557.1,358.7l-3.6,15.3c-0.9,3.9-1.8,7.9-2.6,12l-2,10.6
49
+ c-1.9-10.6-4.5-23.2-7.8-37.9h-23.2l-8.7,68.1h17.4l4.7-46.9l11.9,46.9h12.4L567,380l4.9,46.8h18.2l-9.2-68.1H557.1z
50
+ M640.4,358.7l-3.6,15.3c-0.9,3.9-1.8,7.9-2.6,12l-2,10.6c-1.9-10.6-4.5-23.2-7.8-37.9h-23.2l-8.7,68.1h17.4l4.7-46.9l11.9,46.9
51
+ h12.4l11.3-46.8l4.9,46.8h18.2l-9.2-68.1H640.4z M697,399.9h16.3v-14.1H697v-12.5h18.8v-14.5h-37.2v68.1h37.3v-14.5H697V399.9z
52
+ M767.7,389.1c1.9-3.1,2.9-6.3,2.9-9.6c0-6.4-2.5-11.5-7.5-15.2c-5-3.7-11.9-5.6-20.5-5.6h-21.4v68.1h18.4v-31h0.3l14.9,31h19.4
53
+ l-14.7-30.7C763,394.5,765.8,392.2,767.7,389.1z M739.5,388v-16.2c4.4,0.1,7.5,0.8,9.4,2.2c1.9,1.4,2.8,3.6,2.8,6.8
54
+ C751.7,385.5,747.6,387.9,739.5,388z M781.4,366.7c-6.7,6.6-10,15-10,25.2c0,10.9,3.3,19.8,9.9,26.5c6.6,6.7,15.2,10.1,25.9,10.1
55
+ c3.1,0,6.6-0.5,10.4-1.6v-16.2c-3.5,1-6.5,1.5-9.1,1.5c-5.3,0-9.5-1.8-12.7-5.3c-3.2-3.6-4.8-8.4-4.8-14.5c0-5.7,1.6-10.4,4.7-14
56
+ c3.2-3.7,7.1-5.5,11.9-5.5c3.1,0,6.4,0.5,10,1.5v-16.2c-3.3-0.9-7-1.3-10.9-1.3C796.6,356.8,788.1,360.1,781.4,366.7z
57
+ M841.1,412.2v-12.4h16.3v-14.1h-16.3v-12.5H860v-14.5h-37.2v68.1h37.3v-14.5H841.1z"/>
58
+ </g>
59
+ </g>
60
+ </g>
61
</symbol><symbol id="zebra-thumbs-up" viewBox="0 0 209 328">
62
<!-- Generator: Sketch 50 (54983) - http://www.bohemiancoding.com/sketch -->
63
<title>zebra_2</title>
assets/js/admin-general.js CHANGED
@@ -1,17 +1 @@
1
- 'use strict';jQuery(document).ready(function($){if($('#cpac').length===0){return false}ac_pointer($);ac_help($)});/*
2
- * WP Pointer
3
- *
4
- */function ac_pointer($){$('.ac-pointer').each(function(){// vars
5
- var el=$(this),html=el.attr('rel'),pos=el.attr('data-pos'),w=el.attr('data-width'),noclick=el.attr('data-noclick');var position={at:'left top',// position of wp-pointer relative to the element which triggers the pointer event
6
- my:'right top',// position of wp-pointer relative to the at-coordinates
7
- edge:'right'// position of arrow
8
- };var width=w?w:250;if('right'==pos){position={at:'right middle',my:'left middle',edge:'left'}}if('left'==pos){position={at:'left middle',my:'right middle',edge:'right'}}// create pointer
9
- el.pointer({content:$('#'+html).html(),position:position,pointerWidth:width,// bug fix. with an arrow on the right side the position of wp-pointer is incorrect. it does not take
10
- // into account the padding of the arrow. adding "wp-pointer-' + position.edge" will fix that.
11
- pointerClass:'ac-wp-pointer wp-pointer wp-pointer-'+position.edge+(noclick?' noclick':'')});// click
12
- if(!noclick){el.click(function(){if(el.hasClass('open')){el.removeClass('open')}else{el.addClass('open')}})}// show on hover
13
- el.hover(function(){$(this).pointer('open')},function(){var el=$(this);setTimeout(function(){if(!el.hasClass('open')&&$('.ac-wp-pointer.hover').length==0){el.pointer('close')}},100)}).on('close',function(){if(!el.hasClass('open')&&$('.ac-wp-pointer.hover').length==0){el.pointer('close')}})});$('.ac-wp-pointer').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover');$('.ac-pointer').trigger('close')})}/*
14
- * Help
15
- *
16
- * usage: <a href="javascript:;" class="help" data-help="tab-2"></a>
17
- */function ac_help($){$('a.help').click(function(e){e.preventDefault();var panel=$('#contextual-help-wrap');panel.parent().show();$('a[href="#tab-panel-cpac-'+$(this).attr('data-help')+'"]',panel).trigger('click');panel.slideDown('fast',function(){panel.focus()})})}
1
+ !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=44)}({44:function(t,e,n){"use strict";jQuery(document).ready(function(t){if(0===t("#cpac").length)return!1;!function(t){t(".ac-pointer").each(function(){var e=t(this),n=e.attr("rel"),r=e.attr("data-pos"),o=e.attr("data-width"),i=e.attr("data-noclick"),a={at:"left top",my:"right top",edge:"right"},c=o||250;"right"===r&&(a={at:"right middle",my:"left middle",edge:"left"}),"left"===r&&(a={at:"left middle",my:"right middle",edge:"right"}),e.pointer({content:t("#"+n).html(),position:a,pointerWidth:c,pointerClass:"ac-wp-pointer wp-pointer wp-pointer-"+a.edge+(i?" noclick":"")}),i||e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")}),e.hover(function(){t(this).pointer("open")},function(){var e=t(this);setTimeout(function(){e.hasClass("open")||0!=t(".ac-wp-pointer.hover").length||e.pointer("close")},100)}).on("close",function(){e.hasClass("open")||0!=t(".ac-wp-pointer.hover").length||e.pointer("close")})}),t(".ac-wp-pointer").hover(function(){t(this).addClass("hover")},function(){t(this).removeClass("hover"),t(".ac-pointer").trigger("close")})}(t),function(t){t("a.help").click(function(e){e.preventDefault();var n=t("#contextual-help-wrap");n.parent().show(),t('a[href="#tab-panel-cpac-'+t(this).attr("data-help")+'"]',n).trigger("click"),n.slideDown("fast",function(){n.focus()})})}(t)})}});
assets/js/admin-general.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/admin-general.js"],"names":["jQuery","document","ready","quot;,"length","ac_pointer","ac_help","each","el","html","attr","pos","w","noclick","position","at","my","edge","width","pointer","content","pointerWidth","pointerClass","click","hasClass","removeClass","addClass","hover","setTimeout","on","trigger","e","preventDefault","panel","parent","show","slideDown","focus"],"mappings":";AAAA;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W,OAAH,CAAY,OAAZ;AACA;AACD,KAdD;AAeA,GAtED;AAwEAhB,IAAG,gBAAH,EAAsBwB,KAAtB,CAA6B,YAAW;AACvCxB,MAAG,IAAH,EAAUuB,QAAV,CAAoB,OAApB;AACA,GAFD,EAEG,YAAW;AACbvB,MAAG,IAAH,EAAUsB,WAAV,CAAuB,OAAvB;AACAtB,MAAG,aAAH,EAAmB2B,OAAnB,CAA4B,OAA5B;AACA,GALD;AAOA;AAED;;;;;;;AAKA,SAASxB,OAAT,CAAkBH,CAAlB,EAAsB;AACrBA,IAAG,QAAH,EAAcoB,KAAd,CAAqB,UAAUQ,CAAV,EAAc;AAClCA,MAAEC,cAAF;AAEA,QAAIC,QAAQ9B,EAAG,uBAAH,CAAZ;AAEA8B,UAAMC,MAAN,GAAeC,IAAf;AACAhC,MAAG,6BAA6BA,EAAG,IAAH,EAAUO,IAAV,CAAgB,WAAhB,CAA7B,GAA6D,IAAhE,EAAsEuB,KAAtE,EAA8EH,OAA9E,CAAuF,OAAvF;AACAG,UAAMG,SAAN,CAAiB,MAAjB,EAAyB,YAAW;AACnCH,YAAMI,KAAN;AACA,KAFD;AAGA,GAVD;AAWA,C","file":"admin-general.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/admin-general.js\");\n","jQuery( document ).ready( function( $ ) {\n\tif ( $( '#cpac' ).length === 0 ) {\n\t\treturn false;\n\t}\n\n\tac_pointer( $ );\n\tac_help( $ );\n} );\n\n/*\n * WP Pointer\n *\n */\nfunction ac_pointer( $ ) {\n\n\t$( '.ac-pointer' ).each( function() {\n\t\t// vars\n\t\tlet el = $( this ),\n\t\t\thtml = el.attr( 'rel' ),\n\t\t\tpos = el.attr( 'data-pos' ),\n\t\t\tw = el.attr( 'data-width' ),\n\t\t\tnoclick = el.attr( 'data-noclick' );\n\n\t\tlet position = {\n\t\t\tat : 'left top',\t\t// position of wp-pointer relative to the element which triggers the pointer event\n\t\t\tmy : 'right top',\t// position of wp-pointer relative to the at-coordinates\n\t\t\tedge : 'right',\t\t// position of arrow\n\t\t};\n\n\t\tlet width = w ? w : 250;\n\n\t\tif ( 'right' === pos ) {\n\t\t\tposition = {\n\t\t\t\tat : 'right middle',\n\t\t\t\tmy : 'left middle',\n\t\t\t\tedge : 'left'\n\t\t\t};\n\t\t}\n\n\t\tif ( 'left' === pos ) {\n\t\t\tposition = {\n\t\t\t\tat : 'left middle',\n\t\t\t\tmy : 'right middle',\n\t\t\t\tedge : 'right'\n\t\t\t};\n\t\t}\n\n\t\t// create pointer\n\t\tel.pointer( {\n\t\t\tcontent : $( '#' + html ).html(),\n\t\t\tposition : position,\n\t\t\tpointerWidth : width,\n\t\t\t// bug fix. with an arrow on the right side the position of wp-pointer is incorrect. it does not take\n\t\t\t// into account the padding of the arrow. adding \"wp-pointer-' + position.edge\" will fix that.\n\t\t\tpointerClass : 'ac-wp-pointer wp-pointer wp-pointer-' + position.edge + (noclick ? ' noclick' : '')\n\t\t} );\n\n\t\t// click\n\t\tif ( !noclick ) {\n\t\t\tel.click( function() {\n\t\t\t\tif ( el.hasClass( 'open' ) ) {\n\t\t\t\t\tel.removeClass( 'open' );\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tel.addClass( 'open' );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// show on hover\n\t\tel.hover( function() {\n\t\t\t$( this ).pointer( 'open' );\n\t\t}, function() {\n\t\t\tlet el = $( this );\n\t\t\tsetTimeout( function() {\n\t\t\t\tif ( !el.hasClass( 'open' ) && $( '.ac-wp-pointer.hover' ).length == 0 ) {\n\t\t\t\t\tel.pointer( 'close' );\n\t\t\t\t}\n\t\t\t}, 100 );\n\n\t\t} ).on( 'close', function() {\n\t\t\tif ( !el.hasClass( 'open' ) && $( '.ac-wp-pointer.hover' ).length == 0 ) {\n\t\t\t\tel.pointer( 'close' );\n\t\t\t}\n\t\t} );\n\t} );\n\n\t$( '.ac-wp-pointer' ).hover( function() {\n\t\t$( this ).addClass( 'hover' );\n\t}, function() {\n\t\t$( this ).removeClass( 'hover' );\n\t\t$( '.ac-pointer' ).trigger( 'close' );\n\t} );\n\n}\n\n/*\n * Help\n *\n * usage: <a href=\"javascript:;\" class=\"help\" data-help=\"tab-2\"></a>\n */\nfunction ac_help( $ ) {\n\t$( 'a.help' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tlet panel = $( '#contextual-help-wrap' );\n\n\t\tpanel.parent().show();\n\t\t$( 'a[href=\"#tab-panel-cpac-' + $( this ).attr( 'data-help' ) + '\"]', panel ).trigger( 'click' );\n\t\tpanel.slideDown( 'fast', function() {\n\t\t\tpanel.focus();\n\t\t} );\n\t} );\n}"],"sourceRoot":""}
assets/js/admin-page-columns.js CHANGED
@@ -1,156 +1 @@
1
- 'use strict';/**
2
- * AC variables. Defined in DOM.
3
- * @param AC {Object}
4
- * @param AC.list_screen {String}
5
- * @param AC.layout {String}
6
- * @param AC.i81n {String}
7
- */var AC;/**
8
- * Temporary column name used for form elements.
9
- *
10
- * @type {number}
11
- */var incremental_column_name=0;/**
12
- * DOM ready
13
- */jQuery(document).ready(function($){if($('#cpac').length===0){return false}cpac_init($);cpac_submit_form($);cpac_reset_columns($);cpac_menu($);cpac_add_column($);cpac_sidebar_feedback($)});function ac_show_ajax_message(message,attr_class){var msg=jQuery('<div class="ac-message hidden '+attr_class+'"><p>'+message+'</p></div>');jQuery('.ac-boxes').before(msg);msg.slideDown()}/*
14
- * Submit Form
15
- *
16
- * @since 2.0.2
17
- */function cpac_submit_form($){var $save_buttons=$('.sidebox a.submit, .column-footer a.submit');$save_buttons.click(function(){var $button=$(this);var $container=$button.closest('.ac-admin').addClass('saving');var columns_data=$container.find('.ac-columns form').serialize();$save_buttons.attr('disabled','disabled');// reset
18
- $container.find('.ac-message').remove();// placed by restore button
19
- var xhr=$.post(ajaxurl,{action:'ac_columns_save',data:columns_data,_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,original_columns:AC.original_columns},// JSON response
20
- function(response){if(response){if(response.success){ac_show_ajax_message(response.data,'updated');$container.addClass('stored')}// Error message
21
- else if(response.data){ac_show_ajax_message(response.data.message,'notice notice-warning')}}// No response
22
- else{}},'json');// No JSON
23
- xhr.fail(function(error){// We choose not to notify the user of errors, because the settings will have
24
- // been saved correctly despite of PHP notices/errors from plugin or themes.
25
- });// Always
26
- xhr.always(function(){$save_buttons.removeAttr('disabled','disabled');$container.removeClass('saving')});$(document).trigger('cac_update',$container)})}/*
27
- * Add Column
28
- *
29
- * @since 2.0
30
- */function cpac_add_column($){$('.add_column').click(function(e){e.preventDefault();var clone=$('#add-new-column-template').find('.ac-column').clone();// increment clone id ( before adding to DOM, otherwise radio buttons will reset )
31
- clone.cpac_update_clone_id();// Open
32
- clone.addClass('opened').find('.ac-column-body').slideDown(150,function(){$('html, body').animate({scrollTop:clone.offset().top-58},300)});// add to DOM
33
- $('.ac-columns form').append(clone);// TODO: better?
34
- clone.column_bind_toggle();clone.column_bind_remove();clone.column_bind_clone();clone.column_bind_events();// hook for addons
35
- $(document).trigger('column_add',clone)})}/**
36
- * @since 2.2.1
37
- */function cpac_sidebar_feedback($){var sidebox=$('.sidebox#direct-feedback');sidebox.find('#feedback-choice a.no').click(function(e){e.preventDefault();sidebox.find('#feedback-choice').slideUp();sidebox.find('#feedback-support').slideDown()});sidebox.find('#feedback-choice a.yes').click(function(e){e.preventDefault();sidebox.find('#feedback-choice').slideUp();sidebox.find('#feedback-rate').slideDown()})}function cpac_init($){var container=$('.ac-admin');var boxes=container.find('.ac-boxes');// Written for PHP Export
38
- if(boxes.hasClass('disabled')){boxes.find('.ac-column').each(function(i,col){$(col).column_bind_toggle();$(col).find('input, select').prop('disabled',true)})}else{var columns=boxes.find('.ac-columns');// we start by binding the toggle and remove events.
39
- columns.find('.ac-column').each(function(i,col){$(col).column_bind_toggle();$(col).column_bind_remove();$(col).column_bind_clone();$(col).cpac_bind_indicator_events();$(col).column_onload()});// ordering of columns
40
- columns.cpac_bind_ordering()}// hook for addons
41
- $(document).trigger('cac_menu_change',columns);// deprecated
42
- $(document).trigger('cac_model_ready',container.data('type'))}/*
43
- * Menu
44
- *
45
- * @since 1.5
46
- */function cpac_menu($){$('#ac_list_screen').on('change',function(){$('.view-link').hide();$(this).parents('form').submit();$(this).prop('disabled',true).next('.spinner').css('display','inline-block')})}/*
47
- * Reset columns
48
- *
49
- * @since 3.0.3
50
- */function cpac_reset_columns($){var $container=$('.ac-admin');$('a[data-clear-columns]').on('click',function(){$container.find('.ac-column').each(function(){$(this).find('.remove-button').trigger('click')})})}/*
51
- * jQuery functions
52
- *
53
- * @since 2.0
54
- */(function($){/*
55
- * Column: bind toggle events
56
- *
57
- * For performance we bind all other events after the click event.
58
- *
59
- * @since 2.0
60
- */$.fn.column_bind_toggle=function(){var $column=$(this);var is_disabled=$column.closest('.ac-boxes').hasClass('disabled');$column.find('[data-toggle="column"]').click(function(e){e.preventDefault();$column.toggleClass('opened').find('.ac-column-body').slideToggle(150);if(is_disabled){return}if(!$column.hasClass('events-binded')){$column.column_bind_events()}$column.addClass('events-binded');// hook for addons
61
- $(document).trigger('column_init',$column)}).css('cursor','pointer')};/*
62
- * Column: bind remove events
63
- *
64
- * @since 2.0
65
- */$.fn.column_bind_remove=function(){$(this).find('.remove-button').click(function(e){$(this).closest('.ac-column').column_remove();e.preventDefault()})};/**
66
- * Column: bind clone events
67
- *
68
- * @since 2.3.4
69
- */$.fn.column_bind_clone=function(){$(this).find('.clone-button').click(function(e){e.preventDefault();var $clone=$(this).closest('.ac-column').column_clone();if(typeof $clone!=='undefined'){$clone.removeClass('loading').hide().slideDown()}})};$.fn.cpac_column_refresh=function(){var el=$(this);var select=el.find('[data-refresh="column"]');var column_name=$(this).attr('data-column-name');var opened=el.hasClass('opened');// Allow plugins to hook into this event
70
- $(document).trigger('pre_column_refresh',el);var data=$(this).find(':input').serializeArray();var request_data={action:'ac_column_refresh',_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,column_name:column_name,original_columns:AC.original_columns};$.each(request_data,function(name,value){data.push({name:name,value:value})});// Mark column as loading
71
- el.addClass('loading');select.prop('disabled',1);// Fetch new form HTML
72
- var xhr=$.post(ajaxurl,data,function(response){if(response){// Replace current form by new form
73
- var newel=$('<div>'+response.data+'</div>').children();el.replaceWith(newel);el=newel;// Bind events
74
- el.column_bind_toggle();el.column_bind_remove();el.column_bind_clone();el.column_bind_events();// Open settings
75
- if(opened){el.addClass('opened').find('.ac-column-body').show()}// Allow plugins to hook into this event
76
- // TODO: change to column_refresh?
77
- $(document).trigger('column_change',el)}// Do nothing
78
- else{}},'json');xhr.fail(function(error){var $msg=el.closest('.ac-admin').find('.ajax-message');$msg.addClass('error').find('p').html(AC.i18n.error);$msg.slideDown();el.slideUp(function(){el.remove()});console.log('responseText: '+error.responseText)});xhr.always(function(){// Remove "loading" marking from column
79
- el.removeClass('loading');select.prop('disabled',false)})};$.fn.column_onload=function(){var column=$(this);/** When an label contains an icon or span, the displayed label can appear empty. In this case we show the "type" label. */var column_label=column.find('.column_label .toggle');if($.trim(column_label.html())&&column_label.width()<1){column_label.html(column.find('.column_type .inner').html())}};/*
80
- * Form Events
81
- *
82
- * @since 2.0
83
- */$.fn.column_bind_events=function(){var column=$(this);var container=column.closest('.ac-admin ');column.column_onload();// Current column type
84
- var default_value=column.find('select.ac-setting-input_type option:selected').val();// Type selector
85
- column.find('select.ac-setting-input_type').change(function(){var option=$('optgroup',this).children(':selected');var type=option.val();var msg=$(this).next('.msg').hide();var $select=$(this);var current_original_columns=[];container.find('.ac-column[data-original=1]').each(function(){current_original_columns.push($(this).data('type'))});column.addClass('loading');$.ajax({url:ajaxurl,method:'post',dataType:'json',data:{action:'ac_column_select',type:type,current_original_columns:current_original_columns,original_columns:AC.original_columns,list_screen:AC.list_screen,layout:AC.layout,_ajax_nonce:AC._ajax_nonce}}).done(function(response){if(response){if(response.success){var el=column.closest('.ac-column');// Replace current form by new form
86
- var newel=$('<div>'+response.data+'</div>').children();el.replaceWith(newel);el=newel;// Bind events
87
- el.column_bind_toggle();el.column_bind_remove();el.column_bind_clone();el.column_bind_events();// Open settings
88
- el.addClass('opened').find('.ac-column-body').show();el.cpac_update_clone_id();// Allow plugins to hook into this event
89
- $(document).trigger('column_change',el)}// Error message
90
- else if(response.data){if('message'===response.data.type){msg.html(response.data.error).show();// Set to default
91
- $select.find('option').removeAttr('selected');$select.find('option[value="'+default_value+'"]').attr('selected','selected')}}}}).always(function(){column.removeClass('loading')})});/** change label */column.find('.ac-column-setting--label input').bind('keyup change',function(){var value=$(this).val();$(this).closest('.ac-column').find('td.column_label .inner > a.toggle').html(value)});/** tooltip */column.find('.ac-column-body .col-label .label').hover(function(){$(this).parents('.col-label').find('div.tooltip').show()},function(){$(this).parents('.col-label').find('div.tooltip').hide()});/**
92
- * Populates the main Label with the selected label from the dropdown,
93
- */column.find('select[data-label="update"]').change(function(){var $label=column.find('input.ac-setting-input_label');var field_label=$(this).find('option:selected').text();// Set new label
94
- $label.val(field_label);$label.trigger('change')});// refresh column and re-bind all events
95
- column.find('[data-refresh="column"]').change(function(){column.cpac_column_refresh()});$(document).trigger('init_settings',column)};$.fn.column_bind_settings=function(){var $column=$(this);$column.find('.ac-column-setting--image_size').cpac_column_setting_image_size();$column.find('.ac-column-setting--width').cpac_column_setting_width()};/*
96
- * Column: remove from DOM
97
- *
98
- * @since 2.0
99
- */$.fn.column_remove=function(){$(this).addClass('deleting').animate({opacity:0,height:0},350,function(){$(this).remove()})};/*
100
- * Column: clone
101
- *
102
- * @since 2.3.4
103
- */$.fn.column_clone=function(){var column=$(this);var columns=$(this).closest('ac-columns');if('1'===column.attr('data-original')){var message=AC.i18n.clone.replace('%s','<strong>'+column.find('.column_label .toggle').text()+'</strong>');column.addClass('opened').find('.ac-column-body').slideDown(150);column.find('.ac-setting-input_type').next('.msg').html(message).show();return}var clone=$(this).clone();clone.cpac_update_clone_id();$(this).after(clone);// rebind events
104
- clone.column_bind_toggle();clone.column_bind_remove();clone.column_bind_clone();// rebind all other events
105
- clone.column_bind_events();// reinitialize sortability
106
- columns.cpac_bind_ordering();// hook for addons
107
- $(document).trigger('column_add',clone);return clone};/*
108
- * Update clone ID
109
- *
110
- * @since 2.0
111
- */$.fn.cpac_update_clone_id=function(){var $el=$(this);var original_column_name=$el.attr('data-column-name');var temp_column_name='_new_column_'+incremental_column_name;// update input names with clone ID
112
- var inputs=$el.find('input, select, label');$(inputs).each(function(i,v){// name
113
- if($(v).attr('name')){$(v).attr('name',$(v).attr('name').replace('columns['+original_column_name+']','columns['+temp_column_name+']'))}// id
114
- if($(v).attr('id')){$(v).attr('id',$(v).attr('id').replace('-'+original_column_name+'-','-'+temp_column_name+'-'))}// TODO for
115
- });$el.attr('data-column-name',temp_column_name);// increment
116
- incremental_column_name++};/*
117
- * Bind events: triggered after column is init, changed or added
118
- *
119
- */$(document).bind('column_init column_change column_add',function(e,column){var is_disabled=$(column).closest('.ac-boxes').hasClass('disabled');if(is_disabled){return}$(column).cpac_bind_column_addon_events();$(column).cpac_bind_indicator_events()});/*
120
- * Optional Radio Click events
121
- *
122
- */$.fn.cpac_bind_column_addon_events=function(){var column=$(this);var inputs=column.find('[data-trigger] label');inputs.on('click',function(){var id=$(this).closest('td.input').data('trigger');var state=$('input',this).val();// Toggle indicator icon
123
- var label=column.find('[data-indicator-id="'+id+'"]').removeClass('on');if('on'==state){label.addClass('on')}// Toggle additional options
124
- var additional=column.find('[data-handle="'+id+'"]').addClass('hide');if('on'==state){additional.removeClass('hide')}});// On load
125
- column.find('[data-trigger]').each(function(){var trigger=$(this).data('trigger');// Hide additional column settings
126
- var additional=column.find('[data-handle="'+trigger+'"]').addClass('hide');if('on'==$('input:checked',this).val()){additional.removeClass('hide')}})};/*
127
- * Indicator Click Events
128
- *
129
- */$.fn.cpac_bind_indicator_events=function(){var $column=$(this);var $indicators=$column.find('.ac-column-header [data-indicator-toggle]');$indicators.each(function(){var $indicator=$(this);var setting=$(this).data('setting');var $setting=$column.find('.ac-column-setting[data-setting='+setting+']');var $input=$setting.find('.col-input:first .ac-setting-input:first input[type=radio]');$indicator.unbind('click').on('click',function(e){e.preventDefault();$indicator.toggleClass('on');if($(this).hasClass('on')){$input.filter('[value=on]').prop('checked',true).trigger('click').trigger('change')}else{$input.filter('[value=off]').prop('checked',true).trigger('click').trigger('change')}});$input.on('change',function(){var value=$input.filter(':checked').val();if('on'==value){$indicator.addClass('on')}else{$indicator.removeClass('on')}})})};/*
130
- * Sortable
131
- *
132
- * @since 1.5
133
- */$.fn.cpac_bind_ordering=function(){$(this).each(function(){if($(this).hasClass('ui-sortable')){$(this).sortable('refresh')}else{$(this).sortable({items:'.ac-column',handle:'.column_sort'})}})};// Settings fields: Image _size
134
- $.fn.cpac_column_setting_image_size=function(){function initState($setting,$select){if('cpac-custom'==$select.val()){$setting.find('.ac-column-setting').show()}else{$setting.find('.ac-column-setting').hide()}}$(this).each(function(){var $setting=$(this);var $select=$(this).find('.ac-setting-input select');initState($setting,$select);$select.on('change',function(){initState($setting,$(this))})})};$(document).on('init_settings',function(e,column){$(column).find('.ac-column-setting--image').cpac_column_setting_image_size();$(column).find('.ac-column-setting--images').cpac_column_setting_image_size()});// Settings fields: Width
135
- $.fn.column_width_slider=function(){var column_width=$(this).find('.ac-setting-input-width');var input_width=column_width.find('.description input'),input_unit=column_width.find('.unit-select input'),unit=input_unit.filter(':checked').val(),width=input_width.val(),slider=column_width.find('.width-slider'),indicator=$(this).find('.ac-column-header .ac-column-heading-setting--width');// width
136
- if('%'==unit&&width>100){width=100}input_width.val(width);slider.slider({range:'min',min:0,max:'%'==unit?100:500,value:width,slide:function slide(event,ui){input_width.val(ui.value);indicator.trigger('update');input_width.trigger('validate')}})};$.fn.cpac_column_setting_width=function(){$(this).each(function(){var $column=$(this).parents('.ac-column');$column.column_width_slider();// indicator
137
- var $width_indicator=$column.find('.ac-column-header .ac-column-heading-setting--width');$width_indicator.on('update',function(){var _width=$column.find('.ac-setting-input-width .description input').val();var _unit=$column.find('.ac-setting-input-width .description .unit').text();if(_width>0){$(this).text(_width+_unit)}else{$(this).text('')}});// unit selector
138
- var width_unit_select=$column.find('.ac-setting-input-width .unit-select label');width_unit_select.on('click',function(){$column.find('span.unit').text($(this).find('input').val());$column.column_width_slider();// re-init slider
139
- $width_indicator.trigger('update');// update indicator
140
- });// width_input
141
- var width_input=$column.find('.ac-setting-input-width .description input').on('keyup',function(){$column.column_width_slider();// re-init slider
142
- $(this).trigger('validate');// validate input
143
- $width_indicator.trigger('update');// update indicator
144
- })// width_input:validate
145
- .on('validate',function(){var _width=width_input.val();var _new_width=$.trim(_width);if(!$.isNumeric(_new_width)){_new_width=_new_width.replace(/\D/g,'')}if(_new_width.length>3){_new_width=_new_width.substring(0,3)}if(_new_width<=0){_new_width=''}if(_new_width!==_width){width_input.val(_new_width)}})})};$.fn.cpac_column_sub_setting_toggle=function(options){var settings=$.extend({value_show:'on',subfield:'.ac-column-setting'},options);function initState($setting,$input){var value=$input.filter(':checked').val();var $subfields=$setting.find(settings.subfield);if(settings.value_show==value){$subfields.show()}else{$subfields.hide()}}$(this).each(function(){var $setting=$(this);var $input=$(this).find('.ac-setting-input input[type="radio"]');initState($setting,$input);$input.on('change',function(){initState($setting,$input)})})};$.fn.cpac_column_setting_date=function(){$(this).each(function(){var $container=$(this);// Custom input
146
- var $radio_custom=$container.find('input.custom');var $input_custom=$container.find('.ac-setting-input-date__custom');var $input_value=$container.find('.ac-setting-input-date__value');var $example_custom=$container.find('.ac-setting-input-date__example');var $selected=$container.find('input[type=radio]:checked');var $help_msg=$container.find('.help-msg');// Click Event
147
- $container.find('input[type=radio]').on('change',function(){var $input=$(this);var $input_container=$input.closest('label');var date_format=$input_container.find('code').text();var description=$input_container.find('.ac-setting-input-date__more').html();if(date_format){$input_custom.val(date_format).trigger('change')}if($input.hasClass('diff')){$input_custom.val('');$example_custom.text('')}$input_custom.prop('disabled',true);// Custom input selected
148
- if($input.hasClass('custom')){$input.val($input_custom.val());$input_custom.prop('disabled',false);$help_msg.show()}// Show more description
149
- $help_msg.hide();if(description){$help_msg.html(description).show()}$input_value.val($input.val())});// Custom input
150
- $input_custom.on('change',function(){$example_custom.html('<span class="spinner is-active"></span>');$radio_custom.val($input_custom.val());var $custom_value=$(this).val();if(!$custom_value){$example_custom.text('');return}$.ajax({url:ajaxurl,method:'post',data:{action:'date_format',date:$custom_value}}).done(function(date){$example_custom.text(date)});$input_value.val($custom_value)});// Update date example box
151
- $selected.trigger('change');// Select custom input as a default
152
- if(0===$selected.length){$radio_custom.trigger('click')}})};// Settings fields: Pro
153
- $.fn.cpac_column_setting_pro=function(){$(this).each(function(){var $container=$(this);$container.find('input').on('click',function(e){e.preventDefault();$container.find('[data-ac-open-modal]').trigger('click')})})};$(document).on('init_settings',function(e,column){$(column).find('.ac-column-setting--width').cpac_column_setting_width();$(column).find('.ac-column-setting--date').cpac_column_setting_date();$(column).find('.ac-column-setting--pro').cpac_column_setting_pro();// TODO: pro?
154
- $(column).find('.ac-column-setting--filter').cpac_column_sub_setting_toggle();$(column).find('.ac-column-setting--sort').cpac_column_sub_setting_toggle();$(column).find('.ac-column-setting--edit').cpac_column_sub_setting_toggle()});// AC Modal Events (todo move to separate logic)
155
- $().ready(function(){$(document).on('click','[data-ac-open-modal]',function(e){e.preventDefault();$($(this).data('ac-open-modal')).addClass('-active')});$('.ac-modal__dialog__close').on('click',function(e){e.preventDefault();$(this).closest('.ac-modal').removeClass('-active')});$('.ac-modal').on('click',function(e){$(this).removeClass('-active')});// Prevent bubbling
156
- $('.ac-modal__dialog').on('click',function(e){e.stopPropagation()});$(document).keyup(function(e){if(e.keyCode===27){$('.ac-modal').removeClass('-active')}})})})(jQuery);
1
+ !function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=45)}([function(t,e,n){"use strict";var i=n(15),r=n(30)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(25)("find")},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var i=n(8),r=n(19);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(23)("wks"),r=n(9),o=n(1).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(14),r=n(27),o=n(28),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(1),r=n(2),o=n(11),a=n(9)("src"),u=Function.toString,c=(""+u).split("toString");n(6).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var s="function"==typeof n;s&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(s&&(o(n,a)||r(n,a,t[e]?""+t[e]:c.join(String(e)))),t===i?t[e]=n:u?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(29);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(3);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var i=n(1),r=n(6),o=n(2),a=n(10),u=n(12),c=function(t,e,n){var s,l,f,d,h=t&c.F,v=t&c.G,p=t&c.S,m=t&c.P,g=t&c.B,y=v?i:p?i[e]||(i[e]={}):(i[e]||{}).prototype,b=v?r:r[e]||(r[e]={}),_=b.prototype||(b.prototype={});for(s in v&&(n=e),n)f=((l=!h&&y&&void 0!==y[s])?y:n)[s],d=g&&l?u(f,i):m&&"function"==typeof f?u(Function.call,f):f,y&&a(y,s,f,t&c.U),b[s]!=f&&o(b,s,d),m&&_[s]!=f&&(_[s]=f)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var i=n(17);t.exports=function(t){return Object(i(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(3),r=n(1).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(13);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(22),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(6),r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var i=n(5)("unscopables"),r=Array.prototype;void 0==r[i]&&n(2)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){var i=n(8).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(4)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){t.exports=!n(4)&&!n(7)(function(){return 7!=Object.defineProperty(n(18)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(3);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(12),r=n(20),o=n(16),a=n(21),u=n(31);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,l=4==t,f=6==t,d=5==t||f,h=e||u;return function(e,u,v){for(var p,m,g=o(e),y=r(g),b=i(u,v,3),_=a(y.length),k=0,C=n?h(e,_):c?h(e,0):void 0;_>k;k++)if((d||k in y)&&(m=b(p=y[k],k,g),t))if(n)C[k]=m;else if(m)switch(t){case 3:return!0;case 5:return p;case 6:return k;case 2:C.push(p)}else if(l)return!1;return f?-1:s||l?l:C}}},function(t,e,n){var i=n(32);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(3),r=n(33),o=n(5)("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var i=n(13);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";var i=n(25),r=n(48),o=n(35),a=n(36);t.exports=n(49)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports={}},function(t,e,n){var i=n(20),r=n(17);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(53),r=n(40);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(23)("keys"),r=n(9);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){for(var i=n(34),r=n(37),o=n(10),a=n(1),u=n(2),c=n(35),s=n(5),l=s("iterator"),f=s("toStringTag"),d=c.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=r(h),p=0;p<v.length;p++){var m,g=v[p],y=h[g],b=a[g],_=b&&b.prototype;if(_&&(_[l]||u(_,l,d),_[f]||u(_,f,g),c[g]=d,y))for(m in i)_[m]||o(_,m,i[m],!0)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(8).f,r=n(11),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(16),r=n(37);n(58)("keys",function(){return function(t){return r(i(t))}})},function(t,e,n){n(60)("replace",2,function(t,e,n){return[function(i,r){"use strict";var o=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},n]})},,function(t,e,n){t.exports=n(46)},function(t,e,n){"use strict";var i=C(n(47)),r=C(n(61)),o=C(n(62)),a=C(n(63)),u=C(n(64)),c=C(n(65)),s=C(n(66)),l=C(n(67)),f=C(n(68)),d=C(n(69)),h=C(n(70)),v=C(n(71)),p=C(n(72)),m=C(n(73)),g=C(n(74)),y=C(n(75)),b=C(n(76)),_=C(n(77)),k=C(n(78));function C(t){return t&&t.__esModule?t:{default:t}}var x=$=n(79);AC.Column=new o.default,AC.Modals=new r.default,x(document).on("AC_Form_Loaded",function(){AC.Column.registerEvent("toggle",s.default).registerEvent("remove",l.default).registerEvent("clone",f.default).registerEvent("refresh",d.default).registerEvent("type_selector",h.default).registerEvent("indicator",v.default).registerEvent("label",p.default.label).registerEvent("label_setting",p.default.setting).registerEvent("addons",m.default).registerSetting("date",b.default).registerSetting("image_size",g.default).registerSetting("pro",_.default).registerSetting("sub_setting_toggle",y.default).registerSetting("width",k.default)}),x(document).ready(function(){AC.Form=new i.default("#cpac .ac-columns form"),AC.Modals.register(new a.default(document.querySelector("#ac-modal-pro")),"pro"),(new u.default).init(),new c.default(".sidebox#direct-feedback")})},function(t,e,n){"use strict";n(26),n(0),n(34),n(42),n(39);var i=function(t){return t&&t.__esModule?t:{default:t}}(n(59));function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$form=jQuery(e),this.$container=jQuery("#cpac .ac-admin"),this.columns={},jQuery(document).trigger("AC_Form_Loaded"),this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){this.initColumns(),this.bindFormEvents(),this.bindOrdering(),jQuery(document).trigger("AC_Form_Ready")}},{key:"bindOrdering",value:function(){this.$form.hasClass("ui-sortable")?this.$form.sortable("refresh"):this.$form.sortable({items:".ac-column",handle:".column_sort"})}},{key:"originalColumns",value:function(){var t=this,e=[];return Object.keys(t.columns).forEach(function(n){var i=t.columns[n];i.isOriginal()&&e.push(i.type)}),e}},{key:"bindFormEvents",value:function(){var t=this,e=jQuery(".sidebox a.submit, .column-footer a.submit");e.on("click",function(){e.attr("disabled","disabled"),t.submitForm().always(function(){e.removeAttr("disabled","disabled")})}),t.$container.find(".add_column").on("click",function(){t.addColumn()});var n=jQuery("#cpac .ac-boxes");n.hasClass("disabled")&&n.find(".ac-column").each(function(t,e){jQuery(e).data("column").disable(),jQuery(e).find("input, select").prop("disabled",!0)}),jQuery("a[data-clear-columns]").on("click",function(){t.resetColumns()})}},{key:"initColumns",value:function(){var t=this;t.columns=[],this.$form.find(".ac-column").each(function(){var e=jQuery(this),n=new i.default(e);n.bindEvents(),e.data("column",n),t.columns[n.name]=n})}},{key:"reindexColumns",value:function(){var t=this;t.columns=[],this.$form.find(".ac-column").each(function(){var e=jQuery(this).data("column");t.columns[e.name]=e})}},{key:"resetColumns",value:function(){var t=this;Object.keys(this.columns).forEach(function(e){t.columns[e].destroy()})}},{key:"serialize",value:function(){return this.$form.serialize()}},{key:"submitForm",value:function(){var t=this,e=jQuery.post(ajaxurl,{action:"ac_columns_save",data:this.serialize(),_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,original_columns:AC.original_columns},function(e){e&&(e.success?(t.showMessage(e.data,"updated"),t.$container.addClass("stored")):e.data&&t.showMessage(e.data.message,"notice notice-warning"))},"json");return e.fail(function(t){}),jQuery(document).trigger("AC_Form_AfterUpdate",[t.$container]),e}},{key:"showMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"updated",n=jQuery('<div class="ac-message hidden '+e+'"><p>'+t+"</p></div>");this.$container.find(".ac-message").stop().remove(),this.$container.find(".ac-boxes").before(n),n.slideDown()}},{key:"cloneColumn",value:function(t){return this._addColumnToForm(new i.default(t).clone(),t.hasClass("opened"))}},{key:"addColumn",value:function(){var t=jQuery("#add-new-column-template").find(".ac-column").clone(),e=new i.default(t).create();return this._addColumnToForm(e)}},{key:"removeColumn",value:function(t){this.columns[t]&&(this.columns[t].remove(),delete this.columns[t])}},{key:"_addColumnToForm",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.columns[t.name]=t,this.$form.append(t.$el),e&&t.open(),t.$el.hide().slideDown(),jQuery("html, body").animate({scrollTop:t.$el.offset().top-58},300),jQuery(document).trigger("AC_Column_Added",[t]),t}}]),t}();t.exports=o},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var i=n(24),r=n(15),o=n(10),a=n(2),u=n(35),c=n(50),s=n(41),l=n(57),f=n(5)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,p,m,g){c(n,e,v);var y,b,_,k=function(t){if(!d&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",x="values"==p,w=!1,j=t.prototype,S=j[f]||j["@@iterator"]||p&&j[p],$=S||k(p),A=p?x?k("entries"):$:void 0,O="Array"==e&&j.entries||S;if(O&&(_=l(O.call(new t)))!==Object.prototype&&_.next&&(s(_,C,!0),i||"function"==typeof _[f]||a(_,f,h)),x&&S&&"values"!==S.name&&(w=!0,$=function(){return S.call(this)}),i&&!g||!d&&!w&&j[f]||a(j,f,$),u[e]=$,u[C]=h,p)if(y={values:x?$:k("values"),keys:m?$:k("keys"),entries:A},g)for(b in y)b in j||o(j,b,y[b]);else r(r.P+r.F*(d||w),e,y);return y}},function(t,e,n){"use strict";var i=n(51),r=n(19),o=n(41),a={};n(2)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var i=n(14),r=n(52),o=n(40),a=n(38)("IE_PROTO"),u=function(){},c=function(){var t,e=n(18)("iframe"),i=o.length;for(e.style.display="none",n(56).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c.prototype[o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=i(t),n=new u,u.prototype=null,n[a]=t):n=c(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(8),r=n(14),o=n(37);t.exports=n(4)?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),u=a.length,c=0;u>c;)i.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var i=n(11),r=n(36),o=n(54)(!1),a=n(38)("IE_PROTO");t.exports=function(t,e){var n,u=r(t),c=0,s=[];for(n in u)n!=a&&i(u,n)&&s.push(n);for(;e.length>c;)i(u,n=e[c++])&&(~o(s,n)||s.push(n));return s}},function(t,e,n){var i=n(36),r=n(21),o=n(55);t.exports=function(t){return function(e,n,a){var u,c=i(e),s=r(c.length),l=o(a,s);if(t&&n!=n){for(;s>l;)if((u=c[l++])!=u)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var i=n(22),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(1).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(11),r=n(16),o=n(38)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var i=n(15),r=n(6),o=n(7);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n(34),n(42),n(39),n(43),n(0),n(26);var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=e,this.el=e[0],this.settings=[],this._type=this.$el.data("type")}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"isOriginal",value:function(){return 1===this.$el.data("original")}},{key:"isDisabled",value:function(){return this.$el.hasClass("disabled")}},{key:"disable",value:function(){return this.$el.addClass("disabled"),this}},{key:"enable",value:function(){return this.$el.removeClass("disabled"),this}},{key:"initNewInstance",value:function(){var t="_new_column_"+AC.Column.getNewIncementalName(),e=this.name;return this.$el.find("input, select, label").each(function(n,i){var r=jQuery(i);r.attr("name")&&r.attr("name",r.attr("name").replace("columns[".concat(e,"]"),"columns[".concat(t,"]"))),r.attr("id")&&r.attr("id",r.attr("id").replace("-".concat(e,"-"),"-".concat(t,"-")))}),this.name=t,AC.incremental_column_name++,this}},{key:"bindEvents",value:function(){var t=this;return t.$el.data("column",t),Object.keys(AC.Column.events).forEach(function(e){t.isBound(e)||(AC.Column.events[e](t),t.bind(e))}),this.bindSettings(),jQuery(document).trigger("AC_Column_InitSettings",[t]),this}},{key:"bindSettings",value:function(){var t=this;Object.keys(AC.Column.settings).forEach(function(e){t.isBound(e)||(AC.Column.settings[e](t),t.bind(e))})}},{key:"isBound",value:function(t){return this.$el.data(t)}},{key:"bind",value:function(t){this.$el.data(t,!0)}},{key:"destroy",value:function(){this.$el.remove()}},{key:"remove",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350,e=this;this.$el.addClass("deleting").animate({opacity:0,height:0},t,function(){e.destroy()})}},{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:150;this.$el.hasClass("opened")?this.close(t):this.open(t)}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$el.removeClass("opened").find(".ac-column-body").slideUp(t)}},{key:"open",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$el.addClass("opened").find(".ac-column-body").slideDown(t)}},{key:"showMessage",value:function(t){this.$el.find(".ac-column-setting--type .msg").html(t).show()}},{key:"switchToType",value:function(t){var e=this;return jQuery.ajax({url:ajaxurl,method:"post",dataType:"json",data:{action:"ac_column_select",type:t,current_original_columns:AC.Form.originalColumns(),original_columns:AC.original_columns,list_screen:AC.list_screen,layout:AC.layout,_ajax_nonce:AC._ajax_nonce},success:function(n){if(!0===n.success){var i=jQuery(n.data);e.$el.replaceWith(i),e.$el=i,e.el=i[0],e._type=t,e.initNewInstance(),e.bindEvents(),e.open(),jQuery(document).trigger("AC_Column_Change",[e])}else e.showMessage(n.data.error)}})}},{key:"refresh",value:function(){var t=this,e=this.$el.find(":input").serializeArray(),n={action:"ac_column_refresh",_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,column_name:this.name,original_columns:AC.original_columns};return jQuery.each(n,function(t,n){e.push({name:t,value:n})}),jQuery.ajax({type:"post",url:ajaxurl,data:e,success:function(e){if(!0===e.success){var n=jQuery(e.data);t.$el.replaceWith(n),t.$el=n,t.el=n[0],t.bindEvents(),t.open(),jQuery(document).trigger("AC_Column_Refresh",[t])}}})}},{key:"create",value:function(){return this.initNewInstance(),this.bindEvents(),jQuery(document).trigger("AC_Column_Created",[self]),this}},{key:"clone",value:function(){var e=this.$el.clone();e.data("column-name",this.$el.data("column-name"));var n=new t(e);return n.initNewInstance(),n.bindEvents(),n}},{key:"name",get:function(){return this.$el.data("column-name")},set:function(t){this.$el.data("column-name",t)}},{key:"type",get:function(){return this._type},set:function(t){this.$el.data("type",t)}}]),t}();t.exports=r},function(t,e,n){"use strict";var i=n(2),r=n(10),o=n(7),a=n(17),u=n(5);t.exports=function(t,e,n){var c=u(t),s=n(a,c,""[t]),l=s[0],f=s[1];o(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(r(String.prototype,t,l),i(RegExp.prototype,c,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.number=1}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"register",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e||(e="m"+this.number),this.modals[e]=t,this.number++}},{key:"get",value:function(t){return!!this.modals[t]&&this.modals[t]}}]),t}();t.exports=r},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.events={},this.settings={},this.incremental_name=0}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"registerSetting",value:function(t,e){var n="s_"+t;return this.settings[n]&&console.error("Setting key already exists: "+t),this.settings[n]=e,this}},{key:"registerEvent",value:function(t,e){var n="e_"+t;return this.settings[n]&&console.error("Event key already exists: "+n),this.events[n]=e,this}},{key:"getNewIncementalName",value:function(){var t=this.incremental_name;return this.incremental_name++,t}}]),t}();t.exports=r},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n(39);var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.dialog=e.querySelector(".ac-modal__dialog"),this.initEvents()}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"initEvents",value:function(){var e=this,n=this;document.addEventListener("keydown",function(t){var n=event.key;e.isOpen()&&"Escape"===n&&e.close()});var i=this.el.querySelectorAll('[data-dismiss="modal"], .ac-modal__dialog__close');i.length>0&&i.forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),n.close()})}),this.el.addEventListener("click",function(){n.close()}),this.el.querySelector(".ac-modal__dialog").addEventListener("click",function(t){t.stopPropagation()}),void 0===document.querySelector("body").dataset.ac_modal_init&&(t.initGlobalEvents(),document.querySelector("body").dataset.ac_modal_init=1),this.el.AC_MODAL=n}},{key:"isOpen",value:function(){return this.el.classList.contains("-active")}},{key:"close",value:function(){this.el.classList.remove("-active")}},{key:"open",value:function(){this.el.classList.add("-active")}}],[{key:"initGlobalEvents",value:function(){jQuery(document).on("click","[data-ac-open-modal]",function(t){t.preventDefault();var e=t.target.dataset.acOpenModal,n=document.querySelector(e);n&&n.AC_MODAL&&n.AC_MODAL.open()})}}]),t}();t.exports=r},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"init",value:function(){var t=jQuery;t("#ac_list_screen").on("change",function(){t(".view-link").hide(),t(this).parents("form").submit(),t(this).prop("disabled",!0).next(".spinner").css("display","inline-block")})}}]),t}();t.exports=r},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n(0);var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=jQuery(e),this.init()}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"init",value:function(){var t=this.$el;t.find("#feedback-choice a.no").click(function(e){e.preventDefault(),t.find("#feedback-choice").slideUp(),t.find("#feedback-support").slideDown()}),t.find("#feedback-choice a.yes").click(function(e){e.preventDefault(),t.find("#feedback-choice").slideUp(),t.find("#feedback-rate").slideDown()})}}]),t}();t.exports=r},function(t,e,n){"use strict";n(0);t.exports=function(t){t.$el.find('[data-toggle="column"]').click(function(e){e.preventDefault(),t.toggle()}).css("cursor","pointer")}},function(t,e,n){"use strict";n(26),n(0);t.exports=function(t){t.$el.find(".remove-button").click(function(e){e.preventDefault(),AC.Form.removeColumn(t.name)})}},function(t,e,n){"use strict";n(0);t.exports=function(t){t.$el.find(".clone-button").click(function(e){e.preventDefault(),t.isOriginal()||AC.Form.cloneColumn(t.$el)})}},function(t,e,n){"use strict";n(0);t.exports=function(t){var e=jQuery;t.$el.find('[data-refresh="column"]').on("change",function(){e(document).trigger("AC.column.prerefresh",t.$el),t.$el.addClass("loading"),setTimeout(function(){t.refresh().always(function(){t.$el.removeClass("loading")})},200)})}},function(t,e,n){"use strict";n(0);t.exports=function(t){var e=jQuery;t.$el.find("select.ac-setting-input_type").change(function(){t.$el.addClass("loading"),t.switchToType(e(this).val()).always(function(){t.$el.removeClass("loading"),AC.Form.reindexColumns()})})}},function(t,e,n){"use strict";n(0);t.exports=function(t){var e=t.$el;e.find(".ac-column-header [data-indicator-toggle]").each(function(){var t=jQuery,n=t(this),i=t(this).data("setting"),r=e.find(".ac-column-setting[data-setting="+i+"]").find(".col-input:first .ac-setting-input:first input[type=radio]");n.unbind("click").on("click",function(i){i.preventDefault(),e.hasClass("disabled")||(n.toggleClass("on"),t(this).hasClass("on")?r.filter("[value=on]").prop("checked",!0).trigger("click").trigger("change"):r.filter("[value=off]").prop("checked",!0).trigger("click").trigger("change"))}),r.on("change",function(){e.hasClass("disabled")||("on"===r.filter(":checked").val()?n.addClass("on"):n.removeClass("on"))})})}},function(t,e,n){"use strict";n(0);t.exports={label:function(t){var e=t.$el;e.find('select[data-label="update"]').change(function(){var t=e.find("input.ac-setting-input_label"),n=jQuery(this).find("option:selected").text();t.val(n),t.trigger("change")}),setTimeout(function(){var t=e.find(".column_label .toggle");jQuery.trim(t.html())&&t.width()<1&&t.html(e.find(".column_type .inner").html())},50)},setting:function(t){var e=t.$el;e.find(".ac-column-setting--label input").bind("keyup change",function(){var t=jQuery(this).val();jQuery(this).closest(".ac-column").find("td.column_label .inner > a.toggle").html(t)}).trigger("change"),e.find(".ac-column-body .col-label .label").hover(function(){jQuery(this).parents(".col-label").find("div.tooltip").show()},function(){jQuery(this).parents(".col-label").find("div.tooltip").hide()})}}},function(t,e,n){"use strict";n(0);t.exports=function(t){var e=jQuery,n=t.$el;n.find("[data-trigger] label").on("click",function(){var t=e(this).closest("td.input").data("trigger"),i=e("input",this).val(),r=n.find('[data-indicator-id="'+t+'"]').removeClass("on");"on"===i&&r.addClass("on");var o=n.find('[data-handle="'+t+'"]').addClass("hide");"on"===i&&o.removeClass("hide")}),n.find("[data-trigger]").each(function(){var t=e(this).data("trigger"),i=n.find('[data-handle="'+t+'"]').addClass("hide");"on"===e("input:checked",this).val()&&i.removeClass("hide")})}},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.column=e,this.setting=e.$el[0].querySelector(".ac-column-setting--image"),this.setting&&(this.field=this.setting.querySelector(".ac-setting-input select"),this.initState(),this.bindEvents())}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"getValue",value:function(){return this.field.value}},{key:"bindEvents",value:function(){var t=this;this.field.addEventListener("change",function(e){t.initState()})}},{key:"initState",value:function(){"cpac-custom"===this.getValue()?this.showSubsettings():this.hideSubsettings()}},{key:"hideSubsettings",value:function(){for(var t=this.setting.querySelectorAll(".ac-column-setting"),e=0;e<t.length;++e)t[e].style.display="none"}},{key:"showSubsettings",value:function(){for(var t=this.setting.querySelectorAll(".ac-column-setting"),e=0;e<t.length;++e)t[e].style.display="table"}},{key:"setValue",value:function(t){return this.field.value=t,this.trigger(this.field,"change"),this}},{key:"setWidth",value:function(t){var e=this.setting.querySelector('.ac-column-setting [name*="image_size_w"]');return e.value=t,this.trigger(e,"change"),this}},{key:"setHeight",value:function(t){var e=this.setting.querySelector('.ac-column-setting [name*="image_size_h"]');return e.value=t,this.trigger(e,"change"),this}},{key:"setSize",value:function(t,e){return this.setWidth(t),this.setHeight(e),this}},{key:"trigger",value:function(t,e){return t.dispatchEvent(new Event(e)),this}}]),t}();t.exports=function(t){t.settings.image=new r(t)}},function(t,e,n){"use strict";n(0);t.exports=function(t){var e=jQuery,n={value_show:"on",subfield:".ac-column-setting"};function i(t,e){var i=e.filter(":checked").val(),r=t.find(n.subfield);n.value_show===i?r.show():r.hide()}t.$el.find(".ac-column-setting--filter,.ac-column-setting--sort,.ac-column-setting--edit").each(function(){var t=e(this),n=e(this).find('.ac-setting-input input[type="radio"]');i(t,n),n.on("change",function(){i(t,n)})})}},function(t,e,n){"use strict";n(0);t.exports=function(t){var e=jQuery;t.$el.find(".ac-column-setting--date").each(function(){var t=e(this),n=t.find("input.custom"),i=t.find(".ac-setting-input-date__custom"),r=t.find(".ac-setting-input-date__value"),o=t.find(".ac-setting-input-date__example"),a=t.find("input[type=radio]:checked"),u=t.find(".help-msg");t.find("input[type=radio]").on("change",function(){var t=e(this),n=t.closest("label"),a=n.find("code").text(),c=n.find(".ac-setting-input-date__more").html();a&&i.val(a).trigger("change"),t.hasClass("diff")&&(i.val(""),o.text("")),i.prop("disabled",!0),t.hasClass("custom")&&(t.val(i.val()),i.prop("disabled",!1),u.show()),u.hide(),c&&u.html(c).show(),r.val(t.val())}),i.on("change",function(){o.html('<span class="spinner is-active"></span>'),n.val(i.val());var t=e(this).val();t?(e.ajax({url:ajaxurl,method:"post",data:{action:"date_format",date:t}}).done(function(t){o.text(t)}),r.val(t)):o.text("")}),a.trigger("change"),0===a.length&&n.trigger("click")})}},function(t,e,n){"use strict";n(0);t.exports=function(t){t.$el.find(".ac-column-setting--pro").each(function(){var t=jQuery(this);t.find("input").on("click",function(e){e.preventDefault(),t.find("[data-ac-open-modal]").trigger("click")})})}},function(t,e,n){"use strict";n(43),n(0),jQuery.fn.column_width_slider=function(){var t=jQuery,e=t(this).find(".ac-setting-input-width"),n=e.find(".description input"),i=e.find(".unit-select input").filter(":checked").val(),r=n.val(),o=e.find(".width-slider"),a=t(this).find(".ac-column-header .ac-column-heading-setting--width");"%"===i&&r>100&&(r=100),n.val(r),o.slider({range:"min",min:0,max:"%"===i?100:500,value:r,slide:function(t,e){n.val(e.value),a.trigger("update"),n.trigger("validate")}})};t.exports=function(t){var e=t.$el;e.find(".ac-column-setting--width").each(function(){e.column_width_slider();var t=e.find(".ac-column-header .ac-column-heading-setting--width");t.on("update",function(){var t=e.find(".ac-setting-input-width .description input").val(),n=e.find(".ac-setting-input-width .description .unit").text();t>0?$(this).text(t+n):$(this).text("")}),e.find(".ac-setting-input-width .unit-select label").on("click",function(){e.find("span.unit").text($(this).find("input").val()),e.column_width_slider(),t.trigger("update")});var n=e.find(".ac-setting-input-width .description input").on("keyup",function(){e.column_width_slider(),$(this).trigger("validate"),t.trigger("update")}).on("validate",function(){var t=n.val(),e=$.trim(t);$.isNumeric(e)||(e=e.replace(/\D/g,"")),e.length>3&&(e=e.substring(0,3)),e<=0&&(e=""),e!==t&&n.val(e)})})}},function(t,e){t.exports=jQuery}]);
assets/js/admin-page-columns.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/admin-page-columns.js","webpack:///./js/admin/columns/column.js","webpack:///./js/admin/columns/events/addons.js","webpack:///./js/admin/columns/events/clone.js","webpack:///./js/admin/columns/events/indicator.js","webpack:///./js/admin/columns/events/label.js","webpack:///./js/admin/columns/events/refresh.js","webpack:///./js/admin/columns/events/remove.js","webpack:///./js/admin/columns/events/toggle.js","webpack:///./js/admin/columns/events/type-selector.js","webpack:///./js/admin/columns/feedback.js","webpack:///./js/admin/columns/form.js","webpack:///./js/admin/columns/initiator.js","webpack:///./js/admin/columns/menu.js","webpack:///./js/admin/columns/modal.js","webpack:///./js/admin/columns/settings/date.js","webpack:///./js/admin/columns/settings/image-size.js","webpack:///./js/admin/columns/settings/pro.js","webpack:///./js/admin/columns/settings/sub-setting-toggle.js","webpack:///./js/admin/columns/settings/width.js","webpack:///./js/modules/modals.js","webpack:///./node_modules/core-js/modules/_a-function.js","webpack:///./node_modules/core-js/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/modules/_an-object.js","webpack:///./node_modules/core-js/modules/_array-includes.js","webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_cof.js","webpack:///./node_modules/core-js/modules/_core.js","webpack:///./node_modules/core-js/modules/_ctx.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/core-js/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/_dom-create.js","webpack:///./node_modules/core-js/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/core-js/modules/_fails.js","webpack:///./node_modules/core-js/modules/_fix-re-wks.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./node_modules/core-js/modules/_has.js","webpack:///./node_modules/core-js/modules/_hide.js","webpack:///./node_modules/core-js/modules/_html.js","webpack:///./node_modules/core-js/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/modules/_iobject.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/_is-object.js","webpack:///./node_modules/core-js/modules/_iter-create.js","webpack:///./node_modules/core-js/modules/_iter-define.js","webpack:///./node_modules/core-js/modules/_iter-step.js","webpack:///./node_modules/core-js/modules/_iterators.js","webpack:///./node_modules/core-js/modules/_library.js","webpack:///./node_modules/core-js/modules/_object-create.js","webpack:///./node_modules/core-js/modules/_object-dp.js","webpack:///./node_modules/core-js/modules/_object-dps.js","webpack:///./node_modules/core-js/modules/_object-gpo.js","webpack:///./node_modules/core-js/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/modules/_object-keys.js","webpack:///./node_modules/core-js/modules/_object-sap.js","webpack:///./node_modules/core-js/modules/_property-desc.js","webpack:///./node_modules/core-js/modules/_redefine.js","webpack:///./node_modules/core-js/modules/_set-to-string-tag.js","webpack:///./node_modules/core-js/modules/_shared-key.js","webpack:///./node_modules/core-js/modules/_shared.js","webpack:///./node_modules/core-js/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/modules/_to-integer.js","webpack:///./node_modules/core-js/modules/_to-iobject.js","webpack:///./node_modules/core-js/modules/_to-length.js","webpack:///./node_modules/core-js/modules/_to-object.js","webpack:///./node_modules/core-js/modules/_to-primitive.js","webpack:///./node_modules/core-js/modules/_uid.js","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./node_modules/core-js/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./node_modules/core-js/modules/es6.object.keys.js","webpack:///./node_modules/core-js/modules/es6.regexp.replace.js","webpack:///./node_modules/core-js/modules/web.dom.iterable.js","webpack:///external \"jQuery\""],"names":["jQuery","quot;,"require","AC","Column","Initiator","Modals","document","on","registerEvent","EventToggle","EventRemove","EventClone","EventRefresh","EventTypeSelector","EventIndicator","EventLabel","label","setting","EventAddons","registerSetting","SettingDate","SettingImageSize","SettingPro","SettingSubSettingToggle","SettingWidth","ready","Form","register","Modal","querySelector","Menu","init","Feedback","$el","el","settings","_type","data","hasClass","addClass","removeClass","temp_column_name","getNewIncementalName","original_column_name","name","find","each","i","v","$input","attr","replace","incremental_column_name","column","Object","keys","events","forEach","key","isBound","bind","bindSettings","trigger","remove","duration","self","animate","opacity","height","destroy","close","open","slideUp","slideDown","message","html","show","type","ajax","url","ajaxurl","method","dataType","action","current_original_columns","originalColumns","original_columns","list_screen","layout","_ajax_nonce","success","response","replaceWith","initNewInstance","bindEvents","showMessage","error","serializeArray","request_data","column_name","value","push","$clone","clone","module","exports","addons","$column","inputs","id","closest","state","val","additional","click","e","preventDefault","isOriginal","cloneColumn","indicator","$indicator","$setting","unbind","toggleClass","filter","prop","change","$label","field_label","text","setTimeout","column_label","trim","width","settingLabel","hover","parents","hide","refresh","always","removeColumn","toggle","css","selector","switchToType","reindexColumns","$box","$form","$container","columns","initColumns","bindFormEvents","bindOrdering","sortable","items","handle","$buttons","submitForm","removeAttr","addColumn","$boxes","col","disable","resetColumns","serialize","xhr","post","fail","attr_class","$msg","stop","before","_addColumnToForm","create","append","scrollTop","offset","top","incremental_name","k","console","event","oldName","submit","next","dialog","initEvents","addEventListener","keyName","isOpen","dismissButtons","querySelectorAll","length","b","stopPropagation","dataset","ac_modal_init","initGlobalEvents","AC_MODAL","classList","contains","add","target","acOpenModal","date","$radio_custom","$input_custom","$input_value","$example_custom","$selected","$help_msg","$input_container","date_format","description","$custom_value","done","Image","field","initState","getValue","showSubsettings","hideSubsettings","subsetting","style","display","setWidth","setHeight","dispatchEvent","Event","image","pro","value_show","subfield","$subfields","$settings","fn","column_width_slider","$column_width","input_width","input_unit","unit","slider","range","min","max","slide","ui","$width_indicator","_width","_unit","width_unit_select","width_input","_new_width","isNumeric","substring","modals","number","modal"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;AC1EA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAGA;;AACA;;AACA;;AACA;;AACA;;AACA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AACXA,cAAM,MAAM,KAAKsM,MAAjB;AACA;;AAED,WAAKD,MAAL,CAAarM,GAAb,IAAqBuM,KAArB;AACA,WAAKD,MAAL;AACA;;;wBAEItM,G,EAAM;AACV,UAAK,KAAKqM,MAAL,CAAarM,GAAb,CAAL,EAA0B;AACzB,eAAO,KAAKqM,MAAL,CAAarM,GAAb,CAAP;AACA;;AAED,aAAO,KAAP;AACA;;;;;;AAGF8C,OAAOC,OAAP,GAAiBpG,MAAjB,C;;;;;;;;;;;ACzBA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA,mJAAwF;AACxF;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC/B,mCAAmC;AACnC,SAAS,iCAAiC;AAC1C;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC3CA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACLA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;ACJA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;AC1CA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,gCAAgC,qCAAqC;AACrE;AACA;AACA,2BAA2B,gCAAgC;AAC3D;AACA;AACA;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;;;;;ACPA;AACA;;;;;;;;;;;;ACDA;AACA,uIAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;;ACFA;AACA;AACA;AACA;AACA;;AAEA;AACA,uMAAkF,aAAa,EAAE;;AAEjG;AACA,qDAAqD,4BAA4B;AACjF;AACA;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;AACA;AACA;AACA;AACA,yCAAyC,oCAAoC;AAC7E,6CAA6C,oCAAoC;AACjF,KAAK,4BAA4B,oCAAoC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAmB;AACnC;AACA;AACA,kCAAkC,2BAA2B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;ACpEA;AACA,UAAU;AACV;;;;;;;;;;;;ACFA;;;;;;;;;;;;ACAA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACZA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA,qDAAqD,OAAO,EAAE;AAC9D;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;AC9BD;AACA;AACA;;AAEA;AACA,oEAAoE,iCAAiC;AACrG;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA,kDAAkD;;AAElD;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,gBAAgB,EAAE;AAC5D;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC,cAAc;AACd,iBAAiB;AACjB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACjCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACfD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACRD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,wBAAwB;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACzDA,wB","file":"admin-page-columns.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","/**\r\n * AC variables. Defined in DOM.\r\n * @param AC {Object}\r\n * @param AC.list_screen {String}\r\n * @param AC.layout {String}\r\n * @param AC.i81n {String}\r\n */\r\n\r\nimport Form from \"./admin/columns/form\";\r\nimport Modals from \"./modules/modals\";\r\nimport Initiator from \"./admin/columns/initiator\";\r\nimport Modal from \"./admin/columns/modal\";\r\nimport Menu from \"./admin/columns/menu\";\r\nimport Feedback from \"./admin/columns/feedback\";\r\n\r\n/** Events */\r\nimport EventToggle from './admin/columns/events/toggle';\r\nimport EventRemove from './admin/columns/events/remove';\r\nimport EventClone from './admin/columns/events/clone';\r\nimport EventRefresh from './admin/columns/events/refresh';\r\nimport EventTypeSelector from './admin/columns/events/type-selector';\r\nimport EventIndicator from './admin/columns/events/indicator';\r\nimport EventLabel from './admin/columns/events/label';\r\nimport EventAddons from './admin/columns/events/addons';\r\n\r\n/** Settings */\r\nimport SettingImageSize from './admin/columns/settings/image-size';\r\nimport SettingSubSettingToggle from './admin/columns/settings/sub-setting-toggle';\r\nimport SettingDate from './admin/columns/settings/date';\r\nimport SettingPro from './admin/columns/settings/pro';\r\nimport SettingWidth from './admin/columns/settings/width';\r\n\r\nlet jQuery = $ = require( 'jquery' );\r\n\r\nAC.Column = new Initiator();\r\nAC.Modals = new Modals();\r\n\r\njQuery( document ).on( 'AC_Form_Loaded', function() {\r\n\r\n\t/** Register Events **/\r\n\tAC.Column\r\n\t\t.registerEvent( 'toggle', EventToggle )\r\n\t\t.registerEvent( 'remove', EventRemove )\r\n\t\t.registerEvent( 'clone', EventClone )\r\n\t\t.registerEvent( 'refresh', EventRefresh )\r\n\t\t.registerEvent( 'type_selector', EventTypeSelector )\r\n\t\t.registerEvent( 'indicator', EventIndicator )\r\n\t\t.registerEvent( 'label', EventLabel.label )\r\n\t\t.registerEvent( 'label_setting', EventLabel.setting )\r\n\t\t.registerEvent( 'addons', EventAddons )\r\n\r\n\t\t/** Register Settings **/\r\n\t\t.registerSetting( 'date', SettingDate )\r\n\t\t.registerSetting( 'image_size', SettingImageSize )\r\n\t\t.registerSetting( 'pro', SettingPro )\r\n\t\t.registerSetting( 'sub_setting_toggle', SettingSubSettingToggle )\r\n\t\t.registerSetting( 'width', SettingWidth );\r\n} );\r\n\r\njQuery( document ).ready( function() {\r\n\tAC.Form = new Form( '#cpac .ac-columns form' );\r\n\tAC.Modals.register( new Modal( document.querySelector( '#ac-modal-pro' ) ), 'pro' );\r\n\r\n\tnew Menu().init();\r\n\tnew Feedback( '.sidebox#direct-feedback' );\r\n} );","class Column {\r\n\r\n\tconstructor( $el ) {\r\n\t\tthis.$el = $el;\r\n\t\tthis.el = $el[ 0 ];\r\n\t\tthis.settings = [];\r\n\r\n\t\tthis._type = this.$el.data( 'type' );\r\n\t}\r\n\r\n\tget name() {\r\n\t\treturn this.$el.data( 'column-name' );\r\n\t}\r\n\r\n\tset name( name ) {\r\n\t\tthis.$el.data( 'column-name', name );\r\n\t}\r\n\r\n\tget type() {\r\n\t\treturn this._type;\r\n\t}\r\n\r\n\tset type( type ) {\r\n\t\tthis.$el.data( 'type', type );\r\n\t}\r\n\r\n\tisOriginal() {\r\n\t\treturn (1 === this.$el.data( 'original' ));\r\n\t}\r\n\r\n\tisDisabled() {\r\n\t\treturn this.$el.hasClass( 'disabled' );\r\n\t}\r\n\r\n\tdisable() {\r\n\t\tthis.$el.addClass( 'disabled' );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tenable() {\r\n\t\tthis.$el.removeClass( 'disabled' );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tinitNewInstance() {\r\n\t\tlet temp_column_name = '_new_column_' + AC.Column.getNewIncementalName();\r\n\t\tlet original_column_name = this.name;\r\n\r\n\t\tthis.$el.find( 'input, select, label' ).each( function( i, v ) {\r\n\t\t\tlet $input = jQuery( v );\r\n\r\n\t\t\t// name attributes\r\n\t\t\tif ( $input.attr( 'name' ) ) {\r\n\t\t\t\t$input.attr( 'name', $input.attr( 'name' ).replace( `columns[${original_column_name}]`, `columns[${temp_column_name}]` ) );\r\n\t\t\t}\r\n\r\n\t\t\t// id attributes\r\n\t\t\tif ( $input.attr( 'id' ) ) {\r\n\t\t\t\t$input.attr( 'id', $input.attr( 'id' ).replace( `-${original_column_name}-`, `-${temp_column_name}-` ) );\r\n\t\t\t}\r\n\r\n\t\t} );\r\n\r\n\t\tthis.name = temp_column_name;\r\n\r\n\t\tAC.incremental_column_name++;\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @returns {Column}\r\n\t */\r\n\tbindEvents() {\r\n\t\tlet column = this;\r\n\t\tcolumn.$el.data( 'column', column );\r\n\r\n\t\tObject.keys( AC.Column.events ).forEach( function( key ) {\r\n\t\t\tif ( !column.isBound( key ) ) {\r\n\t\t\t\tAC.Column.events[ key ]( column );\r\n\t\t\t\tcolumn.bind( key );\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\tthis.bindSettings();\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Column_InitSettings', [ column ] );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tbindSettings() {\r\n\t\tlet column = this;\r\n\r\n\t\tObject.keys( AC.Column.settings ).forEach( function( key ) {\r\n\t\t\tif ( !column.isBound( key ) ) {\r\n\t\t\t\tAC.Column.settings[ key ]( column );\r\n\t\t\t\tcolumn.bind( key );\r\n\t\t\t}\r\n\t\t} );\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @param key\r\n\t * @returns {bool}\r\n\t */\r\n\tisBound( key ) {\r\n\t\treturn this.$el.data( key );\r\n\t}\r\n\r\n\tbind( key ) {\r\n\t\tthis.$el.data( key, true );\r\n\t}\r\n\r\n\tdestroy() {\r\n\t\tthis.$el.remove();\r\n\t}\r\n\r\n\tremove( duration = 350 ) {\r\n\t\tlet self = this;\r\n\r\n\t\tthis.$el.addClass( 'deleting' ).animate( { opacity : 0, height : 0 }, duration, function() {\r\n\t\t\tself.destroy();\r\n\t\t} );\r\n\t}\r\n\r\n\ttoggle( duration = 150 ) {\r\n\t\tif ( this.$el.hasClass( 'opened' ) ) {\r\n\t\t\tthis.close( duration );\r\n\t\t} else {\r\n\t\t\tthis.open( duration );\r\n\t\t}\r\n\t}\r\n\r\n\tclose( duration = 0 ) {\r\n\t\tthis.$el.removeClass( 'opened' ).find( '.ac-column-body' ).slideUp( duration );\r\n\t}\r\n\r\n\topen( duration = 0 ) {\r\n\t\tthis.$el.addClass( 'opened' ).find( '.ac-column-body' ).slideDown( duration );\r\n\t}\r\n\r\n\tshowMessage( message ) {\r\n\t\tthis.$el.find( '.ac-column-setting--type .msg' ).html( message ).show();\r\n\t}\r\n\r\n\tswitchToType( type ) {\r\n\t\tlet self = this;\r\n\r\n\t\treturn jQuery.ajax( {\r\n\t\t\turl : ajaxurl,\r\n\t\t\tmethod : 'post',\r\n\t\t\tdataType : 'json',\r\n\t\t\tdata : {\r\n\t\t\t\taction : 'ac_column_select',\r\n\t\t\t\ttype : type,\r\n\t\t\t\tcurrent_original_columns : AC.Form.originalColumns(),\r\n\t\t\t\toriginal_columns : AC.original_columns,\r\n\t\t\t\tlist_screen : AC.list_screen,\r\n\t\t\t\tlayout : AC.layout,\r\n\t\t\t\t_ajax_nonce : AC._ajax_nonce,\r\n\t\t\t},\r\n\t\t\tsuccess : function( response ) {\r\n\t\t\t\tif ( true === response.success ) {\r\n\t\t\t\t\tlet column = jQuery( response.data );\r\n\r\n\t\t\t\t\tself.$el.replaceWith( column );\r\n\t\t\t\t\tself.$el = column;\r\n\t\t\t\t\tself.el = column[ 0 ];\r\n\t\t\t\t\tself._type = type;\r\n\t\t\t\t\tself.initNewInstance();\r\n\t\t\t\t\tself.bindEvents();\r\n\t\t\t\t\tself.open();\r\n\r\n\t\t\t\t\tjQuery( document ).trigger( 'AC_Column_Change', [ self ] );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tself.showMessage( response.data.error )\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} );\r\n\t}\r\n\r\n\trefresh() {\r\n\r\n\t\tlet self = this;\r\n\t\tlet data = this.$el.find( ':input' ).serializeArray();\r\n\t\tlet request_data = {\r\n\t\t\taction : 'ac_column_refresh',\r\n\t\t\t_ajax_nonce : AC._ajax_nonce,\r\n\t\t\tlist_screen : AC.list_screen,\r\n\t\t\tlayout : AC.layout,\r\n\t\t\tcolumn_name : this.name,\r\n\t\t\toriginal_columns : AC.original_columns\r\n\t\t};\r\n\r\n\t\tjQuery.each( request_data, function( name, value ) {\r\n\t\t\tdata.push( {\r\n\t\t\t\tname : name,\r\n\t\t\t\tvalue : value\r\n\t\t\t} );\r\n\t\t} );\r\n\r\n\t\treturn jQuery.ajax( {\r\n\t\t\ttype : 'post',\r\n\t\t\turl : ajaxurl,\r\n\t\t\tdata : data,\r\n\r\n\t\t\tsuccess : function( response ) {\r\n\t\t\t\tif ( true === response.success ) {\r\n\t\t\t\t\tlet column = jQuery( response.data );\r\n\r\n\t\t\t\t\tself.$el.replaceWith( column );\r\n\t\t\t\t\tself.$el = column;\r\n\t\t\t\t\tself.el = column[ 0 ];\r\n\r\n\t\t\t\t\tself.bindEvents();\r\n\t\t\t\t\tself.open();\r\n\r\n\t\t\t\t\tjQuery( document ).trigger( 'AC_Column_Refresh', [ self ] );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t} );\r\n\t}\r\n\r\n\t/**\r\n\t * @returns {Column}\r\n\t */\r\n\tcreate() {\r\n\t\tthis.initNewInstance();\r\n\t\tthis.bindEvents();\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Column_Created', [ self ] );\r\n\t\treturn this;\r\n\t}\r\n\r\n\t/**\r\n\t * @returns {Column}\r\n\t */\r\n\tclone() {\r\n\t\tlet $clone = this.$el.clone();\r\n\t\t$clone.data( 'column-name', this.$el.data( 'column-name' ) );\r\n\r\n\t\tlet clone = new Column( $clone );\r\n\r\n\t\tclone.initNewInstance();\r\n\t\tclone.bindEvents();\r\n\r\n\t\treturn clone;\r\n\t}\r\n}\r\n\r\nmodule.exports = Column;","/*\r\n * Optional Radio Click events\r\n * TODO: Is not used anymore?\r\n */\r\n\r\nlet addons = function( column ) {\r\n\tlet $ = jQuery;\r\n\tlet $column = column.$el;\r\n\tlet inputs = $column.find( '[data-trigger] label' );\r\n\r\n\tinputs.on( 'click', function() {\r\n\r\n\t\tlet id = $( this ).closest( 'td.input' ).data( 'trigger' );\r\n\t\tlet state = $( 'input', this ).val();\r\n\r\n\t\t// Toggle indicator icon\r\n\t\tlet label = $column.find( '[data-indicator-id=\"' + id + '\"]' ).removeClass( 'on' );\r\n\t\tif ( 'on' === state ) {\r\n\t\t\tlabel.addClass( 'on' );\r\n\t\t}\r\n\r\n\t\t// Toggle additional options\r\n\t\tlet additional = $column.find( '[data-handle=\"' + id + '\"]' ).addClass( 'hide' );\r\n\t\tif ( 'on' === state ) {\r\n\t\t\tadditional.removeClass( 'hide' );\r\n\t\t}\r\n\t} );\r\n\r\n\t// On load\r\n\t$column.find( '[data-trigger]' ).each( function() {\r\n\r\n\t\tlet trigger = $( this ).data( 'trigger' );\r\n\r\n\t\t// Hide additional column settings\r\n\t\tlet additional = $column.find( '[data-handle=\"' + trigger + '\"]' ).addClass( 'hide' );\r\n\t\tif ( 'on' === $( 'input:checked', this ).val() ) {\r\n\t\t\tadditional.removeClass( 'hide' );\r\n\t\t}\r\n\t} );\r\n\r\n};\r\n\r\nmodule.exports = addons;","/*\r\n* Column: bind clone events\r\n*\r\n* @since 2.0\r\n*/\r\nlet clone = function( column ) {\r\n\tcolumn.$el.find( '.clone-button' ).click( function( e ) {\r\n\t\te.preventDefault();\r\n\r\n\t\tif ( column.isOriginal() ) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tAC.Form.cloneColumn( column.$el );\r\n\t} );\r\n};\r\n\r\nmodule.exports = clone;","let indicator = function( column ) {\r\n\tlet $column = column.$el;\r\n\r\n\t$column.find( '.ac-column-header [data-indicator-toggle]' ).each( function() {\r\n\t\tlet $ = jQuery;\r\n\t\tlet $indicator = $( this );\r\n\t\tlet setting = $( this ).data( 'setting' );\r\n\t\tlet $setting = $column.find( '.ac-column-setting[data-setting=' + setting + ']' );\r\n\t\tlet $input = $setting.find( '.col-input:first .ac-setting-input:first input[type=radio]' );\r\n\r\n\t\t$indicator.unbind( 'click' ).on( 'click', function( e ) {\r\n\t\t\te.preventDefault();\r\n\r\n\t\t\tif ( $column.hasClass( 'disabled' ) ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t$indicator.toggleClass( 'on' );\r\n\t\t\tif ( $( this ).hasClass( 'on' ) ) {\r\n\t\t\t\t$input.filter( '[value=on]' ).prop( 'checked', true ).trigger( 'click' ).trigger( 'change' );\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t$input.filter( '[value=off]' ).prop( 'checked', true ).trigger( 'click' ).trigger( 'change' );\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\t$input.on( 'change', function() {\r\n\t\t\tif ( $column.hasClass( 'disabled' ) ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tlet value = $input.filter( ':checked' ).val();\r\n\t\t\tif ( 'on' === value ) {\r\n\t\t\t\t$indicator.addClass( 'on' );\r\n\t\t\t} else {\r\n\t\t\t\t$indicator.removeClass( 'on' );\r\n\t\t\t}\r\n\t\t} );\r\n\t} );\r\n};\r\n\r\nmodule.exports = indicator;","let label = function( column ) {\r\n\tlet $column = column.$el;\r\n\r\n\t/**\r\n\t * Populates the main Label with the selected label from the dropdown,\r\n\t */\r\n\t$column.find( 'select[data-label=\"update\"]' ).change( function() {\r\n\t\tlet $label = $column.find( 'input.ac-setting-input_label' );\r\n\t\tlet field_label = jQuery( this ).find( 'option:selected' ).text();\r\n\r\n\t\t// Set new label\r\n\t\t$label.val( field_label );\r\n\t\t$label.trigger( 'change' );\r\n\t} );\r\n\r\n\t/** When an label contains an icon or span, the displayed label can appear empty. In this case we show the \"type\" label. */\r\n\tsetTimeout( function() {\r\n\t\tlet column_label = $column.find( '.column_label .toggle' );\r\n\r\n\t\tif ( jQuery.trim( column_label.html() ) && column_label.width() < 1 ) {\r\n\t\t\tcolumn_label.html( $column.find( '.column_type .inner' ).html() );\r\n\t\t}\r\n\t}, 50 );\r\n};\r\n\r\nlet settingLabel = function( column ) {\r\n\tlet $column = column.$el;\r\n\r\n\t/** change label */\r\n\t$column.find( '.ac-column-setting--label input' ).bind( 'keyup change', function() {\r\n\t\tlet value = jQuery( this ).val();\r\n\t\tjQuery( this ).closest( '.ac-column' ).find( 'td.column_label .inner > a.toggle' ).html( value );\r\n\t} ).trigger( 'change' );\r\n\r\n\t/** tooltip */\r\n\t$column.find( '.ac-column-body .col-label .label' ).hover( function() {\r\n\t\tjQuery( this ).parents( '.col-label' ).find( 'div.tooltip' ).show();\r\n\t}, function() {\r\n\t\tjQuery( this ).parents( '.col-label' ).find( 'div.tooltip' ).hide();\r\n\t} );\r\n};\r\n\r\nmodule.exports = {\r\n\tlabel : label,\r\n\tsetting : settingLabel\r\n};","let refresh = function( column ) {\r\n\tlet $ = jQuery;\r\n\t\r\n\tcolumn.$el.find( '[data-refresh=\"column\"]' ).on( 'change', function() {\r\n\t\t// Allow plugins to hook into this event\r\n\t\t$( document ).trigger( 'AC.column.prerefresh', column.$el );\r\n\t\tcolumn.$el.addClass( 'loading' );\r\n\r\n\t\tsetTimeout( function() {\r\n\t\t\tcolumn.refresh().always( function() {\r\n\t\t\t\tcolumn.$el.removeClass( 'loading' );\r\n\t\t\t} );\r\n\t\t}, 200 );\r\n\r\n\t} );\r\n};\r\n\r\nmodule.exports = refresh;","/*\r\n * Column: bind remove events\r\n *\r\n * @since 2.0\r\n */\r\nlet remove = function( column ) {\r\n\tcolumn.$el.find( '.remove-button' ).click( function( e ) {\r\n\t\te.preventDefault();\r\n\r\n\t\tAC.Form.removeColumn( column.name );\r\n\t} );\r\n};\r\n\r\nmodule.exports = remove;","/*\r\n * Column: bind toggle events\r\n *\r\n * For performance we bind all other events after the click event.\r\n *\r\n * @since 2.0\r\n */\r\nlet toggle = function( column ) {\r\n\tcolumn.$el.find( '[data-toggle=\"column\"]' ).click( function( e ) {\r\n\t\te.preventDefault();\r\n\r\n\t\tcolumn.toggle();\r\n\t} ).css( 'cursor', 'pointer' );\r\n};\r\n\r\nmodule.exports = toggle;","let selector = function( column ) {\r\n\tlet $ = jQuery;\r\n\tcolumn.$el.find( 'select.ac-setting-input_type' ).change( function() {\r\n\t\tcolumn.$el.addClass( 'loading' );\r\n\t\tcolumn.switchToType( $( this ).val() ).always( function() {\r\n\t\t\tcolumn.$el.removeClass( 'loading' );\r\n\r\n\t\t\tAC.Form.reindexColumns();\r\n\t\t} );\r\n\t} );\r\n};\r\n\r\nmodule.exports = selector;","class Feedback {\r\n\r\n\tconstructor( $el ) {\r\n\t\tthis.$el = jQuery( $el );\r\n\t\tthis.init();\r\n\t}\r\n\r\n\tinit() {\r\n\t\tlet $box = this.$el;\r\n\r\n\t\t$box.find( '#feedback-choice a.no' ).click( function( e ) {\r\n\t\t\te.preventDefault();\r\n\r\n\t\t\t$box.find( '#feedback-choice' ).slideUp();\r\n\t\t\t$box.find( '#feedback-support' ).slideDown();\r\n\t\t} );\r\n\r\n\t\t$box.find( '#feedback-choice a.yes' ).click( function( e ) {\r\n\t\t\te.preventDefault();\r\n\r\n\t\t\t$box.find( '#feedback-choice' ).slideUp();\r\n\t\t\t$box.find( '#feedback-rate' ).slideDown();\r\n\t\t} );\r\n\t};\r\n\r\n}\r\n\r\nmodule.exports = Feedback;","import Column from \"./column\";\r\n\r\nclass Form {\r\n\r\n\tconstructor( el ) {\r\n\t\tthis.$form = jQuery( el );\r\n\t\tthis.$container = jQuery( '#cpac .ac-admin' );\r\n\t\tthis.columns = {};\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Form_Loaded' );\r\n\r\n\t\tthis.init();\r\n\t}\r\n\r\n\tinit() {\r\n\t\tthis.initColumns();\r\n\t\tthis.bindFormEvents();\r\n\t\tthis.bindOrdering();\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Form_Ready' );\r\n\t}\r\n\r\n\tbindOrdering() {\r\n\r\n\t\tif ( this.$form.hasClass( 'ui-sortable' ) ) {\r\n\t\t\tthis.$form.sortable( 'refresh' );\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.$form.sortable( {\r\n\t\t\t\titems : '.ac-column',\r\n\t\t\t\thandle : '.column_sort'\r\n\t\t\t} );\r\n\t\t}\r\n\r\n\t}\r\n\r\n\toriginalColumns() {\r\n\t\tlet self = this;\r\n\t\tlet columns = [];\r\n\r\n\t\tObject.keys( self.columns ).forEach( function( key ) {\r\n\t\t\tlet column = self.columns[ key ];\r\n\t\t\tif ( column.isOriginal() ) {\r\n\t\t\t\tcolumns.push( column.type );\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\treturn columns;\r\n\t}\r\n\r\n\tbindFormEvents() {\r\n\t\tlet self = this;\r\n\t\tlet $buttons = jQuery( '.sidebox a.submit, .column-footer a.submit' );\r\n\r\n\t\t$buttons.on( 'click', function() {\r\n\t\t\t$buttons.attr( 'disabled', 'disabled' );\r\n\t\t\tself.submitForm().always( function() {\r\n\t\t\t\t$buttons.removeAttr( 'disabled', 'disabled' );\r\n\t\t\t} )\r\n\t\t} );\r\n\r\n\t\tself.$container.find( '.add_column' ).on( 'click', function() {\r\n\t\t\tself.addColumn();\r\n\t\t} );\r\n\r\n\t\tlet $boxes = jQuery( '#cpac .ac-boxes' );\r\n\t\tif ( $boxes.hasClass( 'disabled' ) ) {\r\n\t\t\t$boxes.find( '.ac-column' ).each( function( i, col ) {\r\n\t\t\t\tjQuery( col ).data( 'column' ).disable();\r\n\t\t\t\tjQuery( col ).find( 'input, select' ).prop( 'disabled', true );\r\n\t\t\t} );\r\n\t\t}\r\n\r\n\t\tjQuery( 'a[data-clear-columns]' ).on( 'click', function() {\r\n\t\t\tself.resetColumns();\r\n\t\t} );\r\n\t}\r\n\r\n\tinitColumns() {\r\n\t\tlet self = this;\r\n\t\tself.columns = [];\r\n\r\n\t\tthis.$form.find( '.ac-column' ).each( function() {\r\n\t\t\tlet $el = jQuery( this );\r\n\t\t\tlet column = new Column( $el );\r\n\r\n\t\t\tcolumn.bindEvents();\r\n\r\n\t\t\t$el.data( 'column', column );\r\n\t\t\tself.columns[ column.name ] = column;\r\n\t\t} );\r\n\t}\r\n\r\n\treindexColumns() {\r\n\t\tlet self = this;\r\n\t\tself.columns = [];\r\n\r\n\t\tthis.$form.find( '.ac-column' ).each( function() {\r\n\t\t\tlet column = jQuery( this ).data( 'column' );\r\n\r\n\t\t\tself.columns[ column.name ] = column;\r\n\t\t} );\r\n\t}\r\n\r\n\tresetColumns() {\r\n\t\tObject.keys( this.columns ).forEach( ( key ) => {\r\n\t\t\tlet column = this.columns[ key ];\r\n\r\n\t\t\tcolumn.destroy();\r\n\t\t} );\r\n\r\n\t}\r\n\r\n\tserialize() {\r\n\t\treturn this.$form.serialize();\r\n\t}\r\n\r\n\tsubmitForm() {\r\n\t\tlet self = this;\r\n\r\n\t\tlet xhr = jQuery.post( ajaxurl, {\r\n\t\t\t\taction : 'ac_columns_save',\r\n\t\t\t\tdata : this.serialize(),\r\n\t\t\t\t_ajax_nonce : AC._ajax_nonce,\r\n\t\t\t\tlist_screen : AC.list_screen,\r\n\t\t\t\tlayout : AC.layout,\r\n\t\t\t\toriginal_columns : AC.original_columns\r\n\t\t\t},\r\n\r\n\t\t\tfunction( response ) {\r\n\t\t\t\tif ( response ) {\r\n\t\t\t\t\tif ( response.success ) {\r\n\t\t\t\t\t\tself.showMessage( response.data, 'updated' );\r\n\r\n\t\t\t\t\t\tself.$container.addClass( 'stored' );\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// Error message\r\n\t\t\t\t\telse if ( response.data ) {\r\n\t\t\t\t\t\tself.showMessage( response.data.message, 'notice notice-warning' );\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}, 'json' );\r\n\r\n\t\t// No JSON\r\n\t\txhr.fail( function( error ) {\r\n\t\t\t// We choose not to notify the user of errors, because the settings will have\r\n\t\t\t// been saved correctly despite of PHP notices/errors from plugin or themes.\r\n\t\t} );\r\n\r\n\t\t//document.dispatchEvent( new CustomEvent( 'AC_Form_AfterUpdate', { detail : { container : self.$container } } ) );\r\n\t\tjQuery( document ).trigger( 'AC_Form_AfterUpdate', [ self.$container ] );\r\n\r\n\t\treturn xhr;\r\n\t}\r\n\r\n\tshowMessage( message, attr_class = 'updated' ) {\r\n\t\tlet $msg = jQuery( '<div class=\"ac-message hidden ' + attr_class + '\"><p>' + message + '</p></div>' );\r\n\r\n\t\tthis.$container.find( '.ac-message' ).stop().remove();\r\n\t\tthis.$container.find( '.ac-boxes' ).before( $msg );\r\n\r\n\t\t$msg.slideDown();\r\n\t}\r\n\r\n\tcloneColumn( $el ) {\r\n\t\treturn this._addColumnToForm( new Column( $el ).clone(), $el.hasClass( 'opened' ) );\r\n\t}\r\n\r\n\taddColumn() {\r\n\t\tlet $clone = jQuery( '#add-new-column-template' ).find( '.ac-column' ).clone();\r\n\t\tlet column = new Column( $clone ).create();\r\n\r\n\t\treturn this._addColumnToForm( column );\r\n\t}\r\n\r\n\tremoveColumn( name ) {\r\n\t\tif ( this.columns[ name ] ) {\r\n\t\t\tthis.columns[ name ].remove();\r\n\t\t\tdelete this.columns[ name ];\r\n\t\t}\r\n\t}\r\n\r\n\t_addColumnToForm( column, open = true ) {\r\n\t\tthis.columns[ column.name ] = column;\r\n\t\tthis.$form.append( column.$el );\r\n\r\n\t\tif ( open ) {\r\n\t\t\tcolumn.open();\r\n\t\t}\r\n\r\n\t\tcolumn.$el.hide().slideDown();\r\n\r\n\t\tjQuery( 'html, body' ).animate( { scrollTop : column.$el.offset().top - 58 }, 300 );\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Column_Added', [ column ] );\r\n\r\n\t\treturn column;\r\n\t}\r\n\r\n}\r\n\r\nmodule.exports = Form;","class Initiator {\r\n\r\n\tconstructor() {\r\n\t\tthis.events = {};\r\n\t\tthis.settings = {};\r\n\t\tthis.incremental_name = 0;\r\n\t}\r\n\r\n\tregisterSetting( k, setting ) {\r\n\t\tlet key = 's_' + k;\r\n\r\n\t\tif ( this.settings[ key ] ) {\r\n\t\t\tconsole.error( 'Setting key already exists: ' + k );\r\n\t\t}\r\n\r\n\t\tthis.settings[ key ] = setting;\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tregisterEvent( k, event ) {\r\n\t\tlet key = 'e_' + k;\r\n\t\tif ( this.settings[ key ] ) {\r\n\t\t\tconsole.error( 'Event key already exists: ' + key );\r\n\t\t}\r\n\r\n\t\tthis.events[ key ] = event;\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tgetNewIncementalName() {\r\n\t\tlet oldName = this.incremental_name;\r\n\t\tthis.incremental_name++;\r\n\r\n\t\treturn oldName;\r\n\t}\r\n}\r\n\r\nmodule.exports = Initiator;","class Menu {\r\n\r\n\tinit() {\r\n\t\tlet $ = jQuery;\r\n\r\n\t\t$( '#ac_list_screen' ).on( 'change', function() {\r\n\t\t\t$( '.view-link' ).hide();\r\n\t\t\t$( this ).parents( 'form' ).submit();\r\n\r\n\t\t\t$( this ).prop( 'disabled', true ).next( '.spinner' ).css( 'display', 'inline-block' );\r\n\t\t} );\r\n\r\n\t}\r\n\r\n}\r\n\r\nmodule.exports = Menu;","class Modal {\r\n\tconstructor( el ) {\r\n\t\tthis.el = el;\r\n\t\tthis.dialog = el.querySelector( '.ac-modal__dialog' );\r\n\r\n\t\tthis.initEvents();\r\n\t}\r\n\r\n\tstatic initGlobalEvents() {\r\n\r\n\t\tjQuery( document ).on( 'click', '[data-ac-open-modal]', function( e ) {\r\n\t\t\te.preventDefault();\r\n\t\t\tlet target = e.target.dataset.acOpenModal;\r\n\t\t\tlet el = document.querySelector( target );\r\n\r\n\t\t\tif ( el && el.AC_MODAL ) {\r\n\t\t\t\tel.AC_MODAL.open();\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t}\r\n\r\n\tinitEvents() {\r\n\t\tlet self = this;\r\n\r\n\t\tdocument.addEventListener( 'keydown', ( e ) => {\r\n\t\t\tconst keyName = event.key;\r\n\r\n\t\t\tif ( !this.isOpen() ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif ( 'Escape' === keyName ) {\r\n\t\t\t\tthis.close();\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\tlet dismissButtons = this.el.querySelectorAll( '[data-dismiss=\"modal\"], .ac-modal__dialog__close' );\r\n\t\tif ( dismissButtons.length > 0 ) {\r\n\t\t\tdismissButtons.forEach( ( b ) => {\r\n\t\t\t\tb.addEventListener( 'click', ( e ) => {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tself.close();\r\n\t\t\t\t} );\r\n\t\t\t} );\r\n\t\t}\r\n\r\n\t\tthis.el.addEventListener( 'click', () => {\r\n\t\t\tself.close();\r\n\t\t} );\r\n\r\n\t\tthis.el.querySelector( '.ac-modal__dialog' ).addEventListener( 'click', ( e ) => {\r\n\t\t\te.stopPropagation();\r\n\t\t} );\r\n\r\n\t\tif ( typeof document.querySelector( 'body' ).dataset.ac_modal_init === 'undefined' ) {\r\n\t\t\tModal.initGlobalEvents();\r\n\t\t\tdocument.querySelector( 'body' ).dataset.ac_modal_init = 1;\r\n\t\t}\r\n\r\n\t\tthis.el.AC_MODAL = self;\r\n\t}\r\n\r\n\tisOpen() {\r\n\t\treturn this.el.classList.contains( '-active' );\r\n\t}\r\n\r\n\tclose() {\r\n\t\tthis.el.classList.remove( '-active' );\r\n\t}\r\n\r\n\topen() {\r\n\t\tthis.el.classList.add( '-active' );\r\n\t}\r\n}\r\n\r\nmodule.exports = Modal;","let date = function( column ) {\n\tlet $ = jQuery;\n\tlet $column = column.$el;\n\tlet $setting = $column.find( '.ac-column-setting--date' );\n\n\t$setting.each( function() {\n\n\t\tlet $container = $( this );\n\n\t\t// Custom input\n\t\tlet $radio_custom = $container.find( 'input.custom' );\n\t\tlet $input_custom = $container.find( '.ac-setting-input-date__custom' );\n\t\tlet $input_value = $container.find( '.ac-setting-input-date__value' );\n\t\tlet $example_custom = $container.find( '.ac-setting-input-date__example' );\n\t\tlet $selected = $container.find( 'input[type=radio]:checked' );\n\t\tlet $help_msg = $container.find( '.help-msg' );\n\n\t\t// Click Event\n\t\t$container.find( 'input[type=radio]' ).on( 'change', function() {\n\n\t\t\tlet $input = $( this );\n\t\t\tlet $input_container = $input.closest( 'label' );\n\t\t\tlet date_format = $input_container.find( 'code' ).text();\n\t\t\tlet description = $input_container.find( '.ac-setting-input-date__more' ).html();\n\n\t\t\tif ( date_format ) {\n\t\t\t\t$input_custom.val( date_format ).trigger( 'change' );\n\t\t\t}\n\n\t\t\tif ( $input.hasClass( 'diff' ) ) {\n\t\t\t\t$input_custom.val( '' );\n\t\t\t\t$example_custom.text( '' );\n\t\t\t}\n\n\t\t\t$input_custom.prop( 'disabled', true );\n\n\t\t\t// Custom input selected\n\t\t\tif ( $input.hasClass( 'custom' ) ) {\n\t\t\t\t$input.val( $input_custom.val() );\n\t\t\t\t$input_custom.prop( 'disabled', false );\n\t\t\t\t$help_msg.show();\n\t\t\t}\n\n\t\t\t// Show more description\n\t\t\t$help_msg.hide();\n\t\t\tif ( description ) {\n\t\t\t\t$help_msg.html( description ).show();\n\t\t\t}\n\n\t\t\t$input_value.val( $input.val() );\n\t\t} );\n\n\t\t// Custom input\n\t\t$input_custom.on( 'change', function() {\n\n\t\t\t$example_custom.html( '<span class=\"spinner is-active\"></span>' );\n\t\t\t$radio_custom.val( $input_custom.val() );\n\n\t\t\tlet $custom_value = $( this ).val();\n\n\t\t\tif ( !$custom_value ) {\n\t\t\t\t$example_custom.text( '' );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$.ajax( {\n\t\t\t\turl : ajaxurl,\n\t\t\t\tmethod : 'post',\n\t\t\t\tdata : {\n\t\t\t\t\taction : 'date_format',\n\t\t\t\t\tdate : $custom_value\n\t\t\t\t}\n\t\t\t} ).done( function( date ) {\n\t\t\t\t$example_custom.text( date );\n\t\t\t} );\n\n\t\t\t$input_value.val( $custom_value );\n\t\t} );\n\n\t\t// Update date example box\n\t\t$selected.trigger( 'change' );\n\n\t\t// Select custom input as a default\n\t\tif ( 0 === $selected.length ) {\n\t\t\t$radio_custom.trigger( 'click' );\n\t\t}\n\n\t} );\n};\n\nmodule.exports = date;","class Image {\n\n\tconstructor( column ) {\n\t\tthis.column = column;\n\t\tthis.setting = column.$el[ 0 ].querySelector( '.ac-column-setting--image' );\n\n\t\tif ( !this.setting ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.field = this.setting.querySelector( '.ac-setting-input select' );\n\n\t\tthis.initState();\n\t\tthis.bindEvents();\n\t}\n\n\tgetValue() {\n\t\treturn this.field.value;\n\t}\n\n\tbindEvents() {\n\t\tlet self = this;\n\n\t\tthis.field.addEventListener( 'change', function( e ) {\n\t\t\tself.initState();\n\t\t} );\n\t}\n\n\tinitState() {\n\t\tif ( 'cpac-custom' === this.getValue() ) {\n\t\t\tthis.showSubsettings();\n\t\t} else {\n\t\t\tthis.hideSubsettings();\n\t\t}\n\t}\n\n\thideSubsettings() {\n\t\tlet subsetting = this.setting.querySelectorAll( '.ac-column-setting' );\n\n\t\tfor ( let i = 0; i < subsetting.length; ++i ) {\n\t\t\tsubsetting[ i ].style.display = 'none';\n\t\t}\n\n\t}\n\n\tshowSubsettings() {\n\t\tlet subsetting = this.setting.querySelectorAll( '.ac-column-setting' );\n\n\t\tfor ( let i = 0; i < subsetting.length; ++i ) {\n\t\t\tsubsetting[ i ].style.display = 'table';\n\t\t}\n\t}\n\n\tsetValue( value ) {\n\t\tthis.field.value = value;\n\n\t\tthis.trigger( this.field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetWidth( width ) {\n\t\tlet field = this.setting.querySelector( '.ac-column-setting [name*=\"image_size_w\"]' );\n\n\t\tfield.value = width;\n\t\tthis.trigger( field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetHeight( height ) {\n\t\tlet field = this.setting.querySelector( '.ac-column-setting [name*=\"image_size_h\"]' );\n\t\tfield.value = height;\n\n\t\tthis.trigger( field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetSize( width, height ) {\n\t\tthis.setWidth( width );\n\t\tthis.setHeight( height );\n\n\t\treturn this;\n\t}\n\n\ttrigger( el, event ) {\n\t\tel.dispatchEvent( new Event( event ) );\n\n\t\treturn this;\n\t}\n\n}\n\nlet image = function( column ) {\n\tcolumn.settings.image = new Image( column );\n};\n\nmodule.exports = image;","let pro = function( column ) {\n\tlet $column = column.$el;\n\tlet $setting = $column.find( '.ac-column-setting--pro' );\n\n\t$setting.each( function() {\n\t\tlet $container = jQuery( this );\n\n\t\t$container.find( 'input' ).on( 'click', function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$container.find( '[data-ac-open-modal]' ).trigger( 'click' );\n\t\t} )\n\n\t} );\n};\n\nmodule.exports = pro;","let subsetting = function( column ) {\n\tlet $ = jQuery;\n\tlet settings = {\n\t\tvalue_show : \"on\",\n\t\tsubfield : '.ac-column-setting'\n\t};\n\n\tfunction initState( $setting, $input ) {\n\t\tlet value = $input.filter( ':checked' ).val();\n\t\tlet $subfields = $setting.find( settings.subfield );\n\n\t\tif ( settings.value_show === value ) {\n\t\t\t$subfields.show();\n\t\t} else {\n\t\t\t$subfields.hide();\n\t\t}\n\t}\n\n\tlet $column = column.$el;\n\tlet $settings = $column.find( '.ac-column-setting--filter,.ac-column-setting--sort,.ac-column-setting--edit' );\n\n\t$settings.each( function() {\n\t\tlet $setting = $( this );\n\t\tlet $input = $( this ).find( '.ac-setting-input input[type=\"radio\"]' );\n\n\t\tinitState( $setting, $input );\n\t\t$input.on( 'change', function() {\n\t\t\tinitState( $setting, $input );\n\t\t} );\n\n\t} );\n};\n\nmodule.exports = subsetting;","// Settings fields: Width\njQuery.fn.column_width_slider = function() {\n\tlet $ = jQuery;\n\tlet $column_width = $( this ).find( '.ac-setting-input-width' );\n\tlet input_width = $column_width.find( '.description input' ),\n\t\tinput_unit = $column_width.find( '.unit-select input' ),\n\t\tunit = input_unit.filter( ':checked' ).val(),\n\t\twidth = input_width.val(),\n\t\tslider = $column_width.find( '.width-slider' ),\n\t\tindicator = $( this ).find( '.ac-column-header .ac-column-heading-setting--width' );\n\n\t// width\n\tif ( '%' === unit && width > 100 ) {\n\t\twidth = 100;\n\t}\n\n\tinput_width.val( width );\n\n\tslider.slider( {\n\t\trange : 'min',\n\t\tmin : 0,\n\t\tmax : '%' === unit ? 100 : 500,\n\t\tvalue : width,\n\t\tslide : function( event, ui ) {\n\t\t\tinput_width.val( ui.value );\n\t\t\tindicator.trigger( 'update' );\n\t\t\tinput_width.trigger( 'validate' );\n\t\t}\n\t} );\n};\n\nlet width = function( column ) {\n\tlet $column = column.$el;\n\n\t$column.find( '.ac-column-setting--width' ).each( function() {\n\t\t$column.column_width_slider();\n\n\t\t// indicator\n\t\tlet $width_indicator = $column.find( '.ac-column-header .ac-column-heading-setting--width' );\n\n\t\t$width_indicator.on( 'update', function() {\n\t\t\tlet _width = $column.find( '.ac-setting-input-width .description input' ).val();\n\t\t\tlet _unit = $column.find( '.ac-setting-input-width .description .unit' ).text();\n\t\t\tif ( _width > 0 ) {\n\t\t\t\t$( this ).text( _width + _unit );\n\t\t\t} else {\n\t\t\t\t$( this ).text( '' );\n\t\t\t}\n\t\t} );\n\n\t\t// unit selector\n\t\tlet width_unit_select = $column.find( '.ac-setting-input-width .unit-select label' );\n\t\twidth_unit_select.on( 'click', function() {\n\n\t\t\t$column.find( 'span.unit' ).text( $( this ).find( 'input' ).val() );\n\t\t\t$column.column_width_slider(); // re-init slider\n\t\t\t$width_indicator.trigger( 'update' ); // update indicator\n\t\t} );\n\n\t\t// width_input\n\t\tlet width_input = $column.find( '.ac-setting-input-width .description input' )\n\t\t\t.on( 'keyup', function() {\n\t\t\t\t$column.column_width_slider(); // re-init slider\n\t\t\t\t$( this ).trigger( 'validate' ); // validate input\n\t\t\t\t$width_indicator.trigger( 'update' ); // update indicator\n\t\t\t} )\n\n\t\t\t// width_input:validate\n\t\t\t.on( 'validate', function() {\n\t\t\t\tlet _width = width_input.val();\n\t\t\t\tlet _new_width = $.trim( _width );\n\n\t\t\t\tif ( !$.isNumeric( _new_width ) ) {\n\t\t\t\t\t_new_width = _new_width.replace( /\\D/g, '' );\n\t\t\t\t}\n\t\t\t\tif ( _new_width.length > 3 ) {\n\t\t\t\t\t_new_width = _new_width.substring( 0, 3 );\n\t\t\t\t}\n\t\t\t\tif ( _new_width <= 0 ) {\n\t\t\t\t\t_new_width = '';\n\t\t\t\t}\n\t\t\t\tif ( _new_width !== _width ) {\n\t\t\t\t\twidth_input.val( _new_width );\n\t\t\t\t}\n\t\t\t} );\n\n\t} );\n};\n\nmodule.exports = width;","class Modals {\n\n\tconstructor() {\n\t\tthis.modals = [];\n\t\tthis.number = 1;\n\t}\n\n\tregister( modal, key = '' ) {\n\t\tif ( !key ) {\n\t\t\tkey = 'm' + this.number;\n\t\t}\n\n\t\tthis.modals[ key ] = modal;\n\t\tthis.number++;\n\t}\n\n\tget( key ) {\n\t\tif ( this.modals[ key ] ) {\n\t\t\treturn this.modals[ key ];\n\t\t}\n\n\t\treturn false;\n\t}\n}\n\nmodule.exports = Modals;","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n var fns = exec(defined, SYMBOL, ''[KEY]);\n var strfn = fns[0];\n var rxfn = fns[1];\n if (fails(function () {\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n })) {\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace) {\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return [function replace(searchValue, replaceValue) {\n 'use strict';\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n }, $replace];\n});\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","module.exports = jQuery;"],"sourceRoot":""}
assets/js/message-addon.js DELETED
@@ -1 +0,0 @@
1
- 'use strict';jQuery(function($){$(document).ready(function(){$('.updated a.hide-install-addons-notice').click(function(e){e.preventDefault();var el=$(this).parents('.ac-message');var el_close=el.find('.hide-notice');el_close.hide();el_close.after('<div class="spinner right"></div>');el.find('.spinner').show();$.post(ajaxurl,{'action':'cpac_hide_install_addons_notice'},function(){el.find('.spinner').remove();el.slideUp()});return false})})});
assets/js/message-dismiss.js DELETED
@@ -1 +0,0 @@
1
- 'use strict';jQuery(function($){$(document).on('click','.ac-notice [data-dismiss], .ac-notice button.notice-dismiss',function(){var $notice=$(this).parents('.ac-notice');var name=$notice.data('name');if(!name){return false}setTimeout(function(){'use strict';$notice.fadeOut().remove()},3000);$.post(ajaxurl,{action:'ac_notice_dismiss',name:name,_ajax_nonce:$notice.data('nonce')},function(){$notice.fadeOut().remove()})})});
assets/js/message-dismissible.js DELETED
@@ -1 +0,0 @@
1
- 'use strict';jQuery(function($){$(document).on('click','.ac-notice [data-dismiss], .ac-notice button.notice-dismiss',function(e){e.preventDefault();var $notice=$(this).parents('.ac-notice');var name=$notice.data('name');if(!name){return false}$notice.fadeOut(500,function(){$notice.remove()});$.post(ajaxurl,{action:'ac_notice_dismiss_'+name,name:name,_ajax_nonce:$notice.data('nonce')})})});
assets/js/message-review.js CHANGED
@@ -1 +1 @@
1
- 'use strict';jQuery(function($){$(document).on('click','a.hide-review-notice-soft',function(e){e.preventDefault();var $notice=$(this).closest('.ac-notice');$notice.find('.info').slideUp();$notice.find('.help').slideDown();$.post(ajaxurl,$notice.data('dismissible-callback'))});$(document).on('click','a.hide-review-notice',function(e){e.preventDefault();$(this).closest('.ac-notice').find('.notice-dismiss').trigger('click')})});
1
+ !function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)r.d(e,o,function(t){return n[t]}.bind(null,o));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=80)}([function(n,t,r){"use strict";var e=r(15),o=r(30)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),e(e.P+e.F*i,"Array",{find:function(n){return o(this,n,arguments.length>1?arguments[1]:void 0)}}),r(25)("find")},function(n,t){var r=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(n,t,r){var e=r(8),o=r(19);n.exports=r(4)?function(n,t,r){return e.f(n,t,o(1,r))}:function(n,t,r){return n[t]=r,n}},function(n,t){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,r){n.exports=!r(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(23)("wks"),o=r(9),i=r(1).Symbol,u="function"==typeof i;(n.exports=function(n){return e[n]||(e[n]=u&&i[n]||(u?i:o)("Symbol."+n))}).store=e},function(n,t){var r=n.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(n,t){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t,r){var e=r(14),o=r(27),i=r(28),u=Object.defineProperty;t.f=r(4)?Object.defineProperty:function(n,t,r){if(e(n),t=i(t,!0),e(r),o)try{return u(n,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(n[t]=r.value),n}},function(n,t){var r=0,e=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++r+e).toString(36))}},function(n,t,r){var e=r(1),o=r(2),i=r(11),u=r(9)("src"),c=Function.toString,f=(""+c).split("toString");r(6).inspectSource=function(n){return c.call(n)},(n.exports=function(n,t,r,c){var a="function"==typeof r;a&&(i(r,"name")||o(r,"name",t)),n[t]!==r&&(a&&(i(r,u)||o(r,u,n[t]?""+n[t]:f.join(String(t)))),n===e?n[t]=r:c?n[t]?n[t]=r:o(n,t,r):(delete n[t],o(n,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(n,t){var r={}.hasOwnProperty;n.exports=function(n,t){return r.call(n,t)}},function(n,t,r){var e=r(29);n.exports=function(n,t,r){if(e(n),void 0===t)return n;switch(r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,e){return n.call(t,r,e)};case 3:return function(r,e,o){return n.call(t,r,e,o)}}return function(){return n.apply(t,arguments)}}},function(n,t){var r={}.toString;n.exports=function(n){return r.call(n).slice(8,-1)}},function(n,t,r){var e=r(3);n.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},function(n,t,r){var e=r(1),o=r(6),i=r(2),u=r(10),c=r(12),f=function(n,t,r){var a,s,p,l,v=n&f.F,d=n&f.G,y=n&f.S,h=n&f.P,b=n&f.B,x=d?e:y?e[t]||(e[t]={}):(e[t]||{}).prototype,g=d?o:o[t]||(o[t]={}),m=g.prototype||(g.prototype={});for(a in d&&(r=t),r)p=((s=!v&&x&&void 0!==x[a])?x:r)[a],l=b&&s?c(p,e):h&&"function"==typeof p?c(Function.call,p):p,x&&u(x,a,p,n&f.U),g[a]!=p&&i(g,a,l),h&&m[a]!=p&&(m[a]=p)};e.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,n.exports=f},function(n,t,r){var e=r(17);n.exports=function(n){return Object(e(n))}},function(n,t){n.exports=function(n){if(void 0==n)throw TypeError("Can't call method on "+n);return n}},function(n,t,r){var e=r(3),o=r(1).document,i=e(o)&&e(o.createElement);n.exports=function(n){return i?o.createElement(n):{}}},function(n,t){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},function(n,t,r){var e=r(13);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},function(n,t,r){var e=r(22),o=Math.min;n.exports=function(n){return n>0?o(e(n),9007199254740991):0}},function(n,t){var r=Math.ceil,e=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?e:r)(n)}},function(n,t,r){var e=r(6),o=r(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(n.exports=function(n,t){return i[n]||(i[n]=void 0!==t?t:{})})("versions",[]).push({version:e.version,mode:r(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(n,t){n.exports=!1},function(n,t,r){var e=r(5)("unscopables"),o=Array.prototype;void 0==o[e]&&r(2)(o,e,{}),n.exports=function(n){o[e][n]=!0}},,function(n,t,r){n.exports=!r(4)&&!r(7)(function(){return 7!=Object.defineProperty(r(18)("div"),"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(3);n.exports=function(n,t){if(!e(n))return n;var r,o;if(t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;if("function"==typeof(r=n.valueOf)&&!e(o=r.call(n)))return o;if(!t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;throw TypeError("Can't convert object to primitive value")}},function(n,t){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t,r){var e=r(12),o=r(20),i=r(16),u=r(21),c=r(31);n.exports=function(n,t){var r=1==n,f=2==n,a=3==n,s=4==n,p=6==n,l=5==n||p,v=t||c;return function(t,c,d){for(var y,h,b=i(t),x=o(b),g=e(c,d,3),m=u(x.length),_=0,j=r?v(t,m):f?v(t,0):void 0;m>_;_++)if((l||_ in x)&&(h=g(y=x[_],_,b),n))if(r)j[_]=h;else if(h)switch(n){case 3:return!0;case 5:return y;case 6:return _;case 2:j.push(y)}else if(s)return!1;return p?-1:a||s?s:j}}},function(n,t,r){var e=r(32);n.exports=function(n,t){return new(e(n))(t)}},function(n,t,r){var e=r(3),o=r(33),i=r(5)("species");n.exports=function(n){var t;return o(n)&&("function"!=typeof(t=n.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),e(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(n,t,r){var e=r(13);n.exports=Array.isArray||function(n){return"Array"==e(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,r){"use strict";r(0),jQuery(function(n){n(document).on("click","a.hide-review-notice-soft",function(t){t.preventDefault();var r=n(this).closest(".ac-notice");r.find(".info").slideUp(),r.find(".help").slideDown(),n.post(ajaxurl,r.data("dismissible-callback"))}),n(document).on("click","a.hide-review-notice",function(t){t.preventDefault(),n(this).closest(".ac-notice").find(".notice-dismiss").trigger("click")})})}]);
assets/js/message-review.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/message-review.js","webpack:///./node_modules/core-js/modules/_a-function.js","webpack:///./node_modules/core-js/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/modules/_an-object.js","webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_cof.js","webpack:///./node_modules/core-js/modules/_core.js","webpack:///./node_modules/core-js/modules/_ctx.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/core-js/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/_dom-create.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/core-js/modules/_fails.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./node_modules/core-js/modules/_has.js","webpack:///./node_modules/core-js/modules/_hide.js","webpack:///./node_modules/core-js/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/modules/_iobject.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/_is-object.js","webpack:///./node_modules/core-js/modules/_library.js","webpack:///./node_modules/core-js/modules/_object-dp.js","webpack:///./node_modules/core-js/modules/_property-desc.js","webpack:///./node_modules/core-js/modules/_redefine.js","webpack:///./node_modules/core-js/modules/_shared.js","webpack:///./node_modules/core-js/modules/_to-integer.js","webpack:///./node_modules/core-js/modules/_to-length.js","webpack:///./node_modules/core-js/modules/_to-object.js","webpack:///./node_modules/core-js/modules/_to-primitive.js","webpack:///./node_modules/core-js/modules/_uid.js","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/modules/es6.array.find.js"],"names":["jQuery","quot;,"document","on","e","preventDefault","$notice","closest","find","slideUp","slideDown","post","ajaxurl","data","trigger"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;AClFAA,OAAQ,UAAUC,CAAV,EAAc;AAErBA,IAAGC,QAAH,EAAcC,EAAd,CAAkB,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;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;AC1CA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;;;;;ACPA;AACA,uIAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;ACFA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;AC9BD;AACA;AACA;AACA,kDAAkD;;AAElD;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,gBAAgB,EAAE;AAC5D;AACA;AACA;AACA;AACA,CAAC;AACD","file":"message-review.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/message-review.js\");\n","jQuery( function( $ ) {\r\n\r\n\t$( document ).on( 'click', 'a.hide-review-notice-soft', function( e ) {\r\n\t\te.preventDefault();\r\n\r\n\t\tlet $notice = $( this ).closest( '.ac-notice' );\r\n\r\n\t\t$notice.find( '.info' ).slideUp();\r\n\t\t$notice.find( '.help' ).slideDown();\r\n\r\n\t\t$.post( ajaxurl, $notice.data( 'dismissible-callback' ) );\r\n\t} );\r\n\r\n\t$( document ).on( 'click', 'a.hide-review-notice', function( e ) {\r\n\t\te.preventDefault();\r\n\r\n\t\t$( this ).closest( '.ac-notice' ).find( '.notice-dismiss' ).trigger( 'click' );\r\n\t} );\r\n\r\n} );","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","module.exports = false;\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n"],"sourceRoot":""}
assets/js/message.js DELETED
@@ -1,5 +0,0 @@
1
- <<<<<<< HEAD
2
- 'use strict';jQuery(function($){$(document).on('click','.ac-notice [data-dismiss], .ac-notice button.notice-dismiss',function(){var $notice=$(this).parents('.ac-notice');var name=$notice.data('name');if(!name){return false}setTimeout(function(){'use strict';$notice.fadeOut().remove()},3000);$.post(ajaxurl,{action:'ac_notice_dismiss',name:name,_ajax_nonce:$notice.data('nonce')},function(){$notice.fadeOut().remove()})})});
3
- =======
4
- 'use strict';jQuery(function($){$(document).on('click','.ac-notice [data-dismiss], .ac-notice button.notice-dismiss',function(e){e.preventDefault();var $notice=$(this).parents('.ac-notice');var name=$notice.data('name');if(!name){return false}$notice.fadeOut(500,function(){$notice.remove()});$.post(ajaxurl,{action:'ac_notices',name:name,_ajax_nonce:$notice.data('nonce')})})});
5
- >>>>>>> origin/1036-refactor-notices
assets/js/notice-dismiss.js DELETED
@@ -1 +0,0 @@
1
- 'use strict';jQuery(function($){$(document).on('click','.ac-notice [data-dismiss]',function(e){e.preventDefault();var $notice=$(this).parents('.ac-notice');var dismissible=$notice.data('dismissible');$notice.fadeOut(500,function(){$notice.remove()});$.post(ajaxurl,dismissible)})});
assets/js/notice-dismissible.js CHANGED
@@ -1 +1 @@
1
- 'use strict';jQuery(function($){$('.ac-notice').on('click','.ac-notice__dismiss, [data-dismiss], .notice-dismiss',function(e){e.preventDefault();var dismissible_callback=$(this).closest('.ac-notice').data('dismissible-callback');if(dismissible_callback){$.post(ajaxurl,dismissible_callback)}})});
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=81)}({81:function(e,t,n){"use strict";jQuery(function(e){e(".ac-notice").on("click",".ac-notice__dismiss, [data-dismiss], .notice-dismiss",function(t){t.preventDefault();var n=e(this).closest(".ac-notice").data("dismissible-callback");n&&e.post(ajaxurl,n)})})}});
assets/js/notice-dismissible.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/notice-dismissible.js"],"names":["jQuery","quot;,"on","e","preventDefault","dismissible_callback","closest","data","post","ajaxurl"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;AClFAA,OAAQ,UAAUC,CAAV,EAAc;AAErBA,IAAG,YAAH,EAAkBC,EAAlB,CAAsB,OAAtB,EAA+B,sDAA/B,EAAuF,UAAUC,CAAV,EAAc;AACpGA,MAAEC,cAAF;AAEA,QAAIC,uBAAuBJ,EAAG,IAAH,EAAUK,OAAV,CAAmB,YAAnB,EAAkCC,IAAlC,CAAwC,sBAAxC,CAA3B;;AAEA,QAAKF,oBAAL,EAA4B;AAC3BJ,QAAEO,IAAF,CAAQC,OAAR,EAAiBJ,oBAAjB;AACA;AACD,GARD;AAUA,CAZD,E","file":"notice-dismissible.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/notice-dismissible.js\");\n","jQuery( function( $ ) {\r\n\r\n\t$( '.ac-notice' ).on( 'click', '.ac-notice__dismiss, [data-dismiss], .notice-dismiss', function( e ) {\r\n\t\te.preventDefault();\r\n\r\n\t\tlet dismissible_callback = $( this ).closest( '.ac-notice' ).data( 'dismissible-callback' );\r\n\r\n\t\tif ( dismissible_callback ) {\r\n\t\t\t$.post( ajaxurl, dismissible_callback );\r\n\t\t}\r\n\t} );\r\n\r\n} );"],"sourceRoot":""}
assets/js/table.js CHANGED
@@ -1,11 +1 @@
1
- 'use strict';jQuery(document).ready(function($){ac_quickedit_events($);ac_set_column_classes($);ac_actions_column($,$('.column-actions'));ac_tooltips($);ac_show_more($);ac_edit_button($);ac_toggle_box($);ac_toggle_box_ajax_init($);ac_actions_tooltips($);$('.wp-list-table').on('updated','tr',function(){ac_set_column_classes($);ac_actions_column($,$(this).find('.column-actions'));ac_show_more($)})});function ac_actions_tooltips($){$('.row-actions a').qtip({content:{text:function text(){return $(this).text()}},position:{my:'top center',at:'bottom center'},style:{tip:true,classes:'qtip-tipsy'}})}function ac_edit_button($){if(AC.edit_link){$('.tablenav.top .actions:last').append('<a class="ac-button add-new-h2 ac-button-edit" href="'+AC.edit_link+'">'+AC.i18n.edit_columns+'</a>')}}function ac_toggle_box($){$('.ac-toggle-box-link').click(function(e){e.preventDefault();$(this).next('.ac-toggle-box-contents').toggle()})}function ac_toggle_box_ajax_init($){/**
2
- * Toggle box
3
- */var do_toggle_value=function do_toggle_value(e){e.preventDefault();$(this).next('.ac-toggle-box-contents-ajax').toggle()};/**
4
- * Retrieves the contents from the column through ajax
5
- */var do_retrieve_ajax_value=function do_retrieve_ajax_value(e){e.preventDefault();var $this=$(this);var data={action:'ac_get_column_value',list_screen:AC.list_screen,layout:AC.layout,column:$this.data('column'),pk:$this.attr('data-item-id'),_ajax_nonce:AC.ajax_nonce};$this.addClass('loading');var xhr=$.post(ajaxurl,data,function(response){if(response){$this.after('<div class="ac-toggle-box-contents-ajax">'+response+'</div>');// We only need to run the ajax request once. Unbind the event, and replace with a Toggle Box.
6
- $this.unbind('click',do_retrieve_ajax_value).bind('click',do_toggle_value);// Added hook on Table Cell
7
- $($this.parent('td')).trigger('ajax_column_value_ready');// Re-init tooltips
8
- ac_tooltips($)}});xhr.always(function(){$this.removeClass('loading')})};// Click event
9
- $('a[data-ajax-populate=1]').bind('click',do_retrieve_ajax_value)}function ac_show_more($){$('.ac-more-link-show').click(function(e){e.preventDefault();var td=$(this).hide().closest('td');td.find('.ac-show-more-block').show()});$('.ac-more-link-hide').click(function(e){e.preventDefault();var td=$(this).closest('td');td.find('.ac-more-link-show').show();td.find('.ac-show-more-block').hide()})}function ac_actions_column($,$selector){$($selector).each(function(){var $column=$(this);if($column.find('.cpac_use_icons').length>0){$column.addClass('cpac_use_icons')}});$($selector).find('.cpac_use_icons + .hidden + .row-actions > span').each(function(){var $link=$(this).find('a');$link.attr('data-ac-tip',$link.text()).addClass('ac-tip')})}function ac_set_column_classes($){for(var name in AC.column_types){if(AC.column_types.hasOwnProperty(name)){var type=AC.column_types[name];$('.wp-list-table td.'+name).addClass(type)}}}/**
10
- * @since 2.2.4
11
- */function ac_tooltips($){if(typeof $.fn.qtip==='undefined'){return}$('[data-ac-tip]').qtip({content:{attr:'data-ac-tip'},position:{my:'top center',at:'bottom center'},style:{tip:true,classes:'qtip-tipsy'}})}function ac_quickedit_events($){$(document).ajaxComplete(function(event,request){var $result=$('<div>').append(request.responseText);if($result.find('tr.iedit').length===1){var id=$result.find('tr.iedit').attr('id');$('tr#'+id).trigger('updated')}})}
1
+ !function(t){var n={};function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(o,r,function(n){return t[n]}.bind(null,r));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=82)}([function(t,n,e){"use strict";var o=e(15),r=e(30)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),o(o.P+o.F*i,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),e(25)("find")},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var o=e(8),r=e(19);t.exports=e(4)?function(t,n,e){return o.f(t,n,r(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){t.exports=!e(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var o=e(23)("wks"),r=e(9),i=e(1).Symbol,c="function"==typeof i;(t.exports=function(t){return o[t]||(o[t]=c&&i[t]||(c?i:r)("Symbol."+t))}).store=o},function(t,n){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var o=e(14),r=e(27),i=e(28),c=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(o(t),n=i(n,!0),o(e),r)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){var e=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+o).toString(36))}},function(t,n,e){var o=e(1),r=e(2),i=e(11),c=e(9)("src"),u=Function.toString,a=(""+u).split("toString");e(6).inspectSource=function(t){return u.call(t)},(t.exports=function(t,n,e,u){var f="function"==typeof e;f&&(i(e,"name")||r(e,"name",n)),t[n]!==e&&(f&&(i(e,c)||r(e,c,t[n]?""+t[n]:a.join(String(n)))),t===o?t[n]=e:u?t[n]?t[n]=e:r(t,n,e):(delete t[n],r(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[c]||u.call(this)})},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var o=e(29);t.exports=function(t,n,e){if(o(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,o){return t.call(n,e,o)};case 3:return function(e,o,r){return t.call(n,e,o,r)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var o=e(3);t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var o=e(1),r=e(6),i=e(2),c=e(10),u=e(12),a=function(t,n,e){var f,s,l,p,d=t&a.F,v=t&a.G,y=t&a.S,h=t&a.P,b=t&a.B,m=v?o:y?o[n]||(o[n]={}):(o[n]||{}).prototype,x=v?r:r[n]||(r[n]={}),g=x.prototype||(x.prototype={});for(f in v&&(e=n),e)l=((s=!d&&m&&void 0!==m[f])?m:e)[f],p=b&&s?u(l,o):h&&"function"==typeof l?u(Function.call,l):l,m&&c(m,f,l,t&a.U),x[f]!=l&&i(x,f,p),h&&g[f]!=l&&(g[f]=l)};o.core=r,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,e){var o=e(17);t.exports=function(t){return Object(o(t))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var o=e(3),r=e(1).document,i=o(r)&&o(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var o=e(13);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},function(t,n,e){var o=e(22),r=Math.min;t.exports=function(t){return t>0?r(o(t),9007199254740991):0}},function(t,n){var e=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:e)(t)}},function(t,n,e){var o=e(6),r=e(1),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:o.version,mode:e(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports=!1},function(t,n,e){var o=e(5)("unscopables"),r=Array.prototype;void 0==r[o]&&e(2)(r,o,{}),t.exports=function(t){r[o][t]=!0}},function(t,n,e){var o=e(8).f,r=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in r||e(4)&&o(r,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,n,e){t.exports=!e(4)&&!e(7)(function(){return 7!=Object.defineProperty(e(18)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var o=e(3);t.exports=function(t,n){if(!o(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!o(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!o(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!o(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var o=e(12),r=e(20),i=e(16),c=e(21),u=e(31);t.exports=function(t,n){var e=1==t,a=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l,d=n||u;return function(n,u,v){for(var y,h,b=i(n),m=r(b),x=o(u,v,3),g=c(m.length),_=0,w=e?d(n,g):a?d(n,0):void 0;g>_;_++)if((p||_ in m)&&(h=x(y=m[_],_,b),t))if(e)w[_]=h;else if(h)switch(t){case 3:return!0;case 5:return y;case 6:return _;case 2:w.push(y)}else if(s)return!1;return l?-1:f||s?s:w}}},function(t,n,e){var o=e(32);t.exports=function(t,n){return new(o(t))(n)}},function(t,n,e){var o=e(3),r=e(33),i=e(5)("species");t.exports=function(t){var n;return r(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!r(n.prototype)||(n=void 0),o(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,e){var o=e(13);t.exports=Array.isArray||function(t){return"Array"==o(t)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e(26),e(0);var o=i(e(83)),r=i(e(85));function i(t){return t&&t.__esModule?t:{default:t}}function c(t){t(".ac-more-link-show").click(function(n){n.preventDefault(),t(this).hide().closest("td").find(".ac-show-more-block").show()}),t(".ac-more-link-hide").click(function(n){n.preventDefault();var e=t(this).closest("td");e.find(".ac-more-link-show").show(),e.find(".ac-show-more-block").hide()})}function u(t,n){t(n).each(function(){var n=t(this);n.find(".cpac_use_icons").length>0&&n.addClass("cpac_use_icons")}),t(n).find(".cpac_use_icons + .hidden + .row-actions > span").each(function(){var n=t(this).find("a");n.attr("data-ac-tip",n.text()).addClass("ac-tip")})}function a(t){for(var n in AC.column_types)if(AC.column_types.hasOwnProperty(n)){var e=AC.column_types[n];t(".wp-list-table td."+n).addClass(e)}}jQuery(document).ready(function(t){!function(t){t(document).ajaxComplete(function(n,e){var o=document.implementation.createHTMLDocument("quickeditevents"),r=t("<div>",o);if(r.append(e.responseText),1===r.find("tr.iedit").length){var i=r.find("tr.iedit").attr("id");t("tr#"+i).trigger("updated")}})}(t),a(t),u(t,t(".column-actions")),c(t),function(t){t(".ac-toggle-box-link").click(function(n){n.preventDefault(),t(this).next(".ac-toggle-box-contents").toggle()})}(t),function(t){var n=function(n){n.preventDefault(),t(this).next(".ac-toggle-box-contents-ajax").toggle()};t("a[data-ajax-populate=1]").bind("click",function e(o){o.preventDefault();var r=t(this),i={action:"ac_get_column_value",list_screen:AC.list_screen,layout:AC.layout,column:r.data("column"),pk:r.attr("data-item-id"),_ajax_nonce:AC.ajax_nonce};r.addClass("loading"),t.post(ajaxurl,i,function(o){o&&(r.after('<div class="ac-toggle-box-contents-ajax">'+o+"</div>"),r.unbind("click",e).bind("click",n),t(r.parent("td")).trigger("ajax_column_value_ready"),AC.Tooltips().init())}).always(function(){r.removeClass("loading")})})}(t),function(t){t(".row-actions a").qtip({content:{text:function(){return t(this).text()}},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}(t),AC.Table=new o.default(".wp-list-table"),AC.Tooltips=new r.default,t(".wp-list-table").on("updated","tr",function(){a(t),u(t,t(this).find(".column-actions")),c(t)})})},function(t,n,e){"use strict";var o=function(t){return t&&t.__esModule?t:{default:t}}(e(84));t.exports=function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.$table=jQuery(n),this.Buttons=new o.default("#ac-table-actions")}},function(t,n,e){"use strict";function o(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}e(0);var r=function(){function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=jQuery(n),this.init()}return function(t,n,e){n&&o(t.prototype,n),e&&o(t,e)}(t,[{key:"init",value:function(){var t=this;this.$el.on("update",function(){t.refresh()}).appendTo(jQuery(".tablenav.top .actions:last")).trigger("update")}},{key:"refresh",value:function(){var t=this.$el.find(".ac-table-actions-buttons");t.find("> a").removeClass("last"),t.find("> a:visible:last").addClass("last")}}]),t}();t.exports=r},function(t,n,e){"use strict";function o(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var r=function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(t,n,e){n&&o(t.prototype,n),e&&o(t,e)}(t,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),t}();t.exports=r}]);
assets/js/table.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/table.js","webpack:///./js/table/actions.js","webpack:///./js/table/table.js","webpack:///./js/table/tooltips.js","webpack:///./node_modules/core-js/modules/_a-function.js","webpack:///./node_modules/core-js/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/modules/_an-object.js","webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_cof.js","webpack:///./node_modules/core-js/modules/_core.js","webpack:///./node_modules/core-js/modules/_ctx.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/core-js/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/_dom-create.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/core-js/modules/_fails.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./node_modules/core-js/modules/_has.js","webpack:///./node_modules/core-js/modules/_hide.js","webpack:///./node_modules/core-js/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/modules/_iobject.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/_is-object.js","webpack:///./node_modules/core-js/modules/_library.js","webpack:///./node_modules/core-js/modules/_object-dp.js","webpack:///./node_modules/core-js/modules/_property-desc.js","webpack:///./node_modules/core-js/modules/_redefine.js","webpack:///./node_modules/core-js/modules/_shared.js","webpack:///./node_modules/core-js/modules/_to-integer.js","webpack:///./node_modules/core-js/modules/_to-length.js","webpack:///./node_modules/core-js/modules/_to-object.js","webpack:///./node_modules/core-js/modules/_to-primitive.js","webpack:///./node_modules/core-js/modules/_uid.js","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./node_modules/core-js/modules/es6.function.name.js"],"names":["jQuery","document","ready","quot;,"ac_quickedit_events","ac_set_column_classes","ac_actions_column","ac_show_more","ac_toggle_box","ac_toggle_box_ajax_init","ac_actions_tooltips","AC","Table","Tooltips","Tooltip","on","find","qtip","content","text","position","my","at","style","tip","classes","click","e","preventDefault","next","toggle","do_toggle_value","do_retrieve_ajax_value","$this","data","action","list_screen","layout","column","pk","attr","_ajax_nonce","ajax_nonce","addClass","xhr","post","ajaxurl","response","after","unbind","bind","parent","trigger","init","always","removeClass","td","hide","closest","show","$selector","each","$column","length","$link","name","column_types","hasOwnProperty","type","ajaxComplete","event","request","ownerDocument","implementation","createHTMLDocument","$result","append","responseText","id","Actions","el","$el","self","refresh","appendTo","$buttons","module","exports","$table","Buttons","isEnabled","fn","console","log"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AAC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;;;;;AC3CA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACLA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;ACJA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;AC1CA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;;;;;ACPA;AACA,uIAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;ACFA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;AC9BD;AACA;AACA;AACA,kDAAkD;;AAElD;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,gBAAgB,EAAE;AAC5D;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;ACbA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC","file":"table.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/table.js\");\n","import Table from \"./table/table\";\nimport Tooltip from \"./table/tooltips\";\n\njQuery( document ).ready( function( $ ) {\n\tac_quickedit_events( $ );\n\tac_set_column_classes( $ );\n\tac_actions_column( $, $( '.column-actions' ) );\n\n\tac_show_more( $ );\n\tac_toggle_box( $ );\n\tac_toggle_box_ajax_init( $ );\n\tac_actions_tooltips( $ );\n\n\tAC.Table = new Table( '.wp-list-table' );\n\tAC.Tooltips = new Tooltip();\n\n\t$( '.wp-list-table' ).on( 'updated', 'tr', function() {\n\t\tac_set_column_classes( $ );\n\t\tac_actions_column( $, $( this ).find( '.column-actions' ) );\n\t\tac_show_more( $ );\n\t} );\n\n} );\n\nfunction ac_actions_tooltips( $ ) {\n\t$( '.row-actions a' ).qtip( {\n\t\tcontent : {\n\t\t\ttext : function() {\n\t\t\t\treturn $( this ).text();\n\t\t\t}\n\t\t},\n\t\tposition : {\n\t\t\tmy : 'top center',\n\t\t\tat : 'bottom center'\n\t\t},\n\t\tstyle : {\n\t\t\ttip : true,\n\t\t\tclasses : 'qtip-tipsy'\n\t\t}\n\t} );\n}\n\nfunction ac_toggle_box( $ ) {\n\t$( '.ac-toggle-box-link' ).click( function( e ) {\n\t\te.preventDefault();\n\t\t$( this ).next( '.ac-toggle-box-contents' ).toggle();\n\t} );\n}\n\nfunction ac_toggle_box_ajax_init( $ ) {\n\n\t/**\n\t * Toggle box\n\t */\n\tlet do_toggle_value = function( e ) {\n\t\te.preventDefault();\n\n\t\t$( this ).next( '.ac-toggle-box-contents-ajax' ).toggle();\n\t};\n\n\t/**\n\t * Retrieves the contents from the column through ajax\n\t */\n\tlet do_retrieve_ajax_value = function( e ) {\n\t\te.preventDefault();\n\n\t\tlet $this = $( this );\n\n\t\tlet data = {\n\t\t\taction : 'ac_get_column_value',\n\t\t\tlist_screen : AC.list_screen,\n\t\t\tlayout : AC.layout,\n\t\t\tcolumn : $this.data( 'column' ),\n\t\t\tpk : $this.attr( 'data-item-id' ),\n\t\t\t_ajax_nonce : AC.ajax_nonce\n\t\t};\n\n\t\t$this.addClass( 'loading' );\n\n\t\tlet xhr = $.post( ajaxurl, data, function( response ) {\n\t\t\tif ( response ) {\n\t\t\t\t$this.after( '<div class=\"ac-toggle-box-contents-ajax\">' + response + '</div>' );\n\n\t\t\t\t// We only need to run the ajax request once. Unbind the event, and replace with a Toggle Box.\n\t\t\t\t$this.unbind( 'click', do_retrieve_ajax_value ).bind( 'click', do_toggle_value );\n\n\t\t\t\t// Added hook on Table Cell\n\t\t\t\t$( $this.parent( 'td' ) ).trigger( 'ajax_column_value_ready' );\n\n\t\t\t\t// Re-init tooltips\n\t\t\t\tAC.Tooltips().init();\n\t\t\t}\n\t\t} );\n\n\t\txhr.always( function() {\n\t\t\t$this.removeClass( 'loading' );\n\t\t} );\n\t};\n\n\t// Click event\n\t$( 'a[data-ajax-populate=1]' ).bind( 'click', do_retrieve_ajax_value );\n}\n\nfunction ac_show_more( $ ) {\n\t$( '.ac-more-link-show' ).click( function( e ) {\n\t\te.preventDefault();\n\t\tlet td = $( this ).hide().closest( 'td' );\n\n\t\ttd.find( '.ac-show-more-block' ).show();\n\n\t} );\n\t$( '.ac-more-link-hide' ).click( function( e ) {\n\t\te.preventDefault();\n\t\tlet td = $( this ).closest( 'td' );\n\n\t\ttd.find( '.ac-more-link-show' ).show();\n\t\ttd.find( '.ac-show-more-block' ).hide();\n\t} );\n}\n\nfunction ac_actions_column( $, $selector ) {\n\t$( $selector ).each( function() {\n\t\tlet $column = $( this );\n\n\t\tif ( $column.find( '.cpac_use_icons' ).length > 0 ) {\n\t\t\t$column.addClass( 'cpac_use_icons' );\n\t\t}\n\t} );\n\n\t$( $selector ).find( '.cpac_use_icons + .hidden + .row-actions > span' ).each( function() {\n\t\tlet $link = $( this ).find( 'a' );\n\t\t$link.attr( 'data-ac-tip', $link.text() ).addClass( 'ac-tip' );\n\t} );\n}\n\nfunction ac_set_column_classes( $ ) {\n\tfor ( let name in AC.column_types ) {\n\t\tif ( AC.column_types.hasOwnProperty( name ) ) {\n\t\t\tlet type = AC.column_types[ name ];\n\n\t\t\t$( '.wp-list-table td.' + name ).addClass( type );\n\t\t}\n\t}\n}\n\nfunction ac_quickedit_events( $ ) {\n\n\t$( document ).ajaxComplete( function( event, request ) {\n\t\tlet ownerDocument = document.implementation.createHTMLDocument( 'quickeditevents' );\n\t\tlet $result = $( '<div>', ownerDocument );\n\n\t\t$result.append( request.responseText );\n\t\tif ( $result.find( 'tr.iedit' ).length === 1 ) {\n\t\t\tlet id = $result.find( 'tr.iedit' ).attr( 'id' );\n\n\t\t\t$( 'tr#' + id ).trigger( 'updated' )\n\t\t}\n\t} );\n\n}","class Actions {\n\tconstructor( el ) {\n\t\tthis.$el = jQuery( el );\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet self = this;\n\n\t\tthis.$el.on( 'update', function() {\n\t\t\tself.refresh();\n\t\t} ).appendTo( jQuery( '.tablenav.top .actions:last' ) ).trigger( 'update' );\n\t}\n\n\trefresh() {\n\t\tlet $buttons = this.$el.find( '.ac-table-actions-buttons' );\n\n\t\t$buttons.find( '> a' ).removeClass( 'last' );\n\t\t$buttons.find( '> a:visible:last' ).addClass( 'last' );\n\t}\n}\n\nmodule.exports = Actions;","import Actions from \"./actions\";\n\nclass Table {\n\n\tconstructor( el ) {\n\t\tthis.$table = jQuery( el );\n\t\tthis.Buttons = new Actions( '#ac-table-actions' );\n\t}\n\n}\n\nmodule.exports = Table;","class Tooltips {\n\n\tconstructor() {\n\t\tthis.isEnabled = typeof jQuery.fn.qtip !== 'undefined';\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( !this.isEnabled ) {\n\t\t\tconsole.log( 'Tooltips not loaded!' );\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( '[data-ac-tip]' ).qtip( {\n\t\t\tcontent : {\n\t\t\t\tattr : 'data-ac-tip'\n\t\t\t},\n\t\t\tposition : {\n\t\t\t\tmy : 'top center',\n\t\t\t\tat : 'bottom center'\n\t\t\t},\n\t\t\tstyle : {\n\t\t\t\ttip : true,\n\t\t\t\tclasses : 'qtip-tipsy'\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nmodule.exports = Tooltips;","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","module.exports = false;\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n"],"sourceRoot":""}
assets/js/upgrade.js DELETED
@@ -1,10 +0,0 @@
1
- 'use strict';/**
2
- * Add Message
3
- */function add_message(message){jQuery('#wpbody-content').append('<p>'+message+'</p>')}/**
4
- * Run upgrade process
5
- *
6
- */function run_upgrade(version){jQuery.ajax({url:ajaxurl,data:{action:'cpac_upgrade',version:version},type:'post',dataType:'json',success:function success(json){if(json){if(json.status){add_message(json.message);// next update?
7
- if(json.next){run_upgrade(json.next)}// all done
8
- else{add_message(cpac_upgrade_i18n.complete)}}// error!
9
- else{add_message(cpac_upgrade_i18n.error+': '+json.message)}}// major error!
10
- else{add_message(cpac_upgrade_i18n.major_error)}}})};
bootstrap.php CHANGED
@@ -9,10 +9,10 @@ require_once __DIR__ . '/classes/Autoloader.php';
9
10
AC\Autoloader::instance()->register_prefix( 'AC', __DIR__ . '/classes' );
11
AC\Autoloader\Underscore::instance()
12
- ->add_alias( 'AC\ListScreen', 'AC_ListScreen' )
13
- ->add_alias( 'AC\Settings\FormatValue', 'AC_Settings_FormatValueInterface' )
14
- ->add_alias( 'AC\Column\Media\MediaParent', 'AC_Column_Media_Parent' )
15
- ->add_alias( 'AC\Column\Post\PostParent', 'AC_Column_Post_Parent' );
16
17
/**
18
* For loading external resources, e.g. column settings.
9
10
AC\Autoloader::instance()->register_prefix( 'AC', __DIR__ . '/classes' );
11
AC\Autoloader\Underscore::instance()
12
+ ->add_alias( 'AC\ListScreen', 'AC_ListScreen' )
13
+ ->add_alias( 'AC\Settings\FormatValue', 'AC_Settings_FormatValueInterface' )
14
+ ->add_alias( 'AC\Column\Media\MediaParent', 'AC_Column_Media_Parent' )
15
+ ->add_alias( 'AC\Column\Post\PostParent', 'AC_Column_Post_Parent' );
16
17
/**
18
* For loading external resources, e.g. column settings.
classes/API.php CHANGED
@@ -69,8 +69,8 @@ class API {
69
}
70
71
/**
72
- * @param string|array $list_screen_key List screen key or keys
73
- * @param array $column_data
74
*/
75
public function load_columndata( $list_screen_keys, $columndata ) {
76
foreach ( (array) $list_screen_keys as $list_screen_key ) {
@@ -80,7 +80,7 @@ class API {
80
81
/**
82
* @param string $list_screen_key List screen key
83
- * @param array $column_data
84
*/
85
private function add_columndata( $list_screen_key, $columndata ) {
86
$columndata = $this->convert_old_format_to_current( $columndata );
69
}
70
71
/**
72
+ * @param $list_screen_keys
73
+ * @param $columndata
74
*/
75
public function load_columndata( $list_screen_keys, $columndata ) {
76
foreach ( (array) $list_screen_keys as $list_screen_key ) {
80
81
/**
82
* @param string $list_screen_key List screen key
83
+ * @param $columndata
84
*/
85
private function add_columndata( $list_screen_key, $columndata ) {
86
$columndata = $this->convert_old_format_to_current( $columndata );
classes/Addon.php CHANGED
@@ -6,7 +6,6 @@ abstract class Addon {
6
7
/**
8
* Return the file from this plugin
9
- *
10
* @return string
11
*/
12
abstract protected function get_file();
@@ -34,7 +33,6 @@ abstract class Addon {
34
35
/**
36
* @return string
37
- *
38
* @deprecated
39
*/
40
public function get_plugin_url() {
@@ -45,7 +43,6 @@ abstract class Addon {
45
46
/**
47
* @return string
48
- *
49
* @deprecated
50
*/
51
public function get_plugin_dir() {
6
7
/**
8
* Return the file from this plugin
9
* @return string
10
*/
11
abstract protected function get_file();
33
34
/**
35
* @return string
36
* @deprecated
37
*/
38
public function get_plugin_url() {
43
44
/**
45
* @return string
46
* @deprecated
47
*/
48
public function get_plugin_dir() {
classes/Admin.php CHANGED
@@ -14,7 +14,6 @@ class Admin {
14
15
/**
16
* Settings Page hook suffix
17
- *
18
* @since 2.0
19
*/
20
private $hook_suffix;
@@ -90,7 +89,7 @@ class Admin {
90
}
91
92
/**
93
- * @param string $tab_slug
94
*
95
* @return false|string URL
96
*/
14
15
/**
16
* Settings Page hook suffix
17
* @since 2.0
18
*/
19
private $hook_suffix;
89
}
90
91
/**
92
+ * @param $slug
93
*
94
* @return false|string URL
95
*/
classes/Admin/Addon.php CHANGED
@@ -23,35 +23,30 @@ class Addon {
23
24
/**
25
* Icon is a small version of the logo. Mainly used on the promo banner.
26
- *
27
* @var string
28
*/
29
private $icon;
30
31
/**
32
* Plugin folder name
33
- *
34
* @var AC\PluginInformation
35
*/
36
private $addon;
37
38
/**
39
* Plugin basename. Example: plugin/plugin.php
40
- *
41
* @var AC\PluginInformation[]
42
*/
43
private $plugins;
44
45
/**
46
* External website link
47
- *
48
* @var string
49
*/
50
private $link;
51
52
/**
53
* Plugin URL. Place where the plugin can be downloaded from. Default is install plugin screen.
54
- *
55
* @var string Url
56
*/
57
private $plugin_url;
@@ -69,6 +64,8 @@ class Addon {
69
70
/**
71
* @param string $title
72
*/
73
protected function set_title( $title ) {
74
$this->title = $title;
@@ -78,7 +75,6 @@ class Addon {
78
79
/**
80
* Plugin folder name
81
- *
82
* @return AC\PluginInformation[]
83
*/
84
public function get_plugins() {
@@ -86,7 +82,9 @@ class Addon {
86
}
87
88
/**
89
- * @param string $slug Plugin folder name. Example: 'plugin/init.php' then directory name is 'plugin'.
90
*/
91
protected function add_plugin( $plugin ) {
92
$this->plugins[] = new AC\PluginInformation( $plugin );
@@ -113,7 +111,9 @@ class Addon {
113
}
114
115
/**
116
- * @param string $link
117
*/
118
protected function set_link( $url ) {
119
if ( ac_helper()->string->is_valid_url( $url ) ) {
@@ -132,6 +132,8 @@ class Addon {
132
133
/**
134
* @param string $description
135
*/
136
protected function set_description( $description ) {
137
$this->description = $description;
@@ -148,6 +150,8 @@ class Addon {
148
149
/**
150
* @param string $logo
151
*/
152
protected function set_logo( $logo ) {
153
$this->logo = $logo;
@@ -164,6 +168,8 @@ class Addon {
164
165
/**
166
* @param string $icon
167
*/
168
protected function set_icon( $icon ) {
169
$this->icon = $icon;
@@ -173,7 +179,6 @@ class Addon {
173
174
/**
175
* Plugin folder name
176
- *
177
* @return string
178
*/
179
public function get_slug() {
@@ -277,6 +282,8 @@ class Addon {
277
/**
278
* Activate plugin
279
*
280
* @return string
281
*/
282
public function get_activation_url( $basename ) {
@@ -286,6 +293,8 @@ class Addon {
286
/**
287
* Deactivate plugin
288
*
289
* @return string
290
*/
291
public function get_deactivation_url( $basename ) {
@@ -296,6 +305,7 @@ class Addon {
296
* Activate or Deactivate plugin
297
*
298
* @param string $action
299
*
300
* @return string
301
*/
@@ -321,8 +331,6 @@ class Addon {
321
}
322
323
/**
324
- * @param string $search_term
325
- *
326
* @return string
327
*/
328
public function get_plugin_url() {
23
24
/**
25
* Icon is a small version of the logo. Mainly used on the promo banner.
26
* @var string
27
*/
28
private $icon;
29
30
/**
31
* Plugin folder name
32
* @var AC\PluginInformation
33
*/
34
private $addon;
35
36
/**
37
* Plugin basename. Example: plugin/plugin.php
38
* @var AC\PluginInformation[]
39
*/
40
private $plugins;
41
42
/**
43
* External website link
44
* @var string
45
*/
46
private $link;
47
48
/**
49
* Plugin URL. Place where the plugin can be downloaded from. Default is install plugin screen.
50
* @var string Url
51
*/
52
private $plugin_url;
64
65
/**
66
* @param string $title
67
+ *
68
+ * @return $this
69
*/
70
protected function set_title( $title ) {
71
$this->title = $title;
75
76
/**
77
* Plugin folder name
78
* @return AC\PluginInformation[]
79
*/
80
public function get_plugins() {
82
}
83
84
/**
85
+ * @param string $plugin
86
+ *
87
+ * @return $this
88
*/
89
protected function add_plugin( $plugin ) {
90
$this->plugins[] = new AC\PluginInformation( $plugin );
111
}
112
113
/**
114
+ * @param string $url
115
+ *
116
+ * @return $this
117
*/
118
protected function set_link( $url ) {
119
if ( ac_helper()->string->is_valid_url( $url ) ) {
132
133
/**
134
* @param string $description
135
+ *
136
+ * @return $this
137
*/
138
protected function set_description( $description ) {
139
$this->description = $description;
150
151
/**
152
* @param string $logo
153
+ *
154
+ * @return $this
155
*/
156
protected function set_logo( $logo ) {
157
$this->logo = $logo;
168
169
/**
170
* @param string $icon
171
+ *
172
+ * @return $this
173
*/
174
protected function set_icon( $icon ) {
175
$this->icon = $icon;
179
180
/**
181
* Plugin folder name
182
* @return string
183
*/
184
public function get_slug() {
282
/**
283
* Activate plugin
284
*
285
+ * @param $basename
286
+ *
287
* @return string
288
*/
289
public function get_activation_url( $basename ) {
293
/**
294
* Deactivate plugin
295
*
296
+ * @param $basename
297
+ *
298
* @return string
299
*/
300
public function get_deactivation_url( $basename ) {
305
* Activate or Deactivate plugin
306
*
307
* @param string $action
308
+ * @param $basename
309
*
310
* @return string
311
*/
331
}
332
333
/**
334
* @return string
335
*/
336
public function get_plugin_url() {
classes/Admin/Addon/ACF.php CHANGED
@@ -35,10 +35,16 @@ class ACF extends Addon {
35
return parent::get_plugin();
36
}
37
38
public function is_plugin_active() {
39
return class_exists( 'acf', false );
40
}
41
42
public function is_notice_screen() {
43
global $pagenow;
44
35
return parent::get_plugin();
36
}
37
38
+ /**
39
+ * @return bool
40
+ */
41
public function is_plugin_active() {
42
return class_exists( 'acf', false );
43
}
44
45
+ /**
46
+ * @return bool
47
+ */
48
public function is_notice_screen() {
49
global $pagenow;
50
classes/Admin/Addons.php CHANGED
@@ -39,7 +39,6 @@ class Addons {
39
40
/**
41
* All addons where 3d party is installed but integration is not installed
42
- *
43
* @return Addon[]
44
*/
45
public function get_missing_addons() {
@@ -71,7 +70,6 @@ class Addons {
71
72
/**
73
* Get add-on details from the available add-ons list
74
- *
75
* @since 2.2
76
*
77
* @param string $slug Addon slug
39
40
/**
41
* All addons where 3d party is installed but integration is not installed
42
* @return Addon[]
43
*/
44
public function get_missing_addons() {
70
71
/**
72
* Get add-on details from the available add-ons list
73
* @since 2.2
74
*
75
* @param string $slug Addon slug
classes/Admin/Help/Basics.php CHANGED
@@ -14,20 +14,20 @@ class Basics extends Help {
14
ob_start();
15
?>
16
17
- <h5><?php _e( "Change order", 'codepress-admin-columns' ); ?></h5>
18
- <p>
19
- <?php _e( "By dragging the columns you can change the order which they will appear in.", 'codepress-admin-columns' ); ?>
20
- </p>
21
-
22
- <h5><?php _e( "Change label", 'codepress-admin-columns' ); ?></h5>
23
- <p>
24
- <?php _e( "By clicking on the triangle you will see the column options. Here you can change each label of the columns heading.", 'codepress-admin-columns' ); ?>
25
- </p>
26
-
27
- <h5><?php _e( "Change column width", 'codepress-admin-columns' ); ?></h5>
28
- <p>
29
- <?php _e( "By clicking on the triangle you will see the column options. By using the draggable slider you can set the width of the columns in percentages.", 'codepress-admin-columns' ); ?>
30
- </p>
31
32
<?php
33
14
ob_start();
15
?>
16
17
+ <h5><?php _e( "Change order", 'codepress-admin-columns' ); ?></h5>
18
+ <p>
19
+ <?php _e( "By dragging the columns you can change the order which they will appear in.", 'codepress-admin-columns' ); ?>
20
+ </p>
21
+
22
+ <h5><?php _e( "Change label", 'codepress-admin-columns' ); ?></h5>
23
+ <p>
24
+ <?php _e( "By clicking on the triangle you will see the column options. Here you can change each label of the columns heading.", 'codepress-admin-columns' ); ?>
25
+ </p>
26
+
27
+ <h5><?php _e( "Change column width", 'codepress-admin-columns' ); ?></h5>
28
+ <p>
29
+ <?php _e( "By clicking on the triangle you will see the column options. By using the draggable slider you can set the width of the columns in percentages.", 'codepress-admin-columns' ); ?>
30
+ </p>
31
32
<?php
33
classes/Admin/Help/Introduction.php CHANGED
@@ -14,9 +14,9 @@ class Introduction extends Help {
14
ob_start();
15
?>
16
17
- <p>
18
<?php _e( "This plugin is for adding and removing additional columns to the administration screens for post(types), pages, media library, comments, links and users. Change the column's label and reorder them.", 'codepress-admin-columns' ); ?>
19
- </p>
20
21
<?php
22
14
ob_start();
15
?>
16
17
+ <p>
18
<?php _e( "This plugin is for adding and removing additional columns to the administration screens for post(types), pages, media library, comments, links and users. Change the column's label and reorder them.", 'codepress-admin-columns' ); ?>
19
+ </p>
20
21
<?php
22
classes/Admin/Page.php CHANGED
@@ -6,7 +6,6 @@ abstract class Page {
6
7
/**
8
* Should this page be displayed when no page is selected
9
- *
10
* @var bool
11
*/
12
private $default;
@@ -28,14 +27,12 @@ abstract class Page {
28
29
/**
30
* Display pages
31
- *
32
* @return void
33
*/
34
public abstract function display();
35
36
/**
37
* Is this the default to to display when no active page is present
38
- *
39
* @return bool
40
*/
41
public function is_default() {
@@ -91,7 +88,6 @@ abstract class Page {
91
92
/**
93
* Cast page to an array
94
- *
95
* @return array
96
*/
97
public function to_array() {
@@ -104,7 +100,6 @@ abstract class Page {
104
105
/**
106
* Show the label of the page
107
- *
108
* @return string
109
*/
110
public function __toString() {
6
7
/**
8
* Should this page be displayed when no page is selected
9
* @var bool
10
*/
11
private $default;
27
28
/**
29
* Display pages
30
* @return void
31
*/
32
public abstract function display();
33
34
/**
35
* Is this the default to to display when no active page is present
36
* @return bool
37
*/
38
public function is_default() {
88
89
/**
90
* Cast page to an array
91
* @return array
92
*/
93
public function to_array() {
100
101
/**
102
* Show the label of the page
103
* @return string
104
*/
105
public function __toString() {
classes/Admin/Page/Addons.php CHANGED
@@ -65,7 +65,6 @@ class Addons extends Page {
65
66
/**
67
* Display an activation/deactivation message on the addons page if applicable
68
- *
69
* @since 2.2
70
*/
71
public function handle_request() {
@@ -150,7 +149,6 @@ class Addons extends Page {
150
151
/**
152
* Handles the installation of the add-on
153
- *
154
* @since 2.2
155
*/
156
public function handle_install_request() {
@@ -190,8 +188,11 @@ class Addons extends Page {
190
191
/**
192
* Redirect the user to the Admin Columns add-ons page after activation/deactivation of an add-on from the add-ons page
193
- *
194
* @since 2.2
195
*/
196
public function redirect_after_status_change( $location ) {
197
global $pagenow;
@@ -230,9 +231,7 @@ class Addons extends Page {
230
231
/**
232
* Addons are grouped into addon groups by providing the group an addon belongs to.
233
- *
234
* @since 2.2
235
- *
236
* @return array Available addon groups ([group_name] => [label])
237
*/
238
public function get_addon_groups() {
@@ -244,7 +243,6 @@ class Addons extends Page {
244
245
/**
246
* Filter the addon groups
247
- *
248
* @since 2.2
249
*
250
* @param array $addon_groups Available addon groups ([group_name] => [label])
@@ -269,9 +267,7 @@ class Addons extends Page {
269
270
/**
271
* Group a list of add-ons
272
- *
273
* @since 3.0
274
- *
275
* @return array A list of addons per group: [group_name] => (array) [group_addons], where [group_addons] is an array ([addon_name] => (array) [addon_details])
276
*/
277
private function get_grouped_addons() {
65
66
/**
67
* Display an activation/deactivation message on the addons page if applicable
68
* @since 2.2
69
*/
70
public function handle_request() {
149
150
/**
151
* Handles the installation of the add-on
152
* @since 2.2
153
*/
154
public function handle_install_request() {
188
189
/**
190
* Redirect the user to the Admin Columns add-ons page after activation/deactivation of an add-on from the add-ons page
191
* @since 2.2
192
+ *
193
+ * @param $location
194
+ *
195
+ * @return string
196
*/
197
public function redirect_after_status_change( $location ) {
198
global $pagenow;
231
232
/**
233
* Addons are grouped into addon groups by providing the group an addon belongs to.
234
* @since 2.2
235
* @return array Available addon groups ([group_name] => [label])
236
*/
237
public function get_addon_groups() {
243
244
/**
245
* Filter the addon groups
246
* @since 2.2
247
*
248
* @param array $addon_groups Available addon groups ([group_name] => [label])
267
268
/**
269
* Group a list of add-ons
270
* @since 3.0
271
* @return array A list of addons per group: [group_name] => (array) [group_addons], where [group_addons] is an array ([addon_name] => (array) [addon_details])
272
*/
273
private function get_grouped_addons() {
classes/Admin/Page/Columns.php CHANGED
@@ -183,7 +183,6 @@ class Columns extends Page {
183
184
/**
185
* Check is the ajax request is valid and user is allowed to make it
186
- *
187
* @since 3.0
188
* @return ListScreen
189
*/
@@ -219,7 +218,6 @@ class Columns extends Page {
219
220
/**
221
* Display HTML markup for column type
222
- *
223
* @since 3.0
224
*/
225
public function ajax_column_select() {
@@ -373,7 +371,8 @@ class Columns extends Page {
373
}
374
375
/**
376
- * @param string $main_label
377
*
378
* @return string
379
*/
@@ -719,18 +718,11 @@ class Columns extends Page {
719
720
<div class="column-footer">
721
<?php if ( ! $list_screen->is_read_only() ) : ?>
722
- <div class="order-message">
723
- <svg class="order-message__icon" width="18" height="18">
724
- <use xlink:href="<?php echo esc_url( AC()->get_url() ); ?>/assets/images/symbols.svg#arrow-left-top"/>
725
- </svg>
726
- <?php _e( 'Drag and drop to reorder', 'codepress-admin-columns' ); ?>
727
- </div>
728
<div class="button-container">
729
<?php
730
731
/**
732
* Display a clear button below the column settings. The clear button removes all column settings from the current page.
733
- *
734
* @since 3.0
735
*
736
* @param bool
@@ -769,7 +761,7 @@ class Columns extends Page {
769
770
/**
771
* @param ListScreen $list_screen
772
- * @param string $group
773
*
774
* @return Column|false
775
*/
@@ -801,6 +793,8 @@ class Columns extends Page {
801
802
/**
803
* Get first custom group column
804
*/
805
private function display_column_template( ListScreen $list_screen ) {
806
$column = $this->get_column_template_by_group( $list_screen, 'custom' );
@@ -814,6 +808,8 @@ class Columns extends Page {
814
815
/**
816
* @since 2.0
817
*/
818
public function display_column( Column $column ) { ?>
819
@@ -842,7 +838,6 @@ class Columns extends Page {
842
843
/**
844
* Fires in the meta-element for column options, which is displayed right after the column label
845
- *
846
* @since 2.0
847
*
848
* @param Column $column_instance Column class instance
183
184
/**
185
* Check is the ajax request is valid and user is allowed to make it
186
* @since 3.0
187
* @return ListScreen
188
*/
218
219
/**
220
* Display HTML markup for column type
221
* @since 3.0
222
*/
223
public function ajax_column_select() {
371
}
372
373
/**
374
+ * @param $label
375
+ * @param string $mainlabel
376
*
377
* @return string
378
*/
718
719
<div class="column-footer">
720
<?php if ( ! $list_screen->is_read_only() ) : ?>
721
<div class="button-container">
722
<?php
723
724
/**
725
* Display a clear button below the column settings. The clear button removes all column settings from the current page.
726
* @since 3.0
727
*
728
* @param bool
761
762
/**
763
* @param ListScreen $list_screen
764
+ * @param bool $group
765
*
766
* @return Column|false
767
*/
793
794
/**
795
* Get first custom group column
796
+ *
797
+ * @param ListScreen $list_screen
798
*/
799
private function display_column_template( ListScreen $list_screen ) {
800
$column = $this->get_column_template_by_group( $list_screen, 'custom' );
808
809
/**
810
* @since 2.0
811
+ *
812
+ * @param Column $column
813
*/
814
public function display_column( Column $column ) { ?>
815
838
839
/**
840
* Fires in the meta-element for column options, which is displayed right after the column label
841
* @since 2.0
842
*
843
* @param Column $column_instance Column class instance
classes/Admin/Page/Settings.php CHANGED
@@ -4,8 +4,8 @@ namespace AC\Admin\Page;
4
5
use AC\Admin\Page;
6
use AC\Capabilities;
7
- use AC\Message;
8
use AC\ListScreen;
9
10
class Settings extends Page {
11
@@ -152,7 +152,7 @@ class Settings extends Page {
152
}
153
154
/**
155
- * @param bool $type
156
*
157
* @return string
158
*/
4
5
use AC\Admin\Page;
6
use AC\Capabilities;
7
use AC\ListScreen;
8
+ use AC\Message;
9
10
class Settings extends Page {
11
152
}
153
154
/**
155
+ * @param string $type
156
*
157
* @return string
158
*/
classes/Admin/Pages.php CHANGED
@@ -11,7 +11,6 @@ final class Pages {
11
12
/**
13
* Reference that points to default tab
14
- *
15
* @var string
16
*/
17
private $default_slug;
11
12
/**
13
* Reference that points to default tab
14
* @var string
15
*/
16
private $default_slug;
classes/Admin/Promo.php CHANGED
@@ -97,7 +97,6 @@ abstract class Promo {
97
98
/**
99
* Active date range
100
- *
101
* @return array|false
102
*/
103
private function get_active_date_range() {
@@ -125,15 +124,15 @@ abstract class Promo {
125
* Render HTML
126
*/
127
public function display() { ?>
128
- <h3>
129
<?php echo esc_html( $this->get_title() ); ?>
130
- </h3>
131
- <a target="_blank" href="<?php echo esc_url( $this->get_url() ); ?>" class="acp-button">
132
<?php echo esc_html( sprintf( __( 'Get %s Off!', 'codepress-admin-columns' ), $this->get_discount() . '%' ) ); ?>
133
- </a>
134
- <p class="nomargin">
135
<?php echo esc_html( sprintf( __( "Discount is valid until %s", 'codepress-admin-columns' ), $this->end_date() ) ); ?>
136
- </p>
137
<?php
138
}
139
97
98
/**
99
* Active date range
100
* @return array|false
101
*/
102
private function get_active_date_range() {
124
* Render HTML
125
*/
126
public function display() { ?>
127
+ <h3>
128
<?php echo esc_html( $this->get_title() ); ?>
129
+ </h3>
130
+ <a target="_blank" href="<?php echo esc_url( $this->get_url() ); ?>" class="acp-button">
131
<?php echo esc_html( sprintf( __( 'Get %s Off!', 'codepress-admin-columns' ), $this->get_discount() . '%' ) ); ?>
132
+ </a>
133
+ <p class="nomargin">
134
<?php echo esc_html( sprintf( __( "Discount is valid until %s", 'codepress-admin-columns' ), $this->end_date() ) ); ?>
135
+ </p>
136
<?php
137
}
138
classes/AdminColumns.php CHANGED
@@ -10,7 +10,6 @@ class AdminColumns extends Plugin {
10
11
/**
12
* Admin Columns settings class instance
13
- *
14
* @since 2.2
15
* @access private
16
* @var Admin
@@ -65,7 +64,7 @@ class AdminColumns extends Plugin {
65
66
// Init
67
$this->addons = new Admin\Addons();
68
- $this->table_screen = new Table\Screen();
69
$this->api = new API();
70
71
$this->admin = new Admin();
@@ -74,11 +73,78 @@ class AdminColumns extends Plugin {
74
$screen = new Screen();
75
$screen->register();
76
77
add_action( 'init', array( $this, 'init_capabilities' ) );
78
add_action( 'init', array( $this, 'install' ) );
79
add_action( 'init', array( $this, 'notice_checks' ) );
80
add_filter( 'plugin_action_links', array( $this, 'add_settings_link' ), 1, 2 );
81
add_action( 'plugins_loaded', array( $this, 'localize' ) );
82
}
83
84
/**
@@ -113,12 +179,11 @@ class AdminColumns extends Plugin {
113
* @return string
114
*/
115
public function get_version() {
116
- return '3.2.3';
117
}
118
119
/**
120
* Initialize current user and make sure any administrator user can use Admin Columns
121
- *
122
* @since 3.2
123
*/
124
public function init_capabilities() {
@@ -133,9 +198,13 @@ class AdminColumns extends Plugin {
133
134
/**
135
* Add a settings link to the Admin Columns entry in the plugin overview screen
136
- *
137
* @since 1.0
138
* @see filter:plugin_action_links
139
*/
140
public function add_settings_link( $links, $file ) {
141
if ( $file === $this->get_basename() ) {
@@ -243,9 +312,7 @@ class AdminColumns extends Plugin {
243
244
/**
245
* Get a list of post types for which Admin Columns is active
246
- *
247
* @since 1.0
248
- *
249
* @return array List of post type keys (e.g. post, page)
250
*/
251
public function get_post_types() {
@@ -262,7 +329,6 @@ class AdminColumns extends Plugin {
262
263
/**
264
* Filter the post types for which Admin Columns is active
265
- *
266
* @since 2.0
267
*
268
* @param array $post_types List of active post type names
@@ -280,6 +346,8 @@ class AdminColumns extends Plugin {
280
/**
281
* @deprecated 3.1.5
282
* @since 3.0
283
*/
284
public function get_plugin_version( $file ) {
285
_deprecated_function( __METHOD__, '3.1.5' );
@@ -287,7 +355,6 @@ class AdminColumns extends Plugin {
287
288
/**
289
* Returns the default list screen when no choice is made by the user
290
- *
291
* @deprecated 3.1.5
292
* @since 3.0
293
*/
@@ -321,7 +388,6 @@ class AdminColumns extends Plugin {
321
* @param string $key
322
*
323
* @deprecated 3.2
324
- *
325
* @return bool
326
*/
327
public function list_screen_exists( $key ) {
@@ -332,7 +398,6 @@ class AdminColumns extends Plugin {
332
333
/**
334
* @deprecated 3.2
335
- *
336
* @return Groups
337
*/
338