Admin Columns - Version 3.3.1

Version Description

Release Date: November 7th, 2018

  • [Improved] Better external image support for Custom Field column
Download this release

Release Info

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

Code changes from version 3.2.7 to 3.3.1

Files changed (130) hide show
  1. api.php +2 -2
  2. assets/css/admin-general.css +1 -1
  3. assets/css/admin-page-columns.css +1 -1
  4. assets/css/admin-welcome.css +1 -1
  5. assets/css/table.css +1 -1
  6. assets/fonts/cpac_icons.eot +0 -0
  7. assets/fonts/cpac_icons.svg +0 -18
  8. assets/fonts/cpac_icons.ttf +0 -0
  9. assets/fonts/cpac_icons.woff +0 -0
  10. assets/fonts/cpac_icons.woff2 +0 -0
  11. assets/fonts/template.scss +38 -0
  12. assets/js/admin-general.js +1 -1
  13. assets/js/admin-general.js.map +0 -1
  14. assets/js/admin-page-columns.js +1 -1
  15. assets/js/admin-page-columns.js.map +1 -1
  16. assets/js/message-review.js +1 -1
  17. assets/js/message-review.js.map +0 -1
  18. assets/js/notice-dismissible.js +1 -1
  19. assets/js/notice-dismissible.js.map +0 -1
  20. assets/js/table.js +1 -1
  21. assets/js/table.js.map +0 -1
  22. bootstrap.php +0 -21
  23. classes/Admin/Addon.php +0 -355
  24. classes/Admin/Addon/ACF.php +0 -54
  25. classes/Admin/Addon/BuddyPress.php +0 -30
  26. classes/Admin/Addon/EventsCalendar.php +0 -36
  27. classes/Admin/Addon/NinjaForms.php +0 -36
  28. classes/Admin/Addon/Pods.php +0 -36
  29. classes/Admin/Addon/Types.php +0 -31
  30. classes/Admin/Addon/WooCommerce.php +0 -33
  31. classes/Admin/Addons.php +0 -101
  32. classes/Admin/Page/Addons.php +185 -109
  33. classes/Admin/Page/Columns.php +29 -5
  34. classes/Admin/Page/Settings.php +2 -4
  35. classes/AdminColumns.php +22 -19
  36. classes/Ajax/Handler.php +4 -4
  37. classes/ArrayIterator.php +106 -0
  38. classes/Check/AddonAvailable.php +37 -34
  39. classes/Check/Review.php +7 -6
  40. classes/Column.php +1 -1
  41. classes/Column/Comment/Comment.php +2 -2
  42. classes/Column/Comment/Date.php +2 -2
  43. classes/Column/Comment/DateGmt.php +2 -2
  44. classes/Column/Comment/Excerpt.php +2 -2
  45. classes/Column/Comment/ID.php +2 -2
  46. classes/Column/CustomField.php +0 -1
  47. classes/Column/Placeholder.php +16 -11
  48. classes/Column/Post/PageTemplate.php +7 -1
  49. classes/Column/User/Description.php +5 -1
  50. classes/Column/User/RichEditing.php +3 -5
  51. classes/Column/User/Role.php +0 -4
  52. classes/Column/User/ShowToolbar.php +2 -4
  53. classes/Column/User/Url.php +1 -3
  54. classes/Column/User/Username.php +2 -2
  55. classes/Config.php +21 -0
  56. classes/Dependencies.php +128 -88
  57. classes/Helper/Image.php +1 -3
  58. classes/Helper/Strings.php +7 -1
  59. classes/Helper/User.php +20 -4
  60. classes/Integration.php +140 -0
  61. classes/Integration/ACF.php +31 -0
  62. classes/Integration/BuddyPress.php +32 -0
  63. classes/Integration/EventsCalendar.php +45 -0
  64. classes/Integration/NinjaForms.php +41 -0
  65. classes/Integration/Pods.php +32 -0
  66. classes/Integration/Types.php +32 -0
  67. classes/Integration/WooCommerce.php +51 -0
  68. classes/IntegrationFactory.php +50 -0
  69. classes/Integrations.php +26 -0
  70. classes/ListScreen.php +13 -3
  71. classes/ListScreen/User.php +1 -1
  72. classes/ListScreenPost.php +6 -2
  73. classes/Message.php +15 -34
  74. classes/Message/Notice.php +2 -9
  75. classes/Message/Notice/Dismissible.php +18 -8
  76. classes/Message/Plugin.php +5 -15
  77. classes/MetaType.php +51 -0
  78. classes/Middleware.php +9 -0
  79. classes/Plugin.php +8 -1
  80. classes/Plugin/Updater.php +6 -8
  81. classes/PluginInformation.php +10 -19
  82. classes/Request.php +140 -0
  83. classes/Screen.php +18 -1
  84. classes/Settings/Column/CustomFieldType.php +2 -1
  85. classes/Settings/Column/Label.php +4 -1
  86. classes/Settings/Column/Meta.php +2 -1
  87. classes/Settings/Column/PathScope.php +5 -0
  88. classes/Settings/Column/Type.php +19 -2
  89. classes/Storage/Timestamp.php +3 -2
  90. classes/Table/Screen.php +1 -0
  91. classes/TypedArrayIterator.php +43 -0
  92. codepress-admin-columns.php +21 -8
  93. languages/codepress-admin-columns-ar_AR.mo +0 -0
  94. languages/codepress-admin-columns-ar_AR.po +193 -197
  95. languages/codepress-admin-columns-bt_BR.mo +0 -0
  96. languages/codepress-admin-columns-bt_BR.po +193 -197
  97. languages/codepress-admin-columns-da_DK.mo +0 -0
  98. languages/codepress-admin-columns-da_DK.po +193 -197
  99. languages/codepress-admin-columns-de_DE.po +193 -197
  100. languages/codepress-admin-columns-en_NZ.po +193 -197
  101. languages/codepress-admin-columns-es_ES.mo +0 -0
  102. languages/codepress-admin-columns-es_ES.po +227 -231
  103. languages/codepress-admin-columns-fa_IR.mo +0 -0
  104. languages/codepress-admin-columns-fa_IR.po +193 -197
  105. languages/codepress-admin-columns-fr_FR.mo +0 -0
  106. languages/codepress-admin-columns-fr_FR.po +193 -197
  107. languages/codepress-admin-columns-he_IL.po +193 -197
  108. languages/codepress-admin-columns-hu_HU.mo +0 -0
  109. languages/codepress-admin-columns-hu_HU.po +193 -197
  110. languages/codepress-admin-columns-it_IT.mo +0 -0
  111. languages/codepress-admin-columns-it_IT.po +193 -197
  112. languages/codepress-admin-columns-ja_JA.mo +0 -0
  113. languages/codepress-admin-columns-ja_JA.po +193 -197
  114. languages/codepress-admin-columns-nl_NL.mo +0 -0
  115. languages/codepress-admin-columns-nl_NL.po +193 -197
  116. languages/codepress-admin-columns-pl_PL.mo +0 -0
  117. languages/codepress-admin-columns-pl_PL.po +193 -197
  118. languages/codepress-admin-columns-ro_RO.mo +0 -0
  119. languages/codepress-admin-columns-ro_RO.po +193 -197
  120. languages/codepress-admin-columns-ru_RU.mo +0 -0
  121. languages/codepress-admin-columns-ru_RU.po +193 -197
  122. languages/codepress-admin-columns-sv_SE.mo +0 -0
  123. languages/codepress-admin-columns-sv_SE.po +193 -197
  124. languages/codepress-admin-columns-zh_CN.mo +0 -0
  125. languages/codepress-admin-columns-zh_CN.po +193 -197
  126. languages/codepress-admin-columns.pot +186 -208
  127. readme.txt +12 -2
  128. templates/message/notice/dismissible.php +0 -2
  129. templates/settings/setting-label-icons.php +93 -0
  130. templates/settings/setting-label.php +28 -0
api.php CHANGED
@@ -93,8 +93,8 @@ function ac_helper() {
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 );
93
* Starter-kit: https://github.com/codepress/ac-column-template/
94
* @since 2.2
95
*
96
+ * @param array|string $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-general.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:""}#cpac a:focus,#cpac a:active{outline:none}.wrap .nav-tab-wrapper{margin-bottom:24px}.wrap .notice{margin-top:16px;margin-bottom:16px}.ac-badge{display:inline-block;background:#d54e21;border-radius:10px;font-size:9px;line-height:17px;padding:0 6px;margin:-1px 0 0 4px;vertical-align:middle;color:#fff;font-weight:600}a.external:after{content:"\f504";display:inline-block;margin-left:4px;font-size:17px;color:#797979;line-height:1;font-family:dashicons, serif;text-decoration:none;font-weight:normal;font-style:normal;vertical-align:top;text-align:center}.button.loading{padding-right:25px;position:relative}.cpac_message.error.warning{border-left:4px solid #ffba00}.menu{position:relative;padding:0;margin-top:16px;margin-bottom:16px}.menu select{display:inline-block;margin:0}.menu .spinner{display:none;float:none;visibility:visible;margin:0 0 0 14px}.menu .view-link,.menu .view-link:active{display:inline-block;margin:0 0 0 12px;top:2px}table.ac-form-table{max-width:1100px;margin-top:20px}table.ac-form-table>tbody>tr>td,table.ac-form-table>tbody>tr>th{vertical-align:top}table.ac-form-table.settings tr th{font-weight:normal}table.ac-form-table.settings tr th h2{margin:0}table.ac-form-table.settings tr td{padding-top:58px}.wp-pointer-content{overflow:hidden}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}.wp-pointer.noclick .wp-pointer-buttons{display:none}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .button.loading{padding-left:25px;padding-right:0}body.rtl .button.loading span{left:6px;right:auto}body.rtl .ac-left{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner .meta{float:left}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label span.vers{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .ac-left .ac-columns .ac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label a.more-info{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form div.description{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form div.input-width-range{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form a.help{float:left}body.rtl .ac-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;margin-right:8px}body.rtl .ac-left .column-footer .order-message .order-message__icon{left:inherit;right:0;transform:scaleX(-1)}body.rtl .ac-left .column-footer .button-container{float:left}body.rtl .ac-left .column-footer .submit{display:none}body.rtl .ac-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}body.rtl .cpac_export .ms-container .ms-selection{float:left}
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:""}.cpacicon-segment::before{content:""}.ac-modal{position:fixed;overflow:auto;z-index:100000;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.5);display:none}.ac-modal.-active{display:flex;align-items:center;justify-content:center}.ac-modal__dialog{border:1px solid #C8C8C8;background:#fff;position:fixed;width:650px;max-width:90%}.ac-modal__dialog__header{background:#f5f5f5;font-size:18px;line-height: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;max-height:calc(100vh - 200px);overflow:scroll}.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}@media only screen and (max-width: 720px){.ac-modal__dialog__footer__content{display:block}.ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}#cpac a:focus,#cpac a:active{outline:none}.wrap .nav-tab-wrapper{margin-bottom:24px}.wrap .notice{margin-top:16px;margin-bottom:16px}.ac-badge{display:inline-block;background:#d54e21;border-radius:10px;font-size:9px;line-height:17px;padding:0 6px;margin:-1px 0 0 4px;vertical-align:middle;color:#fff;font-weight:600}a.external:after{content:"\f504";display:inline-block;margin-left:4px;font-size:17px;color:#797979;line-height:1;font-family:dashicons, serif;text-decoration:none;font-weight:normal;font-style:normal;vertical-align:top;text-align:center}.button.loading{padding-right:25px;position:relative}.cpac_message.error.warning{border-left:4px solid #ffba00}.menu{position:relative;padding:0;margin-top:16px;margin-bottom:16px}.menu select{display:inline-block;margin:0}.menu .spinner{display:none;float:none;visibility:visible;margin:0 0 0 14px}.menu .view-link,.menu .view-link:active{display:inline-block;margin:0 0 0 12px;top:2px}table.ac-form-table{max-width:1100px;margin-top:20px}table.ac-form-table>tbody>tr>td,table.ac-form-table>tbody>tr>th{vertical-align:top}table.ac-form-table.settings tr th{font-weight:normal}table.ac-form-table.settings tr th h2{margin:0}table.ac-form-table.settings tr td{padding-top:58px}.wp-pointer-content{overflow:hidden}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}.wp-pointer.noclick .wp-pointer-buttons{display:none}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .button.loading{padding-left:25px;padding-right:0}body.rtl .button.loading span{left:6px;right:auto}body.rtl .ac-left{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner .meta{float:left}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label span.vers{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .ac-left .ac-columns .ac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label a.more-info{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form div.description{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form div.input-width-range{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form a.help{float:left}body.rtl .ac-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;margin-right:8px}body.rtl .ac-left .column-footer .order-message .order-message__icon{left:inherit;right:0;transform:scaleX(-1)}body.rtl .ac-left .column-footer .button-container{float:left}body.rtl .ac-left .column-footer .submit{display:none}body.rtl .ac-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}body.rtl .cpac_export .ms-container .ms-selection{float:left}.ac-wp-pointer img{max-width:calc(100% - 20px);height:auto;margin:10px;margin-top:0}
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-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}}
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:""}.cpacicon-segment::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-column-setting--label .ac-setting-input__container{position:relative}.ac-column-setting--label .ac-setting-input__container input{height:28px;line-height:28px;padding-right:34px}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon{background:#fff;position:absolute;top:4px;height:22px;color:#ccc;right:0;border:none;cursor:pointer;outline:none !important;transition:color .5s}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:hover,.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:focus{color:#999}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:active{color:#21759B}.ac-ipicker__modal{background:#fff;max-width:90%;width:770px;height:450px;display:flex;padding:20px}.ac-ipicker.fixed{position:fixed;z-index:99999;background:rgba(0,0,0,0.8);display:flex;top:0;right:0;bottom:0;left:0;height:auto;align-items:center;justify-content:center}.ac-ipicker__icons{flex:1 1 auto}.ac-ipicker__icons__group{display:block;clear:both;padding-top:15px;margin-top:20px;margin-bottom:10px;font-size:16px;font-weight:normal}.ac-ipicker__icons__group:first-child{border-top:none;padding-top:0;margin-top:0}.ac-ipicker__icon{display:inline-block;width:49px;height:49px;text-align:center;white-space:nowrap;cursor:pointer}.ac-ipicker__icon .dashicons{width:49px;height:49px;line-height:49px;font-size:28px}.ac-ipicker__icon:hover,.ac-ipicker__icon:focus{color:#21759B}.ac-ipicker__icon.active{background:#21759B;color:#fff}.ac-ipicker__handles{flex:0 0 100px;text-align:center;padding-top:20px}.ac-modal.-pro .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.-pro .ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal.-pro .ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal.-pro .ac-modal__dialog__mascot{position:absolute;right:20px;bottom:20px;width:150px;height:225px;z-index:4}.ac-modal.-pro .ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal.-pro .ac-modal__dialog__footer span{display:inline-block;margin-top:4px;margin-left:10px;font-size:14px}.ac-modal.-setting .ac-modal__dialog{width:970px}.ac-modal.-setting .ac-modal__dialog__content{max-height:400px}.ac-modal.-setting .ac-modal__dialog__footer{text-align:right;padding:0 15px}.ac-modal.-setting .ac-modal__dialog__footer .button{display:inline-block;vertical-align:middle;padding-left:30px;padding-right:30px}.ac-modal.-setting .ac-modal__dialog__footer .ac-ipicker__selection{display:inline-block;vertical-align:middle;text-align:center;width:68px;height:68px;line-height:58px;background:#E5E5E5;margin-right:15px;color:#404040}.ac-modal.-setting .ac-modal__dialog__footer .ac-ipicker__selection .dashicons{width:68px;height:68px;line-height:68px;font-size:30px}.ac-modal.-iconpicker .ac-modal__dialog__content{overflow:hidden;overflow-y:scroll}
assets/css/admin-welcome.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:""}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none repeat scroll 0 0 transparent;border-color:#DFDFDF;border-image:none;border-style:solid;border-width:1px 0 0;clear:both;margin:30px 0;opacity:0.2}#cpac-welcome.about-wrap div.error{display:block !important}.cpac-alert{display:inline-block;background:none repeat scroll 0 0 #FCF8E3;border:1px solid #FBEED5;border-radius:4px 4px 4px 4px;color:#C09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#DFF0D8;border-color:#D6E9C6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#F2DEDE;border-color:#EED3D7;color:#B94A48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,0.5)}
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:""}.cpacicon-segment::before{content:""}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none repeat scroll 0 0 transparent;border-color:#DFDFDF;border-image:none;border-style:solid;border-width:1px 0 0;clear:both;margin:30px 0;opacity:0.2}#cpac-welcome.about-wrap div.error{display:block !important}.cpac-alert{display:inline-block;background:none repeat scroll 0 0 #FCF8E3;border:1px solid #FBEED5;border-radius:4px 4px 4px 4px;color:#C09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#DFF0D8;border-color:#D6E9C6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#F2DEDE;border-color:#EED3D7;color:#B94A48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,0.5)}
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}.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)}
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:""}.cpacicon-segment::before{content:""}.ac-modal{position:fixed;overflow:auto;z-index:100000;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.5);display:none}.ac-modal.-active{display:flex;align-items:center;justify-content:center}.ac-modal__dialog{border:1px solid #C8C8C8;background:#fff;position:fixed;width:650px;max-width:90%}.ac-modal__dialog__header{background:#f5f5f5;font-size:18px;line-height: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;max-height:calc(100vh - 200px);overflow:scroll}.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}@media only screen and (max-width: 720px){.ac-modal__dialog__footer__content{display:block}.ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}.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{display:none;position:relative;z-index:20;float:left;white-space:nowrap;margin-right:5px;margin-left:1px;margin-top:3px;margin-bottom:5px}.ac-table-actions.-init{display:block}.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;cursor:pointer;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-table-actions .ac-table-button__caret{display:inline-block;vertical-align:middle;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #6F6F6F;transition:transform .2s}.ac-table-actions .ac-table-button.-open{color:#0072AA}.ac-table-actions .ac-table-button.-open .ac-table-button__caret{transform:rotate(180deg)}.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/fonts/cpac_icons.eot CHANGED
Binary file
assets/fonts/cpac_icons.svg DELETED
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <defs>
5
- <font id="cpac_icons" horiz-adv-x="408">
6
- <font-face font-family="cpac_icons"
7
- units-per-em="1000" ascent="1000"
8
- descent="0" />
9
- <missing-glyph horiz-adv-x="0" />
10
- <glyph glyph-name="draft"
11
- unicode="&#xEA01;"
12
- horiz-adv-x="1000.0000000000001" d=" M125 625C56.25 625 0 568.75 0 499.9999999999999S56.25 375 125 375S250.0000000000001 431.2499999999999 250.0000000000001 499.9999999999999S193.75 625 125 625zM875.0000000000001 625C806.25 625 750 568.75 750 499.9999999999999S806.25 375 875.0000000000001 375S1000.0000000000002 431.2499999999999 1000.0000000000002 499.9999999999999S943.7500000000002 625 875.0000000000001 625zM500.0000000000001 625C431.25 625 375 568.75 375 499.9999999999999S431.25 375 500.0000000000001 375S625 431.2499999999999 625 499.9999999999999S568.7500000000001 625 500.0000000000001 625z" />
13
- <glyph glyph-name="move"
14
- unicode="&#xEA02;"
15
- horiz-adv-x="260.8695652173913" d=" M0 1000H86.9565217391304V913.0434782608696H0V1000z M0 818.840579710145H86.9565217391304V731.8840579710145H0V818.840579710145z M0 637.6811594202899H86.9565217391304V550.7246376811594H0V637.6811594202899z M0 456.5217391304348H86.9565217391304V369.5652173913044H0V456.5217391304348z M0 275.3623188405798H86.9565217391304V188.4057971014493H0V275.3623188405798z M0 94.2028985507246H86.9565217391304V7.2463768115941H0V94.2028985507246z M173.9130434782609 1000H260.8695652173913V913.0434782608696H173.9130434782609V1000z M173.9130434782609 818.840579710145H260.8695652173913V731.8840579710145H173.9130434782609V818.840579710145z M173.9130434782609 637.6811594202899H260.8695652173913V550.7246376811594H173.9130434782609V637.6811594202899z M173.9130434782609 456.5217391304348H260.8695652173913V369.5652173913044H173.9130434782609V456.5217391304348z M173.9130434782609 275.3623188405798H260.8695652173913V188.4057971014493H173.9130434782609V275.3623188405798z M173.9130434782609 86.9565217391304H260.8695652173913V0H173.9130434782609V86.9565217391304z" />
16
- </font>
17
- </defs>
18
- </svg>
assets/fonts/cpac_icons.ttf DELETED
Binary file
assets/fonts/cpac_icons.woff CHANGED
Binary file
assets/fonts/cpac_icons.woff2 CHANGED
Binary file
assets/fonts/template.scss ADDED
@@ -0,0 +1,38 @@
1
+ $cpac_icons-draft: "\ea01";
2
+ $cpac_icons-move: "\ea02";
3
+ $cpac_icons-segment: "\ea03";
4
+
5
+ @font-face {
6
+ font-family: "cpac_icons";
7
+ src: url("./cpac_icons.woff2") format("woff2");
8
+ font-style: normal;
9
+ font-weight: 400;
10
+ }
11
+
12
+ %cpac_icons, [class^="cpac_icons-"], [class*=" cpac_icons-"] {
13
+ display: inline-block;
14
+ transform: translate(0, 0);
15
+ text-rendering: auto;
16
+ font: normal normal 400 14px/1 cpac_icons;
17
+ font-size: inherit;
18
+ -moz-osx-font-smoothing: grayscale;
19
+ -webkit-font-smoothing: antialiased;
20
+ }
21
+
22
+ .cpac_icons {
23
+ @extend %cpac_icons;
24
+ }
25
+
26
+
27
+
28
+ .cpac_icons-draft::before {
29
+ content: $cpac_icons-draft;
30
+ }
31
+
32
+ .cpac_icons-move::before {
33
+ content: $cpac_icons-move;
34
+ }
35
+
36
+ .cpac_icons-segment::before {
37
+ content: $cpac_icons-segment;
38
+ }
assets/js/admin-general.js CHANGED
@@ -1 +1 @@
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)})}});
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=67)}({67: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(){!function(t){var e=t,n=jQuery,r=e.attr("rel"),o=e.attr("data-pos"),i=e.attr("data-width"),a=e.attr("data-noclick"),c={at:"left top",my:"right top",edge:"right"},l=i||250;"right"===o&&(c={at:"right middle",my:"left middle",edge:"left"});"left"===o&&(c={at:"left middle",my:"right middle",edge:"right"});e.pointer({content:n("#"+r).html(),position:c,pointerWidth:l,pointerClass:"ac-wp-pointer wp-pointer wp-pointer-"+c.edge+(a?" noclick":"")}),a||e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")});e.hover(function(){n(this).pointer("open")},function(){var t=n(this);setTimeout(function(){t.hasClass("open")||0!=n(".ac-wp-pointer.hover").length||t.pointer("close")},100)}).on("close",function(){e.hasClass("open")||0!=n(".ac-wp-pointer.hover").length||e.pointer("close")})}(t(this))}),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 DELETED
@@ -1 +0,0 @@
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;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,OAAQC,QAAR,EAAmBC,KAAnB,CAA0B,UAAUC,CAAV,EAAc;AACvC,MAAKA,EAAG,OAAH,EAAaC,MAAb,KAAwB,CAA7B,EAAiC;AAChC,WAAO,KAAP;AACA;;AAEDC,aAAYF,CAAZ;AACAG,UAASH,CAAT;AACA,CAPD;AASA;;;;;AAIA,SAASE,UAAT,CAAqBF,CAArB,EAAyB;AAExBA,IAAG,aAAH,EAAmBI,IAAnB,CAAyB,YAAW;AACnC;AACA,QAAIC,KAAKL,EAAG,IAAH,CAAT;AAAA,QACCM,OA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AAW;AACtB,YAAK,CAACpB,GAAGgB,QAAH,CAAa,MAAb,CAAD,IAA0BrB,EAAG,sBAAH,EAA4BC,MAA5B,IAAsC,CAArE,EAAyE;AACxEI,aAAGW,OAAH,CAAY,OAAZ;AACA;AACD,OAJD,EAIG,GAJH;AAMA,KAVD,EAUIU,EAVJ,CAUQ,OAVR,EAUiB,YAAW;AAC3B,UAAK,CAACrB,GAAGgB,QAAH,CAAa,MAAb,CAAD,IAA0BrB,EAAG,sBAAH,EAA4BC,MAA5B,IAAsC,CAArE,EAAyE;AACxEI,WAAGW,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 +1 @@
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}]);
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=68)}([function(t,e,n){var i=n(26)("wks"),r=n(12),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="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){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var i=n(14),r=n(37)(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(28)("find")},function(t,e,n){var i=n(7),r=n(19);t.exports=n(3)?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){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(9),r=n(32),o=n(33),a=Object.defineProperty;e.f=n(3)?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,n){var i=n(1),r=n(5),o=n(11),a=n(12)("src"),u=Function.toString,c=(""+u).split("toString");n(10).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,n){var i=n(2);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},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(36);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,n){var i=n(1),r=n(10),o=n(5),a=n(8),u=n(13),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){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},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){t.exports={}},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(25),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(24),r=n(17);t.exports=function(t){return i(r(t))}},function(t,e,n){for(var i=n(29),r=n(30),o=n(8),a=n(1),u=n(5),c=n(18),s=n(0),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,n){var i=n(2),r=n(1).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){var i=n(15);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},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(10),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(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var i=n(0)("unscopables"),r=Array.prototype;void 0==r[i]&&n(5)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){"use strict";var i=n(28),r=n(42),o=n(18),a=n(21);t.exports=n(43)(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,n){var i=n(45),r=n(34);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(26)("keys"),r=n(12);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){t.exports=!n(3)&&!n(6)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(2);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="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(7).f,r=n(11),o=n(0)("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){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(13),r=n(24),o=n(16),a=n(20),u=n(38);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(39);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(2),r=n(40),o=n(0)("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(15);t.exports=Array.isArray||function(t){return"Array"==i(t)}},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]:"";return e||(e="m"+this.number),this.modals[e]=t,this.number++,t}},{key:"get",value:function(t){return!!this.modals[t]&&this.modals[t]}}],[{key:"init",value:function(){return void 0===AdminColumns.Modals&&(AdminColumns.Modals=new this),AdminColumns.Modals}}]),t}();t.exports=r},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var i=n(27),r=n(14),o=n(8),a=n(5),u=n(18),c=n(50),s=n(35),l=n(55),f=n(0)("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],E=S||k(p),A=p?x?k("entries"):E:void 0,$="Array"==e&&j.entries||S;if(amp;&(_=l($.call(new t)))!==Object.prototype&&_.next&&(s(_,C,!0),i||"function"==typeof _[f]||a(_,f,h)),x&&S&&"values"!==S.name&&(w=!0,E=function(){return S.call(this)}),i&&!g||!d&&!w&&j[f]||a(j,f,E),u[e]=E,u[C]=h,p)if(y={values:x?E:k("values"),keys:m?E: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){var i=n(9),r=n(51),o=n(34),a=n(31)("IE_PROTO"),u=function(){},c=function(){var t,e=n(23)("iframe"),i=o.length;for(e.style.display="none",n(54).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(11),r=n(21),o=n(52)(!1),a=n(31)("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(16),r=n(30);n(56)("keys",function(){return function(t){return r(i(t))}})},function(t,e,n){n(48)("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){"use strict";var i=n(5),r=n(8),o=n(6),a=n(17),u=n(0);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){var i=n(7).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(3)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var i=n(44),r=n(19),o=n(35),a={};n(5)(a,n(0)("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(7),r=n(9),o=n(30);t.exports=n(3)?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(21),r=n(20),o=n(53);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(25),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(31)("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(14),r=n(10),o=n(6);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";n(22);var i=function(t){return t&&t.__esModule?t:{default:t}}(n(41));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),e&&(this.el=e,this.dialog=e.querySelector(".ac-modal__dialog"),this.initEvents())}return function(t,e,n){e&&r(t.prototype,e),n&&r(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.onClose(),this.el.classList.remove("-active")}},{key:"open",value:function(){this.onOpen(),this.el.classList.add("-active")}},{key:"onClose",value:function(){}},{key:"onOpen",value:function(){}}],[{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()}),jQuery(document).on("click","[data-ac-modal]",function(t){t.preventDefault();var e=jQuery(this).data("ac-modal");i.default.init().get(e)&&i.default.init().get(e).open()})}}]),t}();t.exports=o},,,,,,,,,,function(t,e,n){t.exports=n(69)},function(t,e,n){"use strict";var i=x(n(70)),r=x(n(41)),o=x(n(72)),a=x(n(58)),u=x(n(73)),c=x(n(74)),s=x(n(75)),l=x(n(76)),f=x(n(77)),d=x(n(78)),h=x(n(79)),v=x(n(80)),p=x(n(81)),m=x(n(82)),g=x(n(83)),y=x(n(84)),b=x(n(85)),_=x(n(86)),k=x(n(87)),C=x(n(88));function x(t){return t&&t.__esModule?t:{default:t}}var w=$=n(89);AC.Column=new o.default,AdminColumns.Column=AC.Column,w(document).on("AC_Form_Loaded",function(){AdminColumns.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).registerSetting("label",C.default)}),w(document).ready(function(){AC.Form=new i.default("#cpac .ac-columns form"),r.default.init().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(49),n(4),n(29),n(46),n(22);var i=function(t){return t&&t.__esModule?t:{default:t}}(n(71));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,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(29),n(46),n(22),n(47),n(4),n(49);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";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)}}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(4);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(4);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(49),n(4);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(4);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(4);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(4);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(4);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(4);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(4);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(4);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(4);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(4);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(47),n(4),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,n){"use strict";n(22);var i=o(n(41)),r=o(n(58));function o(t){return t&&t.__esModule?t:{default:t}}function a(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 u=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.querySelector(".ac-column-setting--label"),this.iconpicker=this.setting.querySelector(".-iconpicker"),this.iconpicker&&(this._dashicon=!1,this.modal=i.default.init().register(new r.default(this.setting.querySelector(".-iconpicker"))),this.field=this.setting.querySelector(".ac-setting-input_label"),this.initValue(),this.bindEvents())}return function(t,e,n){e&&a(t.prototype,e),n&&a(t,n)}(t,[{key:"initValue",value:function(){var t=this,e=document.createRange().createContextualFragment(this.getValue()).querySelector(".dashicons");e?e.classList.forEach(function(e){if(-1!==e.indexOf("dashicons-")){var n="."+e,i=t.iconpicker.querySelector(n);i&&(i.parentElement.classList.add("active"),t.setIconSelection(i.parentElement.dataset.dashicon))}}):t.setIconSelection(!1)}},{key:"bindEvents",value:function(){var t=this;this.setting.querySelector(".ac-setting-label-icon").addEventListener("click",function(e){e.preventDefault(),t.modal.open()}),this.setting.querySelector('[data-action="submit"]').addEventListener("click",function(e){e.preventDefault(),t.getIconSelection()&&t.setDashicon(t.getIconSelection()),t.modal.close()}),this.iconpicker.querySelectorAll(".ac-ipicker__icon").forEach(function(e){e.addEventListener("click",function(n){n.preventDefault();var i=this.dataset.dashicon;i&&t.setIconSelection(i),t.setting.querySelectorAll(".ac-ipicker__icon").forEach(function(t){t.classList.remove("active")}),e.classList.add("active")})})}},{key:"getValue",value:function(){return this.field.value}},{key:"setValue",value:function(t){this.field.value=t;var e=new Event("change");this.field.dispatchEvent(e)}},{key:"setIconSelection",value:function(t){var e=this.setting.querySelector(".ac-ipicker__selection");this._dashicon=t,e.innerHTML='<span class="dashicons dashicons-'.concat(t,'"></span>'),e.style.visibility=t?"visible":"hidden"}},{key:"getIconSelection",value:function(){return this._dashicon}},{key:"setDashicon",value:function(t){this.setValue('<span class="dashicons dashicons-'.concat(t,'"></span>'))}}]),t}();t.exports=function(t){t.settings.label=new u(t)}},function(t,e){t.exports=jQuery}]);
assets/js/admin-page-columns.js.map CHANGED
@@ -1 +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;;AACA;;AACA;;AAGA;;AACA;;AACA;;AACA;;AACA;;;;AA9BA;;;;;;;;AAeA;;AAUA;AAOA,IAAIA,SAASC,IAAI,mBAAAC,CAAS,sBAAT,CAAjB;;AAEAC,GAAGC,MAAH,GAAY,IAAIC,kBAAJ,EAAZ;AACAF,GAAGG,MAAH,GAAY,IAAIA,eAAJ,EAAZ;AAEAN,OAAQO,QAAR,EAAmBC,EAAnB,CAAuB,gBAAvB,EAAyC,YAAW;AAEnD;AACAL,KAAGC,MAAH,CACEK,aADF,CACiB,QADjB,EAC2BC,eAD3B,EAEED,aAFF,CAEiB,QAFjB,EAE2BE,eAF3B,EAGEF,aAHF,CAGiB,OAHjB,EAG0BG,cAH1B,EAIEH,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ACA;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":""}
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/settings/date.js","webpack:///./js/admin/columns/settings/image-size.js","webpack:///./js/admin/columns/settings/label.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/modal.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","AdminColumns","document","on","registerEvent","EventToggle","EventRemove","EventClone","EventRefresh","EventTypeSelector","EventIndicator","EventLabel","label","setting","EventAddons","registerSetting","SettingDate","SettingImageSize","SettingPro","SettingSubSettingToggle","SettingWidth","SettingLabel","ready","Form","Modals","init","register","Modal","querySelector","Menu","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","date","$radio_custom","$input_custom","$input_value","$example_custom","$selected","$help_msg","$input_container","date_format","description","$custom_value","done","length","Image","field","initState","addEventListener","getValue","showSubsettings","hideSubsettings","subsetting","querySelectorAll","style","display","setWidth","setHeight","dispatchEvent","Event","image","Label","iconpicker","_dashicon","modal","initValue","createRange","createContextualFragment","dashicon","classList","cls","indexOf","icon","parentElement","add","setIconSelection","dataset","getIconSelection","setDashicon","icons","selection","innerHTML","visibility","setValue","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","dialog","initEvents","keyName","isOpen","dismissButtons","b","stopPropagation","ac_modal_init","initGlobalEvents","AC_MODAL","contains","onClose","onOpen","target","acOpenModal","modal_key","get","modals","number"],"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;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ACA;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 AdminColumns {Object}\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\nimport Form from \"./admin/columns/form\";\r\nimport Modals from \"./modules/modals\";\r\nimport Initiator from \"./admin/columns/initiator\";\r\nimport Modal from \"./modules/modal\";\r\nimport Menu from \"./admin/columns/menu\";\r\nimport Feedback from \"./admin/columns/feedback\";\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/** 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\nimport SettingLabel from './admin/columns/settings/label';\r\n\r\nlet jQuery = $ = require( 'jquery' );\r\n\r\nAC.Column = new Initiator(); // Todo remove from\r\nAdminColumns.Column = AC.Column;\r\n\r\njQuery( document ).on( 'AC_Form_Loaded', function() {\r\n\r\n\t/** Register Events **/\r\n\tAdminColumns.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\t\t.registerSetting( 'label', SettingLabel );\r\n} );\r\n\r\njQuery( document ).ready( function() {\r\n\tAC.Form = new Form( '#cpac .ac-columns form' );\r\n\tModals.init().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;","/*\n * Optional Radio Click events\n * TODO: Is not used anymore?\n */\n\nlet addons = function( column ) {\n\tlet $ = jQuery;\n\tlet $column = column.$el;\n\tlet inputs = $column.find( '[data-trigger] label' );\n\n\tinputs.on( 'click', function() {\n\n\t\tlet id = $( this ).closest( 'td.input' ).data( 'trigger' );\n\t\tlet state = $( 'input', this ).val();\n\n\t\t// Toggle indicator icon\n\t\tlet label = $column.find( '[data-indicator-id=\"' + id + '\"]' ).removeClass( 'on' );\n\t\tif ( 'on' === state ) {\n\t\t\tlabel.addClass( 'on' );\n\t\t}\n\n\t\t// Toggle additional options\n\t\tlet additional = $column.find( '[data-handle=\"' + id + '\"]' ).addClass( 'hide' );\n\t\tif ( 'on' === state ) {\n\t\t\tadditional.removeClass( 'hide' );\n\t\t}\n\t} );\n\n\t// On load\n\t$column.find( '[data-trigger]' ).each( function() {\n\n\t\tlet trigger = $( this ).data( 'trigger' );\n\n\t\t// Hide additional column settings\n\t\tlet additional = $column.find( '[data-handle=\"' + trigger + '\"]' ).addClass( 'hide' );\n\t\tif ( 'on' === $( 'input:checked', this ).val() ) {\n\t\t\tadditional.removeClass( 'hide' );\n\t\t}\n\t} );\n\n};\n\nmodule.exports = addons;","/*\n* Column: bind clone events\n*\n* @since 2.0\n*/\nlet clone = function( column ) {\n\tcolumn.$el.find( '.clone-button' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tif ( column.isOriginal() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tAC.Form.cloneColumn( column.$el );\n\t} );\n};\n\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 ) {\n\tlet $column = column.$el;\n\n\t/**\n\t * Populates the main Label with the selected label from the dropdown,\n\t */\n\t$column.find( 'select[data-label=\"update\"]' ).change( function() {\n\t\tlet $label = $column.find( 'input.ac-setting-input_label' );\n\t\tlet field_label = jQuery( this ).find( 'option:selected' ).text();\n\n\t\t// Set new label\n\t\t$label.val( field_label );\n\t\t$label.trigger( 'change' );\n\t} );\n\n\t/** When an label contains an icon or span, the displayed label can appear empty. In this case we show the \"type\" label. */\n\tsetTimeout( function() {\n\t\tlet column_label = $column.find( '.column_label .toggle' );\n\n\t\tif ( jQuery.trim( column_label.html() ) && column_label.width() < 1 ) {\n\t\t\tcolumn_label.html( $column.find( '.column_type .inner' ).html() );\n\t\t}\n\t}, 50 );\n};\n\nlet settingLabel = function( column ) {\n\tlet $column = column.$el;\n\n\t/** change label */\n\t$column.find( '.ac-column-setting--label input' ).bind( 'keyup change', function() {\n\t\tlet value = jQuery( this ).val();\n\t\tjQuery( this ).closest( '.ac-column' ).find( 'td.column_label .inner > a.toggle' ).html( value );\n\t} ).trigger( 'change' );\n\n\t/** tooltip */\n\t$column.find( '.ac-column-body .col-label .label' ).hover( function() {\n\t\tjQuery( this ).parents( '.col-label' ).find( 'div.tooltip' ).show();\n\t}, function() {\n\t\tjQuery( this ).parents( '.col-label' ).find( 'div.tooltip' ).hide();\n\t} );\n};\n\nmodule.exports = {\n\tlabel : label,\n\tsetting : settingLabel\n};","let refresh = function( column ) {\n\tlet $ = jQuery;\n\t\n\tcolumn.$el.find( '[data-refresh=\"column\"]' ).on( 'change', function() {\n\t\t// Allow plugins to hook into this event\n\t\t$( document ).trigger( 'AC.column.prerefresh', column.$el );\n\t\tcolumn.$el.addClass( 'loading' );\n\n\t\tsetTimeout( function() {\n\t\t\tcolumn.refresh().always( function() {\n\t\t\t\tcolumn.$el.removeClass( 'loading' );\n\t\t\t} );\n\t\t}, 200 );\n\n\t} );\n};\n\nmodule.exports = refresh;","/*\n * Column: bind remove events\n *\n * @since 2.0\n */\nlet remove = function( column ) {\n\tcolumn.$el.find( '.remove-button' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tAC.Form.removeColumn( column.name );\n\t} );\n};\n\nmodule.exports = remove;","/*\n * Column: bind toggle events\n *\n * For performance we bind all other events after the click event.\n *\n * @since 2.0\n */\nlet toggle = function( column ) {\n\tcolumn.$el.find( '[data-toggle=\"column\"]' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tcolumn.toggle();\n\t} ).css( 'cursor', 'pointer' );\n};\n\nmodule.exports = toggle;","let selector = function( column ) {\n\tlet $ = jQuery;\n\tcolumn.$el.find( 'select.ac-setting-input_type' ).change( function() {\n\t\tcolumn.$el.addClass( 'loading' );\n\t\tcolumn.switchToType( $( this ).val() ).always( function() {\n\t\t\tcolumn.$el.removeClass( 'loading' );\n\n\t\t\tAC.Form.reindexColumns();\n\t\t} );\n\t} );\n};\n\nmodule.exports = selector;","class Feedback {\n\n\tconstructor( $el ) {\n\t\tthis.$el = jQuery( $el );\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet $box = this.$el;\n\n\t\t$box.find( '#feedback-choice a.no' ).click( function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$box.find( '#feedback-choice' ).slideUp();\n\t\t\t$box.find( '#feedback-support' ).slideDown();\n\t\t} );\n\n\t\t$box.find( '#feedback-choice a.yes' ).click( function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$box.find( '#feedback-choice' ).slideUp();\n\t\t\t$box.find( '#feedback-rate' ).slideDown();\n\t\t} );\n\t};\n\n}\n\nmodule.exports = Feedback;","import Column from \"./column\";\n\nclass Form {\n\n\tconstructor( el ) {\n\t\tthis.$form = jQuery( el );\n\t\tthis.$container = jQuery( '#cpac .ac-admin' );\n\t\tthis.columns = {};\n\n\t\tjQuery( document ).trigger( 'AC_Form_Loaded' );\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tthis.initColumns();\n\t\tthis.bindFormEvents();\n\t\tthis.bindOrdering();\n\n\t\tjQuery( document ).trigger( 'AC_Form_Ready' );\n\t}\n\n\tbindOrdering() {\n\n\t\tif ( this.$form.hasClass( 'ui-sortable' ) ) {\n\t\t\tthis.$form.sortable( 'refresh' );\n\t\t}\n\t\telse {\n\t\t\tthis.$form.sortable( {\n\t\t\t\titems : '.ac-column',\n\t\t\t\thandle : '.column_sort'\n\t\t\t} );\n\t\t}\n\n\t}\n\n\toriginalColumns() {\n\t\tlet self = this;\n\t\tlet columns = [];\n\n\t\tObject.keys( self.columns ).forEach( function( key ) {\n\t\t\tlet column = self.columns[ key ];\n\t\t\tif ( column.isOriginal() ) {\n\t\t\t\tcolumns.push( column.type );\n\t\t\t}\n\t\t} );\n\n\t\treturn columns;\n\t}\n\n\tbindFormEvents() {\n\t\tlet self = this;\n\t\tlet $buttons = jQuery( '.sidebox a.submit, .column-footer a.submit' );\n\n\t\t$buttons.on( 'click', function() {\n\t\t\t$buttons.attr( 'disabled', 'disabled' );\n\t\t\tself.submitForm().always( function() {\n\t\t\t\t$buttons.removeAttr( 'disabled', 'disabled' );\n\t\t\t} )\n\t\t} );\n\n\t\tself.$container.find( '.add_column' ).on( 'click', function() {\n\t\t\tself.addColumn();\n\t\t} );\n\n\t\tlet $boxes = jQuery( '#cpac .ac-boxes' );\n\t\tif ( $boxes.hasClass( 'disabled' ) ) {\n\t\t\t$boxes.find( '.ac-column' ).each( function( i, col ) {\n\t\t\t\tjQuery( col ).data( 'column' ).disable();\n\t\t\t\tjQuery( col ).find( 'input, select' ).prop( 'disabled', true );\n\t\t\t} );\n\t\t}\n\n\t\tjQuery( 'a[data-clear-columns]' ).on( 'click', function() {\n\t\t\tself.resetColumns();\n\t\t} );\n\t}\n\n\tinitColumns() {\n\t\tlet self = this;\n\t\tself.columns = [];\n\n\t\tthis.$form.find( '.ac-column' ).each( function() {\n\t\t\tlet $el = jQuery( this );\n\t\t\tlet column = new Column( $el );\n\n\t\t\tcolumn.bindEvents();\n\n\t\t\t$el.data( 'column', column );\n\t\t\tself.columns[ column.name ] = column;\n\t\t} );\n\t}\n\n\treindexColumns() {\n\t\tlet self = this;\n\t\tself.columns = [];\n\n\t\tthis.$form.find( '.ac-column' ).each( function() {\n\t\t\tlet column = jQuery( this ).data( 'column' );\n\n\t\t\tself.columns[ column.name ] = column;\n\t\t} );\n\t}\n\n\tresetColumns() {\n\t\tObject.keys( this.columns ).forEach( ( key ) => {\n\t\t\tlet column = this.columns[ key ];\n\n\t\t\tcolumn.destroy();\n\t\t} );\n\n\t}\n\n\tserialize() {\n\t\treturn this.$form.serialize();\n\t}\n\n\tsubmitForm() {\n\t\tlet self = this;\n\n\t\tlet xhr = jQuery.post( ajaxurl, {\n\t\t\t\taction : 'ac_columns_save',\n\t\t\t\tdata : this.serialize(),\n\t\t\t\t_ajax_nonce : AC._ajax_nonce,\n\t\t\t\tlist_screen : AC.list_screen,\n\t\t\t\tlayout : AC.layout,\n\t\t\t\toriginal_columns : AC.original_columns\n\t\t\t},\n\n\t\t\tfunction( response ) {\n\t\t\t\tif ( response ) {\n\t\t\t\t\tif ( response.success ) {\n\t\t\t\t\t\tself.showMessage( response.data, 'updated' );\n\n\t\t\t\t\t\tself.$container.addClass( 'stored' );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Error message\n\t\t\t\t\telse if ( response.data ) {\n\t\t\t\t\t\tself.showMessage( response.data.message, 'notice notice-warning' );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}, 'json' );\n\n\t\t// No JSON\n\t\txhr.fail( function( error ) {\n\t\t\t// We choose not to notify the user of errors, because the settings will have\n\t\t\t// been saved correctly despite of PHP notices/errors from plugin or themes.\n\t\t} );\n\n\t\t//document.dispatchEvent( new CustomEvent( 'AC_Form_AfterUpdate', { detail : { container : self.$container } } ) );\n\t\tjQuery( document ).trigger( 'AC_Form_AfterUpdate', [ self.$container ] );\n\n\t\treturn xhr;\n\t}\n\n\tshowMessage( message, attr_class = 'updated' ) {\n\t\tlet $msg = jQuery( '<div class=\"ac-message hidden ' + attr_class + '\"><p>' + message + '</p></div>' );\n\n\t\tthis.$container.find( '.ac-message' ).stop().remove();\n\t\tthis.$container.find( '.ac-boxes' ).before( $msg );\n\n\t\t$msg.slideDown();\n\t}\n\n\tcloneColumn( $el ) {\n\t\treturn this._addColumnToForm( new Column( $el ).clone(), $el.hasClass( 'opened' ) );\n\t}\n\n\taddColumn() {\n\t\tlet $clone = jQuery( '#add-new-column-template' ).find( '.ac-column' ).clone();\n\t\tlet column = new Column( $clone ).create();\n\n\t\treturn this._addColumnToForm( column );\n\t}\n\n\tremoveColumn( name ) {\n\t\tif ( this.columns[ name ] ) {\n\t\t\tthis.columns[ name ].remove();\n\t\t\tdelete this.columns[ name ];\n\t\t}\n\t}\n\n\t_addColumnToForm( column, open = true ) {\n\t\tthis.columns[ column.name ] = column;\n\t\tthis.$form.append( column.$el );\n\n\t\tif ( open ) {\n\t\t\tcolumn.open();\n\t\t}\n\n\t\tcolumn.$el.hide().slideDown();\n\n\t\tjQuery( 'html, body' ).animate( { scrollTop : column.$el.offset().top - 58 }, 300 );\n\n\t\tjQuery( document ).trigger( 'AC_Column_Added', [ column ] );\n\n\t\treturn column;\n\t}\n\n}\n\nmodule.exports = Form;","class Initiator {\n\n\tconstructor() {\n\t\tthis.events = {};\n\t\tthis.settings = {};\n\t\tthis.incremental_name = 0;\n\t}\n\n\tregisterSetting( k, setting ) {\n\t\tlet key = 's_' + k;\n\n\t\tif ( this.settings[ key ] ) {\n\t\t\tconsole.error( 'Setting key already exists: ' + k );\n\t\t}\n\n\t\tthis.settings[ key ] = setting;\n\n\t\treturn this;\n\t}\n\n\tregisterEvent( k, event ) {\n\t\tlet key = 'e_' + k;\n\t\tif ( this.settings[ key ] ) {\n\t\t\tconsole.error( 'Event key already exists: ' + key );\n\t\t}\n\n\t\tthis.events[ key ] = event;\n\n\t\treturn this;\n\t}\n\n\tgetNewIncementalName() {\n\t\tlet oldName = this.incremental_name;\n\t\tthis.incremental_name++;\n\n\t\treturn oldName;\n\t}\n}\n\nmodule.exports = Initiator;","class Menu {\n\n\tinit() {\n\t\tlet $ = jQuery;\n\n\t\t$( '#ac_list_screen' ).on( 'change', function() {\n\t\t\t$( '.view-link' ).hide();\n\t\t\t$( this ).parents( 'form' ).submit();\n\n\t\t\t$( this ).prop( 'disabled', true ).next( '.spinner' ).css( 'display', 'inline-block' );\n\t\t} );\n\n\t}\n\n}\n\nmodule.exports = Menu;","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;","import Modals from \"../../../modules/modals\";\nimport Modal from \"../../../modules/modal\";\n\nclass Label {\n\tconstructor( column ) {\n\t\tthis.column = column;\n\n\t\tthis.setting = column.el.querySelector( '.ac-column-setting--label' );\n\t\tthis.iconpicker = this.setting.querySelector( '.-iconpicker' );\n\n\t\tif ( !this.iconpicker ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._dashicon = false;\n\t\tthis.modal = Modals.init().register( new Modal( this.setting.querySelector( '.-iconpicker' ) ) );\n\t\tthis.field = this.setting.querySelector( '.ac-setting-input_label' );\n\n\t\tthis.initValue();\n\t\tthis.bindEvents();\n\t}\n\n\tinitValue() {\n\t\tlet self = this;\n\t\tlet html = document.createRange().createContextualFragment( this.getValue() );\n\t\tlet dashicon = html.querySelector( '.dashicons' );\n\n\t\tif ( dashicon ) {\n\t\t\tlet classList = dashicon.classList;\n\n\t\t\tclassList.forEach( cls => {\n\t\t\t\tif ( cls.indexOf( 'dashicons-' ) !== -1 ) {\n\t\t\t\t\tlet selector = '.' + cls;\n\t\t\t\t\tlet icon = self.iconpicker.querySelector( selector );\n\n\t\t\t\t\tif ( icon ) {\n\t\t\t\t\t\ticon.parentElement.classList.add( 'active' );\n\t\t\t\t\t\tself.setIconSelection( icon.parentElement.dataset.dashicon );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t} else {\n\t\t\tself.setIconSelection( false );\n\t\t}\n\n\t}\n\n\tbindEvents() {\n\t\tlet self = this;\n\n\t\tthis.setting.querySelector( '.ac-setting-label-icon' ).addEventListener( 'click', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tself.modal.open();\n\t\t} );\n\n\t\tthis.setting.querySelector( '[data-action=\"submit\"]' ).addEventListener( 'click', function( e ) {\n\n\t\t\te.preventDefault();\n\t\t\tif ( self.getIconSelection() ) {\n\t\t\t\tself.setDashicon( self.getIconSelection() );\n\t\t\t}\n\n\t\t\tself.modal.close();\n\t\t} );\n\n\t\tlet icons = this.iconpicker.querySelectorAll( '.ac-ipicker__icon' );\n\t\ticons.forEach( icon => {\n\t\t\ticon.addEventListener( 'click', function( e ) {\n\t\t\t\te.preventDefault();\n\n\t\t\t\tlet dashicon = this.dataset.dashicon;\n\t\t\t\tif ( dashicon ) {\n\t\t\t\t\tself.setIconSelection( dashicon );\n\t\t\t\t}\n\n\t\t\t\tlet icons = self.setting.querySelectorAll( '.ac-ipicker__icon' );\n\t\t\t\ticons.forEach( icon => {\n\t\t\t\t\ticon.classList.remove( 'active' );\n\t\t\t\t} );\n\n\t\t\t\ticon.classList.add( 'active' );\n\t\t\t} );\n\t\t} );\n\n\t}\n\n\tgetValue() {\n\t\treturn this.field.value;\n\t}\n\n\tsetValue( value ) {\n\t\tthis.field.value = value;\n\n\t\tlet event = new Event( 'change' );\n\t\tthis.field.dispatchEvent( event );\n\t}\n\n\tsetIconSelection( dashicon ) {\n\t\tlet selection = this.setting.querySelector( '.ac-ipicker__selection' );\n\t\tthis._dashicon = dashicon;\n\t\tselection.innerHTML = `<span class=\"dashicons dashicons-${dashicon}\"></span>`;\n\n\t\tif ( !dashicon ) {\n\t\t\tselection.style.visibility = 'hidden';\n\t\t} else {\n\t\t\tselection.style.visibility = 'visible';\n\t\t}\n\t}\n\n\tgetIconSelection() {\n\t\treturn this._dashicon;\n\t}\n\n\tsetDashicon( dashicon ) {\n\t\tthis.setValue( `<span class=\"dashicons dashicons-${dashicon}\"></span>` );\n\t}\n\n}\n\nlet label = function( column ) {\n\tcolumn.settings.label = new Label( column );\n};\n\nmodule.exports = label;","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;","import Modals from './modals'\n\nclass Modal {\n\tconstructor( el ) {\n\t\tif ( !el ) {\n\t\t\treturn;\n\t\t}\n\t\tthis.el = el;\n\t\tthis.dialog = el.querySelector( '.ac-modal__dialog' );\n\n\t\tthis.initEvents();\n\t}\n\n\tstatic initGlobalEvents() {\n\n\t\tjQuery( document ).on( 'click', '[data-ac-open-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet target = e.target.dataset.acOpenModal;\n\t\t\tlet el = document.querySelector( target );\n\n\t\t\tif ( el && el.AC_MODAL ) {\n\t\t\t\tel.AC_MODAL.open();\n\t\t\t}\n\t\t} );\n\n\t\tjQuery( document ).on( 'click', '[data-ac-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet modal_key = jQuery( this ).data( 'ac-modal' );\n\n\t\t\tif ( Modals.init().get( modal_key ) ) {\n\t\t\t\tModals.init().get( modal_key ).open();\n\t\t\t}\n\t\t} );\n\n\t}\n\n\tinitEvents() {\n\t\tlet self = this;\n\n\t\tdocument.addEventListener( 'keydown', ( e ) => {\n\t\t\tconst keyName = event.key;\n\n\t\t\tif ( !this.isOpen() ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( 'Escape' === keyName ) {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t} );\n\n\t\tlet dismissButtons = this.el.querySelectorAll( '[data-dismiss=\"modal\"], .ac-modal__dialog__close' );\n\t\tif ( dismissButtons.length > 0 ) {\n\t\t\tdismissButtons.forEach( ( b ) => {\n\t\t\t\tb.addEventListener( 'click', ( e ) => {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tself.close();\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\tthis.el.addEventListener( 'click', () => {\n\t\t\tself.close();\n\t\t} );\n\n\t\tthis.el.querySelector( '.ac-modal__dialog' ).addEventListener( 'click', ( e ) => {\n\t\t\te.stopPropagation();\n\t\t} );\n\n\t\tif ( typeof document.querySelector( 'body' ).dataset.ac_modal_init === 'undefined' ) {\n\t\t\tModal.initGlobalEvents();\n\t\t\tdocument.querySelector( 'body' ).dataset.ac_modal_init = 1;\n\t\t}\n\n\t\tthis.el.AC_MODAL = self;\n\t}\n\n\tisOpen() {\n\t\treturn this.el.classList.contains( '-active' );\n\t}\n\n\tclose() {\n\t\tthis.onClose();\n\t\tthis.el.classList.remove( '-active' );\n\t}\n\n\topen() {\n\t\tthis.onOpen();\n\t\tthis.el.classList.add( '-active' );\n\t}\n\n\tonClose() {}\n\n\tonOpen() {}\n\n}\n\nmodule.exports = Modal;","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\n\t\treturn modal;\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\t// Bind self to global AdminColumns if exist\n\tstatic init() {\n\t\tif ( typeof AdminColumns.Modals === 'undefined' ) {\n\t\t\tAdminColumns.Modals = new this();\n\t\t}\n\n\t\treturn AdminColumns.Modals;\n\t}\n\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-review.js CHANGED
@@ -1 +1 @@
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")})})}]);
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=90)}([function(n,t,r){var e=r(26)("wks"),o=r(12),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="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){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,r){n.exports=!r(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,r){"use strict";var e=r(14),o=r(37)(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(28)("find")},function(n,t,r){var e=r(7),o=r(19);n.exports=r(3)?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){try{return!!n()}catch(n){return!0}}},function(n,t,r){var e=r(9),o=r(32),i=r(33),u=Object.defineProperty;t.f=r(3)?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,r){var e=r(1),o=r(5),i=r(11),u=r(12)("src"),c=Function.toString,f=(""+c).split("toString");r(10).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,r){var e=r(2);n.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},function(n,t){var r=n.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(n,t){var r={}.hasOwnProperty;n.exports=function(n,t){return r.call(n,t)}},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(36);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,r){var e=r(1),o=r(10),i=r(5),u=r(8),c=r(13),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){var r={}.toString;n.exports=function(n){return r.call(n).slice(8,-1)}},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){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},function(n,t,r){var e=r(25),o=Math.min;n.exports=function(n){return n>0?o(e(n),9007199254740991):0}},,,function(n,t,r){var e=r(2),o=r(1).document,i=e(o)&&e(o.createElement);n.exports=function(n){return i?o.createElement(n):{}}},function(n,t,r){var e=r(15);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},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(10),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(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(n,t){n.exports=!1},function(n,t,r){var e=r(0)("unscopables"),o=Array.prototype;void 0==o[e]&&r(5)(o,e,{}),n.exports=function(n){o[e][n]=!0}},,,,function(n,t,r){n.exports=!r(3)&&!r(6)(function(){return 7!=Object.defineProperty(r(23)("div"),"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(2);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(13),o=r(24),i=r(16),u=r(20),c=r(38);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(39);n.exports=function(n,t){return new(e(n))(t)}},function(n,t,r){var e=r(2),o=r(40),i=r(0)("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(15);n.exports=Array.isArray||function(n){return"Array"==e(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,r){"use strict";r(4),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 DELETED
@@ -1 +0,0 @@
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","aj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;;;;;;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;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;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/notice-dismissible.js CHANGED
@@ -1 +1 @@
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)})})}});
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=91)}({91: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 DELETED
@@ -1 +0,0 @@
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 +1 @@
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}]);
1
+ !function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=92)}([function(t,n,e){var r=e(26)("wks"),o=e(12),i=e(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},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){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){t.exports=!e(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){"use strict";var r=e(14),o=e(37)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(28)("find")},function(t,n,e){var r=e(7),o=e(19);t.exports=e(3)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(9),o=e(32),i=e(33),u=Object.defineProperty;n.f=e(3)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(1),o=e(5),i=e(11),u=e(12)("src"),c=Function.toString,a=(""+c).split("toString");e(10).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var s="function"==typeof e;s&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(s&&(i(e,u)||o(e,u,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:c?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,n,e){var r=e(2);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(36);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(1),o=e(10),i=e(5),u=e(8),c=e(13),a=function(t,n,e){var s,f,l,p,v=t&a.F,d=t&a.G,h=t&a.S,y=t&a.P,g=t&a.B,m=d?r:h?r[n]||(r[n]={}):(r[n]||{}).prototype,b=d?o:o[n]||(o[n]={}),_=b.prototype||(b.prototype={});for(s in d&&(e=n),e)l=((f=!v&&m&&void 0!==m[s])?m:e)[s],p=g&&f?c(l,r):y&&"function"==typeof l?c(Function.call,l):l,m&&u(m,s,l,t&a.U),b[s]!=l&&i(b,s,p),y&&_[s]!=l&&(_[s]=l)};r.core=o,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){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(17);t.exports=function(t){return Object(r(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){t.exports={}},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 r=e(25),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(24),o=e(17);t.exports=function(t){return r(o(t))}},function(t,n,e){for(var r=e(29),o=e(30),i=e(8),u=e(1),c=e(5),a=e(18),s=e(0),f=s("iterator"),l=s("toStringTag"),p=a.Array,v={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},d=o(v),h=0;h<d.length;h++){var y,g=d[h],m=v[g],b=u[g],_=b&&b.prototype;if(_&&(_[f]||c(_,f,p),_[l]||c(_,l,g),a[g]=p,m))for(y in r)_[y]||i(_,y,r[y],!0)}},function(t,n,e){var r=e(2),o=e(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){var r=e(15);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(10),o=e(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports=!1},function(t,n,e){var r=e(0)("unscopables"),o=Array.prototype;void 0==o[r]&&e(5)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,n,e){"use strict";var r=e(28),o=e(42),i=e(18),u=e(21);t.exports=e(43)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(45),o=e(34);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(26)("keys"),o=e(12);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){t.exports=!e(3)&&!e(6)(function(){return 7!=Object.defineProperty(e(23)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(2);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(7).f,o=e(11),i=e(0)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},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 r=e(13),o=e(24),i=e(16),u=e(20),c=e(38);t.exports=function(t,n){var e=1==t,a=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,v=n||c;return function(n,c,d){for(var h,y,g=i(n),m=o(g),b=r(c,d,3),_=u(m.length),x=0,w=e?v(n,_):a?v(n,0):void 0;_>x;x++)if((p||x in m)&&(y=b(h=m[x],x,g),t))if(e)w[x]=y;else if(y)switch(t){case 3:return!0;case 5:return h;case 6:return x;case 2:w.push(h)}else if(f)return!1;return l?-1:s||f?f:w}}},function(t,n,e){var r=e(39);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){var r=e(2),o=e(40),i=e(0)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,e){var r=e(15);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){"use strict";function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.number=1}return function(t,n,e){n&&r(t.prototype,n),e&&r(t,e)}(t,[{key:"register",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n||(n="m"+this.number),this.modals[n]=t,this.number++,t}},{key:"get",value:function(t){return!!this.modals[t]&&this.modals[t]}}],[{key:"init",value:function(){return void 0===AdminColumns.Modals&&(AdminColumns.Modals=new this),AdminColumns.Modals}}]),t}();t.exports=o},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var r=e(27),o=e(14),i=e(8),u=e(5),c=e(18),a=e(50),s=e(35),f=e(55),l=e(0)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,e,d,h,y,g){a(e,n,d);var m,b,_,x=function(t){if(!p&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",E="values"==h,k=!1,C=t.prototype,j=C[l]||C["@@iterator"]||h&&C[h],O=j||x(h),S=h?E?x("entries"):O:void 0,T="Array"==n&&C.entries||j;if(T&&(_=f(T.call(new t)))!==Object.prototype&&_.next&&(s(_,w,!0),r||"function"==typeof _[l]||u(_,l,v)),E&&j&&"values"!==j.name&&(k=!0,O=function(){return j.call(this)}),r&&!g||!p&&!k&&C[l]||u(C,l,O),c[n]=O,c[w]=v,h)if(m={values:E?O:x("values"),keys:y?O:x("keys"),entries:S},g)for(b in m)b in C||i(C,b,m[b]);else o(o.P+o.F*(p||k),n,m);return m}},function(t,n,e){var r=e(9),o=e(51),i=e(34),u=e(31)("IE_PROTO"),c=function(){},a=function(){var t,n=e(23)("iframe"),r=i.length;for(n.style.display="none",e(54).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=a(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(11),o=e(21),i=e(52)(!1),u=e(31)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),a=0,s=[];for(e in c)e!=u&&r(c,e)&&s.push(e);for(;n.length>a;)r(c,e=n[a++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){var r=e(16),o=e(30);e(56)("keys",function(){return function(t){return o(r(t))}})},function(t,n,e){e(48)("replace",2,function(t,n,e){return[function(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},e]})},function(t,n,e){"use strict";var r=e(5),o=e(8),i=e(6),u=e(17),c=e(0);t.exports=function(t,n,e){var a=c(t),s=e(u,a,""[t]),f=s[0],l=s[1];i(function(){var n={};return n[a]=function(){return 7},7!=""[t](n)})&&(o(String.prototype,t,f),r(RegExp.prototype,a,2==n?function(t,n){return l.call(t,this,n)}:function(t){return l.call(t,this)}))}},,function(t,n,e){"use strict";var r=e(44),o=e(19),i=e(35),u={};e(5)(u,e(0)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(7),o=e(9),i=e(30);t.exports=e(3)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,a=0;c>a;)r.f(t,e=u[a++],n[e]);return t}},function(t,n,e){var r=e(21),o=e(20),i=e(53);t.exports=function(t){return function(n,e,u){var c,a=r(n),s=o(a.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(25),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(11),o=e(16),i=e(31)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(14),o=e(10),i=e(6);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n,e){"use strict";var r=e(9);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},,function(t,n,e){var r=e(2),o=e(15),i=e(0)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,e){var r=e(8);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(13),o=e(102),i=e(103),u=e(9),c=e(20),a=e(104),s={},f={};(n=t.exports=function(t,n,e,l,p){var v,d,h,y,g=p?function(){return t}:a(t),m=r(e,l,n?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(v=c(t.length);v>b;b++)if((y=n?m(u(d=t[b])[0],d[1]):m(t[b]))===s||y===f)return y}else for(h=g.call(t);!(d=h.next()).done;)if((y=o(h,m,d.value,n))===s||y===f)return y}).BREAK=s,n.RETURN=f},function(t,n,e){"use strict";var r=e(1),o=e(7),i=e(3),u=e(0)("species");t.exports=function(t){var n=r[t];i&&n&&!n[u]&&o.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(12)("meta"),o=e(2),i=e(11),u=e(7).f,c=0,a=Object.isExtensible||function(){return!0},s=!e(6)(function(){return a(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!n)return"E";f(t)}return t[r].i},getWeak:function(t,n){if(!i(t,r)){if(!a(t))return!0;if(!n)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&a(t)&&!i(t,r)&&f(t),t}}},function(t,n,e){var r=e(2);t.exports=function(t,n){if(!r(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,e){var r=e(2),o=e(108).set;t.exports=function(t,n,e){var i,u=n.constructor;return u!==e&&"function"==typeof u&&(i=u.prototype)!==e.prototype&&r(i)&&o&&o(t,i),t}},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";(function(t){e(4);var n=o(e(94)),r=o(e(116));function o(t){return t&&t.__esModule?t:{default:t}}function i(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")})}o(e(41)).default.init(),jQuery(document).ready(function(t){!function(t){t(document).ajaxComplete(function(n,e){var r=document.implementation.createHTMLDocument("quickeditevents"),o=t("<div>",r);if(o.append(e.responseText),1===o.find("tr.iedit").length){var i=o.find("tr.iedit").attr("id");t("tr#"+i).trigger("updated")}})}(t),u(t,t(".column-actions")),i(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(r){r.preventDefault();var o=t(this),i={action:"ac_get_column_value",list_screen:AC.list_screen,layout:AC.layout,column:o.data("column"),pk:o.attr("data-item-id"),_ajax_nonce:AC.ajax_nonce};o.addClass("loading"),t.post(ajaxurl,i,function(r){r&&(o.after('<div class="ac-toggle-box-contents-ajax">'+r+"</div>"),o.unbind("click",e).bind("click",n),t(o.parent("td")).trigger("ajax_column_value_ready"),AdminColumns.Tooltips.init())}).always(function(){o.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);var n=document.querySelector(AC.table_id);n&&ac_load_table(n.parentElement),AdminColumns.Tooltips=new r.default,t(".wp-list-table").on("updated","tr",function(){AdminColumns.Table.addCellClasses(),u(t,t(this).find(".column-actions")),i(t)})}),t.ac_load_table=function(t){AdminColumns.Table=new n.default(t),AC.Table=AdminColumns.Table},function(){if("function"==typeof window.CustomEvent)return!1;function t(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),e}t.prototype=window.Event.prototype,window.CustomEvent=t}()}).call(this,e(93))},function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e(95),e(22);var r=a(e(96)),o=a(e(97)),i=a(e(111)),u=a(e(112)),c=a(e(113));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=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=n,this.Helper=c.default,this.Columns=new i.default(n),this.Cells=new o.default,this.Actions=new r.default("ac-table-actions"),this.init()}return function(t,n,e){n&&s(t.prototype,n),e&&s(t,e)}(t,[{key:"init",value:function(){this._initTable(),this._addCellMethods(),this.addCellClasses(),document.dispatchEvent(new CustomEvent("AC_Table_Ready",{detail:{self:this}}))}},{key:"_initTable",value:function(){for(var t=this,n=this,e=this.el.getElementsByTagName("tbody")[0].getElementsByTagName("tr"),r=function(r){var o=e[r],i=t._getIDFromRow(o);o.dataset.id=i,n.Columns.getColumnNames().forEach(function(t){var e=o.querySelector(".column-".concat(t));e&&n.Cells.add(i,new u.default(i,t,e))})},o=0;o<e.length;o++)r(o)}},{key:"_addCellMethods",value:function(){this.Cells.getAll().forEach(function(t){t.el.getCell=function(){return t}})}},{key:"_getIDFromRow",value:function(t){var n=t.id,e=n.split("-"),r=e[e.length-1];if(t.classList.contains("no-items"))return 0;if(!r){var o=t.querySelector(".check-column input[type=checkbox]");o&&(r=(e=(n=o.id).split("_"))[e.length-1])}if(!r){var i=t.parentElement.querySelector(".edit a");if(i){var u=i.getAttribute("href");u&&(r=this.Helper.getParamFromUrl("id",u))}}return r}},{key:"addCellClasses",value:function(){var t=this;this.Columns.getColumnNames().forEach(function(n){var e=t.Columns.get(n).type;t.Cells.getByName(n).forEach(function(t){t.el.classList.add(e)})})}},{key:"getRow",value:function(t){return this.el.querySelector("tr#".concat(t))}}],[{key:"getTable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?t(this.el):this.el}}]),t}();n.default=f},function(t,n,e){e(48)("split",2,function(t,n,r){"use strict";var o=e(59),i=r,u=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var c=void 0===/()??/.exec("")[1];r=function(t,n){var e=String(this);if(void 0===t&&0===n)return[];if(!o(t))return i.call(e,t,n);var r,a,s,f,l,p=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,h=void 0===n?4294967295:n>>>0,y=new RegExp(t.source,v+"g");for(c||(r=new RegExp("^"+y.source+"$(?!\\s)",v));(a=y.exec(e))&&!((s=a.index+a[0].length)>d&&(p.push(e.slice(d,a.index)),!c&&a.length>1&&a[0].replace(r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a.length>1&&a.index<e.length&&u.apply(p,a.slice(1)),f=a[0].length,d=s,p.length>=h));)y.lastIndex===a.index&&y.lastIndex++;return d===e.length?!f&&y.test("")||p.push(""):p.push(e.slice(d)),p.length>h?p.slice(0,h):p}}else"0".split(void 0,0).length&&(r=function(t,n){return void 0===t&&0===n?[]:i.call(this,t,n)});return[function(e,o){var i=t(this),u=void 0==e?void 0:e[n];return void 0!==u?u.call(e,i,o):r.call(String(i),e,o)},r]})},function(t,n,e){"use strict";function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e(4);var o=function(){function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=document.getElementById(n),this.buttons=this.container.querySelector(".ac-table-actions-buttons"),this.init()}return function(t,n,e){n&&r(t.prototype,n),e&&r(t,e)}(t,[{key:"init",value:function(){var t=this;this.dropDownEvents(),jQuery(this.container).on("update",function(){t.refresh()}).insertAfter(jQuery(".tablenav.top .actions:last")).addClass("-init").trigger("update")}},{key:"refresh",value:function(){var t=jQuery(this.buttons);t.find("> a").removeClass("last"),t.find("> a:visible:last").addClass("last")}},{key:"dropDownEvents",value:function(){jQuery(this.buttons).on("click","[data-dropdown]",function(){var t=jQuery(this);t.toggleClass("-open"),t.hasClass("-open")?t[0].dispatchEvent(new CustomEvent("open")):t[0].dispatchEvent(new CustomEvent("closed"))})}}]),t}();n.default=o},function(t,n,e){"use strict";function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e(98),e(22),e(29),e(100);var o=function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this._cells=new Map}return function(t,n,e){n&&r(t.prototype,n),e&&r(t,e)}(t,[{key:"add",value:function(t,n){this._cells.has(t)||this._cells.set(t,new Map),this._cells.get(t).set(n.getName(),n)}},{key:"getByID",value:function(t){var n=[],e=t.toString();return this._cells.has(e)?(this._cells.get(t.toString()).forEach(function(t){n.push(t)}),n):n}},{key:"getAll",value:function(){var t=[];return this._cells.forEach(function(n){n.forEach(function(n){t.push(n)})}),t}},{key:"getByName",value:function(t){var n=[];return this._cells.forEach(function(e){e.forEach(function(e,r){t===r&&n.push(e)})}),n}},{key:"get",value:function(t,n){var e=this._cells.get(t.toString());return!!e&&e.get(n)}}]),t}();n.default=o},function(t,n,e){"use strict";e(99);var r=e(9),o=e(57),i=e(3),u=/./.toString,c=function(t){e(8)(RegExp.prototype,"toString",t,!0)};e(6)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?c(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=u.name&&c(function(){return u.call(this)})},function(t,n,e){e(3)&&"g"!=/./g.flags&&e(7).f(RegExp.prototype,"flags",{configurable:!0,get:e(57)})},function(t,n,e){"use strict";var r=e(101),o=e(65);t.exports=e(106)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var n=r.getEntry(o(this,"Map"),t);return n&&n.v},set:function(t,n){return r.def(o(this,"Map"),0===t?0:t,n)}},r,!0)},function(t,n,e){"use strict";var r=e(7).f,o=e(44),i=e(60),u=e(13),c=e(61),a=e(62),s=e(43),f=e(42),l=e(63),p=e(3),v=e(64).fastKey,d=e(65),h=p?"_s":"size",y=function(t,n){var e,r=v(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,n,e,s){var f=t(function(t,r){c(t,f,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,void 0!=r&&a(r,e,t[s],t)});return i(f.prototype,{clear:function(){for(var t=d(this,n),e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var e=d(this,n),r=y(e,t);if(r){var o=r.n,i=r.p;delete e._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),e._f==r&&(e._f=o),e._l==r&&(e._l=i),e[h]--}return!!r},forEach:function(t){d(this,n);for(var e,r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(d(this,n),t)}}),p&&r(f.prototype,"size",{get:function(){return d(this,n)[h]}}),f},def:function(t,n,e){var r,o,i=y(t,n);return i?i.v=e:(t._l=i={i:o=v(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[h]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,n,e){s(t,n,function(t,e){this._t=d(t,n),this._k=e,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?f(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,f(1))},e?"entries":"values",!e,!0),l(n)}}},function(t,n,e){var r=e(9);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){var r=e(18),o=e(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,n,e){var r=e(105),o=e(0)("iterator"),i=e(18);t.exports=e(10).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(15),o=e(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){"use strict";var r=e(1),o=e(14),i=e(8),u=e(60),c=e(64),a=e(62),s=e(61),f=e(2),l=e(6),p=e(107),v=e(35),d=e(66);t.exports=function(t,n,e,h,y,g){var m=r[t],b=m,_=y?"set":"add",x=b&&b.prototype,w={},E=function(t){var n=x[t];i(x,t,"delete"==t?function(t){return!(g&&!f(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof b&&(g||x.forEach&&!l(function(){(new b).entries().next()}))){var k=new b,C=k[_](g?{}:-0,1)!=k,j=l(function(){k.has(1)}),O=p(function(t){new b(t)}),S=!g&&l(function(){for(var t=new b,n=5;n--;)t[_](n,n);return!t.has(-0)});O||((b=n(function(n,e){s(n,b,t);var r=d(new m,n,b);return void 0!=e&&a(e,y,r[_],r),r})).prototype=x,x.constructor=b),(j||S)&&(E("delete"),E("has"),y&&E("get")),(S||C)&&E(_),g&&x.clear&&delete x.clear}else b=h.getConstructor(n,t,y,_),u(b.prototype,e),c.NEED=!0;return v(b,t),w[t]=b,o(o.G+o.W+o.F*(b!=m),w),g||h.setStrong(b,t,y),b}},function(t,n,e){var r=e(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:e=!0}},i[r]=function(){return u},t(i)}catch(t){}return e}},function(t,n,e){var r=e(2),o=e(9),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(13)(Function.call,e(109).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){var r=e(110),o=e(19),i=e(21),u=e(33),c=e(11),a=e(32),s=Object.getOwnPropertyDescriptor;n.f=e(3)?s:function(t,n){if(t=i(t),n=u(n,!0),a)try{return s(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){"use strict";function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e(22),e(29),e(46);var o=function(){function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.table=n,this._columns={},this.init()}return function(t,n,e){n&&r(t.prototype,n),e&&r(t,e)}(t,[{key:"init",value:function(){for(var t=this.table.querySelector("thead").querySelectorAll("th"),n=0;n<t.length;n++){var e={};e.name=t[n].id,e.type=AC.column_types[e.name],this._columns[t[n].id]=e}}},{key:"getColumns",value:function(){return this._columns}},{key:"getColumnNames",value:function(){return Object.keys(this._columns)}},{key:"get",value:function(t){return!!this._columns[t]&&this._columns[t]}}]),t}();n.default=o},function(t,n,e){"use strict";function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){function t(n,e,r){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this._object_id=n,this._column_name=e,this.el=r}return function(t,n,e){n&&r(t.prototype,n),e&&r(t,e)}(t,[{key:"getObjectID",value:function(){return this._object_id}},{key:"getName",value:function(){return this._column_name}},{key:"getElement",value:function(){return this.el}},{key:"getRow",value:function(){return this.el.parentElement}},{key:"getSettings",value:function(){return AC.Table.Columns._types[this.getName()]}},{key:"setValue",value:function(t){return this.getElement().innerHTML=t,this}}]),t}();n.default=o},function(t,n,e){"use strict";function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e(114),e(47);var o=function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,n,e){n&&r(t.prototype,n),e&&r(t,e)}(t,null,[{key:"getParamFromUrl",value:function(t,n){if(!n)return null;t=t.replace(/[\[\]]/g,"\\amp;");var e=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(n);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null}}]),t}();n.default=o},function(t,n,e){var r=e(1),o=e(66),i=e(7).f,u=e(115).f,c=e(59),a=e(57),s=r.RegExp,f=s,l=s.prototype,p=/a/g,v=/a/g,d=new s(p)!==p;if(e(3)&&(!d||e(6)(function(){return v[e(0)("match")]=!1,s(p)!=p||s(v)==v||"/a/i"!=s(p,"i")}))){s=function(t,n){var e=this instanceof s,r=c(t),i=void 0===n;return!e&&r&&t.constructor===s&&i?t:o(d?new f(r&&!i?t.source:t,n):f((r=t instanceof s)?t.source:t,r&&i?a.call(t):n),e?this:l,s)};for(var h=function(t){t in s||i(s,t,{configurable:!0,get:function(){return f[t]},set:function(n){f[t]=n}})},y=u(f),g=0;y.length>g;)h(y[g++]);l.constructor=s,s.prototype=l,e(8)(r,"RegExp",s)}e(63)("RegExp")},function(t,n,e){var r=e(45),o=e(34).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){"use strict";function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=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&&r(t.prototype,n),e&&r(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=o}]);
assets/js/table.js.map DELETED
@@ -1 +0,0 @@
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;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;AClFA;;AACA;;;;AAEAA,OAAQC,QAAR,EAAmBC,KAAnB,CAA0B,UAAUC,CAAV,EAAc;AACvCC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ACA;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":""}
bootstrap.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit;
5
- }
6
-
7
- require_once __DIR__ . '/api.php';
8
- 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.
19
- * Can be called from plugins and themes.
20
- */
21
- do_action( 'ac/ready', AC() );
classes/Admin/Addon.php DELETED
@@ -1,355 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin;
4
-
5
- use AC;
6
-
7
- class Addon {
8
-
9
- /**
10
- * @var string
11
- */
12
- private $title;
13
-
14
- /**
15
- * @var string
16
- */
17
- private $description;
18
-
19
- /**
20
- * @var string
21
- */
22
- private $logo;
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;
53
-
54
- public function __construct( $addon_dirname ) {
55
- $this->addon = new AC\PluginInformation( $addon_dirname );
56
- }
57
-
58
- /**
59
- * @return string
60
- */
61
- public function get_title() {
62
- return $this->title;
63
- }
64
-
65
- /**
66
- * @param string $title
67
- *
68
- * @return $this
69
- */
70
- protected function set_title( $title ) {
71
- $this->title = $title;
72
-
73
- return $this;
74
- }
75
-
76
- /**
77
- * Plugin folder name
78
- * @return AC\PluginInformation[]
79
- */
80
- public function get_plugins() {
81
- return $this->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 );
91
-
92
- return $this;
93
- }
94
-
95
- /**
96
- * @return AC\PluginInformation
97
- */
98
- public function get_plugin() {
99
- return $this->plugins[0];
100
- }
101
-
102
- /**
103
- * @return string
104
- */
105
- public function get_link() {
106
- if ( null === $this->link ) {
107
- $this->set_link( ac_get_site_utm_url( 'pricing-purchase', 'addon', $this->addon->get_dirname() ) );
108
- }
109
-
110
- return $this->link;
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 ) ) {
120
- $this->link = $url;
121
- }
122
-
123
- return $this;
124
- }
125
-
126
- /**
127
- * @return string
128
- */
129
- public function get_description() {
130
- return $this->description;
131
- }
132
-
133
- /**
134
- * @param string $description
135
- *
136
- * @return $this
137
- */
138
- protected function set_description( $description ) {
139
- $this->description = $description;
140
-
141
- return $this;
142
- }
143
-
144
- /**
145
- * @return string
146
- */
147
- public function get_logo() {
148
- return $this->logo;
149
- }
150
-
151
- /**
152
- * @param string $logo
153
- *
154
- * @return $this
155
- */
156
- protected function set_logo( $logo ) {
157
- $this->logo = $logo;
158
-
159
- return $this;
160
- }
161
-
162
- /**
163
- * @return string
164
- */
165
- public function get_icon() {
166
- return $this->icon;
167
- }
168
-
169
- /**
170
- * @param string $icon
171
- *
172
- * @return $this
173
- */
174
- protected function set_icon( $icon ) {
175
- $this->icon = $icon;
176
-
177
- return $this;
178
- }
179
-
180
- /**
181
- * Plugin folder name
182
- * @return string
183
- */
184
- public function get_slug() {
185
- return $this->addon->get_dirname();
186
- }
187
-
188
- /**
189
- * @return bool
190
- */
191
- public function is_installed() {
192
- return $this->addon->is_installed();
193
- }
194
-
195
- /**
196
- * @return bool
197
- */
198
- public function is_active() {
199
- return $this->addon->is_active();
200
- }
201
-
202
- /**
203
- * @return string|false Returns the plugin version if the plugin is installed, false otherwise
204
- */
205
- public function get_version() {
206
- return $this->addon->get_version();
207
- }
208
-
209
- /**
210
- * @return string Basename
211
- */
212
- public function get_basename() {
213
- return $this->addon->get_basename();
214
- }
215
-
216
- /**
217
- * @return bool
218
- */
219
- public function is_plugin_installed() {
220
- return $this->get_plugin()->is_installed();
221
- }
222
-
223
- /**
224
- * @return bool
225
- */
226
- public function is_plugin_active() {
227
- return $this->get_plugin()->is_active();
228
- }
229
-
230
- /**
231
- * @return string Basename
232
- */
233
- public function get_plugin_basename() {
234
- return $this->get_plugin()->get_basename();
235
- }
236
-
237
- /**
238
- * @return string
239
- */
240
- public function get_plugin_activation_url() {
241
- return $this->get_activation_url( $this->get_plugin_basename() );
242
- }
243
-
244
- /**
245
- * Icon
246
- */
247
- public function display_icon() {
248
- if ( $this->get_icon() ) : ?>
249
- <img class="icon <?php echo esc_attr( $this->get_slug() ); ?>" src="<?php echo esc_attr( $this->get_icon() ); ?>" alt="<?php echo esc_attr( $this->get_title() ); ?>">
250
- <?php endif;
251
- }
252
-
253
- public function display_promo() {
254
- if ( $this->get_icon() ) {
255
- $this->display_icon();
256
-
257
- return;
258
- }
259
-
260
- echo $this->get_title();
261
- }
262
-
263
- /**
264
- * @return AC\Column\Placeholder
265
- */
266
- public function get_placeholder_column() {
267
- $column = new AC\Column\Placeholder();
268
- $column->set_addon( $this );
269
-
270
- return $column;
271
- }
272
-
273
- /**
274
- * @param string $title
275
- *
276
- * @return string
277
- */
278
- protected function get_fields_description( $title ) {
279
- return sprintf( __( 'Display and edit %s fields in the posts overview in seconds!', 'codepress-admin-columns' ), $title );
280
- }
281
-
282
- /**
283
- * Activate plugin
284
- *
285
- * @param $basename
286
- *
287
- * @return string
288
- */
289
- public function get_activation_url( $basename ) {
290
- return $this->get_plugin_action_url( 'activate', $basename );
291
- }
292
-
293
- /**
294
- * Deactivate plugin
295
- *
296
- * @param $basename
297
- *
298
- * @return string
299
- */
300
- public function get_deactivation_url( $basename ) {
301
- return $this->get_plugin_action_url( 'deactivate', $basename );
302
- }
303
-
304
- /**
305
- * Activate or Deactivate plugin
306
- *
307
- * @param string $action
308
- * @param $basename
309
- *
310
- * @return string
311
- */
312
- private function get_plugin_action_url( $action = 'activate', $basename ) {
313
- $plugin_url = add_query_arg( array(
314
- 'action' => $action,
315
- 'plugin' => $basename,
316
- 'ac-redirect' => true,
317
- ), admin_url( 'plugins.php' ) );
318
-
319
- return wp_nonce_url( $plugin_url, $action . '-plugin_' . $basename );
320
- }
321
-
322
- /**
323
- * @param string $plugin_url
324
- *
325
- * @return $this
326
- */
327
- public function set_plugin_url( $plugin_url ) {
328
- $this->plugin_url = $plugin_url;
329
-
330
- return $this;
331
- }
332
-
333
- /**
334
- * @return string
335
- */
336
- public function get_plugin_url() {
337
- if ( null === $this->plugin_url ) {
338
- $this->set_plugin_url( add_query_arg( array(
339
- 'tab' => 'search',
340
- 'type' => 'term',
341
- 's' => $this->get_title(),
342
- ), admin_url( 'plugin-install.php' ) ) );
343
- }
344
-
345
- return $this->plugin_url;
346
- }
347
-
348
- /**
349
- * @return bool Should a notice be always shown
350
- */
351
- public function is_notice_screen() {
352
- return true;
353
- }
354
-
355
- }
classes/Admin/Addon/ACF.php DELETED
@@ -1,54 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin\Addon;
4
-
5
- use AC\Admin\Addon;
6
-
7
- class ACF extends Addon {
8
-
9
- public function __construct() {
10
- parent::__construct( 'ac-addon-acf' );
11
-
12
- $this
13
- ->set_title( __( 'Advanced Custom Fields', 'codepress-admin-columns' ) )
14
- ->set_logo( AC()->get_url() . 'assets/images/addons/acf.png' )
15
- ->set_icon( $this->get_logo() )
16
- ->set_link( ac_get_site_utm_url( 'advanced-custom-fields-columns', 'addon', 'acf' ) )
17
- ->set_description( $this->get_fields_description( $this->get_title() ) )
18
- ->add_plugin( 'advanced-custom-fields' )
19
- ->add_plugin( 'advanced-custom-fields-pro' );
20
- }
21
-
22
- public function display_promo() {
23
- echo $this->get_title() . ' ';
24
-
25
- $this->display_icon();
26
- }
27
-
28
- public function get_plugin() {
29
- foreach ( $this->get_plugins() as $plugin ) {
30
- if ( $plugin->is_installed() ) {
31
- return $plugin;
32
- }
33
- }
34
-
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
-
51
- return 'edit.php' === $pagenow && 'acf-field-group' === filter_input( INPUT_GET, 'post_type' );
52
- }
53
-
54
- }
classes/Admin/Addon/BuddyPress.php DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin\Addon;
4
-
5
- use AC\Admin\Addon;
6
-
7
- class BuddyPress extends Addon {
8
-
9
- public function __construct() {
10
- parent::__construct( 'ac-addon-buddypress' );
11
-
12
- $this
13
- ->set_title( __( 'BuddyPress', 'codepress-admin-columns' ) )
14
- ->set_logo( AC()->get_url() . 'assets/images/addons/buddypress.png' )
15
- ->set_icon( AC()->get_url() . 'assets/images/addons/buddypress-icon.png' )
16
- ->set_link( ac_get_site_utm_url( 'buddypress', 'addon', 'buddypress' ) )
17
- ->set_description( __( 'Display any of your Profile Fields for BuddyPress on your users overview.', 'codepress-admin-columns' ) )
18
- ->add_plugin( 'buddypress' );
19
- }
20
-
21
- public function display_promo() {
22
- echo $this->get_title() . ' ';
23
- $this->display_icon();
24
- }
25
-
26
- public function is_plugin_active() {
27
- return class_exists( 'BuddyPress', false );
28
- }
29
-
30
- }
classes/Admin/Addon/EventsCalendar.php DELETED
@@ -1,36 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin\Addon;
4
-
5
- use AC\Admin\Addon;
6
-
7
- class EventsCalendar extends Addon {
8
-
9
- public function __construct() {
10
- parent::__construct( 'ac-addon-events-calendar' );
11
-
12
- $this
13
- ->set_title( __( 'The Events Calendar', 'codepress-admin-columns' ) )
14
- ->set_logo( AC()->get_url() . 'assets/images/addons/events-calendar.png' )
15
- ->set_icon( AC()->get_url() . 'assets/images/addons/events-calendar-icon.png' )
16
- ->set_link( ac_get_site_utm_url( 'events-calendar', 'addon', 'events-calendar' ) )
17
- ->set_description( __( 'Manage columns for your event, organizer or venue overviews.', 'codepress-admin-columns' ) )
18
- ->add_plugin( 'events-calendar' );
19
- }
20
-
21
- public function display_promo() {
22
- echo $this->get_title() . ' ';
23
- $this->display_icon();
24
- }
25
-
26
- public function is_notice_screen() {
27
- global $pagenow;
28
-
29
- return 'edit.php' === $pagenow && in_array( filter_input( INPUT_GET, 'post_type' ), array( 'tribe_events', 'tribe_venue', 'tribe_organizer' ) );
30
- }
31
-
32
- public function is_plugin_active() {
33
- return class_exists( 'Tribe__Events__Main' );
34
- }
35
-
36
- }
classes/Admin/Addon/NinjaForms.php DELETED
@@ -1,36 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin\Addon;
4
-
5
- use AC\Admin\Addon;
6
-
7
- class NinjaForms extends Addon {
8
-
9
- public function __construct() {
10
- parent::__construct( 'ac-addon-ninjaforms' );
11
-
12
- $this
13
- ->set_title( __( 'Ninja Forms', 'codepress-admin-columns' ) )
14
- ->set_logo( AC()->get_url() . 'assets/images/addons/ninja-forms.png' )
15
- ->set_icon( AC()->get_url() . 'assets/images/addons/ninja-forms-icon.png' )
16
- ->set_link( ac_get_site_utm_url( 'ninja-forms', 'addon', 'ninjaforms' ) )
17
- ->set_description( __( 'Add Ninja Forms columns that can be sorted, filtered and directly edited!', 'codepress-admin-columns' ) )
18
- ->add_plugin( 'ninjaforms' );
19
- }
20
-
21
- public function display_promo() {
22
- echo $this->get_title() . ' ';
23
- $this->display_icon();
24
- }
25
-
26
- public function is_notice_screen() {
27
- global $pagenow;
28
-
29
- return 'admin.php' === $pagenow && in_array( filter_input( INPUT_GET, 'page' ), array( 'bp-activity', 'bp-groups' ) );
30
- }
31
-
32
- public function is_plugin_active() {
33
- return class_exists( 'Ninja_Forms' );
34
- }
35
-
36
- }
classes/Admin/Addon/Pods.php DELETED
@@ -1,36 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin\Addon;
4
-
5
- use AC\Admin\Addon;
6
-
7
- class Pods extends Addon {
8
-
9
- public function __construct() {
10
- parent::__construct( 'ac-addon-pods' );
11
-
12
- $this
13
- ->set_title( __( 'Pods', 'codepress-admin-columns' ) )
14
- ->set_logo( AC()->get_url() . 'assets/images/addons/pods.png' )
15
- ->set_icon( AC()->get_url() . 'assets/images/addons/pods-icon.png' )
16
- ->set_link( ac_get_site_utm_url( 'pods', 'addon', 'pods' ) )
17
- ->set_description( $this->get_fields_description( $this->get_title() ) )
18
- ->add_plugin( 'pods' );
19
- }
20
-
21
- public function display_promo() {
22
- echo $this->get_title() . ' ';
23
- $this->display_icon();
24
- }
25
-
26
- public function is_notice_screen() {
27
- global $pagenow;
28
-
29
- return 'admin.php' === $pagenow && in_array( filter_input( INPUT_GET, 'page' ), array( 'pods-add-new', 'pods-settings' ) );
30
- }
31
-
32
- public function is_plugin_active() {
33
- return function_exists( 'pods' );
34
- }
35
-
36
- }
classes/Admin/Addon/Types.php DELETED
@@ -1,31 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin\Addon;
4
-
5
- use AC\Admin\Addon;
6
-
7
- class Types extends Addon {
8
-
9
- public function __construct() {
10
- parent::__construct( 'ac-addon-types' );
11
-
12
- $this
13
- ->set_title( __( 'Toolset Types', 'codepress-admin-columns' ) )
14
- ->set_logo( AC()->get_url() . 'assets/images/addons/toolset-types.png' )
15
- ->set_icon( AC()->get_url() . 'assets/images/addons/toolset-types-icon.png' )
16
- ->set_link( ac_get_site_utm_url( 'toolset-types', 'addon', 'types' ) )
17
- ->set_description( $this->get_fields_description( $this->get_title() ) )
18
- ->add_plugin( 'types' );
19
- }
20
-
21
- public function is_notice_screen() {
22
- global $pagenow;
23
-
24
- return 'admin.php' === $pagenow && in_array( filter_input( INPUT_GET, 'page' ), array( 'toolset-dashboard', 'wpcf-cpt', 'wpcf-cf', 'toolset-settings' ) );
25
- }
26
-
27
- public function is_plugin_active() {
28
- return class_exists( 'Types_Main', false );
29
- }
30
-
31
- }
classes/Admin/Addon/WooCommerce.php DELETED
@@ -1,33 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin\Addon;
4
-
5
- use AC\Admin\Addon;
6
- use AC\Column;
7
-
8
- class WooCommerce extends Addon {
9
-
10
- public function __construct() {
11
- parent::__construct( 'ac-addon-woocommerce' );
12
-
13
- $this
14
- ->set_title( __( 'WooCommerce', 'codepress-admin-columns' ) )
15
- ->set_description( __( 'Enhance the products, orders and coupons overviews with new columns and inline editing.', 'codepress-admin-columns' ) )
16
- ->set_logo( AC()->get_url() . 'assets/images/addons/woocommerce.png' )
17
- ->set_icon( $this->get_logo() )
18
- ->set_link( ac_get_site_utm_url( 'woocommerce-columns', 'addon', 'woocommerce' ) )
19
- ->add_plugin( 'woocommerce' );
20
- }
21
-
22
- public function get_placeholder_column() {
23
- $column = new Column\WooCommercePlaceholder();
24
- $column->set_addon( $this );
25
-
26
- return $column;
27
- }
28
-
29
- public function is_plugin_active() {
30
- return class_exists( 'WooCommerce', false );
31
- }
32
-
33
- }
classes/Admin/Addons.php DELETED
@@ -1,101 +0,0 @@
1
- <?php
2
-
3
- namespace AC\Admin;
4
-
5
- use AC;
6
-
7
- class Addons {
8
-
9
- /**
10
- * @var Addon[]
11
- */
12
- private $addons;
13
-
14
- /**
15
- * @return Addon[]
16
- */
17
- public function get_addons() {
18
- if ( null === $this->addons ) {
19
- $this->set_addons();
20
- }
21
-
22
- return $this->addons;
23
- }
24
-
25
- /**
26
- * @return Addon[]
27
- */
28
- public function get_active_promo() {
29