Toolset Types – Custom Post Types, Custom Fields and Taxonomies - Version 2.2

Version Description

  • Added feature to output title, description, caption and alt text using placeholders in image field.
  • Added types_import_from_zip_file API filter.
  • Added types_finished_saving_child_posts API action as a workaround for https://core.trac.wordpress.org/ticket/17817.
  • Fixed error when generic field definitions are queried by Types-specific arguments.
  • Fixed warnings when saving a child post with repetitive field in the parent's edit page.
  • Fixed issue where internal "Types Term Groups" post type was appearing in some places that it should not.
  • Fixed issue in RTL languages where save button was being overlapped by cancel button on field group conditions.
  • Fixed issue with post relationship query in WPML default language.
  • Fixed issue with term field checkboxes options which were not able to be edit
  • Fixed performance issue with frontend display table.
  • Fixed issue with same fields in multiple field groups and they are now being displayed only once in post/user/term edit pages.
Download this release

Release Info

Developer christianglingener
Plugin Icon 128x128 Toolset Types – Custom Post Types, Custom Fields and Taxonomies
Version 2.2
Comparing to
See all releases

Code changes from version 2.1 to 2.2

Files changed (279) hide show
  1. application/api.php +158 -6
  2. application/bootstrap.php +1 -1
  3. application/controllers/api/handler/import_from_zip_file.php +119 -0
  4. application/controllers/api/handler/interface.php +16 -0
  5. application/controllers/api/handler/query_groups.php +79 -0
  6. application/controllers/information/controller.php +1 -0
  7. application/controllers/main.php +29 -13
  8. application/controllers/page/field_control.php +1 -1
  9. application/data/dashboard/table/archive.php +0 -20
  10. application/data/dashboard/table/forms.php +1 -1
  11. application/data/dashboard/table/head.php +17 -2
  12. application/data/dashboard/table/template.php +0 -20
  13. application/data/dashboard/table/views.php +1 -1
  14. application/data/documentation-urls.php +66 -47
  15. application/data/information/table/archive.php +1 -21
  16. application/data/information/table/forms.php +1 -1
  17. application/data/information/table/question-marks.php +17 -2
  18. application/data/information/table/template.php +0 -20
  19. application/data/information/table/views.php +1 -1
  20. application/functions.php +14 -3
  21. application/models/field/group.php +51 -10
  22. application/models/field/group/factory.php +9 -1
  23. application/models/field/group/post.php +3 -3
  24. application/models/field/group/post_factory.php +2 -2
  25. application/models/field/group/term.php +4 -3
  26. application/models/field/group/term_factory.php +15 -3
  27. application/models/field/group/user.php +2 -2
  28. application/models/field/group/user_factory.php +2 -2
  29. application/models/field/type/definition_factory.php +1 -0
  30. application/models/helper/condition.php +2 -0
  31. application/models/helper/placeholder.php +18 -13
  32. application/models/helper/url.php +1 -26
  33. application/models/information/message.php +0 -14
  34. application/models/post_type.php +6 -1
  35. application/models/taxonomy.php +5 -0
  36. no_autoload_classmap.php → disabled_autoload_classmap.php +0 -0
  37. library/{toolset → otgs}/installer/changelog.txt +9 -0
  38. library/{toolset → otgs}/installer/includes/class-installer-dependencies.php +0 -0
  39. library/{toolset → otgs}/installer/includes/class-installer-theme.php +0 -0
  40. library/{toolset → otgs}/installer/includes/installer-api.php +35 -0
  41. library/{toolset → otgs}/installer/includes/installer-upgrader-skins.php +0 -0
  42. library/{toolset → otgs}/installer/includes/installer.class.php +52 -31
  43. library/{toolset → otgs}/installer/includes/translation-service-info.class.php +5 -0
  44. library/{toolset → otgs}/installer/installer.php +1 -1
  45. library/{toolset → otgs}/installer/loader.php +1 -1
  46. library/{toolset → otgs}/installer/locale/installer-ar.mo +0 -0
  47. library/{toolset → otgs}/installer/locale/installer-de_DE.mo +0 -0
  48. library/{toolset → otgs}/installer/locale/installer-el.mo +0 -0
  49. library/{toolset → otgs}/installer/locale/installer-es_ES.mo +0 -0
  50. library/{toolset → otgs}/installer/locale/installer-fr_FR.mo +0 -0
  51. library/{toolset → otgs}/installer/locale/installer-he_IL.mo +0 -0
  52. library/{toolset → otgs}/installer/locale/installer-it_IT.mo +0 -0
  53. library/{toolset → otgs}/installer/locale/installer-ja.mo +0 -0
  54. library/{toolset → otgs}/installer/locale/installer-ko_KR.mo +0 -0
  55. library/{toolset → otgs}/installer/locale/installer-nl_NL.mo +0 -0
  56. library/{toolset → otgs}/installer/locale/installer-pl_PL.mo +0 -0
  57. library/{toolset → otgs}/installer/locale/installer-pt_BR.mo +0 -0
  58. library/{toolset → otgs}/installer/locale/installer-pt_PT.mo +0 -0
  59. library/{toolset → otgs}/installer/locale/installer-ru_RU.mo +0 -0
  60. library/{toolset → otgs}/installer/locale/installer-sv_SE.mo +0 -0
  61. library/{toolset → otgs}/installer/locale/installer-uk_UA.mo +0 -0
  62. library/{toolset → otgs}/installer/locale/installer-vi.mo +0 -0
  63. library/{toolset → otgs}/installer/locale/installer-zh_CN.mo +0 -0
  64. library/{toolset → otgs}/installer/locale/installer-zh_TW.mo +0 -0
  65. library/{toolset → otgs}/installer/locale/orig/installer.po +0 -0
  66. library/{toolset → otgs}/installer/repositories.xml +0 -0
  67. library/{toolset → otgs}/installer/res/css/admin.css +25 -10
  68. library/{toolset → otgs}/installer/res/img/complete.png +0 -0
  69. library/{toolset → otgs}/installer/res/img/computer.png +0 -0
  70. library/{toolset → otgs}/installer/res/img/dn.gif +0 -0
  71. library/{toolset → otgs}/installer/res/img/dn2.gif +0 -0
  72. library/{toolset → otgs}/installer/res/img/globe.png +0 -0
  73. library/{toolset → otgs}/installer/res/img/icon_error.gif +0 -0
  74. library/{toolset → otgs}/installer/res/img/on.png +0 -0
  75. library/{toolset → otgs}/installer/res/img/spinner.gif +0 -0
  76. library/{toolset → otgs}/installer/res/js/admin.js +0 -0
  77. library/{toolset → otgs}/installer/res/js/iframeResizer.min.js +0 -0
  78. library/{toolset → otgs}/installer/res/js/installer_theme_install.js +0 -0
  79. library/{toolset → otgs}/installer/templates/downloads-list-compact.php +0 -0
  80. library/{toolset → otgs}/installer/templates/downloads-list.php +0 -0
  81. library/{toolset → otgs}/installer/templates/products-compact.php +0 -0
  82. library/{toolset → otgs}/installer/templates/repository-listing.php +0 -0
  83. library/toolset/filesystem/file.php +3 -0
  84. library/toolset/onthego-resources/loader.php +1 -2
  85. library/toolset/onthego-resources/onthego-styles/onthego-buttons.css +266 -266
  86. library/toolset/onthego-resources/onthego-styles/onthego-styles-helper.css +338 -0
  87. library/toolset/onthego-resources/onthego-styles/onthego-styles-helper.scss +11 -2
  88. library/toolset/onthego-resources/onthegosystems-icons/.fontcustom-manifest.json +55 -7
  89. library/toolset/onthego-resources/onthegosystems-icons/css/_onthegosystems-icons.scss +66 -6
  90. library/toolset/onthego-resources/onthegosystems-icons/css/onthegosystems-icons.css +28 -6
  91. library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons-preview.html +172 -7
  92. library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.woff +0 -0
  93. library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot} +0 -0
  94. library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg} +139 -82
  95. library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.ttf → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf} +0 -0
  96. library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff +0 -0
  97. library/toolset/onthego-resources/onthegosystems-icons/vectors/bootstrap-original-logo.svg +21 -0
  98. library/toolset/onthego-resources/onthegosystems-icons/vectors/bootstrap-pagination.svg +1 -0
  99. library/toolset/onthego-resources/onthegosystems-icons/vectors/breadcrumbs.svg +1 -0
  100. library/toolset/onthego-resources/onthegosystems-icons/vectors/btn-dropdowns.svg +1 -0
  101. library/toolset/onthego-resources/onthegosystems-icons/vectors/buttons.svg +1 -0
  102. library/toolset/onthego-resources/onthegosystems-icons/vectors/input-groups.svg +1 -0
  103. library/toolset/onthego-resources/onthegosystems-icons/vectors/labels.svg +1 -0
  104. library/toolset/onthego-resources/onthegosystems-icons/vectors/list-group.svg +1 -0
  105. library/toolset/onthego-resources/onthegosystems-icons/vectors/navbar.svg +1 -0
  106. library/toolset/onthego-resources/onthegosystems-icons/vectors/panels.svg +1 -0
  107. library/toolset/onthego-resources/onthegosystems-icons/vectors/wells.svg +1 -0
  108. library/toolset/toolset-common/bootstrap.php +9 -0
  109. library/toolset/toolset-common/changelog.txt +9 -0
  110. library/toolset/toolset-common/inc/toolset.assets.manager.class.php +15 -0
  111. library/toolset/toolset-common/inc/toolset.css.component.class.php +554 -0
  112. library/toolset/toolset-common/inc/toolset.promotion.class.php +1 -1
  113. library/toolset/toolset-common/inc/toolset.relevanssi.compatibility.class.php +757 -0
  114. library/toolset/toolset-common/inc/toolset.settings.class.php +45 -0
  115. library/toolset/toolset-common/languages/views-ar.mo +0 -0
  116. library/toolset/toolset-common/languages/views-de_DE.mo +0 -0
  117. library/toolset/toolset-common/languages/views-el.mo +0 -0
  118. library/toolset/toolset-common/languages/views-es_ES.mo +0 -0
  119. library/toolset/toolset-common/languages/views-fr_FR.mo +0 -0
  120. library/toolset/toolset-common/languages/views-he_IL.mo +0 -0
  121. library/toolset/toolset-common/languages/views-it_IT.mo +0 -0
  122. library/toolset/toolset-common/languages/views-ja.mo +0 -0
  123. library/toolset/toolset-common/languages/views-ko_KR.mo +0 -0
  124. library/toolset/toolset-common/languages/views-nl_NL.mo +0 -0
  125. library/toolset/toolset-common/languages/views-pl_PL.mo +0 -0
  126. library/toolset/toolset-common/languages/views-pt_BR.mo +0 -0
  127. library/toolset/toolset-common/languages/views-pt_PT.mo +0 -0
  128. library/toolset/toolset-common/languages/views-ru_RU.mo +0 -0
  129. library/toolset/toolset-common/languages/views-sv_SE.mo +0 -0
  130. library/toolset/toolset-common/languages/views-uk_UA.mo +0 -0
  131. library/toolset/toolset-common/languages/views-vi.mo +0 -0
  132. library/toolset/toolset-common/languages/views-zh_CN.mo +0 -0
  133. library/toolset/toolset-common/languages/views-zh_TW.mo +0 -0
  134. library/toolset/toolset-common/loader.php +1 -2
  135. library/toolset/toolset-common/loader.php.orig +95 -0
  136. library/toolset/toolset-common/res/css/toolset-bs-component.css +135 -0
  137. library/toolset/toolset-common/res/css/toolset-dialogs.css +19 -3
  138. library/toolset/toolset-common/res/css/toolset-promotion.css +1 -1
  139. library/toolset/toolset-common/res/js/toolset-bs-component-buttons.js +305 -0
  140. library/toolset/toolset-common/res/js/toolset-bs-component-events.js +205 -0
  141. library/toolset/toolset-common/res/js/toolset-settings-relevanssi.js +130 -0
  142. library/toolset/toolset-common/res/lib/glyphicons/css/glyphicons.css +820 -0
  143. library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.eot +0 -0
  144. library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.svg +288 -0
  145. library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.ttf +0 -0
  146. library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.woff +0 -0
  147. library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.woff2 +0 -0
  148. library/toolset/toolset-common/toolset-common-loader.php +5 -3
  149. library/toolset/toolset-common/toolset-forms/classes/class.credfile.php +13 -12
  150. library/toolset/toolset-common/toolset-forms/classes/class.date.php +5 -3
  151. library/toolset/toolset-common/toolset-forms/classes/class.eforms.php +32 -4
  152. library/toolset/toolset-common/toolset-forms/classes/class.fieldconfig.php +2 -9
  153. library/toolset/toolset-common/toolset-forms/classes/class.select.php +16 -15
  154. library/toolset/toolset-common/toolset-forms/classes/class.wysiwyg.php +6 -1
  155. library/toolset/toolset-common/toolset-forms/classes/submit.php +20 -29
  156. library/toolset/toolset-common/toolset-forms/css/wpt-toolset-backend.css +8 -2
  157. library/toolset/toolset-common/toolset-forms/js/credfile.js +12 -10
  158. library/toolset/toolset-common/toolset-forms/js/jquery_upload/file_upload.js +105 -63
  159. library/toolset/toolset-common/toolset-forms/js/main.js +9 -0
  160. library/toolset/toolset-common/toolset-forms/js/validation.js +47 -29
  161. library/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/jquery.validate.js +17 -17
  162. library/toolset/toolset-common/toolset-forms/templates/metaform-item.php +1 -1
  163. library/toolset/toolset-common/user-editors/beta.php +87 -0
  164. library/toolset/toolset-common/user-editors/editor/abstract.php +65 -0
  165. library/toolset/toolset-common/user-editors/editor/basic.php +20 -0
  166. library/toolset/toolset-common/user-editors/editor/beaver.php +47 -0
  167. library/toolset/toolset-common/user-editors/editor/interface.php +20 -0
  168. library/toolset/toolset-common/user-editors/editor/screen/abstract.php +32 -0
  169. library/toolset/toolset-common/user-editors/editor/screen/basic/backend.php +30 -0
  170. library/toolset/toolset-common/user-editors/editor/screen/basic/backend.phtml +81 -0
  171. library/toolset/toolset-common/user-editors/editor/screen/beaver/backend.css +16 -0
  172. library/toolset/toolset-common/user-editors/editor/screen/beaver/backend.js +29 -0
  173. library/toolset/toolset-common/user-editors/editor/screen/beaver/backend.php +253 -0
  174. library/toolset/toolset-common/user-editors/editor/screen/beaver/backend.phtml +86 -0
  175. library/toolset/toolset-common/user-editors/editor/screen/beaver/backend_layout_template.js +135 -0
  176. library/toolset/toolset-common/user-editors/editor/screen/beaver/frontend-editor-template-fallback.php +15 -0
  177. library/toolset/toolset-common/user-editors/editor/screen/beaver/frontend-editor.php +135 -0
  178. library/toolset/toolset-common/user-editors/editor/screen/beaver/frontend.php +237 -0
  179. library/toolset/toolset-common/user-editors/editor/screen/interface.php +8 -0
  180. library/toolset/toolset-common/user-editors/editor/screen/visual-composer/backend.php +169 -0
  181. library/toolset/toolset-common/user-editors/editor/screen/visual-composer/frontend.php +49 -0
  182. library/toolset/toolset-common/user-editors/editor/visual-composer.php +71 -0
  183. library/toolset/toolset-common/user-editors/interface.php +18 -0
  184. library/toolset/toolset-common/user-editors/manager.php +142 -0
  185. library/toolset/toolset-common/user-editors/medium/abstract.php +99 -0
  186. library/toolset/toolset-common/user-editors/medium/content-template.php +270 -0
  187. library/toolset/toolset-common/user-editors/medium/interface.php +113 -0
  188. library/toolset/toolset-common/user-editors/medium/screen/abstract.php +27 -0
  189. library/toolset/toolset-common/user-editors/medium/screen/content-template/backend.php +26 -0
  190. library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend-editor.css +30 -0
  191. library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend-editor.js +31 -0
  192. library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend-editor.php +198 -0
  193. library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend.php +90 -0
  194. library/toolset/toolset-common/user-editors/medium/screen/interface.php +25 -0
  195. library/toolset/toolset-common/user-editors/resource/interface.php +10 -0
  196. library/toolset/toolset-common/user-editors/resource/types/dialog.php +169 -0
  197. library/toolset/toolset-common/user-editors/resource/views/dialog/dialog.css +4241 -0
  198. library/toolset/toolset-common/user-editors/resource/views/dialog/dialog.php +96 -0
  199. library/toolset/toolset-common/user-editors/resource/views/dialog/for-any-input.css +24 -0
  200. library/toolset/toolset-common/user-editors/resource/views/dialog/for-any-input.js +17 -0
  201. library/toolset/toolset-common/user-editors/resource/views/dialog/for-any-input.php +74 -0
  202. library/toolset/toolset-common/user-editors/resource/views/dialog/types-fields.php +179 -0
  203. library/toolset/toolset-common/utility/dialogs/css/dd-dialogs-general.css +1 -1
  204. library/toolset/toolset-common/utility/dialogs/css/dd-dialogs.css +5 -4
  205. library/toolset/toolset-common/utility/dialogs/js/views/abstract/dialog-view.js +8 -3
  206. library/toolset/toolset-common/utility/help-videos/res/js/toolset-help-videos.js +5 -5
  207. library/toolset/toolset-common/utility/help-videos/templates/help-video.tpl.php +1 -0
  208. library/toolset/toolset-common/utility/help-videos/toolset-help-videos.php +3 -1
  209. library/toolset/toolset-common/utility/js/utils.js +2 -2
  210. library/toolset/toolset-common/visual-editor/editor-addon-generic.class.php +6 -1
  211. library/toolset/toolset-common/visual-editor/views-editor-addon.class.php +3 -1
  212. library/toolset/types/{no_autoload_classmap.php → disabled_autoload_classmap.php} +0 -0
  213. library/toolset/types/embedded/admin.php +21 -0
  214. library/toolset/types/embedded/bootstrap.php +5 -7
  215. library/toolset/types/embedded/classes/class.wpcf-post-types.php +0 -3
  216. library/toolset/types/embedded/classes/field/accessor/dummy.php +4 -1
  217. library/toolset/types/embedded/classes/field/datamapper/abstract.php +2 -2
  218. library/toolset/types/embedded/classes/field/datamapper/checkbox.php +2 -1
  219. library/toolset/types/embedded/classes/field/definition_factory.php +28 -20
  220. library/toolset/types/embedded/classes/field/instance_abstract.php +6 -2
  221. library/toolset/types/embedded/classes/field/renderer/preview/checkbox.php +3 -1
  222. library/toolset/types/embedded/classes/loader.php +4 -2
  223. library/toolset/types/embedded/classes/relationship.php +7 -0
  224. library/toolset/types/embedded/classes/relationship/form-child.php +1 -1
  225. library/toolset/types/embedded/classes/wpviews.php +3 -3
  226. library/toolset/types/embedded/functions.php +4 -0
  227. library/toolset/types/embedded/includes/classes/class.types.data.installer.php +4 -3
  228. library/toolset/types/embedded/includes/fields-post.php +17 -0
  229. library/toolset/types/embedded/includes/fields.php +4 -4
  230. library/toolset/types/embedded/includes/fields/checkbox.php +7 -2
  231. library/toolset/types/embedded/includes/fields/entry.php +1 -1
  232. library/toolset/types/embedded/includes/fields/image.php +49 -4
  233. library/toolset/types/embedded/includes/fields/radio.php +2 -2
  234. library/toolset/types/embedded/includes/fields/textfield.php +1 -1
  235. library/toolset/types/embedded/includes/import-export.php +5 -1
  236. library/toolset/types/embedded/includes/post-relationship.php +16 -1
  237. library/toolset/types/embedded/locale/types-ar.mo +0 -0
  238. library/toolset/types/embedded/locale/types-de_DE.mo +0 -0
  239. library/toolset/types/embedded/locale/types-el.mo +0 -0
  240. library/toolset/types/embedded/locale/types-es_ES.mo +0 -0
  241. library/toolset/types/embedded/locale/types-fr_FR.mo +0 -0
  242. library/toolset/types/embedded/locale/types-he_IL.mo +0 -0
  243. library/toolset/types/embedded/locale/types-it_IT.mo +0 -0
  244. library/toolset/types/embedded/locale/types-ja.mo +0 -0
  245. library/toolset/types/embedded/locale/types-ko_KR.mo +0 -0
  246. library/toolset/types/embedded/locale/types-nl_NL.mo +0 -0
  247. library/toolset/types/embedded/locale/types-pl_PL.mo +0 -0
  248. library/toolset/types/embedded/locale/types-pt_BR.mo +0 -0
  249. library/toolset/types/embedded/locale/types-pt_PT.mo +0 -0
  250. library/toolset/types/embedded/locale/types-ru_RU.mo +0 -0
  251. library/toolset/types/embedded/locale/types-sv_SE.mo +0 -0
  252. library/toolset/types/embedded/locale/types-uk_UA.mo +0 -0
  253. library/toolset/types/embedded/locale/types-vi.mo +0 -0
  254. library/toolset/types/embedded/locale/types-zh_CN.mo +0 -0
  255. library/toolset/types/embedded/locale/types-zh_TW.mo +0 -0
  256. library/toolset/types/embedded/resources/css/basic.css +15 -0
  257. library/toolset/types/embedded/resources/js/basic.js +918 -733
  258. library/toolset/types/embedded/resources/js/conditional.js +21 -20
  259. library/toolset/types/embedded/resources/js/editor.js +4 -0
  260. library/toolset/types/embedded/resources/js/modal.js +4 -4
  261. library/toolset/types/embedded/resources/js/post-relationship.js +25 -1
  262. library/toolset/types/embedded/usermeta-init.php +2 -2
  263. library/toolset/types/embedded/views/image.php +11 -11
  264. library/toolset/types/embedded/views/templates/editor-modal-image.tpl.php +43 -2
  265. library/toolset/types/help.php +1 -1
  266. library/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php +7 -0
  267. library/toolset/types/includes/classes/class.types.admin.edit.fields.php +22 -24
  268. library/toolset/types/includes/classes/class.types.admin.edit.meta.fields.group.php +5 -0
  269. library/toolset/types/includes/classes/class.types.admin.edit.post.type.php +6 -2
  270. library/toolset/types/includes/classes/page/edit/termmeta_form.php +3 -0
  271. library/toolset/types/includes/post-relationship.php +1 -1
  272. library/toolset/types/resources/js/fields-form.js +6 -2
  273. library/toolset/types/wpcf.php +154 -0
  274. public/css/information.css +14 -0
  275. public/js/feedback-on-deactivation.js +37 -0
  276. public/js/notice-dismiss.js +12 -0
  277. public/page/add_term.js +7 -2
  278. readme.txt +15 -1
  279. wpcf.php +7 -4
application/api.php CHANGED
@@ -7,7 +7,16 @@
7
  *
8
  * Note: Types_Api is initialized on after_setup_theme with priority 10.
9
  *
10
- * @since 2.1
 
 
 
 
 
 
 
 
 
11
  */
12
  final class Types_Api {
13
 
@@ -20,19 +29,98 @@ final class Types_Api {
20
  return self::$instance;
21
  }
22
 
 
 
 
 
 
23
 
24
  public static function initialize() {
25
- self::get_instance();
 
 
26
  }
27
 
28
 
29
- private function __clone() { }
 
30
 
31
- private function __construct() {
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  /**
34
  * get all field group ids by post type
35
- * @todo document
36
  */
37
  add_filter( 'types_filter_get_field_group_ids_by_post_type', array( 'Types_Api_Helper', 'get_field_group_ids_by_post_type' ), 10, 2 );
38
 
@@ -50,9 +138,62 @@ final class Types_Api {
50
  * @since 2.1
51
  */
52
  add_filter( 'types_filter_query_field_definitions', array( $this, 'query_field_definitions' ), 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  }
54
 
55
 
 
56
  /**
57
  * Hook for types_filter_query_field_definitions.
58
  *
@@ -61,8 +202,11 @@ final class Types_Api {
61
  * Additionally, you can specify:
62
  * - 'domain': A single field domain (see Types_Field_Utils) or 'all'. Legacy domain names are also accepted.
63
  * For 'all', the method returns a multidimensional arrays with results for individual domains:
 
64
  * array( 'posts' => array( ... ), 'users' => array( ... ), ... ).
65
  *
 
 
66
  * @return null|array Field definition arrays, sanitized as per field type, or null if an error has occurred.
67
  * @since 2.1
68
  */
@@ -108,7 +252,14 @@ final class Types_Api {
108
 
109
  // Allways query only Types fields.
110
  $query['filter'] = 'types';
111
-
 
 
 
 
 
 
 
112
  /** @var WPCF_Field_Definition[] $definitions */
113
  $definitions = $definition_factory->query_definitions( $query );
114
  $definition_arrays = array();
@@ -119,4 +270,5 @@ final class Types_Api {
119
  return $definition_arrays;
120
  }
121
  }
 
122
  }
7
  *
8
  * Note: Types_Api is initialized on after_setup_theme with priority 10.
9
  *
10
+ * When implementing filter hooks, please follow these rules:
11
+ *
12
+ * 1. All filter names are automatically prefixed with 'types_'. Only lowercase characters and underscores
13
+ * can be used.
14
+ * 2. Filter names (without a prefix) should be defined in self::$callbacks.
15
+ * 3. For each filter, there should be a dedicated class implementing the Types_Api_Handler_Interface. Name of the class
16
+ * must be Types_Api_Handler_{$capitalized_filter_name}. So for example, for a hook to
17
+ * 'types_import_from_zip_file' you need to create a class 'Types_Api_Handler_Import_From_Zip_File'.
18
+ *
19
+ * @since 2.2
20
  */
21
  final class Types_Api {
22
 
29
  return self::$instance;
30
  }
31
 
32
+ private function __clone() { }
33
+
34
+ private function __construct() { }
35
+
36
+
37
 
38
  public static function initialize() {
39
+ $instance = self::get_instance();
40
+
41
+ $instance->register_callbacks();
42
  }
43
 
44
 
45
+ /** Prefix for the callback method name */
46
+ const CALLBACK_PREFIX = 'callback_';
47
 
48
+ /** Prefix for the handler class name */
49
+ const HANDLER_CLASS_PREFIX = 'Types_Api_Handler_';
50
+
51
+ const DELIMITER = '_';
52
+
53
+
54
+ private $callbacks_registered = false;
55
+
56
+
57
+ /**
58
+ * @var array Filter names (without prefix) as keys, filter parameters as values:
59
+ * - int $args: Number of arguments of the filter
60
+ */
61
+ private static $callbacks = array(
62
 
63
+ /**
64
+ * types_import_from_zip_file
65
+ *
66
+ * Run an import operation from given ZIP file.
67
+ *
68
+ * The file will, unlike in normal Types import, NOT be deleted.
69
+ *
70
+ * The import will be performed in the context of Framework Installer Views demo, so everything existing
71
+ * will be either overwritten or deleted.
72
+ *
73
+ * @param mixed $default Should be false/null value to indicate that the hook didn't run.
74
+ * @param string $path Absolute path to the ZIP file with Types import data
75
+ * @param array|null $args Optional array with arguments for the underlying legacy import routine.
76
+ * @return true|WP_Error
77
+ * @since 2.2
78
+ */
79
+ 'import_from_zip_file' => array( 'args' => 3 ),
80
+
81
+
82
+ /**
83
+ * types_query_groups
84
+ *
85
+ * Query field groups of one or more domains.
86
+ *
87
+ * @param mixed $ignored
88
+ * @param array $query Field group query.
89
+ * - 'domain': A single field domain (see Types_Field_Utils). Legacy domain names are also accepted:
90
+ * 'posts'|'users'|'terms'|'postmeta'|'usermeta'|'termmeta'|'all'. For 'all',
91
+ * the method returns a multidimensional arrays with results for individual domains:
92
+ * array( 'posts' => array( ... ), 'users' => array( ... ), ... ).
93
+ * - For the rest of the query arguments, see Types_Field_Group_Factory::query_groups().
94
+ *
95
+ * @return null|Types_Field_Group[] Groups, if any, or empty otherwise. Null is returned when the query
96
+ * is invalid.
97
+ *
98
+ * @since 2.2
99
+ */
100
+ 'query_groups' => array( 'args' => 2 )
101
+
102
+ );
103
+
104
+
105
+ private function register_callbacks() {
106
+
107
+
108
+ if( $this->callbacks_registered ) {
109
+ return;
110
+ }
111
+
112
+ foreach( self::$callbacks as $callback_name => $args ) {
113
+
114
+ $argument_count = wpcf_getarr( $args, 'args', 1 );
115
+
116
+ add_filter( 'types_' . $callback_name, array( $this, self::CALLBACK_PREFIX . $callback_name ), 10, $argument_count );
117
+ }
118
+
119
+ $this->callbacks_registered = true;
120
+
121
  /**
122
  * get all field group ids by post type
123
+ * @fixme document this, please!
124
  */
125
  add_filter( 'types_filter_get_field_group_ids_by_post_type', array( 'Types_Api_Helper', 'get_field_group_ids_by_post_type' ), 10, 2 );
126
 
138
  * @since 2.1
139
  */
140
  add_filter( 'types_filter_query_field_definitions', array( $this, 'query_field_definitions' ), 10, 2 );
141
+
142
+
143
+ /**
144
+ * types_is_active
145
+ *
146
+ * Indicate that Types is active. :-)
147
+ *
148
+ * @since 2.2
149
+ * @return bool
150
+ */
151
+ add_filter( 'types_is_active', '__return_true' );
152
+
153
+ }
154
+
155
+
156
+ /**
157
+ * Handle a call to undefined method on this class, hopefully an action/filter call.
158
+ *
159
+ * @param string $name Method name.
160
+ * @param array $parameters Method parameters.
161
+ * @since 2.1
162
+ * @return mixed
163
+ */
164
+ public function __call( $name, $parameters ) {
165
+
166
+ $default_return_value = wpcf_getarr( $parameters, 0, null );
167
+
168
+ // Check for the callback prefix in the method name
169
+ $name_parts = explode( self::DELIMITER, $name );
170
+ if( 0 !== strcmp( $name_parts[0] . self::DELIMITER, self::CALLBACK_PREFIX ) ) {
171
+ // Not a callback, resign.
172
+ return $default_return_value;
173
+ }
174
+
175
+ // Deduct the handler class name from the callback name
176
+ unset( $name_parts[0] );
177
+ $class_name = implode( self::DELIMITER, $name_parts );
178
+ $class_name = strtolower( $class_name );
179
+ $class_name = mb_convert_case( $class_name, MB_CASE_TITLE );
180
+ $class_name = self::HANDLER_CLASS_PREFIX . $class_name;
181
+
182
+ // Obtain an instance of the handler class.
183
+ try {
184
+ /** @var Types_Api_Handler_Interface $handler */
185
+ $handler = new $class_name();
186
+ } catch( Exception $e ) {
187
+ // The handler class could not have been instantiated, resign.
188
+ return $default_return_value;
189
+ }
190
+
191
+ // Success
192
+ return $handler->process_call( $parameters );
193
  }
194
 
195
 
196
+
197
  /**
198
  * Hook for types_filter_query_field_definitions.
199
  *
202
  * Additionally, you can specify:
203
  * - 'domain': A single field domain (see Types_Field_Utils) or 'all'. Legacy domain names are also accepted.
204
  * For 'all', the method returns a multidimensional arrays with results for individual domains:
205
+ * - 'refresh': A boolean to refresh the definitions, useful when getting data after saving fields
206
  * array( 'posts' => array( ... ), 'users' => array( ... ), ... ).
207
  *
208
+ * @note The 'refresh' parameter is temporal and might dissapear without prior notice when the groups and fields saving gets integrated in the fields definition factory
209
+ *
210
  * @return null|array Field definition arrays, sanitized as per field type, or null if an error has occurred.
211
  * @since 2.1
212
  */
252
 
253
  // Allways query only Types fields.
254
  $query['filter'] = 'types';
255
+
256
+ if (
257
+ isset( $query['refresh'] )
258
+ && $query['refresh']
259
+ ) {
260
+ $definition_factory->clear_definition_storage();
261
+ }
262
+
263
  /** @var WPCF_Field_Definition[] $definitions */
264
  $definitions = $definition_factory->query_definitions( $query );
265
  $definition_arrays = array();
270
  return $definition_arrays;
271
  }
272
  }
273
+
274
  }
application/bootstrap.php CHANGED
@@ -42,7 +42,7 @@ if ( !defined( 'EDITOR_ADDON_RELPATH' ) ) {
42
  }
43
 
44
  // installer
45
- $installer = TYPES_ABSPATH . '/library/toolset/installer/loader.php';
46
  if ( file_exists( $installer ) ) {
47
  /** @noinspection PhpIncludeInspection */
48
  include_once $installer;
42
  }
43
 
44
  // installer
45
+ $installer = TYPES_ABSPATH . '/library/otgs/installer/loader.php';
46
  if ( file_exists( $installer ) ) {
47
  /** @noinspection PhpIncludeInspection */
48
  include_once $installer;
application/controllers/api/handler/import_from_zip_file.php ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Handler for the types_import_from_zip_file filter API.
5
+ *
6
+ * todo Handle results via Toolset_Result_Set.
7
+ *
8
+ * @since 2.2
9
+ */
10
+ class Types_Api_Handler_Import_From_Zip_File implements Types_Api_Handler_Interface {
11
+
12
+
13
+ public function __construct() { }
14
+
15
+
16
+ /**
17
+ * @param array $arguments Original action/filter arguments.
18
+ *
19
+ * @return mixed
20
+ */
21
+ function process_call( $arguments ) {
22
+
23
+ $path = wpcf_getarr( $arguments, 1, null );
24
+ $args = wpcf_getarr( $arguments, 2, null );
25
+
26
+ if( ! is_string( $path ) || ! file_exists( $path ) ) {
27
+ return new WP_Error( 42, __( 'Invalid path to the import file.', 'wpcf' ) );
28
+ }
29
+
30
+ ob_start();
31
+
32
+ $import_data = $this->get_data_from_file( $path );
33
+ if( $import_data instanceof WP_Error ) {
34
+ return $import_data;
35
+ } elseif( null == $import_data ) {
36
+ return new WP_Error( 42, __( 'The import file could not be processed, it seems to be corrupted.', 'wpcf' ) );
37
+ }
38
+
39
+ $result = $this->hack_around_legacy_import_routine( $import_data, $args );
40
+
41
+ $message = ob_get_contents();
42
+ ob_end_clean();
43
+
44
+ return $result;
45
+ }
46
+
47
+
48
+
49
+ private function hack_around_legacy_import_routine( $import_data, $import_args = null ) {
50
+
51
+ add_filter('wpcf_admin_message_store', '__return_false');
52
+
53
+ $_POST['overwrite-settings'] = isset( $import_args['overwrite-settings'] ) ? $import_args['overwrite-settings'] : false;
54
+ $_POST['overwrite-groups'] = isset( $import_args['overwrite-groups'] ) ? $import_args['overwrite-groups'] : 1;
55
+ $_POST['overwrite-fields'] = isset( $import_args['overwrite-fields'] ) ? $import_args['overwrite-fields'] : 1;
56
+ $_POST['overwrite-types'] = isset( $import_args['overwrite-types'] ) ? $import_args['overwrite-types'] : 1;
57
+ $_POST['overwrite-tax'] = isset( $import_args['overwrite-tax'] ) ? $import_args['overwrite-tax'] : 1;
58
+ $_POST['post_relationship'] = isset( $import_args['post_relationship'] ) ? $import_args['post_relationship'] : false;
59
+ $_POST['delete-groups'] = isset( $import_args['delete-groups'] ) ? $import_args['delete-groups'] : false;
60
+ $_POST['delete-fields'] = isset( $import_args['delete-fields'] ) ? $import_args['delete-fields'] : false;
61
+ $_POST['delete-types'] = isset( $import_args['delete-types'] ) ? $import_args['delete-types'] : false;
62
+ $_POST['delete-tax'] = isset( $import_args['delete-tax'] ) ? $import_args['delete-tax'] : false;
63
+ /**
64
+ * This can be emtpy string '' or 'wpvdemo', but this second option has a serious bug with xml parsing/looping
65
+ */
66
+ $context = isset( $import_args['context'] ) ? $import_args['context'] : '';
67
+ // Not sure if this is needed
68
+ require_once WPCF_EMBEDDED_INC_ABSPATH . '/fields.php';
69
+ require_once WPCF_EMBEDDED_INC_ABSPATH . '/import-export.php';
70
+
71
+ // Prepare legacy arguments for Types_Data_Installer
72
+ $legacy_args = array();
73
+ if ( isset($import_args['overwrite']) ){
74
+ $legacy_args['force_import_post_name'] = wpcf_getarr( $import_args, 'overwrite', array() );
75
+ }
76
+ if ( isset($import_args['skip']) ){
77
+ $legacy_args['force_skip_post_name'] = wpcf_getarr( $import_args, 'skip', array() );
78
+ }
79
+ if ( isset($import_args['duplicate']) ){
80
+ $legacy_args['force_duplicate_post_name'] = wpcf_getarr( $import_args, 'duplicate', array() );
81
+ }
82
+
83
+ $result = wpcf_admin_import_data( $import_data, false, $context, $legacy_args );
84
+
85
+ return true;
86
+ }
87
+
88
+
89
+ private function get_data_from_file( $path ) {
90
+
91
+ $info = pathinfo( $path );
92
+
93
+ $is_zip = $info['extension'] == 'zip' ? true : false;
94
+
95
+ $data = null;
96
+
97
+ if ( $is_zip ) {
98
+
99
+ $zip = zip_open( $path );
100
+
101
+ if ( is_resource( $zip ) ) {
102
+ while( ( $zip_entry = zip_read( $zip ) ) !== false ) {
103
+ if ( zip_entry_name( $zip_entry ) == 'settings.xml' ) {
104
+ $data = @zip_entry_read( $zip_entry, zip_entry_filesize( $zip_entry ) );
105
+ }
106
+ }
107
+ } else {
108
+ return new WP_Error( 42, __( 'Unable to open zip file', 'wpcf' ) );
109
+ }
110
+ } else {
111
+ // Not a zip file, we'll use it directly
112
+ $data = @file_get_contents( $path );
113
+ }
114
+
115
+ return $data;
116
+ }
117
+
118
+
119
+ }
application/controllers/api/handler/interface.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Interface for handlers of hook API calls.
5
+ */
6
+ interface Types_Api_Handler_Interface {
7
+
8
+ function __construct();
9
+
10
+ /**
11
+ * @param array $arguments Original action/filter arguments.
12
+ * @return mixed
13
+ */
14
+ function process_call( $arguments );
15
+
16
+ }
application/controllers/api/handler/query_groups.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Handler for the types_query_groups filter.
5
+ *
6
+ * @since 2.2
7
+ */
8
+ class Types_Api_Handler_Query_Groups implements Types_Api_Handler_Interface {
9
+
10
+
11
+ public function __construct() { }
12
+
13
+
14
+ /**
15
+ * @param array $arguments Original action/filter arguments.
16
+ *
17
+ * @return mixed
18
+ */
19
+ function process_call( $arguments ) {
20
+
21
+ $query = wpcf_getarr( $arguments, 1, array() );
22
+
23
+ $domain = wpcf_getarr( $query, 'domain', 'all' );
24
+ unset( $query['domain'] );
25
+
26
+ // Sanitize input
27
+ if ( ! is_string( $domain ) || ! is_array( $query ) ) {
28
+ return null;
29
+ }
30
+
31
+ if ( 'all' == $domain ) {
32
+
33
+ // Separate query for each available domain.
34
+ $groups_by_domain = array();
35
+ $domains = Types_Field_Utils::get_domains();
36
+ foreach( $domains as $field_domain ) {
37
+ $groups_by_domain[ $field_domain ] = $this->query_specific_domain( $field_domain, $query );
38
+ }
39
+
40
+ return $groups_by_domain;
41
+
42
+ } else {
43
+ return $this->query_specific_domain( $domain, $query );
44
+ }
45
+
46
+ }
47
+
48
+
49
+ /**
50
+ * Query field groups from a single domain.
51
+ *
52
+ * @param string $domain One of the valid field domains. Legacy "meta type" values will be also accepted.
53
+ * @param array $query Query arguments for Types_Field_Group_Factory::query_groups().
54
+ *
55
+ * @return null|Types_Field_Group[] Array of field groups or null on error.
56
+ * @since m2m
57
+ */
58
+ private function query_specific_domain( $domain, $query ) {
59
+
60
+ // Make sure we have a valid domain string.
61
+ $valid_domains = Types_Field_Utils::get_domains();
62
+ if( !in_array( $domain, $valid_domains ) ) {
63
+ $domain = Types_Field_Utils::legacy_meta_type_to_domain( $domain );
64
+ }
65
+
66
+ // Pass the group query to the proper factory class.
67
+ try {
68
+ $group_factory = Types_Field_Group_Factory::get_factory_by_domain( $domain );
69
+ $groups = $group_factory->query_groups( $query );
70
+ } catch( Exception $e ) {
71
+ // We don't care, it's a failure.
72
+ return null;
73
+ }
74
+
75
+ return $groups;
76
+
77
+ }
78
+
79
+ }
application/controllers/information/controller.php CHANGED
@@ -15,6 +15,7 @@ class Types_Information_Controller {
15
  ! current_user_can( 'manage_options' )
16
  || ! apply_filters( 'types_information_table', true )
17
  || $this->embedded_plugin_running()
 
18
  ) {
19
  return false;
20
  }
15
  ! current_user_can( 'manage_options' )
16
  || ! apply_filters( 'types_information_table', true )
17
  || $this->embedded_plugin_running()
18
+ || ! Types_Helper_Condition::get_post_type()
19
  ) {
20
  return false;
21
  }
application/controllers/main.php CHANGED
@@ -9,23 +9,23 @@
9
  * @since 2.0
10
  */
11
  final class Types_Main {
12
-
13
  private static $instance;
14
-
15
  public static function get_instance() {
16
  if( null == self::$instance ) {
17
  self::$instance = new self();
18
  }
19
  return self::$instance;
20
  }
21
-
22
  public static function initialize() {
23
  self::get_instance();
24
  }
25
 
26
  private function __clone() { }
27
 
28
-
29
  private function __construct() {
30
 
31
  add_action( 'after_setup_theme', array( $this, 'after_setup_theme' ), 10 );
@@ -83,11 +83,27 @@ final class Types_Main {
83
  }
84
 
85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  /**
87
  * Determine whether a WP admin page is being loaded.
88
  *
89
  * Note that the behaviour differs from the native is_admin() which will return true also for AJAX requests.
90
- *
91
  * @return bool
92
  * @since 2.1
93
  */
@@ -98,11 +114,11 @@ final class Types_Main {
98
 
99
  /**
100
  * Early loading actions.
101
- *
102
- * Initialize the Toolset Common library with the new loader.
103
  * Initialize asset manager if we're not doing an AJAX call.
104
  * Initialize the Types hook API.
105
- *
106
  * @since 2.0
107
  */
108
  public function after_setup_theme() {
@@ -112,20 +128,20 @@ final class Types_Main {
112
  if( !defined( 'DOING_AJAX' ) ) {
113
  Types_Assets::get_instance()->initialize_scripts_and_styles();
114
  }
115
-
116
  Types_Api::initialize();
117
  }
118
 
119
 
120
  /**
121
- * In some cases, it may not be clear what legacy files are includes and what aren't.
122
- *
123
  * This method should make sure all is covered (add files when needed). Use only when necessary.
124
- *
125
  * @since 2.0
126
  */
127
  public function require_legacy_functions() {
128
  require_once WPCF_INC_ABSPATH . '/fields.php';
129
  }
130
 
131
- }
9
  * @since 2.0
10
  */
11
  final class Types_Main {
12
+
13
  private static $instance;
14
+
15
  public static function get_instance() {
16
  if( null == self::$instance ) {
17
  self::$instance = new self();
18
  }
19
  return self::$instance;
20
  }
21
+
22
  public static function initialize() {
23
  self::get_instance();
24
  }
25
 
26
  private function __clone() { }
27
 
28
+
29
  private function __construct() {
30
 
31
  add_action( 'after_setup_theme', array( $this, 'after_setup_theme' ), 10 );
83
  }
84
 
85
 
86
+ /**
87
+ * Set current plugin mode.
88
+ *
89
+ * @param string $new_mode the new plugin mode
90
+ * @return bool TRUE if set is succesfully done, FALSE otherwise
91
+ * @since 2.2
92
+ */
93
+ public function set_plugin_mode( $new_mode = self::MODE_UNDEFINED ) {
94
+ if ( !in_array( $new_mode, array( self::MODE_UNDEFINED, self::MODE_AJAX, self::MODE_ADMIN, self::MODE_FRONTEND ) ) ){
95
+ return false;
96
+ }
97
+ $this->mode = $new_mode;
98
+ return true;
99
+ }
100
+
101
+
102
  /**
103
  * Determine whether a WP admin page is being loaded.
104
  *
105
  * Note that the behaviour differs from the native is_admin() which will return true also for AJAX requests.
106
+ *
107
  * @return bool
108
  * @since 2.1
109
  */
114
 
115
  /**
116
  * Early loading actions.
117
+ *
118
+ * Initialize the Toolset Common library with the new loader.
119
  * Initialize asset manager if we're not doing an AJAX call.
120
  * Initialize the Types hook API.
121
+ *
122
  * @since 2.0
123
  */
124
  public function after_setup_theme() {
128
  if( !defined( 'DOING_AJAX' ) ) {
129
  Types_Assets::get_instance()->initialize_scripts_and_styles();
130
  }
131
+
132
  Types_Api::initialize();
133
  }
134
 
135
 
136
  /**
137
+ * In some cases, it may not be clear what legacy files are includes and what aren't.
138
+ *
139
  * This method should make sure all is covered (add files when needed). Use only when necessary.
140
+ *
141
  * @since 2.0
142
  */
143
  public function require_legacy_functions() {
144
  require_once WPCF_INC_ABSPATH . '/fields.php';
145
  }
146
 
147
+ }
application/controllers/page/field_control.php CHANGED
@@ -395,7 +395,7 @@ final class Types_Page_Field_Control extends Types_Page_Abstract {
395
  'changeAssignmentToGroups' => __( 'Change assignment to field groups for the field', 'wpcf' ),
396
  'deleteField' => __( 'Delete field', 'wpcf' ),
397
  'deleteFields' => __( 'Delete multiple fields', 'wpcf' ),
398
- 'cannotDeleteUnmanagedFields' => __( 'Some fields will cannot be deleted because they are not managed by Types.', 'wpcf' ),
399
  'changeFieldType' => __( 'Change field type for the field', 'wpcf' ),
400
  'startManagingFieldsWithTypes' => __( 'Start managing fields with Types', 'wpcf' ),
401
  'stopManagingFieldsWithTypes' => __( 'Stop managing fields with Types', 'wpcf' )
395
  'changeAssignmentToGroups' => __( 'Change assignment to field groups for the field', 'wpcf' ),
396
  'deleteField' => __( 'Delete field', 'wpcf' ),
397
  'deleteFields' => __( 'Delete multiple fields', 'wpcf' ),
398
+ 'cannotDeleteUnmanagedFields' => __( 'Some fields cannot be deleted because they are not managed by Types.', 'wpcf' ),
399
  'changeFieldType' => __( 'Change field type for the field', 'wpcf' ),
400
  'startManagingFieldsWithTypes' => __( 'Start managing fields with Types', 'wpcf' ),
401
  'stopManagingFieldsWithTypes' => __( 'Stop managing fields with Types', 'wpcf' )
application/data/dashboard/table/archive.php CHANGED
@@ -58,16 +58,6 @@ return array(
58
  'label' => __( 'Learn about creating archives with Toolset', 'types' ),
59
  'target' => Types_Helper_Url::get_url( 'creating-archives-with-toolset', 'popup' ),
60
  ),
61
- array(
62
- 'type' => 'paragraph',
63
- 'content' => __( 'Or...', 'types' )
64
- ),
65
- array(
66
- 'type' => 'link',
67
- 'external' => true,
68
- 'label' => __( 'Instructions to create the archive-%POST-TYPE-NAME%.php in PHP', 'types' ),
69
- 'target' => Types_Helper_Url::get_url( 'creating-archives-with-php', 'popup' )
70
- ),
71
  )
72
  )
73
  )
@@ -109,16 +99,6 @@ return array(
109
  'label' => __( 'Learn about creating archives with Toolset', 'types' ),
110
  'target' => Types_Helper_Url::get_url( 'creating-archives-with-toolset', 'popup' ),
111
  ),
112
- array(
113
- 'type' => 'paragraph',
114
- 'content' => __( 'Or...', 'types' )
115
- ),
116
- array(
117
- 'type' => 'link',
118
- 'external' => true,
119
- 'label' => __( 'Instructions to create the archive-%POST-TYPE-NAME%.php in PHP', 'types' ),
120
- 'target' => Types_Helper_Url::get_url( 'creating-archives-with-php', 'popup' )
121
- ),
122
  )
123
  )
124
  )
58
  'label' => __( 'Learn about creating archives with Toolset', 'types' ),
59
  'target' => Types_Helper_Url::get_url( 'creating-archives-with-toolset', 'popup' ),
60
  ),
 
 
 
 
 
 
 
 
 
 
61
  )
62
  )
63
  )
99
  'label' => __( 'Learn about creating archives with Toolset', 'types' ),
100
  'target' => Types_Helper_Url::get_url( 'creating-archives-with-toolset', 'popup' ),
101
  ),
 
 
 
 
 
 
 
 
 
 
102
  )
103
  )
104
  )
application/data/dashboard/table/forms.php CHANGED
@@ -18,7 +18,7 @@ return array(
18
  'description' => array(
19
  array(
20
  'type' => 'paragraph',
21
- 'content' => __( 'To create a form for front-end content submission and editing, you need have CRED plugin installed.
22
  CRED is part of the complete Toolset package for adding and displaying custom content.', 'types' )
23
  ),
24
  array(
18
  'description' => array(
19
  array(
20
  'type' => 'paragraph',
21
+ 'content' => __( 'To create a form for front-end content submission and editing, you need to have CRED plugin installed.
22
  CRED is part of the complete Toolset package for adding and displaying custom content.', 'types' )
23
  ),
24
  array(
application/data/dashboard/table/head.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- return array(
3
 
4
  'type' => array(
5
  'id' => 'type',
@@ -123,4 +123,19 @@ return array(
123
  ),
124
  )
125
  )
126
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+ $question_marks = array(
3
 
4
  'type' => array(
5
  'id' => 'type',
123
  ),
124
  )
125
  )
126
+ );
127
+
128
+ // Visual Composer
129
+ if( defined( 'WPB_VC_VERSION' ) ) {
130
+ $question_marks['template']['description'][1]['label'] = __( 'Creating templates with Visual Composer', 'types' );
131
+ }
132
+ // Beaver Builder
133
+ else if( class_exists( 'FLBuilderLoader' ) ) {
134
+ $question_marks['template']['description'][1]['label'] = __( 'Creating templates with Beaver Builder', 'types' );
135
+ }
136
+ // Layouts
137
+ else if( defined( 'WPDDL_DEVELOPMENT' ) || defined( 'WPDDL_PRODUCTION' ) ) {
138
+ $question_marks['template']['description'][1]['label'] = __( 'Creating templates with Layouts', 'types' );
139
+ }
140
+
141
+ return $question_marks;
application/data/dashboard/table/template.php CHANGED
@@ -36,16 +36,6 @@ return array(
36
  'label' => __( 'Learn about creating templates with Toolset', 'types' ),
37
  'target' => Types_Helper_Url::get_url( 'creating-templates-with-toolset', 'popup' ),
38
  ),
39
- array(
40
- 'type' => 'paragraph',
41
- 'content' => __( 'Or...', 'types' )
42
- ),
43
- array(
44
- 'type' => 'link',
45
- 'external' => true,
46
- 'label' => __( 'Instructions to create a single-%POST-TYPE-NAME%.php in PHP', 'types' ),
47
- 'target' => Types_Helper_Url::get_url( 'creating-templates-with-php', 'popup' )
48
- ),
49
  )
50
  )
51
  )
@@ -88,16 +78,6 @@ return array(
88
  'label' => __( 'Learn about creating templates with Toolset', 'types' ),
89
  'target' => Types_Helper_Url::get_url( 'creating-templates-with-toolset', 'popup' ),
90
  ),
91
- array(
92
- 'type' => 'paragraph',
93
- 'content' => __( 'Or...', 'types' )
94
- ),
95
- array(
96
- 'type' => 'link',
97
- 'external' => true,
98
- 'label' => __( 'Instructions for adding custom fields to single-%POST-TYPE-NAME%.php in PHP', 'types' ),
99
- 'target' => Types_Helper_Url::get_url( 'adding-custom-fields-with-php', 'popup' )
100
- ),
101
  )
102
  )
103
  )
36
  'label' => __( 'Learn about creating templates with Toolset', 'types' ),
37
  'target' => Types_Helper_Url::get_url( 'creating-templates-with-toolset', 'popup' ),
38
  ),
 
 
 
 
 
 
 
 
 
 
39
  )
40
  )
41
  )
78
  'label' => __( 'Learn about creating templates with Toolset', 'types' ),
79
  'target' => Types_Helper_Url::get_url( 'creating-templates-with-toolset', 'popup' ),
80
  ),
 
 
 
 
 
 
 
 
 
 
81
  )
82
  )
83
  )
application/data/dashboard/table/views.php CHANGED
@@ -18,7 +18,7 @@ return array(
18
  'description' => array(
19
  array(
20
  'type' => 'paragraph',
21
- 'content' => __( 'To create a View for this content type, you need have Views plugin installed. Views is part of the
22
  complete Toolset package for adding and displaying custom content.', 'types' )
23
  ),
24
  array(
18
  'description' => array(
19
  array(
20
  'type' => 'paragraph',
21
+ 'content' => __( 'To create a View for this content type, you need to have Views plugin installed. Views is part of the
22
  complete Toolset package for adding and displaying custom content.', 'types' )
23
  ),
24
  array(
application/data/documentation-urls.php CHANGED
@@ -3,50 +3,69 @@
3
  // Google Analytics
4
  // ?utm_source=typesplugin&utm_campaign=types&utm_medium=%CURRENT-SCREEN%&utm_term=EMPTY&utm_content=EMPTY
5
 
6
- return array(
7
- 'learn-how-template' => 'https://wp-types.com/documentation/user-guides/benefits-of-templates-for-custom-types/',
8
- 'learn-how-archive' => 'https://wp-types.com/documentation/user-guides/what-archives-are-and-why-they-are-so-important/',
9
- 'learn-how-views' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-views/',
10
- 'learn-how-forms' => 'https://wp-types.com/home/cred/',
11
- 'learn-how-post-types' => 'https://wp-types.com/documentation/user-guides/create-a-custom-post-type/',
12
- 'learn-how-fields' => 'https://wp-types.com/documentation/user-guides/using-custom-fields/',
13
- 'learn-how-taxonomies' => 'https://wp-types.com/documentation/user-guides/create-custom-taxonomies/',
14
- 'creating-templates-with-toolset' => 'https://wp-types.com/documentation/user-guides/learn-about-creating-templates-with-toolset/',
15
- 'creating-templates-with-php' => 'https://wp-types.com/documentation/user-guides/creating-templates-for-single-custom-posts-in-php/',
16
- 'creating-archives-with-toolset' => 'https://wp-types.com/documentation/user-guides/learn-about-creating-archives-with-toolset/',
17
- 'creating-archives-with-php' => 'https://wp-types.com/documentation/user-guides/creating-templates-custom-post-type-archives-php/',
18
- 'how-views-work' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-views/',
19
- 'how-to-add-views-to-layouts' => 'https://wp-types.com/documentation/user-guides/views/',
20
- 'learn-views' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-views/',
21
- 'how-cred-work' => 'https://wp-types.com/home/cred/',
22
- 'how-to-add-forms-to-layouts' => 'https://wp-types.com/documentation/user-guides/creating-cred-forms/',
23
- 'learn-cred' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-cred/',
24
- 'free-trial' => 'https://wp-types.com/?add-to-cart=363363&buy_now=1',
25
- 'adding-custom-fields-with-php' => 'https://wp-types.com/documentation/user-guides/displaying-wordpress-custom-fields/#1',
26
- 'themes-compatible-with-layouts' => 'https://wp-types.com/documentation/user-guides/layouts-theme-integration/#popular-integrated-themes',
27
- 'layouts-integration-instructions' => 'https://wp-types.com/documentation/user-guides/layouts-theme-integration/#replacing-wp-loop-with-layouts',
28
- 'adding-views-to-layouts' => 'https://wp-types.com/documentation/user-guides/adding-views-to-layouts/',
29
- 'adding-forms-to-layouts' => 'https://wp-types.com/documentation/user-guides/adding-cred-forms-to-layouts/',
30
- 'using-post-fields' => 'https://wp-types.com/user-guides/using-custom-fields/',
31
- 'adding-fields' => 'https://wp-types.com/documentation/user-guides/using-custom-fields/#introduction-to-wordpress-custom-fields',
32
- 'displaying-fields' => 'https://wp-types.com/documentation/user-guides/displaying-wordpress-custom-fields/',
33
- 'adding-user-fields' => 'https://wp-types.com/documentation/user-guides/user-fields/',
34
- 'displaying-user-fields' => 'https://wp-types.com/documentation/user-guides/displaying-wordpress-user-fields/',
35
- 'adding-term-fields' => 'https://wp-types.com/documentation/user-guides/term-fields/',
36
- 'displaying-term-fields' => 'https://wp-types.com/documentation/user-guides/displaying-wordpress-term-fields/',
37
- 'custom-post-types' => 'https://wp-types.com/documentation/user-guides/create-a-custom-post-type/',
38
- 'custom-taxonomy' => 'https://wp-types.com/documentation/user-guides/create-custom-taxonomies/',
39
- 'post-relationship' => 'https://wp-types.com/documentation/user-guides/creating-post-type-relationships/',
40
- 'compare-toolset-php' => 'https://wp-types.com/landing/toolset-vs-php/',
41
- 'types-fields-api' => 'https://wp-types.com/documentation/functions/',
42
- 'parent-child' => 'https://wp-types.com/documentation/user-guides/many-to-many-post-relationship/',
43
- 'custom-post-archives' => 'https://wp-types.com/documentation/user-guides/creating-wordpress-custom-post-archives/',
44
- 'using-taxonomy' => 'https://wp-types.com/documentation/user-guides/create-custom-taxonomies/',
45
- 'custom-taxonomy-archives' => 'https://wp-types.com/documentation/user-guides/creating-wordpress-custom-taxonomy-archives/',
46
- 'repeating-fields-group' => 'https://wp-types.com/documentation/user-guides/creating-groups-of-repeating-fields-using-fields-tables/',
47
- 'single-pages' => 'https://wp-types.com/documentation/user-guides/view-templates/',
48
- 'content-templates' => 'https://wp-types.com/documentation/user-guides/view-templates/',
49
- 'views-user-guide' => 'https://wp-types.com/documentation/user-guides/views/',
50
- 'wp-types' => 'https://wp-types.com/',
51
- 'date-filters' => 'http://wp-types.com/documentation/user-guides/date-filters/'
52
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  // Google Analytics
4
  // ?utm_source=typesplugin&utm_campaign=types&utm_medium=%CURRENT-SCREEN%&utm_term=EMPTY&utm_content=EMPTY
5
 
6
+ $urls = array(
7
+ 'learn-how-template' => 'https://wp-types.com/documentation/user-guides/benefits-of-templates-for-custom-types/',
8
+ 'learn-how-archive' => 'https://wp-types.com/documentation/user-guides/what-archives-are-and-why-they-are-so-important/',
9
+ 'learn-how-views' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-views/',
10
+ 'learn-how-forms' => 'https://wp-types.com/home/cred/',
11
+ 'learn-how-post-types' => 'https://wp-types.com/documentation/user-guides/create-a-custom-post-type/',
12
+ 'learn-how-fields' => 'https://wp-types.com/documentation/user-guides/using-custom-fields/',
13
+ 'learn-how-taxonomies' => 'https://wp-types.com/documentation/user-guides/create-custom-taxonomies/',
14
+ 'creating-templates-with-toolset' => 'https://wp-types.com/documentation/user-guides/learn-about-creating-templates-with-toolset/',
15
+ 'creating-templates-with-php' => 'https://wp-types.com/documentation/user-guides/creating-templates-for-single-custom-posts-in-php/',
16
+ 'creating-archives-with-toolset' => 'https://wp-types.com/documentation/user-guides/learn-about-creating-archives-with-toolset/',
17
+ 'creating-archives-with-php' => 'https://wp-types.com/documentation/user-guides/creating-templates-custom-post-type-archives-php/',
18
+ 'how-views-work' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-views/',
19
+ 'how-to-add-views-to-layouts' => 'https://wp-types.com/documentation/user-guides/views/',
20
+ 'learn-views' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-views/',
21
+ 'how-cred-work' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-cred/',
22
+ 'how-to-add-forms-to-layouts' => 'https://wp-types.com/documentation/user-guides/creating-cred-forms/',
23
+ 'learn-cred' => 'https://wp-types.com/documentation/user-guides/learn-what-you-can-do-with-cred/',
24
+ 'free-trial' => 'https://wp-types.com/?add-to-cart=363363&buy_now=1',
25
+ 'adding-custom-fields-with-php' => 'https://wp-types.com/documentation/user-guides/displaying-wordpress-custom-fields/#1',
26
+ 'themes-compatible-with-layouts' => 'https://wp-types.com/documentation/user-guides/layouts-theme-integration/#popular-integrated-themes',
27
+ 'layouts-integration-instructions' => 'https://wp-types.com/documentation/user-guides/layouts-theme-integration/#replacing-wp-loop-with-layouts',
28
+ 'adding-views-to-layouts' => 'https://wp-types.com/documentation/user-guides/adding-views-to-layouts/',
29
+ 'adding-forms-to-layouts' => 'https://wp-types.com/documentation/user-guides/adding-cred-forms-to-layouts/',
30
+ 'using-post-fields' => 'https://wp-types.com/user-guides/using-custom-fields/',
31
+ 'adding-fields' => 'https://wp-types.com/documentation/user-guides/using-custom-fields/#introduction-to-wordpress-custom-fields',
32
+ 'displaying-fields' => 'https://wp-types.com/documentation/user-guides/displaying-wordpress-custom-fields/',
33
+ 'adding-user-fields' => 'https://wp-types.com/documentation/user-guides/user-fields/',
34
+ 'displaying-user-fields' => 'https://wp-types.com/documentation/user-guides/displaying-wordpress-user-fields/',
35
+ 'adding-term-fields' => 'https://wp-types.com/documentation/user-guides/term-fields/',
36
+ 'displaying-term-fields' => 'https://wp-types.com/documentation/user-guides/displaying-wordpress-term-fields/',
37
+ 'custom-post-types' => 'https://wp-types.com/documentation/user-guides/create-a-custom-post-type/',
38
+ 'custom-taxonomy' => 'https://wp-types.com/documentation/user-guides/create-custom-taxonomies/',
39
+ 'post-relationship' => 'https://wp-types.com/documentation/user-guides/creating-post-type-relationships/',
40
+ 'compare-toolset-php' => 'https://wp-types.com/landing/toolset-vs-php/',
41
+ 'types-fields-api' => 'https://wp-types.com/documentation/functions/',
42
+ 'parent-child' => 'https://wp-types.com/documentation/user-guides/many-to-many-post-relationship/',
43
+ 'custom-post-archives' => 'https://wp-types.com/documentation/user-guides/creating-wordpress-custom-post-archives/',
44
+ 'using-taxonomy' => 'https://wp-types.com/documentation/user-guides/create-custom-taxonomies/',
45
+ 'custom-taxonomy-archives' => 'https://wp-types.com/documentation/user-guides/creating-wordpress-custom-taxonomy-archives/',
46
+ 'repeating-fields-group' => 'https://wp-types.com/documentation/user-guides/creating-groups-of-repeating-fields-using-fields-tables/',
47
+ 'single-pages' => 'https://wp-types.com/documentation/user-guides/view-templates/',
48
+ 'content-templates' => 'https://wp-types.com/documentation/user-guides/view-templates/',
49
+ 'views-user-guide' => 'https://wp-types.com/documentation/user-guides/views/',
50
+ 'wp-types' => 'https://wp-types.com/',
51
+ 'date-filters' => 'http://wp-types.com/documentation/user-guides/date-filters/',
52
+ 'getting-started-types' => 'https://wp-types.com/documentation/user-guides/getting-starting-with-types/',
53
+ );
54
+
55
+ // Visual Composer
56
+ if( defined( 'WPB_VC_VERSION' ) ) {
57
+ $urls['learn-how-template'] = 'https://wp-types.com/documentation/user-guides/benefits-of-templates-for-custom-types-vc/';
58
+ $urls['creating-templates-with-toolset'] = 'https://wp-types.com/documentation/user-guides/benefits-of-templates-for-custom-types-vc/';
59
+ }
60
+ // Beaver Builder
61
+ else if( class_exists( 'FLBuilderLoader' ) ) {
62
+ $urls['learn-how-template'] = 'https://wp-types.com/documentation/user-guides/benefits-of-templates-for-custom-types-bb/';
63
+ $urls['creating-templates-with-toolset'] = 'https://wp-types.com/documentation/user-guides/benefits-of-templates-for-custom-types-bb/';
64
+ }
65
+ // Layouts
66
+ else if( defined( 'WPDDL_DEVELOPMENT' ) || defined( 'WPDDL_PRODUCTION' ) ) {
67
+ $urls['learn-how-template'] = 'https://wp-types.com/documentation/user-guides/benefits-of-templates-for-custom-types-layouts/';
68
+ $urls['creating-templates-with-toolset'] = 'https://wp-types.com/documentation/user-guides/benefits-of-templates-for-custom-types-layouts/';
69
+ }
70
+
71
+ return $urls;
application/data/information/table/archive.php CHANGED
@@ -64,16 +64,6 @@ return array(
64
  'label' => __( 'Learn about creating archives with Toolset', 'types' ),
65
  'target' => Types_Helper_Url::get_url( 'creating-archives-with-toolset', 'popup' ),
66
  ),
67
- array(
68
- 'type' => 'paragraph',
69
- 'content' => __( 'Or...', 'types' )
70
- ),
71
- array(
72
- 'type' => 'link',
73
- 'external' => true,
74
- 'label' => __( 'Instructions to create the archive-%POST-TYPE-NAME%.php in PHP', 'types' ),
75
- 'target' => Types_Helper_Url::get_url( 'creating-archives-with-php', 'popup' )
76
- ),
77
  )
78
  )
79
  )
@@ -120,17 +110,7 @@ return array(
120
  'external' => true,
121
  'label' => __( 'Learn about creating archives with Toolset', 'types' ),
122
  'target' => Types_Helper_Url::get_url( 'creating-archives-with-toolset', 'popup' ),
123
- ),
124
- array(
125
- 'type' => 'paragraph',
126
- 'content' => __( 'Or...', 'types' )
127
- ),
128
- array(
129
- 'type' => 'link',
130
- 'external' => true,
131
- 'label' => __( 'Instructions to create the archive-%POST-TYPE-NAME%.php in PHP', 'types' ),
132
- 'target' => Types_Helper_Url::get_url( 'creating-archives-with-php', 'popup' )
133
- ),
134
  )
135
  )
136
  )
64
  'label' => __( 'Learn about creating archives with Toolset', 'types' ),
65
  'target' => Types_Helper_Url::get_url( 'creating-archives-with-toolset', 'popup' ),
66
  ),
 
 
 
 
 
 
 
 
 
 
67
  )
68
  )
69
  )
110
  'external' => true,
111
  'label' => __( 'Learn about creating archives with Toolset', 'types' ),
112
  'target' => Types_Helper_Url::get_url( 'creating-archives-with-toolset', 'popup' ),
113
+ )
 
 
 
 
 
 
 
 
 
 
114
  )
115
  )
116
  )
application/data/information/table/forms.php CHANGED
@@ -18,7 +18,7 @@ return array(
18
  'description' => array(
19
  array(
20
  'type' => 'paragraph',
21
- 'content' => __( 'To create a form for front-end content submission and editing, you need have CRED plugin installed.
22
  CRED is part of the complete Toolset package for adding and displaying custom content.', 'types' )
23
  ),
24
  array(
18
  'description' => array(
19
  array(
20
  'type' => 'paragraph',
21
+ 'content' => __( 'To create a form for front-end content submission and editing, you need to have CRED plugin installed.
22
  CRED is part of the complete Toolset package for adding and displaying custom content.', 'types' )
23
  ),
24
  array(
application/data/information/table/question-marks.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- return array(
3
  'template' => array(
4
  'id' => 'template',
5
  'title' => __( 'Template', 'types' ),
@@ -67,4 +67,19 @@ return array(
67
  ),
68
  )
69
  )
70
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+ $question_marks = array(
3
  'template' => array(
4
  'id' => 'template',
5
  'title' => __( 'Template', 'types' ),
67
  ),
68
  )
69
  )
70
+ );
71
+
72
+ // Visual Composer
73
+ if( defined( 'WPB_VC_VERSION' ) ) {
74
+ $question_marks['template']['description'][1]['label'] = __( 'Creating templates with Visual Composer', 'types' );
75
+ }
76
+ // Beaver Builder
77
+ else if( class_exists( 'FLBuilderLoader' ) ) {
78
+ $question_marks['template']['description'][1]['label'] = __( 'Creating templates with Beaver Builder', 'types' );
79
+ }
80
+ // Layouts
81
+ else if( defined( 'WPDDL_DEVELOPMENT' ) || defined( 'WPDDL_PRODUCTION' ) ) {
82
+ $question_marks['template']['description'][1]['label'] = __( 'Creating templates with Layouts', 'types' );
83
+ }
84
+
85
+ return $question_marks;
application/data/information/table/template.php CHANGED
@@ -42,16 +42,6 @@ return array(
42
  'label' => __( 'Learn about creating templates with Toolset', 'types' ),
43
  'target' => Types_Helper_Url::get_url( 'creating-templates-with-toolset', 'popup' ),
44
  ),
45
- array(
46
- 'type' => 'paragraph',
47
- 'content' => __( 'Or...', 'types' )
48
- ),
49
- array(
50
- 'type' => 'link',
51
- 'external' => true,
52
- 'label' => __( 'Instructions to create a single-%POST-TYPE-NAME%.php in PHP', 'types' ),
53
- 'target' => Types_Helper_Url::get_url( 'creating-templates-with-php', 'popup' )
54
- ),
55
  )
56
  )
57
  )
@@ -103,16 +93,6 @@ return array(
103
  'label' => __( 'Learn about creating templates with Toolset', 'types' ),
104
  'target' => Types_Helper_Url::get_url( 'creating-templates-with-toolset', 'popup' ),
105
  ),
106
- array(
107
- 'type' => 'paragraph',
108
- 'content' => __( 'Or...', 'types' )
109
- ),
110
- array(
111
- 'type' => 'link',
112
- 'external' => true,
113
- 'label' => __( 'Instructions for adding custom fields to single-%POST-TYPE-NAME%.php in PHP', 'types' ),
114
- 'target' => Types_Helper_Url::get_url( 'adding-custom-fields-with-php', 'popup' )
115
- ),
116
  )
117
  )
118
  )
42
  'label' => __( 'Learn about creating templates with Toolset', 'types' ),
43
  'target' => Types_Helper_Url::get_url( 'creating-templates-with-toolset', 'popup' ),
44
  ),
 
 
 
 
 
 
 
 
 
 
45
  )
46
  )
47
  )
93
  'label' => __( 'Learn about creating templates with Toolset', 'types' ),
94
  'target' => Types_Helper_Url::get_url( 'creating-templates-with-toolset', 'popup' ),
95
  ),
 
 
 
 
 
 
 
 
 
 
96
  )
97
  )
98
  )
application/data/information/table/views.php CHANGED
@@ -18,7 +18,7 @@ return array(
18
  'description' => array(
19
  array(
20
  'type' => 'paragraph',
21
- 'content' => __( 'To create a View for this content type, you need have Views plugin installed. Views is part of the
22
  complete Toolset package for adding and displaying custom content.', 'types' )
23
  ),
24
  array(
18
  'description' => array(
19
  array(
20
  'type' => 'paragraph',
21
+ 'content' => __( 'To create a View for this content type, you need to have Views plugin installed. Views is part of the
22
  complete Toolset package for adding and displaying custom content.', 'types' )
23
  ),
24
  array(
application/functions.php CHANGED
@@ -58,7 +58,7 @@ if( !function_exists( 'wpcf_getarr' ) ) {
58
  * of allowed values and returns default value if the validation fails.
59
  *
60
  * @param array $source The source array.
61
- * @param string $key The key to be retrieved from the source array.
62
  * @param mixed $default Default value to be returned if key is not set or the value is invalid. Optional.
63
  * Default is empty string.
64
  * @param null|array $valid If an array is provided, the value will be validated against it's elements.
@@ -141,14 +141,25 @@ if( !function_exists( 'wpcf_getnest' ) ) {
141
  function wpcf_getnest( &$source, $keys = array(), $default = null ) {
142
 
143
  $current_value = $source;
 
 
 
 
 
 
144
  while( ! empty( $keys ) ) {
145
  $current_key = array_shift( $keys );
146
  $is_last_key = empty( $keys );
147
 
148
- $current_value = wpcf_getarr( $current_value, $current_key, null );
149
 
150
  if ( $is_last_key ) {
151
- return $current_value;
 
 
 
 
 
152
  } elseif ( ! is_array( $current_value ) ) {
153
  return $default;
154
  }
58
  * of allowed values and returns default value if the validation fails.
59
  *
60
  * @param array $source The source array.
61
+ * @param string|int $key The key to be retrieved from the source array.
62
  * @param mixed $default Default value to be returned if key is not set or the value is invalid. Optional.
63
  * Default is empty string.
64
  * @param null|array $valid If an array is provided, the value will be validated against it's elements.
141
  function wpcf_getnest( &$source, $keys = array(), $default = null ) {
142
 
143
  $current_value = $source;
144
+
145
+ // For detecting if a value is missing in a sub-array, we'll use this temporary object.
146
+ // We cannot just use $default on every level of the nesting, because if $default is an
147
+ // (possibly nested) array itself, it might mess with the value retrieval in an unexpected way.
148
+ $missing_value = new stdClass();
149
+
150
  while( ! empty( $keys ) ) {
151
  $current_key = array_shift( $keys );
152
  $is_last_key = empty( $keys );
153
 
154
+ $current_value = wpcf_getarr( $current_value, $current_key, $missing_value );
155
 
156
  if ( $is_last_key ) {
157
+ // Apply given default value.
158
+ if( $missing_value === $current_value ) {
159
+ return $default;
160
+ } else {
161
+ return $current_value;
162
+ }
163
  } elseif ( ! is_array( $current_value ) ) {
164
  return $default;
165
  }
application/models/field/group.php CHANGED
@@ -106,10 +106,19 @@ abstract class Types_Field_Group {
106
 
107
 
108
  /**
 
 
109
  * @return bool True if the field group is active, false if deactivated.
 
110
  */
111
- public function is_active() {
112
- return ( $this->get_post()->post_status == 'publish' ? true : false );
 
 
 
 
 
 
113
  }
114
 
115
 
@@ -125,7 +134,8 @@ abstract class Types_Field_Group {
125
  * @return int ID of the user who edited the field group last.
126
  */
127
  public function get_author() {
128
- return (int) $this->get_post()->post_author;
 
129
  }
130
 
131
 
@@ -145,14 +155,36 @@ abstract class Types_Field_Group {
145
  * @param string $value New value of the post name. Note that it may be further modified by WordPress before saving.
146
  */
147
  public function set_name( $value ) {
148
- $updated_post_id = wp_update_post(
149
- array( 'ID' => $this->get_id(), 'post_name' => sanitize_title( $value ) )
150
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  if( 0 !== $updated_post_id ) {
152
- // Refresh the post object and notify about renaming field group.
153
  $this->post = WP_Post::get_instance( $updated_post_id );
154
- do_action( 'wpcf_field_group_renamed', $value, $this );
155
  $this->execute_group_updated_action();
 
 
 
156
  }
157
  }
158
 
@@ -161,7 +193,8 @@ abstract class Types_Field_Group {
161
  * @return string The underlying post type of the post representing the field group.
162
  */
163
  public function get_post_type() {
164
- return $this->post->post_type;
 
165
  }
166
 
167
 
@@ -281,6 +314,10 @@ abstract class Types_Field_Group {
281
  */
282
  public function remove_field_definition( $field_definition ) {
283
 
 
 
 
 
284
  $field_slugs = $this->get_field_slugs();
285
 
286
  $slug_to_remove = $field_definition->get_slug();
@@ -304,7 +341,11 @@ abstract class Types_Field_Group {
304
  * @since 2.0
305
  */
306
  public function add_field_definition( $field_definition ) {
307
-
 
 
 
 
308
  $field_slugs = $this->get_field_slugs();
309
 
310
  $slug_to_add = $field_definition->get_slug();
106
 
107
 
108
  /**
109
+ * @param null|bool $value If boolean value is provided, the group will be activated or deactivated accordingly.
110
+ * For null, nothing happens.
111
  * @return bool True if the field group is active, false if deactivated.
112
+ * @since 1.9
113
  */
114
+ public function is_active( $value = null ) {
115
+
116
+ if( null !== $value ) {
117
+ $this->update_post( array( 'post_status' => ( $value ? 'publish' : 'draft' ) ) );
118
+ }
119
+
120
+ $post = $this->get_post();
121
+ return ( $post->post_status == 'publish' ? true : false );
122
  }
123
 
124
 
134
  * @return int ID of the user who edited the field group last.
135
  */
136
  public function get_author() {
137
+ $post = $this->get_post();
138
+ return (int) $post->post_author;
139
  }
140
 
141
 
155
  * @param string $value New value of the post name. Note that it may be further modified by WordPress before saving.
156
  */
157
  public function set_name( $value ) {
158
+ $result = $this->update_post( array( 'post_name' => sanitize_title( $value ) ) );
159
+ if( true == $result ) {
160
+ do_action( 'wpcf_field_group_renamed', $value, $this );
161
+ }
162
+ }
163
+
164
+
165
+ /**
166
+ * Update the underlying post object.
167
+ *
168
+ * Also refreshes the stored post object and fires an action notifying about the change.
169
+ *
170
+ * @param array $args Arguments for wp_update_post(). ID doesn't have to be provided, it will be added automatically.
171
+ * @return bool True on success, false otherwise.
172
+ * @since 2.1
173
+ */
174
+ private function update_post( $args ) {
175
+
176
+ $args = array_merge( array( 'ID' => $this->get_id() ), $args );
177
+
178
+ $updated_post_id = wp_update_post( $args );
179
+
180
  if( 0 !== $updated_post_id ) {
181
+ // Refresh the post object
182
  $this->post = WP_Post::get_instance( $updated_post_id );
183
+
184
  $this->execute_group_updated_action();
185
+ return true;
186
+ } else {
187
+ return false;
188
  }
189
  }
190
 
193
  * @return string The underlying post type of the post representing the field group.
194
  */
195
  public function get_post_type() {
196
+ $post = $this->get_post();
197
+ return $post->post_type;
198
  }
199
 
200
 
314
  */
315
  public function remove_field_definition( $field_definition ) {
316
 
317
+ if( ! ( $field_definition instanceof WPCF_Field_Definition ) ) {
318
+ return false;
319
+ }
320
+
321
  $field_slugs = $this->get_field_slugs();
322
 
323
  $slug_to_remove = $field_definition->get_slug();
341
  * @since 2.0
342
  */
343
  public function add_field_definition( $field_definition ) {
344
+
345
+ if( ! ( $field_definition instanceof WPCF_Field_Definition ) ) {
346
+ return false;
347
+ }
348
+
349
  $field_slugs = $this->get_field_slugs();
350
 
351
  $slug_to_add = $field_definition->get_slug();
application/models/field/group/factory.php CHANGED
@@ -250,6 +250,7 @@ abstract class Types_Field_Group_Factory {
250
  * Post type query is added automatically.
251
  * Additional arguments are allowed:
252
  * - 'types_search': String for extended search. See WPCF_Field_Group::is_match() for details.
 
253
  *
254
  * @return Types_Field_Group[]
255
  * @since 1.9
@@ -258,10 +259,17 @@ abstract class Types_Field_Group_Factory {
258
 
259
  // Read specific arguments
260
  $search_string = wpcf_getarr( $query_args, 'types_search' );
261
-
262
 
263
  // Query posts
264
  $query_args = array_merge( $query_args, array( 'post_type' => $this->get_post_type(), 'posts_per_page' => -1 ) );
 
 
 
 
 
 
 
265
  $query = new WP_Query( $query_args );
266
  $posts = $query->get_posts();
267
 
250
  * Post type query is added automatically.
251
  * Additional arguments are allowed:
252
  * - 'types_search': String for extended search. See WPCF_Field_Group::is_match() for details.
253
+ * - 'is_active' bool: If defined, only active/inactive field groups will be returned.
254
  *
255
  * @return Types_Field_Group[]
256
  * @since 1.9
259
 
260
  // Read specific arguments
261
  $search_string = wpcf_getarr( $query_args, 'types_search' );
262
+ $is_active = wpcf_getarr( $query_args, 'is_active', null );
263
 
264
  // Query posts
265
  $query_args = array_merge( $query_args, array( 'post_type' => $this->get_post_type(), 'posts_per_page' => -1 ) );
266
+
267
+ // Group's "activeness" is defined by the post status.
268
+ if( null !== $is_active ) {
269
+ unset( $query_args['is_active'] );
270
+ $query_args['post_status'] = ( $is_active ? 'publish' : 'draft' );
271
+ }
272
+
273
  $query = new WP_Query( $query_args );
274
  $posts = $query->get_posts();
275
 
application/models/field/group/post.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 2.0
7
  */
8
- final class Types_Field_Group_Post extends Types_Field_Group {
9
 
10
 
11
  const POST_TYPE = 'wp-types-group';
@@ -21,7 +21,7 @@ final class Types_Field_Group_Post extends Types_Field_Group {
21
  */
22
  const POSTMETA_POST_TYPE_LIST = '_wp_types_group_post_types';
23
 
24
-
25
  /**
26
  * @param WP_Post $field_group_post Post object representing a post field group.
27
  * @throws InvalidArgumentException
@@ -97,7 +97,7 @@ final class Types_Field_Group_Post extends Types_Field_Group {
97
 
98
  // we have selected post types
99
  return explode( ',', $db_assigned_to );
100
-
101
  }
102
 
103
 
5
  *
6
  * @since 2.0
7
  */
8
+ class Types_Field_Group_Post extends Types_Field_Group {
9
 
10
 
11
  const POST_TYPE = 'wp-types-group';
21
  */
22
  const POSTMETA_POST_TYPE_LIST = '_wp_types_group_post_types';
23
 
24
+
25
  /**
26
  * @param WP_Post $field_group_post Post object representing a post field group.
27
  * @throws InvalidArgumentException
97
 
98
  // we have selected post types
99
  return explode( ',', $db_assigned_to );
100
+
101
  }
102
 
103
 
application/models/field/group/post_factory.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 2.0
7
  */
8
- final class Types_Field_Group_Post_Factory extends Types_Field_Group_Factory {
9
 
10
 
11
  /**
@@ -65,4 +65,4 @@ final class Types_Field_Group_Post_Factory extends Types_Field_Group_Factory {
65
  }
66
 
67
 
68
- }
5
  *
6
  * @since 2.0
7
  */
8
+ class Types_Field_Group_Post_Factory extends Types_Field_Group_Factory {
9
 
10
 
11
  /**
65
  }
66
 
67
 
68
+ }
application/models/field/group/term.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 1.9
7
  */
8
- final class Types_Field_Group_Term extends Types_Field_Group {
9
 
10
 
11
  const POST_TYPE = 'wp-types-term-group';
@@ -47,6 +47,7 @@ final class Types_Field_Group_Term extends Types_Field_Group {
47
  */
48
  public function get_associated_taxonomies() {
49
  $postmeta = get_post_meta( $this->get_id(), self::POSTMETA_ASSOCIATED_TAXONOMY, false );
 
50
  return wpcf_ensarr( $postmeta );
51
  }
52
 
@@ -126,7 +127,7 @@ final class Types_Field_Group_Term extends Types_Field_Group {
126
  * @since 2.1
127
  */
128
  protected function get_export_fields() {
129
-
130
  $data = parent::get_export_fields();
131
 
132
  // Array of slugs of associated taxonomies.
@@ -138,4 +139,4 @@ final class Types_Field_Group_Term extends Types_Field_Group {
138
  return $data;
139
  }
140
 
141
- }
5
  *
6
  * @since 1.9
7
  */
8
+ class Types_Field_Group_Term extends Types_Field_Group {
9
 
10
 
11
  const POST_TYPE = 'wp-types-term-group';
47
  */
48
  public function get_associated_taxonomies() {
49
  $postmeta = get_post_meta( $this->get_id(), self::POSTMETA_ASSOCIATED_TAXONOMY, false );
50
+ $postmeta = array_filter( $postmeta, function( $value ) { $value = trim( $value ); return ( ! empty( $value ) ); } );
51
  return wpcf_ensarr( $postmeta );
52
  }
53
 
127
  * @since 2.1
128
  */
129
  protected function get_export_fields() {
130
+
131
  $data = parent::get_export_fields();
132
 
133
  // Array of slugs of associated taxonomies.
139
  return $data;
140
  }
141
 
142
+ }
application/models/field/group/term_factory.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 1.9
7
  */
8
- final class Types_Field_Group_Term_Factory extends Types_Field_Group_Factory {
9
 
10
 
11
  /**
@@ -71,6 +71,18 @@ final class Types_Field_Group_Term_Factory extends Types_Field_Group_Factory {
71
  private $taxonomy_assignment_cache = null;
72
 
73
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  /**
75
  * Produce a list of all taxonomies with groups that belong to them.
76
  *
@@ -108,7 +120,7 @@ final class Types_Field_Group_Term_Factory extends Types_Field_Group_Factory {
108
  * Get array of groups that are associated with given taxonomy.
109
  *
110
  * @param string $taxonomy_slug Slug of the taxonomy
111
- *
112
  * @return Types_Field_Group_Term[] Associated term field groups.
113
  */
114
  public function get_groups_by_taxonomy( $taxonomy_slug ) {
@@ -134,4 +146,4 @@ final class Types_Field_Group_Term_Factory extends Types_Field_Group_Factory {
134
 
135
 
136
 
137
- }
5
  *
6
  * @since 1.9
7
  */
8
+ class Types_Field_Group_Term_Factory extends Types_Field_Group_Factory {
9
 
10
 
11
  /**
71
  private $taxonomy_assignment_cache = null;
72
 
73
 
74
+ /**
75
+ * Clears the cache for taxonomy assignemnts.
76
+ * It is only used for testing purposes.
77
+ *
78
+ * @since 2.2
79
+ * @deprecated deprecated since version 2.2
80
+ */
81
+ public function clear_taxonomy_assignment_cache() {
82
+ $this->taxonomy_assignment_cache = null;
83
+ }
84
+
85
+
86
  /**
87
  * Produce a list of all taxonomies with groups that belong to them.
88
  *
120
  * Get array of groups that are associated with given taxonomy.
121
  *
122
  * @param string $taxonomy_slug Slug of the taxonomy
123
+ *
124
  * @return Types_Field_Group_Term[] Associated term field groups.
125
  */
126
  public function get_groups_by_taxonomy( $taxonomy_slug ) {
146
 
147
 
148
 
149
+ }
application/models/field/group/user.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 2.0
7
  */
8
- final class Types_Field_Group_User extends Types_Field_Group {
9
 
10
 
11
  const POST_TYPE = 'wp-types-user-group';
@@ -31,4 +31,4 @@ final class Types_Field_Group_User extends Types_Field_Group {
31
  }
32
 
33
 
34
- }
5
  *
6
  * @since 2.0
7
  */
8
+ class Types_Field_Group_User extends Types_Field_Group {
9
 
10
 
11
  const POST_TYPE = 'wp-types-user-group';
31
  }
32
 
33
 
34
+ }
application/models/field/group/user_factory.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 2.0
7
  */
8
- final class Types_Field_Group_User_Factory extends Types_Field_Group_Factory {
9
 
10
 
11
  /**
@@ -65,4 +65,4 @@ final class Types_Field_Group_User_Factory extends Types_Field_Group_Factory {
65
  }
66
 
67
 
68
- }
5
  *
6
  * @since 2.0
7
  */
8
+ class Types_Field_Group_User_Factory extends Types_Field_Group_Factory {
9
 
10
 
11
  /**
65
  }
66
 
67
 
68
+ }
application/models/field/type/definition_factory.php CHANGED
@@ -26,6 +26,7 @@ class Types_Field_Type_Definition_Factory {
26
  const RADIO = 'radio';
27
  const SELECT = 'select';
28
  const SKYPE = 'skype';
 
29
  const TEXTFIELD = 'textfield';
30
  const URL = 'url';
31
  const VIDEO = 'video';
26
  const RADIO = 'radio';
27
  const SELECT = 'select';
28
  const SKYPE = 'skype';
29
+ const TEXTAREA = 'textarea';
30
  const TEXTFIELD = 'textfield';
31
  const URL = 'url';
32
  const VIDEO = 'video';
application/models/helper/condition.php CHANGED
@@ -3,6 +3,8 @@
3
  /**
4
  * Types_Helper_Condition
5
  *
 
 
6
  * @since 2.0
7
  */
8
  abstract class Types_Helper_Condition {
3
  /**
4
  * Types_Helper_Condition
5
  *
6
+ * FIXME please document this!
7
+ *
8
  * @since 2.0
9
  */
10
  abstract class Types_Helper_Condition {
application/models/helper/placeholder.php CHANGED
@@ -7,6 +7,8 @@
7
  */
8
  class Types_Helper_Placeholder {
9
 
 
 
10
  private static $post_type;
11
 
12
  public static function set_post_type( $posttype = false ) {
@@ -178,24 +180,27 @@ class Types_Helper_Placeholder {
178
  }
179
 
180
  public static function get_archive_permalink() {
181
- // cpt edit page
182
- if( isset( $_GET['wpcf-post-type'] ) ) {
183
- $query = new WP_Query( 'post_type=' . $_GET['wpcf-post-type'] . '&post_status=publish&posts_per_page=1' );
184
- if( $query->have_posts() )
185
- return get_post_type_archive_link( $_GET['wpcf-post-type'] );
186
 
187
- return false;
188
  }
189
 
190
- if( ! is_object( self::$post_type ) )
191
- self::set_post_type();
 
192
 
193
- $query = new WP_Query( 'post_type=' . self::$post_type->name . '&post_status=publish&posts_per_page=1' );
194
- if( $query->have_posts() ) {
195
- return get_post_type_archive_link( self::$post_type->name );
196
- }
197
 
198
- return false;
 
 
 
 
199
  }
200
 
201
  private static function get_post_type_views_list() {
7
  */
8
  class Types_Helper_Placeholder {
9
 
10
+ private static $cache = array();
11
+
12
  private static $post_type;
13
 
14
  public static function set_post_type( $posttype = false ) {
180
  }
181
 
182
  public static function get_archive_permalink() {
183
+ if( array_key_exists( 'wpcf-post-type', $_GET ) ) {
184
+ $post_type = $_GET['wpcf-post-type'];
185
+ } else {
186
+ if( ! is_object( self::$post_type ) )
187
+ self::set_post_type();
188
 
189
+ $post_type = self::$post_type->name;
190
  }
191
 
192
+ // check cache
193
+ if( array_key_exists( $post_type, self::$cache ) && array_key_exists( 'archive_permalink', self::$cache[$post_type] ) )
194
+ return self::$cache[$post_type]['archive_permalink'];
195
 
196
+ // get new
197
+ $query = new WP_Query( 'post_type=' . $post_type . '&post_status=publish&posts_per_page=1' );
 
 
198
 
199
+ self::$cache[$post_type]['archive_permalink'] = $query->have_posts()
200
+ ? get_post_type_archive_link( $post_type )
201
+ : false;
202
+
203
+ return self::$cache[$post_type]['archive_permalink'];
204
  }
205
 
206
  private static function get_post_type_views_list() {
application/models/helper/url.php CHANGED
@@ -18,7 +18,6 @@ final class Types_Helper_Url {
18
 
19
  private static $urls = array();
20
 
21
- const ARG_SITE_URL = 'otgs-client-from-types';
22
  const WP_TYPES_DOMAIN = 'wp-types.com';
23
 
24
 
@@ -84,26 +83,6 @@ final class Types_Helper_Url {
84
 
85
  }
86
 
87
-
88
- /**
89
- * Add site's URL as an URL argument.
90
- *
91
- * @param string $url Source URL
92
- * @param null|string $arg_name Name of the argument. Optional, defaults to ARG_SITE_URL.
93
- * @return string
94
- * @since 2.1
95
- */
96
- private static function add_site_url_as_arg( $url, $arg_name = null ) {
97
- if( is_string( $url ) ) {
98
- if( !is_string( $arg_name ) || empty( $arg_name ) ) {
99
- $arg_name = self::ARG_SITE_URL;
100
- }
101
- $url = add_query_arg( $arg_name, get_site_url(), $url );
102
- }
103
- return $url;
104
- }
105
-
106
-
107
  /**
108
  * Determines whether an URL points to the wp-types.com domain.
109
  *
@@ -139,11 +118,7 @@ final class Types_Helper_Url {
139
  }
140
 
141
  $url = self::$urls[ $key ];
142
-
143
- if( self::is_link_to_wptypes( $url ) && $add_site_url ) {
144
- $url = self::add_site_url_as_arg( $url );
145
- }
146
-
147
  // return url if no arguments
148
  if( ! $utm_content ) {
149
  return $url;
18
 
19
  private static $urls = array();
20
 
 
21
  const WP_TYPES_DOMAIN = 'wp-types.com';
22
 
23
 
83
 
84
  }
85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  /**
87
  * Determines whether an URL points to the wp-types.com domain.
88
  *
118
  }
119
 
120
  $url = self::$urls[ $key ];
121
+
 
 
 
 
122
  // return url if no arguments
123
  if( ! $utm_content ) {
124
  return $url;
application/models/information/message.php CHANGED
@@ -137,20 +137,6 @@ class Types_Information_Message {
137
  ? $element['label']['post-edit']
138
  : $element['label']['default'];
139
  }
140
-
141
- // todo Remove once placeholder replace comes before Twig rendering
142
- if( isset( $element['target'] ) ) {
143
- switch( $element['target'] ) {
144
- case '%POST-PERMALINK%':
145
- $element['target'] = Types_Helper_Placeholder::get_permalink();
146
- break;
147
- case '%POST-ARCHIVE-PERMALINK%':
148
- $element['target'] = Types_Helper_Placeholder::get_archive_permalink();
149
- break;
150
- }
151
- }
152
- // end remove
153
-
154
  }
155
 
156
  $this->description = $description;
137
  ? $element['label']['post-edit']
138
  : $element['label']['default'];
139
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  }
141
 
142
  $this->description = $description;
application/models/post_type.php CHANGED
@@ -1,7 +1,11 @@
1
  <?php
2
 
 
 
 
3
  class Types_Post_Type {
4
 
 
5
  protected $wp_post_type;
6
 
7
  protected $name;
@@ -17,8 +21,9 @@ class Types_Post_Type {
17
  $this->name = $post_type;
18
  $registered = get_post_type_object( $post_type );
19
 
20
- if( $registered )
21
  $this->wp_post_type = $registered;
 
22
  }
23
  }
24
 
1
  <?php
2
 
3
+ /**
4
+ * FIXME please document this!
5
+ */
6
  class Types_Post_Type {
7
 
8
+ /** @var null|WP_Post_Type */
9
  protected $wp_post_type;
10
 
11
  protected $name;
21
  $this->name = $post_type;
22
  $registered = get_post_type_object( $post_type );
23
 
24
+ if( $registered ) {
25
  $this->wp_post_type = $registered;
26
+ }
27
  }
28
  }
29
 
application/models/taxonomy.php CHANGED
@@ -1,5 +1,10 @@
1
  <?php
2
 
 
 
 
 
 
3
  class Types_Taxonomy {
4
 
5
  protected $wp_taxonomy;
1
  <?php
2
 
3
+ /**
4
+ * Class Types_Taxonomy
5
+ *
6
+ * FIXME please document this!
7
+ */
8
  class Types_Taxonomy {
9
 
10
  protected $wp_taxonomy;
no_autoload_classmap.php → disabled_autoload_classmap.php RENAMED
File without changes
library/{toolset → otgs}/installer/changelog.txt RENAMED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  = 1.7.8 =
2
  * Small fix for hiding the WPML registration notice
3
 
1
+ = 1.7.11 =
2
+ * Fixed styling for 'must-register' warnings on the plugins page
3
+
4
+ = 1.7.10 =
5
+ * Fixed a notice that was appearing when the site key registration failed
6
+
7
+ = 1.7.9 =
8
+ * Save the client_id value from the site_key_validation API call response and make it available via WP_Installer_API::get_ts_client_id API call
9
+
10
  = 1.7.8 =
11
  * Small fix for hiding the WPML registration notice
12
 
library/{toolset → otgs}/installer/includes/class-installer-dependencies.php RENAMED
File without changes
library/{toolset → otgs}/installer/includes/class-installer-theme.php RENAMED
File without changes
library/{toolset → otgs}/installer/includes/installer-api.php RENAMED
@@ -78,4 +78,39 @@ class WP_Installer_API{
78
 
79
  }
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }
78
 
79
  }
80
 
81
+ /**
82
+ * Retrieve the translation services client id for a specific repository (if any)
83
+ *
84
+ * @since 1.7.9
85
+ *
86
+ * @param string The repository id (e.g. wpml)
87
+ * @return string The client id or false
88
+ */
89
+ public static function get_ts_client_id( $repository_id = 'wpml' ){
90
+
91
+ if(isset(WP_Installer()->settings['repositories'][$repository_id]['ts_info']['client_id'])){
92
+ return WP_Installer()->settings['repositories'][$repository_id]['ts_info']['client_id'];
93
+ }
94
+
95
+ return false;
96
+
97
+ }
98
+
99
+ /**
100
+ * Retrieve the site key corresponding to a repository.
101
+ * This is a wrapper of WP_Installer::get_site_key()
102
+ * @see WP_Installer::get_site_key()
103
+ *
104
+ * @since 1.7.9
105
+ *
106
+ * @param string The repository id (e.g. wpml)
107
+ * @return string The site key (or false)
108
+ */
109
+ public static function get_site_key( $repository_id = 'wpml' ){
110
+
111
+ return WP_Installer()->get_site_key( $repository_id );
112
+
113
+ }
114
+
115
+
116
  }
library/{toolset → otgs}/installer/includes/installer-upgrader-skins.php RENAMED
File without changes
library/{toolset → otgs}/installer/includes/installer.class.php RENAMED
@@ -1040,7 +1040,8 @@ final class WP_Installer{
1040
  $this->settings['repositories'][$repository_id]['subscription'] = array('key' => $site_key, 'data' => $subscription_data);
1041
  $this->save_settings();
1042
  } else {
1043
- $error = __( 'Invalid site key for the current site.', 'installer' );
 
1044
  }
1045
 
1046
  } catch (Exception $e ){
@@ -1069,16 +1070,16 @@ final class WP_Installer{
1069
  }
1070
 
1071
  }
1072
-
 
 
 
 
 
 
 
1073
  public function get_site_key($repository_id){
1074
-
1075
- if(isset($this->settings['repositories'][$repository_id]['subscription'])){
1076
- $site_key = $this->settings['repositories'][$repository_id]['subscription']['key'];
1077
- }else{
1078
- $site_key = false;
1079
- }
1080
-
1081
- return $site_key;
1082
  }
1083
 
1084
  public function remove_site_key(){
@@ -1220,15 +1221,16 @@ final class WP_Installer{
1220
  if(is_serialized($datas)){
1221
  $data = unserialize($datas);
1222
  $this->api_debug_log($data);
1223
- }else{
1224
- $this->api_debug_log($datas);
1225
- }
1226
 
1227
- if(!empty($data->subscription_data)){
1228
- $subscription_data = $data->subscription_data;
1229
- }
 
 
1230
 
1231
- do_action( 'installer_fetched_subscription_data', $data, $repository_id);
 
 
1232
 
1233
  }else{
1234
 
@@ -2099,23 +2101,42 @@ final class WP_Installer{
2099
  }
2100
 
2101
  }
2102
-
2103
  public function show_purchase_notice_under_plugin($plugin_file, $plugin_data, $status){
2104
-
2105
  $wp_list_table = _get_list_table('WP_Plugins_List_Table');
2106
- ?>
2107
-
2108
- <tr class="plugin-update-tr"><td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="plugin-update colspanchange">
2109
- <div class="update-message installer-q-icon">
2110
- <?php
2111
- printf(__('You need to have a valid subscription in order to get upgrades or support for this plugin. %sPurchase a subscription or enter an existing site key%s.', 'installer'),
2112
- '<a href="' . $this->menu_url() . '">', '</a>');
2113
  ?>
2114
- </div>
2115
- </tr>
2116
-
2117
- <?php
2118
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2119
  }
2120
 
2121
  public function localize_strings(){
1040
  $this->settings['repositories'][$repository_id]['subscription'] = array('key' => $site_key, 'data' => $subscription_data);
1041
  $this->save_settings();
1042
  } else {
1043
+ $error = __( 'Invalid site key for the current site.', 'installer' )
1044
+ . '<br /><div class="installer-footnote">' . __('Please note that the site key is case sensitive.', 'installer') . '</div>';
1045
  }
1046
 
1047
  } catch (Exception $e ){
1070
  }
1071
 
1072
  }
1073
+
1074
+ /**
1075
+ * Alias for WP_Installer::get_repository_site_key
1076
+ * @see WP_Installer::get_repository_site_key()
1077
+ *
1078
+ * @param string $repository_id
1079
+ * @return string (site key) or bool
1080
+ */
1081
  public function get_site_key($repository_id){
1082
+ return WP_Installer::get_repository_site_key( $repository_id );
 
 
 
 
 
 
 
1083
  }
1084
 
1085
  public function remove_site_key(){
1221
  if(is_serialized($datas)){
1222
  $data = unserialize($datas);
1223
  $this->api_debug_log($data);
 
 
 
1224
 
1225
+ if( !empty( $data->subscription_data ) ){
1226
+ $subscription_data = $data->subscription_data;
1227
+ }
1228
+
1229
+ do_action( 'installer_fetched_subscription_data', $data, $repository_id);
1230
 
1231
+ }else{
1232
+ $this->api_debug_log($datas);
1233
+ }
1234
 
1235
  }else{
1236
 
2101
  }
2102
 
2103
  }
2104
+
2105
  public function show_purchase_notice_under_plugin($plugin_file, $plugin_data, $status){
2106
+
2107
  $wp_list_table = _get_list_table('WP_Plugins_List_Table');
2108
+ $wp_version = preg_replace( '/-(.+)$/', '', $GLOBALS['wp_version'] );
2109
+
2110
+ if( version_compare( $wp_version, '4.6', '>=' ) ){
2111
+
 
 
 
2112
  ?>
2113
+ <tr class="plugin-update-tr installer-plugin-update-tr">
2114
+ <td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="plugin-update colspanchange">
2115
+ <div class="notice inline notice-warning notice-alt">
2116
+ <p class="installer-q-icon">
2117
+ <?php printf( __('You must have a valid subscription in order to get upgrades or support for this plugin. %sPurchase a subscription or enter an existing site key%s.', 'installer'),
2118
+ '<a href="' . $this->menu_url() . '">', '</a>'); ?>
2119
+ </p>
2120
+ </div>
2121
+ </td>
2122
+ </tr>
2123
+ <?php
2124
+
2125
+ } else {
2126
+
2127
+ ?>
2128
+ <tr class="plugin-update-tr">
2129
+ <td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="plugin-update colspanchange">
2130
+ <div class="update-message installer-q-icon">
2131
+ <?php printf( __('You must have a valid subscription in order to get upgrades or support for this plugin. %sPurchase a subscription or enter an existing site key%s.', 'installer'),
2132
+ '<a href="' . $this->menu_url() . '">', '</a>'); ?>
2133
+ </div>
2134
+ </td>
2135
+ </tr>
2136
+ <?php
2137
+
2138
+ }
2139
+
2140
  }
2141
 
2142
  public function localize_strings(){
library/{toolset → otgs}/installer/includes/translation-service-info.class.php RENAMED
@@ -24,6 +24,11 @@ class TranslationServiceInfo{
24
  $save_settings = true;
25
  }
26
 
 
 
 
 
 
27
  if($save_settings){
28
  WP_Installer()->save_settings();
29
  }
24
  $save_settings = true;
25
  }
26
 
27
+ if ( !empty( $data->ts_info['client_id'] ) ) { // can be updated
28
+ WP_Installer()->settings['repositories'][$repository_id]['ts_info']['client_id'] = $data->ts_info['client_id'];
29
+ $save_settings = true;
30
+ }
31
+
32
  if($save_settings){
33
  WP_Installer()->save_settings();
34
  }
library/{toolset → otgs}/installer/installer.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- define('WP_INSTALLER_VERSION', '1.7.8');
3
 
4
  include_once dirname(__FILE__) . '/includes/installer.class.php';
5
 
1
  <?php
2
+ define('WP_INSTALLER_VERSION', '1.7.11');
3
 
4
  include_once dirname(__FILE__) . '/includes/installer.class.php';
5
 
library/{toolset → otgs}/installer/loader.php RENAMED
@@ -19,7 +19,7 @@ $wp_installer_instance = dirname(__FILE__) . '/installer.php';
19
  global $wp_installer_instances;
20
  $wp_installer_instances[$wp_installer_instance] = array(
21
  'bootfile' => $wp_installer_instance,
22
- 'version' => '1.7.8'
23
  );
24
 
25
 
19
  global $wp_installer_instances;
20
  $wp_installer_instances[$wp_installer_instance] = array(
21
  'bootfile' => $wp_installer_instance,
22
+ 'version' => '1.7.11'
23
  );
24
 
25
 
library/{toolset → otgs}/installer/locale/installer-ar.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-de_DE.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-el.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-es_ES.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-fr_FR.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-he_IL.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-it_IT.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-ja.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-ko_KR.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-nl_NL.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-pl_PL.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-pt_BR.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-pt_PT.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-ru_RU.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-sv_SE.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-uk_UA.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-vi.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-zh_CN.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/installer-zh_TW.mo RENAMED
File without changes
library/{toolset → otgs}/installer/locale/orig/installer.po RENAMED
File without changes
library/{toolset → otgs}/installer/repositories.xml RENAMED
File without changes
library/{toolset → otgs}/installer/res/css/admin.css RENAMED
@@ -15,20 +15,28 @@
15
  .installer-status-activated{color: #333366; font-weight: bold; }
16
 
17
  .js-status-success p{
18
- color: #FF9900;
19
  padding: 4px;
20
  }
21
 
22
  .installer-green-text{
23
- color:#006600;
24
  font-weight:bold;
25
  }
26
 
27
  .installer-red-text{
28
- color:#b22121;
29
  font-weight:bold;
30
  }
31
 
 
 
 
 
 
 
 
 
32
  .installer-products-list li{
33
  display: inline;
34
  margin-right: 20px;
@@ -85,6 +93,13 @@
85
 
86
  .installer-q-icon:before{
87
  content: '\f223' !important;
 
 
 
 
 
 
 
88
  }
89
 
90
  .otgsi_yellow_bg{
@@ -95,12 +110,12 @@
95
  width:480px;
96
  border: solid 1px #999;
97
  padding:10px;
98
- border-radius: 5px;
99
  }
100
 
101
  .installer-plugins-list-compact{
102
  background-color: #fff;
103
- border-collapse: collapse;
104
  border:solid 1px #C1DAD7;
105
  width:100%;
106
  }
@@ -128,17 +143,17 @@
128
  width:16px;
129
  }
130
 
131
- .otgs_wp_installer_table_compact .installer-status-downloading,
132
- .otgs_wp_installer_table_compact .installer-status-downloaded,
133
- .otgs_wp_installer_table_compact .installer-status-activating,
134
  .otgs_wp_installer_table_compact .installer-status-activated{
135
- display: none;
136
  color:transparent; width: 12px; padding:2px;
137
  }
138
 
139
  .otgs_wp_installer_table_compact .installer-status-success,
140
  .otgs_wp_installer_table_compact .installer-status-fail{
141
- display: none;
142
  }
143
 
144
  .installer-status-success{
15
  .installer-status-activated{color: #333366; font-weight: bold; }
16
 
17
  .js-status-success p{
18
+ color: #FF9900;
19
  padding: 4px;
20
  }
21
 
22
  .installer-green-text{
23
+ color:#006600;
24
  font-weight:bold;
25
  }
26
 
27
  .installer-red-text{
28
+ color:#b22121;
29
  font-weight:bold;
30
  }
31
 
32
+ .installer-footnote{
33
+ color:#3d5e69;
34
+ display:block;
35
+ float: left;
36
+ font-style: italic;
37
+ font-size: 90%;
38
+ }
39
+
40
  .installer-products-list li{
41
  display: inline;
42
  margin-right: 20px;
93
 
94
  .installer-q-icon:before{
95
  content: '\f223' !important;
96
+ font-family: dashicons !important;
97
+ color: #f56e28;
98
+ font: 20px/1 "dashicons";
99
+ }
100
+
101
+ .installer-plugin-update-tr td{
102
+ padding-left:3px !important;
103
  }
104
 
105
  .otgsi_yellow_bg{
110
  width:480px;
111
  border: solid 1px #999;
112
  padding:10px;
113
+ border-radius: 5px;
114
  }
115
 
116
  .installer-plugins-list-compact{
117
  background-color: #fff;
118
+ border-collapse: collapse;
119
  border:solid 1px #C1DAD7;
120
  width:100%;
121
  }
143
  width:16px;
144
  }
145
 
146
+ .otgs_wp_installer_table_compact .installer-status-downloading,
147
+ .otgs_wp_installer_table_compact .installer-status-downloaded,
148
+ .otgs_wp_installer_table_compact .installer-status-activating,
149
  .otgs_wp_installer_table_compact .installer-status-activated{
150
+ display: none;
151
  color:transparent; width: 12px; padding:2px;
152
  }
153
 
154
  .otgs_wp_installer_table_compact .installer-status-success,
155
  .otgs_wp_installer_table_compact .installer-status-fail{
156
+ display: none;
157
  }
158
 
159
  .installer-status-success{
library/{toolset → otgs}/installer/res/img/complete.png RENAMED
File without changes
library/{toolset → otgs}/installer/res/img/computer.png RENAMED
File without changes
library/{toolset → otgs}/installer/res/img/dn.gif RENAMED
File without changes
library/{toolset → otgs}/installer/res/img/dn2.gif RENAMED
File without changes
library/{toolset → otgs}/installer/res/img/globe.png RENAMED
File without changes
library/{toolset → otgs}/installer/res/img/icon_error.gif RENAMED
File without changes
library/{toolset → otgs}/installer/res/img/on.png RENAMED
File without changes
library/{toolset → otgs}/installer/res/img/spinner.gif RENAMED
File without changes
library/{toolset → otgs}/installer/res/js/admin.js RENAMED
File without changes
library/{toolset → otgs}/installer/res/js/iframeResizer.min.js RENAMED
File without changes
library/{toolset → otgs}/installer/res/js/installer_theme_install.js RENAMED
File without changes
library/{toolset → otgs}/installer/templates/downloads-list-compact.php RENAMED
File without changes
library/{toolset → otgs}/installer/templates/downloads-list.php RENAMED
File without changes
library/{toolset → otgs}/installer/templates/products-compact.php RENAMED
File without changes
library/{toolset → otgs}/installer/templates/repository-listing.php RENAMED
File without changes
library/toolset/filesystem/file.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
 
 
 
 
3
  class Toolset_Filesystem_File {
4
 
5
  private $handle = false;
1
  <?php
2
 
3
+ if( class_exists( 'Toolset_Filesystem_File', false ) )
4
+ return;
5
+
6
  class Toolset_Filesystem_File {
7
 
8
  private $handle = false;
library/toolset/onthego-resources/loader.php CHANGED
@@ -16,8 +16,7 @@
16
  // is made to the onthego-resources code.
17
  // The version number will then be used to work out which plugin has the latest
18
  // version of the code.
19
-
20
- $onthegosystems_branding_version = 15;
21
 
22
  // ----------------------------------------------------------------------//
23
  // WARNING * WARNING *WARNING
16
  // is made to the onthego-resources code.
17
  // The version number will then be used to work out which plugin has the latest
18
  // version of the code.
19
+ $onthegosystems_branding_version = 18;
 
20
 
21
  // ----------------------------------------------------------------------//
22
  // WARNING * WARNING *WARNING
library/toolset/onthego-resources/onthego-styles/onthego-buttons.css CHANGED
@@ -1,24 +1,24 @@
1
 
2
  .ont-btn {
3
- display: inline-block;
4
- padding: 6px 12px;
5
- margin-bottom: 0;
6
- font-size: 14px;
7
- font-weight: normal;
8
- line-height: 1.42857143;
9
- text-align: center;
10
- white-space: nowrap;
11
- vertical-align: middle;
12
- -ms-touch-action: manipulation;
13
- touch-action: manipulation;
14
- cursor: pointer;
15
- -webkit-user-select: none;
16
- -moz-user-select: none;
17
- -ms-user-select: none;
18
- user-select: none;
19
- background-image: none;
20
- border: 1px solid transparent;
21
- border-radius: 4px;
22
  }
23
  .ont-btn:focus,
24
  .ont-btn:active:focus,
@@ -26,58 +26,58 @@
26
  .ont-btn.focus,
27
  .ont-btn:active.focus,
28
  .ont-btn.active.focus {
29
- outline: thin dotted;
30
- outline: 5px auto -webkit-focus-ring-color;
31
- outline-offset: -2px;
32
  }
33
  .ont-btn:hover,
34
  .ont-btn:focus,
35
  .ont-btn.focus {
36
- color: #333;
37
- text-decoration: none;
38
  }
39
  .ont-btn:active,
40
  .ont-btn.active {
41
- background-image: none;
42
- outline: 0;
43
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
44
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
45
  }
46
  .ont-btn.disabled,
47
  .ont-btn[disabled],
48
  fieldset[disabled] .ont-btn {
49
- cursor: not-allowed;
50
- filter: alpha(opacity=65);
51
- -webkit-box-shadow: none;
52
- box-shadow: none;
53
- opacity: .65;
54
  }
55
  a.ont-btn.disabled,
56
  fieldset[disabled] a.ont-btn {
57
- pointer-events: none;
58
  }
59
  .ont-btn-default {
60
- color: #333;
61
- background-color: #fff;
62
- border-color: #ccc;
63
  }
64
  .ont-btn-default:focus,
65
  .ont-btn-default.focus {
66
- color: #333;
67
- background-color: #e6e6e6;
68
- border-color: #8c8c8c;
69
  }
70
  .ont-btn-default:hover {
71
- color: #333;
72
- background-color: #e6e6e6;
73
- border-color: #adadad;
74
  }
75
  .ont-btn-default:active,
76
  .ont-btn-default.active,
77
  .open > .dropdown-toggle.ont-btn-default {
78
- color: #333;
79
- background-color: #e6e6e6;
80
- border-color: #adadad;
81
  }
82
  .ont-btn-default:active:hover,
83
  .ont-btn-default.active:hover,
@@ -88,14 +88,14 @@ fieldset[disabled] a.ont-btn {
88
  .ont-btn-default:active.focus,
89
  .ont-btn-default.active.focus,
90
  .open > .dropdown-toggle.ont-btn-default.focus {
91
- color: #333;
92
- background-color: #d4d4d4;
93
- border-color: #8c8c8c;
94
  }
95
  .ont-btn-default:active,
96
  .ont-btn-default.active,
97
  .open > .dropdown-toggle.ont-btn-default {
98
- background-image: none;
99
  }
100
  .ont-btn-default.disabled:hover,
101
  .ont-btn-default[disabled]:hover,
@@ -106,36 +106,36 @@ fieldset[disabled] .ont-btn-default:focus,
106
  .ont-btn-default.disabled.focus,
107
  .ont-btn-default[disabled].focus,
108
  fieldset[disabled] .ont-btn-default.focus {
109
- background-color: #fff;
110
- border-color: #ccc;
111
  }
112
  .ont-btn-default .badge {
113
- color: #fff;
114
- background-color: #333;
115
  }
116
 
117
  .ont-btn-primary {
118
- color: #fff;
119
- background-color: #337ab7;
120
- border-color: #2e6da4;
121
  }
122
  .ont-btn-primary:focus,
123
  .ont-btn-primary.focus {
124
- color: #fff;
125
- background-color: #286090;
126
- border-color: #122b40;
127
  }
128
  .ont-btn-primary:hover {
129
- color: #fff;
130
- background-color: #286090;
131
- border-color: #204d74;
132
  }
133
  .ont-btn-primary:active,
134
  .ont-btn-primary.active,
135
  .open > .dropdown-toggle.ont-btn-primary {
136
- color: #fff;
137
- background-color: #286090;
138
- border-color: #204d74;
139
  }
140
  .ont-btn-primary:active:hover,
141
  .ont-btn-primary.active:hover,
@@ -146,14 +146,14 @@ fieldset[disabled] .ont-btn-default.focus {
146
  .ont-btn-primary:active.focus,
147
  .ont-btn-primary.active.focus,
148
  .open > .dropdown-toggle.ont-btn-primary.focus {
149
- color: #fff;
150
- background-color: #204d74;
151
- border-color: #122b40;
152
  }
153
  .ont-btn-primary:active,
154
  .ont-btn-primary.active,
155
  .open > .dropdown-toggle.ont-btn-primary {
156
- background-image: none;
157
  }
158
  .ont-btn-primary.disabled:hover,
159
  .ont-btn-primary[disabled]:hover,
@@ -164,35 +164,35 @@ fieldset[disabled] .ont-btn-primary:focus,
164
  .ont-btn-primary.disabled.focus,
165
  .ont-btn-primary[disabled].focus,
166
  fieldset[disabled] .ont-btn-primary.focus {
167
- background-color: #337ab7;
168
- border-color: #2e6da4;
169
  }
170
  .ont-btn-primary .badge {
171
- color: #337ab7;
172
- background-color: #fff;
173
  }
174
  .ont-btn-success {
175
- color: #fff;
176
- background-color: #5cb85c;
177
- border-color: #4cae4c;
178
  }
179
  .ont-btn-success:focus,
180
  .ont-btn-success.focus {
181
- color: #fff;
182
- background-color: #449d44;
183
- border-color: #255625;
184
  }
185
  .ont-btn-success:hover {
186
- color: #fff;
187
- background-color: #449d44;
188
- border-color: #398439;
189
  }
190
  .ont-btn-success:active,
191
  .ont-btn-success.active,
192
  .open > .dropdown-toggle.ont-btn-success {
193
- color: #fff;
194
- background-color: #449d44;
195
- border-color: #398439;
196
  }
197
  .ont-btn-success:active:hover,
198
  .ont-btn-success.active:hover,
@@ -203,14 +203,14 @@ fieldset[disabled] .ont-btn-primary.focus {
203
  .ont-btn-success:active.focus,
204
  .ont-btn-success.active.focus,
205
  .open > .dropdown-toggle.ont-btn-success.focus {
206
- color: #fff;
207
- background-color: #398439;
208
- border-color: #255625;
209
  }
210
  .ont-btn-success:active,
211
  .ont-btn-success.active,
212
  .open > .dropdown-toggle.ont-btn-success {
213
- background-image: none;
214
  }
215
  .ont-btn-success.disabled:hover,
216
  .ont-btn-success[disabled]:hover,
@@ -221,35 +221,35 @@ fieldset[disabled] .ont-btn-success:focus,
221
  .ont-btn-success.disabled.focus,
222
  .ont-btn-success[disabled].focus,
223
  fieldset[disabled] .ont-btn-success.focus {
224
- background-color: #5cb85c;
225
- border-color: #4cae4c;
226
  }
227
  .ont-btn-success .badge {
228
- color: #5cb85c;
229
- background-color: #fff;
230
  }
231
  .ont-btn-info {
232
- color: #fff;
233
- background-color: #5bc0de;
234
- border-color: #46b8da;
235
  }
236
  .ont-btn-info:focus,
237
  .ont-btn-info.focus {
238
- color: #fff;
239
- background-color: #31b0d5;
240
- border-color: #1b6d85;
241
  }
242
  .ont-btn-info:hover {
243
- color: #fff;
244
- background-color: #31b0d5;
245
- border-color: #269abc;
246
  }
247
  .ont-btn-info:active,
248
  .ont-btn-info.active,
249
  .open > .dropdown-toggle.ont-btn-info {
250
- color: #fff;
251
- background-color: #31b0d5;
252
- border-color: #269abc;
253
  }
254
  .ont-btn-info:active:hover,
255
  .ont-btn-info.active:hover,
@@ -260,14 +260,14 @@ fieldset[disabled] .ont-btn-success.focus {
260
  .ont-btn-info:active.focus,
261
  .ont-btn-info.active.focus,
262
  .open > .dropdown-toggle.ont-btn-info.focus {
263
- color: #fff;
264
- background-color: #269abc;
265
- border-color: #1b6d85;
266
  }
267
  .ont-btn-info:active,
268
  .ont-btn-info.active,
269
  .open > .dropdown-toggle.ont-btn-info {
270
- background-image: none;
271
  }
272
  .ont-btn-info.disabled:hover,
273
  .ont-btn-info[disabled]:hover,
@@ -278,35 +278,35 @@ fieldset[disabled] .ont-btn-info:focus,
278
  .ont-btn-info.disabled.focus,
279
  .ont-btn-info[disabled].focus,
280
  fieldset[disabled] .ont-btn-info.focus {
281
- background-color: #5bc0de;
282
- border-color: #46b8da;
283
  }
284
  .ont-btn-info .badge {
285
- color: #5bc0de;
286
- background-color: #fff;
287
  }
288
  .ont-btn-warning {
289
- color: #fff;
290
- background-color: #f0ad4e;
291
- border-color: #eea236;
292
  }
293
  .ont-btn-warning:focus,
294
  .ont-btn-warning.focus {
295
- color: #fff;
296
- background-color: #ec971f;
297
- border-color: #985f0d;
298
  }
299
  .ont-btn-warning:hover {
300
- color: #fff;
301
- background-color: #ec971f;
302
- border-color: #d58512;
303
  }
304
  .ont-btn-warning:active,
305
  .ont-btn-warning.active,
306
  .open > .dropdown-toggle.ont-btn-warning {
307
- color: #fff;
308
- background-color: #ec971f;
309
- border-color: #d58512;
310
  }
311
  .ont-btn-warning:active:hover,
312
  .ont-btn-warning.active:hover,
@@ -317,14 +317,14 @@ fieldset[disabled] .ont-btn-info.focus {
317
  .ont-btn-warning:active.focus,
318
  .ont-btn-warning.active.focus,
319
  .open > .dropdown-toggle.ont-btn-warning.focus {
320
- color: #fff;
321
- background-color: #d58512;
322
- border-color: #985f0d;
323
  }
324
  .ont-btn-warning:active,
325
  .ont-btn-warning.active,
326
  .open > .dropdown-toggle.ont-btn-warning {
327
- background-image: none;
328
  }
329
  .ont-btn-warning.disabled:hover,
330
  .ont-btn-warning[disabled]:hover,
@@ -335,35 +335,35 @@ fieldset[disabled] .ont-btn-warning:focus,
335
  .ont-btn-warning.disabled.focus,
336
  .ont-btn-warning[disabled].focus,
337
  fieldset[disabled] .ont-btn-warning.focus {
338
- background-color: #f0ad4e;
339
- border-color: #eea236;
340
  }
341
  .ont-btn-warning .badge {
342
- color: #f0ad4e;
343
- background-color: #fff;
344
  }
345
  .ont-btn-danger {
346
- color: #fff;
347
- background-color: #d9534f;
348
- border-color: #d43f3a;
349
  }
350
  .ont-btn-danger:focus,
351
  .ont-btn-danger.focus {
352
- color: #fff;
353
- background-color: #c9302c;
354
- border-color: #761c19;
355
  }
356
  .ont-btn-danger:hover {
357
- color: #fff;
358
- background-color: #c9302c;
359
- border-color: #ac2925;
360
  }
361
  .ont-btn-danger:active,
362
  .ont-btn-danger.active,
363
  .open > .dropdown-toggle.ont-btn-danger {
364
- color: #fff;
365
- background-color: #c9302c;
366
- border-color: #ac2925;
367
  }
368
  .ont-btn-danger:active:hover,
369
  .ont-btn-danger.active:hover,
@@ -374,14 +374,14 @@ fieldset[disabled] .ont-btn-warning.focus {
374
  .ont-btn-danger:active.focus,
375
  .ont-btn-danger.active.focus,
376
  .open > .dropdown-toggle.ont-btn-danger.focus {
377
- color: #fff;
378
- background-color: #ac2925;
379
- border-color: #761c19;
380
  }
381
  .ont-btn-danger:active,
382
  .ont-btn-danger.active,
383
  .open > .dropdown-toggle.ont-btn-danger {
384
- background-image: none;
385
  }
386
  .ont-btn-danger.disabled:hover,
387
  .ont-btn-danger[disabled]:hover,
@@ -392,89 +392,89 @@ fieldset[disabled] .ont-btn-danger:focus,
392
  .ont-btn-danger.disabled.focus,
393
  .ont-btn-danger[disabled].focus,
394
  fieldset[disabled] .ont-btn-danger.focus {
395
- background-color: #d9534f;
396
- border-color: #d43f3a;
397
  }
398
  .ont-btn-danger .badge {
399
- color: #d9534f;
400
- background-color: #fff;
401
  }
402
  .ont-btn-link {
403
- font-weight: normal;
404
- color: #337ab7;
405
- border-radius: 0;
406
  }
407
  .ont-btn-link,
408
  .ont-btn-link:active,
409
  .ont-btn-link.active,
410
  .ont-btn-link[disabled],
411
  fieldset[disabled] .ont-btn-link {
412
- background-color: transparent;
413
- -webkit-box-shadow: none;
414
- box-shadow: none;
415
  }
416
  .ont-btn-link,
417
  .ont-btn-link:hover,
418
  .ont-btn-link:focus,
419
  .ont-btn-link:active {
420
- border-color: transparent;
421
  }
422
  .ont-btn-link:hover,
423
  .ont-btn-link:focus {
424
- color: #23527c;
425
- text-decoration: underline;
426
- background-color: transparent;
427
  }
428
  .ont-btn-link[disabled]:hover,
429
  fieldset[disabled] .ont-btn-link:hover,
430
  .ont-btn-link[disabled]:focus,
431
  fieldset[disabled] .ont-btn-link:focus {
432
- color: #777;
433
- text-decoration: none;
434
  }
435
  .ont-btn-lg,
436
  .ont-btn-group-lg > .ont-btn {
437
- padding: 10px 16px;
438
- font-size: 18px;
439
- line-height: 1.3333333;
440
- border-radius: 6px;
441
  }
442
  .ont-btn-sm,
443
  .ont-btn-group-sm > .ont-btn {
444
- padding: 5px 10px;
445
- font-size: 12px;
446
- line-height: 1.5;
447
- border-radius: 3px;
448
  }
449
  .ont-btn-xs,
450
  .ont-btn-group-xs > .ont-btn {
451
- padding: 1px 5px;
452
- font-size: 12px;
453
- line-height: 1.5;
454
- border-radius: 3px;
455
  }
456
  .ont-btn-block {
457
- display: block;
458
- width: 100%;
459
  }
460
  .ont-btn-block + .ont-btn-block {
461
- margin-top: 5px;
462
  }
463
  input[type="submit"].ont-btn-block,
464
  input[type="reset"].ont-btn-block,
465
  input[type="button"].ont-btn-block {
466
- width: 100%;
467
  }
468
  .ont-btn-group,
469
  .ont-btn-group-vertical {
470
- position: relative;
471
- display: inline-block;
472
- vertical-align: middle;
473
  }
474
  .ont-btn-group > .ont-btn,
475
  .ont-btn-group-vertical > .ont-btn {
476
- position: relative;
477
- float: left;
478
  }
479
  .ont-btn-group > .ont-btn:hover,
480
  .ont-btn-group-vertical > .ont-btn:hover,
@@ -484,160 +484,160 @@ input[type="button"].ont-btn-block {
484
  .ont-btn-group-vertical > .ont-btn:active,
485
  .ont-btn-group > .ont-btn.active,
486
  .ont-btn-group-vertical > .ont-btn.active {
487
- z-index: 2;
488
  }
489
  .ont-btn-group .ont-btn + .ont-btn,
490
  .ont-btn-group .ont-btn + .ont-btn-group,
491
  .ont-btn-group .ont-btn-group + .ont-btn,
492
  .ont-btn-group .ont-btn-group + .ont-btn-group {
493
- margin-left: -1px;
494
  }
495
  .ont-btn-toolbar {
496
- margin-left: -5px;
497
  }
498
  .ont-btn-toolbar .ont-btn,
499
  .ont-btn-toolbar .ont-btn-group,
500
  .ont-btn-toolbar .input-group {
501
- float: left;
502
  }
503
  .ont-btn-toolbar > .ont-btn,
504
  .ont-btn-toolbar > .ont-btn-group,
505
  .ont-btn-toolbar > .input-group {
506
- margin-left: 5px;
507
  }
508
  .ont-btn-group > .ont-btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
509
- border-radius: 0;
510
  }
511
  .ont-btn-group > .ont-btn:first-child {
512
- margin-left: 0;
513
  }
514
  .ont-btn-group > .ont-btn:first-child:not(:last-child):not(.dropdown-toggle) {
515
- border-top-right-radius: 0;
516
- border-bottom-right-radius: 0;
517
  }
518
  .ont-btn-group > .ont-btn:last-child:not(:first-child),
519
  .ont-btn-group > .dropdown-toggle:not(:first-child) {
520
- border-top-left-radius: 0;
521
- border-bottom-left-radius: 0;
522
  }
523
  .ont-btn-group > .ont-btn-group {
524
- float: left;
525
  }
526
  .ont-btn-group > .ont-btn-group:not(:first-child):not(:last-child) > .ont-btn {
527
- border-radius: 0;
528
  }
529
  .ont-btn-group > .ont-btn-group:first-child:not(:last-child) > .ont-btn:last-child,
530
  .ont-btn-group > .ont-btn-group:first-child:not(:last-child) > .dropdown-toggle {
531
- border-top-right-radius: 0;
532
- border-bottom-right-radius: 0;
533
  }
534
  .ont-btn-group > .ont-btn-group:last-child:not(:first-child) > .ont-btn:first-child {
535
- border-top-left-radius: 0;
536
- border-bottom-left-radius: 0;
537
  }
538
  .ont-btn-group .dropdown-toggle:active,
539
  .ont-btn-group.open .dropdown-toggle {
540
- outline: 0;
541
  }
542
  .ont-btn-group > .ont-btn + .dropdown-toggle {
543
- padding-right: 8px;
544
- padding-left: 8px;
545
  }
546
  .ont-btn-group > .ont-btn-lg + .dropdown-toggle {
547
- padding-right: 12px;
548
- padding-left: 12px;
549
  }
550
  .ont-btn-group.open .dropdown-toggle {
551
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
552
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
553
  }
554
  .ont-btn-group.open .dropdown-toggle.ont-btn-link {
555
- -webkit-box-shadow: none;
556
- box-shadow: none;
557
  }
558
  .ont-btn .caret {
559
- margin-left: 0;
560
  }
561
  .ont-btn-lg .caret {
562
- border-width: 5px 5px 0;
563
- border-bottom-width: 0;
564
  }
565
  .dropup .ont-btn-lg .caret {
566
- border-width: 0 5px 5px;
567
  }
568
  .ont-btn-group-vertical > .ont-btn,
569
  .ont-btn-group-vertical > .ont-btn-group,
570
  .ont-btn-group-vertical > .ont-btn-group > .ont-btn {
571
- display: block;
572
- float: none;
573
- width: 100%;
574
- max-width: 100%;
575
  }
576
  .ont-btn-group-vertical > .ont-btn-group > .ont-btn {
577
- float: none;
578
  }
579
  .ont-btn-group-vertical > .ont-btn + .ont-btn,
580
  .ont-btn-group-vertical > .ont-btn + .ont-btn-group,
581
  .ont-btn-group-vertical > .ont-btn-group + .ont-btn,
582
  .ont-btn-group-vertical > .ont-btn-group + .ont-btn-group {
583
- margin-top: -1px;
584
- margin-left: 0;
585
  }
586
  .ont-btn-group-vertical > .ont-btn:not(:first-child):not(:last-child) {
587
- border-radius: 0;
588
  }
589
  .ont-btn-group-vertical > .ont-btn:first-child:not(:last-child) {
590
- border-top-right-radius: 4px;
591
- border-bottom-right-radius: 0;
592
- border-bottom-left-radius: 0;
593
  }
594
  .ont-btn-group-vertical > .ont-btn:last-child:not(:first-child) {
595
- border-top-left-radius: 0;
596
- border-top-right-radius: 0;
597
- border-bottom-left-radius: 4px;
598
  }
599
  .ont-btn-group-vertical > .ont-btn-group:not(:first-child):not(:last-child) > .ont-btn {
600
- border-radius: 0;
601
  }
602
  .ont-btn-group-vertical > .ont-btn-group:first-child:not(:last-child) > .ont-btn:last-child,
603
  .ont-btn-group-vertical > .ont-btn-group:first-child:not(:last-child) > .dropdown-toggle {
604
- border-bottom-right-radius: 0;
605
- border-bottom-left-radius: 0;
606
  }
607
  .ont-btn-group-vertical > .ont-btn-group:last-child:not(:first-child) > .ont-btn:first-child {
608
- border-top-left-radius: 0;
609
- border-top-right-radius: 0;
610
  }
611
  .ont-btn-group-justified {
612
- display: table;
613
- width: 100%;
614
- table-layout: fixed;
615
- border-collapse: separate;
616
  }
617
  .ont-btn-group-justified > .ont-btn,
618
  .ont-btn-group-justified > .ont-btn-group {
619
- display: table-cell;
620
- float: none;
621
- width: 1%;
622
  }
623
  .ont-btn-group-justified > .ont-btn-group .ont-btn {
624
- width: 100%;
625
  }
626
  .ont-btn-group-justified > .ont-btn-group .dropdown-menu {
627
- left: auto;
628
  }
629
  [data-toggle="buttons"] > .ont-btn input[type="radio"],
630
  [data-toggle="buttons"] > .ont-btn-group > .ont-btn input[type="radio"],
631
  [data-toggle="buttons"] > .ont-btn input[type="checkbox"],
632
  [data-toggle="buttons"] > .ont-btn-group > .ont-btn input[type="checkbox"] {
633
- position: absolute;
634
- clip: rect(0, 0, 0, 0);
635
- pointer-events: none;
636
  }
637
 
638
  .input-group-addon input[type="radio"],
639
  .input-group-addon input[type="checkbox"] {
640
- margin-top: 0;
641
  }
642
  .input-group .form-control:first-child,
643
  .input-group-addon:first-child,
@@ -646,11 +646,11 @@ input[type="button"].ont-btn-block {
646
  .input-group-ont-btn:first-child > .dropdown-toggle,
647
  .input-group-ont-btn:last-child > .ont-btn:not(:last-child):not(.dropdown-toggle),
648
  .input-group-ont-btn:last-child > .ont-btn-group:not(:last-child) > .ont-btn {
649
- border-top-right-radius: 0;
650
- border-bottom-right-radius: 0;
651
  }
652
  .input-group-addon:first-child {
653
- border-right: 0;
654
  }
655
  .input-group .form-control:last-child,
656
  .input-group-addon:last-child,
@@ -659,39 +659,39 @@ input[type="button"].ont-btn-block {
659
  .input-group-ont-btn:last-child > .dropdown-toggle,
660
  .input-group-ont-btn:first-child > .ont-btn:not(:first-child),
661
  .input-group-ont-btn:first-child > .ont-btn-group:not(:first-child) > .ont-btn {
662
- border-top-left-radius: 0;
663
- border-bottom-left-radius: 0;
664
  }
665
  .input-group-addon:last-child {
666
- border-left: 0;
667
  }
668
  .input-group-ont-btn {
669
- position: relative;
670
- font-size: 0;
671
- white-space: nowrap;
672
  }
673
  .input-group-ont-btn > .ont-btn {
674
- position: relative;
675
  }
676
  .input-group-ont-btn > .ont-btn + .ont-btn {
677
- margin-left: -1px;
678
  }
679
  .input-group-ont-btn > .ont-btn:hover,
680
  .input-group-ont-btn > .ont-btn:focus,
681
  .input-group-ont-btn > .ont-btn:active {
682
- z-index: 2;
683
  }
684
  .input-group-ont-btn:first-child > .ont-btn,
685
  .input-group-ont-btn:first-child > .ont-btn-group {
686
- margin-right: -1px;
687
  }
688
  .input-group-ont-btn:last-child > .ont-btn,
689
  .input-group-ont-btn:last-child > .ont-btn-group {
690
- z-index: 2;
691
- margin-left: -1px;
692
  }
693
  .navbar-form .radio label,
694
  .navbar-form .checkbox label {
695
- padding-left: 0;
696
  }
697
- label.ont-btn{width:auto!important;min-width:60px;}
1
 
2
  .ont-btn {
3
+ display: inline-block!important;
4
+ padding: 6px 12px!important;
5
+ margin-bottom: 0!important;
6
+ font-size: 14px!important;
7
+ font-weight: normal!important;
8
+ line-height: 1.42857143!important;
9
+ text-align: center!important;
10
+ white-space: nowrap!important;
11
+ vertical-align: middle!important;
12
+ -ms-touch-action: manipulation!important;
13
+ touch-action: manipulation!important;
14
+ cursor: pointer!important;
15
+ -webkit-user-select: none!important;
16
+ -moz-user-select: none!important;
17
+ -ms-user-select: none!important;
18
+ user-select: none!important;
19
+ background-image: none!important;
20
+ border: 1px solid transparent!important;
21
+ border-radius: 4px!important;
22
  }
23
  .ont-btn:focus,
24
  .ont-btn:active:focus,
26
  .ont-btn.focus,
27
  .ont-btn:active.focus,
28
  .ont-btn.active.focus {
29
+ outline: thin dotted!important;
30
+ outline: 5px auto -webkit-focus-ring-color!important;
31
+ outline-offset: -2px!important;
32
  }
33
  .ont-btn:hover,
34
  .ont-btn:focus,
35
  .ont-btn.focus {
36
+ color: #333!important;
37
+ text-decoration: none!important;
38
  }
39
  .ont-btn:active,
40
  .ont-btn.active {
41
+ background-image: none!important;
42
+ outline: 0!important;
43
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)!important;
44
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)!important;
45
  }
46
  .ont-btn.disabled,
47
  .ont-btn[disabled],
48
  fieldset[disabled] .ont-btn {
49
+ cursor: not-allowed!important;
50
+ filter: alpha(opacity=65)!important;
51
+ -webkit-box-shadow: none!important;
52
+ box-shadow: none!important;
53
+ opacity: .65!important;
54
  }
55
  a.ont-btn.disabled,
56
  fieldset[disabled] a.ont-btn {
57
+ pointer-events: none!important;
58
  }
59
  .ont-btn-default {
60
+ color: #333!important;
61
+ background-color: #fff!important;
62
+ border-color: #ccc!important;
63
  }
64
  .ont-btn-default:focus,
65
  .ont-btn-default.focus {
66
+ color: #333!important;
67
+ background-color: #e6e6e6!important;
68
+ border-color: #8c8c8c!important;
69
  }
70
  .ont-btn-default:hover {
71
+ color: #333!important;
72
+ background-color: #e6e6e6!important;
73
+ border-color: #adadad!important;
74
  }
75
  .ont-btn-default:active,
76
  .ont-btn-default.active,
77
  .open > .dropdown-toggle.ont-btn-default {
78
+ color: #333!important;
79
+ background-color: #e6e6e6!important;
80
+ border-color: #adadad!important;
81
  }
82
  .ont-btn-default:active:hover,
83
  .ont-btn-default.active:hover,
88
  .ont-btn-default:active.focus,
89
  .ont-btn-default.active.focus,
90
  .open > .dropdown-toggle.ont-btn-default.focus {
91
+ color: #333!important;
92
+ background-color: #d4d4d4!important;
93
+ border-color: #8c8c8c!important;
94
  }
95
  .ont-btn-default:active,
96
  .ont-btn-default.active,
97
  .open > .dropdown-toggle.ont-btn-default {
98
+ background-image: none!important;
99
  }
100
  .ont-btn-default.disabled:hover,
101
  .ont-btn-default[disabled]:hover,
106
  .ont-btn-default.disabled.focus,
107
  .ont-btn-default[disabled].focus,
108
  fieldset[disabled] .ont-btn-default.focus {
109
+ background-color: #fff!important;
110
+ border-color: #ccc!important;
111
  }
112
  .ont-btn-default .badge {
113
+ color: #fff!important;
114
+ background-color: #333!important;
115
  }
116
 
117
  .ont-btn-primary {
118
+ color: #fff!important;
119
+ background-color: #337ab7!important;
120
+ border-color: #2e6da4!important;
121
  }
122
  .ont-btn-primary:focus,
123
  .ont-btn-primary.focus {
124
+ color: #fff!important;
125
+ background-color: #286090!important;
126
+ border-color: #122b40!important;
127
  }
128
  .ont-btn-primary:hover {
129
+ color: #fff!important;
130
+ background-color: #286090!important;
131
+ border-color: #204d74!important;
132
  }
133
  .ont-btn-primary:active,
134
  .ont-btn-primary.active,
135
  .open > .dropdown-toggle.ont-btn-primary {
136
+ color: #fff!important;
137
+ background-color: #286090!important;
138
+ border-color: #204d74!important;
139
  }
140
  .ont-btn-primary:active:hover,
141
  .ont-btn-primary.active:hover,
146
  .ont-btn-primary:active.focus,
147
  .ont-btn-primary.active.focus,
148
  .open > .dropdown-toggle.ont-btn-primary.focus {
149
+ color: #fff!important;
150
+ background-color: #204d74!important;
151
+ border-color: #122b40!important;
152
  }
153
  .ont-btn-primary:active,
154
  .ont-btn-primary.active,
155
  .open > .dropdown-toggle.ont-btn-primary {
156
+ background-image: none!important;
157
  }
158
  .ont-btn-primary.disabled:hover,
159
  .ont-btn-primary[disabled]:hover,
164
  .ont-btn-primary.disabled.focus,
165
  .ont-btn-primary[disabled].focus,
166
  fieldset[disabled] .ont-btn-primary.focus {
167
+ background-color: #337ab7!important;
168
+ border-color: #2e6da4!important;
169
  }
170
  .ont-btn-primary .badge {
171
+ color: #337ab7!important;
172
+ background-color: #fff!important;
173
  }
174
  .ont-btn-success {
175
+ color: #fff!important;
176
+ background-color: #5cb85c!important;
177
+ border-color: #4cae4c!important;
178
  }
179
  .ont-btn-success:focus,
180
  .ont-btn-success.focus {
181
+ color: #fff!important;
182
+ background-color: #449d44!important;
183
+ border-color: #255625!important;
184
  }
185
  .ont-btn-success:hover {
186
+ color: #fff!important;
187
+ background-color: #449d44!important;
188
+ border-color: #398439!important;
189
  }
190
  .ont-btn-success:active,
191
  .ont-btn-success.active,
192
  .open > .dropdown-toggle.ont-btn-success {
193
+ color: #fff!important;
194
+ background-color: #449d44!important;
195
+ border-color: #398439!important;
196
  }
197
  .ont-btn-success:active:hover,
198
  .ont-btn-success.active:hover,
203
  .ont-btn-success:active.focus,
204
  .ont-btn-success.active.focus,
205
  .open > .dropdown-toggle.ont-btn-success.focus {
206
+ color: #fff!important;
207
+ background-color: #398439!important;
208
+ border-color: #255625!important;
209
  }
210
  .ont-btn-success:active,
211
  .ont-btn-success.active,
212
  .open > .dropdown-toggle.ont-btn-success {
213
+ background-image: none!important;
214
  }
215
  .ont-btn-success.disabled:hover,
216
  .ont-btn-success[disabled]:hover,
221
  .ont-btn-success.disabled.focus,
222
  .ont-btn-success[disabled].focus,
223
  fieldset[disabled] .ont-btn-success.focus {
224
+ background-color: #5cb85c!important;
225
+ border-color: #4cae4c!important;
226
  }
227
  .ont-btn-success .badge {
228
+ color: #5cb85c!important;
229
+ background-color: #fff!important;
230
  }
231
  .ont-btn-info {
232
+ color: #fff!important;
233
+ background-color: #5bc0de!important;
234
+ border-color: #46b8da!important;
235
  }
236
  .ont-btn-info:focus,
237
  .ont-btn-info.focus {
238
+ color: #fff!important;
239
+ background-color: #31b0d5!important;
240
+ border-color: #1b6d85!important;
241
  }
242
  .ont-btn-info:hover {
243
+ color: #fff!important;
244
+ background-color: #31b0d5!important;
245
+ border-color: #269abc!important;
246
  }
247
  .ont-btn-info:active,
248
  .ont-btn-info.active,
249
  .open > .dropdown-toggle.ont-btn-info {
250
+ color: #fff!important;
251
+ background-color: #31b0d5!important;
252
+ border-color: #269abc!important;
253
  }
254
  .ont-btn-info:active:hover,
255
  .ont-btn-info.active:hover,
260
  .ont-btn-info:active.focus,
261
  .ont-btn-info.active.focus,
262
  .open > .dropdown-toggle.ont-btn-info.focus {
263
+ color: #fff!important;
264
+ background-color: #269abc!important;
265
+ border-color: #1b6d85!important;
266
  }
267
  .ont-btn-info:active,
268
  .ont-btn-info.active,
269
  .open > .dropdown-toggle.ont-btn-info {
270
+ background-image: none!important;
271
  }
272
  .ont-btn-info.disabled:hover,
273
  .ont-btn-info[disabled]:hover,
278
  .ont-btn-info.disabled.focus,
279
  .ont-btn-info[disabled].focus,
280
  fieldset[disabled] .ont-btn-info.focus {
281
+ background-color: #5bc0de!important;
282
+ border-color: #46b8da!important;
283
  }
284
  .ont-btn-info .badge {
285
+ color: #5bc0de!important;
286
+ background-color: #fff!important;
287
  }
288
  .ont-btn-warning {
289
+ color: #fff!important;
290
+ background-color: #f0ad4e!important;
291
+ border-color: #eea236!important;
292
  }
293
  .ont-btn-warning:focus,
294
  .ont-btn-warning.focus {
295
+ color: #fff!important;
296
+ background-color: #ec971f!important;
297
+ border-color: #985f0d!important;
298
  }
299
  .ont-btn-warning:hover {
300
+ color: #fff!important;
301
+ background-color: #ec971f!important;
302
+ border-color: #d58512!important;
303
  }
304
  .ont-btn-warning:active,
305
  .ont-btn-warning.active,
306
  .open > .dropdown-toggle.ont-btn-warning {
307
+ color: #fff!important;
308
+ background-color: #ec971f!important;
309
+ border-color: #d58512!important;
310
  }
311
  .ont-btn-warning:active:hover,
312
  .ont-btn-warning.active:hover,
317
  .ont-btn-warning:active.focus,
318
  .ont-btn-warning.active.focus,
319
  .open > .dropdown-toggle.ont-btn-warning.focus {
320
+ color: #fff!important;
321
+ background-color: #d58512!important;
322
+ border-color: #985f0d!important;
323
  }
324
  .ont-btn-warning:active,
325
  .ont-btn-warning.active,
326
  .open > .dropdown-toggle.ont-btn-warning {
327
+ background-image: none!important;
328
  }
329
  .ont-btn-warning.disabled:hover,
330
  .ont-btn-warning[disabled]:hover,
335
  .ont-btn-warning.disabled.focus,
336
  .ont-btn-warning[disabled].focus,
337
  fieldset[disabled] .ont-btn-warning.focus {
338
+ background-color: #f0ad4e!important;
339
+ border-color: #eea236!important;
340
  }
341
  .ont-btn-warning .badge {
342
+ color: #f0ad4e!important;
343
+ background-color: #fff!important;
344
  }
345
  .ont-btn-danger {
346
+ color: #fff!important;
347
+ background-color: #d9534f!important;
348
+ border-color: #d43f3a!important;
349
  }
350
  .ont-btn-danger:focus,
351
  .ont-btn-danger.focus {
352
+ color: #fff!important;
353
+ background-color: #c9302c!important;
354
+ border-color: #761c19!important;
355
  }
356
  .ont-btn-danger:hover {
357
+ color: #fff!important;
358
+ background-color: #c9302c!important;
359
+ border-color: #ac2925!important;
360
  }
361
  .ont-btn-danger:active,
362
  .ont-btn-danger.active,
363
  .open > .dropdown-toggle.ont-btn-danger {
364
+ color: #fff!important;
365
+ background-color: #c9302c!important;
366
+ border-color: #ac2925!important;
367
  }
368
  .ont-btn-danger:active:hover,
369
  .ont-btn-danger.active:hover,
374
  .ont-btn-danger:active.focus,
375
  .ont-btn-danger.active.focus,
376
  .open > .dropdown-toggle.ont-btn-danger.focus {
377
+ color: #fff!important;
378
+ background-color: #ac2925!important;
379
+ border-color: #761c19!important;
380
  }
381
  .ont-btn-danger:active,
382
  .ont-btn-danger.active,
383
  .open > .dropdown-toggle.ont-btn-danger {
384
+ background-image: none!important;
385
  }
386
  .ont-btn-danger.disabled:hover,
387
  .ont-btn-danger[disabled]:hover,
392
  .ont-btn-danger.disabled.focus,
393
  .ont-btn-danger[disabled].focus,
394
  fieldset[disabled] .ont-btn-danger.focus {
395
+ background-color: #d9534f!important;
396
+ border-color: #d43f3a!important;
397
  }
398
  .ont-btn-danger .badge {
399
+ color: #d9534f!important;
400
+ background-color: #fff!important;
401
  }
402
  .ont-btn-link {
403
+ font-weight: normal!important;
404
+ color: #337ab7!important;
405
+ border-radius: 0!important;
406
  }
407
  .ont-btn-link,
408
  .ont-btn-link:active,
409
  .ont-btn-link.active,
410
  .ont-btn-link[disabled],
411
  fieldset[disabled] .ont-btn-link {
412
+ background-color: transparent!important;
413
+ -webkit-box-shadow: none!important;
414
+ box-shadow: none!important;
415
  }
416
  .ont-btn-link,
417
  .ont-btn-link:hover,
418
  .ont-btn-link:focus,
419
  .ont-btn-link:active {
420
+ border-color: transparent!important;
421
  }
422
  .ont-btn-link:hover,
423
  .ont-btn-link:focus {
424
+ color: #23527c!important;
425
+ text-decoration: underline!important;
426
+ background-color: transparent!important;
427
  }
428
  .ont-btn-link[disabled]:hover,
429
  fieldset[disabled] .ont-btn-link:hover,
430
  .ont-btn-link[disabled]:focus,
431
  fieldset[disabled] .ont-btn-link:focus {
432
+ color: #777!important;
433
+ text-decoration: none!important;
434
  }
435
  .ont-btn-lg,
436
  .ont-btn-group-lg > .ont-btn {
437
+ padding: 10px 16px!important;
438
+ font-size: 18px!important;
439
+ line-height: 1.3333333!important;
440
+ border-radius: 6px!important;
441
  }
442
  .ont-btn-sm,
443
  .ont-btn-group-sm > .ont-btn {
444
+ padding: 5px 10px!important;
445
+ font-size: 12px!important;
446
+ line-height: 1.5!important;
447
+ border-radius: 3px!important;
448
  }
449
  .ont-btn-xs,
450
  .ont-btn-group-xs > .ont-btn {
451
+ padding: 1px 5px!important;
452
+ font-size: 12px!important;
453
+ line-height: 1.5!important;
454
+ border-radius: 3px!important;
455
  }
456
  .ont-btn-block {
457
+ display: block!important;
458
+ width: 100%!important;
459
  }
460
  .ont-btn-block + .ont-btn-block {
461
+ margin-top: 5px!important;
462
  }
463
  input[type="submit"].ont-btn-block,
464
  input[type="reset"].ont-btn-block,
465
  input[type="button"].ont-btn-block {
466
+ width: 100%!important;
467
  }
468
  .ont-btn-group,
469
  .ont-btn-group-vertical {
470
+ position: relative!important;
471
+ display: inline-block!important;
472
+ vertical-align: middle!important;
473
  }
474
  .ont-btn-group > .ont-btn,
475
  .ont-btn-group-vertical > .ont-btn {
476
+ position: relative!important;
477
+ float: left!important;
478
  }
479
  .ont-btn-group > .ont-btn:hover,
480
  .ont-btn-group-vertical > .ont-btn:hover,
484
  .ont-btn-group-vertical > .ont-btn:active,
485
  .ont-btn-group > .ont-btn.active,
486
  .ont-btn-group-vertical > .ont-btn.active {
487
+ z-index: 2!important;
488
  }
489
  .ont-btn-group .ont-btn + .ont-btn,
490
  .ont-btn-group .ont-btn + .ont-btn-group,
491
  .ont-btn-group .ont-btn-group + .ont-btn,
492
  .ont-btn-group .ont-btn-group + .ont-btn-group {
493
+ margin-left: -1px!important;
494
  }
495
  .ont-btn-toolbar {
496
+ margin-left: -5px!important;
497
  }
498
  .ont-btn-toolbar .ont-btn,
499
  .ont-btn-toolbar .ont-btn-group,
500
  .ont-btn-toolbar .input-group {
501
+ float: left!important;
502
  }
503
  .ont-btn-toolbar > .ont-btn,
504
  .ont-btn-toolbar > .ont-btn-group,
505
  .ont-btn-toolbar > .input-group {
506
+ margin-left: 5px!important;
507
  }
508
  .ont-btn-group > .ont-btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
509
+ border-radius: 0!important;
510
  }
511
  .ont-btn-group > .ont-btn:first-child {
512
+ margin-left: 0!important;
513
  }
514
  .ont-btn-group > .ont-btn:first-child:not(:last-child):not(.dropdown-toggle) {
515
+ border-top-right-radius: 0!important;
516
+ border-bottom-right-radius: 0!important;
517
  }
518
  .ont-btn-group > .ont-btn:last-child:not(:first-child),
519
  .ont-btn-group > .dropdown-toggle:not(:first-child) {
520
+ border-top-left-radius: 0!important;
521
+ border-bottom-left-radius: 0!important;
522
  }
523
  .ont-btn-group > .ont-btn-group {
524
+ float: left!important;
525
  }
526
  .ont-btn-group > .ont-btn-group:not(:first-child):not(:last-child) > .ont-btn {
527
+ border-radius: 0!important;
528
  }
529
  .ont-btn-group > .ont-btn-group:first-child:not(:last-child) > .ont-btn:last-child,
530
  .ont-btn-group > .ont-btn-group:first-child:not(:last-child) > .dropdown-toggle {
531
+ border-top-right-radius: 0!important;
532
+ border-bottom-right-radius: 0!important;
533
  }
534
  .ont-btn-group > .ont-btn-group:last-child:not(:first-child) > .ont-btn:first-child {
535
+ border-top-left-radius: 0!important;
536
+ border-bottom-left-radius: 0!important;
537
  }
538
  .ont-btn-group .dropdown-toggle:active,
539
  .ont-btn-group.open .dropdown-toggle {
540
+ outline: 0!important;
541
  }
542
  .ont-btn-group > .ont-btn + .dropdown-toggle {
543
+ padding-right: 8px!important;
544
+ padding-left: 8px!important;
545
  }
546
  .ont-btn-group > .ont-btn-lg + .dropdown-toggle {
547
+ padding-right: 12px!important;
548
+ padding-left: 12px!important;
549
  }
550
  .ont-btn-group.open .dropdown-toggle {
551
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)!important;
552
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)!important;
553
  }
554
  .ont-btn-group.open .dropdown-toggle.ont-btn-link {
555
+ -webkit-box-shadow: none!important;
556
+ box-shadow: none!important;
557
  }
558
  .ont-btn .caret {
559
+ margin-left: 0!important;
560
  }
561
  .ont-btn-lg .caret {
562
+ border-width: 5px 5px 0!important;
563
+ border-bottom-width: 0!important;
564
  }
565
  .dropup .ont-btn-lg .caret {
566
+ border-width: 0 5px 5px!important;
567
  }
568
  .ont-btn-group-vertical > .ont-btn,
569
  .ont-btn-group-vertical > .ont-btn-group,
570
  .ont-btn-group-vertical > .ont-btn-group > .ont-btn {
571
+ display: block!important;
572
+ float: none!important;
573
+ width: 100%!important;
574
+ max-width: 100%!important;
575
  }
576
  .ont-btn-group-vertical > .ont-btn-group > .ont-btn {
577
+ float: none!important;
578
  }
579
  .ont-btn-group-vertical > .ont-btn + .ont-btn,
580
  .ont-btn-group-vertical > .ont-btn + .ont-btn-group,
581
  .ont-btn-group-vertical > .ont-btn-group + .ont-btn,
582
  .ont-btn-group-vertical > .ont-btn-group + .ont-btn-group {
583
+ margin-top: -1px!important;
584
+ margin-left: 0!important;
585
  }
586
  .ont-btn-group-vertical > .ont-btn:not(:first-child):not(:last-child) {
587
+ border-radius: 0!important;
588
  }
589
  .ont-btn-group-vertical > .ont-btn:first-child:not(:last-child) {
590
+ border-top-right-radius: 4px!important;
591
+ border-bottom-right-radius: 0!important;
592
+ border-bottom-left-radius: 0!important;
593
  }
594
  .ont-btn-group-vertical > .ont-btn:last-child:not(:first-child) {
595
+ border-top-left-radius: 0!important;
596
+ border-top-right-radius: 0!important;
597
+ border-bottom-left-radius: 4px!important;
598
  }
599
  .ont-btn-group-vertical > .ont-btn-group:not(:first-child):not(:last-child) > .ont-btn {
600
+ border-radius: 0!important;
601
  }
602
  .ont-btn-group-vertical > .ont-btn-group:first-child:not(:last-child) > .ont-btn:last-child,
603
  .ont-btn-group-vertical > .ont-btn-group:first-child:not(:last-child) > .dropdown-toggle {
604
+ border-bottom-right-radius: 0!important;
605
+ border-bottom-left-radius: 0!important;
606
  }
607
  .ont-btn-group-vertical > .ont-btn-group:last-child:not(:first-child) > .ont-btn:first-child {
608
+ border-top-left-radius: 0!important;
609
+ border-top-right-radius: 0!important;
610
  }
611
  .ont-btn-group-justified {
612
+ display: table!important;
613
+ width: 100%!important;
614
+ table-layout: fixed!important;
615
+ border-collapse: separate!important;
616
  }
617
  .ont-btn-group-justified > .ont-btn,
618
  .ont-btn-group-justified > .ont-btn-group {
619
+ display: table-cell!important;
620
+ float: none!important;
621
+ width: 1%!important;
622
  }
623
  .ont-btn-group-justified > .ont-btn-group .ont-btn {
624
+ width: 100%!important;
625
  }
626
  .ont-btn-group-justified > .ont-btn-group .dropdown-menu {
627
+ left: auto!important;
628
  }
629
  [data-toggle="buttons"] > .ont-btn input[type="radio"],
630
  [data-toggle="buttons"] > .ont-btn-group > .ont-btn input[type="radio"],
631
  [data-toggle="buttons"] > .ont-btn input[type="checkbox"],
632
  [data-toggle="buttons"] > .ont-btn-group > .ont-btn input[type="checkbox"] {
633
+ position: absolute!important;
634
+ clip: rect(0, 0, 0, 0)!important;
635
+ pointer-events: none!important;
636
  }
637
 
638
  .input-group-addon input[type="radio"],
639
  .input-group-addon input[type="checkbox"] {
640
+ margin-top: 0!important;
641
  }
642
  .input-group .form-control:first-child,
643
  .input-group-addon:first-child,
646
  .input-group-ont-btn:first-child > .dropdown-toggle,
647
  .input-group-ont-btn:last-child > .ont-btn:not(:last-child):not(.dropdown-toggle),
648
  .input-group-ont-btn:last-child > .ont-btn-group:not(:last-child) > .ont-btn {
649
+ border-top-right-radius: 0!important;
650
+ border-bottom-right-radius: 0!important;
651
  }
652
  .input-group-addon:first-child {
653
+ border-right: 0!important;
654
  }
655
  .input-group .form-control:last-child,
656
  .input-group-addon:last-child,
659
  .input-group-ont-btn:last-child > .dropdown-toggle,
660
  .input-group-ont-btn:first-child > .ont-btn:not(:first-child),
661
  .input-group-ont-btn:first-child > .ont-btn-group:not(:first-child) > .ont-btn {
662
+ border-top-left-radius: 0!important;
663
+ border-bottom-left-radius: 0!important;
664
  }
665
  .input-group-addon:last-child {
666
+ border-left: 0!important;
667
  }
668
  .input-group-ont-btn {
669
+ position: relative!important;
670
+ font-size: 0!important;
671
+ white-space: nowrap!important;
672
  }
673
  .input-group-ont-btn > .ont-btn {
674
+ position: relative!important;
675
  }
676
  .input-group-ont-btn > .ont-btn + .ont-btn {
677
+ margin-left: -1px!important;
678
  }
679
  .input-group-ont-btn > .ont-btn:hover,
680
  .input-group-ont-btn > .ont-btn:focus,
681
  .input-group-ont-btn > .ont-btn:active {
682
+ z-index: 2!important;
683
  }
684
  .input-group-ont-btn:first-child > .ont-btn,
685
  .input-group-ont-btn:first-child > .ont-btn-group {
686
+ margin-right: -1px!important;
687
  }
688
  .input-group-ont-btn:last-child > .ont-btn,
689
  .input-group-ont-btn:last-child > .ont-btn-group {
690
+ z-index: 2!important;
691
+ margin-left: -1px!important;
692
  }
693
  .navbar-form .radio label,
694
  .navbar-form .checkbox label {
695
+ padding-left: 0!important;
696
  }
697
+ label.ont-btn{width:auto!important;min-width:60px!important;}
library/toolset/onthego-resources/onthego-styles/onthego-styles-helper.css CHANGED
@@ -5,6 +5,36 @@
5
  ** a collection of rules to be used any where
6
  **/
7
  /* SET A NUMBER OF CLASSES TO FORCE THE SIZE OF THE ICON */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  .ont-icon-12 {
9
  font-size: 12px !important; }
10
 
@@ -842,6 +872,297 @@
842
  .padding-96 {
843
  padding: 96px !important; }
844
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
845
  .from-top-0 {
846
  margin-top: 0px !important; }
847
 
@@ -4834,3 +5155,20 @@
4834
  [class^="icon-conditional"] {
4835
  margin: 0;
4836
  padding: 0; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  ** a collection of rules to be used any where
6
  **/
7
  /* SET A NUMBER OF CLASSES TO FORCE THE SIZE OF THE ICON */
8
+ .ont-icon-2 {
9
+ font-size: 2px !important; }
10
+
11
+ .ont-icon-3 {
12
+ font-size: 3px !important; }
13
+
14
+ .ont-icon-4 {
15
+ font-size: 4px !important; }
16
+
17
+ .ont-icon-5 {
18
+ font-size: 5px !important; }
19
+
20
+ .ont-icon-6 {
21
+ font-size: 6px !important; }
22
+
23
+ .ont-icon-7 {
24
+ font-size: 7px !important; }
25
+
26
+ .ont-icon-8 {
27
+ font-size: 8px !important; }
28
+
29
+ .ont-icon-9 {
30
+ font-size: 9px !important; }
31
+
32
+ .ont-icon-10 {
33
+ font-size: 10px !important; }
34
+
35
+ .ont-icon-11 {
36
+ font-size: 11px !important; }
37
+
38
  .ont-icon-12 {
39
  font-size: 12px !important; }
40
 
872
  .padding-96 {
873
  padding: 96px !important; }
874
 
875
+ .indent-0 {
876
+ padding-left: 0px !important; }
877
+
878
+ .indent-1 {
879
+ padding-left: 1px !important; }
880
+
881
+ .indent-2 {
882
+ padding-left: 2px !important; }
883
+
884
+ .indent-3 {
885
+ padding-left: 3px !important; }
886
+
887
+ .indent-4 {
888
+ padding-left: 4px !important; }
889
+
890
+ .indent-5 {
891
+ padding-left: 5px !important; }
892
+
893
+ .indent-6 {
894
+ padding-left: 6px !important; }
895
+
896
+ .indent-7 {
897
+ padding-left: 7px !important; }
898
+
899
+ .indent-8 {
900
+ padding-left: 8px !important; }
901
+
902
+ .indent-9 {
903
+ padding-left: 9px !important; }
904
+
905
+ .indent-10 {
906
+ padding-left: 10px !important; }
907
+
908
+ .indent-11 {
909
+ padding-left: 11px !important; }
910
+
911
+ .indent-12 {
912
+ padding-left: 12px !important; }
913
+
914
+ .indent-13 {
915
+ padding-left: 13px !important; }
916
+
917
+ .indent-14 {
918
+ padding-left: 14px !important; }
919
+
920
+ .indent-15 {
921
+ padding-left: 15px !important; }
922
+
923
+ .indent-16 {
924
+ padding-left: 16px !important; }
925
+
926
+ .indent-17 {
927
+ padding-left: 17px !important; }
928
+
929
+ .indent-18 {
930
+ padding-left: 18px !important; }
931
+
932
+ .indent-19 {
933
+ padding-left: 19px !important; }
934
+
935
+ .indent-20 {
936
+ padding-left: 20px !important; }
937
+
938
+ .indent-21 {
939
+ padding-left: 21px !important; }
940
+
941
+ .indent-22 {
942
+ padding-left: 22px !important; }
943
+
944
+ .indent-23 {
945
+ padding-left: 23px !important; }
946
+
947
+ .indent-24 {
948
+ padding-left: 24px !important; }
949
+
950
+ .indent-25 {
951
+ padding-left: 25px !important; }
952
+
953
+ .indent-26 {
954
+ padding-left: 26px !important; }
955
+
956
+ .indent-27 {
957
+ padding-left: 27px !important; }
958
+
959
+ .indent-28 {
960
+ padding-left: 28px !important; }
961
+
962
+ .indent-29 {
963
+ padding-left: 29px !important; }
964
+
965
+ .indent-30 {
966
+ padding-left: 30px !important; }
967
+
968
+ .indent-31 {
969
+ padding-left: 31px !important; }
970
+
971
+ .indent-32 {
972
+ padding-left: 32px !important; }
973
+
974
+ .indent-33 {
975
+ padding-left: 33px !important; }
976
+
977
+ .indent-34 {
978
+ padding-left: 34px !important; }
979
+
980
+ .indent-35 {
981
+ padding-left: 35px !important; }
982
+
983
+ .indent-36 {
984
+ padding-left: 36px !important; }
985
+
986
+ .indent-37 {
987
+ padding-left: 37px !important; }
988
+
989
+ .indent-38 {
990
+ padding-left: 38px !important; }
991
+
992
+ .indent-39 {
993
+ padding-left: 39px !important; }
994
+
995
+ .indent-40 {
996
+ padding-left: 40px !important; }
997
+
998
+ .indent-41 {
999
+ padding-left: 41px !important; }
1000
+
1001
+ .indent-42 {
1002
+ padding-left: 42px !important; }
1003
+
1004
+ .indent-43 {
1005
+ padding-left: 43px !important; }
1006
+
1007
+ .indent-44 {
1008
+ padding-left: 44px !important; }
1009
+
1010
+ .indent-45 {
1011
+ padding-left: 45px !important; }
1012
+
1013
+ .indent-46 {
1014
+ padding-left: 46px !important; }
1015
+
1016
+ .indent-47 {
1017
+ padding-left: 47px !important; }
1018
+
1019
+ .indent-48 {
1020
+ padding-left: 48px !important; }
1021
+
1022
+ .indent-49 {
1023
+ padding-left: 49px !important; }
1024
+
1025
+ .indent-50 {
1026
+ padding-left: 50px !important; }
1027
+
1028
+ .indent-51 {
1029
+ padding-left: 51px !important; }
1030
+
1031
+ .indent-52 {
1032
+ padding-left: 52px !important; }
1033
+
1034
+ .indent-53 {
1035
+ padding-left: 53px !important; }
1036
+
1037
+ .indent-54 {
1038
+ padding-left: 54px !important; }
1039
+
1040
+ .indent-55 {
1041
+ padding-left: 55px !important; }
1042
+
1043
+ .indent-56 {
1044
+ padding-left: 56px !important; }
1045
+
1046
+ .indent-57 {
1047
+ padding-left: 57px !important; }
1048
+
1049
+ .indent-58 {
1050
+ padding-left: 58px !important; }
1051
+
1052
+ .indent-59 {
1053
+ padding-left: 59px !important; }
1054
+
1055
+ .indent-60 {
1056
+ padding-left: 60px !important; }
1057
+
1058
+ .indent-61 {
1059
+ padding-left: 61px !important; }
1060
+
1061
+ .indent-62 {
1062
+ padding-left: 62px !important; }
1063
+
1064
+ .indent-63 {
1065
+ padding-left: 63px !important; }
1066
+
1067
+ .indent-64 {
1068
+ padding-left: 64px !important; }
1069
+
1070
+ .indent-65 {
1071
+ padding-left: 65px !important; }
1072
+
1073
+ .indent-66 {
1074
+ padding-left: 66px !important; }
1075
+
1076
+ .indent-67 {
1077
+ padding-left: 67px !important; }
1078
+
1079
+ .indent-68 {
1080
+ padding-left: 68px !important; }
1081
+
1082
+ .indent-69 {
1083
+ padding-left: 69px !important; }
1084
+
1085
+ .indent-70 {
1086
+ padding-left: 70px !important; }
1087
+
1088
+ .indent-71 {
1089
+ padding-left: 71px !important; }
1090
+
1091
+ .indent-72 {
1092
+ padding-left: 72px !important; }
1093
+
1094
+ .indent-73 {
1095
+ padding-left: 73px !important; }
1096
+
1097
+ .indent-74 {
1098
+ padding-left: 74px !important; }
1099
+
1100
+ .indent-75 {
1101
+ padding-left: 75px !important; }
1102
+
1103
+ .indent-76 {
1104
+ padding-left: 76px !important; }
1105
+
1106
+ .indent-77 {
1107
+ padding-left: 77px !important; }
1108
+
1109
+ .indent-78 {
1110
+ padding-left: 78px !important; }
1111
+
1112
+ .indent-79 {
1113
+ padding-left: 79px !important; }
1114
+
1115
+ .indent-80 {
1116
+ padding-left: 80px !important; }
1117
+
1118
+ .indent-81 {
1119
+ padding-left: 81px !important; }
1120
+
1121
+ .indent-82 {
1122
+ padding-left: 82px !important; }
1123
+
1124
+ .indent-83 {
1125
+ padding-left: 83px !important; }
1126
+
1127
+ .indent-84 {
1128
+ padding-left: 84px !important; }
1129
+
1130
+ .indent-85 {
1131
+ padding-left: 85px !important; }
1132
+
1133
+ .indent-86 {
1134
+ padding-left: 86px !important; }
1135
+
1136
+ .indent-87 {
1137
+ padding-left: 87px !important; }
1138
+
1139
+ .indent-88 {
1140
+ padding-left: 88px !important; }
1141
+
1142
+ .indent-89 {
1143
+ padding-left: 89px !important; }
1144
+
1145
+ .indent-90 {
1146
+ padding-left: 90px !important; }
1147
+
1148
+ .indent-91 {
1149
+ padding-left: 91px !important; }
1150
+
1151
+ .indent-92 {
1152
+ padding-left: 92px !important; }
1153
+
1154
+ .indent-93 {
1155
+ padding-left: 93px !important; }
1156
+
1157
+ .indent-94 {
1158
+ padding-left: 94px !important; }
1159
+
1160
+ .indent-95 {
1161
+ padding-left: 95px !important; }
1162
+
1163
+ .indent-96 {
1164
+ padding-left: 96px !important; }
1165
+
1166
  .from-top-0 {
1167
  margin-top: 0px !important; }
1168
 
5155
  [class^="icon-conditional"] {
5156
  margin: 0;
5157
  padding: 0; }
5158
+
5159
+ .float-none {
5160
+ float: none !important; }
5161
+
5162
+ .float-left {
5163
+ float: left !important; }
5164
+
5165
+ .float-right {
5166
+ float: right !important; }
5167
+
5168
+ .align-left {
5169
+ text-align: left !important; }
5170
+
5171
+ .align-right {
5172
+ text-align: right !important; }
5173
+
5174
+ /*# sourceMappingURL=onthego-styles-helper.css.map */
library/toolset/onthego-resources/onthego-styles/onthego-styles-helper.scss CHANGED
@@ -6,7 +6,7 @@
6
  **/
7
 
8
  /* SET A NUMBER OF CLASSES TO FORCE THE SIZE OF THE ICON */
9
- @for $i from 12 through 96 {
10
  .ont-icon-#{$i} { font-size:$i + px!important; }
11
  }
12
 
@@ -18,6 +18,10 @@
18
  .padding-#{$i} { padding:$i + px!important; }
19
  }
20
 
 
 
 
 
21
  @for $i from 0 through 96 {
22
  .from-top-#{$i} { margin-top:$i + px!important; }
23
  }
@@ -41,4 +45,9 @@
41
  margin:0;
42
  padding:0;
43
  }
44
- }
 
 
 
 
 
6
  **/
7
 
8
  /* SET A NUMBER OF CLASSES TO FORCE THE SIZE OF THE ICON */
9
+ @for $i from 2 through 96 {
10
  .ont-icon-#{$i} { font-size:$i + px!important; }
11
  }
12
 
18
  .padding-#{$i} { padding:$i + px!important; }
19
  }
20
 
21
+ @for $i from 0 through 96 {
22
+ .indent-#{$i} { padding-left:$i + px!important; }
23
+ }
24
+
25
  @for $i from 0 through 96 {
26
  .from-top-#{$i} { margin-top:$i + px!important; }
27
  }
45
  margin:0;
46
  padding:0;
47
  }
48
+ }
49
+ .float-none{float:none!important;}
50
+ .float-left{float:left!important;}
51
+ .float-right{float:right!important;}
52
+ .align-left{text-align:left!important;}
53
+ .align-right{text-align:right!important;}
library/toolset/onthego-resources/onthegosystems-icons/.fontcustom-manifest.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "checksum": {
3
- "previous": "56ccf243b48b7b394b730a03adb1000566047cf517ab91050d2e856b10b8c2cb",
4
- "current": "56ccf243b48b7b394b730a03adb1000566047cf517ab91050d2e856b10b8c2cb"
5
  },
6
  "fonts": [
7
- "fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.ttf",
8
- "fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg",
9
- "fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.woff",
10
- "fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot"
11
  ],
12
  "glyphs": {
13
  "access": {
@@ -26,6 +26,26 @@
26
  "codepoint": 61715,
27
  "source": "vectors/bootstrap-logo.svg"
28
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  "conditional-alert": {
30
  "codepoint": 61730,
31
  "source": "vectors/conditional-alert.svg"
@@ -42,6 +62,14 @@
42
  "codepoint": 61717,
43
  "source": "vectors/cred-logo.svg"
44
  },
 
 
 
 
 
 
 
 
45
  "layouts": {
46
  "codepoint": 61718,
47
  "source": "vectors/layouts.svg"
@@ -58,6 +86,10 @@
58
  "codepoint": 61719,
59
  "source": "vectors/layouts-logo.svg"
60
  },
 
 
 
 
61
  "module": {
62
  "codepoint": 61720,
63
  "source": "vectors/module.svg"
@@ -66,6 +98,10 @@
66
  "codepoint": 61721,
67
  "source": "vectors/module-logo.svg"
68
  },
 
 
 
 
69
  "packager": {
70
  "codepoint": 61728,
71
  "source": "vectors/packager.svg"
@@ -74,6 +110,10 @@
74
  "codepoint": 61729,
75
  "source": "vectors/packager-logo.svg"
76
  },
 
 
 
 
77
  "toolset": {
78
  "codepoint": 61738,
79
  "source": "vectors/toolset.svg"
@@ -110,6 +150,10 @@
110
  "codepoint": 61726,
111
  "source": "vectors/views-logo.svg"
112
  },
 
 
 
 
113
  "wpml-logo": {
114
  "codepoint": 61727,
115
  "source": "vectors/wpml-logo.svg"
@@ -119,8 +163,12 @@
119
  "autowidth": false,
120
  "config": "fontcustom.yml",
121
  "css_selector": ".icon-{{glyph}}",
122
- "debug": true,
123
  "file_hash": false,
 
 
 
 
124
  "font_name": "onthegosystems-icons",
125
  "force": false,
126
  "input": {
1
  {
2
  "checksum": {
3
+ "previous": "91cc76c6ec19609541b007a2169151af12744e59994efb1ea941131d51975f81",
4
+ "current": "91cc76c6ec19609541b007a2169151af12744e59994efb1ea941131d51975f81"
5
  },
6
  "fonts": [
7
+ "fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf",
8
+ "fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg",
9
+ "fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff",
10
+ "fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot"
11
  ],
12
  "glyphs": {
13
  "access": {
26
  "codepoint": 61715,
27
  "source": "vectors/bootstrap-logo.svg"
28
  },
29
+ "bootstrap-original-logo": {
30
+ "codepoint": 61750,
31
+ "source": "vectors/bootstrap-original-logo.svg"
32
+ },
33
+ "bootstrap-pagination": {
34
+ "codepoint": 61749,
35
+ "source": "vectors/bootstrap-pagination.svg"
36
+ },
37
+ "breadcrumbs": {
38
+ "codepoint": 61739,
39
+ "source": "vectors/breadcrumbs.svg"
40
+ },
41
+ "btn-dropdowns": {
42
+ "codepoint": 61740,
43
+ "source": "vectors/btn-dropdowns.svg"
44
+ },
45
+ "buttons": {
46
+ "codepoint": 61741,
47
+ "source": "vectors/buttons.svg"
48
+ },
49
  "conditional-alert": {
50
  "codepoint": 61730,
51
  "source": "vectors/conditional-alert.svg"
62
  "codepoint": 61717,
63
  "source": "vectors/cred-logo.svg"
64
  },
65
+ "input-groups": {
66
+ "codepoint": 61742,
67
+ "source": "vectors/input-groups.svg"
68
+ },
69
+ "labels": {
70
+ "codepoint": 61743,
71
+ "source": "vectors/labels.svg"
72
+ },
73
  "layouts": {
74
  "codepoint": 61718,
75
  "source": "vectors/layouts.svg"
86
  "codepoint": 61719,
87
  "source": "vectors/layouts-logo.svg"
88
  },
89
+ "list-group": {
90
+ "codepoint": 61744,
91
+ "source": "vectors/list-group.svg"
92
+ },
93
  "module": {
94
  "codepoint": 61720,
95
  "source": "vectors/module.svg"
98
  "codepoint": 61721,
99
  "source": "vectors/module-logo.svg"
100
  },
101
+ "navbar": {
102
+ "codepoint": 61745,
103
+ "source": "vectors/navbar.svg"
104
+ },
105
  "packager": {
106
  "codepoint": 61728,
107
  "source": "vectors/packager.svg"
110
  "codepoint": 61729,
111
  "source": "vectors/packager-logo.svg"
112
  },
113
+ "panels": {
114
+ "codepoint": 61747,
115
+ "source": "vectors/panels.svg"
116
+ },
117
  "toolset": {
118
  "codepoint": 61738,
119
  "source": "vectors/toolset.svg"
150
  "codepoint": 61726,
151
  "source": "vectors/views-logo.svg"
152
  },
153
+ "wells": {
154
+ "codepoint": 61748,
155
+ "source": "vectors/wells.svg"
156
+ },
157
  "wpml-logo": {
158
  "codepoint": 61727,
159
  "source": "vectors/wpml-logo.svg"
163
  "autowidth": false,
164
  "config": "fontcustom.yml",
165
  "css_selector": ".icon-{{glyph}}",
166
+ "debug": false,
167
  "file_hash": false,
168
+ "font_ascent": 448,
169
+ "font_descent": 64,
170
+ "font_design_size": 16,
171
+ "font_em": 512,
172
  "font_name": "onthegosystems-icons",
173
  "force": false,
174
  "input": {
library/toolset/onthego-resources/onthegosystems-icons/css/_onthegosystems-icons.scss CHANGED
@@ -4,11 +4,11 @@
4
 
5
  @font-face {
6
  font-family: "onthegosystems-icons";
7
- src: font-url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot");
8
- src: font-url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot?#iefix") format("embedded-opentype"),
9
- font-url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.woff") format("woff"),
10
- font-url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.ttf") format("truetype"),
11
- font-url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg#onthegosystems-icons") format("svg");
12
  font-weight: normal;
13
  font-style: normal;
14
  }
@@ -16,7 +16,7 @@
16
  @media screen and (-webkit-min-device-pixel-ratio:0) {
17
  @font-face {
18
  font-family: "onthegosystems-icons";
19
- src: font-url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg#onthegosystems-icons") format("svg");
20
  }
21
  }
22
 
@@ -27,18 +27,28 @@
27
  .icon-access-logo:before,
28
  .icon-bootstrap:before,
29
  .icon-bootstrap-logo:before,
 
 
 
 
 
30
  .icon-conditional-alert:before,
31
  .icon-conditional-if:before,
32
  .icon-cred:before,
33
  .icon-cred-logo:before,
 
 
34
  .icon-layouts:before,
35
  .icon-layouts-genesis:before,
36
  .icon-layouts-genesis-logo:before,
37
  .icon-layouts-logo:before,
 
38
  .icon-module:before,
39
  .icon-module-logo:before,
 
40
  .icon-packager:before,
41
  .icon-packager-logo:before,
 
42
  .icon-toolset:before,
43
  .icon-toolset-genesis-logo:before,
44
  .icon-toolset-logo:before,
@@ -48,6 +58,7 @@
48
  .icon-types-logo:before,
49
  .icon-views:before,
50
  .icon-views-logo:before,
 
51
  .icon-wpml-logo:before {
52
  display: inline-block;
53
  font-family: "onthegosystems-icons";
@@ -67,18 +78,28 @@
67
  .icon-access-logo:before { content: "\f111"; }
68
  .icon-bootstrap:before { content: "\f112"; }
69
  .icon-bootstrap-logo:before { content: "\f113"; }
 
 
 
 
 
70
  .icon-conditional-alert:before { content: "\f122"; }
71
  .icon-conditional-if:before { content: "\f123"; }
72
  .icon-cred:before { content: "\f114"; }
73
  .icon-cred-logo:before { content: "\f115"; }
 
 
74
  .icon-layouts:before { content: "\f116"; }
75
  .icon-layouts-genesis:before { content: "\f129"; }
76
  .icon-layouts-genesis-logo:before { content: "\f127"; }
77
  .icon-layouts-logo:before { content: "\f117"; }
 
78
  .icon-module:before { content: "\f118"; }
79
  .icon-module-logo:before { content: "\f119"; }
 
80
  .icon-packager:before { content: "\f120"; }
81
  .icon-packager-logo:before { content: "\f121"; }
 
82
  .icon-toolset:before { content: "\f12a"; }
83
  .icon-toolset-genesis-logo:before { content: "\f128"; }
84
  .icon-toolset-logo:before { content: "\f11a"; }
@@ -88,4 +109,43 @@
88
  .icon-types-logo:before { content: "\f11c"; }
89
  .icon-views:before { content: "\f11d"; }
90
  .icon-views-logo:before { content: "\f11e"; }
 
91
  .icon-wpml-logo:before { content: "\f11f"; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  @font-face {
6
  font-family: "onthegosystems-icons";
7
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot");
8
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot?#iefix") format("embedded-opentype"),
9
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff") format("woff"),
10
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf") format("truetype"),
11
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
12
  font-weight: normal;
13
  font-style: normal;
14
  }
16
  @media screen and (-webkit-min-device-pixel-ratio:0) {
17
  @font-face {
18
  font-family: "onthegosystems-icons";
19
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
20
  }
21
  }
22
 
27
  .icon-access-logo:before,
28
  .icon-bootstrap:before,
29
  .icon-bootstrap-logo:before,
30
+ .icon-bootstrap-original-logo:before,
31
+ .icon-bootstrap-pagination:before,
32
+ .icon-breadcrumbs:before,
33
+ .icon-btn-dropdowns:before,
34
+ .icon-buttons:before,
35
  .icon-conditional-alert:before,
36
  .icon-conditional-if:before,
37
  .icon-cred:before,
38
  .icon-cred-logo:before,
39
+ .icon-input-groups:before,
40
+ .icon-labels:before,
41
  .icon-layouts:before,
42
  .icon-layouts-genesis:before,
43
  .icon-layouts-genesis-logo:before,
44
  .icon-layouts-logo:before,
45
+ .icon-list-group:before,
46
  .icon-module:before,
47
  .icon-module-logo:before,
48
+ .icon-navbar:before,
49
  .icon-packager:before,
50
  .icon-packager-logo:before,
51
+ .icon-panels:before,
52
  .icon-toolset:before,
53
  .icon-toolset-genesis-logo:before,
54
  .icon-toolset-logo:before,
58
  .icon-types-logo:before,
59
  .icon-views:before,
60
  .icon-views-logo:before,
61
+ .icon-wells:before,
62
  .icon-wpml-logo:before {
63
  display: inline-block;
64
  font-family: "onthegosystems-icons";
78
  .icon-access-logo:before { content: "\f111"; }
79
  .icon-bootstrap:before { content: "\f112"; }
80
  .icon-bootstrap-logo:before { content: "\f113"; }
81
+ .icon-bootstrap-original-logo:before { content: "\f136"; }
82
+ .icon-bootstrap-pagination:before { content: "\f135"; }
83
+ .icon-breadcrumbs:before { content: "\f12b"; }
84
+ .icon-btn-dropdowns:before { content: "\f12c"; }
85
+ .icon-buttons:before { content: "\f12d"; }
86
  .icon-conditional-alert:before { content: "\f122"; }
87
  .icon-conditional-if:before { content: "\f123"; }
88
  .icon-cred:before { content: "\f114"; }
89
  .icon-cred-logo:before { content: "\f115"; }
90
+ .icon-input-groups:before { content: "\f12e"; }
91
+ .icon-labels:before { content: "\f12f"; }
92
  .icon-layouts:before { content: "\f116"; }
93
  .icon-layouts-genesis:before { content: "\f129"; }
94
  .icon-layouts-genesis-logo:before { content: "\f127"; }
95
  .icon-layouts-logo:before { content: "\f117"; }
96
+ .icon-list-group:before { content: "\f130"; }
97
  .icon-module:before { content: "\f118"; }
98
  .icon-module-logo:before { content: "\f119"; }
99
+ .icon-navbar:before { content: "\f131"; }
100
  .icon-packager:before { content: "\f120"; }
101
  .icon-packager-logo:before { content: "\f121"; }
102
+ .icon-panels:before { content: "\f133"; }
103
  .icon-toolset:before { content: "\f12a"; }
104
  .icon-toolset-genesis-logo:before { content: "\f128"; }
105
  .icon-toolset-logo:before { content: "\f11a"; }
109
  .icon-types-logo:before { content: "\f11c"; }
110
  .icon-views:before { content: "\f11d"; }
111
  .icon-views-logo:before { content: "\f11e"; }
112
+ .icon-wells:before { content: "\f134"; }
113
  .icon-wpml-logo:before { content: "\f11f"; }
114
+
115
+ $font-onthegosystems-icons-access: "\f110";
116
+ $font-onthegosystems-icons-access-logo: "\f111";
117
+ $font-onthegosystems-icons-bootstrap: "\f112";
118
+ $font-onthegosystems-icons-bootstrap-logo: "\f113";
119
+ $font-onthegosystems-icons-bootstrap-original-logo: "\f136";
120
+ $font-onthegosystems-icons-bootstrap-pagination: "\f135";
121
+ $font-onthegosystems-icons-breadcrumbs: "\f12b";
122
+ $font-onthegosystems-icons-btn-dropdowns: "\f12c";
123
+ $font-onthegosystems-icons-buttons: "\f12d";
124
+ $font-onthegosystems-icons-conditional-alert: "\f122";
125
+ $font-onthegosystems-icons-conditional-if: "\f123";
126
+ $font-onthegosystems-icons-cred: "\f114";
127
+ $font-onthegosystems-icons-cred-logo: "\f115";
128
+ $font-onthegosystems-icons-input-groups: "\f12e";
129
+ $font-onthegosystems-icons-labels: "\f12f";
130
+ $font-onthegosystems-icons-layouts: "\f116";
131
+ $font-onthegosystems-icons-layouts-genesis: "\f129";
132
+ $font-onthegosystems-icons-layouts-genesis-logo: "\f127";
133
+ $font-onthegosystems-icons-layouts-logo: "\f117";
134
+ $font-onthegosystems-icons-list-group: "\f130";
135
+ $font-onthegosystems-icons-module: "\f118";
136
+ $font-onthegosystems-icons-module-logo: "\f119";
137
+ $font-onthegosystems-icons-navbar: "\f131";
138
+ $font-onthegosystems-icons-packager: "\f120";
139
+ $font-onthegosystems-icons-packager-logo: "\f121";
140
+ $font-onthegosystems-icons-panels: "\f133";
141
+ $font-onthegosystems-icons-toolset: "\f12a";
142
+ $font-onthegosystems-icons-toolset-genesis-logo: "\f128";
143
+ $font-onthegosystems-icons-toolset-logo: "\f11a";
144
+ $font-onthegosystems-icons-toolset-map: "\f125";
145
+ $font-onthegosystems-icons-toolset-map-logo: "\f124";
146
+ $font-onthegosystems-icons-types: "\f11b";
147
+ $font-onthegosystems-icons-types-logo: "\f11c";
148
+ $font-onthegosystems-icons-views: "\f11d";
149
+ $font-onthegosystems-icons-views-logo: "\f11e";
150
+ $font-onthegosystems-icons-wells: "\f134";
151
+ $font-onthegosystems-icons-wpml-logo: "\f11f";
library/toolset/onthego-resources/onthegosystems-icons/css/onthegosystems-icons.css CHANGED
@@ -4,11 +4,11 @@
4
 
5
  @font-face {
6
  font-family: "onthegosystems-icons";
7
- src: url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot");
8
- src: url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot?#iefix") format("embedded-opentype"),
9
- url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.woff") format("woff"),
10
- url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.ttf") format("truetype"),
11
- url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg#onthegosystems-icons") format("svg");
12
  font-weight: normal;
13
  font-style: normal;
14
  }
@@ -16,7 +16,7 @@
16
  @media screen and (-webkit-min-device-pixel-ratio:0) {
17
  @font-face {
18
  font-family: "onthegosystems-icons";
19
- src: url("../fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg#onthegosystems-icons") format("svg");
20
  }
21
  }
22
 
@@ -27,18 +27,28 @@
27
  .icon-access-logo:before,
28
  .icon-bootstrap:before,
29
  .icon-bootstrap-logo:before,
 
 
 
 
 
30
  .icon-conditional-alert:before,
31
  .icon-conditional-if:before,
32
  .icon-cred:before,
33
  .icon-cred-logo:before,
 
 
34
  .icon-layouts:before,
35
  .icon-layouts-genesis:before,
36
  .icon-layouts-genesis-logo:before,
37
  .icon-layouts-logo:before,
 
38
  .icon-module:before,
39
  .icon-module-logo:before,
 
40
  .icon-packager:before,
41
  .icon-packager-logo:before,
 
42
  .icon-toolset:before,
43
  .icon-toolset-genesis-logo:before,
44
  .icon-toolset-logo:before,
@@ -48,6 +58,7 @@
48
  .icon-types-logo:before,
49
  .icon-views:before,
50
  .icon-views-logo:before,
 
51
  .icon-wpml-logo:before {
52
  display: inline-block;
53
  font-family: "onthegosystems-icons";
@@ -67,18 +78,28 @@
67
  .icon-access-logo:before { content: "\f111"; }
68
  .icon-bootstrap:before { content: "\f112"; }
69
  .icon-bootstrap-logo:before { content: "\f113"; }
 
 
 
 
 
70
  .icon-conditional-alert:before { content: "\f122"; }
71
  .icon-conditional-if:before { content: "\f123"; }
72
  .icon-cred:before { content: "\f114"; }
73
  .icon-cred-logo:before { content: "\f115"; }
 
 
74
  .icon-layouts:before { content: "\f116"; }
75
  .icon-layouts-genesis:before { content: "\f129"; }
76
  .icon-layouts-genesis-logo:before { content: "\f127"; }
77
  .icon-layouts-logo:before { content: "\f117"; }
 
78
  .icon-module:before { content: "\f118"; }
79
  .icon-module-logo:before { content: "\f119"; }
 
80
  .icon-packager:before { content: "\f120"; }
81
  .icon-packager-logo:before { content: "\f121"; }
 
82
  .icon-toolset:before { content: "\f12a"; }
83
  .icon-toolset-genesis-logo:before { content: "\f128"; }
84
  .icon-toolset-logo:before { content: "\f11a"; }
@@ -88,4 +109,5 @@
88
  .icon-types-logo:before { content: "\f11c"; }
89
  .icon-views:before { content: "\f11d"; }
90
  .icon-views-logo:before { content: "\f11e"; }
 
91
  .icon-wpml-logo:before { content: "\f11f"; }
4
 
5
  @font-face {
6
  font-family: "onthegosystems-icons";
7
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot");
8
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot?#iefix") format("embedded-opentype"),
9
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff") format("woff"),
10
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf") format("truetype"),
11
+ url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
12
  font-weight: normal;
13
  font-style: normal;
14
  }
16
  @media screen and (-webkit-min-device-pixel-ratio:0) {
17
  @font-face {
18
  font-family: "onthegosystems-icons";
19
+ src: url("../fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
20
  }
21
  }
22
 
27
  .icon-access-logo:before,
28
  .icon-bootstrap:before,
29
  .icon-bootstrap-logo:before,
30
+ .icon-bootstrap-original-logo:before,
31
+ .icon-bootstrap-pagination:before,
32
+ .icon-breadcrumbs:before,
33
+ .icon-btn-dropdowns:before,
34
+ .icon-buttons:before,
35
  .icon-conditional-alert:before,
36
  .icon-conditional-if:before,
37
  .icon-cred:before,
38
  .icon-cred-logo:before,
39
+ .icon-input-groups:before,
40
+ .icon-labels:before,
41
  .icon-layouts:before,
42
  .icon-layouts-genesis:before,
43
  .icon-layouts-genesis-logo:before,
44
  .icon-layouts-logo:before,
45
+ .icon-list-group:before,
46
  .icon-module:before,
47
  .icon-module-logo:before,
48
+ .icon-navbar:before,
49
  .icon-packager:before,
50
  .icon-packager-logo:before,
51
+ .icon-panels:before,
52
  .icon-toolset:before,
53
  .icon-toolset-genesis-logo:before,
54
  .icon-toolset-logo:before,
58
  .icon-types-logo:before,
59
  .icon-views:before,
60
  .icon-views-logo:before,
61
+ .icon-wells:before,
62
  .icon-wpml-logo:before {
63
  display: inline-block;
64
  font-family: "onthegosystems-icons";
78
  .icon-access-logo:before { content: "\f111"; }
79
  .icon-bootstrap:before { content: "\f112"; }
80
  .icon-bootstrap-logo:before { content: "\f113"; }
81
+ .icon-bootstrap-original-logo:before { content: "\f136"; }
82
+ .icon-bootstrap-pagination:before { content: "\f135"; }
83
+ .icon-breadcrumbs:before { content: "\f12b"; }
84
+ .icon-btn-dropdowns:before { content: "\f12c"; }
85
+ .icon-buttons:before { content: "\f12d"; }
86
  .icon-conditional-alert:before { content: "\f122"; }
87
  .icon-conditional-if:before { content: "\f123"; }
88
  .icon-cred:before { content: "\f114"; }
89
  .icon-cred-logo:before { content: "\f115"; }
90
+ .icon-input-groups:before { content: "\f12e"; }
91
+ .icon-labels:before { content: "\f12f"; }
92
  .icon-layouts:before { content: "\f116"; }
93
  .icon-layouts-genesis:before { content: "\f129"; }
94
  .icon-layouts-genesis-logo:before { content: "\f127"; }
95
  .icon-layouts-logo:before { content: "\f117"; }
96
+ .icon-list-group:before { content: "\f130"; }
97
  .icon-module:before { content: "\f118"; }
98
  .icon-module-logo:before { content: "\f119"; }
99
+ .icon-navbar:before { content: "\f131"; }
100
  .icon-packager:before { content: "\f120"; }
101
  .icon-packager-logo:before { content: "\f121"; }
102
+ .icon-panels:before { content: "\f133"; }
103
  .icon-toolset:before { content: "\f12a"; }
104
  .icon-toolset-genesis-logo:before { content: "\f128"; }
105
  .icon-toolset-logo:before { content: "\f11a"; }
109
  .icon-types-logo:before { content: "\f11c"; }
110
  .icon-views:before { content: "\f11d"; }
111
  .icon-views-logo:before { content: "\f11e"; }
112
+ .icon-wells:before { content: "\f134"; }
113
  .icon-wpml-logo:before { content: "\f11f"; }
library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons-preview.html CHANGED
@@ -141,11 +141,11 @@
141
 
142
  @font-face {
143
  font-family: "onthegosystems-icons";
144
- src: url("./onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot");
145
- src: url("./onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot?#iefix") format("embedded-opentype"),
146
- url("./onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.woff") format("woff"),
147
- url("./onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.ttf") format("truetype"),
148
- url("./onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg#onthegosystems-icons") format("svg");
149
  font-weight: normal;
150
  font-style: normal;
151
  }
@@ -153,7 +153,7 @@
153
  @media screen and (-webkit-min-device-pixel-ratio:0) {
154
  @font-face {
155
  font-family: "onthegosystems-icons";
156
- src: url("./onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg#onthegosystems-icons") format("svg");
157
  }
158
  }
159
 
@@ -164,18 +164,28 @@
164
  .icon-access-logo:before,
165
  .icon-bootstrap:before,
166
  .icon-bootstrap-logo:before,
 
 
 
 
 
167
  .icon-conditional-alert:before,
168
  .icon-conditional-if:before,
169
  .icon-cred:before,
170
  .icon-cred-logo:before,
 
 
171
  .icon-layouts:before,
172
  .icon-layouts-genesis:before,
173
  .icon-layouts-genesis-logo:before,
174
  .icon-layouts-logo:before,
 
175
  .icon-module:before,
176
  .icon-module-logo:before,
 
177
  .icon-packager:before,
178
  .icon-packager-logo:before,
 
179
  .icon-toolset:before,
180
  .icon-toolset-genesis-logo:before,
181
  .icon-toolset-logo:before,
@@ -185,6 +195,7 @@
185
  .icon-types-logo:before,
186
  .icon-views:before,
187
  .icon-views-logo:before,
 
188
  .icon-wpml-logo:before {
189
  display: inline-block;
190
  font-family: "onthegosystems-icons";
@@ -204,18 +215,28 @@
204
  .icon-access-logo:before { content: "\f111"; }
205
  .icon-bootstrap:before { content: "\f112"; }
206
  .icon-bootstrap-logo:before { content: "\f113"; }
 
 
 
 
 
207
  .icon-conditional-alert:before { content: "\f122"; }
208
  .icon-conditional-if:before { content: "\f123"; }
209
  .icon-cred:before { content: "\f114"; }
210
  .icon-cred-logo:before { content: "\f115"; }
 
 
211
  .icon-layouts:before { content: "\f116"; }
212
  .icon-layouts-genesis:before { content: "\f129"; }
213
  .icon-layouts-genesis-logo:before { content: "\f127"; }
214
  .icon-layouts-logo:before { content: "\f117"; }
 
215
  .icon-module:before { content: "\f118"; }
216
  .icon-module-logo:before { content: "\f119"; }
 
217
  .icon-packager:before { content: "\f120"; }
218
  .icon-packager-logo:before { content: "\f121"; }
 
219
  .icon-toolset:before { content: "\f12a"; }
220
  .icon-toolset-genesis-logo:before { content: "\f128"; }
221
  .icon-toolset-logo:before { content: "\f11a"; }
@@ -225,6 +246,7 @@
225
  .icon-types-logo:before { content: "\f11c"; }
226
  .icon-views:before { content: "\f11d"; }
227
  .icon-views-logo:before { content: "\f11e"; }
 
228
  .icon-wpml-logo:before { content: "\f11f"; }
229
  </style>
230
 
@@ -241,7 +263,7 @@
241
  <body class="characters-off">
242
  <div id="page" class="container">
243
  <header>
244
- <h1>onthegosystems-icons contains 26 glyphs:</h1>
245
  <a onclick="toggleCharacters(); return false;" href="#">Toggle Preview Characters</a>
246
  </header>
247
 
@@ -298,6 +320,71 @@
298
  </div>
299
  </div>
300
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  <div class="glyph">
302
  <div class="preview-glyphs">
303
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span>
@@ -350,6 +437,32 @@
350
  </div>
351
  </div>
352
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
353
  <div class="glyph">
354
  <div class="preview-glyphs">
355
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span>
@@ -402,6 +515,19 @@
402
  </div>
403
  </div>
404
 
 
 
 
 
 
 
 
 
 
 
 
 
 
405
  <div class="glyph">
406
  <div class="preview-glyphs">
407
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span>
@@ -428,6 +554,19 @@
428
  </div>
429
  </div>
430
 
 
 
 
 
 
 
 
 
 
 
 
 
 
431
  <div class="glyph">
432
  <div class="preview-glyphs">
433
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span>
@@ -454,6 +593,19 @@
454
  </div>
455
  </div>
456
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
  <div class="glyph">
458
  <div class="preview-glyphs">
459
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span>
@@ -571,6 +723,19 @@
571
  </div>
572
  </div>
573
 
 
 
 
 
 
 
 
 
 
 
 
 
 
574
  <div class="glyph">
575
  <div class="preview-glyphs">
576
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span>
141
 
142
  @font-face {
143
  font-family: "onthegosystems-icons";
144
+ src: url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot");
145
+ src: url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot?#iefix") format("embedded-opentype"),
146
+ url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff") format("woff"),
147
+ url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf") format("truetype"),
148
+ url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
149
  font-weight: normal;
150
  font-style: normal;
151
  }
153
  @media screen and (-webkit-min-device-pixel-ratio:0) {
154
  @font-face {
155
  font-family: "onthegosystems-icons";
156
+ src: url("./onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg#onthegosystems-icons") format("svg");
157
  }
158
  }
159
 
164
  .icon-access-logo:before,
165
  .icon-bootstrap:before,
166
  .icon-bootstrap-logo:before,
167
+ .icon-bootstrap-original-logo:before,
168
+ .icon-bootstrap-pagination:before,
169
+ .icon-breadcrumbs:before,
170
+ .icon-btn-dropdowns:before,
171
+ .icon-buttons:before,
172
  .icon-conditional-alert:before,
173
  .icon-conditional-if:before,
174
  .icon-cred:before,
175
  .icon-cred-logo:before,
176
+ .icon-input-groups:before,
177
+ .icon-labels:before,
178
  .icon-layouts:before,
179
  .icon-layouts-genesis:before,
180
  .icon-layouts-genesis-logo:before,
181
  .icon-layouts-logo:before,
182
+ .icon-list-group:before,
183
  .icon-module:before,
184
  .icon-module-logo:before,
185
+ .icon-navbar:before,
186
  .icon-packager:before,
187
  .icon-packager-logo:before,
188
+ .icon-panels:before,
189
  .icon-toolset:before,
190
  .icon-toolset-genesis-logo:before,
191
  .icon-toolset-logo:before,
195
  .icon-types-logo:before,
196
  .icon-views:before,
197
  .icon-views-logo:before,
198
+ .icon-wells:before,
199
  .icon-wpml-logo:before {
200
  display: inline-block;
201
  font-family: "onthegosystems-icons";
215
  .icon-access-logo:before { content: "\f111"; }
216
  .icon-bootstrap:before { content: "\f112"; }
217
  .icon-bootstrap-logo:before { content: "\f113"; }
218
+ .icon-bootstrap-original-logo:before { content: "\f136"; }
219
+ .icon-bootstrap-pagination:before { content: "\f135"; }
220
+ .icon-breadcrumbs:before { content: "\f12b"; }
221
+ .icon-btn-dropdowns:before { content: "\f12c"; }
222
+ .icon-buttons:before { content: "\f12d"; }
223
  .icon-conditional-alert:before { content: "\f122"; }
224
  .icon-conditional-if:before { content: "\f123"; }
225
  .icon-cred:before { content: "\f114"; }
226
  .icon-cred-logo:before { content: "\f115"; }
227
+ .icon-input-groups:before { content: "\f12e"; }
228
+ .icon-labels:before { content: "\f12f"; }
229
  .icon-layouts:before { content: "\f116"; }
230
  .icon-layouts-genesis:before { content: "\f129"; }
231
  .icon-layouts-genesis-logo:before { content: "\f127"; }
232
  .icon-layouts-logo:before { content: "\f117"; }
233
+ .icon-list-group:before { content: "\f130"; }
234
  .icon-module:before { content: "\f118"; }
235
  .icon-module-logo:before { content: "\f119"; }
236
+ .icon-navbar:before { content: "\f131"; }
237
  .icon-packager:before { content: "\f120"; }
238
  .icon-packager-logo:before { content: "\f121"; }
239
+ .icon-panels:before { content: "\f133"; }
240
  .icon-toolset:before { content: "\f12a"; }
241
  .icon-toolset-genesis-logo:before { content: "\f128"; }
242
  .icon-toolset-logo:before { content: "\f11a"; }
246
  .icon-types-logo:before { content: "\f11c"; }
247
  .icon-views:before { content: "\f11d"; }
248
  .icon-views-logo:before { content: "\f11e"; }
249
+ .icon-wells:before { content: "\f134"; }
250
  .icon-wpml-logo:before { content: "\f11f"; }
251
  </style>
252
 
263
  <body class="characters-off">
264
  <div id="page" class="container">
265
  <header>
266
+ <h1>onthegosystems-icons contains 37 glyphs:</h1>
267
  <a onclick="toggleCharacters(); return false;" href="#">Toggle Preview Characters</a>
268
  </header>
269
 
320
  </div>
321
  </div>
322
 
323
+ <div class="glyph">
324
+ <div class="preview-glyphs">
325
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-bootstrap-original-logo" class="icon-bootstrap-original-logo"></i></span>
326
+ </div>
327
+ <div class="preview-scale">
328
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
329
+ </div>
330
+ <div class="usage">
331
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-bootstrap-original-logo" />
332
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf136;" />
333
+ </div>
334
+ </div>
335
+
336
+ <div class="glyph">
337
+ <div class="preview-glyphs">
338
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-bootstrap-pagination" class="icon-bootstrap-pagination"></i></span>
339
+ </div>
340
+ <div class="preview-scale">
341
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
342
+ </div>
343
+ <div class="usage">
344
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-bootstrap-pagination" />
345
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf135;" />
346
+ </div>
347
+ </div>
348
+
349
+ <div class="glyph">
350
+ <div class="preview-glyphs">
351
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-breadcrumbs" class="icon-breadcrumbs"></i></span>
352
+ </div>
353
+ <div class="preview-scale">
354
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
355
+ </div>
356
+ <div class="usage">
357
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-breadcrumbs" />
358
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf12b;" />
359
+ </div>
360
+ </div>
361
+
362
+ <div class="glyph">
363
+ <div class="preview-glyphs">
364
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-btn-dropdowns" class="icon-btn-dropdowns"></i></span>
365
+ </div>
366
+ <div class="preview-scale">
367
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
368
+ </div>
369
+ <div class="usage">
370
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-btn-dropdowns" />
371
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf12c;" />
372
+ </div>
373
+ </div>
374
+
375
+ <div class="glyph">
376
+ <div class="preview-glyphs">
377
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-buttons" class="icon-buttons"></i></span>
378
+ </div>
379
+ <div class="preview-scale">
380
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
381
+ </div>
382
+ <div class="usage">
383
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-buttons" />
384
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf12d;" />
385
+ </div>
386
+ </div>
387
+
388
  <div class="glyph">
389
  <div class="preview-glyphs">
390
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-conditional-alert" class="icon-conditional-alert"></i></span>
437
  </div>
438
  </div>
439
 
440
+ <div class="glyph">
441
+ <div class="preview-glyphs">
442
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-input-groups" class="icon-input-groups"></i></span>
443
+ </div>
444
+ <div class="preview-scale">
445
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
446
+ </div>
447
+ <div class="usage">
448
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-input-groups" />
449
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf12e;" />
450
+ </div>
451
+ </div>
452
+
453
+ <div class="glyph">
454
+ <div class="preview-glyphs">
455
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-labels" class="icon-labels"></i></span>
456
+ </div>
457
+ <div class="preview-scale">
458
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
459
+ </div>
460
+ <div class="usage">
461
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-labels" />
462
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf12f;" />
463
+ </div>
464
+ </div>
465
+
466
  <div class="glyph">
467
  <div class="preview-glyphs">
468
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-layouts" class="icon-layouts"></i></span>
515
  </div>
516
  </div>
517
 
518
+ <div class="glyph">
519
+ <div class="preview-glyphs">
520
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-list-group" class="icon-list-group"></i></span>
521
+ </div>
522
+ <div class="preview-scale">
523
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
524
+ </div>
525
+ <div class="usage">
526
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-list-group" />
527
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf130;" />
528
+ </div>
529
+ </div>
530
+
531
  <div class="glyph">
532
  <div class="preview-glyphs">
533
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-module" class="icon-module"></i></span>
554
  </div>
555
  </div>
556
 
557
+ <div class="glyph">
558
+ <div class="preview-glyphs">
559
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-navbar" class="icon-navbar"></i></span>
560
+ </div>
561
+ <div class="preview-scale">
562
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
563
+ </div>
564
+ <div class="usage">
565
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-navbar" />
566
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf131;" />
567
+ </div>
568
+ </div>
569
+
570
  <div class="glyph">
571
  <div class="preview-glyphs">
572
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-packager" class="icon-packager"></i></span>
593
  </div>
594
  </div>
595
 
596
+ <div class="glyph">
597
+ <div class="preview-glyphs">
598
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-panels" class="icon-panels"></i></span>
599
+ </div>
600
+ <div class="preview-scale">
601
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
602
+ </div>
603
+ <div class="usage">
604
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-panels" />
605
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf133;" />
606
+ </div>
607
+ </div>
608
+
609
  <div class="glyph">
610
  <div class="preview-glyphs">
611
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-toolset" class="icon-toolset"></i></span>
723
  </div>
724
  </div>
725
 
726
+ <div class="glyph">
727
+ <div class="preview-glyphs">
728
+ <span class="step size-12"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-wells" class="icon-wells"></i></span>
729
+ </div>
730
+ <div class="preview-scale">
731
+ <span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">36</span><span class="step">48</span><span class="step">60</span><span class="step">72</span>
732
+ </div>
733
+ <div class="usage">
734
+ <input class="class" type="text" readonly="readonly" onClick="this.select();" value=".icon-wells" />
735
+ <input class="point" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf134;" />
736
+ </div>
737
+ </div>
738
+
739
  <div class="glyph">
740
  <div class="preview-glyphs">
741
  <span class="step size-12"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-14"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-16"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-18"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-21"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-24"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-36"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-48"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-60"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span><span class="step size-72"><span class="letters">Pp</span><i id="icon-wpml-logo" class="icon-wpml-logo"></i></span>
library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.woff DELETED
Binary file
library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.eot → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.eot} RENAMED
Binary file
library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.svg → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.svg} RENAMED
@@ -1,11 +1,11 @@
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
  <!--
4
- 2016-3-17: Created with FontForge (http://fontforge.org)
5
  -->
6
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
7
  <metadata>
8
- Created by FontForge 20150302 at Thu Mar 17 20:35:48 2016
9
  By Riccardo Strobbia
10
  Copyright (c) 2016, Riccardo Strobbia
11
  </metadata>
@@ -16,15 +16,17 @@ Copyright (c) 2016, Riccardo Strobbia
16
  font-weight="400"
17
  font-stretch="normal"
18
  units-per-em="512"
19
- panose-1="2 0 5 9 0 0 0 0 0 0"
20
  ascent="448"
21
  descent="-64"
22
- bbox="50.7344 -38.4004 470.594 422.4"
23
  underline-thickness="25.6"
24
  underline-position="-51.2"
25
- unicode-range="U+F110-F12A"
26
  />
27
  <missing-glyph />
 
 
28
  <glyph glyph-name="uniF112" unicode="&#xf112;"
29
  d="M368.135 254.745c11.2256 0 20.3135 -9.09375 20.3135 -20.3135v-157.606c0 -11.2256 -9.08789 -20.3193 -20.3008 -20.3193h-94.4131c1.27344 -7.69922 7.61621 -28.666 39.0078 -28.666v-10.0479h-50.4316h-10.7393h-50.4316v10.0479
30
  c31.3984 0 37.7275 20.9727 39.001 28.666h-97.3691c-11.2197 0 -20.3076 9.09375 -20.3076 20.3193v157.606c0 11.2256 9.08789 20.3135 20.3076 20.3135h225.363zM318.489 126.176l30.0742 30.0742l-30.0742 30.0859v-16.1279h-120.902v16.1279l-30.0732 -30.0859
@@ -33,6 +35,9 @@ l30.0732 -30.0742v16.1152h120.902v-16.1152z" />
33
  d="M260.664 55.4453h-209.93l104.963 176.74l104.967 176.025l104.968 -176.378l104.962 -176.388h-209.93zM284.613 161.191l7.23633 129.573h-61.3564l7.24609 -129.573h46.874zM231.062 113.25c0 -8.2168 2.65039 -14.6348 7.95215 -19.2402
34
  c5.30566 -4.61523 12.6455 -6.91797 22.0186 -6.91797c9.2793 0 16.4961 2.30762 21.6602 6.91797c5.16406 4.60547 7.74121 11.0234 7.74121 19.2402c0 8.31445 -2.48828 14.7725 -7.45703 19.3877c-4.96777 4.61523 -12.2832 6.91797 -21.9443 6.91797
35
  c-9.75488 0 -17.1875 -2.30762 -22.2979 -6.91797c-5.11523 -4.62012 -7.67285 -11.0781 -7.67285 -19.3877z" />
 
 
 
36
  <glyph glyph-name="uniF111" unicode="&#xf111;"
37
  d="M258.637 256.013c18.6494 0 33.8242 -15.1738 33.8242 -33.8242v-22.5342h-67.6484v22.5342c0 18.6504 15.1748 33.8242 33.8242 33.8242zM371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM344.313 43.6348
38
  v138.451c0 9.70312 -7.85938 17.5752 -17.5742 17.5752h-7.21289v22.5342c0 33.5684 -27.3154 60.877 -60.8896 60.877c-33.5615 0 -60.877 -27.3086 -60.877 -60.877v-22.5342h-9.47168c-9.69629 0 -17.5615 -7.87207 -17.5615 -17.5752v-138.451
@@ -57,9 +62,19 @@ c5.17773 -1.99707 9.92676 -4.37793 14.2275 -7.14258s8.14062 -5.75391 11.5205 -8.
57
  c-2.30371 0 -4.67871 0.768555 -7.14258 2.29785c-3.06543 1.84277 -5.9707 3.43652 -8.69043 4.78125c-2.7334 1.34375 -5.51074 2.4375 -8.3584 3.28906c-2.83594 0.844727 -5.83691 1.45898 -8.97949 1.84375c-3.14941 0.383789 -6.68164 0.575195 -10.5986 0.575195
58
  c-7.2959 0 -13.8623 -1.28613 -19.6992 -3.86523s-10.8096 -6.20117 -14.918 -10.8799c-4.10938 -4.68457 -7.27734 -10.3105 -9.50391 -16.8838c-2.22754 -6.55957 -3.34082 -13.8809 -3.34082 -21.9453c0 -8.91504 1.22852 -16.8193 3.68555 -23.7314
59
  c2.45801 -6.91113 5.85645 -12.748 10.1953 -17.5098c4.33984 -4.76172 9.48535 -8.39062 15.4375 -10.8867c5.95117 -2.48926 12.46 -3.7373 19.5264 -3.7373z" />
60
- <glyph glyph-name="uniF121" unicode="&#xf121;"
61
- d="M170.238 102.4l85.7617 68.4805l85.1191 -68.4805h-51.8389v-45.4375h-67.1992v45.4375h-51.8428zM371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM383.357 37.1221v162.558l-49.2754 49.2793h-157.442
62
- l-49.2783 -49.2793v-162.558c0 -7.68066 6.39746 -14.0781 14.0781 -14.0781h228.479c7.67676 0 14.082 6.39746 13.4395 14.0781zM184.959 224.641h142.721l21.123 -21.7617h-185.602z" />
 
 
 
 
 
 
 
 
 
 
63
  <glyph glyph-name="uniF110" unicode="&#xf110;"
64
  d="M344.313 43.6348c0 -9.70215 -7.86523 -17.5742 -17.5742 -17.5742h-138.451c-9.70215 0 -17.5615 7.87207 -17.5615 17.5742v138.451c0 9.70312 7.86523 17.5752 17.5615 17.5752h138.451c9.71484 0 17.5742 -7.87207 17.5742 -17.5752v-138.451zM319.526 155.699
65
  h-27.0654v66.4893c0 18.6504 -15.1748 33.8242 -33.8242 33.8242s-33.8242 -15.1738 -33.8242 -33.8242v-57.4717h-27.0527v57.4717c0 33.5684 27.3154 60.877 60.877 60.877c33.5742 0 60.8896 -27.3086 60.8896 -60.877v-66.4893z" />
@@ -73,14 +88,17 @@ c4.63965 -1.79199 8.90234 -3.92285 12.7549 -6.40039c3.86523 -2.48242 7.30859 -5.
73
  c-2.06055 0 -4.18555 0.677734 -6.40625 2.06055c-2.75195 1.64453 -5.35059 3.07812 -7.7959 4.28125c-2.44434 1.20312 -4.94043 2.18848 -7.49414 2.9502c-2.54102 0.755859 -5.23535 1.30566 -8.06348 1.6582c-2.81641 0.345703 -5.99121 0.518555 -9.50488 0.518555
74
  c-6.53418 0 -12.4287 -1.15918 -17.6699 -3.46289c-5.23535 -2.32324 -9.68945 -5.56836 -13.3828 -9.7666c-3.67285 -4.19141 -6.52734 -9.24121 -8.51758 -15.1426c-1.99707 -5.88086 -3.00195 -12.4473 -3.00195 -19.6797c0 -8 1.10059 -15.085 3.31543 -21.2861
75
  c2.20117 -6.20215 5.24805 -11.4365 9.13867 -15.7061c3.8916 -4.26855 8.50586 -7.52637 13.8496 -9.75293c5.35059 -2.25293 11.1875 -3.36719 17.5234 -3.36719z" />
 
 
 
76
  <glyph glyph-name="uniF117" unicode="&#xf117;"
77
  d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM183.577 12.877v174.188h-70.3359v-174.188h70.3359zM396.8 12.877v174.188h-195.501v-174.188h195.501zM396.8 205.178v74.6494h-283.559v-74.6494h283.559z
78
  " />
79
- <glyph glyph-name="uniF125" unicode="&#xf125;"
80
- d="M270.061 278.381c47.4307 0 85.7793 -38.4131 85.7793 -85.7471c0 -62.7969 -72.333 -135.693 -75.4814 -138.938c-2.5791 -2.5791 -6.49609 -4.49316 -10.2979 -4.49316c-3.82715 0 -7.01367 1.34375 -10.2139 4.49316
81
- c-3.19434 3.23828 -75.5264 76.1406 -75.5264 138.938c0 47.3281 38.4062 85.7471 85.7402 85.7471zM420.448 16.5762c-1.90137 -3.16211 -5.05664 -4.49316 -8.9668 -4.49316h-279.642c-3.2002 0 -7.02051 1.90723 -8.97266 4.49316
82
- c-1.90723 3.23828 -2.53418 6.38672 -0.614258 9.63184l33.3057 79.2959c1.90039 3.92285 5.10742 6.49609 9.58105 6.49609h31.9863v-21.1777h-24.9658l-24.96 -58.2275h248.346l-25.0049 58.2275h-28.1406v21.1777h34.5469c4.47363 0 7.73145 -2.56641 9.63184 -6.49609
83
- l33.3125 -79.2959c3.14844 -3.24512 2.47656 -7.05273 0.556641 -9.63184zM233.6 195.2c0 -20.7656 16.835 -37.6006 37.6006 -37.6006s37.5996 16.835 37.5996 37.6006s-16.834 37.5996 -37.5996 37.5996s-37.6006 -16.834 -37.6006 -37.5996z" />
84
  <glyph glyph-name="uniF11A" unicode="&#xf11a;"
85
  d="M399.36 330.24h61.4395v-368.641h-399.359v368.641h61.4395v92.1602h92.1602v-92.1602h92.1602v92.1602h92.1602v-92.1602zM116.173 121.979c0 2.90332 -0.839844 5.0791 -2.51953 6.54395c-1.68359 1.45898 -4.1875 2.19141 -7.50586 2.19141h-7.26465
86
  l-6.72266 -31.8008h5.16113l2.49805 11.8887h2.3916c4.39258 0 7.81738 0.962891 10.2754 2.89258c2.45801 1.93066 3.68652 4.69043 3.68652 8.28418zM100.751 115.175l2.38672 11.1865h2.58984c1.75684 0 3.05176 -0.368164 3.90234 -1.0957
@@ -221,8 +239,73 @@ c-3.05957 -1.28027 -6.30469 -2.29102 -9.75391 -3.04688c-3.44336 -0.774414 -7.398
221
  d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM119.507 152.666c152.32 -172.615 276.192 0 276.192 0c-152.32 168.55 -276.192 0 -276.192 0zM257.594 203.808c28.7549 0 52.0576 -23.3086 52.0576 -52.0576
222
  c0 -28.7227 -23.2959 -52.0381 -52.0576 -52.0381c-28.7295 0 -52.0322 23.3154 -52.0322 52.0381c0 28.749 23.3027 52.0576 52.0322 52.0576zM257.594 117.453c18.957 0 34.3164 15.3594 34.3164 34.2969c0 18.957 -15.3594 34.3105 -34.3164 34.3105
223
  c-18.9316 0 -34.2979 -15.3535 -34.2979 -34.3105c0 -18.9375 15.3662 -34.2969 34.2979 -34.2969z" />
224
- <glyph glyph-name="uniF12A" unicode="&#xf12a;"
225
- d="M399.36 330.24h61.4395v-368.641h-399.359v368.641h61.4395v92.1602h92.1602v-92.1602h92.1602v92.1602h92.1602v-92.1602z" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  <glyph glyph-name="uniF114" unicode="&#xf114;"
227
  d="M342.15 99.4111l0.0898438 1.29883l0.43457 -50.0029l-0.0380859 -1.03027l-0.0507812 -0.262695c-0.0644531 -0.799805 -0.199219 -1.58691 -0.397461 -2.37402v-0.0322266l-0.0761719 -0.172852c-0.154297 -0.68457 -0.416016 -1.36914 -0.691406 -2.03516
228
  l-0.115234 -0.293945l-0.134766 -0.269531c-0.319336 -0.671875 -0.671875 -1.35645 -1.0752 -2.02148l-0.0703125 -0.102539l-0.0253906 -0.0263672c-0.428711 -0.709961 -0.94043 -1.40137 -1.50391 -2.08594l-0.15332 -0.217773l-0.275391 -0.306641
@@ -291,77 +374,27 @@ l-0.896484 0.716797l-0.947266 0.851562l-0.806641 0.735352l-0.863281 0.896484l-0.
291
  l-0.352539 1.11914l-0.210938 0.65332l-0.25 1.24805l-0.102539 0.549805c-0.0830078 0.602539 -0.121094 1.2041 -0.121094 1.81836l-0.37793 43.5645c-0.00585938 0.147461 -0.0576172 0.294922 -0.0576172 0.441406c0 0.134766 0.0517578 0.269531 0.0517578 0.40332
292
  l-0.0517578 5.60059c0 -0.608398 0.0390625 -1.2168 0.12207 -1.82422l0.147461 -0.774414l0.0888672 -0.448242c3.63574 17.875 40.4102 31.3916 85.3701 30.7012c44.998 -0.691406 81.9131 -15.3857 85.5742 -33.4082c0.12793 0.607422 0.243164 1.20898 0.300781 1.81738
293
  z" />
 
 
 
294
  <glyph glyph-name="uniF11D" unicode="&#xf11d;"
295
  d="M119.507 152.666c0 0 123.872 168.55 276.192 0c0 0 -123.872 -172.615 -276.192 0zM257.594 99.7119c28.7549 0 52.0576 23.3154 52.0576 52.0381c0 28.749 -23.2959 52.0576 -52.0576 52.0576c-28.7295 0 -52.0322 -23.3086 -52.0322 -52.0576
296
  c0 -28.7227 23.3027 -52.0381 52.0322 -52.0381zM257.594 117.453c-18.9316 0 -34.2979 15.3594 -34.2979 34.2969c0 18.957 15.3662 34.3105 34.2979 34.3105c18.957 0 34.3164 -15.3535 34.3164 -34.3105c0 -18.9375 -15.3594 -34.2969 -34.3164 -34.2969z
297
  M257.594 186.061c18.957 0 34.3164 -15.3535 34.3164 -34.3105c0 -18.9375 -15.3594 -34.2969 -34.3164 -34.2969c-18.9316 0 -34.2979 15.3594 -34.2979 34.2969c0 18.957 15.3662 34.3105 34.2979 34.3105z" />
298
- <glyph glyph-name="uniF115" unicode="&#xf115;"
299
- d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM342.624 49.6641l0.0126953 1.03027l-0.441406 50.0029l-0.0703125 -1.29199c-0.0830078 -0.793945 -0.210938 -1.58789 -0.397461 -2.36816
300
- l-0.0761719 -0.230469c-0.185547 -0.678711 -0.422852 -1.36328 -0.710938 -2.0293l-0.236328 -0.5625c-0.313477 -0.672852 -0.65918 -1.33789 -1.0625 -2.00391l-0.102539 -0.15332c-0.435547 -0.697266 -0.972656 -1.38867 -1.49707 -2.07324l-0.442383 -0.525391
301
- c-0.524414 -0.594727 -1.06836 -1.19629 -1.66406 -1.79785l-0.306641 -0.300781c-0.723633 -0.704102 -1.5293 -1.40234 -2.3877 -2.08691l-0.537109 -0.40332c-0.954102 -0.729492 -1.93945 -1.47168 -3.02734 -2.16309l-0.185547 -0.133789
302
- c-1.33789 -0.864258 -2.77734 -1.70898 -4.30078 -2.51562c-0.889648 -0.480469 -1.84961 -0.954102 -2.80371 -1.41406l-0.978516 -0.448242c-0.671875 -0.307617 -1.33789 -0.601562 -2.03516 -0.896484l-0.876953 -0.371094
303
- c-1.62598 -0.671875 -3.32812 -1.31152 -5.0752 -1.92578l-0.710938 -0.237305c-1.79199 -0.601562 -3.63477 -1.18359 -5.54883 -1.73438l-0.703125 -0.185547c-2.18262 -0.614258 -4.46777 -1.19043 -6.8291 -1.69629l-0.838867 -0.185547
304
- c-2.38672 -0.511719 -4.83203 -0.998047 -7.36621 -1.41406l-0.774414 -0.134766c-2.04785 -0.332031 -4.12109 -0.626953 -6.2207 -0.889648l-1.08789 -0.133789c-2.125 -0.255859 -4.28809 -0.480469 -6.47656 -0.65918l-1.02441 -0.0966797
305
- c-2.56641 -0.178711 -5.16504 -0.332031 -7.80176 -0.447266l-1.20898 -0.0449219c-2.1377 -0.0703125 -4.33984 -0.12207 -6.52832 -0.12207c-1.26758 0 -2.54102 0 -3.81445 0.0126953c-1.31836 0.0263672 -2.61719 0.0644531 -3.91016 0.109375
306
- c-1.8623 0.0634766 -3.71875 0.140625 -5.54883 0.262695l-1.46582 0.0957031c-1.4209 0.115234 -2.82227 0.205078 -4.21777 0.338867l-1.43359 0.115234c-1.74023 0.15332 -3.44922 0.333008 -5.13867 0.538086l-1.03711 0.140625
307
- c-1.44043 0.178711 -2.84766 0.383789 -4.25586 0.588867l-1.37598 0.198242c-1.72168 0.275391 -3.41797 0.563477 -5.08789 0.876953l-0.40332 0.0830078c-1.65137 0.313477 -3.27734 0.652344 -4.87695 1.01074l-1.1709 0.256836
308
- c-1.79199 0.40918 -3.55273 0.857422 -5.28027 1.31152l-0.857422 0.237305c-2.02246 0.543945 -3.9873 1.12598 -5.8877 1.74707l-1.2041 0.40332c-0.780273 0.261719 -1.56152 0.537109 -2.31641 0.8125l-1.35645 0.499023
309
- c-0.743164 0.275391 -1.47852 0.563477 -2.20215 0.851562l-1.26074 0.511719l-1.47168 0.633789l-1.4082 0.633789l-1.4209 0.665039l-1.33789 0.65918l-1.33105 0.691406l-1.26074 0.666016l-1.26074 0.729492l-1.17773 0.665039l-1.18359 0.761719l-1.08203 0.704102
310
- l-1.08789 0.774414l-1.01074 0.729492l-1.00488 0.799805l-0.93457 0.749023l-0.915039 0.825195l-0.844727 0.761719l-0.813477 0.826172l-0.760742 0.787109l-0.691406 0.864258l-0.671875 0.8125l-0.601562 0.851562l-0.576172 0.837891l-0.511719 0.864258
311
- l-0.5 0.850586l-0.383789 0.896484l-0.37793 0.870117l-0.293945 0.915039l-0.268555 0.864258l-0.198242 1.02441l-0.147461 0.761719c-0.0830078 0.614258 -0.12207 1.20898 -0.12207 1.82324l0.435547 -50.0098c0 -0.614258 0.0449219 -1.20898 0.121094 -1.81738
312
- l0.102539 -0.543945l0.25 -1.24805l0.210938 -0.665039l0.352539 -1.11426l0.300781 -0.697266l0.473633 -1.0498l0.40332 -0.722656l0.569336 -0.999023l0.518555 -0.729492l0.65918 -0.94043l0.607422 -0.736328l0.78125 -0.953125l0.697266 -0.729492l0.864258 -0.889648
313
- l0.806641 -0.723633l0.947266 -0.857422l0.895508 -0.729492l1.03711 -0.813477l0.998047 -0.722656l1.10742 -0.787109l1.10742 -0.716797l1.16406 -0.729492l1.20312 -0.698242l1.22949 -0.709961l1.29297 -0.68457l1.30566 -0.671875l1.40137 -0.672852
314
- l1.32422 -0.632812l1.51074 -0.666016l1.38281 -0.588867l0.459961 -0.198242l0.845703 -0.326172c0.722656 -0.294922 1.43359 -0.583008 2.17578 -0.851562l1.36328 -0.505859c0.780273 -0.274414 1.54883 -0.537109 2.3418 -0.8125l0.896484 -0.307617l0.28125 -0.101562
315
- c1.89453 -0.601562 3.85254 -1.17773 5.86914 -1.73438l0.505859 -0.154297l0.402344 -0.0957031c1.70312 -0.454102 3.45605 -0.889648 5.23535 -1.30566l0.499023 -0.134766l0.716797 -0.140625c1.60645 -0.333008 3.21289 -0.68457 4.87109 -0.998047
316
- l0.300781 -0.0644531l0.0761719 -0.0126953c1.66406 -0.319336 3.35352 -0.607422 5.05664 -0.870117l0.652344 -0.12207l0.793945 -0.101562c1.37598 -0.211914 2.76465 -0.416016 4.17871 -0.588867l0.826172 -0.12793l0.268555 -0.0136719
317
- c1.67676 -0.210938 3.37891 -0.396484 5.10059 -0.5625l0.53125 -0.0576172l0.959961 -0.0771484c1.37012 -0.134766 2.75195 -0.223633 4.14746 -0.333008l1.00488 -0.0761719l0.499023 -0.0263672c1.82422 -0.114258 3.67383 -0.198242 5.53613 -0.261719
318
- l0.396484 -0.0126953c1.17188 -0.0449219 2.34277 -0.0644531 3.51367 -0.0839844c1.16504 -0.03125 2.29785 -0.03125 3.44336 -0.03125h0.383789c2.20215 0.0126953 4.37109 0.0576172 6.53418 0.133789l0.672852 0.0126953l0.517578 0.0263672
319
- c2.65625 0.0957031 5.26074 0.249023 7.80859 0.454102l0.543945 0.0449219l0.486328 0.0380859c2.20117 0.198242 4.35156 0.416016 6.46387 0.65918l1.08789 0.134766c2.10547 0.261719 4.19238 0.563477 6.2207 0.889648l0.40332 0.0703125l0.473633 0.0957031
320
- c2.48926 0.416016 4.92188 0.876953 7.27734 1.38867l0.844727 0.179688c2.34863 0.511719 4.60742 1.08105 6.80273 1.70898l0.441406 0.101562l0.300781 0.102539c1.88867 0.538086 3.73828 1.11426 5.49121 1.72168l0.761719 0.243164
321
- c1.7666 0.621094 3.46875 1.28027 5.09473 1.95215l0.390625 0.134766l0.416016 0.191406c0.716797 0.300781 1.42676 0.614258 2.11816 0.941406l0.953125 0.43457c0.871094 0.40332 1.73438 0.838867 2.56055 1.26758l0.261719 0.134766l0.0517578 0.0253906
322
- c1.48438 0.787109 2.86719 1.625 4.16016 2.45117l0.217773 0.12793l0.0703125 0.0634766c1.05566 0.678711 2.02832 1.40234 2.95605 2.125l0.358398 0.25l0.25 0.210938c0.838867 0.666016 1.62598 1.35059 2.34863 2.04199l0.102539 0.0830078l0.223633 0.275391
323
- c0.588867 0.556641 1.13965 1.14551 1.63867 1.75293l0.275391 0.307617l0.160156 0.217773c0.563477 0.677734 1.0752 1.37598 1.50391 2.08008l0.0253906 0.03125l0.0703125 0.102539c0.410156 0.65332 0.755859 1.34473 1.0752 2.0166l0.134766 0.275391
324
- l0.115234 0.293945c0.275391 0.652344 0.537109 1.35059 0.691406 2.02832l0.0761719 0.179688v0.0576172c0.210938 0.774414 0.333008 1.57422 0.397461 2.36133zM342.624 121.312l0.0253906 1.05664l-0.441406 50.0029l-0.0703125 -1.29883
325
- c-0.0771484 -0.787109 -0.210938 -1.57422 -0.396484 -2.3623l-0.0771484 -0.236328c-0.185547 -0.671875 -0.422852 -1.35059 -0.710938 -2.02246l-0.236328 -0.563477c-0.313477 -0.677734 -0.652344 -1.33691 -1.05566 -2.00293l-0.109375 -0.160156
326
- c-0.43457 -0.68457 -0.972656 -1.40137 -1.49707 -2.07324l-0.441406 -0.518555c-0.525391 -0.601562 -1.06934 -1.20312 -1.66406 -1.79199l-0.307617 -0.313477c-0.723633 -0.697266 -1.5293 -1.4082 -2.38086 -2.07422l-0.543945 -0.40918
327
- c-0.953125 -0.742188 -1.93945 -1.47852 -3.02734 -2.16992l-0.185547 -0.133789c-1.33789 -0.864258 -2.77734 -1.70898 -4.30078 -2.50879c-0.889648 -0.486328 -1.84961 -0.972656 -2.80273 -1.4209l-0.979492 -0.448242
328
- c-0.671875 -0.293945 -1.33789 -0.614258 -2.03516 -0.915039l-0.876953 -0.352539c-1.62598 -0.677734 -3.32812 -1.31152 -5.0752 -1.91992l-0.709961 -0.243164c-1.79199 -0.614258 -3.63574 -1.19043 -5.54883 -1.72754l-0.698242 -0.192383
329
- c-2.18848 -0.607422 -4.47363 -1.18359 -6.83496 -1.70898l-0.838867 -0.178711c-2.38672 -0.518555 -4.83105 -0.992188 -7.36621 -1.4209l-0.774414 -0.134766c-2.04785 -0.326172 -4.12109 -0.620117 -6.2207 -0.882812l-1.08789 -0.134766
330
- c-2.125 -0.249023 -4.28809 -0.479492 -6.47656 -0.652344l-1.02441 -0.0898438c-2.56641 -0.198242 -5.16406 -0.345703 -7.80176 -0.448242l-1.20898 -0.0634766c-2.1377 -0.0644531 -4.33984 -0.12207 -6.52832 -0.12207c-1.2666 0 -2.54102 0 -3.81445 0.0263672
331
- c-1.31836 0.0126953 -2.61719 0.0576172 -3.91016 0.0957031c-1.8623 0.0634766 -3.71875 0.15332 -5.54883 0.275391l-1.47852 0.0185547c-1.4209 0.102539 -2.82227 0.211914 -4.21777 0.339844l-1.43359 0.12793c-1.74023 0.160156 -3.44922 0.358398 -5.13867 0.549805
332
- l-1.03711 0.134766c-1.44043 0.198242 -2.84766 0.396484 -4.25586 0.608398l-1.37598 0.204102c-1.72168 0.275391 -3.41797 0.550781 -5.08789 0.871094l-0.40332 0.0761719c-1.65137 0.327148 -3.27734 0.65332 -4.87695 1.02441l-1.1709 0.249023
333
- c-1.79199 0.416016 -3.55273 0.851562 -5.28027 1.3125l-0.857422 0.230469c-2.02246 0.549805 -3.9873 1.13867 -5.8877 1.75391l-1.2041 0.40918c-0.780273 0.262695 -1.56152 0.524414 -2.31641 0.8125l-1.35645 0.480469
334
- c-0.743164 0.288086 -1.47852 0.582031 -2.20215 0.870117l-1.26074 0.511719l-1.47168 0.62793l-1.4082 0.626953l-1.4209 0.671875l-1.33789 0.652344l-1.33105 0.698242l-1.26074 0.665039l-1.26074 0.730469l-1.17773 0.677734l-1.18359 0.742188l-1.08203 0.710938
335
- l-1.08789 0.780273l-1.01074 0.710938l-1.00488 0.8125l-0.93457 0.736328l-0.915039 0.825195l-0.844727 0.761719l-0.813477 0.838867l-0.760742 0.787109l-0.691406 0.850586l-0.671875 0.813477l-0.601562 0.850586l-0.576172 0.844727l-0.511719 0.876953
336
- l-0.5 0.857422l-0.383789 0.889648l-0.37793 0.864258l-0.293945 0.915039l-0.268555 0.864258l-0.198242 1.01074l-0.147461 0.774414c-0.0830078 0.601562 -0.12207 1.20996 -0.12207 1.81836l0.435547 -50.0039c0 -0.614258 0.0449219 -1.20312 0.121094 -1.81738
337
- l0.102539 -0.556641l0.25 -1.23535l0.210938 -0.665039l0.352539 -1.11426l0.300781 -0.709961l0.473633 -1.04297l0.40332 -0.723633l0.569336 -0.992188l0.518555 -0.735352l0.65918 -0.947266l0.607422 -0.736328l0.787109 -0.927734l0.698242 -0.723633
338
- l0.863281 -0.889648l0.806641 -0.736328l0.947266 -0.850586l0.896484 -0.723633l1.03613 -0.819336l0.999023 -0.729492l1.10645 -0.761719l1.10742 -0.722656l1.16504 -0.736328l1.20312 -0.697266l1.22852 -0.710938l1.29297 -0.68457l1.30566 -0.665039
339
- l1.40137 -0.685547l1.3252 -0.639648l1.51074 -0.666016l1.38184 -0.587891l0.460938 -0.199219l0.844727 -0.338867c0.723633 -0.28125 1.43359 -0.569336 2.17578 -0.844727l1.36328 -0.493164c0.78125 -0.28125 1.54883 -0.549805 2.34277 -0.832031l0.895508 -0.300781
340
- l0.282227 -0.0761719c1.89453 -0.621094 3.85254 -1.20312 5.86816 -1.76074l0.505859 -0.140625l0.396484 -0.0830078c1.70312 -0.460938 3.45605 -0.895508 5.23535 -1.29883l0.499023 -0.134766l0.716797 -0.134766c1.60645 -0.351562 3.21289 -0.69043 4.87109 -1.01074
341
- l0.300781 -0.0644531l0.0761719 -0.0126953c1.66406 -0.319336 3.35352 -0.607422 5.05664 -0.870117l0.652344 -0.121094l0.793945 -0.109375c1.37598 -0.210938 2.76465 -0.40332 4.17871 -0.588867l0.826172 -0.121094l0.268555 -0.0263672
342
- c1.67676 -0.204102 3.37891 -0.396484 5.10059 -0.549805l0.53125 -0.0703125l0.959961 -0.0644531c1.37012 -0.12793 2.75195 -0.236328 4.14746 -0.326172l1.00488 -0.0771484l0.499023 -0.03125c1.82422 -0.109375 3.67383 -0.192383 5.53613 -0.256836
343
- l0.396484 -0.0253906c1.17188 -0.0380859 2.34277 -0.0634766 3.51367 -0.0898438c1.16504 -0.0126953 2.29785 -0.0126953 3.44336 -0.0126953h0.383789c2.20215 0 4.37109 0.0644531 6.53418 0.12793l0.672852 0.0136719l0.517578 0.0380859
344
- c2.65625 0.0957031 5.26074 0.249023 7.80859 0.454102l0.543945 0.0322266l0.486328 0.0507812c2.20117 0.192383 4.35156 0.40332 6.46387 0.65332l1.08789 0.133789c2.10547 0.269531 4.19238 0.557617 6.2207 0.90332l0.40332 0.0507812l0.473633 0.0898438
345
- c2.48926 0.428711 4.92188 0.889648 7.27734 1.40137l0.844727 0.178711c2.34863 0.518555 4.60742 1.08203 6.80273 1.69629l0.448242 0.0957031l0.300781 0.12207c1.8877 0.524414 3.7373 1.10059 5.49121 1.70898l0.761719 0.249023
346
- c1.7666 0.62793 3.46875 1.26758 5.09375 1.95215l0.390625 0.134766l0.40332 0.191406c0.716797 0.288086 1.43359 0.595703 2.11816 0.93457l0.959961 0.422852c0.864258 0.40918 1.72852 0.837891 2.56055 1.28027l0.261719 0.133789l0.0517578 0.0253906
347
- c1.47852 0.787109 2.86035 1.61328 4.15332 2.45117l0.217773 0.12207l0.0771484 0.0703125c1.05566 0.671875 2.02832 1.38867 2.95605 2.1123l0.358398 0.243164l0.25 0.223633c0.838867 0.666016 1.62598 1.34375 2.34863 2.04199l0.102539 0.0888672l0.223633 0.256836
348
- c0.588867 0.5625 1.13965 1.16406 1.63867 1.76562l0.275391 0.300781l0.160156 0.224609c0.563477 0.677734 1.0752 1.37598 1.50391 2.08594l0.0253906 0.0126953l0.0703125 0.12207c0.410156 0.652344 0.755859 1.33789 1.0752 2.01562l0.134766 0.262695
349
- l0.115234 0.300781c0.275391 0.65918 0.537109 1.33789 0.691406 2.02246l0.0761719 0.192383v0.0439453c0.210938 0.78125 0.333008 1.5752 0.397461 2.3623zM342.624 192.947l0.0253906 0.998047l-0.43457 50.0166l-0.0771484 -1.2998
350
- c-0.0576172 -0.607422 -0.172852 -1.21582 -0.300781 -1.81738c-3.66113 18.0225 -40.5762 32.7168 -85.5742 33.4082c-44.96 0.691406 -81.7344 -12.8262 -85.3701 -30.7012l-0.0898438 0.448242l-0.146484 0.774414
351
- c-0.0830078 0.608398 -0.12207 1.21582 -0.12207 1.82422l0.0517578 -5.60059c-0.00683594 -0.133789 -0.0517578 -0.268555 -0.0517578 -0.40332c0 -0.15332 0.0517578 -0.293945 0.0576172 -0.441406l0.37793 -43.5645c0 -0.614258 0.0449219 -1.22266 0.121094 -1.81738
352
- l0.102539 -0.550781l0.25 -1.24805l0.210938 -0.652344l0.352539 -1.12012l0.300781 -0.698242l0.473633 -1.04297l0.402344 -0.729492l0.570312 -0.998047l0.518555 -0.736328l0.65918 -0.93457l0.607422 -0.742188l0.787109 -0.93457l0.698242 -0.722656
353
- l0.863281 -0.889648l0.806641 -0.736328l0.947266 -0.851562l0.896484 -0.722656l1.03613 -0.826172l0.999023 -0.716797l1.10645 -0.774414l1.10742 -0.716797l1.16504 -0.735352l1.20312 -0.704102l1.22852 -0.704102l1.29297 -0.68457l1.30566 -0.666016
354
- l1.40137 -0.677734l1.3252 -0.62793l1.50977 -0.671875l1.38281 -0.588867l0.460938 -0.191406l0.844727 -0.345703c0.723633 -0.275391 1.43359 -0.563477 2.17578 -0.838867l1.36328 -0.499023c0.78125 -0.275391 1.54883 -0.550781 2.34277 -0.8125l0.895508 -0.313477
355
- l0.282227 -0.0839844c1.89355 -0.614258 3.85254 -1.19043 5.86816 -1.74023l0.505859 -0.154297l0.40332 -0.0957031c1.70215 -0.473633 3.45605 -0.908203 5.23535 -1.31152l0.499023 -0.12207l0.716797 -0.140625c1.60645 -0.345703 3.21289 -0.68457 4.87012 -1.00488
356
- l0.300781 -0.0703125l0.0771484 -0.0126953c1.66406 -0.313477 3.35352 -0.601562 5.05566 -0.864258l0.65332 -0.121094l0.792969 -0.12207c1.37598 -0.198242 2.76465 -0.396484 4.17969 -0.576172l0.825195 -0.115234l0.268555 -0.0380859
357
- c1.67773 -0.198242 3.37988 -0.37793 5.10156 -0.537109l0.53125 -0.0644531l0.959961 -0.0830078c1.36914 -0.12207 2.75195 -0.217773 4.14648 -0.326172l1.00488 -0.0712891l0.499023 -0.0253906c1.82422 -0.12793 3.67383 -0.198242 5.53613 -0.261719
358
- l0.397461 -0.0263672c1.1709 -0.0380859 2.3418 -0.0761719 3.51367 -0.0830078c1.16406 -0.0195312 2.29688 -0.0253906 3.44238 -0.0253906l0.384766 0.00585938c2.20117 0.00683594 4.37109 0.0517578 6.53418 0.128906h0.671875l0.518555 0.0380859
359
- c2.65625 0.0957031 5.26074 0.262695 7.80762 0.460938l0.543945 0.0253906l0.486328 0.0507812c2.20215 0.199219 4.35254 0.410156 6.46484 0.671875l1.08789 0.128906c2.10547 0.261719 4.19141 0.5625 6.2207 0.889648l0.40918 0.0380859l0.473633 0.102539
360
- c2.48926 0.421875 4.92188 0.895508 7.27734 1.40723l0.844727 0.154297c2.34863 0.524414 4.60742 1.10059 6.80273 1.71484l0.441406 0.115234l0.300781 0.102539c1.88867 0.537109 3.73828 1.11328 5.49121 1.71484l0.761719 0.25
361
- c1.7666 0.626953 3.46875 1.27344 5.09473 1.93945l0.390625 0.133789l0.40918 0.192383c0.716797 0.293945 1.43359 0.607422 2.11816 0.93457l0.959961 0.421875c0.864258 0.422852 1.72852 0.851562 2.56055 1.28711l0.261719 0.12793l0.0517578 0.0380859
362
- c1.47852 0.787109 2.86035 1.59961 4.15332 2.45117l0.217773 0.115234l0.0771484 0.0576172c1.05566 0.678711 2.02832 1.40137 2.95605 2.125l0.358398 0.249023l0.25 0.217773c0.838867 0.65918 1.62598 1.35059 2.34863 2.03516l0.102539 0.0898438l0.223633 0.249023
363
- c0.588867 0.583008 1.13965 1.17188 1.63867 1.78613l0.275391 0.288086l0.160156 0.223633c0.563477 0.68457 1.0752 1.38867 1.50391 2.08691l0.0253906 0.0253906l0.0703125 0.102539c0.410156 0.671875 0.755859 1.35059 1.0752 2.02246l0.134766 0.275391
364
- l0.115234 0.300781c0.275391 0.65918 0.537109 1.33105 0.691406 2.02148l0.0761719 0.186523v0.0439453c0.210938 0.78125 0.333008 1.5752 0.397461 2.375z" />
365
  <glyph glyph-name="uniF120" unicode="&#xf120;"
366
  d="M373.56 379.779l73.6641 -73.6553v-242.989c0.945312 -11.4707 -8.60645 -21.041 -20.0859 -21.041h-341.385c-11.4609 0 -21.0312 9.54297 -21.0312 21.041v242.989l73.665 73.6553h235.173zM306.702 160.703h77.3633l-127.062 102.367l-128.188 -102.367h77.4912
367
  v-67.9395h100.396v67.9395zM118.291 310.896h277.263l-31.5557 32.5283h-213.188z" />
@@ -369,6 +402,13 @@ v-67.9395h100.396v67.9395zM118.291 310.896h277.263l-31.5557 32.5283h-213.188z" /
369
  d="M318.489 170.215v16.1211l30.0742 -30.0859l-30.0742 -30.0742v16.1094h-120.902v-16.1094l-30.0732 30.0742l30.0732 30.0859v-16.1211h120.902zM371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008z
370
  M388.448 76.8252v0v157.606c0 11.2256 -9.08789 20.3135 -20.3008 20.3135h-225.376c-11.2197 0 -20.3076 -9.09375 -20.3076 -20.3135v-157.606c0 -11.2256 9.08789 -20.3193 20.3076 -20.3193h97.3633c-1.27441 -7.69922 -7.61035 -28.666 -39.002 -28.666v-10.0479
371
  h50.4316h10.7461h50.4258v10.0479c-31.3984 0 -37.7471 20.9727 -39.002 28.666h94.4004c11.2256 0 20.3135 9.09375 20.3135 20.3193z" />
 
 
 
 
 
 
 
372
  <glyph glyph-name="uniF11B" unicode="&#xf11b;"
373
  d="M404.666 185.6c4.95996 0 7.57715 -1.06836 7.8457 -2.82227c0 -0.524414 -0.93457 -2.98828 -2.79688 -7.0459l-56.0508 -111.731h-226.374l57.3184 112.378c1.94531 3.87207 3.83984 5.97754 5.69531 7.07812c1.8623 1.08789 5.22949 2.14355 10.1318 2.14355h204.23z
374
  M175.584 203.872c-2.18848 -1.24805 -6.8418 -5.22852 -10.8027 -12.9092l-55.9814 -105.549v133.626c0 3.96191 2.21484 7.41113 3.52637 8.64648c1.31836 1.22266 5.55566 2.71387 9.60645 2.71387h7.85254c5.65137 0 9.29297 -0.179688 10.9385 0.920898
@@ -389,6 +429,12 @@ c-3.17383 -1.84961 -8.21973 -2.71582 -15.1445 -2.59668l-4.67285 -16.2715h19.3877
389
  c-1.96289 -1.73145 -4.32715 -2.59668 -7.09961 -2.59668c-0.797852 0 -1.49316 0.231445 -2.07031 0.69043l-0.69043 0.865234c0 0.463867 0.69043 1.41406 2.07031 2.85742c1.38574 1.44238 2.07617 3.66602 2.07617 6.66406c0 3.23047 -1.08594 5.91797 -3.28711 8.05078
390
  c-2.18945 2.13867 -5.36816 3.20215 -9.52148 3.20215c-5.07422 0 -9.14258 -1.38672 -12.2031 -4.1582c-3.05469 -2.77246 -4.58789 -6.05957 -4.58789 -9.86719c0 -4.03906 1.84961 -7.58594 5.53906 -10.6475c3.69434 -3.05469 9.52637 -4.58789 17.4814 -4.58789
391
  c12.4629 0 23.5684 3.28125 33.3281 9.86133c9.74707 6.5791 18.2275 16.6719 25.4414 30.29c7.21289 13.6172 14.6299 35.6533 22.2451 66.124z" />
 
 
 
 
 
 
392
  <glyph glyph-name="uniF124" unicode="&#xf124;"
393
  d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM259.75 278.566c-47.3271 0 -85.8105 -38.502 -85.8174 -85.7539c0 -62.4385 72.5957 -135.73 75.6865 -138.848
394
  c2.80957 -2.77734 6.43164 -4.16602 10.1309 -4.16602c3.6416 0 7.31543 1.38184 10.0674 4.16602c3.11719 3.11719 75.7119 76.4092 75.7119 138.848c0 47.252 -38.4766 85.7539 -85.7793 85.7539zM410.298 16.3457c1.93848 2.91211 2.28418 6.60449 0.915039 9.83008
@@ -398,5 +444,16 @@ c-23.7119 0 -42.9121 19.1875 -42.9121 42.9053c0 23.7061 19.1943 42.8486 42.9121
398
  <glyph glyph-name="uniF119" unicode="&#xf119;"
399
  d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM243.782 3.33398v122.164l-117.459 69.5742v-123.917zM384.007 71.1553v121.439l-116.979 -70.0088v-118.977zM384.007 219.667v0.268555l-128.846 74.3877
400
  l-127.008 -73.3311l129.689 -76.8193z" />
 
 
 
 
 
 
 
 
 
 
 
401
  </font>
402
  </defs></svg>
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
  <!--
4
+ 2016-8-2: Created with FontForge (http://fontforge.org)
5
  -->
6
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
7
  <metadata>
8
+ Created by FontForge 20150302 at Tue Aug 2 15:43:41 2016
9
  By Riccardo Strobbia
10
  Copyright (c) 2016, Riccardo Strobbia
11
  </metadata>
16
  font-weight="400"
17
  font-stretch="normal"
18
  units-per-em="512"
19
+ panose-1="2 0 5 3 0 0 0 0 0 0"
20
  ascent="448"
21
  descent="-64"
22
+ bbox="11.8936 -52.7617 2082.65 436.777"
23
  underline-thickness="25.6"
24
  underline-position="-51.2"
25
+ unicode-range="U+0020-F136"
26
  />
27
  <missing-glyph />
28
+ <glyph glyph-name="space" unicode=" " horiz-adv-x="200"
29
+ />
30
  <glyph glyph-name="uniF112" unicode="&#xf112;"
31
  d="M368.135 254.745c11.2256 0 20.3135 -9.09375 20.3135 -20.3135v-157.606c0 -11.2256 -9.08789 -20.3193 -20.3008 -20.3193h-94.4131c1.27344 -7.69922 7.61621 -28.666 39.0078 -28.666v-10.0479h-50.4316h-10.7393h-50.4316v10.0479
32
  c31.3984 0 37.7275 20.9727 39.001 28.666h-97.3691c-11.2197 0 -20.3076 9.09375 -20.3076 20.3193v157.606c0 11.2256 9.08789 20.3135 20.3076 20.3135h225.363zM318.489 126.176l30.0742 30.0742l-30.0742 30.0859v-16.1279h-120.902v16.1279l-30.0732 -30.0859
35
  d="M260.664 55.4453h-209.93l104.963 176.74l104.967 176.025l104.968 -176.378l104.962 -176.388h-209.93zM284.613 161.191l7.23633 129.573h-61.3564l7.24609 -129.573h46.874zM231.062 113.25c0 -8.2168 2.65039 -14.6348 7.95215 -19.2402
36
  c5.30566 -4.61523 12.6455 -6.91797 22.0186 -6.91797c9.2793 0 16.4961 2.30762 21.6602 6.91797c5.16406 4.60547 7.74121 11.0234 7.74121 19.2402c0 8.31445 -2.48828 14.7725 -7.45703 19.3877c-4.96777 4.61523 -12.2832 6.91797 -21.9443 6.91797
37
  c-9.75488 0 -17.1875 -2.30762 -22.2979 -6.91797c-5.11523 -4.62012 -7.67285 -11.0781 -7.67285 -19.3877z" />
38
+ <glyph glyph-name="uniF12F" unicode="&#xf12f;"
39
+ d="M496.098 434.785l-8.42871 -196.118l-289.452 -289.452l-185.071 185.055l289.452 289.452zM431.707 369.39c-6.38672 6.38867 -18.9033 11.5742 -27.9375 11.5742s-21.5498 -5.18555 -27.9375 -11.5742c-6.39453 -6.39062 -11.584 -18.9141 -11.584 -27.9551
40
+ c0 -21.8164 17.7051 -39.5215 39.5215 -39.5215s39.5225 17.7051 39.5225 39.5215c0 9.04102 -5.19043 21.5645 -11.585 27.9551z" />
41
  <glyph glyph-name="uniF111" unicode="&#xf111;"
42
  d="M258.637 256.013c18.6494 0 33.8242 -15.1738 33.8242 -33.8242v-22.5342h-67.6484v22.5342c0 18.6504 15.1748 33.8242 33.8242 33.8242zM371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM344.313 43.6348
43
  v138.451c0 9.70312 -7.85938 17.5752 -17.5742 17.5752h-7.21289v22.5342c0 33.5684 -27.3154 60.877 -60.8896 60.877c-33.5615 0 -60.877 -27.3086 -60.877 -60.877v-22.5342h-9.47168c-9.69629 0 -17.5615 -7.87207 -17.5615 -17.5752v-138.451
62
  c-2.30371 0 -4.67871 0.768555 -7.14258 2.29785c-3.06543 1.84277 -5.9707 3.43652 -8.69043 4.78125c-2.7334 1.34375 -5.51074 2.4375 -8.3584 3.28906c-2.83594 0.844727 -5.83691 1.45898 -8.97949 1.84375c-3.14941 0.383789 -6.68164 0.575195 -10.5986 0.575195
63
  c-7.2959 0 -13.8623 -1.28613 -19.6992 -3.86523s-10.8096 -6.20117 -14.918 -10.8799c-4.10938 -4.68457 -7.27734 -10.3105 -9.50391 -16.8838c-2.22754 -6.55957 -3.34082 -13.8809 -3.34082 -21.9453c0 -8.91504 1.22852 -16.8193 3.68555 -23.7314
64
  c2.45801 -6.91113 5.85645 -12.748 10.1953 -17.5098c4.33984 -4.76172 9.48535 -8.39062 15.4375 -10.8867c5.95117 -2.48926 12.46 -3.7373 19.5264 -3.7373z" />
65
+ <glyph glyph-name="uniF130" unicode="&#xf130;"
66
+ d="M204.961 -49.2695v102.285h421.251v-102.285h-421.251zM204.961 330.962v102.331h421.251v-102.331h-421.251zM204.961 140.846v102.331h421.251v-102.331h-421.251zM18.5225 -49.2695v102.285h133.262v-102.285h-133.262zM18.5225 330.962v102.331h133.262v-102.331
67
+ h-133.262zM18.5225 140.846v102.331h133.262v-102.331h-133.262z" />
68
+ <glyph glyph-name="uniF135" unicode="&#xf135;"
69
+ d="M672.731 -44.9854v476.32h476.538v-476.32h-476.538zM60.1328 -44.9854v476.32h476.451v-476.32h-476.451zM1308.57 -44.9854v476.32h476.581v-476.32h-476.581zM264.289 263.99h-0.783203l-50.2998 -24.0186l-10.3555 46.4268l70.4014 32.5469h50.8652v-264.551
70
+ h-59.8281v209.596zM826.414 54.3945v37.4199l33.7646 30.458c58.1758 52.2139 86.2842 81.8018 86.6758 112.738c0.0332031 0.585938 0.0595703 1.53613 0.0595703 2.12207c0 20.584 -16.7051 37.2891 -37.2891 37.2891c-1.63574 0 -4.27539 -0.208984 -5.89062 -0.467773
71
+ c-17.5586 -0.943359 -42.9004 -10.6895 -56.5654 -21.7559l-17.4043 43.9463c20.9336 15.041 58.8438 27.248 84.6211 27.248c0.458984 0 1.20312 -0.00390625 1.66211 -0.00976562c2.99219 0.401367 7.87207 0.727539 10.8906 0.727539
72
+ c45.2266 0 81.9326 -36.7061 81.9326 -81.9326c0 -0.404297 -0.00585938 -1.06152 -0.0126953 -1.4668c-5.19824 -40.3438 -36.7969 -91.5332 -70.5322 -114.261l-24.584 -20.3633v-0.783203h100.076v-50.9092h-187.404zM1487.83 115.05
73
+ c15.9111 -8.44043 43.4346 -15.7305 61.4385 -16.2734c2.3418 -0.513672 6.19043 -0.930664 8.58887 -0.930664c19.8447 0 37.6934 16.0117 39.8389 35.7402c-2.9834 21.5537 -23.0645 39.0479 -44.8242 39.0479c-2.36133 0 -6.1582 -0.359375 -8.47754 -0.801758h-25.2363
74
+ v44.5566h24.4102c2.10547 -0.412109 5.55664 -0.74707 7.70312 -0.74707c17.666 0 35.1904 13.9795 39.1152 31.2051c-1.53809 15.79 -15.6621 28.6064 -31.5273 28.6064c-2.13867 0 -5.55762 -0.417969 -7.63281 -0.933594
75
+ c-16.2686 -0.576172 -40.8887 -7.69141 -54.9551 -15.8818l-12.5322 44.8604c20.2822 11.0186 55.4746 19.9609 78.5557 19.9609c0.896484 0 2.35059 -0.0146484 3.24609 -0.0322266c56.1738 0 87.502 -29.7188 87.502 -65.9199v-0.152344
76
+ c0 -27.4814 -21.6953 -54.957 -48.4287 -61.3301v-0.826172c31.5234 -4.01074 57.2939 -33.0557 57.5225 -64.832c0 -46.3838 -41.1182 -80.584 -108.257 -80.584c-1.05859 -0.0244141 -2.77832 -0.0449219 -3.83691 -0.0449219c-21.96 0 -55.5625 8.28516 -75.0059 18.4941
77
+ z" />
78
  <glyph glyph-name="uniF110" unicode="&#xf110;"
79
  d="M344.313 43.6348c0 -9.70215 -7.86523 -17.5742 -17.5742 -17.5742h-138.451c-9.70215 0 -17.5615 7.87207 -17.5615 17.5742v138.451c0 9.70312 7.86523 17.5752 17.5615 17.5752h138.451c9.71484 0 17.5742 -7.87207 17.5742 -17.5752v-138.451zM319.526 155.699
80
  h-27.0654v66.4893c0 18.6504 -15.1748 33.8242 -33.8242 33.8242s-33.8242 -15.1738 -33.8242 -33.8242v-57.4717h-27.0527v57.4717c0 33.5684 27.3154 60.877 60.877 60.877c33.5742 0 60.8896 -27.3086 60.8896 -60.877v-66.4893z" />
88
  c-2.06055 0 -4.18555 0.677734 -6.40625 2.06055c-2.75195 1.64453 -5.35059 3.07812 -7.7959 4.28125c-2.44434 1.20312 -4.94043 2.18848 -7.49414 2.9502c-2.54102 0.755859 -5.23535 1.30566 -8.06348 1.6582c-2.81641 0.345703 -5.99121 0.518555 -9.50488 0.518555
89
  c-6.53418 0 -12.4287 -1.15918 -17.6699 -3.46289c-5.23535 -2.32324 -9.68945 -5.56836 -13.3828 -9.7666c-3.67285 -4.19141 -6.52734 -9.24121 -8.51758 -15.1426c-1.99707 -5.88086 -3.00195 -12.4473 -3.00195 -19.6797c0 -8 1.10059 -15.085 3.31543 -21.2861
90
  c2.20117 -6.20215 5.24805 -11.4365 9.13867 -15.7061c3.8916 -4.26855 8.50586 -7.52637 13.8496 -9.75293c5.35059 -2.25293 11.1875 -3.36719 17.5234 -3.36719z" />
91
+ <glyph glyph-name="uniF12B" unicode="&#xf12b;"
92
+ d="M1462.46 195.143l-243.607 -223.575h-507.86l243.761 223.678l-243.557 217.136h507.605zM2082.65 195.143l-243.658 -223.575h-507.86l243.761 223.678l-243.506 217.136h507.605zM587.173 412.381l243.505 -217.136l-243.761 -223.678l-10.374 -9.55566h-464.935
93
+ v459.926h464.884z" />
94
  <glyph glyph-name="uniF117" unicode="&#xf117;"
95
  d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM183.577 12.877v174.188h-70.3359v-174.188h70.3359zM396.8 12.877v174.188h-195.501v-174.188h195.501zM396.8 205.178v74.6494h-283.559v-74.6494h283.559z
96
  " />
97
+ <glyph glyph-name="uniF12D" unicode="&#xf12d;"
98
+ d="M495.838 -44.7412v338.07h338.097v-338.07h-338.097zM496.021 124.517c0 93.1465 75.5098 168.655 168.655 168.655s168.655 -75.5088 168.655 -168.655c0 -93.1455 -75.5098 -168.654 -168.655 -168.654s-168.655 75.5088 -168.655 168.654zM513.076 124.517
99
+ c0 83.7275 67.873 151.601 151.601 151.601c83.7266 0 151.601 -67.873 151.601 -151.601c0 -83.7266 -67.874 -151.601 -151.601 -151.601c-83.7275 0 -151.601 67.874 -151.601 151.601zM530.13 124.517c0 74.3086 60.2383 134.547 134.547 134.547
100
+ c74.3076 0 134.546 -60.2383 134.546 -134.547c0 -74.3076 -60.2383 -134.546 -134.546 -134.546c-74.3086 0 -134.547 60.2383 -134.547 134.546zM548.969 124.517c0 63.9043 51.8037 115.708 115.708 115.708c63.9033 0 115.707 -51.8037 115.707 -115.708
101
+ c0 -63.9033 -51.8037 -115.707 -115.707 -115.707c-63.9043 0 -115.708 51.8037 -115.708 115.707zM1052.55 142.936h-184.293v43.1084h141.211v199.012h-923.904v-199.012h323.116v-43.1084h-366.198v285.202h1010.07v-285.202z" />
102
  <glyph glyph-name="uniF11A" unicode="&#xf11a;"
103
  d="M399.36 330.24h61.4395v-368.641h-399.359v368.641h61.4395v92.1602h92.1602v-92.1602h92.1602v92.1602h92.1602v-92.1602zM116.173 121.979c0 2.90332 -0.839844 5.0791 -2.51953 6.54395c-1.68359 1.45898 -4.1875 2.19141 -7.50586 2.19141h-7.26465
104
  l-6.72266 -31.8008h5.16113l2.49805 11.8887h2.3916c4.39258 0 7.81738 0.962891 10.2754 2.89258c2.45801 1.93066 3.68652 4.69043 3.68652 8.28418zM100.751 115.175l2.38672 11.1865h2.58984c1.75684 0 3.05176 -0.368164 3.90234 -1.0957
239
  d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM119.507 152.666c152.32 -172.615 276.192 0 276.192 0c-152.32 168.55 -276.192 0 -276.192 0zM257.594 203.808c28.7549 0 52.0576 -23.3086 52.0576 -52.0576
240
  c0 -28.7227 -23.2959 -52.0381 -52.0576 -52.0381c-28.7295 0 -52.0322 23.3154 -52.0322 52.0381c0 28.749 23.3027 52.0576 52.0322 52.0576zM257.594 117.453c18.957 0 34.3164 15.3594 34.3164 34.2969c0 18.957 -15.3594 34.3105 -34.3164 34.3105
241
  c-18.9316 0 -34.2979 -15.3535 -34.2979 -34.3105c0 -18.9375 15.3662 -34.2969 34.2979 -34.2969z" />
242
+ <glyph glyph-name="uniF115" unicode="&#xf115;"
243
+ d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM342.624 49.6641l0.0126953 1.03027l-0.441406 50.0029l-0.0703125 -1.29199c-0.0830078 -0.793945 -0.210938 -1.58789 -0.397461 -2.36816
244
+ l-0.0761719 -0.230469c-0.185547 -0.678711 -0.422852 -1.36328 -0.710938 -2.0293l-0.236328 -0.5625c-0.313477 -0.672852 -0.65918 -1.33789 -1.0625 -2.00391l-0.102539 -0.15332c-0.435547 -0.697266 -0.972656 -1.38867 -1.49707 -2.07324l-0.442383 -0.525391
245
+ c-0.524414 -0.594727 -1.06836 -1.19629 -1.66406 -1.79785l-0.306641 -0.300781c-0.723633 -0.704102 -1.5293 -1.40234 -2.3877 -2.08691l-0.537109 -0.40332c-0.954102 -0.729492 -1.93945 -1.47168 -3.02734 -2.16309l-0.185547 -0.133789
246
+ c-1.33789 -0.864258 -2.77734 -1.70898 -4.30078 -2.51562c-0.889648 -0.480469 -1.84961 -0.954102 -2.80371 -1.41406l-0.978516 -0.448242c-0.671875 -0.307617 -1.33789 -0.601562 -2.03516 -0.896484l-0.876953 -0.371094
247
+ c-1.62598 -0.671875 -3.32812 -1.31152 -5.0752 -1.92578l-0.710938 -0.237305c-1.79199 -0.601562 -3.63477 -1.18359 -5.54883 -1.73438l-0.703125 -0.185547c-2.18262 -0.614258 -4.46777 -1.19043 -6.8291 -1.69629l-0.838867 -0.185547
248
+ c-2.38672 -0.511719 -4.83203 -0.998047 -7.36621 -1.41406l-0.774414 -0.134766c-2.04785 -0.332031 -4.12109 -0.626953 -6.2207 -0.889648l-1.08789 -0.133789c-2.125 -0.255859 -4.28809 -0.480469 -6.47656 -0.65918l-1.02441 -0.0966797
249
+ c-2.56641 -0.178711 -5.16504 -0.332031 -7.80176 -0.447266l-1.20898 -0.0449219c-2.1377 -0.0703125 -4.33984 -0.12207 -6.52832 -0.12207c-1.26758 0 -2.54102 0 -3.81445 0.0126953c-1.31836 0.0263672 -2.61719 0.0644531 -3.91016 0.109375
250
+ c-1.8623 0.0634766 -3.71875 0.140625 -5.54883 0.262695l-1.46582 0.0957031c-1.4209 0.115234 -2.82227 0.205078 -4.21777 0.338867l-1.43359 0.115234c-1.74023 0.15332 -3.44922 0.333008 -5.13867 0.538086l-1.03711 0.140625
251
+ c-1.44043 0.178711 -2.84766 0.383789 -4.25586 0.588867l-1.37598 0.198242c-1.72168 0.275391 -3.41797 0.563477 -5.08789 0.876953l-0.40332 0.0830078c-1.65137 0.313477 -3.27734 0.652344 -4.87695 1.01074l-1.1709 0.256836
252
+ c-1.79199 0.40918 -3.55273 0.857422 -5.28027 1.31152l-0.857422 0.237305c-2.02246 0.543945 -3.9873 1.12598 -5.8877 1.74707l-1.2041 0.40332c-0.780273 0.261719 -1.56152 0.537109 -2.31641 0.8125l-1.35645 0.499023
253
+ c-0.743164 0.275391 -1.47852 0.563477 -2.20215 0.851562l-1.26074 0.511719l-1.47168 0.633789l-1.4082 0.633789l-1.4209 0.665039l-1.33789 0.65918l-1.33105 0.691406l-1.26074 0.666016l-1.26074 0.729492l-1.17773 0.665039l-1.18359 0.761719l-1.08203 0.704102
254
+ l-1.08789 0.774414l-1.01074 0.729492l-1.00488 0.799805l-0.93457 0.749023l-0.915039 0.825195l-0.844727 0.761719l-0.813477 0.826172l-0.760742 0.787109l-0.691406 0.864258l-0.671875 0.8125l-0.601562 0.851562l-0.576172 0.837891l-0.511719 0.864258
255
+ l-0.5 0.850586l-0.383789 0.896484l-0.37793 0.870117l-0.293945 0.915039l-0.268555 0.864258l-0.198242 1.02441l-0.147461 0.761719c-0.0830078 0.614258 -0.12207 1.20898 -0.12207 1.82324l0.435547 -50.0098c0 -0.614258 0.0449219 -1.20898 0.121094 -1.81738
256
+ l0.102539 -0.543945l0.25 -1.24805l0.210938 -0.665039l0.352539 -1.11426l0.300781 -0.697266l0.473633 -1.0498l0.40332 -0.722656l0.569336 -0.999023l0.518555 -0.729492l0.65918 -0.94043l0.607422 -0.736328l0.78125 -0.953125l0.697266 -0.729492l0.864258 -0.889648
257
+ l0.806641 -0.723633l0.947266 -0.857422l0.895508 -0.729492l1.03711 -0.813477l0.998047 -0.722656l1.10742 -0.787109l1.10742 -0.716797l1.16406 -0.729492l1.20312 -0.698242l1.22949 -0.709961l1.29297 -0.68457l1.30566 -0.671875l1.40137 -0.672852
258
+ l1.32422 -0.632812l1.51074 -0.666016l1.38281 -0.588867l0.459961 -0.198242l0.845703 -0.326172c0.722656 -0.294922 1.43359 -0.583008 2.17578 -0.851562l1.36328 -0.505859c0.780273 -0.274414 1.54883 -0.537109 2.3418 -0.8125l0.896484 -0.307617l0.28125 -0.101562
259
+ c1.89453 -0.601562 3.85254 -1.17773 5.86914 -1.73438l0.505859 -0.154297l0.402344 -0.0957031c1.70312 -0.454102 3.45605 -0.889648 5.23535 -1.30566l0.499023 -0.134766l0.716797 -0.140625c1.60645 -0.333008 3.21289 -0.68457 4.87109 -0.998047
260
+ l0.300781 -0.0644531l0.0761719 -0.0126953c1.66406 -0.319336 3.35352 -0.607422 5.05664 -0.870117l0.652344 -0.12207l0.793945 -0.101562c1.37598 -0.211914 2.76465 -0.416016 4.17871 -0.588867l0.826172 -0.12793l0.268555 -0.0136719
261
+ c1.67676 -0.210938 3.37891 -0.396484 5.10059 -0.5625l0.53125 -0.0576172l0.959961 -0.0771484c1.37012 -0.134766 2.75195 -0.223633 4.14746 -0.333008l1.00488 -0.0761719l0.499023 -0.0263672c1.82422 -0.114258 3.67383 -0.198242 5.53613 -0.261719
262
+ l0.396484 -0.0126953c1.17188 -0.0449219 2.34277 -0.0644531 3.51367 -0.0839844c1.16504 -0.03125 2.29785 -0.03125 3.44336 -0.03125h0.383789c2.20215 0.0126953 4.37109 0.0576172 6.53418 0.133789l0.672852 0.0126953l0.517578 0.0263672
263
+ c2.65625 0.0957031 5.26074 0.249023 7.80859 0.454102l0.543945 0.0449219l0.486328 0.0380859c2.20117 0.198242 4.35156 0.416016 6.46387 0.65918l1.08789 0.134766c2.10547 0.261719 4.19238 0.563477 6.2207 0.889648l0.40332 0.0703125l0.473633 0.0957031
264
+ c2.48926 0.416016 4.92188 0.876953 7.27734 1.38867l0.844727 0.179688c2.34863 0.511719 4.60742 1.08105 6.80273 1.70898l0.441406 0.101562l0.300781 0.102539c1.88867 0.538086 3.73828 1.11426 5.49121 1.72168l0.761719 0.243164
265
+ c1.7666 0.621094 3.46875 1.28027 5.09473 1.95215l0.390625 0.134766l0.416016 0.191406c0.716797 0.300781 1.42676 0.614258 2.11816 0.941406l0.953125 0.43457c0.871094 0.40332 1.73438 0.838867 2.56055 1.26758l0.261719 0.134766l0.0517578 0.0253906
266
+ c1.48438 0.787109 2.86719 1.625 4.16016 2.45117l0.217773 0.12793l0.0703125 0.0634766c1.05566 0.678711 2.02832 1.40234 2.95605 2.125l0.358398 0.25l0.25 0.210938c0.838867 0.666016 1.62598 1.35059 2.34863 2.04199l0.102539 0.0830078l0.223633 0.275391
267
+ c0.588867 0.556641 1.13965 1.14551 1.63867 1.75293l0.275391 0.307617l0.160156 0.217773c0.563477 0.677734 1.0752 1.37598 1.50391 2.08008l0.0253906 0.03125l0.0703125 0.102539c0.410156 0.65332 0.755859 1.34473 1.0752 2.0166l0.134766 0.275391
268
+ l0.115234 0.293945c0.275391 0.652344 0.537109 1.35059 0.691406 2.02832l0.0761719 0.179688v0.0576172c0.210938 0.774414 0.333008 1.57422 0.397461 2.36133zM342.624 121.312l0.0253906 1.05664l-0.441406 50.0029l-0.0703125 -1.29883
269
+ c-0.0771484 -0.787109 -0.210938 -1.57422 -0.396484 -2.3623l-0.0771484 -0.236328c-0.185547 -0.671875 -0.422852 -1.35059 -0.710938 -2.02246l-0.236328 -0.563477c-0.313477 -0.677734 -0.652344 -1.33691 -1.05566 -2.00293l-0.109375 -0.160156
270
+ c-0.43457 -0.68457 -0.972656 -1.40137 -1.49707 -2.07324l-0.441406 -0.518555c-0.525391 -0.601562 -1.06934 -1.20312 -1.66406 -1.79199l-0.307617 -0.313477c-0.723633 -0.697266 -1.5293 -1.4082 -2.38086 -2.07422l-0.543945 -0.40918
271
+ c-0.953125 -0.742188 -1.93945 -1.47852 -3.02734 -2.16992l-0.185547 -0.133789c-1.33789 -0.864258 -2.77734 -1.70898 -4.30078 -2.50879c-0.889648 -0.486328 -1.84961 -0.972656 -2.80273 -1.4209l-0.979492 -0.448242
272
+ c-0.671875 -0.293945 -1.33789 -0.614258 -2.03516 -0.915039l-0.876953 -0.352539c-1.62598 -0.677734 -3.32812 -1.31152 -5.0752 -1.91992l-0.709961 -0.243164c-1.79199 -0.614258 -3.63574 -1.19043 -5.54883 -1.72754l-0.698242 -0.192383
273
+ c-2.18848 -0.607422 -4.47363 -1.18359 -6.83496 -1.70898l-0.838867 -0.178711c-2.38672 -0.518555 -4.83105 -0.992188 -7.36621 -1.4209l-0.774414 -0.134766c-2.04785 -0.326172 -4.12109 -0.620117 -6.2207 -0.882812l-1.08789 -0.134766
274
+ c-2.125 -0.249023 -4.28809 -0.479492 -6.47656 -0.652344l-1.02441 -0.0898438c-2.56641 -0.198242 -5.16406 -0.345703 -7.80176 -0.448242l-1.20898 -0.0634766c-2.1377 -0.0644531 -4.33984 -0.12207 -6.52832 -0.12207c-1.2666 0 -2.54102 0 -3.81445 0.0263672
275
+ c-1.31836 0.0126953 -2.61719 0.0576172 -3.91016 0.0957031c-1.8623 0.0634766 -3.71875 0.15332 -5.54883 0.275391l-1.47852 0.0185547c-1.4209 0.102539 -2.82227 0.211914 -4.21777 0.339844l-1.43359 0.12793c-1.74023 0.160156 -3.44922 0.358398 -5.13867 0.549805
276
+ l-1.03711 0.134766c-1.44043 0.198242 -2.84766 0.396484 -4.25586 0.608398l-1.37598 0.204102c-1.72168 0.275391 -3.41797 0.550781 -5.08789 0.871094l-0.40332 0.0761719c-1.65137 0.327148 -3.27734 0.65332 -4.87695 1.02441l-1.1709 0.249023
277
+ c-1.79199 0.416016 -3.55273 0.851562 -5.28027 1.3125l-0.857422 0.230469c-2.02246 0.549805 -3.9873 1.13867 -5.8877 1.75391l-1.2041 0.40918c-0.780273 0.262695 -1.56152 0.524414 -2.31641 0.8125l-1.35645 0.480469
278
+ c-0.743164 0.288086 -1.47852 0.582031 -2.20215 0.870117l-1.26074 0.511719l-1.47168 0.62793l-1.4082 0.626953l-1.4209 0.671875l-1.33789 0.652344l-1.33105 0.698242l-1.26074 0.665039l-1.26074 0.730469l-1.17773 0.677734l-1.18359 0.742188l-1.08203 0.710938
279
+ l-1.08789 0.780273l-1.01074 0.710938l-1.00488 0.8125l-0.93457 0.736328l-0.915039 0.825195l-0.844727 0.761719l-0.813477 0.838867l-0.760742 0.787109l-0.691406 0.850586l-0.671875 0.813477l-0.601562 0.850586l-0.576172 0.844727l-0.511719 0.876953
280
+ l-0.5 0.857422l-0.383789 0.889648l-0.37793 0.864258l-0.293945 0.915039l-0.268555 0.864258l-0.198242 1.01074l-0.147461 0.774414c-0.0830078 0.601562 -0.12207 1.20996 -0.12207 1.81836l0.435547 -50.0039c0 -0.614258 0.0449219 -1.20312 0.121094 -1.81738
281
+ l0.102539 -0.556641l0.25 -1.23535l0.210938 -0.665039l0.352539 -1.11426l0.300781 -0.709961l0.473633 -1.04297l0.40332 -0.723633l0.569336 -0.992188l0.518555 -0.735352l0.65918 -0.947266l0.607422 -0.736328l0.787109 -0.927734l0.698242 -0.723633
282
+ l0.863281 -0.889648l0.806641 -0.736328l0.947266 -0.850586l0.896484 -0.723633l1.03613 -0.819336l0.999023 -0.729492l1.10645 -0.761719l1.10742 -0.722656l1.16504 -0.736328l1.20312 -0.697266l1.22852 -0.710938l1.29297 -0.68457l1.30566 -0.665039
283
+ l1.40137 -0.685547l1.3252 -0.639648l1.51074 -0.666016l1.38184 -0.587891l0.460938 -0.199219l0.844727 -0.338867c0.723633 -0.28125 1.43359 -0.569336 2.17578 -0.844727l1.36328 -0.493164c0.78125 -0.28125 1.54883 -0.549805 2.34277 -0.832031l0.895508 -0.300781
284
+ l0.282227 -0.0761719c1.89453 -0.621094 3.85254 -1.20312 5.86816 -1.76074l0.505859 -0.140625l0.396484 -0.0830078c1.70312 -0.460938 3.45605 -0.895508 5.23535 -1.29883l0.499023 -0.134766l0.716797 -0.134766c1.60645 -0.351562 3.21289 -0.69043 4.87109 -1.01074
285
+ l0.300781 -0.0644531l0.0761719 -0.0126953c1.66406 -0.319336 3.35352 -0.607422 5.05664 -0.870117l0.652344 -0.121094l0.793945 -0.109375c1.37598 -0.210938 2.76465 -0.40332 4.17871 -0.588867l0.826172 -0.121094l0.268555 -0.0263672
286
+ c1.67676 -0.204102 3.37891 -0.396484 5.10059 -0.549805l0.53125 -0.0703125l0.959961 -0.0644531c1.37012 -0.12793 2.75195 -0.236328 4.14746 -0.326172l1.00488 -0.0771484l0.499023 -0.03125c1.82422 -0.109375 3.67383 -0.192383 5.53613 -0.256836
287
+ l0.396484 -0.0253906c1.17188 -0.0380859 2.34277 -0.0634766 3.51367 -0.0898438c1.16504 -0.0126953 2.29785 -0.0126953 3.44336 -0.0126953h0.383789c2.20215 0 4.37109 0.0644531 6.53418 0.12793l0.672852 0.0136719l0.517578 0.0380859
288
+ c2.65625 0.0957031 5.26074 0.249023 7.80859 0.454102l0.543945 0.0322266l0.486328 0.0507812c2.20117 0.192383 4.35156 0.40332 6.46387 0.65332l1.08789 0.133789c2.10547 0.269531 4.19238 0.557617 6.2207 0.90332l0.40332 0.0507812l0.473633 0.0898438
289
+ c2.48926 0.428711 4.92188 0.889648 7.27734 1.40137l0.844727 0.178711c2.34863 0.518555 4.60742 1.08203 6.80273 1.69629l0.448242 0.0957031l0.300781 0.12207c1.8877 0.524414 3.7373 1.10059 5.49121 1.70898l0.761719 0.249023
290
+ c1.7666 0.62793 3.46875 1.26758 5.09375 1.95215l0.390625 0.134766l0.40332 0.191406c0.716797 0.288086 1.43359 0.595703 2.11816 0.93457l0.959961 0.422852c0.864258 0.40918 1.72852 0.837891 2.56055 1.28027l0.261719 0.133789l0.0517578 0.0253906
291
+ c1.47852 0.787109 2.86035 1.61328 4.15332 2.45117l0.217773 0.12207l0.0771484 0.0703125c1.05566 0.671875 2.02832 1.38867 2.95605 2.1123l0.358398 0.243164l0.25 0.223633c0.838867 0.666016 1.62598 1.34375 2.34863 2.04199l0.102539 0.0888672l0.223633 0.256836
292
+ c0.588867 0.5625 1.13965 1.16406 1.63867 1.76562l0.275391 0.300781l0.160156 0.224609c0.563477 0.677734 1.0752 1.37598 1.50391 2.08594l0.0253906 0.0126953l0.0703125 0.12207c0.410156 0.652344 0.755859 1.33789 1.0752 2.01562l0.134766 0.262695
293
+ l0.115234 0.300781c0.275391 0.65918 0.537109 1.33789 0.691406 2.02246l0.0761719 0.192383v0.0439453c0.210938 0.78125 0.333008 1.5752 0.397461 2.3623zM342.624 192.947l0.0253906 0.998047l-0.43457 50.0166l-0.0771484 -1.2998
294
+ c-0.0576172 -0.607422 -0.172852 -1.21582 -0.300781 -1.81738c-3.66113 18.0225 -40.5762 32.7168 -85.5742 33.4082c-44.96 0.691406 -81.7344 -12.8262 -85.3701 -30.7012l-0.0898438 0.448242l-0.146484 0.774414
295
+ c-0.0830078 0.608398 -0.12207 1.21582 -0.12207 1.82422l0.0517578 -5.60059c-0.00683594 -0.133789 -0.0517578 -0.268555 -0.0517578 -0.40332c0 -0.15332 0.0517578 -0.293945 0.0576172 -0.441406l0.37793 -43.5645c0 -0.614258 0.0449219 -1.22266 0.121094 -1.81738
296
+ l0.102539 -0.550781l0.25 -1.24805l0.210938 -0.652344l0.352539 -1.12012l0.300781 -0.698242l0.473633 -1.04297l0.402344 -0.729492l0.570312 -0.998047l0.518555 -0.736328l0.65918 -0.93457l0.607422 -0.742188l0.787109 -0.93457l0.698242 -0.722656
297
+ l0.863281 -0.889648l0.806641 -0.736328l0.947266 -0.851562l0.896484 -0.722656l1.03613 -0.826172l0.999023 -0.716797l1.10645 -0.774414l1.10742 -0.716797l1.16504 -0.735352l1.20312 -0.704102l1.22852 -0.704102l1.29297 -0.68457l1.30566 -0.666016
298
+ l1.40137 -0.677734l1.3252 -0.62793l1.50977 -0.671875l1.38281 -0.588867l0.460938 -0.191406l0.844727 -0.345703c0.723633 -0.275391 1.43359 -0.563477 2.17578 -0.838867l1.36328 -0.499023c0.78125 -0.275391 1.54883 -0.550781 2.34277 -0.8125l0.895508 -0.313477
299
+ l0.282227 -0.0839844c1.89355 -0.614258 3.85254 -1.19043 5.86816 -1.74023l0.505859 -0.154297l0.40332 -0.0957031c1.70215 -0.473633 3.45605 -0.908203 5.23535 -1.31152l0.499023 -0.12207l0.716797 -0.140625c1.60645 -0.345703 3.21289 -0.68457 4.87012 -1.00488
300
+ l0.300781 -0.0703125l0.0771484 -0.0126953c1.66406 -0.313477 3.35352 -0.601562 5.05566 -0.864258l0.65332 -0.121094l0.792969 -0.12207c1.37598 -0.198242 2.76465 -0.396484 4.17969 -0.576172l0.825195 -0.115234l0.268555 -0.0380859
301
+ c1.67773 -0.198242 3.37988 -0.37793 5.10156 -0.537109l0.53125 -0.0644531l0.959961 -0.0830078c1.36914 -0.12207 2.75195 -0.217773 4.14648 -0.326172l1.00488 -0.0712891l0.499023 -0.0253906c1.82422 -0.12793 3.67383 -0.198242 5.53613 -0.261719
302
+ l0.397461 -0.0263672c1.1709 -0.0380859 2.3418 -0.0761719 3.51367 -0.0830078c1.16406 -0.0195312 2.29688 -0.0253906 3.44238 -0.0253906l0.384766 0.00585938c2.20117 0.00683594 4.37109 0.0517578 6.53418 0.128906h0.671875l0.518555 0.0380859
303
+ c2.65625 0.0957031 5.26074 0.262695 7.80762 0.460938l0.543945 0.0253906l0.486328 0.0507812c2.20215 0.199219 4.35254 0.410156 6.46484 0.671875l1.08789 0.128906c2.10547 0.261719 4.19141 0.5625 6.2207 0.889648l0.40918 0.0380859l0.473633 0.102539
304
+ c2.48926 0.421875 4.92188 0.895508 7.27734 1.40723l0.844727 0.154297c2.34863 0.524414 4.60742 1.10059 6.80273 1.71484l0.441406 0.115234l0.300781 0.102539c1.88867 0.537109 3.73828 1.11328 5.49121 1.71484l0.761719 0.25
305
+ c1.7666 0.626953 3.46875 1.27344 5.09473 1.93945l0.390625 0.133789l0.40918 0.192383c0.716797 0.293945 1.43359 0.607422 2.11816 0.93457l0.959961 0.421875c0.864258 0.422852 1.72852 0.851562 2.56055 1.28711l0.261719 0.12793l0.0517578 0.0380859
306
+ c1.47852 0.787109 2.86035 1.59961 4.15332 2.45117l0.217773 0.115234l0.0771484 0.0576172c1.05566 0.678711 2.02832 1.40137 2.95605 2.125l0.358398 0.249023l0.25 0.217773c0.838867 0.65918 1.62598 1.35059 2.34863 2.03516l0.102539 0.0898438l0.223633 0.249023
307
+ c0.588867 0.583008 1.13965 1.17188 1.63867 1.78613l0.275391 0.288086l0.160156 0.223633c0.563477 0.68457 1.0752 1.38867 1.50391 2.08691l0.0253906 0.0253906l0.0703125 0.102539c0.410156 0.671875 0.755859 1.35059 1.0752 2.02246l0.134766 0.275391
308
+ l0.115234 0.300781c0.275391 0.65918 0.537109 1.33105 0.691406 2.02148l0.0761719 0.186523v0.0439453c0.210938 0.78125 0.333008 1.5752 0.397461 2.375z" />
309
  <glyph glyph-name="uniF114" unicode="&#xf114;"
310
  d="M342.15 99.4111l0.0898438 1.29883l0.43457 -50.0029l-0.0380859 -1.03027l-0.0507812 -0.262695c-0.0644531 -0.799805 -0.199219 -1.58691 -0.397461 -2.37402v-0.0322266l-0.0761719 -0.172852c-0.154297 -0.68457 -0.416016 -1.36914 -0.691406 -2.03516
311
  l-0.115234 -0.293945l-0.134766 -0.269531c-0.319336 -0.671875 -0.671875 -1.35645 -1.0752 -2.02148l-0.0703125 -0.102539l-0.0253906 -0.0263672c-0.428711 -0.709961 -0.94043 -1.40137 -1.50391 -2.08594l-0.15332 -0.217773l-0.275391 -0.306641
374
  l-0.352539 1.11914l-0.210938 0.65332l-0.25 1.24805l-0.102539 0.549805c-0.0830078 0.602539 -0.121094 1.2041 -0.121094 1.81836l-0.37793 43.5645c-0.00585938 0.147461 -0.0576172 0.294922 -0.0576172 0.441406c0 0.134766 0.0517578 0.269531 0.0517578 0.40332
375
  l-0.0517578 5.60059c0 -0.608398 0.0390625 -1.2168 0.12207 -1.82422l0.147461 -0.774414l0.0888672 -0.448242c3.63574 17.875 40.4102 31.3916 85.3701 30.7012c44.998 -0.691406 81.9131 -15.3857 85.5742 -33.4082c0.12793 0.607422 0.243164 1.20898 0.300781 1.81738
376
  z" />
377
+ <glyph glyph-name="uniF121" unicode="&#xf121;"
378
+ d="M170.238 102.4l85.7617 68.4805l85.1191 -68.4805h-51.8389v-45.4375h-67.1992v45.4375h-51.8428zM371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM383.357 37.1221v162.558l-49.2754 49.2793h-157.442
379
+ l-49.2783 -49.2793v-162.558c0 -7.68066 6.39746 -14.0781 14.0781 -14.0781h228.479c7.67676 0 14.082 6.39746 13.4395 14.0781zM184.959 224.641h142.721l21.123 -21.7617h-185.602z" />
380
  <glyph glyph-name="uniF11D" unicode="&#xf11d;"
381
  d="M119.507 152.666c0 0 123.872 168.55 276.192 0c0 0 -123.872 -172.615 -276.192 0zM257.594 99.7119c28.7549 0 52.0576 23.3154 52.0576 52.0381c0 28.749 -23.2959 52.0576 -52.0576 52.0576c-28.7295 0 -52.0322 -23.3086 -52.0322 -52.0576
382
  c0 -28.7227 23.3027 -52.0381 52.0322 -52.0381zM257.594 117.453c-18.9316 0 -34.2979 15.3594 -34.2979 34.2969c0 18.957 15.3662 34.3105 34.2979 34.3105c18.957 0 34.3164 -15.3535 34.3164 -34.3105c0 -18.9375 -15.3594 -34.2969 -34.3164 -34.2969z
383
  M257.594 186.061c18.957 0 34.3164 -15.3535 34.3164 -34.3105c0 -18.9375 -15.3594 -34.2969 -34.3164 -34.2969c-18.9316 0 -34.2979 15.3594 -34.2979 34.2969c0 18.957 15.3662 34.3105 34.2979 34.3105z" />
384
+ <glyph glyph-name="uniF134" unicode="&#xf134;"
385
+ d="M69.9062 -52.7617l-58.0127 58.0127l315.346 315.347l58.0137 -58.0127zM440.184 334.265c12.8906 -12.873 -2.03125 -18.8203 -14.8857 -31.6572c-12.8545 -12.8359 -18.7842 -27.7578 -31.6562 -14.8848l-41.3027 41.1934
386
+ c-12.873 12.873 2.03027 18.8018 14.8857 31.6562c12.8545 12.8555 18.7832 27.7773 31.6562 14.9043zM512.218 379.737l18.4023 -24.6943l-30.7861 0.43457l-17.7686 -25.1113l-9.11914 29.3359l-29.3184 9.12012l25.0752 17.7861l-0.398438 30.75l24.6943 -18.4023
387
+ l29.0635 9.88086zM327.826 405.41l15.3203 -20.5244l-25.6191 0.327148l-14.8125 -20.9238l-7.5791 24.4775l-24.4766 7.57812l20.9229 14.8135l-0.326172 25.6191l20.5244 -15.3213l24.2588 8.23145zM476.463 268.322l9.33789 -12.5283l-15.6289 0.235352
388
+ l-8.95703 -12.6914l-4.58691 14.8311l-14.8672 4.62305l12.71 8.93848l-0.236328 15.6289l12.5293 -9.33691l14.7041 5.00391z" />
389
+ <glyph glyph-name="uniF125" unicode="&#xf125;"
390
+ d="M270.061 278.381c47.4307 0 85.7793 -38.4131 85.7793 -85.7471c0 -62.7969 -72.333 -135.693 -75.4814 -138.938c-2.5791 -2.5791 -6.49609 -4.49316 -10.2979 -4.49316c-3.82715 0 -7.01367 1.34375 -10.2139 4.49316
391
+ c-3.19434 3.23828 -75.5264 76.1406 -75.5264 138.938c0 47.3281 38.4062 85.7471 85.7402 85.7471zM420.448 16.5762c-1.90137 -3.16211 -5.05664 -4.49316 -8.9668 -4.49316h-279.642c-3.2002 0 -7.02051 1.90723 -8.97266 4.49316
392
+ c-1.90723 3.23828 -2.53418 6.38672 -0.614258 9.63184l33.3057 79.2959c1.90039 3.92285 5.10742 6.49609 9.58105 6.49609h31.9863v-21.1777h-24.9658l-24.96 -58.2275h248.346l-25.0049 58.2275h-28.1406v21.1777h34.5469c4.47363 0 7.73145 -2.56641 9.63184 -6.49609
393
+ l33.3125 -79.2959c3.14844 -3.24512 2.47656 -7.05273 0.556641 -9.63184zM233.6 195.2c0 -20.7656 16.835 -37.6006 37.6006 -37.6006s37.5996 16.835 37.5996 37.6006s-16.834 37.5996 -37.5996 37.5996s-37.6006 -16.834 -37.6006 -37.5996z" />
394
+ <glyph glyph-name="uniF12C" unicode="&#xf12c;"
395
+ d="M20.8887 280.548v149.814h564.48v-149.814h-564.48zM20.8887 114.135v88.8184h564.48v-88.8184h-564.48zM20.8887 -46.3623v88.8184h564.48v-88.8184h-564.48z" />
396
+ <glyph glyph-name="uniF12A" unicode="&#xf12a;"
397
+ d="M399.36 330.24h61.4395v-368.641h-399.359v368.641h61.4395v92.1602h92.1602v-92.1602h92.1602v92.1602h92.1602v-92.1602z" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398
  <glyph glyph-name="uniF120" unicode="&#xf120;"
399
  d="M373.56 379.779l73.6641 -73.6553v-242.989c0.945312 -11.4707 -8.60645 -21.041 -20.0859 -21.041h-341.385c-11.4609 0 -21.0312 9.54297 -21.0312 21.041v242.989l73.665 73.6553h235.173zM306.702 160.703h77.3633l-127.062 102.367l-128.188 -102.367h77.4912
400
  v-67.9395h100.396v67.9395zM118.291 310.896h277.263l-31.5557 32.5283h-213.188z" />
402
  d="M318.489 170.215v16.1211l30.0742 -30.0859l-30.0742 -30.0742v16.1094h-120.902v-16.1094l-30.0732 30.0742l30.0732 30.0859v-16.1211h120.902zM371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008z
403
  M388.448 76.8252v0v157.606c0 11.2256 -9.08789 20.3135 -20.3008 20.3135h-225.376c-11.2197 0 -20.3076 -9.09375 -20.3076 -20.3135v-157.606c0 -11.2256 9.08789 -20.3193 20.3076 -20.3193h97.3633c-1.27441 -7.69922 -7.61035 -28.666 -39.002 -28.666v-10.0479
404
  h50.4316h10.7461h50.4258v10.0479c-31.3984 0 -37.7471 20.9727 -39.002 28.666h94.4004c11.2256 0 20.3135 9.09375 20.3135 20.3193z" />
405
+ <glyph glyph-name="uniF136" unicode="&#xf136;"
406
+ d="M438.75 70.167c0 -33.5039 -27.4131 -60.917 -60.917 -60.917h-243.666c-33.5039 0 -60.917 27.4131 -60.917 60.917v243.666c0 33.5039 27.4121 60.917 60.917 60.917h243.667c33.5039 0 60.917 -27.4121 60.917 -60.917l-0.000976562 -243.666v0zM172.568 295.319
407
+ h-0.000976562v-213.206h97.9434c13.7363 0 25.5605 1.55176 35.5352 4.65625c9.97363 3.10645 18.0947 7.28711 24.4863 12.542c6.38965 5.25586 11.0488 11.5264 14.0352 18.8125c2.98535 7.22461 4.47852 15.0498 4.47852 23.4111
408
+ c0 14.5732 -3.4043 26.6357 -10.1523 36.3105c-6.74707 9.61523 -16.7217 15.8262 -29.8604 18.6328v0.597656c9.79395 4.17969 17.3174 10.1523 22.5742 17.7969c5.25586 7.64453 7.88379 16.8418 7.88379 27.5918c0 17.7373 -5.79395 30.9365 -17.3193 39.7148
409
+ c-11.5244 8.7793 -26.875 13.1396 -45.9863 13.1396h-103.617zM209.894 206.035h-0.000976562v58.8848h60.917c10.1533 0 17.918 -2.20996 23.293 -6.56934c5.37402 -4.3584 8.0625 -11.9434 8.0625 -22.6934c0 -9.55664 -2.98535 -16.8418 -8.95801 -21.9785
410
+ c-5.97168 -5.13574 -13.4375 -7.64355 -22.3965 -7.64355h-60.917zM209.894 112.569v66.6494h65.9932c11.3477 0 20.0664 -2.74707 26.3975 -8.48047s9.43652 -13.7949 9.43652 -24.3662c0 -10.75 -3.16602 -19.1113 -9.43652 -24.9639
411
+ c-6.20996 -5.91309 -15.0488 -8.83887 -26.3975 -8.83887h-65.9932z" />
412
  <glyph glyph-name="uniF11B" unicode="&#xf11b;"
413
  d="M404.666 185.6c4.95996 0 7.57715 -1.06836 7.8457 -2.82227c0 -0.524414 -0.93457 -2.98828 -2.79688 -7.0459l-56.0508 -111.731h-226.374l57.3184 112.378c1.94531 3.87207 3.83984 5.97754 5.69531 7.07812c1.8623 1.08789 5.22949 2.14355 10.1318 2.14355h204.23z
414
  M175.584 203.872c-2.18848 -1.24805 -6.8418 -5.22852 -10.8027 -12.9092l-55.9814 -105.549v133.626c0 3.96191 2.21484 7.41113 3.52637 8.64648c1.31836 1.22266 5.55566 2.71387 9.60645 2.71387h7.85254c5.65137 0 9.29297 -0.179688 10.9385 0.920898
429
  c-1.96289 -1.73145 -4.32715 -2.59668 -7.09961 -2.59668c-0.797852 0 -1.49316 0.231445 -2.07031 0.69043l-0.69043 0.865234c0 0.463867 0.69043 1.41406 2.07031 2.85742c1.38574 1.44238 2.07617 3.66602 2.07617 6.66406c0 3.23047 -1.08594 5.91797 -3.28711 8.05078
430
  c-2.18945 2.13867 -5.36816 3.20215 -9.52148 3.20215c-5.07422 0 -9.14258 -1.38672 -12.2031 -4.1582c-3.05469 -2.77246 -4.58789 -6.05957 -4.58789 -9.86719c0 -4.03906 1.84961 -7.58594 5.53906 -10.6475c3.69434 -3.05469 9.52637 -4.58789 17.4814 -4.58789
431
  c12.4629 0 23.5684 3.28125 33.3281 9.86133c9.74707 6.5791 18.2275 16.6719 25.4414 30.29c7.21289 13.6172 14.6299 35.6533 22.2451 66.124z" />
432
+ <glyph glyph-name="uniF131" unicode="&#xf131;"
433
+ d="M69.0908 161.909l-26.8906 26.9268c-4.00098 4.54297 -12.1611 8.22949 -18.2148 8.22949c-1.20996 0 -3.1582 -0.175781 -4.34863 -0.392578v231.618h231.69c-0.0351562 -0.0830078 -0.0996094 -0.212891 -0.145508 -0.291016
434
+ c-0.794922 -2.22363 -1.44043 -5.94531 -1.44043 -8.30664c0 -6.77344 4.38477 -15.5879 9.78613 -19.6748l21.1631 -21.1094h-211.6v-217zM487.637 186.69c1.32617 0.101562 3.42773 0.524414 4.69043 0.946289v-232h-231.745
435
+ c0.0615234 0.0947266 0.142578 0.256836 0.181641 0.363281c0.808594 2.23633 1.46387 5.98242 1.46387 8.36035c0 6.77734 -4.39453 15.584 -9.80957 19.6582l-21.1455 21.1631h211.546v216.945l26.9453 -26.9268c3.91797 -4.48047 11.9248 -8.29297 17.873 -8.50977z
436
+ M163.272 10.5459l11.5459 -11.5459l26.1631 -26.1816c-39.291 -0.582031 -137.291 -2.14551 -162.545 -2.40039l-2.21875 161.818l25.6006 -25.6904l11.6182 -11.5459l11.5273 11.5459l122.818 122.891l1.34473 1.32715l0.491211 0.782227l128.854 128.836l11.582 11.582
437
+ l-11.582 11.5449l-26.1455 26.1641c39.3096 0.582031 137.455 2.14551 162.527 2.39941l2.21777 -161.817l-25.6904 25.6543l-11.5088 11.582l-11.5635 -11.582l-122.782 -122.782l-1.25488 -1.27246l-0.527344 -0.818359l-128.927 -128.909z" />
438
  <glyph glyph-name="uniF124" unicode="&#xf124;"
439
  d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM259.75 278.566c-47.3271 0 -85.8105 -38.502 -85.8174 -85.7539c0 -62.4385 72.5957 -135.73 75.6865 -138.848
440
  c2.80957 -2.77734 6.43164 -4.16602 10.1309 -4.16602c3.6416 0 7.31543 1.38184 10.0674 4.16602c3.11719 3.11719 75.7119 76.4092 75.7119 138.848c0 47.252 -38.4766 85.7539 -85.7793 85.7539zM410.298 16.3457c1.93848 2.91211 2.28418 6.60449 0.915039 9.83008
444
  <glyph glyph-name="uniF119" unicode="&#xf119;"
445
  d="M371.2 345.6h76.7998v-384h-384v384h76.7998v76.8008h76.7998v-76.8008h76.8008v76.8008h76.7998v-76.8008zM243.782 3.33398v122.164l-117.459 69.5742v-123.917zM384.007 71.1553v121.439l-116.979 -70.0088v-118.977zM384.007 219.667v0.268555l-128.846 74.3877
446
  l-127.008 -73.3311l129.689 -76.8193z" />
447
+ <glyph glyph-name="uniF12E" unicode="&#xf12e;"
448
+ d="M335.712 419.215c1.96777 -1.02637 3.5791 -3.65918 3.59863 -5.87793v-101.349l-143.232 -113.104c-1.31152 -1.12598 -2.37598 -3.44141 -2.37598 -5.16992c0 -1.72754 1.06445 -4.04395 2.37598 -5.16895l143.16 -113.031v-101.374
449
+ c0.000976562 -0.03125 0.000976562 -0.0830078 0.000976562 -0.115234c0 -3.58789 -2.91211 -6.5 -6.50098 -6.5c-1.27539 0 -3.11328 0.65332 -4.10254 1.45801l-278.261 219.562c-1.31152 1.125 -2.37598 3.44141 -2.37598 5.16895
450
+ c0 1.72852 1.06445 4.04395 2.37598 5.16992l278.356 219.538c1.00293 0.790039 2.85254 1.43164 4.12891 1.43164c0.827148 0 2.10449 -0.286133 2.85156 -0.639648zM824.66 195.431c1.35645 -1.12012 2.45801 -3.45801 2.45801 -5.21777
451
+ s-1.10156 -4.09766 -2.45801 -5.21777l-278.262 -219.562c-1.00391 -0.775391 -2.84863 -1.4043 -4.11816 -1.4043c-0.844727 0 -2.14844 0.295898 -2.91016 0.660156c-1.95996 1.00977 -3.55078 3.61816 -3.55078 5.82324c0 0.0341797 0 0.0908203 0.000976562 0.125977
452
+ v101.421l143.232 113.032c1.31055 1.125 2.375 3.44141 2.375 5.16895c0 1.72852 -1.06445 4.04395 -2.375 5.16992l-143.232 113.055v101.374v0.0585938c0 2.21289 1.58984 4.83984 3.5498 5.86621c0.753906 0.356445 2.04199 0.646484 2.875 0.646484
453
+ c1.28418 0 3.14453 -0.644531 4.15332 -1.43848z" />
454
+ <glyph glyph-name="uniF133" unicode="&#xf133;"
455
+ d="M303.04 102.146l-102.51 -46.3584l46.2246 102.245l-0.169922 0.227539zM303.077 102.146h-0.0371094l0.226562 -0.208984zM493.604 404.844l23.4727 -23.3584l-234.289 -232.547l-23.4727 23.3018zM295.329 136.454l234.289 232.642l23.4922 -23.3594l-234.309 -232.546
456
+ zM561.749 415.907c7.08301 -6.61035 12.832 -19.8389 12.832 -29.5273c0 -7.69043 -3.84766 -18.8457 -8.58887 -24.9004l-56.7393 56.209c6.15918 4.66113 17.4268 8.44434 25.1504 8.44434c8.60254 0 20.8535 -4.58105 27.3457 -10.2256zM438.684 12.4795v181.718
457
+ l57.3086 58.9941v-298h-473.618v473.617h454.389l-61.3809 -57.3076h-335.72v-359.021h359.021z" />
458
  </font>
459
  </defs></svg>
library/toolset/onthego-resources/onthegosystems-icons/fonts/{onthegosystems-icons_56ccf243b48b7b394b730a03adb10005.ttf → onthegosystems-icons_91cc76c6ec19609541b007a2169151af.ttf} RENAMED
Binary file
library/toolset/onthego-resources/onthegosystems-icons/fonts/onthegosystems-icons_91cc76c6ec19609541b007a2169151af.woff ADDED
Binary file
library/toolset/onthego-resources/onthegosystems-icons/vectors/bootstrap-original-logo.svg ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
4
+ <svg version="1.1" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
5
+ x="0px" y="0px" width="512px" height="512px" viewBox="0 0 512 512" xml:space="preserve">
6
+ <g id="solid" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" sodipodi:docname="twitter_bootstrap_logo.svg" inkscape:version="0.48.1 r9760">
7
+ <path id="bg" fill="#563D7C" d="M438.75,377.833c0,33.504-27.413,60.917-60.917,60.917H134.167
8
+ c-33.504,0-60.917-27.413-60.917-60.917V134.167c0-33.504,27.412-60.917,60.917-60.917h243.667
9
+ c33.504,0,60.917,27.412,60.917,60.917L438.75,377.833L438.75,377.833z"/>
10
+ <g id="B">
11
+ <path fill="#FFFFFF" d="M172.568,152.681h103.618c19.111,0,34.461,4.36,45.986,13.139c11.525,8.779,17.319,21.978,17.319,39.715
12
+ c0,10.75-2.628,19.947-7.884,27.592c-5.256,7.644-12.78,13.617-22.574,17.797v0.597c13.139,2.807,23.113,9.018,29.861,18.633
13
+ c6.748,9.675,10.152,21.738,10.152,36.311c0,8.361-1.493,16.186-4.479,23.411c-2.986,7.286-7.645,13.557-14.035,18.812
14
+ c-6.391,5.255-14.512,9.436-24.486,12.542c-9.975,3.105-21.799,4.657-35.535,4.657h-97.944V152.681L172.568,152.681z
15
+ M209.894,241.965h60.917c8.959,0,16.424-2.508,22.396-7.644c5.973-5.136,8.958-12.422,8.958-21.978
16
+ c0-10.75-2.688-18.335-8.062-22.694c-5.375-4.359-13.14-6.569-23.293-6.569h-60.917V241.965L209.894,241.965z M209.894,335.431
17
+ h65.993c11.348,0,20.187-2.926,26.397-8.839c6.271-5.853,9.437-14.214,9.437-24.964c0-10.571-3.106-18.633-9.437-24.366
18
+ c-6.331-5.734-15.05-8.481-26.397-8.481h-65.993V335.431z"/>
19
+ </g>
20
+ </g>
21
+ </svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/bootstrap-pagination.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 42.409 11.767"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}.cls-2{fill:url(#Super_Soft_Black_Vignette-2);}.cls-3{fill:url(#Super_Soft_Black_Vignette-3);}.cls-4{fill:#fff;}</style><radialGradient id="Super_Soft_Black_Vignette" cx="20.911" cy="5.854" r="6.022" gradientTransform="translate(1.928 0.535) scale(0.909 0.909)" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient><radialGradient id="Super_Soft_Black_Vignette-2" cx="5.422" cy="5.854" r="6.022" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-3" cx="36.986" cy="5.854" r="6.023" xlink:href="#Super_Soft_Black_Vignette"/></defs><title>1111</title><rect class="cls-1" x="15.461" y="0.383" width="10.952" height="10.947"/><rect class="cls-2" x="1.382" y="0.383" width="10.95" height="10.947"/><rect class="cls-3" x="30.074" y="0.383" width="10.953" height="10.947"/><path class="cls-4" d="M6.074,4.229H6.056L4.9,4.781,4.662,3.714,6.28,2.966H7.449v6.08H6.074V4.229Z"/><path class="cls-4" d="M18.993,9.046V8.186l0.776-.7c1.337-1.2,1.983-1.88,1.992-2.591A0.857,0.857,0,0,0,20.77,4a2.258,2.258,0,0,0-1.3.5l-0.4-1.01a3.333,3.333,0,0,1,1.983-.626,1.883,1.883,0,0,1,2.133,1.9A3.743,3.743,0,0,1,21.565,7.39L21,7.858V7.876h2.3V9.046H18.993Z"/><path class="cls-4" d="M34.194,7.652a3.22,3.22,0,0,0,1.412.374,0.921,0.921,0,0,0,1.113-.8,1.04,1.04,0,0,0-1.225-.879h-0.58V5.323h0.561a0.922,0.922,0,0,0,1.076-.7,0.728,0.728,0,0,0-.9-0.636,2.7,2.7,0,0,0-1.263.365L34.1,3.321a3.782,3.782,0,0,1,1.88-.458c1.291,0,2.011.683,2.011,1.515a1.449,1.449,0,0,1-1.113,1.413V5.81A1.513,1.513,0,0,1,38.2,7.3c0,1.066-.945,1.852-2.488,1.852A3.708,3.708,0,0,1,33.9,8.728Z"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/breadcrumbs.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 42.938 10.019"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}.cls-2{fill:url(#Super_Soft_Black_Vignette-2);}.cls-3{fill:url(#Super_Soft_Black_Vignette-3);}</style><radialGradient id="Super_Soft_Black_Vignette" cx="-470.932" cy="1423.756" r="7.981" gradientTransform="translate(1357.078 -668.77) rotate(45)" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient><radialGradient id="Super_Soft_Black_Vignette-2" cx="-462.351" cy="1415.175" r="7.981" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-3" cx="14.78" cy="1.491" r="8.077" gradientTransform="matrix(1, 0, 0, 1, 0, 0)" xlink:href="#Super_Soft_Black_Vignette"/></defs><title>1111</title><polygon class="cls-1" points="28.618 4.948 23.85 0.697 13.917 0.697 18.683 4.946 13.913 9.323 23.851 9.323 28.618 4.948"/><polygon class="cls-2" points="40.754 4.948 35.986 0.697 26.053 0.697 30.818 4.946 26.048 9.323 35.986 9.323 40.754 4.948"/><polygon class="cls-3" points="11.49 0.697 11.281 0.51 2.184 0.51 2.184 9.51 11.282 9.51 11.485 9.323 16.255 4.946 11.49 0.697"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/btn-dropdowns.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 27.98 23.629"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}.cls-2{fill:url(#Super_Soft_Black_Vignette-2);}.cls-3{fill:url(#Super_Soft_Black_Vignette-3);}</style><radialGradient id="Super_Soft_Black_Vignette" cx="207.203" cy="496.068" r="7.944" gradientTransform="translate(-230.342 -832.843) scale(1.179 1.688)" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient><radialGradient id="Super_Soft_Black_Vignette-2" cx="207.203" cy="13.358" r="7.944" gradientTransform="translate(-230.342) scale(1.179 1)" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-3" cx="207.203" cy="20.765" r="7.944" gradientTransform="translate(-230.342) scale(1.179 1)" xlink:href="#Super_Soft_Black_Vignette"/></defs><title>1111</title><rect class="cls-1" x="0.964" y="0.814" width="26.051" height="6.914"/><rect class="cls-2" x="0.964" y="11.309" width="26.051" height="4.099"/><rect class="cls-3" x="0.964" y="18.716" width="26.051" height="4.099"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/buttons.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 41.735 19.514"><defs><style>.cls-1{fill:none;}.cls-2{clip-path:url(#clip-path);}.cls-3{fill:#130c0e;}.cls-4{fill:url(#Super_Soft_Black_Vignette);}</style><clipPath id="clip-path"><path class="cls-1" d="M30.212,9.048a0.252,0.252,0,0,0-.056-0.09,0.217,0.217,0,0,0-.146-0.064L19.165,5.9a0.236,0.236,0,0,0-.191.069,0.227,0.227,0,0,0-.068.191L22.518,17.2a0.234,0.234,0,0,0,.155.2,0.23,0.23,0,0,0,.248-0.057l0.867-4.372L29.5,18.687a0.237,0.237,0,0,0,.336,0l1.853-1.851a0.24,0.24,0,0,0,0-.337l-5.715-5.714,4.18-1.49A0.24,0.24,0,0,0,30.212,9.048Z"/></clipPath><radialGradient id="Super_Soft_Black_Vignette" cx="20.867" cy="-571.516" r="15.842" gradientTransform="translate(1.619 387.084) scale(0.922 0.666)" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient></defs><title>1111</title><g class="cls-2"><rect class="cls-3" x="18.898" y="5.895" width="12.886" height="12.885"/><circle class="cls-3" cx="25.333" cy="12.329" r="6.428"/><circle class="cls-3" cx="25.333" cy="12.329" r="5.778"/><circle class="cls-3" cx="25.333" cy="12.329" r="5.128"/><circle class="cls-3" cx="25.333" cy="12.329" r="4.41"/></g><polygon class="cls-4" points="40.116 11.627 33.092 11.627 33.092 9.984 38.474 9.984 38.474 2.399 3.261 2.399 3.261 9.984 15.576 9.984 15.576 11.627 1.619 11.627 1.619 0.757 40.116 0.757 40.116 11.627"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/input-groups.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36.481 21.344"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}.cls-2{fill:url(#Super_Soft_Black_Vignette-2);}</style><radialGradient id="Super_Soft_Black_Vignette" cx="7.539" cy="10.596" r="8.346" gradientTransform="translate(0.912 0.534) scale(0.95 0.95)" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient><radialGradient id="Super_Soft_Black_Vignette-2" cx="28.941" cy="10.748" r="8.347" xlink:href="#Super_Soft_Black_Vignette"/></defs><title>1111</title><path class="cls-1" d="M13.995,1.2a0.278,0.278,0,0,0-.291.033L2.1,10.385a0.284,0.284,0,0,0,0,.431l11.6,9.153a0.271,0.271,0,0,0,.442-0.215V15.528L8.174,10.816a0.284,0.284,0,0,1,0-.431L14.145,5.67V1.445A0.279,0.279,0,0,0,13.995,1.2Z"/><path class="cls-2" d="M34.378,10.529l-11.6-9.153a0.28,0.28,0,0,0-.293-0.033,0.276,0.276,0,0,0-.148.247V5.816l5.971,4.713a0.284,0.284,0,0,1,0,.431l-5.971,4.712V19.9a0.273,0.273,0,0,0,.148.248,0.281,0.281,0,0,0,.293-0.031l11.6-9.153A0.282,0.282,0,0,0,34.378,10.529Z"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/labels.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 29.365 29.524"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}</style><radialGradient id="Super_Soft_Black_Vignette" cx="14.682" cy="14.762" r="13.962" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient></defs><title>1111</title><path class="cls-1" d="M28.607,0.762L17.449,1.4,0.758,18.091,11.43,28.762,28.121,12.071ZM24.894,4.533a2.279,2.279,0,1,1-3.222,0A2.278,2.278,0,0,1,24.894,4.533Z"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/list-group.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 28.056 22.28"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}.cls-2{fill:url(#Super_Soft_Black_Vignette-2);}.cls-3{fill:url(#Super_Soft_Black_Vignette-3);}.cls-4{fill:url(#Super_Soft_Black_Vignette-4);}.cls-5{fill:url(#Super_Soft_Black_Vignette-5);}.cls-6{fill:url(#Super_Soft_Black_Vignette-6);}</style><radialGradient id="Super_Soft_Black_Vignette" cx="18.084" cy="19.414" r="6.669" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient><radialGradient id="Super_Soft_Black_Vignette-2" cx="18.084" cy="2.866" r="6.669" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-3" cx="18.084" cy="11.14" r="6.669" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-4" cx="3.705" cy="19.414" r="2.585" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-5" cx="3.705" cy="2.866" r="2.585" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-6" cx="3.705" cy="11.14" r="2.585" xlink:href="#Super_Soft_Black_Vignette"/></defs><title>1111</title><rect class="cls-1" x="8.919" y="17.188" width="18.331" height="4.451"/><rect class="cls-2" x="8.919" y="0.64" width="18.331" height="4.453"/><rect class="cls-3" x="8.919" y="8.913" width="18.331" height="4.453"/><rect class="cls-4" x="0.806" y="17.188" width="5.799" height="4.451"/><rect class="cls-5" x="0.806" y="0.64" width="5.799" height="4.453"/><rect class="cls-6" x="0.806" y="8.913" width="5.799" height="4.453"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/navbar.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 28.158 28.16"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}.cls-2{fill:url(#Super_Soft_Black_Vignette-2);}.cls-3{fill:url(#Super_Soft_Black_Vignette-3);}</style><radialGradient id="Super_Soft_Black_Vignette" cx="8.259" cy="8.407" r="7.254" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient><radialGradient id="Super_Soft_Black_Vignette-2" cx="19.899" cy="19.752" r="7.254" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-3" cx="14.116" cy="14.122" r="12.134" xlink:href="#Super_Soft_Black_Vignette"/></defs><title>1111</title><path class="cls-1" d="M3.8,15.735V3.8H15.438L14.274,2.639A1.357,1.357,0,0,1,13.815,1.1a0.139,0.139,0,0,0,.008-0.016H1.08V13.823a1.335,1.335,0,0,1,1.241.431Z"/><path class="cls-2" d="M26.82,14.372a1.372,1.372,0,0,1-.983-0.468l-1.482-1.481V24.355H12.72l1.163,1.164a1.353,1.353,0,0,1,.459,1.541,0.1,0.1,0,0,1-.01.02H27.078V14.32A1.071,1.071,0,0,1,26.82,14.372Z"/><path class="cls-3" d="M8.98,24.06l0.635-.637,7.091-7.09,0.029-.045,0.069-.07,6.753-6.753,0.636-.637,0.633,0.637,1.413,1.411-0.122-8.9c-1.379.014-6.777,0.1-8.939,0.132l1.438,1.439,0.637,0.635-0.637.637-7.087,7.086-0.027.043-0.074.073L4.673,18.78l-0.634.635L3.4,18.78,1.992,17.367l0.122,8.9c1.389-.014,6.779-0.1,8.94-0.132L9.615,24.695Z"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/panels.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 31.512 27.026"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}.cls-2{fill:url(#Super_Soft_Black_Vignette-2);}.cls-3{fill:url(#Super_Soft_Black_Vignette-3);}.cls-4{fill:url(#Super_Soft_Black_Vignette-4);}.cls-5{fill:url(#Super_Soft_Black_Vignette-5);}.cls-6{fill:url(#Super_Soft_Black_Vignette-6);}</style><radialGradient id="Super_Soft_Black_Vignette" cx="13.291" cy="17.998" r="2.705" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient><radialGradient id="Super_Soft_Black_Vignette-2" cx="16.002" cy="18.261" r="0.006" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-3" cx="20.491" cy="9.032" r="6.779" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-4" cx="22.392" cy="10.919" r="6.779" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-5" cx="28.606" cy="2.85" r="1.721" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-6" cx="13.681" cy="13.513" r="12.5" xlink:href="#Super_Soft_Black_Vignette"/></defs><title>1111</title><polygon class="cls-1" points="15.996 18.256 13.016 15.294 13.025 15.306 10.585 20.703 15.996 18.256"/><polygon class="cls-2" points="15.998 18.256 15.996 18.256 16.008 18.267 15.998 18.256"/><polygon class="cls-3" points="26.055 2.278 13.688 14.556 14.927 15.786 27.294 3.511 26.055 2.278"/><polygon class="cls-4" points="15.589 16.445 16.828 17.673 29.196 5.398 27.956 4.165 15.589 16.445"/><path class="cls-5" d="M29.652,1.694A2.2,2.2,0,0,0,26.881,1.6l2.995,2.967A2.132,2.132,0,0,0,29.652,1.694Z"/><polygon class="cls-6" points="23.156 22.989 4.205 22.989 4.205 4.038 21.926 4.038 25.166 1.013 1.181 1.013 1.181 26.013 26.181 26.013 26.181 10.283 23.156 13.397 23.156 22.989"/></svg>
library/toolset/onthego-resources/onthegosystems-icons/vectors/wells.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 29.922 28.239"><defs><style>.cls-1{fill:url(#Super_Soft_Black_Vignette);}.cls-2,.cls-3,.cls-4,.cls-5{fill-rule:evenodd;}.cls-2{fill:url(#Super_Soft_Black_Vignette-2);}.cls-3{fill:url(#Super_Soft_Black_Vignette-3);}.cls-4{fill:url(#Super_Soft_Black_Vignette-4);}.cls-5{fill:url(#Super_Soft_Black_Vignette-5);}</style><radialGradient id="Super_Soft_Black_Vignette" cx="-419.916" cy="1469.763" r="8.842" gradientTransform="translate(1480.715 437.24) rotate(90)" gradientUnits="userSpaceOnUse"><stop offset="0.574" stop-color="#130c0e"/><stop offset="0.798" stop-color="#130c0e"/><stop offset="1" stop-color="#130c0e"/></radialGradient><radialGradient id="Super_Soft_Black_Vignette-2" cx="-419.916" cy="1454.342" r="2.084" gradientTransform="translate(1347.157 -725.03) rotate(45)" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-3" cx="-418.022" cy="1448.734" r="2.371" gradientTransform="translate(1347.157 -725.03) rotate(45)" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-4" cx="-426.09" cy="1454.792" r="1.975" gradientTransform="translate(1347.157 -725.03) rotate(45)" xlink:href="#Super_Soft_Black_Vignette"/><radialGradient id="Super_Soft_Black_Vignette-5" cx="-414.699" cy="1454.083" r="1.2" gradientTransform="translate(1347.157 -725.03) rotate(45)" xlink:href="#Super_Soft_Black_Vignette"/></defs><title>1111</title><rect class="cls-1" x="-1.346" y="15.061" width="24.597" height="4.525" transform="translate(-9.042 12.818) rotate(-45)"/><path class="cls-2" d="M24.278,6.273L22,4c-0.71-.71-1.037.113-1.746,0.822s-1.531,1.036-.821,1.746L21.711,8.84c0.71,0.71,1.037-.113,1.746-0.821S24.989,6.983,24.278,6.273Z"/><polygon class="cls-3" points="28.251 3.765 28.794 2.16 27.191 2.705 25.829 1.69 25.851 3.386 24.468 4.367 26.085 4.87 26.588 6.488 27.568 5.103 29.266 5.127 28.251 3.765"/><polygon class="cls-4" points="18.081 2.349 18.534 1.01 17.196 1.464 16.064 0.619 16.082 2.032 14.928 2.849 16.278 3.267 16.696 4.617 17.513 3.463 18.926 3.481 18.081 2.349"/><polygon class="cls-5" points="26.279 9.91 26.555 9.099 25.744 9.375 25.053 8.86 25.066 9.722 24.365 10.215 25.185 10.47 25.438 11.288 25.932 10.588 26.794 10.601 26.279 9.91"/></svg>
library/toolset/toolset-common/bootstrap.php CHANGED
@@ -184,6 +184,15 @@ class Toolset_Common_Bootstrap {
184
  require_once( TOOLSET_COMMON_PATH . '/inc/toolset.wpml.compatibility.class.php' );
185
  $this->wpml_compatibility = new Toolset_WPML_Compatibility();
186
  }
 
 
 
 
 
 
 
 
 
187
 
188
  require_once( TOOLSET_COMMON_PATH . '/inc/toolset.compatibility.php' );
189
  require_once( TOOLSET_COMMON_PATH . '/inc/toolset.function.helpers.php' );
184
  require_once( TOOLSET_COMMON_PATH . '/inc/toolset.wpml.compatibility.class.php' );
185
  $this->wpml_compatibility = new Toolset_WPML_Compatibility();
186
  }
187
+ if ( ! class_exists( 'Toolset_Relevanssi_Compatibility' ) ) {
188
+ require_once( TOOLSET_COMMON_PATH . '/inc/toolset.relevanssi.compatibility.class.php' );
189
+ $this->relevanssi_compatibility = new Toolset_Relevanssi_Compatibility();
190
+ }
191
+
192
+ if ( ! class_exists( 'Toolset_CssComponent' ) ) {
193
+ require_once( TOOLSET_COMMON_PATH . '/inc/toolset.css.component.class.php' );
194
+ $toolset_bs_component = Toolset_CssComponent::getInstance();
195
+ }
196
 
197
  require_once( TOOLSET_COMMON_PATH . '/inc/toolset.compatibility.php' );
198
  require_once( TOOLSET_COMMON_PATH . '/inc/toolset.function.helpers.php' );
library/toolset/toolset-common/changelog.txt CHANGED
@@ -1,9 +1,18 @@
 
 
 
 
 
 
 
 
1
  Common 2.1 (June 13, 2016)
2
  - Refactored event-manager library to toolset-event manager to namespace it and avoid conficts with ACF Plugin
3
  - Added a new class for promotional and help videos management
4
  - Improved compatibility with PHP 5.2
5
  - Improved compatibility with WPML, including admin language switchers and loading times
6
  - Improved compatibility for CRED file uploads and bundled scripts
 
7
 
8
  -------------------------------------------------------------------------------------------------------------------
9
 
1
+ Common 2.2 (August 24, 2016)
2
+ - Added compatibility classes for Relevanssi and Beaver Builder
3
+ - Added a CSS components class
4
+ - Improved the Toolset Common assets management
5
+ - Added the Glyphicons library
6
+
7
+ -------------------------------------------------------------------------------------------------------------------
8
+
9
  Common 2.1 (June 13, 2016)
10
  - Refactored event-manager library to toolset-event manager to namespace it and avoid conficts with ACF Plugin
11
  - Added a new class for promotional and help videos management
12
  - Improved compatibility with PHP 5.2
13
  - Improved compatibility with WPML, including admin language switchers and loading times
14
  - Improved compatibility for CRED file uploads and bundled scripts
15
+ - Fixed double slashes on assets URLs
16
 
17
  -------------------------------------------------------------------------------------------------------------------
18
 
library/toolset/toolset-common/inc/toolset.assets.manager.class.php CHANGED
@@ -133,14 +133,25 @@ class Toolset_Assets_Manager
133
  protected static $instance;
134
  protected $styles = array();
135
  protected $scripts = array();
 
 
 
 
 
 
 
 
 
136
  protected $assets_url = '';
137
 
138
  protected function __construct() {
 
139
  if ( is_admin() ) {
140
  $this->assets_url = TOOLSET_COMMON_URL;
141
  } else {
142
  $this->assets_url = TOOLSET_COMMON_FRONTEND_URL;
143
  }
 
144
 
145
  add_action( 'init', array( $this, 'init' ), 99 );
146
  //be
@@ -177,6 +188,10 @@ class Toolset_Assets_Manager
177
  $this->__initialize_styles();
178
  $this->__initialize_scripts();
179
  }
 
 
 
 
180
 
181
  /*
182
  * @return void
133
  protected static $instance;
134
  protected $styles = array();
135
  protected $scripts = array();
136
+
137
+ /**
138
+ * assets_url
139
+ *
140
+ * Base URL for the Toolset Common instance.
141
+ *
142
+ * @note Does not have a trailing slash due to untrailingslashit, add it when registering each asset.
143
+ * @since 2.0
144
+ */
145
  protected $assets_url = '';
146
 
147
  protected function __construct() {
148
+
149
  if ( is_admin() ) {
150
  $this->assets_url = TOOLSET_COMMON_URL;
151
  } else {
152
  $this->assets_url = TOOLSET_COMMON_FRONTEND_URL;
153
  }
154
+ $this->assets_url = untrailingslashit( $this->assets_url );
155
 
156
  add_action( 'init', array( $this, 'init' ), 99 );
157
  //be
188
  $this->__initialize_styles();
189
  $this->__initialize_scripts();
190
  }
191
+
192
+ public function get_assets_url() {
193
+ return $this->assets_url;
194
+ }
195
 
196
  /*
197
  * @return void
library/toolset/toolset-common/inc/toolset.css.component.class.php ADDED
@@ -0,0 +1,554 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * This class will take care of loading bootstrap components buttons and custom buttons added by user
4
+ * Buttons will be visible on pages defined in $this->allowed_pages()
5
+ *
6
+ * since: Layouts 1.8
7
+ */
8
+ if ( ! class_exists( 'Toolset_CssComponent' ) ) {
9
+
10
+ Class Toolset_CssComponent{
11
+
12
+
13
+ private static $instance;
14
+
15
+ const BOOTSTRAP_CSS_COMPONENTS_DOC_BASE = 'http://getbootstrap.com/components/';
16
+ const BOOTSTRAP_CSS_DOC_BASE = 'http://getbootstrap.com/css/';
17
+
18
+ function __construct() {
19
+
20
+ add_action( 'admin_init', array( $this, 'admin_init' ) );
21
+ add_action('init', array($this, 'load_dialog_boxes'));
22
+
23
+ add_filter('toolset_add_registered_script', array(&$this, 'add_register_scripts'));
24
+ add_filter('toolset_add_registered_styles', array(&$this, 'add_register_styles'));
25
+ add_action('admin_print_scripts', array(&$this, 'admin_enqueue_scripts'));
26
+
27
+ add_action( 'wp_ajax_toolset_bs_update_option', array($this, 'toolset_bs_update_option') );
28
+ }
29
+
30
+ public static function getInstance() {
31
+ if( !self::$instance ) {
32
+ self::$instance = new Toolset_CssComponent();
33
+ }
34
+
35
+ return self::$instance;
36
+ }
37
+
38
+ function add_toggle_button($buttons)
39
+ {
40
+ if(wp_script_is( 'quicktags' )) {
41
+ array_push($buttons, 'css_components_toolbar_toggle');
42
+ }
43
+
44
+ return $buttons;
45
+ }
46
+
47
+ public function add_register_scripts($scripts){
48
+ $scripts[] = new Toolset_Script('toolset-css-component-buttons', TOOLSET_COMMON_URL . "/res/js/toolset-bs-component-buttons.js", array('jquery'), false);
49
+ $scripts[] = new Toolset_Script( 'toolset-css-component-events', TOOLSET_COMMON_URL . "/res/js/toolset-bs-component-events.js", array('jquery'), true);
50
+ return $scripts;
51
+ }
52
+
53
+ public function add_register_styles($styles){
54
+ $styles[] = new Toolset_Style('toolset-bs-component-style', TOOLSET_COMMON_URL . '/res/css/toolset-bs-component.css', array(), TOOLSET_VERSION );
55
+ $styles[] = new Toolset_Style('glyphicons', TOOLSET_COMMON_URL. '/res/lib/glyphicons/css/glyphicons.css', array(), '3.3.5', 'screen');
56
+ return $styles;
57
+ }
58
+
59
+ public function toolset_bs_update_option(){
60
+ if($_POST['option'] && isset($_POST['option']) && $_POST['value'] && isset($_POST['value'])){
61
+
62
+ $option_name = 'toolset_bs_component_'.$_POST['option'];
63
+ $value = ($_POST['value'] === "true") ? "yes" : "no";
64
+
65
+ update_option( $option_name, $value);
66
+ }
67
+ echo get_option( $option_name );
68
+
69
+ wp_die();
70
+ }
71
+
72
+ public function admin_enqueue_scripts()
73
+ {
74
+
75
+ if(!$this->is_allowed_page()){
76
+ return;
77
+ }
78
+
79
+ do_action('toolset_enqueue_styles', array(
80
+ 'toolset-bs-component-style',
81
+ 'wp-jquery-ui-dialog',
82
+ 'ddl-dialogs-css',
83
+ 'glyphicons'
84
+ ));
85
+
86
+ $get_components = $this->all_css_components();
87
+
88
+ do_action('toolset_enqueue_scripts', array(
89
+ 'toolset-css-component-buttons',
90
+ 'toolset-css-component-events'
91
+ ));
92
+
93
+ do_action('toolset_localize_script', 'toolset-css-component-events', 'Toolset_CssComponent', array(
94
+ 'DDL_CSS_JS' => array(
95
+ 'available_css' => $get_components['css'],
96
+ 'button_toggle_show' => __('Show Bootstrap buttons','ddl-layouts'),
97
+ 'button_toggle_hide' => __('Hide Bootstrap buttons','ddl-layouts'),
98
+ 'group_label_bs_components' => __('Bootstrap Elements:','ddl-layouts'),
99
+ 'group_label_bs_css' => __('Bootstrap CSS:','ddl-layouts'),
100
+ 'group_label_other' => __('Other Elements:','ddl-layouts'),
101
+ 'codemirror_pop_message' => __('Got markup for "<span class="bs_pop_element_name_codemirror">Element</span>"? Now paste it into the editor.','ddl-layouts'),
102
+ 'tinymce_pop_message' => __('Got markup for "<span class="bs_pop_element_name_tinymce">Element</span>"? Before you paste HTML into the editor, <br>remember to switch to HTML editing. Then, paste the code into the editor.','ddl-layouts'),
103
+ 'available_components' => $get_components['components'],
104
+ 'other' => $get_components['other'],
105
+ 'hide_editor_pop_msg' => (get_option( 'toolset_bs_component_hide_pop_msg' )) ? get_option( 'toolset_bs_component_hide_pop_msg' ) : "no",
106
+ 'show_bs_buttons_cm_status' => (get_option( 'toolset_bs_component_show_buttons_cm_status' )) ? get_option( 'toolset_bs_component_show_buttons_cm_status' ) : "no",
107
+ 'show_bs_buttons_tinymce_status' => (get_option( 'toolset_bs_component_show_buttons_tinymce_status' )) ? get_option( 'toolset_bs_component_show_buttons_tinymce_status' ) : "no",
108
+ 'toggle_button_label_toggle' => __('Toggle Bootstrap Components', "toolset-common"),
109
+ 'toggle_button_tooltip' => __('Bootstrap Components Toggle', "toolset-common"),
110
+ ),
111
+ )
112
+ );
113
+ }
114
+
115
+
116
+ // list of allowed pages (only there we will load buttons)
117
+ public function allowed_pages(){
118
+ return array('dd_layouts_edit','views-editor','ct-editor','view-archives-editor');
119
+ }
120
+
121
+ // check is allowed page currently loaded
122
+ public function is_allowed_page(){
123
+
124
+ $bootstrap_available = false;
125
+
126
+ $bootstrap_version_option = get_option( 'wpv_options' );
127
+
128
+ if(isset($bootstrap_version_option["wpv_bootstrap_version"]) && $bootstrap_version_option["wpv_bootstrap_version"] != "-1"){
129
+ $bootstrap_available = true;
130
+ }
131
+
132
+ if(defined('LAYOUTS_PLUGIN_NAME')){
133
+ $bootstrap_available = true;
134
+ }
135
+
136
+ $get_page = (isset($_GET['page']) && $_GET['page']) ? $_GET['page'] : null;
137
+
138
+ if(!in_array($get_page, $this->allowed_pages()) || $bootstrap_available === false){
139
+ return false;
140
+ } else {
141
+ return true;
142
+ }
143
+ }
144
+
145
+
146
+ function admin_init(){
147
+
148
+ if(!$this->is_allowed_page()){
149
+ return;
150
+ }
151
+
152
+ // register buttons for tinyMCE
153
+ add_filter( 'mce_external_plugins', array($this,'toolset_tinymce_register_buttons') );
154
+ add_filter( "mce_buttons_3", array( $this, "register_buttons_editor_components" ) );
155
+ add_filter( "mce_buttons_3", array( $this, "register_buttons_editor_css" ) );
156
+ add_filter( "mce_buttons_3", array( $this, "register_buttons_other" ) );
157
+ add_filter('mce_buttons', array(&$this, 'add_toggle_button') );
158
+ }
159
+
160
+ function load_dialog_boxes(){
161
+
162
+ $dialogs = array();
163
+ $dialogs[] = new WPDDL_CssComponenetDialog( array('toolset_page_views-editor','toolset_page_dd_layouts_edit','toolset_page_view-archives-editor','toolset_page_ct-editor') );
164
+
165
+ foreach( $dialogs as &$dialog ){
166
+ add_action('current_screen', array(&$dialog, 'init_screen_render') );
167
+ }
168
+ return $dialogs;
169
+ }
170
+
171
+ /*
172
+ * TinyMCE buttons
173
+ */
174
+
175
+ public function toolset_tinymce_register_buttons(){
176
+
177
+ if(wp_script_is( 'quicktags' )) {
178
+ //enqueue TinyMCE plugin script with its ID.
179
+ $get_components = $this->all_css_components();
180
+ foreach($get_components['components'] as $key=>$value){
181
+ $plugin_array["css_components_".$key."_button"] = TOOLSET_COMMON_URL . "/res/js/toolset-bs-component-buttons.js";
182
+ }
183
+ foreach($get_components['css'] as $key=>$value){
184
+ $plugin_array["css_".$key."_button"] = TOOLSET_COMMON_URL . "/res/js/toolset-bs-component-buttons.js";
185
+ }
186
+
187
+ foreach($get_components['other'] as $key=>$value){
188
+ $plugin_array["other_".$key."_button"] = TOOLSET_COMMON_URL . "/res/js/toolset-bs-component-buttons.js";
189
+ }
190
+
191
+ $plugin_array['css_components_toolbar_toggle'] = TOOLSET_COMMON_URL . "/res/js/toolset-bs-component-buttons.js";
192
+ }
193
+
194
+ return $plugin_array;
195
+
196
+ }
197
+
198
+ function register_buttons_editor_components( $buttons ) {
199
+ if(wp_script_is( 'quicktags' )) {
200
+ //register buttons with their id.
201
+ $get_components = $this->all_css_components();
202
+ foreach($get_components['components'] as $key=>$value){
203
+ array_push( $buttons, "css_components_".$key."_button" );
204
+ }
205
+
206
+ }
207
+
208
+ return $buttons;
209
+ }
210
+
211
+ function register_buttons_editor_css($buttons){
212
+ if(wp_script_is( 'quicktags' )) {
213
+ //register buttons with their id.
214
+ $get_components = $this->all_css_components();
215
+ foreach($get_components['css'] as $key=>$value){
216
+ array_push( $buttons, "css_".$key."_button" );
217
+ }
218
+ }
219
+
220
+ return $buttons;
221
+ }
222
+
223
+ function register_buttons_other($buttons){
224
+ if(wp_script_is( 'quicktags' )) {
225
+ //register buttons with their id.
226
+ $get_components = $this->all_css_components();
227
+ foreach($get_components['other'] as $key=>$value){
228
+ array_push( $buttons, "other_".$key."_button" );
229
+ }
230
+
231
+ }
232
+
233
+ return $buttons;
234
+ }
235
+
236
+ /////////////////
237
+
238
+ function preload_styles(){
239
+
240
+ do_action('toolset_enqueue_styles', array(
241
+ 'toolset-bs-component-style',
242
+ 'wp-jquery-ui-dialog',
243
+ 'ddl-dialogs-css',
244
+ 'glyphicons'
245
+ ));
246
+ }
247
+
248
+
249
+
250
+ public function get_extra_editor_buttons(){
251
+ $additional_buttons = apply_filters('extra_editor_buttons', array());
252
+ return $additional_buttons;
253
+ }
254
+
255
+ // list of all standard components
256
+ public function all_css_components(){
257
+
258
+ return array(
259
+ "components"=>
260
+ array(
261
+ 'glyphicons' => array(
262
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#glyphicons',
263
+ 'description' => __('Includes over 250 glyphs in font format from the Glyphicon Halflings set. Glyphicons Halflings are normally not available for free, but their creator has made them available for Bootstrap free of cost.','ddl-layouts'),
264
+ 'button_icon' => ' glyphicon glyphicon-plus-sign',
265
+ 'button_icon_size' => 'ont-icon-18',
266
+ 'dialog_icon_size' => 'ont-icon-72',
267
+ 'name' => __('Glyphicons','ddl-layouts')
268
+ ),
269
+ 'dropdowns' => array(
270
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#dropdowns',
271
+ 'description' => __('Toggleable, contextual menu for displaying lists of links. Made interactive with the dropdown JavaScript plugin.','ddl-layouts'),
272
+ 'button_icon' => ' glyphicon glyphicon-list-alt',
273
+ 'button_icon_size' => 'ont-icon-18',
274
+ 'dialog_icon_size' => 'ont-icon-72',
275
+ 'name' => __('Dropdowns','ddl-layouts')
276
+ ),
277
+ 'button_groups' => array(
278
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#btn-groups',
279
+ 'description' => __('Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with our buttons plugin.','ddl-layouts'),
280
+ 'button_icon' => ' glyphicon glyphicon-tasks ',
281
+ 'button_icon_size' => 'ont-icon-18',
282
+ 'dialog_icon_size' => 'ont-icon-72',
283
+ 'name' => __('Button groups','ddl-layouts')
284
+ ),
285
+ 'button_dropdowns' => array(
286
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#btn-dropdowns',
287
+ 'description' => __('Use any button to trigger a dropdown menu by placing it within a .btn-group and providing the proper menu markup.','ddl-layouts'),
288
+ 'button_icon' => ' glyphicon glyphicon-th-list ',
289
+ 'button_icon_size' => 'ont-icon-18',
290
+ 'dialog_icon_size' => 'ont-icon-72',
291
+ 'name' => __('Button dropdowns','ddl-layouts')
292
+ ),
293
+ 'input_groups' => array(
294
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#input-groups',
295
+ 'description' => __('Extend form controls by adding text or buttons before, after, or on both sides of any text-based input.','ddl-layouts'),
296
+ 'button_icon' => ' icon-input-groups ',
297
+ 'button_icon_size' => 'ont-icon-13',
298
+ 'dialog_icon_size' => 'ont-icon-72',
299
+ 'name' => __('Input groups','ddl-layouts')
300
+ ),
301
+ 'navs' => array(
302
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#nav',
303
+ 'description' => __('Navs available in Bootstrap have shared markup, starting with the base .nav class, as well as shared states. Swap modifier classes to switch between each style.','ddl-layouts'),
304
+ 'button_icon' => ' glyphicon glyphicon-object-align-top ',
305
+ 'button_icon_size' => 'ont-icon-18',
306
+ 'dialog_icon_size' => 'ont-icon-72',
307
+ 'name' => __('Navs','ddl-layouts')
308
+ ),
309
+ 'navbar' => array(
310
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#navbar',
311
+ 'description' => __('Navbars are responsive meta components that serve as navigation headers for your application or site.','ddl-layouts'),
312
+ 'button_icon' => ' icon-navbar ',
313
+ 'button_icon_size' => 'ont-icon-18',
314
+ 'dialog_icon_size' => 'ont-icon-72',
315
+ 'name' => __('Navbar','ddl-layouts')
316
+ ),
317
+ 'breadcrumbs' => array(
318
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#breadcrumbs',
319
+ 'description' => __('Indicate the current page\'s location within a navigational hierarchy.','ddl-layouts'),
320
+ 'button_icon' => ' icon-breadcrumbs ',
321
+ 'button_icon_size' => 'ont-icon-5',
322
+ 'dialog_icon_size' => 'ont-icon-30',
323
+ 'name' => __('Breadcrumbs','ddl-layouts')
324
+ ),
325
+ 'pagination' => array(
326
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#pagination',
327
+ 'description' => __('Provide pagination links for your site or app with the multi-page pagination component.','ddl-layouts'),
328
+ 'button_icon' => ' icon-bootstrap-pagination ',
329
+ 'button_icon_size' => 'ont-icon-6',
330
+ 'dialog_icon_size' => 'ont-icon-30',
331
+ 'name' => __('Pagination','ddl-layouts')
332
+ ),
333
+ 'labels' => array(
334
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#labels',
335
+ 'description' => __('Provide different kind of labels for your website.','ddl-layouts'),
336
+ 'button_icon' => ' icon-labels ',
337
+ 'button_icon_size' => 'ont-icon-18',
338
+ 'dialog_icon_size' => 'ont-icon-72',
339
+ 'name' => __('Labels','ddl-layouts')
340
+ ),
341
+ 'badges' => array(
342
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#badges',
343
+ 'description' => __('Easily highlight new or unread items by adding a <span class="badge"> to links, Bootstrap navs, and more.','ddl-layouts'),
344
+ 'button_icon' => ' glyphicon glyphicon-certificate ',
345
+ 'button_icon_size' => 'ont-icon-18',
346
+ 'dialog_icon_size' => 'ont-icon-72',
347
+ 'name' => __('Badges','ddl-layouts')
348
+ ),
349
+ 'page_header' => array(
350
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#page-header',
351
+ 'description' => __('A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1\'s default small element, as well as most other components (with additional styles).','ddl-layouts'),
352
+ 'button_icon' => ' glyphicon glyphicon-header ',
353
+ 'button_icon_size' => 'ont-icon-18',
354
+ 'dialog_icon_size' => 'ont-icon-72',
355
+ 'name' => __('Page header','ddl-layouts')
356
+ ),
357
+ 'thumbnails' => array(
358
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#thumbnails',
359
+ 'description' => __('Extend Bootstrap\'s grid system with the thumbnail component to easily display grids of images, videos, text, and more.','ddl-layouts'),
360
+ 'button_icon' => ' glyphicon glyphicon-picture ',
361
+ 'button_icon_size' => 'ont-icon-18',
362
+ 'dialog_icon_size' => 'ont-icon-72',
363
+ 'name' => __('Thumbnails','ddl-layouts')
364
+ ),
365
+ 'alerts' => array(
366
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#alerts',
367
+ 'description' => __('Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.','ddl-layouts'),
368
+ 'button_icon' => ' glyphicon glyphicon-warning-sign ',
369
+ 'button_icon_size' => 'ont-icon-18',
370
+ 'dialog_icon_size' => 'ont-icon-72',
371
+ 'name' => __('Alerts','ddl-layouts')
372
+ ),
373
+ 'progress_bars' => array(
374
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#progress',
375
+ 'description' => __('Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.','ddl-layouts'),
376
+ 'button_icon' => ' glyphicon glyphicon-tasks ',
377
+ 'button_icon_size' => 'ont-icon-18',
378
+ 'dialog_icon_size' => 'ont-icon-72',
379
+ 'name' => __('Progress bars','ddl-layouts')
380
+ ),
381
+ 'media_object' => array(
382
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#media',
383
+ 'description' => __('Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.','ddl-layouts'),
384
+ 'button_icon' => ' glyphicon glyphicon-film ',
385
+ 'button_icon_size' => 'ont-icon-18',
386
+ 'dialog_icon_size' => 'ont-icon-72',
387
+ 'name' => __('Media object','ddl-layouts')
388
+ ),
389
+ 'list_group' => array(
390
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#list-group',
391
+ 'description' => __('List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.','ddl-layouts'),
392
+ 'button_icon' => ' icon-list-group ',
393
+ 'button_icon_size' => 'ont-icon-18',
394
+ 'dialog_icon_size' => 'ont-icon-72',
395
+ 'name' => __('List group','ddl-layouts')
396
+ ),
397
+ 'panels' => array(
398
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#panels',
399
+ 'description' => __('While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.','ddl-layouts'),
400
+ 'button_icon' => ' icon-panels ',
401
+ 'button_icon_size' => 'ont-icon-18',
402
+ 'dialog_icon_size' => 'ont-icon-72',
403
+ 'name' => __('Panels','ddl-layouts')
404
+ ),
405
+ 'responsive_embed' => array(
406
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#responsive-embed',
407
+ 'description' => __('Allow browsers to determine video or slideshow dimensions based on the width of their containing block by creating an intrinsic ratio that will properly scale on any device.','ddl-layouts'),
408
+ 'button_icon' => ' glyphicon glyphicon-resize-full ',
409
+ 'button_icon_size' => 'ont-icon-18',
410
+ 'dialog_icon_size' => 'ont-icon-72',
411
+ 'name' => __('Responsive embed','ddl-layouts')
412
+ ),
413
+ 'wells' => array(
414
+ 'url' => self::BOOTSTRAP_CSS_COMPONENTS_DOC_BASE.'#wells',
415
+ 'description' => __('Use the well as a simple effect on an element to give it an inset effect.','ddl-layouts'),
416
+ 'button_icon' => ' icon-wells ',
417
+ 'button_icon_size' => 'ont-icon-18',
418
+ 'dialog_icon_size' => 'ont-icon-72',
419
+ 'name' => __('Wells','ddl-layouts')
420
+ ),
421
+ ),
422
+ "css"=>
423
+ array(
424
+ 'grid_system' => array(
425
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#grid',
426
+ 'description' => __('Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases','ddl-layouts'),
427
+ 'button_icon' => ' glyphicon glyphicon-th ',
428
+ 'button_icon_size' => 'ont-icon-18',
429
+ 'dialog_icon_size' => 'ont-icon-72',
430
+ 'name' => __('Grid system','ddl-layouts')
431
+ ),
432
+ 'typography' => array(
433
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#type',
434
+ 'description' => __('Bootstrap includes simple and easily customized typography for headings, body text, lists, and more.','ddl-layouts'),
435
+ 'button_icon' => ' glyphicon glyphicon-text-height ',
436
+ 'button_icon_size' => 'ont-icon-18',
437
+ 'dialog_icon_size' => 'ont-icon-72',
438
+ 'name' => __('Typography','ddl-layouts')
439
+ ),
440
+ 'code' => array(
441
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#code',
442
+ 'description' => __('Bootstrap includes styling for different types of text quotes. This includes code, blockquotes, variables, and others.','ddl-layouts'),
443
+ 'button_icon' => ' glyphicon glyphicon-console ',
444
+ 'button_icon_size' => 'ont-icon-18',
445
+ 'dialog_icon_size' => 'ont-icon-72',
446
+ 'name' => __('Code','ddl-layouts')
447
+ ),
448
+ 'tables' => array(
449
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#tables',
450
+ 'description' => __('Bootstrap offers different styling options for tables, including different spacing of cells, contextual classes and responsive tables.','ddl-layouts'),
451
+ 'button_icon' => ' glyphicon glyphicon-th-large ',
452
+ 'button_icon_size' => 'ont-icon-18',
453
+ 'dialog_icon_size' => 'ont-icon-72',
454
+ 'name' => __('Tables','ddl-layouts')
455
+ ),
456
+ 'forms' => array(
457
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#forms',
458
+ 'description' => __('Bootstrap provides several form control styles, layout options, and custom components for creating a wide variety of forms.','ddl-layouts'),
459
+ 'button_icon' => ' glyphicon glyphicon-check ',
460
+ 'button_icon_size' => 'ont-icon-18',
461
+ 'dialog_icon_size' => 'ont-icon-72',
462
+ 'name' => __('Forms','ddl-layouts')
463
+ ),
464
+ 'buttons' => array(
465
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#buttons',
466
+ 'description' => __('Bootstrap offers different classes for styling different types of buttons as well as to indicate the different states. ','ddl-layouts'),
467
+ 'button_icon' => ' icon-buttons ',
468
+ 'button_icon_size' => 'ont-icon-11',
469
+ 'dialog_icon_size' => 'ont-icon-60',
470
+ 'name' => __('Buttons','ddl-layouts')
471
+ ),
472
+ 'images' => array(
473
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#images',
474
+ 'description' => __('Bootstrap provides classes to make your images responsive and adds lightweight styles to them.','ddl-layouts'),
475
+ 'button_icon' => ' glyphicon glyphicon-picture ',
476
+ 'button_icon_size' => 'ont-icon-18',
477
+ 'dialog_icon_size' => 'ont-icon-72',
478
+ 'name' => __('Images','ddl-layouts')
479
+ ),
480
+ 'helper_classes' => array(
481
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#helper-classes',
482
+ 'description' => __('Bootstrap features a wide array of different helper classes to help you. These include clearfix, contextual colors and backgrounds, content showing and hiding, and others.','ddl-layouts'),
483
+ 'button_icon' => ' glyphicon glyphicon-question-sign ',
484
+ 'button_icon_size' => 'ont-icon-18',
485
+ 'dialog_icon_size' => 'ont-icon-72',
486
+ 'name' => __('Helper classes','ddl-layouts')
487
+ ),
488
+ 'responsive_utilities' => array(
489
+ 'url' => self::BOOTSTRAP_CSS_DOC_BASE.'#responsive-utilities',
490
+ 'description' => __('Bootstrap features additional responsive utilities for faster mobile-friendly development. These classes can be used for showing and hiding content by device via media query. ','ddl-layouts'),
491
+ 'button_icon' => ' glyphicon glyphicon-phone ',
492
+ 'button_icon_size' => 'ont-icon-18',
493
+ 'dialog_icon_size' => 'ont-icon-72',
494
+ 'name' => __('Responsive utilities','ddl-layouts')
495
+ ),
496
+ ),
497
+ "other"=> $this->get_extra_editor_buttons()
498
+
499
+ );
500
+ }
501
+
502
+
503
+
504
+ }
505
+
506
+ class WPDDL_CssComponenetDialog extends Toolset_DialogBoxes{
507
+
508
+ function __construct( $screens ){
509
+ parent::__construct( $screens );
510
+ }
511
+
512
+
513
+ public function template(){
514
+ ob_start();?>
515
+
516
+ <script type="text/html" id="ddl-bootstrap-info-dialog-tpl">
517
+ <div id="js-dialog-dialog-container">
518
+ <div class="ddl-dialog-content" id="js-dialog-content-dialog">
519
+ <div id="components-dialog-content">
520
+
521
+ <div class="toolset-bs-components-dialog-sides">
522
+ <div class="toolset-bs-components-dialog-sides-left">
523
+ <i class="{{{icon}}} {{{dialog_icon_size}}}"></i>
524
+ </div>
525
+ <div class="toolset-bs-components-dialog-sides-right">
526
+ <strong>{{{description}}}</strong><br>
527
+ <p class="toolset-bs-button-p">
528
+
529
+ <a href="{{{url}}}" target="_blank" class="button toolset-bs-componenet-check-button" data-bs_category="{{{bs_component_category}}}" data-buttons_type="{{{buttons_type}}}" data-editor_instance="{{{editor_instance}}}" data-bs_key="{{{bs_component_key}}}" onclick="ToolsetCommon.BSComponentsEventsHandler.editor_notification(this);">
530
+ <?php _e('Get Bootstrap element','ddl-layouts');?>
531
+ </a>
532
+
533
+ <br>
534
+ <small><?php _e('You will go to the official Bootstrap documentation, explaining all the options and CSS classes to create a {{title}}');?></small>
535
+ </p>
536
+ </div>
537
+ <div class="toolset-bs-components-dialog-sides-bottom">
538
+ <hr>
539
+ <p class="toolset-bs-button-p">
540
+ <a href="<?php _e('https://wp-types.com/user-guides/using-bootstrap-css-elements-content?utm_source=layoutsplugin&utm_campaign=layouts&utm_medium=bootstrap-components&utm_term=help-link','ddl-layouts');?>" target="_blank"><?php _e('Learn how to use Bootstrap in layouts','ddl-layouts');?></a>
541
+ </p>
542
+ </div>
543
+ </div>
544
+
545
+ </div>
546
+ </div>
547
+ </div>
548
+ </script>
549
+ <?php
550
+ echo ob_get_clean();
551
+ }
552
+ }
553
+ }
554
+
library/toolset/toolset-common/inc/toolset.promotion.class.php CHANGED
@@ -107,7 +107,7 @@ if ( ! class_exists( 'Toolset_Promotion' ) ) {
107
  <ul>
108
  <li class="template"><?php _e('Create templates', 'wpcf'); ?></li>
109
  <li class="layout"><?php _e('Design page layouts using drag-and-drop', 'wpcf'); ?></li>
110
- <li class="toolset-search"><?php _e('Build parametric searches', 'wpcf'); ?></li>
111
  </ul>
112
  <ul>
113
  <li class="list"><?php _e('Display lists of content', 'wpcf'); ?></li>
107
  <ul>
108
  <li class="template"><?php _e('Create templates', 'wpcf'); ?></li>
109
  <li class="layout"><?php _e('Design page layouts using drag-and-drop', 'wpcf'); ?></li>
110
+ <li class="toolset-search"><?php _e('Build custom searches', 'wpcf'); ?></li>
111
  </ul>
112
  <ul>
113
  <li class="list"><?php _e('Display lists of content', 'wpcf'); ?></li>
library/toolset/toolset-common/inc/toolset.relevanssi.compatibility.class.php ADDED
@@ -0,0 +1,757 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * ########################################
5
+ * Common Relevanssi compatibility
6
+ * ########################################
7
+ */
8
+
9
+ if ( ! class_exists( 'Toolset_Relevanssi_Compatibility' ) ) {
10
+
11
+ class Toolset_Relevanssi_Compatibility {
12
+
13
+ function __construct() {
14
+
15
+ $this->relevanssi_installed = false;
16
+ $this->toolset_types_installed = false;
17
+ $this->toolset_views_installed = false;
18
+
19
+ $this->toolset_settings_url = '';
20
+
21
+ $this->pending_to_add = array();
22
+ $this->pending_to_remove = array();
23
+
24
+ add_action( 'init', array( $this, 'init' ) );
25
+
26
+ }
27
+
28
+ function init() {
29
+
30
+ if ( function_exists( 'relevanssi_init' ) ) {
31
+ $this->relevanssi_installed = true;
32
+ }
33
+ $this->toolset_types_installed = apply_filters( 'types_is_active', false );
34
+ $this->toolset_views_installed = apply_filters( 'toolset_is_views_available', false );
35
+
36
+ if ( $this->toolset_types_installed ) {
37
+ // Toolset Common
38
+
39
+ $this->register_assets();
40
+ add_action( 'toolset_enqueue_scripts', array( $this, 'toolset_enqueue_scripts' ) );
41
+
42
+ add_filter( 'toolset_filter_toolset_register_settings_section', array( $this, 'register_relevanssi_settings_section' ), 120 );
43
+ add_filter( 'toolset_filter_toolset_register_settings_relevanssi_section', array( $this, 'toolset_relevanssi_settings' ), 10, 2 );
44
+ add_action( 'wp_ajax_toolset_update_toolset_relevanssi_settings', array( $this, 'toolset_update_toolset_relevanssi_settings' ) );
45
+
46
+ $this->toolset_settings_url = admin_url( 'admin.php?page=toolset-settings&tab=relevanssi' );
47
+
48
+ // Toolset Types
49
+
50
+ add_filter( 'wpcf_form_field', array( $this, 'types_extend_field_settings' ), 5, 3 );
51
+ add_filter( 'wpcf_field_pre_save', array( $this, 'types_flag_field_on_save' ) );
52
+ add_action( 'wpcf_postmeta_fields_group_saved', array( $this, 'types_store_fields_on_group_save' ) );
53
+
54
+ add_action( 'admin_footer', array( $this, 'types_manage_extended_field_settings' ), 25 );
55
+
56
+ // Toolset Views
57
+
58
+ if (
59
+ $this->toolset_views_installed
60
+ && $this->relevanssi_installed
61
+ ) {
62
+ // Views queries compatibility
63
+ add_filter( 'wpv_filter_query', array( $this, 'wpv_filter_query_compatibility' ), 99, 3 );
64
+ add_filter( 'wpv_filter_query_post_process', array( $this, 'wpv_filter_query_post_proccess_compatibility' ), 99, 3 );
65
+ // Register search contet options
66
+ add_filter( 'wpv_filter_wpv_extend_post_search_content_options', array( $this, 'wpv_extend_post_search_content_options' ) );
67
+ // Fix Relevanssi max_num_pages
68
+ add_action( 'wpv_action_wpv_before_clone_archive_loop', array( $this, 'wpv_fix_relevanssi_on_archive_loops' ), 10, 2 );
69
+ add_action( 'toolset_action_toolset_relevanssi_do_query_processed', array( $this, 'wpv_fix_relevanssi_max_num_pages' ) );
70
+ }
71
+ }
72
+
73
+ }
74
+
75
+ /*
76
+ * ---------------------
77
+ * Toolset Common integration
78
+ * ---------------------
79
+ */
80
+
81
+ function register_assets() {
82
+ $toolset_bootstrap = Toolset_Common_Bootstrap::getInstance();
83
+ $toolset_assets = $toolset_bootstrap->assets_manager;
84
+ $toolset_assets->register_script(
85
+ 'toolset-relevanssi-settings-script',
86
+ $toolset_assets->get_assets_url() . '/res/js/toolset-settings-relevanssi.js',
87
+ array( 'jquery', 'underscore' ),
88
+ TOOLSET_VERSION,
89
+ true
90
+ );
91
+ }
92
+
93
+ function toolset_enqueue_scripts( $page ) {
94
+ if ( $page == 'toolset-settings' ) {
95
+ $toolset_bootstrap = Toolset_Common_Bootstrap::getInstance();
96
+ $toolset_assets = $toolset_bootstrap->assets_manager;
97
+ $toolset_assets->enqueue_scripts( 'toolset-relevanssi-settings-script' );
98
+ }
99
+ }
100
+
101
+ /**
102
+ * Text search tab inside the Toolset Settings page.
103
+ *
104
+ * @since 2.2
105
+ */
106
+
107
+ function register_relevanssi_settings_section( $registered_sections ) {
108
+ $registered_sections['relevanssi'] = array(
109
+ 'slug' => 'relevanssi',
110
+ 'title' => __( 'Text Search', 'wpv-views' )
111
+ );
112
+ return $registered_sections;
113
+ }
114
+
115
+ /**
116
+ * Text search tab content inside the Toolset Settings page.
117
+ *
118
+ * @since 2.2
119
+ */
120
+
121
+ function toolset_relevanssi_settings( $sections, $toolset_options ) {
122
+
123
+ $section_content = '';
124
+ $text_search_documentation_link = 'https://wp-types.com/documentation/user-guides/views-text-search/?utm_source=viewsplugin&utm_campaign=views&utm_medium=views-text-search-settings&utm_term=Text Search documentation';
125
+
126
+
127
+ if ( ! $this->relevanssi_installed ) {
128
+
129
+ ob_start();
130
+
131
+ ?>
132
+ <div class="notice inline notice-warning notice-alt">
133
+ <p><?php _e( 'You need to install <strong>Relevanssi</strong>', 'wpv-views' ); ?></p>
134
+ </div>
135
+ <p>
136
+ <?php
137
+ echo sprintf(
138
+ __( '%1$sRelevanssi%2$s plugin extends and improves the WordPress text search. Relevanssi allows to search in custom fields and returns the most relevant results first.', 'wpv-views' ),
139
+ '<a href="https://www.relevanssi.com/" target="_blank">',
140
+ '</a>'
141
+ );
142
+ ?>
143
+ </p>
144
+ <p>
145
+ <?php
146
+ if ( current_user_can( 'install_plugins' ) ) {
147
+ echo sprintf(
148
+ __( 'Please %1$sinstall Relevanssi%2$s to allow Toolset to search texts in custom fields.', 'wpv-views' ),
149
+ '<a href="' . admin_url( 'plugin-install.php?s=relevanssi&tab=search&type=term' ) . '">',
150
+ '</a>'
151
+ );
152
+ } else {
153
+ echo sprintf(
154
+ __( 'You can download Relevanssi it from %3$swordpress.org%4$s and ask your site administrator to install it.', 'wpv-views' ),
155
+ '<a href="https://wordpress.org/plugins/relevanssi/" target="_blank">',
156
+ '</a>'
157
+ );
158
+ }
159
+ ?>
160
+ </p>
161
+ <?php
162
+
163
+ $section_content = ob_get_clean();
164
+
165
+ } else {
166
+
167
+ $relevanssi_fields_to_index = isset( $toolset_options['relevanssi_fields_to_index'] ) ? $toolset_options['relevanssi_fields_to_index'] : array();
168
+ $actual_fields_to_index = array();
169
+ $indexable_fields = array();
170
+
171
+ $groups_args = array(
172
+ 'domain' => 'posts',
173
+ 'is_active' => true
174
+ );
175
+ $groups = apply_filters( 'types_query_groups', array(), $groups_args );
176
+
177
+ // Survive null output (error value)
178
+ if( ! is_array( $groups ) ) {
179
+ $groups = array();
180
+ }
181
+
182
+ /** @var Types_Field_Group $group */
183
+ foreach ( $groups as $group ) {
184
+ $args = array(
185
+ 'domain' => 'posts',
186
+ 'field_type' => array( 'textfield', 'textarea', 'wysiwyg' ),
187
+ 'group_id' => $group->get_id()
188
+ );
189
+ // https://onthegosystems.myjetbrains.com/youtrack/issue/types-742
190
+ $fields_in_group = apply_filters( 'types_filter_query_field_definitions', array(), $args );
191
+ if ( ! empty( $fields_in_group ) ) {
192
+ $indexable_fields[ $group->get_display_name() ] = $fields_in_group;
193
+ }
194
+ }
195
+
196
+
197
+ ob_start();
198
+
199
+ if ( empty( $indexable_fields ) ) {
200
+ ?>
201
+ <div class="notice inline notice-warning notice-alt">
202
+ <p>
203
+ <?php
204
+ echo sprintf(
205
+ __( '%1$sOnce you %2$ssetup textual custom fields in Types%3$s (single line, multiple lines, WYSIWYG), you will be able to include them in text searches here.', 'wpv-views' ),
206
+ '<i class="icon-types-logo ont-color-orange ont-icon-24" style="margin-right:5px;vertical-align:-2px;"></i>',
207
+ '<a href="' . admin_url( 'admin.php?page=wpcf-cf' ) . '">',
208
+ '</a>'
209
+ );
210
+ ?>
211
+ </p>
212
+ </div>
213
+ <?php
214
+ } else {
215
+ ?>
216
+ <h3>
217
+ <?php echo esc_html( __( 'Select which custom fields to include in text searches', 'wpv-views' ) ); ?>
218
+ </h3>
219
+ <div class="toolset-advanced-setting">
220
+ <?php
221
+ foreach( $indexable_fields as $indexable_fields_group_name => $indexable_fields_data ) {
222
+ ?>
223
+ <h4><?php echo esc_html( $indexable_fields_group_name ); ?></h4>
224
+ <ul class="toolset-mightlong-list js-toolset-relevanssi-list">
225
+ <?php
226
+ foreach ( $indexable_fields_data as $indexable_field_candidate ) {
227
+ $candidate_checked = in_array( $indexable_field_candidate['meta_key'], $relevanssi_fields_to_index );
228
+ if ( $candidate_checked ) {
229
+ $actual_fields_to_index[] = $indexable_field_candidate['meta_key'];
230
+ }
231
+ ?>
232
+ <li>
233
+ <label>
234
+ <input type="checkbox" name="toolset-relevanssi-list-item" class="js-toolset-relevanssi-list-item" value="<?php echo esc_attr( $indexable_field_candidate['meta_key'] ); ?>" <?php checked( $candidate_checked ); ?> autocomplete="off" />
235
+ <?php echo esc_html( $indexable_field_candidate['name'] ); ?>
236
+ </label>
237
+ </li>
238
+ <?php
239
+ }
240
+ ?>
241
+ </ul>
242
+ <?php
243
+ }
244
+ ?>
245
+ </div>
246
+ <div class="js-toolset-relevanssi-list-summary"<?php echo ( count( $actual_fields_to_index ) > 0 ) ? '' : ' style="display:none"'; ?>>
247
+ <h3>
248
+ <?php echo esc_html( __( 'Update the Relevanssi settings and rebuild the index', 'wpv-views' ) ); ?>
249
+ </h3>
250
+ <ol style="list-style-type:upper-roman">
251
+ <li>
252
+ <?php
253
+ _e( 'Copy this list of field names:', 'wpv-views' );
254
+ ?>
255
+ <input type="text"
256
+ readonly="readonly"
257
+ class="js-toolset-relevanssi-list-summary-fields large-text"
258
+ style="display:block;padding:5px 10px;transition: 0.5s linear;"
259
+ value="<?php echo esc_attr( implode( ', ', $actual_fields_to_index ) ); ?>"
260
+ />
261
+ </li>
262
+ <li>
263
+ <?php
264
+ echo sprintf(
265
+ __( 'Paste into "Custom fields to index" in the %1$sRelevanssi settings%2$s. Remember to double check the post types included in the index, and notice that you can also add taxonomies to it.', 'wpv-views' ),
266
+ '<a href="' . admin_url( 'options-general.php?page=relevanssi/relevanssi.php#indexing' ) . '">',
267
+ '</a>'
268
+ );
269
+ ?>
270
+ </li>
271
+ <li>
272
+ <?php
273
+ echo sprintf(
274
+ __( 'Click on "Save indexing options, erase index and rebuild the index" in the %1$sRelevanssi settings%2$s.', 'wpv-views' ),
275
+ '<a href="' . admin_url( 'options-general.php?page=relevanssi/relevanssi.php#indexing' ) . '">',
276
+ '</a>'
277
+ );
278
+ ?>
279
+ </li>
280
+ </ol>
281
+ <p class="toolset-alert toolset-alert-info">
282
+ <?php
283
+ _e( 'Your site has one list of custom fields to index. This means that all the text searches will return results from these custom fields.', 'wpv-views' );
284
+ ?>
285
+ </p>
286
+ <p>
287
+ <?php
288
+ echo sprintf(
289
+ __( 'See how to do this in the %1$sText Search documentation%2$s.', 'wpv-views' ),
290
+ '<a href="' . $text_search_documentation_link . '" target="_blank">',
291
+ '</a>'
292
+ );
293
+ ?>
294
+ </p>
295
+ </div>
296
+ <div class="js-toolset-relevanssi-list-summary-empty"<?php echo ( count( $actual_fields_to_index ) == 0 ) ? '' : ' style="display:none"'; ?>>
297
+ <p class="toolset-alert toolset-alert-warning">
298
+ <?php
299
+ _e( 'You have not selected any field to be indexed in Relevanssi searches. Please select some below.', 'wpv-views' );
300
+ ?>
301
+ </p>
302
+ </div>
303
+ <?php
304
+ wp_nonce_field( 'toolset_relevanssi_settings_nonce', 'toolset_relevanssi_settings_nonce' );
305
+ }
306
+
307
+ $section_content = ob_get_clean();
308
+
309
+ }
310
+
311
+ $sections['relevanssi-settings'] = array(
312
+ 'slug' => 'relevanssi-settings',
313
+ 'title' => __( 'Text search in custom fields', 'wpv-views' ),
314
+ 'content' => $section_content
315
+ );
316
+ return $sections;
317
+ }
318
+
319
+ function toolset_update_toolset_relevanssi_settings() {
320
+ $toolset_options = Toolset_Settings::get_instance();
321
+ if ( ! current_user_can( 'manage_options' ) ) {
322
+ $data = array(
323
+ 'type' => 'capability',
324
+ 'message' => __( 'You do not have permissions for that.', 'wpv-views' )
325
+ );
326
+ wp_send_json_error( $data );
327
+ }
328
+ if (
329
+ ! isset( $_POST["wpnonce"] )
330
+ || ! wp_verify_nonce( $_POST["wpnonce"], 'toolset_relevanssi_settings_nonce' )
331
+ ) {
332
+ $data = array(
333
+ 'type' => 'nonce',
334
+ 'message' => __( 'Your security credentials have expired. Please reload the page to get new ones.', 'wpv-views' )
335
+ );
336
+ wp_send_json_error( $data );
337
+ }
338
+ $fields = ( isset( $_POST['fields'] ) && is_array( $_POST['fields'] ) ) ? array_map( 'sanitize_text_field', $_POST['fields'] ) : array();
339
+ $toolset_options['relevanssi_fields_to_index'] = $fields;
340
+ $toolset_options->save();
341
+ wp_send_json_success();
342
+ }
343
+
344
+ /*
345
+ * ---------------------
346
+ * Types integration
347
+ * ---------------------
348
+ */
349
+
350
+ /**
351
+ * Types textfield, textarea and WYSIWYG extended field settings.
352
+ *
353
+ * Add a section with a checkbox to register fields for Relevanssi integration.
354
+ *
355
+ * @param $form array Enlinbo definitions for form elements for a given field.
356
+ * @param $data array Data for the current field being rendered. The only trusted keys that you get are:
357
+ * - meta_type string 'postmeta'|'termmeta'|'usermeta'.
358
+ * - meta_key string The field meta_key.
359
+ * @param $field_type string 'textfield'|'textarea'|'wysiwyg'|... The field type.
360
+ *
361
+ * @since 2.2
362
+ */
363
+
364
+ function types_extend_field_settings( $form, $data, $field_type = '' ) {
365
+ $meta_type = isset( $data['meta_type'] ) ? $data['meta_type'] : '';
366
+ if (
367
+ 'postmeta' == $meta_type
368
+ && in_array( $field_type, array( 'textfield', 'textarea', 'wysiwyg' ) )
369
+ ) {
370
+ $toolset_settings = Toolset_Settings::get_instance();
371
+ $relevanssi_fields_to_index = isset( $toolset_settings['relevanssi_fields_to_index'] ) ? $toolset_settings['relevanssi_fields_to_index'] : array();
372
+ $this_field_to_index = ( isset( $data['meta_key'] ) && in_array( $data['meta_key'], $relevanssi_fields_to_index ) );
373
+ $this_field_description_style = $this_field_to_index ?
374
+ '' :
375
+ ' style="display:none"';
376
+ $this_field_description = '<span class="js-toolset-toggle-relevanssi-index-description"' . $this_field_description_style . '>' . sprintf(
377
+ __( 'Go to %1$sText Search settings%2$s to build the search index.', 'wpcf' ),
378
+ '<a href="' . esc_url( $this->toolset_settings_url ) . '" target="_blank">',
379
+ '</a>'
380
+ ) . '</span>';
381
+ $form['relevanssi_index'] = array(
382
+ '#type' => 'checkbox',
383
+ '#name' => 'relevanssi_index',
384
+ '#inline' => true,
385
+ '#title' => __( 'Include in search', 'wpcf' ),
386
+ '#label' => __( 'Include this field in text searches throughout the site', 'wpcf' ),
387
+ '#description' => $this_field_description,
388
+ '#attributes' => array(
389
+ 'autocomplete' => 'off',
390
+ 'class' => 'js-toolset-toggle-relevanssi-index'
391
+ ),
392
+ '#pattern' => '<tr class="wpcf-border-top"><td><TITLE></td><td><ERROR><BEFORE><ELEMENT><LABEL><AFTER><DESCRIPTION></td></tr>'
393
+ );
394
+ if ( $this_field_to_index ) {
395
+ $form['relevanssi_index']['#attributes']['checked'] = 'checked';
396
+ }
397
+ }
398
+ return $form;
399
+ }
400
+
401
+ /**
402
+ * Store the fields that need to be saved or deleted from the stored data when saving a fields group.
403
+ *
404
+ * Executed every time a field is saved, so we can check whether it belongs to the right types and has the right setting.
405
+ * Note that we do nto store this setting in the field data.
406
+ *
407
+ * @param $field array Field data definitions to be saved.
408
+ *
409
+ * @since 2.2
410
+ */
411
+
412
+ function types_flag_field_on_save( $field ) {
413
+
414
+ $field_type = isset( $field['type'] ) ? $field['type'] : '';
415
+ if ( in_array( $field_type, array( 'textfield', 'textarea', 'wysiwyg' ) ) ) {
416
+
417
+ $toolset_settings = Toolset_Settings::get_instance();
418
+ $relevanssi_fields_to_index = isset( $toolset_settings['relevanssi_fields_to_index'] ) ? $toolset_settings['relevanssi_fields_to_index'] : array();
419
+
420
+ if ( isset( $field['relevanssi_index'] ) ) {
421
+ unset( $field['relevanssi_index'] );
422
+ $this->pending_to_add[] = $field['slug'];
423
+ } else {
424
+ $this->pending_to_remove[] = $field['slug'];
425
+ }
426
+
427
+ }
428
+
429
+ return $field;
430
+ }
431
+
432
+ /**
433
+ * Update the stored data once a fields group has been saved.
434
+ *
435
+ * @param $group_id string The ID of the group being saved.
436
+ *
437
+ * @since 2.2
438
+ */
439
+
440
+ function types_store_fields_on_group_save( $group_id ) {
441
+
442
+ if (
443
+ empty( $this->pending_to_add )
444
+ && empty( $this->pending_to_remove )
445
+ ) {
446
+ return;
447
+ }
448
+
449
+ $relevanssi_fields_to_remove = array();
450
+ $relevanssi_fields_changed = false;
451
+
452
+ $toolset_settings = Toolset_Settings::get_instance();
453
+ $relevanssi_fields_to_index = isset( $toolset_settings['relevanssi_fields_to_index'] ) ? $toolset_settings['relevanssi_fields_to_index'] : array();
454
+
455
+ // Note that the 'refresh' argument is temporary and will not me needed much longer
456
+ $args = array(
457
+ 'domain' => 'posts',
458
+ 'field_type' => array( 'textfield', 'textarea', 'wysiwyg' ),
459
+ 'group_id' => $group_id,
460
+ 'refresh' => true
461
+ );
462
+ // https://onthegosystems.myjetbrains.com/youtrack/issue/types-742
463
+ $group_fields = apply_filters( 'types_filter_query_field_definitions', array(), $args );
464
+
465
+ foreach ( $group_fields as $field ) {
466
+ if ( in_array( $field['slug'], $this->pending_to_add ) ) {
467
+ $real_custom_field_name = wpcf_types_get_meta_prefix( $field ) . $field['slug'];
468
+ if ( ! in_array( $real_custom_field_name, $relevanssi_fields_to_index ) ) {
469
+ $relevanssi_fields_to_index[] = $real_custom_field_name;
470
+ $relevanssi_fields_changed = true;
471
+ }
472
+ }
473
+ if ( in_array( $field['slug'], $this->pending_to_remove ) ) {
474
+ $real_custom_field_name = wpcf_types_get_meta_prefix( $field ) . $field['slug'];
475
+ if ( in_array( $real_custom_field_name, $relevanssi_fields_to_index ) ) {
476
+ $relevanssi_fields_to_remove[] = $real_custom_field_name;
477
+ $relevanssi_fields_changed = true;
478
+ }
479
+ }
480
+ }
481
+
482
+ if ( count( $relevanssi_fields_to_remove ) > 0 ) {
483
+ $relevanssi_fields_to_index = array_diff( $relevanssi_fields_to_index, $relevanssi_fields_to_remove );
484
+ $relevanssi_fields_to_index = is_array( $relevanssi_fields_to_index ) ? array_values( $relevanssi_fields_to_index ) : array();
485
+ }
486
+
487
+ if ( $relevanssi_fields_changed ) {
488
+ $toolset_settings->relevanssi_fields_to_index = $relevanssi_fields_to_index;
489
+ $toolset_settings->save();
490
+ }
491
+ }
492
+
493
+ /**
494
+ * Manage the Relevanssi section behavior based on its state.
495
+ *
496
+ * When the Relevanssi indexing chckbox is checked for the first time, glow the helper text linking to the documentation and Settings tab.
497
+ * When the Relevanssi indexing checkbox is unchecked, hide the helper text.
498
+ *
499
+ * @since 2.2
500
+ */
501
+
502
+ function types_manage_extended_field_settings() {
503
+
504
+ $current_page = '';
505
+ if ( isset( $_GET['page'] ) ) {
506
+ $current_page = $_GET['page'];
507
+ }
508
+
509
+ if ( ! $current_page == 'wpcf-edit' ) {
510
+ return;
511
+ }
512
+
513
+ if ( wp_script_is( 'jquery' ) ) {
514
+ ?>
515
+ <script type="text/javascript">
516
+ jQuery( document ).ready( function() {
517
+ jQuery( document ).on( 'change', '.js-toolset-toggle-relevanssi-index', function() {
518
+
519
+ var thiz = jQuery( this ),
520
+ thiz_description = thiz.closest( 'td' ).find( '.js-toolset-toggle-relevanssi-index-description' );
521
+
522
+ thiz_description.css( {
523
+ 'transition': 'all 0.5s',
524
+ 'display': 'block'
525
+ } );
526
+
527
+ if ( thiz.prop( 'checked' ) ) {
528
+
529
+ thiz_description
530
+ .fadeIn( 'fast', function() {
531
+ if ( ! thiz.hasClass( 'js-toolset-toggle-relevanssi-index-inited' ) ) {
532
+ thiz.addClass( 'js-toolset-toggle-relevanssi-index-inited' )
533
+ thiz_description.css(
534
+ {
535
+ 'box-shadow': '0 0 5px 1px #f6921e',
536
+ 'background-color': '#f6921e',
537
+ 'color': '#fff'
538
+ }
539
+ );
540
+ setTimeout( function() {
541
+ thiz_description.css(
542
+ {
543
+ 'box-shadow': 'none',
544
+ 'background-color': 'transparent',
545
+ 'color': '#444'
546
+ }
547
+ );
548
+ }, 500 );
549
+ }
550
+ });
551
+
552
+ } else {
553
+
554
+ thiz_description.hide();
555
+
556
+ }
557
+ });
558
+ });
559
+ </script>
560
+ <?php
561
+ }
562
+ }
563
+
564
+ /*
565
+ * ---------------------
566
+ * Views integration
567
+ * ---------------------
568
+ */
569
+
570
+ /**
571
+ * wpv_filter_query_compatibility
572
+ *
573
+ * Disable Relevanssi when the search is set to only target post title or title plus content.
574
+ * When set to target also extended data, do nothing as we will adjust the search after the query is run.
575
+ *
576
+ * @note we might want to easily abort the query, but might have side effects.
577
+ *
578
+ * @since 2.2
579
+ */
580
+
581
+ function wpv_filter_query_compatibility( $query, $view_settings, $view_id ) {
582
+ if ( isset( $view_settings['search_mode'] ) ) {
583
+ $search_in = isset( $view_settings['post_search_content'] ) ? $view_settings['post_search_content'] : 'full_content';
584
+ if ( $search_in != 'content_extended' ) {
585
+ remove_filter('posts_request', 'relevanssi_prevent_default_request', 10, 3 );
586
+ }
587
+ }
588
+
589
+ return $query;
590
+ }
591
+
592
+ /**
593
+ * wpv_filter_query_post_proccess_compatibility
594
+ *
595
+ * Enable Relevanssi when the search is set to only target post title or title plus content, as it was disabled.
596
+ * When set to target also extended data, replace the query with the one provided by Relevanssi.
597
+ *
598
+ * @since 2.2
599
+ */
600
+
601
+ function wpv_filter_query_post_proccess_compatibility( $post_query, $view_settings, $view_id ) {
602
+ if (
603
+ isset( $view_settings['search_mode'] )
604
+ && function_exists( 'relevanssi_prevent_default_request' )
605
+ ) {
606
+ $search_in = isset( $view_settings['post_search_content'] ) ? $view_settings['post_search_content'] : 'full_content';
607
+ if ( $search_in == 'content_extended' ) {
608
+ // This modifies $post_query as it is passed by reference
609
+ if (
610
+ isset( $_GET['wpv_post_search'] )
611
+ && ! empty( $_GET['wpv_post_search'] )
612
+ ) {
613
+ // Modify the POSTed search
614
+ $relevanssi_posts = relevanssi_do_query( $post_query );
615
+ do_action( 'toolset_action_toolset_relevanssi_do_query_processed', $post_query );
616
+ } else if (
617
+ in_array( 'specific', $view_settings['search_mode'] )
618
+ && isset( $view_settings['post_search_value'] )
619
+ && ! empty( $view_settings['post_search_value'] )
620
+ ) {
621
+ // Modify the specific search
622
+ //add_filter('posts_request', 'relevanssi_prevent_default_request', 10, 3 );
623
+ $relevanssi_posts = relevanssi_do_query( $post_query );
624
+ do_action( 'toolset_action_toolset_relevanssi_do_query_processed', $post_query );
625
+ }
626
+ } else {
627
+ add_filter('posts_request', 'relevanssi_prevent_default_request', 10, 3 );
628
+ }
629
+ }
630
+
631
+ return $post_query;
632
+ }
633
+
634
+ /**
635
+ * wpv_extend_post_search_content_options
636
+ *
637
+ * Extend the available searching options to include the Relevanssi index as source.
638
+ *
639
+ * @since 2.2
640
+ */
641
+
642
+ function wpv_extend_post_search_content_options( $options ) {
643
+ $options['content_extended'] = array(
644
+ 'label' => __( 'Title, body and custom fields', 'wpv-views' ),
645
+ 'description' => sprintf(
646
+ __( 'Search in titles, content and custom fields. %1$sText Search settings%2$s.', 'wpv-views' ),
647
+ '<a href="' . admin_url( 'admin.php?page=toolset-settings&tab=relevanssi' ) . '" target="_blank">',
648
+ '</a>'
649
+ ),
650
+ 'summary' => __( 'post title, content and fields', 'wpv-views' )
651
+ );
652
+ return $options;
653
+ }
654
+
655
+ /**
656
+ * wpv_fix_relevanssi_on_archive_loops
657
+ *
658
+ * On archive loops different from view_search-page that contain a search filter using content_extended modes, replace the query with the Relevanssi one.
659
+ * On search archive loops, apply Relevanssi when needed.
660
+ * In both cases, adjust when no post is returned by creating a dummy one and setting the loop_has_no_posts flag.
661
+ *
662
+ * @param $query WP_Query object
663
+ * @param $args array
664
+ * wpa_id
665
+ * wpa_slug
666
+ * wpa_settings
667
+ * wpa_object
668
+ *
669
+ * @since 2.2
670
+ */
671
+
672
+ function wpv_fix_relevanssi_on_archive_loops( $query, $args ) {
673
+ if ( $query->query_vars["posts_per_page"] == -1 ) {
674
+ $query->max_num_pages = 1;
675
+ }
676
+ if ( ! function_exists( 'relevanssi_prevent_default_request' ) ) {
677
+ return;
678
+ }
679
+
680
+ $do_relevanssi_query = false;
681
+
682
+ if (
683
+ isset( $args['wpa_slug'] )
684
+ && $args['wpa_slug'] != 'view_search-page'
685
+ ) {
686
+ $wpa_settings = isset( $args['wpa_settings'] ) ? $args['wpa_settings'] : array();
687
+ if (
688
+ isset( $wpa_settings['search_mode'] )
689
+ && isset( $_GET['wpv_post_search'] )
690
+ && ! empty( $_GET['wpv_post_search'] )
691
+ ) {
692
+ $search_in = isset( $wpa_settings['post_search_content'] ) ? $wpa_settings['post_search_content'] : 'full_content';
693
+ if ( $search_in == 'content_extended' ) {
694
+ $do_relevanssi_query = true;
695
+ }
696
+ }
697
+ } else if (
698
+ is_search()
699
+ && isset( $_GET['s'] )
700
+ && ! empty( $_GET['s'] )
701
+ ) {
702
+ $do_relevanssi_query = true;
703
+ }
704
+
705
+ if ( $do_relevanssi_query ) {
706
+ $relevanssi_posts = relevanssi_do_query( $query );
707
+ $wpa_object = isset( $args['wpa_object'] ) ? $args['wpa_object'] : null;
708
+ if ( $wpa_object ) {
709
+ if ( empty( $relevanssi_posts ) ) {
710
+ $wpa_object->loop_has_no_posts = true;
711
+ $query->post_count = 1;
712
+ $dummy_post_obj = (object) array(
713
+ 'ID' => $args['wpa_id'],
714
+ 'post_author' => '1',
715
+ 'post_name' => '',
716
+ 'post_type' => '',
717
+ 'post_title' => '',
718
+ 'post_date' => '0000-00-00 00:00:00',
719
+ 'post_date_gmt' => '0000-00-00 00:00:00',
720
+ 'post_content' => '',
721
+ 'post_excerpt' => '',
722
+ 'post_status' => 'publish',
723
+ 'comment_status' => 'closed',
724
+ 'ping_status' => 'closed',
725
+ 'post_password' => '',
726
+ 'post_parent' => 0,
727
+ 'post_modified' => '0000-00-00 00:00:00',
728
+ 'post_modified_gmt' => '0000-00-00 00:00:00',
729
+ 'comment_count' => '0',
730
+ 'menu_order' => '0'
731
+ );
732
+ $dummy_post = new WP_Post( $dummy_post_obj );
733
+ $query->posts = array( $dummy_post );
734
+ } else {
735
+ $wpa_object->loop_has_no_posts = false;
736
+ }
737
+ }
738
+ }
739
+ }
740
+
741
+ /**
742
+ * wpv_fix_relevanssi_max_num_pages
743
+ *
744
+ * Relevanssi stores an incorrect number in max_num_pages when posts_per_page = -1
745
+ *
746
+ * @since 2.2
747
+ */
748
+
749
+ function wpv_fix_relevanssi_max_num_pages( $query ) {
750
+ if ( $query->query_vars["posts_per_page"] == -1 ) {
751
+ $query->max_num_pages = 1;
752
+ }
753
+ }
754
+
755
+ }
756
+
757
+ }
library/toolset/toolset-common/inc/toolset.settings.class.php CHANGED
@@ -46,6 +46,17 @@ class Toolset_Settings implements ArrayAccess {
46
  * @since 2.0
47
  */
48
  const ADMIN_BAR_SHORTCODES_GENERATOR = 'shortcodes_generator';
 
 
 
 
 
 
 
 
 
 
 
49
 
50
 
51
 
@@ -89,6 +100,7 @@ class Toolset_Settings implements ArrayAccess {
89
  protected static $defaults = array(
90
  Toolset_Settings::ADMIN_BAR_CREATE_EDIT => 'on',
91
  Toolset_Settings::ADMIN_BAR_SHORTCODES_GENERATOR => 'unset',
 
92
  );
93
 
94
 
@@ -418,6 +430,39 @@ class Toolset_Settings implements ArrayAccess {
418
  protected function _is_valid_shortcodes_generator( $value ) {
419
  return in_array( $value, array( 'unset', 'disable', 'editor', 'always' ) );
420
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
421
 
422
 
423
  }
46
  * @since 2.0
47
  */
48
  const ADMIN_BAR_SHORTCODES_GENERATOR = 'shortcodes_generator';
49
+
50
+ /**
51
+ * List of Types postmeta fields that we want to index in Relevanssi.
52
+ *
53
+ * Array.
54
+ *
55
+ * Defaults to an empty array.
56
+ *
57
+ * @since 2.2
58
+ */
59
+ const RELEVANSSI_FIELDS_TO_INDEX = 'relevanssi_fields_to_index';
60
 
61
 
62
 
100
  protected static $defaults = array(
101
  Toolset_Settings::ADMIN_BAR_CREATE_EDIT => 'on',
102
  Toolset_Settings::ADMIN_BAR_SHORTCODES_GENERATOR => 'unset',
103
+ Toolset_Settings::RELEVANSSI_FIELDS_TO_INDEX => array(),
104
  );
105
 
106
 
430
  protected function _is_valid_shortcodes_generator( $value ) {
431
  return in_array( $value, array( 'unset', 'disable', 'editor', 'always' ) );
432
  }
433
+
434
+ /**
435
+ * Safe shortcodes_generator getter, allways returns a valid value.
436
+ *
437
+ * @since 2.0
438
+ */
439
+ protected function _get_relevanssi_fields_to_index() {
440
+ $value = $this->get_raw_value( Toolset_Settings::RELEVANSSI_FIELDS_TO_INDEX );
441
+ if ( ! $this->_is_valid_relevanssi_fields_to_index( $value ) ) {
442
+ return Toolset_Settings::$defaults[ Toolset_Settings::RELEVANSSI_FIELDS_TO_INDEX ];
443
+ }
444
+ return $value;
445
+ }
446
+
447
+ /**
448
+ * Safe shortcodes_generator setter.
449
+ *
450
+ * @since 2.0
451
+ */
452
+ protected function _set_relevanssi_fields_to_index( $value ) {
453
+ if ( $this->_is_valid_relevanssi_fields_to_index( $value ) ) {
454
+ $this->settings[ Toolset_Settings::RELEVANSSI_FIELDS_TO_INDEX ] = $value;
455
+ }
456
+ }
457
+
458
+ /**
459
+ * Helper validation for shortcodes_generator.
460
+ *
461
+ * @since 2.0
462
+ */
463
+ protected function _is_valid_relevanssi_fields_to_index( $value ) {
464
+ return is_array( $value );
465
+ }
466
 
467
 
468
  }
library/toolset/toolset-common/languages/views-ar.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-de_DE.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-el.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-es_ES.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-fr_FR.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-he_IL.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-it_IT.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-ja.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-ko_KR.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-nl_NL.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-pl_PL.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-pt_BR.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-pt_PT.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-ru_RU.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-sv_SE.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-uk_UA.mo ADDED
Binary file
library/toolset/toolset-common/languages/views-vi.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-zh_CN.mo CHANGED
Binary file
library/toolset/toolset-common/languages/views-zh_TW.mo CHANGED
Binary file
library/toolset/toolset-common/loader.php CHANGED
@@ -29,8 +29,7 @@
29
  * we define the version here
30
  */
31
 
32
- $toolset_common_version = 200093;
33
-
34
 
35
  // ----------------------------------------------------------------------//
36
  // WARNING * WARNING * WARNING
29
  * we define the version here
30
  */
31
 
32
+ $toolset_common_version = 220000;
 
33
 
34
  // ----------------------------------------------------------------------//
35
  // WARNING * WARNING * WARNING
library/toolset/toolset-common/loader.php.orig ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * This file is responsible for loading the latest version of the Toolset Common lbraries.
6
+ *
7
+ * To use it in a plugin or theme you should include this file early in the
8
+ * plugin loader and then call the toolset_common_initialize function.
9
+ * The toolset_common_initialize should be passed the file path to the directory
10
+ * where this file is located and also the url to this directory.
11
+ *
12
+ *
13
+ *
14
+ * -----------------------------------------------------------------------
15
+ *
16
+ * This version number should always be incremented by 1 whenever a change
17
+ * is made to the toolset-common code.
18
+ * The version number will then be used to work out which plugin has the latest
19
+ * version of the code.
20
+ *
21
+ * The version number will have a format of XXYYYY
22
+ * where XX is the future target Toolset Common version number, built upon the stable released one stated in changelog.txt plus 1
23
+ * and YYYY is incremented by 1 on each change to the Toolset Common repo
24
+ * so we allow up to 10000 changes per dev cycle.
25
+ *
26
+ */
27
+ /**
28
+ * Now that we have a unique version for all plugins
29
+ * we define the version here
30
+ */
31
+
32
+ <<<<<<< 8852ecb6b66be48726cc9736b8dad401d06ba559
33
+ $toolset_common_version = 200103;
34
+ =======
35
+ $toolset_common_version = 200102;
36
+ >>>>>>> [types-251/cred-731] Fixed: Types using #default-value and #value differently than CRED
37
+
38
+ // ----------------------------------------------------------------------//
39
+ // WARNING * WARNING * WARNING
40
+ // ----------------------------------------------------------------------//
41
+
42
+ // Don't modify or add to this code.
43
+ // This is only responsible for making sure the latest version of common is loaded.
44
+
45
+ global $toolset_common_paths;
46
+
47
+ if ( ! isset( $toolset_common_paths ) ) {
48
+ $toolset_common_paths = array();
49
+ }
50
+
51
+ if ( ! isset( $toolset_common_paths[ $toolset_common_version ] ) ) {
52
+ // Save the path to this version.
53
+ $toolset_common_paths[ $toolset_common_version ]['path'] = str_replace( '\\', '/', dirname( __FILE__ ) );
54
+ }
55
+
56
+ if ( ! function_exists( 'toolset_common_plugins_loaded' ) ) {
57
+ function toolset_common_plugins_loaded() {
58
+ global $toolset_common_paths;
59
+
60
+ // find the latest version
61
+ $latest = 0;
62
+ foreach ( $toolset_common_paths as $key => $data ) {
63
+ if ( $key > $latest ) {
64
+ $latest = $key;
65
+ }
66
+ }
67
+ if ( $latest > 0 ) {
68
+ require_once $toolset_common_paths[ $latest ]['path'] . '/toolset-common-loader.php';
69
+ toolset_common_set_constants_and_start( $toolset_common_paths[ $latest ]['url'] );
70
+ }
71
+ }
72
+ add_action( 'plugins_loaded', 'toolset_common_plugins_loaded', -1 );
73
+ }
74
+
75
+ if ( ! function_exists( 'toolset_common_initialize' ) ) {
76
+
77
+ function toolset_common_initialize( $path, $url ) {
78
+ global $toolset_common_paths;
79
+
80
+ $path = str_replace( '\\', '/', $path );
81
+
82
+ if ( substr( $path, strlen( $path ) - 1 ) == '/' ) {
83
+ $path = substr( $path, 0, strlen( $path ) - 1 );
84
+ }
85
+
86
+ // Save the url in the matching path
87
+ foreach ( $toolset_common_paths as $key => $data ) {
88
+ if ( $toolset_common_paths[ $key ]['path'] == $path ) {
89
+ $toolset_common_paths[ $key ]['url'] = $url;
90
+ break;
91
+ }
92
+ }
93
+ }
94
+ }
95
+
library/toolset/toolset-common/res/css/toolset-bs-component.css ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* CSS component */
2
+ .toolset-bs-componenet-check-button{
3
+ text-align: center;
4
+ padding-left: 20px !important;
5
+ padding-right: 20px !important;
6
+ }
7
+ .toolset-bs-button-p{
8
+ text-align: center;
9
+ }
10
+
11
+ .toolset-bs-components-dialog-sides{
12
+ margin:0;
13
+ }
14
+ .toolset-bs-components-dialog-sides-left{
15
+ float:left;
16
+ width:25%;
17
+ overflow:hidden;
18
+ }
19
+ .toolset-bs-components-dialog-sides-right{
20
+ float:left;
21
+ width:75%;
22
+ overflow:hidden;
23
+ }
24
+ .toolset-bs-components-dialog-sides-bottom{
25
+ float:left;
26
+ width:100%;
27
+ overflow:hidden;
28
+ }
29
+
30
+ span.toolset_qt_btn_group_labels {
31
+ display: block;
32
+ clear: both;
33
+ font-size: 11px;
34
+ font-weight: bold;
35
+ color: #72777c;
36
+ margin-left: 4px;
37
+ }
38
+
39
+
40
+ .mce-toolbar .mce-btn{
41
+ overflow: hidden;
42
+ }
43
+ .mce-ico{
44
+ text-align: initial !important;
45
+ }
46
+
47
+ .bs-quicktags-toolbar {
48
+ padding: 3px;
49
+ border-bottom: 1px solid #ddd;
50
+ background: #f5f5f5 !important;
51
+ min-height: 30px;
52
+ border-left: 1px solid #ccc;
53
+ border-right: 1px solid #ccc;
54
+ border-top: 0px;
55
+ }
56
+
57
+ .bs-quicktags-toolbar>ul {
58
+ margin: 0;
59
+ text-align: left;
60
+ }
61
+ .wpv-ct-inline-edit .bs-quicktags-toolbar{
62
+ min-height: 135px !important;
63
+ }
64
+
65
+ /* icons adjust */
66
+ .bs-breadcrumbs-icon {
67
+ margin-left: -40px;
68
+ }
69
+ .bs-breadcrumbs-button {
70
+ width: 60px;
71
+ }
72
+ .bs-pagination-icon {
73
+ margin-left: -34px;
74
+ }
75
+ .bs-pagination-button {
76
+ width: 55px;
77
+ }
78
+ .bs-input_groups-icon {
79
+ margin-left: -8px;
80
+ }
81
+ .bs-input_groups-button {
82
+ width: 35px;
83
+ }
84
+ .bs-buttons-icon {
85
+ margin-left: -15px;
86
+ }
87
+ .bs-buttons-button {
88
+ width: 40px;
89
+ }
90
+
91
+ /* Popover */
92
+ .pop {
93
+ background: #eee;
94
+ border: 1px solid #ccc;
95
+ padding: 10px;
96
+ border-radius: 8px;
97
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
98
+ position: absolute;
99
+ right:0;
100
+ margin-right: 10px;
101
+ z-index: 99;
102
+ }
103
+
104
+ .pop_right_margin{
105
+ margin-right: 20px;
106
+ }
107
+ .pop_right_margin_big{
108
+ margin-right: 25px;
109
+ }
110
+ .pop_top_margin{
111
+ margin-top: 20px;
112
+ }
113
+ .pop_close {
114
+ display: block;
115
+ text-align: right;
116
+ }
117
+ .pop_msg_p{
118
+ margin: 0px;
119
+ }
120
+
121
+ .pop_hidden{
122
+ display: none;
123
+ }
124
+ .pop_msg_p label{
125
+ width: 100%;
126
+ text-align: left !important;
127
+ cursor: pointer;
128
+ font-weight: normal;
129
+ }
130
+
131
+ .bs_button_glow_effect{
132
+ box-shadow: rgb(246, 146, 30) 0px 0px 5px 1px !important;
133
+ }
134
+ .css-components-toggle-icon{color:#555d66; position: relative; bottom:2px;right:2px;}
135
+ .css-components-toggle-icon:before{}
library/toolset/toolset-common/res/css/toolset-dialogs.css CHANGED
@@ -28,16 +28,25 @@
28
  float: none !important;
29
  }
30
  .toolset-ui-dialog .ui-widget{
31
- font-family: "Open Sans",sans-serif !important;
32
  font-size: 13px !important;
33
  line-height: 1.4em !important;
34
  }
35
  .toolset-ui-dialog.ui-widget{
36
- font-family: "Open Sans",sans-serif !important;
37
  line-height: 1.4em !important;
38
  font-size: 13px !important;
39
  color: #444 !important;
40
  }
 
 
 
 
 
 
 
 
 
41
  .toolset-ui-dialog .ui-widget-header{
42
  border: 1px solid #dddddd !important;
43
  border-top: 0px !important;
@@ -61,7 +70,7 @@
61
  }
62
  .toolset-ui-dialog.ui-widget input, .toolset-ui-dialog.ui-widget select, .toolset-ui-dialog.ui-widget textarea, .ui-widget button{
63
  font-size: 13px !important;
64
- font-family: "Open Sans",sans-serif !important;
65
  }
66
  .ui-widget-overlay {
67
  background: #000 !important;
@@ -108,6 +117,7 @@
108
  text-decoration: none !important;
109
  text-shadow: 0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799 !important;
110
  font-weight: normal !important;
 
111
  border-radius: 3px !important;
112
  }
113
  .toolset-ui-dialog .button-primary:hover{
@@ -121,8 +131,14 @@
121
  box-shadow: 0 1px 0 #ccc !important;
122
  vertical-align: top !important;
123
  font-weight: normal !important;
 
124
  border-radius: 3px !important;
125
  }
126
  .toolset-ui-dialog .button-secondary:hover{
127
  border-color: #999 !important;
128
  }
 
 
 
 
 
28
  float: none !important;
29
  }
30
  .toolset-ui-dialog .ui-widget{
31
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;
32
  font-size: 13px !important;
33
  line-height: 1.4em !important;
34
  }
35
  .toolset-ui-dialog.ui-widget{
36
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;
37
  line-height: 1.4em !important;
38
  font-size: 13px !important;
39
  color: #444 !important;
40
  }
41
+ /*
42
+ * .toolset-ui-dialog.ui-widget .ui-dialog-content
43
+ *
44
+ * A necessary CSS override for content color, which is reset by Cherry Framework Version 4 (theme), when active.
45
+ * Following CSS rule reinforces the standard content color for Toolset Dialogues.
46
+ */
47
+ .toolset-ui-dialog.ui-widget .ui-dialog-content {
48
+ color: #444 !important;
49
+ }
50
  .toolset-ui-dialog .ui-widget-header{
51
  border: 1px solid #dddddd !important;
52
  border-top: 0px !important;
70
  }
71
  .toolset-ui-dialog.ui-widget input, .toolset-ui-dialog.ui-widget select, .toolset-ui-dialog.ui-widget textarea, .ui-widget button{
72
  font-size: 13px !important;
73
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;
74
  }
75
  .ui-widget-overlay {
76
  background: #000 !important;
117
  text-decoration: none !important;
118
  text-shadow: 0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799 !important;
119
  font-weight: normal !important;
120
+ line-height: 26px !important;
121
  border-radius: 3px !important;
122
  }
123
  .toolset-ui-dialog .button-primary:hover{
131
  box-shadow: 0 1px 0 #ccc !important;
132
  vertical-align: top !important;
133
  font-weight: normal !important;
134
+ line-height: 26px !important;
135
  border-radius: 3px !important;
136
  }
137
  .toolset-ui-dialog .button-secondary:hover{
138
  border-color: #999 !important;
139
  }
140
+ .toolset-ui-dialog .button-secondary[disabled],
141
+ .toolset-ui-dialog .button-secondary:disabled,
142
+ .toolset-ui-dialog .button-secondary.disabled{
143
+ border-color: #ddd !important;
144
+ }
library/toolset/toolset-common/res/css/toolset-promotion.css CHANGED
@@ -1,7 +1,7 @@
1
 
2
  .toolset-modal
3
  {
4
- font-family: "Open Sans";
5
  font-size: 15px;
6
  width: 550px;
7
  background-color: #fff;
1
 
2
  .toolset-modal
3
  {
4
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;
5
  font-size: 15px;
6
  width: 550px;
7
  background-color: #fff;
library/toolset/toolset-common/res/js/toolset-bs-component-buttons.js ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var ToolsetCommon = ToolsetCommon || {};
2
+
3
+
4
+ ToolsetCommon.BootstrapCssComponentsTinyMCE = function($){
5
+
6
+ var self = this,
7
+ $bootstrap_components = Toolset_CssComponent.DDL_CSS_JS.available_components,
8
+ $bootstrap_css = Toolset_CssComponent.DDL_CSS_JS.available_css,
9
+ $other = Toolset_CssComponent.DDL_CSS_JS.other;
10
+
11
+ self.init = function(){
12
+ Toolset.hooks.addAction( 'toolset_text_editor_TinyMCE_init', function( instance ) {
13
+ self.add_toggle_visibility_button( instance );
14
+ self.add_bootstrap_components_buttons(instance);
15
+ self.add_bootstrap_css_buttons(instance);
16
+ self.add_other_buttons(instance);
17
+ Toolset.hooks.doAction( 'bs_components_tinyMCE_divider', instance );
18
+ });
19
+ };
20
+
21
+ self.add_toggle_visibility_button = function(instance){
22
+
23
+ if(typeof tinymce !== 'object'){
24
+ return;
25
+ }
26
+
27
+ tinymce.PluginManager.add('css_components_toolbar_toggle', function(editor, url){
28
+ editor.addButton( 'css_components_toolbar_toggle', {
29
+ icon: ' icon-bootstrap-original-logo ont-icon-25 css-components-toggle-icon',
30
+ tooltip: Toolset_CssComponent.DDL_CSS_JS.toggle_button_tooltip,
31
+ onclick: function() {
32
+ var $labels = jQuery('.toolset_qt_btn_group_labels'),
33
+ $container = $labels.closest('div.mce-toolbar');
34
+
35
+ $container.toggle();
36
+ ToolsetCommon.BSComponentsEventsHandler.update_tinyMCE_toggle_status($container);
37
+ }
38
+ });
39
+ });
40
+
41
+ _.defer(function(){
42
+ var $icon = jQuery('.css-components-toggle-icon'),
43
+ $button = $icon.parent(),
44
+ $widget = jQuery('.css-components-toggle-icon').closest('div.mce-widget');
45
+
46
+ $widget.addClass('css-components-toggle-div');
47
+
48
+ $widget.css({"position": "relative"});
49
+ $button.css({"position": "relative", "width" : "26px", "height" : "24px"});
50
+ });
51
+
52
+ };
53
+
54
+ self.add_bootstrap_components_buttons = function(instance){
55
+
56
+ if(typeof $bootstrap_components !== 'object'){
57
+ return;
58
+ }
59
+
60
+ if(typeof tinymce !== 'object'){
61
+ return;
62
+ }
63
+
64
+ jQuery.each( $bootstrap_components, function( index, value ){
65
+
66
+
67
+
68
+ tinymce.PluginManager.add('css_components_'+index+'_button', function( editor, url ) {
69
+ editor.addButton( 'css_components_'+index+'_button', {
70
+ icon: ' '+value.button_icon+' '+value.button_icon_size,
71
+ tooltip: value.name,
72
+ onclick: function() {
73
+
74
+ Toolset.hooks.doAction( 'bs_components_open_dialog', {
75
+ name: value.name,
76
+ description: value.description,
77
+ url: value.url,
78
+ button_icon: value.button_icon,
79
+ dialog_icon_size: value.dialog_icon_size,
80
+ bs_category: 'available_components',
81
+ bs_component_key: index,
82
+ editor_instance: instance,
83
+ buttons_type: 'tinymce'
84
+ });
85
+
86
+ },
87
+ 'class' : "toolset-components-buttons"
88
+ });
89
+ });
90
+
91
+
92
+ });
93
+ };
94
+
95
+ self.add_bootstrap_css_buttons = function(instance){
96
+
97
+ if(typeof $bootstrap_css !== 'object'){
98
+ return;
99
+ }
100
+ if(typeof tinymce !== 'object'){
101
+ return;
102
+ }
103
+
104
+ jQuery.each( $bootstrap_css, function( index, value ){
105
+
106
+ tinymce.PluginManager.add('css_'+index+'_button', function( editor, url ) {
107
+ editor.addButton( 'css_'+index+'_button', {
108
+ icon: ' '+value.button_icon+' '+value.button_icon_size,
109
+ tooltip: value.name,
110
+ onclick: function() {
111
+
112
+ Toolset.hooks.doAction( 'bs_components_open_dialog', {
113
+ name: value.name,
114
+ description: value.description,
115
+ url: value.url,
116
+ button_icon: value.button_icon,
117
+ dialog_icon_size: value.dialog_icon_size,
118
+ bs_category: 'available_css',
119
+ bs_component_key: index,
120
+ editor_instance: instance,
121
+ buttons_type: 'tinymce'
122
+ });
123
+
124
+ },
125
+ 'class' : "toolset-components-buttons"
126
+ });
127
+ });
128
+ });
129
+ };
130
+
131
+ self.add_other_buttons = function(instance){
132
+
133
+ if(typeof $other !== 'object'){
134
+ return;
135
+ }
136
+ if(typeof tinymce !== 'object'){
137
+ return;
138
+ }
139
+
140
+
141
+
142
+ jQuery.each( $other, function( index, value ){
143
+
144
+ tinymce.PluginManager.add('other_'+index+'_button', function( editor, url ) {
145
+ editor.addButton( 'other_'+index+'_button', {
146
+ icon: ' '+value.button_icon+' '+value.button_icon_size,
147
+ tooltip: value.name,
148
+ onclick: function() {
149
+
150
+ Toolset.hooks.doAction( 'bs_components_open_dialog', {
151
+ name: value.name,
152
+ description: value.description,
153
+ url: value.url,
154
+ button_icon: value.button_icon,
155
+ dialog_icon_size: value.dialog_icon_size,
156
+ bs_category: 'other',
157
+ bs_component_key: index,
158
+ editor_instance: instance,
159
+ buttons_type: 'tinymce'
160
+ });
161
+
162
+ },
163
+ 'class' : "toolset-components-buttons"
164
+ });
165
+ });
166
+ });
167
+
168
+
169
+ };
170
+
171
+ self.init();
172
+ };
173
+
174
+
175
+ ToolsetCommon.BootstrapCssComponentsQuickTags = function($){
176
+
177
+ var self = this,
178
+ $bootstrap_components = Toolset_CssComponent.DDL_CSS_JS.available_components,
179
+ $bootstrap_css = Toolset_CssComponent.DDL_CSS_JS.available_css,
180
+ $other = Toolset_CssComponent.DDL_CSS_JS.other,
181
+ $instance = null;
182
+
183
+
184
+
185
+ self.init = function(){
186
+
187
+ $instance = null;
188
+
189
+ Toolset.hooks.addAction( 'toolset_text_editor_CodeMirror_init', function( get_instance ) {
190
+ if(get_instance){
191
+ $instance = get_instance;
192
+ self.add_bootstrap_components_buttons($instance);
193
+
194
+ var $my_buttons = self.generate_codemirror_bs_buttons($instance);
195
+ self.wrap_codemirror_buttons($instance,$my_buttons);
196
+ }
197
+ });
198
+
199
+ Toolset.hooks.addAction( 'toolset_text_editor_CodeMirror_init_only_buttons', function( get_instance ) {
200
+ if(get_instance){
201
+ $instance = get_instance;
202
+ self.add_bootstrap_components_buttons($instance);
203
+ }
204
+ });
205
+
206
+
207
+ };
208
+
209
+ self.wrap_codemirror_buttons = function($instance,$buttons){
210
+
211
+
212
+ jQuery("#qt_"+$instance+"_toolbar").after('<div class="bs-quicktags-toolbar code-editor-toolbar" id="codemirror-buttons-for-'+$instance+'">'+$buttons+'</div>');
213
+ jQuery("#"+$instance).before('<div id="pop_'+$instance+'" class="pop pop_top_margin pop_right_margin pop_hidden"><a href="#" class="pop_close" data-pop_id="pop_'+$instance+'"><i class="glyphicon glyphicon-remove"></i></a><p class="pop_msg_p">'+Toolset_CssComponent.DDL_CSS_JS.codemirror_pop_message+'<br><br><label><input type="checkbox" id="hide_pop_'+$instance+'" name="hide_tooltip" value="hide_pop"> Dont show this tip again</label></p></div>');
214
+
215
+ _.defer(function(){
216
+ if(Toolset_CssComponent.DDL_CSS_JS.show_bs_buttons_cm_status === "no"){
217
+ jQuery('#codemirror-buttons-for-'+$instance).hide();
218
+ jQuery("#qt_"+$instance+"_bs_component_show_hide_button").val(Toolset_CssComponent.DDL_CSS_JS.button_toggle_show);
219
+ } else {
220
+ jQuery("#qt_"+$instance+"_bs_component_show_hide_button").val(Toolset_CssComponent.DDL_CSS_JS.button_toggle_hide);
221
+ }
222
+ });
223
+
224
+ ToolsetCommon.BSComponentsEventsHandler.editor_notification_handler($instance);
225
+ };
226
+
227
+ self.generate_codemirror_bs_buttons = function(instance){
228
+
229
+ var codemirror_buttons = '';
230
+ // bs components
231
+ codemirror_buttons += '<span class="toolset_qt_btn_group_labels">'+Toolset_CssComponent.DDL_CSS_JS.group_label_bs_components+'</span>';
232
+ codemirror_buttons += '<ul class="js-wpv-filter-edit-toolbar" >';
233
+
234
+ jQuery.each( $bootstrap_components, function( index, value ){
235
+ codemirror_buttons +='<li class="js-editor-addon-button-wrapper">';
236
+ codemirror_buttons +='<button class="button-secondary js-code-editor-toolbar-button js-codemirror-bs-component-button bs-'+index+'-button" data-bs_category="available_components" data-cm_instance="'+instance+'" data-bs_key="'+index+'" title="'+value.name+'" onclick="ToolsetCommon.BSComponentsEventsHandler.openBSDialog(this);">';
237
+ codemirror_buttons +='<i class="'+value.button_icon+' bs-'+index+'-icon"></i>';
238
+ codemirror_buttons +='</li>';
239
+
240
+ });
241
+ codemirror_buttons +='</ul>';
242
+
243
+ // bs css
244
+ codemirror_buttons += '<span class="toolset_qt_btn_group_labels">'+Toolset_CssComponent.DDL_CSS_JS.group_label_bs_css+'</span>';
245
+ codemirror_buttons += '<ul class="js-wpv-filter-edit-toolbar">';
246
+
247
+ jQuery.each( $bootstrap_css, function( index, value ){
248
+
249
+ codemirror_buttons +='<li class="js-editor-addon-button-wrapper">';
250
+ codemirror_buttons +='<button class="button-secondary js-code-editor-toolbar-button js-codemirror-bs-component-button bs-'+index+'-button" data-bs_category="available_css" data-cm_instance="'+instance+'" data-bs_key="'+index+'" title="'+value.name+'" onclick="ToolsetCommon.BSComponentsEventsHandler.openBSDialog(this);">';
251
+ codemirror_buttons +='<i class="'+value.button_icon+' bs-'+index+'-icon"></i>';
252
+ codemirror_buttons +='</li>';
253
+
254
+ });
255
+ codemirror_buttons +='</ul>';
256
+
257
+ // other buttons
258
+ if(typeof $other === 'object' && _.keys($other).length > 0 ){
259
+ codemirror_buttons += '<span class="toolset_qt_btn_group_labels">'+Toolset_CssComponent.DDL_CSS_JS.group_label_other+'</span>';
260
+
261
+ codemirror_buttons += '<ul class="js-wpv-filter-edit-toolbar">';
262
+
263
+ jQuery.each( $other, function( index, value ){
264
+
265
+ codemirror_buttons +='<li class="js-editor-addon-button-wrapper">';
266
+ codemirror_buttons +='<button class="button-secondary js-code-editor-toolbar-button js-codemirror-bs-component-button bs-'+index+'-button" data-bs_category="other" data-cm_instance="'+instance+'" data-bs_key="'+index+'" title="'+value.name+'" onclick="ToolsetCommon.BSComponentsEventsHandler.openBSDialog(this);">';
267
+ codemirror_buttons +='<i class="'+value.button_icon+' bs-'+index+'-icon"></i>';
268
+ codemirror_buttons +='</li>';
269
+
270
+ });
271
+ codemirror_buttons +='</ul>';
272
+ }
273
+
274
+ return codemirror_buttons;
275
+
276
+ };
277
+
278
+
279
+
280
+ self.add_bootstrap_components_buttons = function(instance){
281
+
282
+ if(typeof $bootstrap_components !== 'object'){
283
+ return;
284
+ }
285
+ // button toogle button :)
286
+ if(jQuery('#qt_'+instance+'_bs_component_show_hide_button').length === 0){
287
+
288
+ if(jQuery('#codemirror-buttons-for-'+$instance).is(":hidden") === true){
289
+ var button_value = Toolset_CssComponent.DDL_CSS_JS.button_toggle_show;
290
+ } else {
291
+ var button_value = Toolset_CssComponent.DDL_CSS_JS.button_toggle_hide;
292
+ }
293
+
294
+
295
+ jQuery("#qt_"+instance+"_toolbar").append('<input type="button" id="qt_'+instance+'_bs_component_show_hide_button" class="ed_button button button-small" value="'+button_value+'">');
296
+ jQuery( '#qt_'+instance+'_bs_component_show_hide_button' ).click(function() {
297
+ Toolset.hooks.doAction( 'bs_components_toggle_buttons', instance );
298
+ });
299
+ }
300
+
301
+ };
302
+
303
+
304
+ self.init();
305
+ };
library/toolset/toolset-common/res/js/toolset-bs-component-events.js ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var ToolsetCommon = ToolsetCommon || {};
2
+
3
+ ToolsetCommon.BSComponentsEventsHandler = function($){
4
+
5
+ var self = this;
6
+
7
+ self.init = function(){
8
+
9
+
10
+ Toolset.hooks.addAction( 'bs_components_toggle_buttons', function( instance ){
11
+ self.toggle_codemirror_buttons(instance);
12
+ });
13
+
14
+ Toolset.hooks.addAction( 'bs_components_open_dialog', function( object ){
15
+ self.bootstrap_info_dialog(object);
16
+ });
17
+
18
+ Toolset.hooks.addAction( 'bs_components_tinyMCE_divider', function( instance ){
19
+ self.tinyMCE_divider(instance);
20
+ });
21
+
22
+ };
23
+
24
+
25
+ self.bootstrap_info_dialog = function(object ){
26
+
27
+ dialog = new DDLayout.DialogView({
28
+ title: object.name,
29
+ modal:true,
30
+ resizable: false,
31
+ draggable: false,
32
+ position: {my: "center", at: "center", of: window},
33
+ width: 250,
34
+ selector: '#ddl-bootstrap-info-dialog-tpl',
35
+ template_object: {
36
+ description: object.description,
37
+ dialog_icon_size: object.dialog_icon_size,
38
+ url: object.url,
39
+ title: object.name,
40
+ icon: object.button_icon,
41
+ bs_component_category: object.bs_category,
42
+ bs_component_key: object.bs_component_key,
43
+ editor_instance: object.editor_instance,
44
+ buttons_type: object.buttons_type
45
+ }
46
+ });
47
+
48
+ dialog.$el.on('ddldialogclose', function (event) {
49
+ dialog.remove();
50
+ });
51
+
52
+ dialog.dialog_open();
53
+ };
54
+
55
+
56
+ self.tinyMCE_divider = function($instance){
57
+ _.defer(function(){
58
+ if(jQuery('.toolset_bs_cm_labels').length === 0 ){
59
+
60
+ jQuery('[aria-label="Glyphicons"]').before('<span class="toolset_qt_btn_group_labels toolset_bs_cm_labels">'+Toolset_CssComponent.DDL_CSS_JS.group_label_bs_components+'</span>');
61
+ jQuery('[aria-label="Grid system"]').before('<span class="toolset_qt_btn_group_labels toolset_bs_cm_labels">'+Toolset_CssComponent.DDL_CSS_JS.group_label_bs_css+'</span>');
62
+ if(typeof Toolset_CssComponent.DDL_CSS_JS['other'] === 'object' && _.keys(Toolset_CssComponent.DDL_CSS_JS['other']).length > 0 ){
63
+ jQuery('[aria-label="Responsive utilities"]').after('<span class="toolset_qt_btn_group_labels toolset_bs_cm_labels">'+Toolset_CssComponent.DDL_CSS_JS.group_label_other+'</span>');
64
+ }
65
+
66
+ var $pop_location = jQuery('.toolset_qt_btn_group_labels').closest('div.mce-toolbar');
67
+ $pop_location.after('<div id="pop_tinymce" class="pop pop_top_margin pop_right_margin_big pop_hidden"><a href="#" class="pop_close" data-pop_id="pop_tinymce"><i class="glyphicon glyphicon-remove"></i></a><p class="pop_msg_p">'+Toolset_CssComponent.DDL_CSS_JS.tinymce_pop_message+'<br><br><label><input type="checkbox" id="hide_pop_tinymce" name="hide_tooltip" value="hide_pop"> Dont show this tip again</label></p></div>');
68
+
69
+ }
70
+
71
+
72
+ var $labels = jQuery('.toolset_qt_btn_group_labels'), $container = $labels.closest('div.mce-toolbar');
73
+ if(Toolset_CssComponent.DDL_CSS_JS.show_bs_buttons_tinymce_status === "yes"){
74
+ $container.show();
75
+ } else {
76
+ $container.hide();
77
+ }
78
+
79
+ ToolsetCommon.BSComponentsEventsHandler.editor_notification_handler($instance);
80
+
81
+ });
82
+ };
83
+
84
+
85
+ self.toggle_codemirror_buttons = function($instance, $other){
86
+
87
+ jQuery('#codemirror-buttons-for-'+$instance).toggle();
88
+
89
+ if(jQuery('#codemirror-buttons-for-'+$instance).is(":hidden") === true){
90
+ jQuery("#qt_"+$instance+"_bs_component_show_hide_button").val(Toolset_CssComponent.DDL_CSS_JS.button_toggle_show);
91
+ self.update_db_option('show_buttons_cm_status',false);
92
+ Toolset_CssComponent.DDL_CSS_JS.show_bs_buttons_cm_status = "no";
93
+ } else {
94
+ jQuery("#qt_"+$instance+"_bs_component_show_hide_button").val(Toolset_CssComponent.DDL_CSS_JS.button_toggle_hide);
95
+ self.update_db_option('show_buttons_cm_status',true);
96
+ Toolset_CssComponent.DDL_CSS_JS.show_bs_buttons_cm_status = "yes";
97
+ }
98
+
99
+ };
100
+
101
+ self.update_db_option = function(option, value){
102
+ var data = {
103
+ 'action': 'toolset_bs_update_option',
104
+ 'option': option,
105
+ 'value': value
106
+ };
107
+ jQuery.post(ajaxurl, data);
108
+ };
109
+
110
+
111
+ ToolsetCommon.BSComponentsEventsHandler.update_tinyMCE_toggle_status = function ($container){
112
+ var hide_tinyMCE_buttons = jQuery($container).is(":hidden");
113
+ var tinyMCE_status = (hide_tinyMCE_buttons) ? false : true;
114
+ Toolset_CssComponent.DDL_CSS_JS.show_bs_buttons_tinymce_status = (tinyMCE_status) ? 'yes' : 'no';
115
+ self.update_db_option('show_buttons_tinymce_status',tinyMCE_status);
116
+ };
117
+
118
+
119
+ ToolsetCommon.BSComponentsEventsHandler.openBSDialog = function(button_data){
120
+ var bs_cat = jQuery(button_data).data('bs_category');
121
+ var bs_key = jQuery(button_data).data('bs_key');
122
+ var cm_instance = jQuery(button_data).data('cm_instance');
123
+
124
+ Toolset.hooks.doAction( 'bs_components_open_dialog', {
125
+ name: Toolset_CssComponent.DDL_CSS_JS[bs_cat][bs_key].name,
126
+ description: Toolset_CssComponent.DDL_CSS_JS[bs_cat][bs_key].description,
127
+ url: Toolset_CssComponent.DDL_CSS_JS[bs_cat][bs_key].url,
128
+ button_icon: Toolset_CssComponent.DDL_CSS_JS[bs_cat][bs_key].button_icon,
129
+ dialog_icon_size: Toolset_CssComponent.DDL_CSS_JS[bs_cat][bs_key].dialog_icon_size,
130
+ bs_category: bs_cat,
131
+ bs_component_key: bs_key,
132
+ buttons_type: 'codemirror',
133
+ editor_instance: cm_instance
134
+ });
135
+ };
136
+
137
+ ToolsetCommon.BSComponentsEventsHandler.editor_notification = function (button_data){
138
+
139
+ var bs_cat = jQuery(button_data).data('bs_category');
140
+ var bs_key = jQuery(button_data).data('bs_key');
141
+ var bs_editor_instance = jQuery(button_data).data('editor_instance');
142
+ var bs_buttons_type = jQuery(button_data).data('buttons_type');
143
+
144
+ dialog.remove();
145
+
146
+ if(Toolset_CssComponent.DDL_CSS_JS['hide_editor_pop_msg'] === "no"){
147
+
148
+ if(bs_buttons_type === 'tinymce'){
149
+ jQuery('#pop_tinymce').show();
150
+ jQuery(".bs_pop_element_name_tinymce").text(Toolset_CssComponent.DDL_CSS_JS[bs_cat][bs_key].name);
151
+ jQuery('[data-editor="codemirror"]').addClass('bs_button_glow_effect');
152
+ } else if(bs_buttons_type === 'codemirror'){
153
+ jQuery('#pop_'+bs_editor_instance).show();
154
+ jQuery(".bs_pop_element_name_codemirror").text(Toolset_CssComponent.DDL_CSS_JS[bs_cat][bs_key].name);
155
+ }
156
+
157
+ }
158
+
159
+ };
160
+
161
+ ToolsetCommon.BSComponentsEventsHandler.editor_notification_handler = function (instance){
162
+
163
+ jQuery('[data-editor="tinymce"]').click(function(event) {
164
+ Toolset.hooks.doAction( 'bs_components_tinyMCE_divider', instance );
165
+ });
166
+
167
+ jQuery( ".pop_close" ).click(function(event) {
168
+ event.preventDefault();
169
+
170
+ // update option, do not show message again
171
+ if(jQuery(this).data('pop_id') === 'pop_tinymce'){
172
+ if(jQuery("#hide_pop_tinymce").prop('checked')){
173
+ self.update_db_option('hide_pop_msg',true);
174
+ Toolset_CssComponent.DDL_CSS_JS['hide_editor_pop_msg'] = "yes";
175
+ }
176
+ jQuery('[data-editor="codemirror"]').removeClass('bs_button_glow_effect');
177
+ jQuery('#pop_tinymce').hide();
178
+ } else {
179
+ jQuery("#"+jQuery(this).data('pop_id')).hide();
180
+ if(jQuery("#hide_pop_"+instance).prop('checked')){
181
+ self.update_db_option('hide_pop_msg',true);
182
+ Toolset_CssComponent.DDL_CSS_JS['hide_editor_pop_msg'] = "yes";
183
+ }
184
+ }
185
+
186
+ });
187
+
188
+
189
+ };
190
+
191
+ self.init();
192
+ };
193
+
194
+
195
+ (function($){
196
+ $(function(){
197
+ if (typeof QTags !== 'undefined') {
198
+ new ToolsetCommon.BootstrapCssComponentsQuickTags($);
199
+ }
200
+ if (typeof tinymce === 'object') {
201
+ new ToolsetCommon.BootstrapCssComponentsTinyMCE($);
202
+ }
203
+ new ToolsetCommon.BSComponentsEventsHandler($);
204
+ });
205
+ }(jQuery));
library/toolset/toolset-common/res/js/toolset-settings-relevanssi.js ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var ToolsetCommon = ToolsetCommon || {};
2
+
3
+ /**
4
+ * Relevanssi integration - Control the behavior of the Text Search tab in the Toolset Settings page.
5
+ *
6
+ * @since 2.2
7
+ */
8
+
9
+ ToolsetCommon.ToolsetSettingsRelevanssi = function( $ ) {
10
+
11
+ var self = this;
12
+
13
+ // Track the fields that are checked for indexation.
14
+ self.revelanssi_state = $( '.js-toolset-relevanssi-list :input' ).serialize();
15
+
16
+ /**
17
+ * Get the array of fields checked for Relevanssi indexation.
18
+ *
19
+ * @param checked array List of checkboxes for fields that are checked, hence should be included in the index.
20
+ * @return array Valus of the fields checked for indexing.
21
+ *
22
+ * @since 2.2
23
+ */
24
+
25
+ self.get_list_array = function( checked ) {
26
+ var fields_array = checked.map( function() {
27
+ return $( this ).val();
28
+ }).get();
29
+ return fields_array;
30
+ };
31
+
32
+ /**
33
+ * Update the comma separated list of fields that need to be indexed.
34
+ *
35
+ * Replace the readonly input value that holds the comma separated list of fields to index
36
+ * and glow it for half a second.
37
+ *
38
+ * @param fields_list string Comma separated list of fields to be included in the index.
39
+ *
40
+ * @since 2.2
41
+ */
42
+
43
+ self.update_list_summary_fields = function( fields_list ) {
44
+ $( '.js-toolset-relevanssi-list-summary-fields' )
45
+ .val( fields_list )
46
+ .css(
47
+ {
48
+ 'box-shadow': '0 0 5px 1px #f6921e',
49
+ 'background-color': '#f6921e',
50
+ 'color': '#fff'
51
+ }
52
+ );
53
+ setTimeout( function() {
54
+ $( '.js-toolset-relevanssi-list-summary-fields' ).css(
55
+ {
56
+ 'box-shadow': 'none',
57
+ 'background-color': '#ededed',
58
+ 'color': '#444'
59
+ }
60
+ );
61
+ }, 500 );
62
+ };
63
+
64
+ /**
65
+ * Save Relevanssi settings.
66
+ *
67
+ * On eqch field checkbox change, debounce the saving and update the comma separated fields list.
68
+ * Note that we track the fields status and only act when there is an actual change.
69
+ *
70
+ * @since 2.2
71
+ */
72
+
73
+ self.save_relevanssi_settings = function() {
74
+ if ( self.revelanssi_state != $( '.js-toolset-relevanssi-list :input' ).serialize() ) {
75
+ var checked = $( '.js-toolset-relevanssi-list-item:checked' ),
76
+ fields_array = self.get_list_array( checked ),
77
+ data = {
78
+ action: 'toolset_update_toolset_relevanssi_settings',
79
+ fields: fields_array,
80
+ wpnonce: $('#toolset_relevanssi_settings_nonce').val()
81
+ };
82
+ $( document ).trigger( 'js-toolset-event-update-setting-section-triggered' );
83
+ $.ajax({
84
+ type: "POST",
85
+ dataType: "json",
86
+ url: ajaxurl,
87
+ data: data,
88
+ success: function( response ) {
89
+ if ( response.success ) {
90
+ self.revelanssi_state = $( '.js-toolset-relevanssi-list :input' ).serialize();
91
+ if ( checked.length > 0 ) {
92
+ self.update_list_summary_fields( fields_array.join( ', ' ) );
93
+ $( '.js-toolset-relevanssi-list-summary' ).fadeIn( 'fast' );
94
+ $( '.js-toolset-relevanssi-list-summary-empty' ).hide();
95
+ } else {
96
+ $( '.js-toolset-relevanssi-list-summary' ).hide();
97
+ $( '.js-toolset-relevanssi-list-summary-empty' ).fadeIn( 'fast' );
98
+ }
99
+ $( document ).trigger( 'js-toolset-event-update-setting-section-completed' );
100
+ } else {
101
+ $( document ).trigger( 'js-toolset-event-update-setting-section-failed', [ response.data ] );
102
+ }
103
+ },
104
+ error: function( ajaxContext ) {
105
+ $( document ).trigger( 'js-toolset-event-update-setting-section-failed' );
106
+ },
107
+ complete: function() {
108
+
109
+ }
110
+ });
111
+ }
112
+ };
113
+
114
+ self.relevanssi_debounce_update = _.debounce( self.save_relevanssi_settings, 1000 );
115
+
116
+ $( document ).on( 'change', '.js-toolset-relevanssi-list-item', function() {
117
+ self.relevanssi_debounce_update();
118
+ });
119
+
120
+ self.init = function() {
121
+
122
+ };
123
+
124
+ self.init();
125
+
126
+ };
127
+
128
+ jQuery( document ).ready( function( $ ) {
129
+ ToolsetCommon.settings_relevanssi = new ToolsetCommon.ToolsetSettingsRelevanssi( $ );
130
+ });
library/toolset/toolset-common/res/lib/glyphicons/css/glyphicons.css ADDED
@@ -0,0 +1,820 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap v3.3.5 (http://getbootstrap.com)
3
+ * Copyright 2011-2016 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ /*!
8
+ * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=fee9096adebc419af9a52dc90fa6f18b)
9
+ * Config saved to config.json and https://gist.github.com/fee9096adebc419af9a52dc90fa6f18b
10
+ */
11
+ /*!
12
+ * Bootstrap v3.3.6 (http://getbootstrap.com)
13
+ * Copyright 2011-2015 Twitter, Inc.
14
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
15
+ */
16
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
17
+
18
+ @font-face {
19
+ font-family: 'Glyphicons Halflings';
20
+ src: url('../fonts/glyphicons-halflings-regular.eot');
21
+ src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
22
+ }
23
+ .glyphicon {
24
+ position: relative;
25
+ top: 1px;
26
+ display: inline-block;
27
+ font-family: 'Glyphicons Halflings' !important;
28
+ font-style: normal;
29
+ font-weight: normal;
30
+ line-height: 1;
31
+ -webkit-font-smoothing: antialiased;
32
+ -moz-osx-font-smoothing: grayscale;
33
+ }
34
+ .glyphicon-asterisk:before {
35
+ content: "\002a";
36
+ }
37
+ .glyphicon-plus:before {
38
+ content: "\002b";
39
+ }
40
+ .glyphicon-euro:before,
41
+ .glyphicon-eur:before {
42
+ content: "\20ac";
43
+ }
44
+ .glyphicon-minus:before {
45
+ content: "\2212";
46
+ }
47
+ .glyphicon-cloud:before {
48
+ content: "\2601";
49
+ }
50
+ .glyphicon-envelope:before {
51
+ content: "\2709";
52
+ }
53
+ .glyphicon-pencil:before {
54
+ content: "\270f";
55
+ }
56
+ .glyphicon-glass:before {
57
+ content: "\e001";
58
+ }
59
+ .glyphicon-music:before {
60
+ content: "\e002";
61
+ }
62
+ .glyphicon-search:before {
63
+ content: "\e003";
64
+ }
65
+ .glyphicon-heart:before {
66
+ content: "\e005";
67
+ }
68
+ .glyphicon-star:before {
69
+ content: "\e006";
70
+ }
71
+ .glyphicon-star-empty:before {
72
+ content: "\e007";
73
+ }
74
+ .glyphicon-user:before {
75
+ content: "\e008";
76
+ }
77
+ .glyphicon-film:before {
78
+ content: "\e009";
79
+ }
80
+ .glyphicon-th-large:before {
81
+ content: "\e010";
82
+ }
83
+ .glyphicon-th:before {
84
+ content: "\e011";
85
+ }
86
+ .glyphicon-th-list:before {
87
+ content: "\e012";
88
+ }
89
+ .glyphicon-ok:before {
90
+ content: "\e013";
91
+ }
92
+ .glyphicon-remove:before {
93
+ content: "\e014";
94
+ }
95
+ .glyphicon-zoom-in:before {
96
+ content: "\e015";
97
+ }
98
+ .glyphicon-zoom-out:before {
99
+ content: "\e016";
100
+ }
101
+ .glyphicon-off:before {
102
+ content: "\e017";
103
+ }
104
+ .glyphicon-signal:before {
105
+ content: "\e018";
106
+ }
107
+ .glyphicon-cog:before {
108
+ content: "\e019";
109
+ }
110
+ .glyphicon-trash:before {
111
+ content: "\e020";
112
+ }
113
+ .glyphicon-home:before {
114
+ content: "\e021";
115
+ }
116
+ .glyphicon-file:before {
117
+ content: "\e022";
118
+ }
119
+ .glyphicon-time:before {
120
+ content: "\e023";
121
+ }
122
+ .glyphicon-road:before {
123
+ content: "\e024";
124
+ }
125
+ .glyphicon-download-alt:before {
126
+ content: "\e025";
127
+ }
128
+ .glyphicon-download:before {
129
+ content: "\e026";
130
+ }
131
+ .glyphicon-upload:before {
132
+ content: "\e027";
133
+ }
134
+ .glyphicon-inbox:before {
135
+ content: "\e028";
136
+ }
137
+ .glyphicon-play-circle:before {
138
+ content: "\e029";
139
+ }
140
+ .glyphicon-repeat:before {
141
+ content: "\e030";
142
+ }
143
+ .glyphicon-refresh:before {
144
+ content: "\e031";
145
+ }
146
+ .glyphicon-list-alt:before {
147
+ content: "\e032";
148
+ }
149
+ .glyphicon-lock:before {
150
+ content: "\e033";
151
+ }
152
+ .glyphicon-flag:before {
153
+ content: "\e034";
154
+ }
155
+ .glyphicon-headphones:before {
156
+ content: "\e035";
157
+ }
158
+ .glyphicon-volume-off:before {
159
+ content: "\e036";
160
+ }
161
+ .glyphicon-volume-down:before {
162
+ content: "\e037";
163
+ }
164
+ .glyphicon-volume-up:before {
165
+ content: "\e038";
166
+ }
167
+ .glyphicon-qrcode:before {
168
+ content: "\e039";
169
+ }
170
+ .glyphicon-barcode:before {
171
+ content: "\e040";
172
+ }
173
+ .glyphicon-tag:before {
174
+ content: "\e041";
175
+ }
176
+ .glyphicon-tags:before {
177
+ content: "\e042";
178
+ }
179
+ .glyphicon-book:before {
180
+ content: "\e043";
181
+ }
182
+ .glyphicon-bookmark:before {
183
+ content: "\e044";
184
+ }
185
+ .glyphicon-print:before {
186
+ content: "\e045";
187
+ }
188
+ .glyphicon-camera:before {
189
+ content: "\e046";
190
+ }
191
+ .glyphicon-font:before {
192
+ content: "\e047";
193
+ }
194
+ .glyphicon-bold:before {
195
+ content: "\e048";
196
+ }
197
+ .glyphicon-italic:before {
198
+ content: "\e049";
199
+ }
200
+ .glyphicon-text-height:before {
201
+ content: "\e050";
202
+ }
203
+ .glyphicon-text-width:before {
204
+ content: "\e051";
205
+ }
206
+ .glyphicon-align-left:before {
207
+ content: "\e052";
208
+ }
209
+ .glyphicon-align-center:before {
210
+ content: "\e053";
211
+ }
212
+ .glyphicon-align-right:before {
213
+ content: "\e054";
214
+ }
215
+ .glyphicon-align-justify:before {
216
+ content: "\e055";
217
+ }
218
+ .glyphicon-list:before {
219
+ content: "\e056";
220
+ }
221
+ .glyphicon-indent-left:before {
222
+ content: "\e057";
223
+ }
224
+ .glyphicon-indent-right:before {
225
+ content: "\e058";
226
+ }
227
+ .glyphicon-facetime-video:before {
228
+ content: "\e059";
229
+ }
230
+ .glyphicon-picture:before {
231
+ content: "\e060";
232
+ }
233
+ .glyphicon-map-marker:before {
234
+ content: "\e062";
235
+ }
236
+ .glyphicon-adjust:before {
237
+ content: "\e063";
238
+ }
239
+ .glyphicon-tint:before {
240
+ content: "\e064";
241
+ }
242
+ .glyphicon-edit:before {
243
+ content: "\e065";
244
+ }
245
+ .glyphicon-share:before {
246
+ content: "\e066";
247
+ }
248
+ .glyphicon-check:before {
249
+ content: "\e067";
250
+ }
251
+ .glyphicon-move:before {
252
+ content: "\e068";
253
+ }
254
+ .glyphicon-step-backward:before {
255
+ content: "\e069";
256
+ }
257
+ .glyphicon-fast-backward:before {
258
+ content: "\e070";
259
+ }
260
+ .glyphicon-backward:before {
261
+ content: "\e071";
262
+ }
263
+ .glyphicon-play:before {
264
+ content: "\e072";
265
+ }
266
+ .glyphicon-pause:before {
267
+ content: "\e073";
268
+ }
269
+ .glyphicon-stop:before {
270
+ content: "\e074";
271
+ }
272
+ .glyphicon-forward:before {
273
+ content: "\e075";
274
+ }
275
+ .glyphicon-fast-forward:before {
276
+ content: "\e076";
277
+ }
278
+ .glyphicon-step-forward:before {
279
+ content: "\e077";
280
+ }
281
+ .glyphicon-eject:before {
282
+ content: "\e078";
283
+ }
284
+ .glyphicon-chevron-left:before {
285
+ content: "\e079";
286
+ }
287
+ .glyphicon-chevron-right:before {
288
+ content: "\e080";
289
+ }
290
+ .glyphicon-plus-sign:before {
291
+ content: "\e081";
292
+ }
293
+ .glyphicon-minus-sign:before {
294
+ content: "\e082";
295
+ }
296
+ .glyphicon-remove-sign:before {
297
+ content: "\e083";
298
+ }
299
+ .glyphicon-ok-sign:before {
300
+ content: "\e084";
301
+ }
302
+ .glyphicon-question-sign:before {
303
+ content: "\e085";
304
+ }
305
+ .glyphicon-info-sign:before {
306
+ content: "\e086";
307
+ }
308
+ .glyphicon-screenshot:before {
309
+ content: "\e087";
310
+ }
311
+ .glyphicon-remove-circle:before {
312
+ content: "\e088";
313
+ }
314
+ .glyphicon-ok-circle:before {
315
+ content: "\e089";
316
+ }
317
+ .glyphicon-ban-circle:before {
318
+ content: "\e090";
319
+ }
320
+ .glyphicon-arrow-left:before {
321
+ content: "\e091";
322
+ }
323
+ .glyphicon-arrow-right:before {
324
+ content: "\e092";
325
+ }
326
+ .glyphicon-arrow-up:before {
327
+ content: "\e093";
328
+ }
329
+ .glyphicon-arrow-down:before {
330
+ content: "\e094";
331
+ }
332
+ .glyphicon-share-alt:before {
333
+ content: "\e095";
334
+ }
335
+ .glyphicon-resize-full:before {
336
+ content: "\e096";
337
+ }
338
+ .glyphicon-resize-small:before {
339
+ content: "\e097";
340
+ }
341
+ .glyphicon-exclamation-sign:before {
342
+ content: "\e101";
343
+ }
344
+ .glyphicon-gift:before {
345
+ content: "\e102";
346
+ }
347
+ .glyphicon-leaf:before {
348
+ content: "\e103";
349
+ }
350
+ .glyphicon-fire:before {
351
+ content: "\e104";
352
+ }
353
+ .glyphicon-eye-open:before {
354
+ content: "\e105";
355
+ }
356
+ .glyphicon-eye-close:before {
357
+ content: "\e106";
358
+ }
359
+ .glyphicon-warning-sign:before {
360
+ content: "\e107";
361
+ }
362
+ .glyphicon-plane:before {
363
+ content: "\e108";
364
+ }
365
+ .glyphicon-calendar:before {
366
+ content: "\e109";
367
+ }
368
+ .glyphicon-random:before {
369
+ content: "\e110";
370
+ }
371
+ .glyphicon-comment:before {
372
+ content: "\e111";
373
+ }
374
+ .glyphicon-magnet:before {
375
+ content: "\e112";
376
+ }
377
+ .glyphicon-chevron-up:before {
378
+ content: "\e113";
379
+ }
380
+ .glyphicon-chevron-down:before {
381
+ content: "\e114";
382
+ }
383
+ .glyphicon-retweet:before {
384
+ content: "\e115";
385
+ }
386
+ .glyphicon-shopping-cart:before {
387
+ content: "\e116";
388
+ }
389
+ .glyphicon-folder-close:before {
390
+ content: "\e117";
391
+ }
392
+ .glyphicon-folder-open:before {
393
+ content: "\e118";
394
+ }
395
+ .glyphicon-resize-vertical:before {
396
+ content: "\e119";
397
+ }
398
+ .glyphicon-resize-horizontal:before {
399
+ content: "\e120";
400
+ }
401
+ .glyphicon-hdd:before {
402
+ content: "\e121";
403
+ }
404
+ .glyphicon-bullhorn:before {
405
+ content: "\e122";
406
+ }
407
+ .glyphicon-bell:before {
408
+ content: "\e123";
409
+ }
410
+ .glyphicon-certificate:before {
411
+ content: "\e124";
412
+ }
413
+ .glyphicon-thumbs-up:before {
414
+ content: "\e125";
415
+ }
416
+ .glyphicon-thumbs-down:before {
417
+ content: "\e126";
418
+ }
419
+ .glyphicon-hand-right:before {
420
+ content: "\e127";
421
+ }
422
+ .glyphicon-hand-left:before {
423
+ content: "\e128";
424
+ }
425
+ .glyphicon-hand-up:before {
426
+ content: "\e129";
427
+ }
428
+ .glyphicon-hand-down:before {
429
+ content: "\e130";
430
+ }
431
+ .glyphicon-circle-arrow-right:before {
432
+ content: "\e131";
433
+ }
434
+ .glyphicon-circle-arrow-left:before {
435
+ content: "\e132";
436
+ }
437
+ .glyphicon-circle-arrow-up:before {
438
+ content: "\e133";
439
+ }
440
+ .glyphicon-circle-arrow-down:before {
441
+ content: "\e134";
442
+ }
443
+ .glyphicon-globe:before {
444
+ content: "\e135";
445
+ }
446
+ .glyphicon-wrench:before {
447
+ content: "\e136";
448
+ }
449
+ .glyphicon-tasks:before {
450
+ content: "\e137";
451
+ }
452
+ .glyphicon-filter:before {
453
+ content: "\e138";
454
+ }
455
+ .glyphicon-briefcase:before {
456
+ content: "\e139";
457
+ }
458
+ .glyphicon-fullscreen:before {
459
+ content: "\e140";
460
+ }
461
+ .glyphicon-dashboard:before {
462
+ content: "\e141";
463
+ }
464
+ .glyphicon-paperclip:before {
465
+ content: "\e142";
466
+ }
467
+ .glyphicon-heart-empty:before {
468
+ content: "\e143";
469
+ }
470
+ .glyphicon-link:before {
471
+ content: "\e144";
472
+ }
473
+ .glyphicon-phone:before {
474
+ content: "\e145";
475
+ }
476
+ .glyphicon-pushpin:before {
477
+ content: "\e146";
478
+ }
479
+ .glyphicon-usd:before {
480
+ content: "\e148";
481
+ }
482
+ .glyphicon-gbp:before {
483
+ content: "\e149";
484
+ }
485
+ .glyphicon-sort:before {
486
+ content: "\e150";
487
+ }
488
+ .glyphicon-sort-by-alphabet:before {
489
+ content: "\e151";
490
+ }
491
+ .glyphicon-sort-by-alphabet-alt:before {
492
+ content: "\e152";
493
+ }
494
+ .glyphicon-sort-by-order:before {
495
+ content: "\e153";
496
+ }
497
+ .glyphicon-sort-by-order-alt:before {
498
+ content: "\e154";
499
+ }
500
+ .glyphicon-sort-by-attributes:before {
501
+ content: "\e155";
502
+ }
503
+ .glyphicon-sort-by-attributes-alt:before {
504
+ content: "\e156";
505
+ }
506
+ .glyphicon-unchecked:before {
507
+ content: "\e157";
508
+ }
509
+ .glyphicon-expand:before {
510
+ content: "\e158";
511
+ }
512
+ .glyphicon-collapse-down:before {
513
+ content: "\e159";
514
+ }
515
+ .glyphicon-collapse-up:before {
516
+ content: "\e160";
517
+ }
518
+ .glyphicon-log-in:before {
519
+ content: "\e161";
520
+ }
521
+ .glyphicon-flash:before {
522
+ content: "\e162";
523
+ }
524
+ .glyphicon-log-out:before {
525
+ content: "\e163";
526
+ }
527
+ .glyphicon-new-window:before {
528
+ content: "\e164";
529
+ }
530
+ .glyphicon-record:before {
531
+ content: "\e165";
532
+ }
533
+ .glyphicon-save:before {
534
+ content: "\e166";
535
+ }
536
+ .glyphicon-open:before {
537
+ content: "\e167";
538
+ }
539
+ .glyphicon-saved:before {
540
+ content: "\e168";
541
+ }
542
+ .glyphicon-import:before {
543
+ content: "\e169";
544
+ }
545
+ .glyphicon-export:before {
546
+ content: "\e170";
547
+ }
548
+ .glyphicon-send:before {
549
+ content: "\e171";
550
+ }
551
+ .glyphicon-floppy-disk:before {
552
+ content: "\e172";
553
+ }
554
+ .glyphicon-floppy-saved:before {
555
+ content: "\e173";
556
+ }
557
+ .glyphicon-floppy-remove:before {
558
+ content: "\e174";
559
+ }
560
+ .glyphicon-floppy-save:before {
561
+ content: "\e175";
562
+ }
563
+ .glyphicon-floppy-open:before {
564
+ content: "\e176";
565
+ }
566
+ .glyphicon-credit-card:before {
567
+ content: "\e177";
568
+ }
569
+ .glyphicon-transfer:before {
570
+ content: "\e178";
571
+ }
572
+ .glyphicon-cutlery:before {
573
+ content: "\e179";
574
+ }
575
+ .glyphicon-header:before {
576
+ content: "\e180";
577
+ }
578
+ .glyphicon-compressed:before {
579
+ content: "\e181";
580
+ }
581
+ .glyphicon-earphone:before {
582
+ content: "\e182";
583
+ }
584
+ .glyphicon-phone-alt:before {
585
+ content: "\e183";
586
+ }
587
+ .glyphicon-tower:before {
588
+ content: "\e184";
589
+ }
590
+ .glyphicon-stats:before {
591
+ content: "\e185";
592
+ }
593
+ .glyphicon-sd-video:before {
594
+ content: "\e186";
595
+ }
596
+ .glyphicon-hd-video:before {
597
+ content: "\e187";
598
+ }
599
+ .glyphicon-subtitles:before {
600
+ content: "\e188";
601
+ }
602
+ .glyphicon-sound-stereo:before {
603
+ content: "\e189";
604
+ }
605
+ .glyphicon-sound-dolby:before {
606
+ content: "\e190";
607
+ }
608
+ .glyphicon-sound-5-1:before {
609
+ content: "\e191";
610
+ }
611
+ .glyphicon-sound-6-1:before {
612
+ content: "\e192";
613
+ }
614
+ .glyphicon-sound-7-1:before {
615
+ content: "\e193";
616
+ }
617
+ .glyphicon-copyright-mark:before {
618
+ content: "\e194";
619
+ }
620
+ .glyphicon-registration-mark:before {
621
+ content: "\e195";
622
+ }
623
+ .glyphicon-cloud-download:before {
624
+ content: "\e197";
625
+ }
626
+ .glyphicon-cloud-upload:before {
627
+ content: "\e198";
628
+ }
629
+ .glyphicon-tree-conifer:before {
630
+ content: "\e199";
631
+ }
632
+ .glyphicon-tree-deciduous:before {
633
+ content: "\e200";
634
+ }
635
+ .glyphicon-cd:before {
636
+ content: "\e201";
637
+ }
638
+ .glyphicon-save-file:before {
639
+ content: "\e202";
640
+ }
641
+ .glyphicon-open-file:before {
642
+ content: "\e203";
643
+ }
644
+ .glyphicon-level-up:before {
645
+ content: "\e204";
646
+ }
647
+ .glyphicon-copy:before {
648
+ content: "\e205";
649
+ }
650
+ .glyphicon-paste:before {
651
+ content: "\e206";
652
+ }
653
+ .glyphicon-alert:before {
654
+ content: "\e209";
655
+ }
656
+ .glyphicon-equalizer:before {
657
+ content: "\e210";
658
+ }
659
+ .glyphicon-king:before {
660
+ content: "\e211";
661
+ }
662
+ .glyphicon-queen:before {
663
+ content: "\e212";
664
+ }
665
+ .glyphicon-pawn:before {
666
+ content: "\e213";
667
+ }
668
+ .glyphicon-bishop:before {
669
+ content: "\e214";
670
+ }
671
+ .glyphicon-knight:before {
672
+ content: "\e215";
673
+ }
674
+ .glyphicon-baby-formula:before {
675
+ content: "\e216";
676
+ }
677
+ .glyphicon-tent:before {
678
+ content: "\26fa";
679
+ }
680
+ .glyphicon-blackboard:before {
681
+ content: "\e218";
682
+ }
683
+ .glyphicon-bed:before {
684
+ content: "\e219";
685
+ }
686
+ .glyphicon-apple:before {
687
+ content: "\f8ff";
688
+ }
689
+ .glyphicon-erase:before {
690
+ content: "\e221";
691
+ }
692
+ .glyphicon-hourglass:before {
693
+ content: "\231b";
694
+ }
695
+ .glyphicon-lamp:before {
696
+ content: "\e223";
697
+ }
698
+ .glyphicon-duplicate:before {
699
+ content: "\e224";
700
+ }
701
+ .glyphicon-piggy-bank:before {
702
+ content: "\e225";
703
+ }
704
+ .glyphicon-scissors:before {
705
+ content: "\e226";
706
+ }
707
+ .glyphicon-bitcoin:before {
708
+ content: "\e227";
709
+ }
710
+ .glyphicon-btc:before {
711
+ content: "\e227";
712
+ }
713
+ .glyphicon-xbt:before {
714
+ content: "\e227";
715
+ }
716
+ .glyphicon-yen:before {
717
+ content: "\00a5";
718
+ }
719
+ .glyphicon-jpy:before {
720
+ content: "\00a5";
721
+ }
722
+ .glyphicon-ruble:before {
723
+ content: "\20bd";
724
+ }
725
+ .glyphicon-rub:before {
726
+ content: "\20bd";
727
+ }
728
+ .glyphicon-scale:before {
729
+ content: "\e230";
730
+ }
731
+ .glyphicon-ice-lolly:before {
732
+ content: "\e231";
733
+ }
734
+ .glyphicon-ice-lolly-tasted:before {
735
+ content: "\e232";
736
+ }
737
+ .glyphicon-education:before {
738
+ content: "\e233";
739
+ }
740
+ .glyphicon-option-horizontal:before {
741
+ content: "\e234";
742
+ }
743
+ .glyphicon-option-vertical:before {
744
+ content: "\e235";
745
+ }
746
+ .glyphicon-menu-hamburger:before {
747
+ content: "\e236";
748
+ }
749
+ .glyphicon-modal-window:before {
750
+ content: "\e237";
751
+ }
752
+ .glyphicon-oil:before {
753
+ content: "\e238";
754
+ }
755
+ .glyphicon-grain:before {
756
+ content: "\e239";
757
+ }
758
+ .glyphicon-sunglasses:before {
759
+ content: "\e240";
760
+ }
761
+ .glyphicon-text-size:before {
762
+ content: "\e241";
763
+ }
764
+ .glyphicon-text-color:before {
765
+ content: "\e242";
766
+ }
767
+ .glyphicon-text-background:before {
768
+ content: "\e243";
769
+ }
770
+ .glyphicon-object-align-top:before {
771
+ content: "\e244";
772
+ }
773
+ .glyphicon-object-align-bottom:before {
774
+ content: "\e245";
775
+ }
776
+ .glyphicon-object-align-horizontal:before {
777
+ content: "\e246";
778
+ }
779
+ .glyphicon-object-align-left:before {
780
+ content: "\e247";
781
+ }
782
+ .glyphicon-object-align-vertical:before {
783
+ content: "\e248";
784
+ }
785
+ .glyphicon-object-align-right:before {
786
+ content: "\e249";
787
+ }
788
+ .glyphicon-triangle-right:before {
789
+ content: "\e250";
790
+ }
791
+ .glyphicon-triangle-left:before {
792
+ content: "\e251";
793
+ }
794
+ .glyphicon-triangle-bottom:before {
795
+ content: "\e252";
796
+ }
797
+ .glyphicon-triangle-top:before {
798
+ content: "\e253";
799
+ }
800
+ .glyphicon-console:before {
801
+ content: "\e254";
802
+ }
803
+ .glyphicon-superscript:before {
804
+ content: "\e255";
805
+ }
806
+ .glyphicon-subscript:before {
807
+ content: "\e256";
808
+ }
809
+ .glyphicon-menu-left:before {
810
+ content: "\e257";
811
+ }
812
+ .glyphicon-menu-right:before {
813
+ content: "\e258";
814
+ }
815
+ .glyphicon-menu-down:before {
816
+ content: "\e259";
817
+ }
818
+ .glyphicon-menu-up:before {
819
+ content: "\e260";
820
+ }
library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.eot ADDED
Binary file
library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.svg ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
7
+ <font-face units-per-em="1200" ascent="960" descent="-240" />
8
+ <missing-glyph horiz-adv-x="500" />
9
+ <glyph horiz-adv-x="0" />
10
+ <glyph horiz-adv-x="400" />
11
+ <glyph unicode=" " />
12
+ <glyph unicode="*" d="M600 1100q15 0 34 -1.5t30 -3.5l11 -1q10 -2 17.5 -10.5t7.5 -18.5v-224l158 158q7 7 18 8t19 -6l106 -106q7 -8 6 -19t-8 -18l-158 -158h224q10 0 18.5 -7.5t10.5 -17.5q6 -41 6 -75q0 -15 -1.5 -34t-3.5 -30l-1 -11q-2 -10 -10.5 -17.5t-18.5 -7.5h-224l158 -158 q7 -7 8 -18t-6 -19l-106 -106q-8 -7 -19 -6t-18 8l-158 158v-224q0 -10 -7.5 -18.5t-17.5 -10.5q-41 -6 -75 -6q-15 0 -34 1.5t-30 3.5l-11 1q-10 2 -17.5 10.5t-7.5 18.5v224l-158 -158q-7 -7 -18 -8t-19 6l-106 106q-7 8 -6 19t8 18l158 158h-224q-10 0 -18.5 7.5 t-10.5 17.5q-6 41 -6 75q0 15 1.5 34t3.5 30l1 11q2 10 10.5 17.5t18.5 7.5h224l-158 158q-7 7 -8 18t6 19l106 106q8 7 19 6t18 -8l158 -158v224q0 10 7.5 18.5t17.5 10.5q41 6 75 6z" />
13
+ <glyph unicode="+" d="M450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-350h350q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-350v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v350h-350q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5 h350v350q0 21 14.5 35.5t35.5 14.5z" />
14
+ <glyph unicode="&#xa0;" />
15
+ <glyph unicode="&#xa5;" d="M825 1100h250q10 0 12.5 -5t-5.5 -13l-364 -364q-6 -6 -11 -18h268q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-100h275q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-174q0 -11 -7.5 -18.5t-18.5 -7.5h-148q-11 0 -18.5 7.5t-7.5 18.5v174 h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h125v100h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h118q-5 12 -11 18l-364 364q-8 8 -5.5 13t12.5 5h250q25 0 43 -18l164 -164q8 -8 18 -8t18 8l164 164q18 18 43 18z" />
16
+ <glyph unicode="&#x2000;" horiz-adv-x="650" />
17
+ <glyph unicode="&#x2001;" horiz-adv-x="1300" />
18
+ <glyph unicode="&#x2002;" horiz-adv-x="650" />
19
+ <glyph unicode="&#x2003;" horiz-adv-x="1300" />
20
+ <glyph unicode="&#x2004;" horiz-adv-x="433" />
21
+ <glyph unicode="&#x2005;" horiz-adv-x="325" />
22
+ <glyph unicode="&#x2006;" horiz-adv-x="216" />
23
+ <glyph unicode="&#x2007;" horiz-adv-x="216" />
24
+ <glyph unicode="&#x2008;" horiz-adv-x="162" />
25
+ <glyph unicode="&#x2009;" horiz-adv-x="260" />
26
+ <glyph unicode="&#x200a;" horiz-adv-x="72" />
27
+ <glyph unicode="&#x202f;" horiz-adv-x="260" />
28
+ <glyph unicode="&#x205f;" horiz-adv-x="325" />
29
+ <glyph unicode="&#x20ac;" d="M744 1198q242 0 354 -189q60 -104 66 -209h-181q0 45 -17.5 82.5t-43.5 61.5t-58 40.5t-60.5 24t-51.5 7.5q-19 0 -40.5 -5.5t-49.5 -20.5t-53 -38t-49 -62.5t-39 -89.5h379l-100 -100h-300q-6 -50 -6 -100h406l-100 -100h-300q9 -74 33 -132t52.5 -91t61.5 -54.5t59 -29 t47 -7.5q22 0 50.5 7.5t60.5 24.5t58 41t43.5 61t17.5 80h174q-30 -171 -128 -278q-107 -117 -274 -117q-206 0 -324 158q-36 48 -69 133t-45 204h-217l100 100h112q1 47 6 100h-218l100 100h134q20 87 51 153.5t62 103.5q117 141 297 141z" />
30
+ <glyph unicode="&#x20bd;" d="M428 1200h350q67 0 120 -13t86 -31t57 -49.5t35 -56.5t17 -64.5t6.5 -60.5t0.5 -57v-16.5v-16.5q0 -36 -0.5 -57t-6.5 -61t-17 -65t-35 -57t-57 -50.5t-86 -31.5t-120 -13h-178l-2 -100h288q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-138v-175q0 -11 -5.5 -18 t-15.5 -7h-149q-10 0 -17.5 7.5t-7.5 17.5v175h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v100h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v475q0 10 7.5 17.5t17.5 7.5zM600 1000v-300h203q64 0 86.5 33t22.5 119q0 84 -22.5 116t-86.5 32h-203z" />
31
+ <glyph unicode="&#x2212;" d="M250 700h800q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />
32
+ <glyph unicode="&#x231b;" d="M1000 1200v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-50v-100q0 -91 -49.5 -165.5t-130.5 -109.5q81 -35 130.5 -109.5t49.5 -165.5v-150h50q21 0 35.5 -14.5t14.5 -35.5v-150h-800v150q0 21 14.5 35.5t35.5 14.5h50v150q0 91 49.5 165.5t130.5 109.5q-81 35 -130.5 109.5 t-49.5 165.5v100h-50q-21 0 -35.5 14.5t-14.5 35.5v150h800zM400 1000v-100q0 -60 32.5 -109.5t87.5 -73.5q28 -12 44 -37t16 -55t-16 -55t-44 -37q-55 -24 -87.5 -73.5t-32.5 -109.5v-150h400v150q0 60 -32.5 109.5t-87.5 73.5q-28 12 -44 37t-16 55t16 55t44 37 q55 24 87.5 73.5t32.5 109.5v100h-400z" />
33
+ <glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
34
+ <glyph unicode="&#x2601;" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -206.5q0 -121 -85 -207.5t-205 -86.5h-750q-79 0 -135.5 57t-56.5 137q0 69 42.5 122.5t108.5 67.5q-2 12 -2 37q0 153 108 260.5t260 107.5z" />
35
+ <glyph unicode="&#x26fa;" d="M774 1193.5q16 -9.5 20.5 -27t-5.5 -33.5l-136 -187l467 -746h30q20 0 35 -18.5t15 -39.5v-42h-1200v42q0 21 15 39.5t35 18.5h30l468 746l-135 183q-10 16 -5.5 34t20.5 28t34 5.5t28 -20.5l111 -148l112 150q9 16 27 20.5t34 -5zM600 200h377l-182 112l-195 534v-646z " />
36
+ <glyph unicode="&#x2709;" d="M25 1100h1150q10 0 12.5 -5t-5.5 -13l-564 -567q-8 -8 -18 -8t-18 8l-564 567q-8 8 -5.5 13t12.5 5zM18 882l264 -264q8 -8 8 -18t-8 -18l-264 -264q-8 -8 -13 -5.5t-5 12.5v550q0 10 5 12.5t13 -5.5zM918 618l264 264q8 8 13 5.5t5 -12.5v-550q0 -10 -5 -12.5t-13 5.5 l-264 264q-8 8 -8 18t8 18zM818 482l364 -364q8 -8 5.5 -13t-12.5 -5h-1150q-10 0 -12.5 5t5.5 13l364 364q8 8 18 8t18 -8l164 -164q8 -8 18 -8t18 8l164 164q8 8 18 8t18 -8z" />
37
+ <glyph unicode="&#x270f;" d="M1011 1210q19 0 33 -13l153 -153q13 -14 13 -33t-13 -33l-99 -92l-214 214l95 96q13 14 32 14zM1013 800l-615 -614l-214 214l614 614zM317 96l-333 -112l110 335z" />
38
+ <glyph unicode="&#xe001;" d="M700 650v-550h250q21 0 35.5 -14.5t14.5 -35.5v-50h-800v50q0 21 14.5 35.5t35.5 14.5h250v550l-500 550h1200z" />
39
+ <glyph unicode="&#xe002;" d="M368 1017l645 163q39 15 63 0t24 -49v-831q0 -55 -41.5 -95.5t-111.5 -63.5q-79 -25 -147 -4.5t-86 75t25.5 111.5t122.5 82q72 24 138 8v521l-600 -155v-606q0 -42 -44 -90t-109 -69q-79 -26 -147 -5.5t-86 75.5t25.5 111.5t122.5 82.5q72 24 138 7v639q0 38 14.5 59 t53.5 34z" />
40
+ <glyph unicode="&#xe003;" d="M500 1191q100 0 191 -39t156.5 -104.5t104.5 -156.5t39 -191l-1 -2l1 -5q0 -141 -78 -262l275 -274q23 -26 22.5 -44.5t-22.5 -42.5l-59 -58q-26 -20 -46.5 -20t-39.5 20l-275 274q-119 -77 -261 -77l-5 1l-2 -1q-100 0 -191 39t-156.5 104.5t-104.5 156.5t-39 191 t39 191t104.5 156.5t156.5 104.5t191 39zM500 1022q-88 0 -162 -43t-117 -117t-43 -162t43 -162t117 -117t162 -43t162 43t117 117t43 162t-43 162t-117 117t-162 43z" />
41
+ <glyph unicode="&#xe005;" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104z" />
42
+ <glyph unicode="&#xe006;" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429z" />
43
+ <glyph unicode="&#xe007;" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429zM477 700h-240l197 -142l-74 -226 l193 139l195 -140l-74 229l192 140h-234l-78 211z" />
44
+ <glyph unicode="&#xe008;" d="M600 1200q124 0 212 -88t88 -212v-250q0 -46 -31 -98t-69 -52v-75q0 -10 6 -21.5t15 -17.5l358 -230q9 -5 15 -16.5t6 -21.5v-93q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v93q0 10 6 21.5t15 16.5l358 230q9 6 15 17.5t6 21.5v75q-38 0 -69 52 t-31 98v250q0 124 88 212t212 88z" />
45
+ <glyph unicode="&#xe009;" d="M25 1100h1150q10 0 17.5 -7.5t7.5 -17.5v-1050q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v1050q0 10 7.5 17.5t17.5 7.5zM100 1000v-100h100v100h-100zM875 1000h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5t17.5 -7.5h550 q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM1000 1000v-100h100v100h-100zM100 800v-100h100v100h-100zM1000 800v-100h100v100h-100zM100 600v-100h100v100h-100zM1000 600v-100h100v100h-100zM875 500h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5 t17.5 -7.5h550q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM100 400v-100h100v100h-100zM1000 400v-100h100v100h-100zM100 200v-100h100v100h-100zM1000 200v-100h100v100h-100z" />
46
+ <glyph unicode="&#xe010;" d="M50 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM50 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
47
+ <glyph unicode="&#xe011;" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM850 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 700h200q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h200 q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5 t35.5 14.5z" />
48
+ <glyph unicode="&#xe012;" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h700q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />
49
+ <glyph unicode="&#xe013;" d="M465 477l571 571q8 8 18 8t17 -8l177 -177q8 -7 8 -17t-8 -18l-783 -784q-7 -8 -17.5 -8t-17.5 8l-384 384q-8 8 -8 18t8 17l177 177q7 8 17 8t18 -8l171 -171q7 -7 18 -7t18 7z" />
50
+ <glyph unicode="&#xe014;" d="M904 1083l178 -179q8 -8 8 -18.5t-8 -17.5l-267 -268l267 -268q8 -7 8 -17.5t-8 -18.5l-178 -178q-8 -8 -18.5 -8t-17.5 8l-268 267l-268 -267q-7 -8 -17.5 -8t-18.5 8l-178 178q-8 8 -8 18.5t8 17.5l267 268l-267 268q-8 7 -8 17.5t8 18.5l178 178q8 8 18.5 8t17.5 -8 l268 -267l268 268q7 7 17.5 7t18.5 -7z" />
51
+ <glyph unicode="&#xe015;" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM425 900h150q10 0 17.5 -7.5t7.5 -17.5v-75h75q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5 t-17.5 -7.5h-75v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-75q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v75q0 10 7.5 17.5t17.5 7.5z" />
52
+ <glyph unicode="&#xe016;" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM325 800h350q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-350q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
53
+ <glyph unicode="&#xe017;" d="M550 1200h100q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM800 975v166q167 -62 272 -209.5t105 -331.5q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5 t-184.5 123t-123 184.5t-45.5 224q0 184 105 331.5t272 209.5v-166q-103 -55 -165 -155t-62 -220q0 -116 57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5q0 120 -62 220t-165 155z" />
54
+ <glyph unicode="&#xe018;" d="M1025 1200h150q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM725 800h150q10 0 17.5 -7.5t7.5 -17.5v-750q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v750 q0 10 7.5 17.5t17.5 7.5zM425 500h150q10 0 17.5 -7.5t7.5 -17.5v-450q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v450q0 10 7.5 17.5t17.5 7.5zM125 300h150q10 0 17.5 -7.5t7.5 -17.5v-250q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5 v250q0 10 7.5 17.5t17.5 7.5z" />
55
+ <glyph unicode="&#xe019;" d="M600 1174q33 0 74 -5l38 -152l5 -1q49 -14 94 -39l5 -2l134 80q61 -48 104 -105l-80 -134l3 -5q25 -44 39 -93l1 -6l152 -38q5 -43 5 -73q0 -34 -5 -74l-152 -38l-1 -6q-15 -49 -39 -93l-3 -5l80 -134q-48 -61 -104 -105l-134 81l-5 -3q-44 -25 -94 -39l-5 -2l-38 -151 q-43 -5 -74 -5q-33 0 -74 5l-38 151l-5 2q-49 14 -94 39l-5 3l-134 -81q-60 48 -104 105l80 134l-3 5q-25 45 -38 93l-2 6l-151 38q-6 42 -6 74q0 33 6 73l151 38l2 6q13 48 38 93l3 5l-80 134q47 61 105 105l133 -80l5 2q45 25 94 39l5 1l38 152q43 5 74 5zM600 815 q-89 0 -152 -63t-63 -151.5t63 -151.5t152 -63t152 63t63 151.5t-63 151.5t-152 63z" />
56
+ <glyph unicode="&#xe020;" d="M500 1300h300q41 0 70.5 -29.5t29.5 -70.5v-100h275q10 0 17.5 -7.5t7.5 -17.5v-75h-1100v75q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5zM500 1200v-100h300v100h-300zM1100 900v-800q0 -41 -29.5 -70.5t-70.5 -29.5h-700q-41 0 -70.5 29.5t-29.5 70.5 v800h900zM300 800v-700h100v700h-100zM500 800v-700h100v700h-100zM700 800v-700h100v700h-100zM900 800v-700h100v700h-100z" />
57
+ <glyph unicode="&#xe021;" d="M18 618l620 608q8 7 18.5 7t17.5 -7l608 -608q8 -8 5.5 -13t-12.5 -5h-175v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v375h-300v-375q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v575h-175q-10 0 -12.5 5t5.5 13z" />
58
+ <glyph unicode="&#xe022;" d="M600 1200v-400q0 -41 29.5 -70.5t70.5 -29.5h300v-650q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5h450zM1000 800h-250q-21 0 -35.5 14.5t-14.5 35.5v250z" />
59
+ <glyph unicode="&#xe023;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h50q10 0 17.5 -7.5t7.5 -17.5v-275h175q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5z" />
60
+ <glyph unicode="&#xe024;" d="M1300 0h-538l-41 400h-242l-41 -400h-538l431 1200h209l-21 -300h162l-20 300h208zM515 800l-27 -300h224l-27 300h-170z" />
61
+ <glyph unicode="&#xe025;" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-450h191q20 0 25.5 -11.5t-7.5 -27.5l-327 -400q-13 -16 -32 -16t-32 16l-327 400q-13 16 -7.5 27.5t25.5 11.5h191v450q0 21 14.5 35.5t35.5 14.5zM1125 400h50q10 0 17.5 -7.5t7.5 -17.5v-350q0 -10 -7.5 -17.5t-17.5 -7.5 h-1050q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h50q10 0 17.5 -7.5t7.5 -17.5v-175h900v175q0 10 7.5 17.5t17.5 7.5z" />
62
+ <glyph unicode="&#xe026;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -275q-13 -16 -32 -16t-32 16l-223 275q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z " />
63
+ <glyph unicode="&#xe027;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM632 914l223 -275q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5l223 275q13 16 32 16 t32 -16z" />
64
+ <glyph unicode="&#xe028;" d="M225 1200h750q10 0 19.5 -7t12.5 -17l186 -652q7 -24 7 -49v-425q0 -12 -4 -27t-9 -17q-12 -6 -37 -6h-1100q-12 0 -27 4t-17 8q-6 13 -6 38l1 425q0 25 7 49l185 652q3 10 12.5 17t19.5 7zM878 1000h-556q-10 0 -19 -7t-11 -18l-87 -450q-2 -11 4 -18t16 -7h150 q10 0 19.5 -7t11.5 -17l38 -152q2 -10 11.5 -17t19.5 -7h250q10 0 19.5 7t11.5 17l38 152q2 10 11.5 17t19.5 7h150q10 0 16 7t4 18l-87 450q-2 11 -11 18t-19 7z" />
65
+ <glyph unicode="&#xe029;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM540 820l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />
66
+ <glyph unicode="&#xe030;" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-362q0 -10 -7.5 -17.5t-17.5 -7.5h-362q-11 0 -13 5.5t5 12.5l133 133q-109 76 -238 76q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5h150q0 -117 -45.5 -224 t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117z" />
67
+ <glyph unicode="&#xe031;" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-361q0 -11 -7.5 -18.5t-18.5 -7.5h-361q-11 0 -13 5.5t5 12.5l134 134q-110 75 -239 75q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5h-150q0 117 45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117zM1027 600h150 q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5q-192 0 -348 118l-134 -134q-7 -8 -12.5 -5.5t-5.5 12.5v360q0 11 7.5 18.5t18.5 7.5h360q10 0 12.5 -5.5t-5.5 -12.5l-133 -133q110 -76 240 -76q116 0 214.5 57t155.5 155.5t57 214.5z" />
68
+ <glyph unicode="&#xe032;" d="M125 1200h1050q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-1050q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM1075 1000h-850q-10 0 -17.5 -7.5t-7.5 -17.5v-850q0 -10 7.5 -17.5t17.5 -7.5h850q10 0 17.5 7.5t7.5 17.5v850 q0 10 -7.5 17.5t-17.5 7.5zM325 900h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 900h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 700h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 700h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 500h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 500h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 300h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 300h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5z" />
69
+ <glyph unicode="&#xe033;" d="M900 800v200q0 83 -58.5 141.5t-141.5 58.5h-300q-82 0 -141 -59t-59 -141v-200h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h900q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-100zM400 800v150q0 21 15 35.5t35 14.5h200 q20 0 35 -14.5t15 -35.5v-150h-300z" />
70
+ <glyph unicode="&#xe034;" d="M125 1100h50q10 0 17.5 -7.5t7.5 -17.5v-1075h-100v1075q0 10 7.5 17.5t17.5 7.5zM1075 1052q4 0 9 -2q16 -6 16 -23v-421q0 -6 -3 -12q-33 -59 -66.5 -99t-65.5 -58t-56.5 -24.5t-52.5 -6.5q-26 0 -57.5 6.5t-52.5 13.5t-60 21q-41 15 -63 22.5t-57.5 15t-65.5 7.5 q-85 0 -160 -57q-7 -5 -15 -5q-6 0 -11 3q-14 7 -14 22v438q22 55 82 98.5t119 46.5q23 2 43 0.5t43 -7t32.5 -8.5t38 -13t32.5 -11q41 -14 63.5 -21t57 -14t63.5 -7q103 0 183 87q7 8 18 8z" />
71
+ <glyph unicode="&#xe035;" d="M600 1175q116 0 227 -49.5t192.5 -131t131 -192.5t49.5 -227v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v300q0 127 -70.5 231.5t-184.5 161.5t-245 57t-245 -57t-184.5 -161.5t-70.5 -231.5v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50 q-10 0 -17.5 7.5t-7.5 17.5v300q0 116 49.5 227t131 192.5t192.5 131t227 49.5zM220 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6zM820 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460 q0 8 6 14t14 6z" />
72
+ <glyph unicode="&#xe036;" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM900 668l120 120q7 7 17 7t17 -7l34 -34q7 -7 7 -17t-7 -17l-120 -120l120 -120q7 -7 7 -17 t-7 -17l-34 -34q-7 -7 -17 -7t-17 7l-120 119l-120 -119q-7 -7 -17 -7t-17 7l-34 34q-7 7 -7 17t7 17l119 120l-119 120q-7 7 -7 17t7 17l34 34q7 8 17 8t17 -8z" />
73
+ <glyph unicode="&#xe037;" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6 l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238q-6 8 -4.5 18t9.5 17l29 22q7 5 15 5z" />
74
+ <glyph unicode="&#xe038;" d="M967 1004h3q11 -1 17 -10q135 -179 135 -396q0 -105 -34 -206.5t-98 -185.5q-7 -9 -17 -10h-3q-9 0 -16 6l-42 34q-8 6 -9 16t5 18q111 150 111 328q0 90 -29.5 176t-84.5 157q-6 9 -5 19t10 16l42 33q7 5 15 5zM321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5 t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238 q-6 8 -4.5 18.5t9.5 16.5l29 22q7 5 15 5z" />
75
+ <glyph unicode="&#xe039;" d="M500 900h100v-100h-100v-100h-400v-100h-100v600h500v-300zM1200 700h-200v-100h200v-200h-300v300h-200v300h-100v200h600v-500zM100 1100v-300h300v300h-300zM800 1100v-300h300v300h-300zM300 900h-100v100h100v-100zM1000 900h-100v100h100v-100zM300 500h200v-500 h-500v500h200v100h100v-100zM800 300h200v-100h-100v-100h-200v100h-100v100h100v200h-200v100h300v-300zM100 400v-300h300v300h-300zM300 200h-100v100h100v-100zM1200 200h-100v100h100v-100zM700 0h-100v100h100v-100zM1200 0h-300v100h300v-100z" />
76
+ <glyph unicode="&#xe040;" d="M100 200h-100v1000h100v-1000zM300 200h-100v1000h100v-1000zM700 200h-200v1000h200v-1000zM900 200h-100v1000h100v-1000zM1200 200h-200v1000h200v-1000zM400 0h-300v100h300v-100zM600 0h-100v91h100v-91zM800 0h-100v91h100v-91zM1100 0h-200v91h200v-91z" />
77
+ <glyph unicode="&#xe041;" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />
78
+ <glyph unicode="&#xe042;" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM800 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-56 56l424 426l-700 700h150zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5 t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />
79
+ <glyph unicode="&#xe043;" d="M300 1200h825q75 0 75 -75v-900q0 -25 -18 -43l-64 -64q-8 -8 -13 -5.5t-5 12.5v950q0 10 -7.5 17.5t-17.5 7.5h-700q-25 0 -43 -18l-64 -64q-8 -8 -5.5 -13t12.5 -5h700q10 0 17.5 -7.5t7.5 -17.5v-950q0 -10 -7.5 -17.5t-17.5 -7.5h-850q-10 0 -17.5 7.5t-7.5 17.5v975 q0 25 18 43l139 139q18 18 43 18z" />
80
+ <glyph unicode="&#xe044;" d="M250 1200h800q21 0 35.5 -14.5t14.5 -35.5v-1150l-450 444l-450 -445v1151q0 21 14.5 35.5t35.5 14.5z" />
81
+ <glyph unicode="&#xe045;" d="M822 1200h-444q-11 0 -19 -7.5t-9 -17.5l-78 -301q-7 -24 7 -45l57 -108q6 -9 17.5 -15t21.5 -6h450q10 0 21.5 6t17.5 15l62 108q14 21 7 45l-83 301q-1 10 -9 17.5t-19 7.5zM1175 800h-150q-10 0 -21 -6.5t-15 -15.5l-78 -156q-4 -9 -15 -15.5t-21 -6.5h-550 q-10 0 -21 6.5t-15 15.5l-78 156q-4 9 -15 15.5t-21 6.5h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-650q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h750q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5 t7.5 17.5v650q0 10 -7.5 17.5t-17.5 7.5zM850 200h-500q-10 0 -19.5 -7t-11.5 -17l-38 -152q-2 -10 3.5 -17t15.5 -7h600q10 0 15.5 7t3.5 17l-38 152q-2 10 -11.5 17t-19.5 7z" />
82
+ <glyph unicode="&#xe046;" d="M500 1100h200q56 0 102.5 -20.5t72.5 -50t44 -59t25 -50.5l6 -20h150q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h150q2 8 6.5 21.5t24 48t45 61t72 48t102.5 21.5zM900 800v-100 h100v100h-100zM600 730q-95 0 -162.5 -67.5t-67.5 -162.5t67.5 -162.5t162.5 -67.5t162.5 67.5t67.5 162.5t-67.5 162.5t-162.5 67.5zM600 603q43 0 73 -30t30 -73t-30 -73t-73 -30t-73 30t-30 73t30 73t73 30z" />
83
+ <glyph unicode="&#xe047;" d="M681 1199l385 -998q20 -50 60 -92q18 -19 36.5 -29.5t27.5 -11.5l10 -2v-66h-417v66q53 0 75 43.5t5 88.5l-82 222h-391q-58 -145 -92 -234q-11 -34 -6.5 -57t25.5 -37t46 -20t55 -6v-66h-365v66q56 24 84 52q12 12 25 30.5t20 31.5l7 13l399 1006h93zM416 521h340 l-162 457z" />
84
+ <glyph unicode="&#xe048;" d="M753 641q5 -1 14.5 -4.5t36 -15.5t50.5 -26.5t53.5 -40t50.5 -54.5t35.5 -70t14.5 -87q0 -67 -27.5 -125.5t-71.5 -97.5t-98.5 -66.5t-108.5 -40.5t-102 -13h-500v89q41 7 70.5 32.5t29.5 65.5v827q0 24 -0.5 34t-3.5 24t-8.5 19.5t-17 13.5t-28 12.5t-42.5 11.5v71 l471 -1q57 0 115.5 -20.5t108 -57t80.5 -94t31 -124.5q0 -51 -15.5 -96.5t-38 -74.5t-45 -50.5t-38.5 -30.5zM400 700h139q78 0 130.5 48.5t52.5 122.5q0 41 -8.5 70.5t-29.5 55.5t-62.5 39.5t-103.5 13.5h-118v-350zM400 200h216q80 0 121 50.5t41 130.5q0 90 -62.5 154.5 t-156.5 64.5h-159v-400z" />
85
+ <glyph unicode="&#xe049;" d="M877 1200l2 -57q-83 -19 -116 -45.5t-40 -66.5l-132 -839q-9 -49 13 -69t96 -26v-97h-500v97q186 16 200 98l173 832q3 17 3 30t-1.5 22.5t-9 17.5t-13.5 12.5t-21.5 10t-26 8.5t-33.5 10q-13 3 -19 5v57h425z" />
86
+ <glyph unicode="&#xe050;" d="M1300 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM175 1000h-75v-800h75l-125 -167l-125 167h75v800h-75l125 167z" />
87
+ <glyph unicode="&#xe051;" d="M1100 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-650q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v650h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM1167 50l-167 -125v75h-800v-75l-167 125l167 125v-75h800v75z" />
88
+ <glyph unicode="&#xe052;" d="M50 1100h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
89
+ <glyph unicode="&#xe053;" d="M250 1100h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM250 500h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
90
+ <glyph unicode="&#xe054;" d="M500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000 q-21 0 -35.5 14.5t-14.5 35.5zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5z" />
91
+ <glyph unicode="&#xe055;" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
92
+ <glyph unicode="&#xe056;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 1100h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 800h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 500h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 500h800q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 200h800 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
93
+ <glyph unicode="&#xe057;" d="M400 0h-100v1100h100v-1100zM550 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM267 550l-167 -125v75h-200v100h200v75zM550 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
94
+ <glyph unicode="&#xe058;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM900 0h-100v1100h100v-1100zM50 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM1100 600h200v-100h-200v-75l-167 125l167 125v-75zM50 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
95
+ <glyph unicode="&#xe059;" d="M75 1000h750q31 0 53 -22t22 -53v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53v650q0 31 22 53t53 22zM1200 300l-300 300l300 300v-600z" />
96
+ <glyph unicode="&#xe060;" d="M44 1100h1112q18 0 31 -13t13 -31v-1012q0 -18 -13 -31t-31 -13h-1112q-18 0 -31 13t-13 31v1012q0 18 13 31t31 13zM100 1000v-737l247 182l298 -131l-74 156l293 318l236 -288v500h-1000zM342 884q56 0 95 -39t39 -94.5t-39 -95t-95 -39.5t-95 39.5t-39 95t39 94.5 t95 39z" />
97
+ <glyph unicode="&#xe062;" d="M648 1169q117 0 216 -60t156.5 -161t57.5 -218q0 -115 -70 -258q-69 -109 -158 -225.5t-143 -179.5l-54 -62q-9 8 -25.5 24.5t-63.5 67.5t-91 103t-98.5 128t-95.5 148q-60 132 -60 249q0 88 34 169.5t91.5 142t137 96.5t166.5 36zM652.5 974q-91.5 0 -156.5 -65 t-65 -157t65 -156.5t156.5 -64.5t156.5 64.5t65 156.5t-65 157t-156.5 65z" />
98
+ <glyph unicode="&#xe063;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 173v854q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57z" />
99
+ <glyph unicode="&#xe064;" d="M554 1295q21 -72 57.5 -143.5t76 -130t83 -118t82.5 -117t70 -116t49.5 -126t18.5 -136.5q0 -71 -25.5 -135t-68.5 -111t-99 -82t-118.5 -54t-125.5 -23q-84 5 -161.5 34t-139.5 78.5t-99 125t-37 164.5q0 69 18 136.5t49.5 126.5t69.5 116.5t81.5 117.5t83.5 119 t76.5 131t58.5 143zM344 710q-23 -33 -43.5 -70.5t-40.5 -102.5t-17 -123q1 -37 14.5 -69.5t30 -52t41 -37t38.5 -24.5t33 -15q21 -7 32 -1t13 22l6 34q2 10 -2.5 22t-13.5 19q-5 4 -14 12t-29.5 40.5t-32.5 73.5q-26 89 6 271q2 11 -6 11q-8 1 -15 -10z" />
100
+ <glyph unicode="&#xe065;" d="M1000 1013l108 115q2 1 5 2t13 2t20.5 -1t25 -9.5t28.5 -21.5q22 -22 27 -43t0 -32l-6 -10l-108 -115zM350 1100h400q50 0 105 -13l-187 -187h-368q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v182l200 200v-332 q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM1009 803l-362 -362l-161 -50l55 170l355 355z" />
101
+ <glyph unicode="&#xe066;" d="M350 1100h361q-164 -146 -216 -200h-195q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5l200 153v-103q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M824 1073l339 -301q8 -7 8 -17.5t-8 -17.5l-340 -306q-7 -6 -12.5 -4t-6.5 11v203q-26 1 -54.5 0t-78.5 -7.5t-92 -17.5t-86 -35t-70 -57q10 59 33 108t51.5 81.5t65 58.5t68.5 40.5t67 24.5t56 13.5t40 4.5v210q1 10 6.5 12.5t13.5 -4.5z" />
102
+ <glyph unicode="&#xe067;" d="M350 1100h350q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69l200 200v-219q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M643 639l395 395q7 7 17.5 7t17.5 -7l101 -101q7 -7 7 -17.5t-7 -17.5l-531 -532q-7 -7 -17.5 -7t-17.5 7l-248 248q-7 7 -7 17.5t7 17.5l101 101q7 7 17.5 7t17.5 -7l111 -111q8 -7 18 -7t18 7z" />
103
+ <glyph unicode="&#xe068;" d="M318 918l264 264q8 8 18 8t18 -8l260 -264q7 -8 4.5 -13t-12.5 -5h-170v-200h200v173q0 10 5 12t13 -5l264 -260q8 -7 8 -17.5t-8 -17.5l-264 -265q-8 -7 -13 -5t-5 12v173h-200v-200h170q10 0 12.5 -5t-4.5 -13l-260 -264q-8 -8 -18 -8t-18 8l-264 264q-8 8 -5.5 13 t12.5 5h175v200h-200v-173q0 -10 -5 -12t-13 5l-264 265q-8 7 -8 17.5t8 17.5l264 260q8 7 13 5t5 -12v-173h200v200h-175q-10 0 -12.5 5t5.5 13z" />
104
+ <glyph unicode="&#xe069;" d="M250 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />
105
+ <glyph unicode="&#xe070;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5 t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />
106
+ <glyph unicode="&#xe071;" d="M1200 1050v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-492 480q-15 14 -15 35t15 35l492 480q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25z" />
107
+ <glyph unicode="&#xe072;" d="M243 1074l814 -498q18 -11 18 -26t-18 -26l-814 -498q-18 -11 -30.5 -4t-12.5 28v1000q0 21 12.5 28t30.5 -4z" />
108
+ <glyph unicode="&#xe073;" d="M250 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM650 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800 q0 21 14.5 35.5t35.5 14.5z" />
109
+ <glyph unicode="&#xe074;" d="M1100 950v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5z" />
110
+ <glyph unicode="&#xe075;" d="M500 612v438q0 21 10.5 25t25.5 -10l492 -480q15 -14 15 -35t-15 -35l-492 -480q-15 -14 -25.5 -10t-10.5 25v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10z" />
111
+ <glyph unicode="&#xe076;" d="M1048 1102l100 1q20 0 35 -14.5t15 -35.5l5 -1000q0 -21 -14.5 -35.5t-35.5 -14.5l-100 -1q-21 0 -35.5 14.5t-14.5 35.5l-2 437l-463 -454q-14 -15 -24.5 -10.5t-10.5 25.5l-2 437l-462 -455q-15 -14 -25.5 -9.5t-10.5 24.5l-5 1000q0 21 10.5 25.5t25.5 -10.5l466 -450 l-2 438q0 20 10.5 24.5t25.5 -9.5l466 -451l-2 438q0 21 14.5 35.5t35.5 14.5z" />
112
+ <glyph unicode="&#xe077;" d="M850 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10l464 -453v438q0 21 14.5 35.5t35.5 14.5z" />
113
+ <glyph unicode="&#xe078;" d="M686 1081l501 -540q15 -15 10.5 -26t-26.5 -11h-1042q-22 0 -26.5 11t10.5 26l501 540q15 15 36 15t36 -15zM150 400h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
114
+ <glyph unicode="&#xe079;" d="M885 900l-352 -353l352 -353l-197 -198l-552 552l552 550z" />
115
+ <glyph unicode="&#xe080;" d="M1064 547l-551 -551l-198 198l353 353l-353 353l198 198z" />
116
+ <glyph unicode="&#xe081;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM650 900h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-150 q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5h150v-150q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5v150h150q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-150v150q0 21 -14.5 35.5t-35.5 14.5z" />
117
+ <glyph unicode="&#xe082;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM850 700h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5 t35.5 -14.5h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5z" />
118
+ <glyph unicode="&#xe083;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM741.5 913q-12.5 0 -21.5 -9l-120 -120l-120 120q-9 9 -21.5 9 t-21.5 -9l-141 -141q-9 -9 -9 -21.5t9 -21.5l120 -120l-120 -120q-9 -9 -9 -21.5t9 -21.5l141 -141q9 -9 21.5 -9t21.5 9l120 120l120 -120q9 -9 21.5 -9t21.5 9l141 141q9 9 9 21.5t-9 21.5l-120 120l120 120q9 9 9 21.5t-9 21.5l-141 141q-9 9 -21.5 9z" />
119
+ <glyph unicode="&#xe084;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM546 623l-84 85q-7 7 -17.5 7t-18.5 -7l-139 -139q-7 -8 -7 -18t7 -18 l242 -241q7 -8 17.5 -8t17.5 8l375 375q7 7 7 17.5t-7 18.5l-139 139q-7 7 -17.5 7t-17.5 -7z" />
120
+ <glyph unicode="&#xe085;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM588 941q-29 0 -59 -5.5t-63 -20.5t-58 -38.5t-41.5 -63t-16.5 -89.5 q0 -25 20 -25h131q30 -5 35 11q6 20 20.5 28t45.5 8q20 0 31.5 -10.5t11.5 -28.5q0 -23 -7 -34t-26 -18q-1 0 -13.5 -4t-19.5 -7.5t-20 -10.5t-22 -17t-18.5 -24t-15.5 -35t-8 -46q-1 -8 5.5 -16.5t20.5 -8.5h173q7 0 22 8t35 28t37.5 48t29.5 74t12 100q0 47 -17 83 t-42.5 57t-59.5 34.5t-64 18t-59 4.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />
121
+ <glyph unicode="&#xe086;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM675 1000h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5 t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5zM675 700h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h75v-200h-75q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h350q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5 t-17.5 7.5h-75v275q0 10 -7.5 17.5t-17.5 7.5z" />
122
+ <glyph unicode="&#xe087;" d="M525 1200h150q10 0 17.5 -7.5t7.5 -17.5v-194q103 -27 178.5 -102.5t102.5 -178.5h194q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-194q-27 -103 -102.5 -178.5t-178.5 -102.5v-194q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v194 q-103 27 -178.5 102.5t-102.5 178.5h-194q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h194q27 103 102.5 178.5t178.5 102.5v194q0 10 7.5 17.5t17.5 7.5zM700 893v-168q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v168q-68 -23 -119 -74 t-74 -119h168q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-168q23 -68 74 -119t119 -74v168q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-168q68 23 119 74t74 119h-168q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h168 q-23 68 -74 119t-119 74z" />
123
+ <glyph unicode="&#xe088;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM759 823l64 -64q7 -7 7 -17.5t-7 -17.5l-124 -124l124 -124q7 -7 7 -17.5t-7 -17.5l-64 -64q-7 -7 -17.5 -7t-17.5 7l-124 124l-124 -124q-7 -7 -17.5 -7t-17.5 7l-64 64 q-7 7 -7 17.5t7 17.5l124 124l-124 124q-7 7 -7 17.5t7 17.5l64 64q7 7 17.5 7t17.5 -7l124 -124l124 124q7 7 17.5 7t17.5 -7z" />
124
+ <glyph unicode="&#xe089;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM782 788l106 -106q7 -7 7 -17.5t-7 -17.5l-320 -321q-8 -7 -18 -7t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l197 197q7 7 17.5 7t17.5 -7z" />
125
+ <glyph unicode="&#xe090;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5q0 -120 65 -225 l587 587q-105 65 -225 65zM965 819l-584 -584q104 -62 219 -62q116 0 214.5 57t155.5 155.5t57 214.5q0 115 -62 219z" />
126
+ <glyph unicode="&#xe091;" d="M39 582l522 427q16 13 27.5 8t11.5 -26v-291h550q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-550v-291q0 -21 -11.5 -26t-27.5 8l-522 427q-16 13 -16 32t16 32z" />
127
+ <glyph unicode="&#xe092;" d="M639 1009l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291h-550q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h550v291q0 21 11.5 26t27.5 -8z" />
128
+ <glyph unicode="&#xe093;" d="M682 1161l427 -522q13 -16 8 -27.5t-26 -11.5h-291v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v550h-291q-21 0 -26 11.5t8 27.5l427 522q13 16 32 16t32 -16z" />
129
+ <glyph unicode="&#xe094;" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-550h291q21 0 26 -11.5t-8 -27.5l-427 -522q-13 -16 -32 -16t-32 16l-427 522q-13 16 -8 27.5t26 11.5h291v550q0 21 14.5 35.5t35.5 14.5z" />
130
+ <glyph unicode="&#xe095;" d="M639 1109l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291q-94 -2 -182 -20t-170.5 -52t-147 -92.5t-100.5 -135.5q5 105 27 193.5t67.5 167t113 135t167 91.5t225.5 42v262q0 21 11.5 26t27.5 -8z" />
131
+ <glyph unicode="&#xe096;" d="M850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5zM350 0h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249 q8 7 18 7t18 -7l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5z" />
132
+ <glyph unicode="&#xe097;" d="M1014 1120l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249q8 7 18 7t18 -7zM250 600h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5z" />
133
+ <glyph unicode="&#xe101;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM704 900h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5 t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />
134
+ <glyph unicode="&#xe102;" d="M260 1200q9 0 19 -2t15 -4l5 -2q22 -10 44 -23l196 -118q21 -13 36 -24q29 -21 37 -12q11 13 49 35l196 118q22 13 45 23q17 7 38 7q23 0 47 -16.5t37 -33.5l13 -16q14 -21 18 -45l25 -123l8 -44q1 -9 8.5 -14.5t17.5 -5.5h61q10 0 17.5 -7.5t7.5 -17.5v-50 q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 -7.5t-7.5 -17.5v-175h-400v300h-200v-300h-400v175q0 10 -7.5 17.5t-17.5 7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5h61q11 0 18 3t7 8q0 4 9 52l25 128q5 25 19 45q2 3 5 7t13.5 15t21.5 19.5t26.5 15.5 t29.5 7zM915 1079l-166 -162q-7 -7 -5 -12t12 -5h219q10 0 15 7t2 17l-51 149q-3 10 -11 12t-15 -6zM463 917l-177 157q-8 7 -16 5t-11 -12l-51 -143q-3 -10 2 -17t15 -7h231q11 0 12.5 5t-5.5 12zM500 0h-375q-10 0 -17.5 7.5t-7.5 17.5v375h400v-400zM1100 400v-375 q0 -10 -7.5 -17.5t-17.5 -7.5h-375v400h400z" />
135
+ <glyph unicode="&#xe103;" d="M1165 1190q8 3 21 -6.5t13 -17.5q-2 -178 -24.5 -323.5t-55.5 -245.5t-87 -174.5t-102.5 -118.5t-118 -68.5t-118.5 -33t-120 -4.5t-105 9.5t-90 16.5q-61 12 -78 11q-4 1 -12.5 0t-34 -14.5t-52.5 -40.5l-153 -153q-26 -24 -37 -14.5t-11 43.5q0 64 42 102q8 8 50.5 45 t66.5 58q19 17 35 47t13 61q-9 55 -10 102.5t7 111t37 130t78 129.5q39 51 80 88t89.5 63.5t94.5 45t113.5 36t129 31t157.5 37t182 47.5zM1116 1098q-8 9 -22.5 -3t-45.5 -50q-38 -47 -119 -103.5t-142 -89.5l-62 -33q-56 -30 -102 -57t-104 -68t-102.5 -80.5t-85.5 -91 t-64 -104.5q-24 -56 -31 -86t2 -32t31.5 17.5t55.5 59.5q25 30 94 75.5t125.5 77.5t147.5 81q70 37 118.5 69t102 79.5t99 111t86.5 148.5q22 50 24 60t-6 19z" />
136
+ <glyph unicode="&#xe104;" d="M653 1231q-39 -67 -54.5 -131t-10.5 -114.5t24.5 -96.5t47.5 -80t63.5 -62.5t68.5 -46.5t65 -30q-4 7 -17.5 35t-18.5 39.5t-17 39.5t-17 43t-13 42t-9.5 44.5t-2 42t4 43t13.5 39t23 38.5q96 -42 165 -107.5t105 -138t52 -156t13 -159t-19 -149.5q-13 -55 -44 -106.5 t-68 -87t-78.5 -64.5t-72.5 -45t-53 -22q-72 -22 -127 -11q-31 6 -13 19q6 3 17 7q13 5 32.5 21t41 44t38.5 63.5t21.5 81.5t-6.5 94.5t-50 107t-104 115.5q10 -104 -0.5 -189t-37 -140.5t-65 -93t-84 -52t-93.5 -11t-95 24.5q-80 36 -131.5 114t-53.5 171q-2 23 0 49.5 t4.5 52.5t13.5 56t27.5 60t46 64.5t69.5 68.5q-8 -53 -5 -102.5t17.5 -90t34 -68.5t44.5 -39t49 -2q31 13 38.5 36t-4.5 55t-29 64.5t-36 75t-26 75.5q-15 85 2 161.5t53.5 128.5t85.5 92.5t93.5 61t81.5 25.5z" />
137
+ <glyph unicode="&#xe105;" d="M600 1094q82 0 160.5 -22.5t140 -59t116.5 -82.5t94.5 -95t68 -95t42.5 -82.5t14 -57.5t-14 -57.5t-43 -82.5t-68.5 -95t-94.5 -95t-116.5 -82.5t-140 -59t-159.5 -22.5t-159.5 22.5t-140 59t-116.5 82.5t-94.5 95t-68.5 95t-43 82.5t-14 57.5t14 57.5t42.5 82.5t68 95 t94.5 95t116.5 82.5t140 59t160.5 22.5zM888 829q-15 15 -18 12t5 -22q25 -57 25 -119q0 -124 -88 -212t-212 -88t-212 88t-88 212q0 59 23 114q8 19 4.5 22t-17.5 -12q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q22 -36 47 -71t70 -82t92.5 -81t113 -58.5t133.5 -24.5 t133.5 24t113 58.5t92.5 81.5t70 81.5t47 70.5q11 18 9 42.5t-14 41.5q-90 117 -163 189zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l35 34q14 15 12.5 33.5t-16.5 33.5q-44 44 -89 117q-11 18 -28 20t-32 -12z" />
138
+ <glyph unicode="&#xe106;" d="M592 0h-148l31 120q-91 20 -175.5 68.5t-143.5 106.5t-103.5 119t-66.5 110t-22 76q0 21 14 57.5t42.5 82.5t68 95t94.5 95t116.5 82.5t140 59t160.5 22.5q61 0 126 -15l32 121h148zM944 770l47 181q108 -85 176.5 -192t68.5 -159q0 -26 -19.5 -71t-59.5 -102t-93 -112 t-129 -104.5t-158 -75.5l46 173q77 49 136 117t97 131q11 18 9 42.5t-14 41.5q-54 70 -107 130zM310 824q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q18 -30 39 -60t57 -70.5t74 -73t90 -61t105 -41.5l41 154q-107 18 -178.5 101.5t-71.5 193.5q0 59 23 114q8 19 4.5 22 t-17.5 -12zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l12 11l22 86l-3 4q-44 44 -89 117q-11 18 -28 20t-32 -12z" />
139
+ <glyph unicode="&#xe107;" d="M-90 100l642 1066q20 31 48 28.5t48 -35.5l642 -1056q21 -32 7.5 -67.5t-50.5 -35.5h-1294q-37 0 -50.5 34t7.5 66zM155 200h345v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h345l-445 723zM496 700h208q20 0 32 -14.5t8 -34.5l-58 -252 q-4 -20 -21.5 -34.5t-37.5 -14.5h-54q-20 0 -37.5 14.5t-21.5 34.5l-58 252q-4 20 8 34.5t32 14.5z" />
140
+ <glyph unicode="&#xe108;" d="M650 1200q62 0 106 -44t44 -106v-339l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -93 100 -113v-64q0 -21 -13 -29t-32 1l-205 128l-205 -128q-19 -9 -32 -1t-13 29v64q0 20 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5v41 q0 20 11 44.5t26 38.5l363 325v339q0 62 44 106t106 44z" />
141
+ <glyph unicode="&#xe109;" d="M850 1200h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-150h-1100v150q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-50h500v50q0 21 14.5 35.5t35.5 14.5zM1100 800v-750q0 -21 -14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v750h1100zM100 600v-100h100v100h-100zM300 600v-100h100v100h-100zM500 600v-100h100v100h-100zM700 600v-100h100v100h-100zM900 600v-100h100v100h-100zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400 v-100h100v100h-100zM700 400v-100h100v100h-100zM900 400v-100h100v100h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100zM500 200v-100h100v100h-100zM700 200v-100h100v100h-100zM900 200v-100h100v100h-100z" />
142
+ <glyph unicode="&#xe110;" d="M1135 1165l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-159l-600 -600h-291q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h209l600 600h241v150q0 21 10.5 25t24.5 -10zM522 819l-141 -141l-122 122h-209q-21 0 -35.5 14.5 t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h291zM1135 565l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-241l-181 181l141 141l122 -122h159v150q0 21 10.5 25t24.5 -10z" />
143
+ <glyph unicode="&#xe111;" d="M100 1100h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5z" />
144
+ <glyph unicode="&#xe112;" d="M150 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM850 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM1100 800v-300q0 -41 -3 -77.5t-15 -89.5t-32 -96t-58 -89t-89 -77t-129 -51t-174 -20t-174 20 t-129 51t-89 77t-58 89t-32 96t-15 89.5t-3 77.5v300h300v-250v-27v-42.5t1.5 -41t5 -38t10 -35t16.5 -30t25.5 -24.5t35 -19t46.5 -12t60 -4t60 4.5t46.5 12.5t35 19.5t25 25.5t17 30.5t10 35t5 38t2 40.5t-0.5 42v25v250h300z" />
145
+ <glyph unicode="&#xe113;" d="M1100 411l-198 -199l-353 353l-353 -353l-197 199l551 551z" />
146
+ <glyph unicode="&#xe114;" d="M1101 789l-550 -551l-551 551l198 199l353 -353l353 353z" />
147
+ <glyph unicode="&#xe115;" d="M404 1000h746q21 0 35.5 -14.5t14.5 -35.5v-551h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v401h-381zM135 984l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-400h385l215 -200h-750q-21 0 -35.5 14.5 t-14.5 35.5v550h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
148
+ <glyph unicode="&#xe116;" d="M56 1200h94q17 0 31 -11t18 -27l38 -162h896q24 0 39 -18.5t10 -42.5l-100 -475q-5 -21 -27 -42.5t-55 -21.5h-633l48 -200h535q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-50q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-300v-50 q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-31q-18 0 -32.5 10t-20.5 19l-5 10l-201 961h-54q-20 0 -35 14.5t-15 35.5t15 35.5t35 14.5z" />
149
+ <glyph unicode="&#xe117;" d="M1200 1000v-100h-1200v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500zM0 800h1200v-800h-1200v800z" />
150
+ <glyph unicode="&#xe118;" d="M200 800l-200 -400v600h200q0 41 29.5 70.5t70.5 29.5h300q42 0 71 -29.5t29 -70.5h500v-200h-1000zM1500 700l-300 -700h-1200l300 700h1200z" />
151
+ <glyph unicode="&#xe119;" d="M635 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-601h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v601h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
152
+ <glyph unicode="&#xe120;" d="M936 864l249 -229q14 -15 14 -35.5t-14 -35.5l-249 -229q-15 -15 -25.5 -10.5t-10.5 24.5v151h-600v-151q0 -20 -10.5 -24.5t-25.5 10.5l-249 229q-14 15 -14 35.5t14 35.5l249 229q15 15 25.5 10.5t10.5 -25.5v-149h600v149q0 21 10.5 25.5t25.5 -10.5z" />
153
+ <glyph unicode="&#xe121;" d="M1169 400l-172 732q-5 23 -23 45.5t-38 22.5h-672q-20 0 -38 -20t-23 -41l-172 -739h1138zM1100 300h-1000q-41 0 -70.5 -29.5t-29.5 -70.5v-100q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5v100q0 41 -29.5 70.5t-70.5 29.5zM800 100v100h100v-100h-100 zM1000 100v100h100v-100h-100z" />
154
+ <glyph unicode="&#xe122;" d="M1150 1100q21 0 35.5 -14.5t14.5 -35.5v-850q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v850q0 21 14.5 35.5t35.5 14.5zM1000 200l-675 200h-38l47 -276q3 -16 -5.5 -20t-29.5 -4h-7h-84q-20 0 -34.5 14t-18.5 35q-55 337 -55 351v250v6q0 16 1 23.5t6.5 14 t17.5 6.5h200l675 250v-850zM0 750v-250q-4 0 -11 0.5t-24 6t-30 15t-24 30t-11 48.5v50q0 26 10.5 46t25 30t29 16t25.5 7z" />
155
+ <glyph unicode="&#xe123;" d="M553 1200h94q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327l118 -173h17q19 0 33 -14.5t14 -35t-13 -40.5t-31 -27q-8 -4 -23 -9.5t-65 -19.5t-103 -25t-132.5 -20t-158.5 -9q-57 0 -115 5t-104 12t-88.5 15.5t-73.5 17.5t-54.5 16t-35.5 12l-11 4 q-18 8 -31 28t-13 40.5t14 35t33 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3.5 32t28.5 13zM498 110q50 -6 102 -6q53 0 102 6q-12 -49 -39.5 -79.5t-62.5 -30.5t-63 30.5t-39 79.5z" />
156
+ <glyph unicode="&#xe124;" d="M800 946l224 78l-78 -224l234 -45l-180 -155l180 -155l-234 -45l78 -224l-224 78l-45 -234l-155 180l-155 -180l-45 234l-224 -78l78 224l-234 45l180 155l-180 155l234 45l-78 224l224 -78l45 234l155 -180l155 180z" />
157
+ <glyph unicode="&#xe125;" d="M650 1200h50q40 0 70 -40.5t30 -84.5v-150l-28 -125h328q40 0 70 -40.5t30 -84.5v-100q0 -45 -29 -74l-238 -344q-16 -24 -38 -40.5t-45 -16.5h-250q-7 0 -42 25t-66 50l-31 25h-61q-45 0 -72.5 18t-27.5 57v400q0 36 20 63l145 196l96 198q13 28 37.5 48t51.5 20z M650 1100l-100 -212l-150 -213v-375h100l136 -100h214l250 375v125h-450l50 225v175h-50zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5z" />
158
+ <glyph unicode="&#xe126;" d="M600 1100h250q23 0 45 -16.5t38 -40.5l238 -344q29 -29 29 -74v-100q0 -44 -30 -84.5t-70 -40.5h-328q28 -118 28 -125v-150q0 -44 -30 -84.5t-70 -40.5h-50q-27 0 -51.5 20t-37.5 48l-96 198l-145 196q-20 27 -20 63v400q0 39 27.5 57t72.5 18h61q124 100 139 100z M50 1000h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM636 1000l-136 -100h-100v-375l150 -213l100 -212h50v175l-50 225h450v125l-250 375h-214z" />
159
+ <glyph unicode="&#xe127;" d="M356 873l363 230q31 16 53 -6l110 -112q13 -13 13.5 -32t-11.5 -34l-84 -121h302q84 0 138 -38t54 -110t-55 -111t-139 -39h-106l-131 -339q-6 -21 -19.5 -41t-28.5 -20h-342q-7 0 -90 81t-83 94v525q0 17 14 35.5t28 28.5zM400 792v-503l100 -89h293l131 339 q6 21 19.5 41t28.5 20h203q21 0 30.5 25t0.5 50t-31 25h-456h-7h-6h-5.5t-6 0.5t-5 1.5t-5 2t-4 2.5t-4 4t-2.5 4.5q-12 25 5 47l146 183l-86 83zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500 q0 21 14.5 35.5t35.5 14.5z" />
160
+ <glyph unicode="&#xe128;" d="M475 1103l366 -230q2 -1 6 -3.5t14 -10.5t18 -16.5t14.5 -20t6.5 -22.5v-525q0 -13 -86 -94t-93 -81h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-85 0 -139.5 39t-54.5 111t54 110t138 38h302l-85 121q-11 15 -10.5 34t13.5 32l110 112q22 22 53 6zM370 945l146 -183 q17 -22 5 -47q-2 -2 -3.5 -4.5t-4 -4t-4 -2.5t-5 -2t-5 -1.5t-6 -0.5h-6h-6.5h-6h-475v-100h221q15 0 29 -20t20 -41l130 -339h294l106 89v503l-342 236zM1050 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5 v500q0 21 14.5 35.5t35.5 14.5z" />
161
+ <glyph unicode="&#xe129;" d="M550 1294q72 0 111 -55t39 -139v-106l339 -131q21 -6 41 -19.5t20 -28.5v-342q0 -7 -81 -90t-94 -83h-525q-17 0 -35.5 14t-28.5 28l-9 14l-230 363q-16 31 6 53l112 110q13 13 32 13.5t34 -11.5l121 -84v302q0 84 38 138t110 54zM600 972v203q0 21 -25 30.5t-50 0.5 t-25 -31v-456v-7v-6v-5.5t-0.5 -6t-1.5 -5t-2 -5t-2.5 -4t-4 -4t-4.5 -2.5q-25 -12 -47 5l-183 146l-83 -86l236 -339h503l89 100v293l-339 131q-21 6 -41 19.5t-20 28.5zM450 200h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
162
+ <glyph unicode="&#xe130;" d="M350 1100h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5zM600 306v-106q0 -84 -39 -139t-111 -55t-110 54t-38 138v302l-121 -84q-15 -12 -34 -11.5t-32 13.5l-112 110 q-22 22 -6 53l230 363q1 2 3.5 6t10.5 13.5t16.5 17t20 13.5t22.5 6h525q13 0 94 -83t81 -90v-342q0 -15 -20 -28.5t-41 -19.5zM308 900l-236 -339l83 -86l183 146q22 17 47 5q2 -1 4.5 -2.5t4 -4t2.5 -4t2 -5t1.5 -5t0.5 -6v-5.5v-6v-7v-456q0 -22 25 -31t50 0.5t25 30.5 v203q0 15 20 28.5t41 19.5l339 131v293l-89 100h-503z" />
163
+ <glyph unicode="&#xe131;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM914 632l-275 223q-16 13 -27.5 8t-11.5 -26v-137h-275 q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h275v-137q0 -21 11.5 -26t27.5 8l275 223q16 13 16 32t-16 32z" />
164
+ <glyph unicode="&#xe132;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM561 855l-275 -223q-16 -13 -16 -32t16 -32l275 -223q16 -13 27.5 -8 t11.5 26v137h275q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5h-275v137q0 21 -11.5 26t-27.5 -8z" />
165
+ <glyph unicode="&#xe133;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM855 639l-223 275q-13 16 -32 16t-32 -16l-223 -275q-13 -16 -8 -27.5 t26 -11.5h137v-275q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v275h137q21 0 26 11.5t-8 27.5z" />
166
+ <glyph unicode="&#xe134;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM675 900h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-275h-137q-21 0 -26 -11.5 t8 -27.5l223 -275q13 -16 32 -16t32 16l223 275q13 16 8 27.5t-26 11.5h-137v275q0 10 -7.5 17.5t-17.5 7.5z" />
167
+ <glyph unicode="&#xe135;" d="M600 1176q116 0 222.5 -46t184 -123.5t123.5 -184t46 -222.5t-46 -222.5t-123.5 -184t-184 -123.5t-222.5 -46t-222.5 46t-184 123.5t-123.5 184t-46 222.5t46 222.5t123.5 184t184 123.5t222.5 46zM627 1101q-15 -12 -36.5 -20.5t-35.5 -12t-43 -8t-39 -6.5 q-15 -3 -45.5 0t-45.5 -2q-20 -7 -51.5 -26.5t-34.5 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -91t-29.5 -79q-9 -34 5 -93t8 -87q0 -9 17 -44.5t16 -59.5q12 0 23 -5t23.5 -15t19.5 -14q16 -8 33 -15t40.5 -15t34.5 -12q21 -9 52.5 -32t60 -38t57.5 -11 q7 -15 -3 -34t-22.5 -40t-9.5 -38q13 -21 23 -34.5t27.5 -27.5t36.5 -18q0 -7 -3.5 -16t-3.5 -14t5 -17q104 -2 221 112q30 29 46.5 47t34.5 49t21 63q-13 8 -37 8.5t-36 7.5q-15 7 -49.5 15t-51.5 19q-18 0 -41 -0.5t-43 -1.5t-42 -6.5t-38 -16.5q-51 -35 -66 -12 q-4 1 -3.5 25.5t0.5 25.5q-6 13 -26.5 17.5t-24.5 6.5q1 15 -0.5 30.5t-7 28t-18.5 11.5t-31 -21q-23 -25 -42 4q-19 28 -8 58q6 16 22 22q6 -1 26 -1.5t33.5 -4t19.5 -13.5q7 -12 18 -24t21.5 -20.5t20 -15t15.5 -10.5l5 -3q2 12 7.5 30.5t8 34.5t-0.5 32q-3 18 3.5 29 t18 22.5t15.5 24.5q6 14 10.5 35t8 31t15.5 22.5t34 22.5q-6 18 10 36q8 0 24 -1.5t24.5 -1.5t20 4.5t20.5 15.5q-10 23 -31 42.5t-37.5 29.5t-49 27t-43.5 23q0 1 2 8t3 11.5t1.5 10.5t-1 9.5t-4.5 4.5q31 -13 58.5 -14.5t38.5 2.5l12 5q5 28 -9.5 46t-36.5 24t-50 15 t-41 20q-18 -4 -37 0zM613 994q0 -17 8 -42t17 -45t9 -23q-8 1 -39.5 5.5t-52.5 10t-37 16.5q3 11 16 29.5t16 25.5q10 -10 19 -10t14 6t13.5 14.5t16.5 12.5z" />
168
+ <glyph unicode="&#xe136;" d="M756 1157q164 92 306 -9l-259 -138l145 -232l251 126q6 -89 -34 -156.5t-117 -110.5q-60 -34 -127 -39.5t-126 16.5l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5t15 37.5l600 599q-34 101 5.5 201.5t135.5 154.5z" />
169
+ <glyph unicode="&#xe137;" horiz-adv-x="1220" d="M100 1196h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 1096h-200v-100h200v100zM100 796h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 696h-500v-100h500v100zM100 396h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 296h-300v-100h300v100z " />
170
+ <glyph unicode="&#xe138;" d="M150 1200h900q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM700 500v-300l-200 -200v500l-350 500h900z" />
171
+ <glyph unicode="&#xe139;" d="M500 1200h200q41 0 70.5 -29.5t29.5 -70.5v-100h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5zM500 1100v-100h200v100h-200zM1200 400v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v200h1200z" />
172
+ <glyph unicode="&#xe140;" d="M50 1200h300q21 0 25 -10.5t-10 -24.5l-94 -94l199 -199q7 -8 7 -18t-7 -18l-106 -106q-8 -7 -18 -7t-18 7l-199 199l-94 -94q-14 -14 -24.5 -10t-10.5 25v300q0 21 14.5 35.5t35.5 14.5zM850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-199 -199q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l199 199l-94 94q-14 14 -10 24.5t25 10.5zM364 470l106 -106q7 -8 7 -18t-7 -18l-199 -199l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l199 199 q8 7 18 7t18 -7zM1071 271l94 94q14 14 24.5 10t10.5 -25v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -25 10.5t10 24.5l94 94l-199 199q-7 8 -7 18t7 18l106 106q8 7 18 7t18 -7z" />
173
+ <glyph unicode="&#xe141;" d="M596 1192q121 0 231.5 -47.5t190 -127t127 -190t47.5 -231.5t-47.5 -231.5t-127 -190.5t-190 -127t-231.5 -47t-231.5 47t-190.5 127t-127 190.5t-47 231.5t47 231.5t127 190t190.5 127t231.5 47.5zM596 1010q-112 0 -207.5 -55.5t-151 -151t-55.5 -207.5t55.5 -207.5 t151 -151t207.5 -55.5t207.5 55.5t151 151t55.5 207.5t-55.5 207.5t-151 151t-207.5 55.5zM454.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38.5 -16.5t-38.5 16.5t-16 39t16 38.5t38.5 16zM754.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38 -16.5q-14 0 -29 10l-55 -145 q17 -23 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5t-61.5 25.5t-25.5 61.5q0 32 20.5 56.5t51.5 29.5l122 126l1 1q-9 14 -9 28q0 23 16 39t38.5 16zM345.5 709q22.5 0 38.5 -16t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16zM854.5 709q22.5 0 38.5 -16 t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16z" />
174
+ <glyph unicode="&#xe142;" d="M546 173l469 470q91 91 99 192q7 98 -52 175.5t-154 94.5q-22 4 -47 4q-34 0 -66.5 -10t-56.5 -23t-55.5 -38t-48 -41.5t-48.5 -47.5q-376 -375 -391 -390q-30 -27 -45 -41.5t-37.5 -41t-32 -46.5t-16 -47.5t-1.5 -56.5q9 -62 53.5 -95t99.5 -33q74 0 125 51l548 548 q36 36 20 75q-7 16 -21.5 26t-32.5 10q-26 0 -50 -23q-13 -12 -39 -38l-341 -338q-15 -15 -35.5 -15.5t-34.5 13.5t-14 34.5t14 34.5q327 333 361 367q35 35 67.5 51.5t78.5 16.5q14 0 29 -1q44 -8 74.5 -35.5t43.5 -68.5q14 -47 2 -96.5t-47 -84.5q-12 -11 -32 -32 t-79.5 -81t-114.5 -115t-124.5 -123.5t-123 -119.5t-96.5 -89t-57 -45q-56 -27 -120 -27q-70 0 -129 32t-93 89q-48 78 -35 173t81 163l511 511q71 72 111 96q91 55 198 55q80 0 152 -33q78 -36 129.5 -103t66.5 -154q17 -93 -11 -183.5t-94 -156.5l-482 -476 q-15 -15 -36 -16t-37 14t-17.5 34t14.5 35z" />
175
+ <glyph unicode="&#xe143;" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104zM896 972q-33 0 -64.5 -19t-56.5 -46t-47.5 -53.5t-43.5 -45.5t-37.5 -19t-36 19t-40 45.5t-43 53.5t-54 46t-65.5 19q-67 0 -122.5 -55.5t-55.5 -132.5q0 -23 13.5 -51t46 -65t57.5 -63t76 -75l22 -22q15 -14 44 -44t50.5 -51t46 -44t41 -35t23 -12 t23.5 12t42.5 36t46 44t52.5 52t44 43q4 4 12 13q43 41 63.5 62t52 55t46 55t26 46t11.5 44q0 79 -53 133.5t-120 54.5z" />
176
+ <glyph unicode="&#xe144;" d="M776.5 1214q93.5 0 159.5 -66l141 -141q66 -66 66 -160q0 -42 -28 -95.5t-62 -87.5l-29 -29q-31 53 -77 99l-18 18l95 95l-247 248l-389 -389l212 -212l-105 -106l-19 18l-141 141q-66 66 -66 159t66 159l283 283q65 66 158.5 66zM600 706l105 105q10 -8 19 -17l141 -141 q66 -66 66 -159t-66 -159l-283 -283q-66 -66 -159 -66t-159 66l-141 141q-66 66 -66 159.5t66 159.5l55 55q29 -55 75 -102l18 -17l-95 -95l247 -248l389 389z" />
177
+ <glyph unicode="&#xe145;" d="M603 1200q85 0 162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5v953q0 21 30 46.5t81 48t129 37.5t163 15zM300 1000v-700h600v700h-600zM600 254q-43 0 -73.5 -30.5t-30.5 -73.5t30.5 -73.5t73.5 -30.5t73.5 30.5 t30.5 73.5t-30.5 73.5t-73.5 30.5z" />
178
+ <glyph unicode="&#xe146;" d="M902 1185l283 -282q15 -15 15 -36t-14.5 -35.5t-35.5 -14.5t-35 15l-36 35l-279 -267v-300l-212 210l-308 -307l-280 -203l203 280l307 308l-210 212h300l267 279l-35 36q-15 14 -15 35t14.5 35.5t35.5 14.5t35 -15z" />
179
+ <glyph unicode="&#xe148;" d="M700 1248v-78q38 -5 72.5 -14.5t75.5 -31.5t71 -53.5t52 -84t24 -118.5h-159q-4 36 -10.5 59t-21 45t-40 35.5t-64.5 20.5v-307l64 -13q34 -7 64 -16.5t70 -32t67.5 -52.5t47.5 -80t20 -112q0 -139 -89 -224t-244 -97v-77h-100v79q-150 16 -237 103q-40 40 -52.5 93.5 t-15.5 139.5h139q5 -77 48.5 -126t117.5 -65v335l-27 8q-46 14 -79 26.5t-72 36t-63 52t-40 72.5t-16 98q0 70 25 126t67.5 92t94.5 57t110 27v77h100zM600 754v274q-29 -4 -50 -11t-42 -21.5t-31.5 -41.5t-10.5 -65q0 -29 7 -50.5t16.5 -34t28.5 -22.5t31.5 -14t37.5 -10 q9 -3 13 -4zM700 547v-310q22 2 42.5 6.5t45 15.5t41.5 27t29 42t12 59.5t-12.5 59.5t-38 44.5t-53 31t-66.5 24.5z" />
180
+ <glyph unicode="&#xe149;" d="M561 1197q84 0 160.5 -40t123.5 -109.5t47 -147.5h-153q0 40 -19.5 71.5t-49.5 48.5t-59.5 26t-55.5 9q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -26 13.5 -63t26.5 -61t37 -66q6 -9 9 -14h241v-100h-197q8 -50 -2.5 -115t-31.5 -95q-45 -62 -99 -112 q34 10 83 17.5t71 7.5q32 1 102 -16t104 -17q83 0 136 30l50 -147q-31 -19 -58 -30.5t-55 -15.5t-42 -4.5t-46 -0.5q-23 0 -76 17t-111 32.5t-96 11.5q-39 -3 -82 -16t-67 -25l-23 -11l-55 145q4 3 16 11t15.5 10.5t13 9t15.5 12t14.5 14t17.5 18.5q48 55 54 126.5 t-30 142.5h-221v100h166q-23 47 -44 104q-7 20 -12 41.5t-6 55.5t6 66.5t29.5 70.5t58.5 71q97 88 263 88z" />
181
+ <glyph unicode="&#xe150;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM935 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-900h-200v900h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
182
+ <glyph unicode="&#xe151;" d="M1000 700h-100v100h-100v-100h-100v500h300v-500zM400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM801 1100v-200h100v200h-100zM1000 350l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150z " />
183
+ <glyph unicode="&#xe152;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 1050l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150zM1000 0h-100v100h-100v-100h-100v500h300v-500zM801 400v-200h100v200h-100z " />
184
+ <glyph unicode="&#xe153;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 700h-100v400h-100v100h200v-500zM1100 0h-100v100h-200v400h300v-500zM901 400v-200h100v200h-100z" />
185
+ <glyph unicode="&#xe154;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1100 700h-100v100h-200v400h300v-500zM901 1100v-200h100v200h-100zM1000 0h-100v400h-100v100h200v-500z" />
186
+ <glyph unicode="&#xe155;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM900 1000h-200v200h200v-200zM1000 700h-300v200h300v-200zM1100 400h-400v200h400v-200zM1200 100h-500v200h500v-200z" />
187
+ <glyph unicode="&#xe156;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1200 1000h-500v200h500v-200zM1100 700h-400v200h400v-200zM1000 400h-300v200h300v-200zM900 100h-200v200h200v-200z" />
188
+ <glyph unicode="&#xe157;" d="M350 1100h400q162 0 256 -93.5t94 -256.5v-400q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5z" />
189
+ <glyph unicode="&#xe158;" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-163 0 -256.5 92.5t-93.5 257.5v400q0 163 94 256.5t256 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM440 770l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />
190
+ <glyph unicode="&#xe159;" d="M350 1100h400q163 0 256.5 -94t93.5 -256v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 163 92.5 256.5t257.5 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM350 700h400q21 0 26.5 -12t-6.5 -28l-190 -253q-12 -17 -30 -17t-30 17l-190 253q-12 16 -6.5 28t26.5 12z" />
191
+ <glyph unicode="&#xe160;" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -163 -92.5 -256.5t-257.5 -93.5h-400q-163 0 -256.5 94t-93.5 256v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM580 693l190 -253q12 -16 6.5 -28t-26.5 -12h-400q-21 0 -26.5 12t6.5 28l190 253q12 17 30 17t30 -17z" />
192
+ <glyph unicode="&#xe161;" d="M550 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h450q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-450q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM338 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />
193
+ <glyph unicode="&#xe162;" d="M793 1182l9 -9q8 -10 5 -27q-3 -11 -79 -225.5t-78 -221.5l300 1q24 0 32.5 -17.5t-5.5 -35.5q-1 0 -133.5 -155t-267 -312.5t-138.5 -162.5q-12 -15 -26 -15h-9l-9 8q-9 11 -4 32q2 9 42 123.5t79 224.5l39 110h-302q-23 0 -31 19q-10 21 6 41q75 86 209.5 237.5 t228 257t98.5 111.5q9 16 25 16h9z" />
194
+ <glyph unicode="&#xe163;" d="M350 1100h400q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-450q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h450q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400 q0 165 92.5 257.5t257.5 92.5zM938 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />
195
+ <glyph unicode="&#xe164;" d="M750 1200h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -10.5 -25t-24.5 10l-109 109l-312 -312q-15 -15 -35.5 -15t-35.5 15l-141 141q-15 15 -15 35.5t15 35.5l312 312l-109 109q-14 14 -10 24.5t25 10.5zM456 900h-156q-41 0 -70.5 -29.5t-29.5 -70.5v-500 q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v148l200 200v-298q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5h300z" />
196
+ <glyph unicode="&#xe165;" d="M600 1186q119 0 227.5 -46.5t187 -125t125 -187t46.5 -227.5t-46.5 -227.5t-125 -187t-187 -125t-227.5 -46.5t-227.5 46.5t-187 125t-125 187t-46.5 227.5t46.5 227.5t125 187t187 125t227.5 46.5zM600 1022q-115 0 -212 -56.5t-153.5 -153.5t-56.5 -212t56.5 -212 t153.5 -153.5t212 -56.5t212 56.5t153.5 153.5t56.5 212t-56.5 212t-153.5 153.5t-212 56.5zM600 794q80 0 137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137t57 137t137 57z" />
197
+ <glyph unicode="&#xe166;" d="M450 1200h200q21 0 35.5 -14.5t14.5 -35.5v-350h245q20 0 25 -11t-9 -26l-383 -426q-14 -15 -33.5 -15t-32.5 15l-379 426q-13 15 -8.5 26t25.5 11h250v350q0 21 14.5 35.5t35.5 14.5zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />
198
+ <glyph unicode="&#xe167;" d="M583 1182l378 -435q14 -15 9 -31t-26 -16h-244v-250q0 -20 -17 -35t-39 -15h-200q-20 0 -32 14.5t-12 35.5v250h-250q-20 0 -25.5 16.5t8.5 31.5l383 431q14 16 33.5 17t33.5 -14zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />
199
+ <glyph unicode="&#xe168;" d="M396 723l369 369q7 7 17.5 7t17.5 -7l139 -139q7 -8 7 -18.5t-7 -17.5l-525 -525q-7 -8 -17.5 -8t-17.5 8l-292 291q-7 8 -7 18t7 18l139 139q8 7 18.5 7t17.5 -7zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50 h-100z" />
200
+ <glyph unicode="&#xe169;" d="M135 1023l142 142q14 14 35 14t35 -14l77 -77l-212 -212l-77 76q-14 15 -14 36t14 35zM655 855l210 210q14 14 24.5 10t10.5 -25l-2 -599q-1 -20 -15.5 -35t-35.5 -15l-597 -1q-21 0 -25 10.5t10 24.5l208 208l-154 155l212 212zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5 v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />
201
+ <glyph unicode="&#xe170;" d="M350 1200l599 -2q20 -1 35 -15.5t15 -35.5l1 -597q0 -21 -10.5 -25t-24.5 10l-208 208l-155 -154l-212 212l155 154l-210 210q-14 14 -10 24.5t25 10.5zM524 512l-76 -77q-15 -14 -36 -14t-35 14l-142 142q-14 14 -14 35t14 35l77 77zM50 300h1000q21 0 35.5 -14.5 t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />
202
+ <glyph unicode="&#xe171;" d="M1200 103l-483 276l-314 -399v423h-399l1196 796v-1096zM483 424v-230l683 953z" />
203
+ <glyph unicode="&#xe172;" d="M1100 1000v-850q0 -21 -14.5 -35.5t-35.5 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200z" />
204
+ <glyph unicode="&#xe173;" d="M1100 1000l-2 -149l-299 -299l-95 95q-9 9 -21.5 9t-21.5 -9l-149 -147h-312v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1132 638l106 -106q7 -7 7 -17.5t-7 -17.5l-420 -421q-8 -7 -18 -7 t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l297 297q7 7 17.5 7t17.5 -7z" />
205
+ <glyph unicode="&#xe174;" d="M1100 1000v-269l-103 -103l-134 134q-15 15 -33.5 16.5t-34.5 -12.5l-266 -266h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1202 572l70 -70q15 -15 15 -35.5t-15 -35.5l-131 -131 l131 -131q15 -15 15 -35.5t-15 -35.5l-70 -70q-15 -15 -35.5 -15t-35.5 15l-131 131l-131 -131q-15 -15 -35.5 -15t-35.5 15l-70 70q-15 15 -15 35.5t15 35.5l131 131l-131 131q-15 15 -15 35.5t15 35.5l70 70q15 15 35.5 15t35.5 -15l131 -131l131 131q15 15 35.5 15 t35.5 -15z" />
206
+ <glyph unicode="&#xe175;" d="M1100 1000v-300h-350q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM850 600h100q21 0 35.5 -14.5t14.5 -35.5v-250h150q21 0 25 -10.5t-10 -24.5 l-230 -230q-14 -14 -35 -14t-35 14l-230 230q-14 14 -10 24.5t25 10.5h150v250q0 21 14.5 35.5t35.5 14.5z" />
207
+ <glyph unicode="&#xe176;" d="M1100 1000v-400l-165 165q-14 15 -35 15t-35 -15l-263 -265h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM935 565l230 -229q14 -15 10 -25.5t-25 -10.5h-150v-250q0 -20 -14.5 -35 t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35v250h-150q-21 0 -25 10.5t10 25.5l230 229q14 15 35 15t35 -15z" />
208
+ <glyph unicode="&#xe177;" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-150h-1200v150q0 21 14.5 35.5t35.5 14.5zM1200 800v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v550h1200zM100 500v-200h400v200h-400z" />
209
+ <glyph unicode="&#xe178;" d="M935 1165l248 -230q14 -14 14 -35t-14 -35l-248 -230q-14 -14 -24.5 -10t-10.5 25v150h-400v200h400v150q0 21 10.5 25t24.5 -10zM200 800h-50q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v-200zM400 800h-100v200h100v-200zM18 435l247 230 q14 14 24.5 10t10.5 -25v-150h400v-200h-400v-150q0 -21 -10.5 -25t-24.5 10l-247 230q-15 14 -15 35t15 35zM900 300h-100v200h100v-200zM1000 500h51q20 0 34.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-34.5 -14.5h-51v200z" />
210
+ <glyph unicode="&#xe179;" d="M862 1073l276 116q25 18 43.5 8t18.5 -41v-1106q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v397q-4 1 -11 5t-24 17.5t-30 29t-24 42t-11 56.5v359q0 31 18.5 65t43.5 52zM550 1200q22 0 34.5 -12.5t14.5 -24.5l1 -13v-450q0 -28 -10.5 -59.5 t-25 -56t-29 -45t-25.5 -31.5l-10 -11v-447q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447q-4 4 -11 11.5t-24 30.5t-30 46t-24 55t-11 60v450q0 2 0.5 5.5t4 12t8.5 15t14.5 12t22.5 5.5q20 0 32.5 -12.5t14.5 -24.5l3 -13v-350h100v350v5.5t2.5 12 t7 15t15 12t25.5 5.5q23 0 35.5 -12.5t13.5 -24.5l1 -13v-350h100v350q0 2 0.5 5.5t3 12t7 15t15 12t24.5 5.5z" />
211
+ <glyph unicode="&#xe180;" d="M1200 1100v-56q-4 0 -11 -0.5t-24 -3t-30 -7.5t-24 -15t-11 -24v-888q0 -22 25 -34.5t50 -13.5l25 -2v-56h-400v56q75 0 87.5 6.5t12.5 43.5v394h-500v-394q0 -37 12.5 -43.5t87.5 -6.5v-56h-400v56q4 0 11 0.5t24 3t30 7.5t24 15t11 24v888q0 22 -25 34.5t-50 13.5 l-25 2v56h400v-56q-75 0 -87.5 -6.5t-12.5 -43.5v-394h500v394q0 37 -12.5 43.5t-87.5 6.5v56h400z" />
212
+ <glyph unicode="&#xe181;" d="M675 1000h375q21 0 35.5 -14.5t14.5 -35.5v-150h-105l-295 -98v98l-200 200h-400l100 100h375zM100 900h300q41 0 70.5 -29.5t29.5 -70.5v-500q0 -41 -29.5 -70.5t-70.5 -29.5h-300q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5zM100 800v-200h300v200 h-300zM1100 535l-400 -133v163l400 133v-163zM100 500v-200h300v200h-300zM1100 398v-248q0 -21 -14.5 -35.5t-35.5 -14.5h-375l-100 -100h-375l-100 100h400l200 200h105z" />
213
+ <glyph unicode="&#xe182;" d="M17 1007l162 162q17 17 40 14t37 -22l139 -194q14 -20 11 -44.5t-20 -41.5l-119 -118q102 -142 228 -268t267 -227l119 118q17 17 42.5 19t44.5 -12l192 -136q19 -14 22.5 -37.5t-13.5 -40.5l-163 -162q-3 -1 -9.5 -1t-29.5 2t-47.5 6t-62.5 14.5t-77.5 26.5t-90 42.5 t-101.5 60t-111 83t-119 108.5q-74 74 -133.5 150.5t-94.5 138.5t-60 119.5t-34.5 100t-15 74.5t-4.5 48z" />
214
+ <glyph unicode="&#xe183;" d="M600 1100q92 0 175 -10.5t141.5 -27t108.5 -36.5t81.5 -40t53.5 -37t31 -27l9 -10v-200q0 -21 -14.5 -33t-34.5 -9l-202 34q-20 3 -34.5 20t-14.5 38v146q-141 24 -300 24t-300 -24v-146q0 -21 -14.5 -38t-34.5 -20l-202 -34q-20 -3 -34.5 9t-14.5 33v200q3 4 9.5 10.5 t31 26t54 37.5t80.5 39.5t109 37.5t141 26.5t175 10.5zM600 795q56 0 97 -9.5t60 -23.5t30 -28t12 -24l1 -10v-50l365 -303q14 -15 24.5 -40t10.5 -45v-212q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v212q0 20 10.5 45t24.5 40l365 303v50 q0 4 1 10.5t12 23t30 29t60 22.5t97 10z" />
215
+ <glyph unicode="&#xe184;" d="M1100 700l-200 -200h-600l-200 200v500h200v-200h200v200h200v-200h200v200h200v-500zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5 t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
216
+ <glyph unicode="&#xe185;" d="M700 1100h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-1000h300v1000q0 41 -29.5 70.5t-70.5 29.5zM1100 800h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-700h300v700q0 41 -29.5 70.5t-70.5 29.5zM400 0h-300v400q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-400z " />
217
+ <glyph unicode="&#xe186;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />
218
+ <glyph unicode="&#xe187;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 300h-100v200h-100v-200h-100v500h100v-200h100v200h100v-500zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />
219
+ <glyph unicode="&#xe188;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-300h200v-100h-300v500h300v-100zM900 700h-200v-300h200v-100h-300v500h300v-100z" />
220
+ <glyph unicode="&#xe189;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 400l-300 150l300 150v-300zM900 550l-300 -150v300z" />
221
+ <glyph unicode="&#xe190;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM900 300h-700v500h700v-500zM800 700h-130q-38 0 -66.5 -43t-28.5 -108t27 -107t68 -42h130v300zM300 700v-300 h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130z" />
222
+ <glyph unicode="&#xe191;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 300h-100v400h-100v100h200v-500z M700 300h-100v100h100v-100z" />
223
+ <glyph unicode="&#xe192;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM300 700h200v-400h-300v500h100v-100zM900 300h-100v400h-100v100h200v-500zM300 600v-200h100v200h-100z M700 300h-100v100h100v-100z" />
224
+ <glyph unicode="&#xe193;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 500l-199 -200h-100v50l199 200v150h-200v100h300v-300zM900 300h-100v400h-100v100h200v-500zM701 300h-100 v100h100v-100z" />
225
+ <glyph unicode="&#xe194;" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700h-300v-200h300v-100h-300l-100 100v200l100 100h300v-100z" />
226
+ <glyph unicode="&#xe195;" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700v-100l-50 -50l100 -100v-50h-100l-100 100h-150v-100h-100v400h300zM500 700v-100h200v100h-200z" />
227
+ <glyph unicode="&#xe197;" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -207t-85 -207t-205 -86.5h-128v250q0 21 -14.5 35.5t-35.5 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-250h-222q-80 0 -136 57.5t-56 136.5q0 69 43 122.5t108 67.5q-2 19 -2 37q0 100 49 185 t134 134t185 49zM525 500h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -244q-13 -16 -32 -16t-32 16l-223 244q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z" />
228
+ <glyph unicode="&#xe198;" d="M502 1089q110 0 201 -59.5t135 -156.5q43 15 89 15q121 0 206 -86.5t86 -206.5q0 -99 -60 -181t-150 -110l-378 360q-13 16 -31.5 16t-31.5 -16l-381 -365h-9q-79 0 -135.5 57.5t-56.5 136.5q0 69 43 122.5t108 67.5q-2 19 -2 38q0 100 49 184.5t133.5 134t184.5 49.5z M632 467l223 -228q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5q199 204 223 228q19 19 31.5 19t32.5 -19z" />
229
+ <glyph unicode="&#xe199;" d="M700 100v100h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170l-270 -300h400v-100h-50q-21 0 -35.5 -14.5t-14.5 -35.5v-50h400v50q0 21 -14.5 35.5t-35.5 14.5h-50z" />
230
+ <glyph unicode="&#xe200;" d="M600 1179q94 0 167.5 -56.5t99.5 -145.5q89 -6 150.5 -71.5t61.5 -155.5q0 -61 -29.5 -112.5t-79.5 -82.5q9 -29 9 -55q0 -74 -52.5 -126.5t-126.5 -52.5q-55 0 -100 30v-251q21 0 35.5 -14.5t14.5 -35.5v-50h-300v50q0 21 14.5 35.5t35.5 14.5v251q-45 -30 -100 -30 q-74 0 -126.5 52.5t-52.5 126.5q0 18 4 38q-47 21 -75.5 65t-28.5 97q0 74 52.5 126.5t126.5 52.5q5 0 23 -2q0 2 -1 10t-1 13q0 116 81.5 197.5t197.5 81.5z" />
231
+ <glyph unicode="&#xe201;" d="M1010 1010q111 -111 150.5 -260.5t0 -299t-150.5 -260.5q-83 -83 -191.5 -126.5t-218.5 -43.5t-218.5 43.5t-191.5 126.5q-111 111 -150.5 260.5t0 299t150.5 260.5q83 83 191.5 126.5t218.5 43.5t218.5 -43.5t191.5 -126.5zM476 1065q-4 0 -8 -1q-121 -34 -209.5 -122.5 t-122.5 -209.5q-4 -12 2.5 -23t18.5 -14l36 -9q3 -1 7 -1q23 0 29 22q27 96 98 166q70 71 166 98q11 3 17.5 13.5t3.5 22.5l-9 35q-3 13 -14 19q-7 4 -15 4zM512 920q-4 0 -9 -2q-80 -24 -138.5 -82.5t-82.5 -138.5q-4 -13 2 -24t19 -14l34 -9q4 -1 8 -1q22 0 28 21 q18 58 58.5 98.5t97.5 58.5q12 3 18 13.5t3 21.5l-9 35q-3 12 -14 19q-7 4 -15 4zM719.5 719.5q-49.5 49.5 -119.5 49.5t-119.5 -49.5t-49.5 -119.5t49.5 -119.5t119.5 -49.5t119.5 49.5t49.5 119.5t-49.5 119.5zM855 551q-22 0 -28 -21q-18 -58 -58.5 -98.5t-98.5 -57.5 q-11 -4 -17 -14.5t-3 -21.5l9 -35q3 -12 14 -19q7 -4 15 -4q4 0 9 2q80 24 138.5 82.5t82.5 138.5q4 13 -2.5 24t-18.5 14l-34 9q-4 1 -8 1zM1000 515q-23 0 -29 -22q-27 -96 -98 -166q-70 -71 -166 -98q-11 -3 -17.5 -13.5t-3.5 -22.5l9 -35q3 -13 14 -19q7 -4 15 -4 q4 0 8 1q121 34 209.5 122.5t122.5 209.5q4 12 -2.5 23t-18.5 14l-36 9q-3 1 -7 1z" />
232
+ <glyph unicode="&#xe202;" d="M700 800h300v-380h-180v200h-340v-200h-380v755q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM700 300h162l-212 -212l-212 212h162v200h100v-200zM520 0h-395q-10 0 -17.5 7.5t-7.5 17.5v395zM1000 220v-195q0 -10 -7.5 -17.5t-17.5 -7.5h-195z" />
233
+ <glyph unicode="&#xe203;" d="M700 800h300v-520l-350 350l-550 -550v1095q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM862 200h-162v-200h-100v200h-162l212 212zM480 0h-355q-10 0 -17.5 7.5t-7.5 17.5v55h380v-80zM1000 80v-55q0 -10 -7.5 -17.5t-17.5 -7.5h-155v80h180z" />
234
+ <glyph unicode="&#xe204;" d="M1162 800h-162v-200h100l100 -100h-300v300h-162l212 212zM200 800h200q27 0 40 -2t29.5 -10.5t23.5 -30t7 -57.5h300v-100h-600l-200 -350v450h100q0 36 7 57.5t23.5 30t29.5 10.5t40 2zM800 400h240l-240 -400h-800l300 500h500v-100z" />
235
+ <glyph unicode="&#xe205;" d="M650 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM1000 850v150q41 0 70.5 -29.5t29.5 -70.5v-800 q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-1 0 -20 4l246 246l-326 326v324q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM412 250l-212 -212v162h-200v100h200v162z" />
236
+ <glyph unicode="&#xe206;" d="M450 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM800 850v150q41 0 70.5 -29.5t29.5 -70.5v-500 h-200v-300h200q0 -36 -7 -57.5t-23.5 -30t-29.5 -10.5t-40 -2h-600q-41 0 -70.5 29.5t-29.5 70.5v800q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM1212 250l-212 -212v162h-200v100h200v162z" />
237
+ <glyph unicode="&#xe209;" d="M658 1197l637 -1104q23 -38 7 -65.5t-60 -27.5h-1276q-44 0 -60 27.5t7 65.5l637 1104q22 39 54 39t54 -39zM704 800h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM500 300v-100h200 v100h-200z" />
238
+ <glyph unicode="&#xe210;" d="M425 1100h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM825 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM25 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5zM425 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5 v150q0 10 7.5 17.5t17.5 7.5zM25 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
239
+ <glyph unicode="&#xe211;" d="M700 1200h100v-200h-100v-100h350q62 0 86.5 -39.5t-3.5 -94.5l-66 -132q-41 -83 -81 -134h-772q-40 51 -81 134l-66 132q-28 55 -3.5 94.5t86.5 39.5h350v100h-100v200h100v100h200v-100zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100 h-950l138 100h-13q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
240
+ <glyph unicode="&#xe212;" d="M600 1300q40 0 68.5 -29.5t28.5 -70.5h-194q0 41 28.5 70.5t68.5 29.5zM443 1100h314q18 -37 18 -75q0 -8 -3 -25h328q41 0 44.5 -16.5t-30.5 -38.5l-175 -145h-678l-178 145q-34 22 -29 38.5t46 16.5h328q-3 17 -3 25q0 38 18 75zM250 700h700q21 0 35.5 -14.5 t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-150v-200l275 -200h-950l275 200v200h-150q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
241
+ <glyph unicode="&#xe213;" d="M600 1181q75 0 128 -53t53 -128t-53 -128t-128 -53t-128 53t-53 128t53 128t128 53zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13 l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
242
+ <glyph unicode="&#xe214;" d="M600 1300q47 0 92.5 -53.5t71 -123t25.5 -123.5q0 -78 -55.5 -133.5t-133.5 -55.5t-133.5 55.5t-55.5 133.5q0 62 34 143l144 -143l111 111l-163 163q34 26 63 26zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45 zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
243
+ <glyph unicode="&#xe215;" d="M600 1200l300 -161v-139h-300q0 -57 18.5 -108t50 -91.5t63 -72t70 -67.5t57.5 -61h-530q-60 83 -90.5 177.5t-30.5 178.5t33 164.5t87.5 139.5t126 96.5t145.5 41.5v-98zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100 h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
244
+ <glyph unicode="&#xe216;" d="M600 1300q41 0 70.5 -29.5t29.5 -70.5v-78q46 -26 73 -72t27 -100v-50h-400v50q0 54 27 100t73 72v78q0 41 29.5 70.5t70.5 29.5zM400 800h400q54 0 100 -27t72 -73h-172v-100h200v-100h-200v-100h200v-100h-200v-100h200q0 -83 -58.5 -141.5t-141.5 -58.5h-400 q-83 0 -141.5 58.5t-58.5 141.5v400q0 83 58.5 141.5t141.5 58.5z" />
245
+ <glyph unicode="&#xe218;" d="M150 1100h900q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM125 400h950q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-283l224 -224q13 -13 13 -31.5t-13 -32 t-31.5 -13.5t-31.5 13l-88 88h-524l-87 -88q-13 -13 -32 -13t-32 13.5t-13 32t13 31.5l224 224h-289q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM541 300l-100 -100h324l-100 100h-124z" />
246
+ <glyph unicode="&#xe219;" d="M200 1100h800q83 0 141.5 -58.5t58.5 -141.5v-200h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100v200q0 83 58.5 141.5t141.5 58.5zM100 600h1000q41 0 70.5 -29.5 t29.5 -70.5v-300h-1200v300q0 41 29.5 70.5t70.5 29.5zM300 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200zM1100 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200z" />
247
+ <glyph unicode="&#xe221;" d="M480 1165l682 -683q31 -31 31 -75.5t-31 -75.5l-131 -131h-481l-517 518q-32 31 -32 75.5t32 75.5l295 296q31 31 75.5 31t76.5 -31zM108 794l342 -342l303 304l-341 341zM250 100h800q21 0 35.5 -14.5t14.5 -35.5v-50h-900v50q0 21 14.5 35.5t35.5 14.5z" />
248
+ <glyph unicode="&#xe223;" d="M1057 647l-189 506q-8 19 -27.5 33t-40.5 14h-400q-21 0 -40.5 -14t-27.5 -33l-189 -506q-8 -19 1.5 -33t30.5 -14h625v-150q0 -21 14.5 -35.5t35.5 -14.5t35.5 14.5t14.5 35.5v150h125q21 0 30.5 14t1.5 33zM897 0h-595v50q0 21 14.5 35.5t35.5 14.5h50v50 q0 21 14.5 35.5t35.5 14.5h48v300h200v-300h47q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-50z" />
249
+ <glyph unicode="&#xe224;" d="M900 800h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-375v591l-300 300v84q0 10 7.5 17.5t17.5 7.5h375v-400zM1200 900h-200v200zM400 600h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-650q-10 0 -17.5 7.5t-7.5 17.5v950q0 10 7.5 17.5t17.5 7.5h375v-400zM700 700h-200v200z " />
250
+ <glyph unicode="&#xe225;" d="M484 1095h195q75 0 146 -32.5t124 -86t89.5 -122.5t48.5 -142q18 -14 35 -20q31 -10 64.5 6.5t43.5 48.5q10 34 -15 71q-19 27 -9 43q5 8 12.5 11t19 -1t23.5 -16q41 -44 39 -105q-3 -63 -46 -106.5t-104 -43.5h-62q-7 -55 -35 -117t-56 -100l-39 -234q-3 -20 -20 -34.5 t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l12 70q-49 -14 -91 -14h-195q-24 0 -65 8l-11 -64q-3 -20 -20 -34.5t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l26 157q-84 74 -128 175l-159 53q-19 7 -33 26t-14 40v50q0 21 14.5 35.5t35.5 14.5h124q11 87 56 166l-111 95 q-16 14 -12.5 23.5t24.5 9.5h203q116 101 250 101zM675 1000h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h250q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5t-17.5 7.5z" />
251
+ <glyph unicode="&#xe226;" d="M641 900l423 247q19 8 42 2.5t37 -21.5l32 -38q14 -15 12.5 -36t-17.5 -34l-139 -120h-390zM50 1100h106q67 0 103 -17t66 -71l102 -212h823q21 0 35.5 -14.5t14.5 -35.5v-50q0 -21 -14 -40t-33 -26l-737 -132q-23 -4 -40 6t-26 25q-42 67 -100 67h-300q-62 0 -106 44 t-44 106v200q0 62 44 106t106 44zM173 928h-80q-19 0 -28 -14t-9 -35v-56q0 -51 42 -51h134q16 0 21.5 8t5.5 24q0 11 -16 45t-27 51q-18 28 -43 28zM550 727q-32 0 -54.5 -22.5t-22.5 -54.5t22.5 -54.5t54.5 -22.5t54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5zM130 389 l152 130q18 19 34 24t31 -3.5t24.5 -17.5t25.5 -28q28 -35 50.5 -51t48.5 -13l63 5l48 -179q13 -61 -3.5 -97.5t-67.5 -79.5l-80 -69q-47 -40 -109 -35.5t-103 51.5l-130 151q-40 47 -35.5 109.5t51.5 102.5zM380 377l-102 -88q-31 -27 2 -65l37 -43q13 -15 27.5 -19.5 t31.5 6.5l61 53q19 16 14 49q-2 20 -12 56t-17 45q-11 12 -19 14t-23 -8z" />
252
+ <glyph unicode="&#xe227;" d="M625 1200h150q10 0 17.5 -7.5t7.5 -17.5v-109q79 -33 131 -87.5t53 -128.5q1 -46 -15 -84.5t-39 -61t-46 -38t-39 -21.5l-17 -6q6 0 15 -1.5t35 -9t50 -17.5t53 -30t50 -45t35.5 -64t14.5 -84q0 -59 -11.5 -105.5t-28.5 -76.5t-44 -51t-49.5 -31.5t-54.5 -16t-49.5 -6.5 t-43.5 -1v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-100v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-175q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v600h-75q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5h175v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h100v75q0 10 7.5 17.5t17.5 7.5zM400 900v-200h263q28 0 48.5 10.5t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-263zM400 500v-200h363q28 0 48.5 10.5 t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-363z" />
253
+ <glyph unicode="&#xe230;" d="M212 1198h780q86 0 147 -61t61 -147v-416q0 -51 -18 -142.5t-36 -157.5l-18 -66q-29 -87 -93.5 -146.5t-146.5 -59.5h-572q-82 0 -147 59t-93 147q-8 28 -20 73t-32 143.5t-20 149.5v416q0 86 61 147t147 61zM600 1045q-70 0 -132.5 -11.5t-105.5 -30.5t-78.5 -41.5 t-57 -45t-36 -41t-20.5 -30.5l-6 -12l156 -243h560l156 243q-2 5 -6 12.5t-20 29.5t-36.5 42t-57 44.5t-79 42t-105 29.5t-132.5 12zM762 703h-157l195 261z" />
254
+ <glyph unicode="&#xe231;" d="M475 1300h150q103 0 189 -86t86 -189v-500q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />
255
+ <glyph unicode="&#xe232;" d="M475 1300h96q0 -150 89.5 -239.5t239.5 -89.5v-446q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />
256
+ <glyph unicode="&#xe233;" d="M1294 767l-638 -283l-378 170l-78 -60v-224l100 -150v-199l-150 148l-150 -149v200l100 150v250q0 4 -0.5 10.5t0 9.5t1 8t3 8t6.5 6l47 40l-147 65l642 283zM1000 380l-350 -166l-350 166v147l350 -165l350 165v-147z" />
257
+ <glyph unicode="&#xe234;" d="M250 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM650 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM1050 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />
258
+ <glyph unicode="&#xe235;" d="M550 1100q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 700q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 300q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />
259
+ <glyph unicode="&#xe236;" d="M125 1100h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM125 700h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM125 300h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
260
+ <glyph unicode="&#xe237;" d="M350 1200h500q162 0 256 -93.5t94 -256.5v-500q0 -165 -93.5 -257.5t-256.5 -92.5h-500q-165 0 -257.5 92.5t-92.5 257.5v500q0 165 92.5 257.5t257.5 92.5zM900 1000h-600q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h600q41 0 70.5 29.5 t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5zM350 900h500q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-500q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 14.5 35.5t35.5 14.5zM400 800v-200h400v200h-400z" />
261
+ <glyph unicode="&#xe238;" d="M150 1100h1000q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5z" />
262
+ <glyph unicode="&#xe239;" d="M650 1187q87 -67 118.5 -156t0 -178t-118.5 -155q-87 66 -118.5 155t0 178t118.5 156zM300 800q124 0 212 -88t88 -212q-124 0 -212 88t-88 212zM1000 800q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM300 500q124 0 212 -88t88 -212q-124 0 -212 88t-88 212z M1000 500q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM700 199v-144q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v142q40 -4 43 -4q17 0 57 6z" />
263
+ <glyph unicode="&#xe240;" d="M745 878l69 19q25 6 45 -12l298 -295q11 -11 15 -26.5t-2 -30.5q-5 -14 -18 -23.5t-28 -9.5h-8q1 0 1 -13q0 -29 -2 -56t-8.5 -62t-20 -63t-33 -53t-51 -39t-72.5 -14h-146q-184 0 -184 288q0 24 10 47q-20 4 -62 4t-63 -4q11 -24 11 -47q0 -288 -184 -288h-142 q-48 0 -84.5 21t-56 51t-32 71.5t-16 75t-3.5 68.5q0 13 2 13h-7q-15 0 -27.5 9.5t-18.5 23.5q-6 15 -2 30.5t15 25.5l298 296q20 18 46 11l76 -19q20 -5 30.5 -22.5t5.5 -37.5t-22.5 -31t-37.5 -5l-51 12l-182 -193h891l-182 193l-44 -12q-20 -5 -37.5 6t-22.5 31t6 37.5 t31 22.5z" />
264
+ <glyph unicode="&#xe241;" d="M1200 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM500 450h-25q0 15 -4 24.5t-9 14.5t-17 7.5t-20 3t-25 0.5h-100v-425q0 -11 12.5 -17.5t25.5 -7.5h12v-50h-200v50q50 0 50 25v425h-100q-17 0 -25 -0.5t-20 -3t-17 -7.5t-9 -14.5t-4 -24.5h-25v150h500v-150z" />
265
+ <glyph unicode="&#xe242;" d="M1000 300v50q-25 0 -55 32q-14 14 -25 31t-16 27l-4 11l-289 747h-69l-300 -754q-18 -35 -39 -56q-9 -9 -24.5 -18.5t-26.5 -14.5l-11 -5v-50h273v50q-49 0 -78.5 21.5t-11.5 67.5l69 176h293l61 -166q13 -34 -3.5 -66.5t-55.5 -32.5v-50h312zM412 691l134 342l121 -342 h-255zM1100 150v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5z" />
266
+ <glyph unicode="&#xe243;" d="M50 1200h1100q21 0 35.5 -14.5t14.5 -35.5v-1100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5zM611 1118h-70q-13 0 -18 -12l-299 -753q-17 -32 -35 -51q-18 -18 -56 -34q-12 -5 -12 -18v-50q0 -8 5.5 -14t14.5 -6 h273q8 0 14 6t6 14v50q0 8 -6 14t-14 6q-55 0 -71 23q-10 14 0 39l63 163h266l57 -153q11 -31 -6 -55q-12 -17 -36 -17q-8 0 -14 -6t-6 -14v-50q0 -8 6 -14t14 -6h313q8 0 14 6t6 14v50q0 7 -5.5 13t-13.5 7q-17 0 -42 25q-25 27 -40 63h-1l-288 748q-5 12 -19 12zM639 611 h-197l103 264z" />
267
+ <glyph unicode="&#xe244;" d="M1200 1100h-1200v100h1200v-100zM50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 1000h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM700 900v-300h300v300h-300z" />
268
+ <glyph unicode="&#xe245;" d="M50 1200h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 700h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM700 600v-300h300v300h-300zM1200 0h-1200v100h1200v-100z" />
269
+ <glyph unicode="&#xe246;" d="M50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-350h100v150q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-150h100v-100h-100v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v150h-100v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM700 700v-300h300v300h-300z" />
270
+ <glyph unicode="&#xe247;" d="M100 0h-100v1200h100v-1200zM250 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM300 1000v-300h300v300h-300zM250 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
271
+ <glyph unicode="&#xe248;" d="M600 1100h150q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-100h450q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h350v100h-150q-21 0 -35.5 14.5 t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h150v100h100v-100zM400 1000v-300h300v300h-300z" />
272
+ <glyph unicode="&#xe249;" d="M1200 0h-100v1200h100v-1200zM550 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM600 1000v-300h300v300h-300zM50 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
273
+ <glyph unicode="&#xe250;" d="M865 565l-494 -494q-23 -23 -41 -23q-14 0 -22 13.5t-8 38.5v1000q0 25 8 38.5t22 13.5q18 0 41 -23l494 -494q14 -14 14 -35t-14 -35z" />
274
+ <glyph unicode="&#xe251;" d="M335 635l494 494q29 29 50 20.5t21 -49.5v-1000q0 -41 -21 -49.5t-50 20.5l-494 494q-14 14 -14 35t14 35z" />
275
+ <glyph unicode="&#xe252;" d="M100 900h1000q41 0 49.5 -21t-20.5 -50l-494 -494q-14 -14 -35 -14t-35 14l-494 494q-29 29 -20.5 50t49.5 21z" />
276
+ <glyph unicode="&#xe253;" d="M635 865l494 -494q29 -29 20.5 -50t-49.5 -21h-1000q-41 0 -49.5 21t20.5 50l494 494q14 14 35 14t35 -14z" />
277
+ <glyph unicode="&#xe254;" d="M700 741v-182l-692 -323v221l413 193l-413 193v221zM1200 0h-800v200h800v-200z" />
278
+ <glyph unicode="&#xe255;" d="M1200 900h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300zM0 700h50q0 21 4 37t9.5 26.5t18 17.5t22 11t28.5 5.5t31 2t37 0.5h100v-550q0 -22 -25 -34.5t-50 -13.5l-25 -2v-100h400v100q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5v550h100q25 0 37 -0.5t31 -2 t28.5 -5.5t22 -11t18 -17.5t9.5 -26.5t4 -37h50v300h-800v-300z" />
279
+ <glyph unicode="&#xe256;" d="M800 700h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-100v-550q0 -22 25 -34.5t50 -14.5l25 -1v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v550h-100q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h800v-300zM1100 200h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300z" />
280
+ <glyph unicode="&#xe257;" d="M701 1098h160q16 0 21 -11t-7 -23l-464 -464l464 -464q12 -12 7 -23t-21 -11h-160q-13 0 -23 9l-471 471q-7 8 -7 18t7 18l471 471q10 9 23 9z" />
281
+ <glyph unicode="&#xe258;" d="M339 1098h160q13 0 23 -9l471 -471q7 -8 7 -18t-7 -18l-471 -471q-10 -9 -23 -9h-160q-16 0 -21 11t7 23l464 464l-464 464q-12 12 -7 23t21 11z" />
282
+ <glyph unicode="&#xe259;" d="M1087 882q11 -5 11 -21v-160q0 -13 -9 -23l-471 -471q-8 -7 -18 -7t-18 7l-471 471q-9 10 -9 23v160q0 16 11 21t23 -7l464 -464l464 464q12 12 23 7z" />
283
+ <glyph unicode="&#xe260;" d="M618 993l471 -471q9 -10 9 -23v-160q0 -16 -11 -21t-23 7l-464 464l-464 -464q-12 -12 -23 -7t-11 21v160q0 13 9 23l471 471q8 7 18 7t18 -7z" />
284
+ <glyph unicode="&#xf8ff;" d="M1000 1200q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM450 1000h100q21 0 40 -14t26 -33l79 -194q5 1 16 3q34 6 54 9.5t60 7t65.5 1t61 -10t56.5 -23t42.5 -42t29 -64t5 -92t-19.5 -121.5q-1 -7 -3 -19.5t-11 -50t-20.5 -73t-32.5 -81.5t-46.5 -83t-64 -70 t-82.5 -50q-13 -5 -42 -5t-65.5 2.5t-47.5 2.5q-14 0 -49.5 -3.5t-63 -3.5t-43.5 7q-57 25 -104.5 78.5t-75 111.5t-46.5 112t-26 90l-7 35q-15 63 -18 115t4.5 88.5t26 64t39.5 43.5t52 25.5t58.5 13t62.5 2t59.5 -4.5t55.5 -8l-147 192q-12 18 -5.5 30t27.5 12z" />
285
+ <glyph unicode="&#x1f511;" d="M250 1200h600q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-500l-255 -178q-19 -9 -32 -1t-13 29v650h-150q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM400 1100v-100h300v100h-300z" />
286
+ <glyph unicode="&#x1f6aa;" d="M250 1200h750q39 0 69.5 -40.5t30.5 -84.5v-933l-700 -117v950l600 125h-700v-1000h-100v1025q0 23 15.5 49t34.5 26zM500 525v-100l100 20v100z" />
287
+ </font>
288
+ </defs></svg>
library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.ttf ADDED
Binary file
library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.woff ADDED
Binary file
library/toolset/toolset-common/res/lib/glyphicons/fonts/glyphicons-halflings-regular.woff2 ADDED
Binary file
library/toolset/toolset-common/toolset-common-loader.php CHANGED
@@ -5,11 +5,11 @@ if ( class_exists( 'Toolset_Common_Bootstrap' ) ) {
5
  };
6
 
7
  if( !defined('TOOLSET_VERSION') ){
8
- define('TOOLSET_VERSION', '2.1');
9
  }
10
 
11
  if ( ! defined('TOOLSET_COMMON_VERSION' ) ) {
12
- define( 'TOOLSET_COMMON_VERSION', '2.1' );
13
  }
14
 
15
  if ( ! defined('TOOLSET_COMMON_PATH' ) ) {
@@ -84,4 +84,6 @@ if( !function_exists('toolset_disable_wpml_admin_lang_switcher') ){
84
  return $state;
85
  }
86
 
87
- }
 
 
5
  };
6
 
7
  if( !defined('TOOLSET_VERSION') ){
8
+ define('TOOLSET_VERSION', '2.2');
9
  }
10
 
11
  if ( ! defined('TOOLSET_COMMON_VERSION' ) ) {
12
+ define( 'TOOLSET_COMMON_VERSION', '2.2' );
13
  }
14
 
15
  if ( ! defined('TOOLSET_COMMON_PATH' ) ) {
84
  return $state;
85
  }
86
 
87
+ }
88
+
89
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/beta.php' );
library/toolset/toolset-common/toolset-forms/classes/class.credfile.php CHANGED
@@ -55,12 +55,12 @@ class WPToolset_Field_Credfile extends WPToolset_Field_Textfield {
55
 
56
  public function init() {
57
  wp_register_script('wpt-field-credfile', WPTOOLSET_FORMS_RELPATH . '/js/credfile.js', array('wptoolset-forms'), WPTOOLSET_FORMS_VERSION, true);
58
- wp_enqueue_script('wpt-field-credfile');
59
-
60
  $this->disable_progress_bar = version_compare(CRED_FE_VERSION, '1.3.6.2', '<=');
61
  $this->disable_progress_bar = apply_filters('cred_file_upload_disable_progress_bar', $this->disable_progress_bar);
62
- if ($this->disable_progress_bar)
63
  return;
 
64
 
65
  //Add settings switch in order to use AJAX JQUERY UPLOAD or not
66
  $scriptpath = WPTOOLSET_FORMS_RELPATH . '/js/jquery_upload/';
@@ -123,7 +123,7 @@ class WPToolset_Field_Credfile extends WPToolset_Field_Textfield {
123
  }
124
 
125
  $id = str_replace(array("[", "]"), "", $name);
126
- $delete_input_showhide = '';
127
  $button_extra_classnames = '';
128
 
129
  $has_image = false;
@@ -132,7 +132,7 @@ class WPToolset_Field_Credfile extends WPToolset_Field_Textfield {
132
  if (empty($value)) {
133
  $value = ''; // NOTE we need to set it to an empty string because sometimes it is NULL on repeating fields
134
  $is_empty = true;
135
- $delete_input_showhide = ' style="display:none"';
136
  }
137
 
138
  // if ($name == '_featured_image') {
@@ -147,7 +147,8 @@ class WPToolset_Field_Credfile extends WPToolset_Field_Textfield {
147
  if (!$is_empty) {
148
  $pathinfo = pathinfo($value);
149
  // TODO we should check against the allowed mime types, not file extensions
150
- if (isset($pathinfo['extension']) && in_array(strtolower($pathinfo['extension']), array('png', 'gif', 'jpg', 'jpeg', 'bmp', 'tif'))) {
 
151
  $has_image = true;
152
  }
153
  }
@@ -171,8 +172,7 @@ class WPToolset_Field_Credfile extends WPToolset_Field_Textfield {
171
 
172
  if (!$is_empty) {
173
  $preview_file = $value;
174
- // Set attributes
175
- $attr_file['disabled'] = 'disabled';
176
  $attr_file['style'] = 'display:none';
177
  } else {
178
  $attr_hidden['disabled'] = 'disabled';
@@ -213,20 +213,21 @@ class WPToolset_Field_Credfile extends WPToolset_Field_Textfield {
213
  '#markup' => '<div id="progress_' . $id . '" class="meter" style="display:none;"><span class = "progress-bar" style="width:0;"></span></div>',
214
  );
215
  }
216
-
 
217
  if ($has_image) {
218
  //$delete_butt = "<input id='butt_{$id}' style='width:100%;margin-top:2px;margin-bottom:2px;' type='button' value='" . __('delete', 'wpv-views') . "' rel='{$preview_file}' class='delete_ajax_file'>";
219
- $delete_butt = '<input type="button"' . $delete_input_showhide . ' data-action="delete" class="js-wpt-credfile-delete wpt-credfile-delete' . $button_extra_classnames . '" value="' . __('delete', 'wpv-views') . '" style="width:100%;margin-top:2px;margin-bottom:2px;" />';
220
 
221
  $form[] = array(
222
  '#type' => 'markup',
223
- '#markup' => '<span class="js-wpt-credfile-preview wpt-credfile-preview"><img id="' . $id . '_image" src="' . $preview_file . '" title="' . $preview_file . '" alt="' . $preview_file . '" class="js-wpt-credfile-preview-item wpt-credfile-preview-item" style="max-width:150px"/>' . $delete_butt . '</span>',
224
  );
225
  } else {
 
226
  //if ( !$is_empty )
227
  $form[] = array(
228
  '#type' => 'markup',
229
- '#markup' => '<span class="js-wpt-credfile-preview wpt-credfile-preview">' . $preview_file . '</span>',
230
  );
231
  }
232
  return $form;
55
 
56
  public function init() {
57
  wp_register_script('wpt-field-credfile', WPTOOLSET_FORMS_RELPATH . '/js/credfile.js', array('wptoolset-forms'), WPTOOLSET_FORMS_VERSION, true);
58
+ wp_enqueue_script('wpt-field-credfile');
 
59
  $this->disable_progress_bar = version_compare(CRED_FE_VERSION, '1.3.6.2', '<=');
60
  $this->disable_progress_bar = apply_filters('cred_file_upload_disable_progress_bar', $this->disable_progress_bar);
61
+ if ($this->disable_progress_bar) {
62
  return;
63
+ }
64
 
65
  //Add settings switch in order to use AJAX JQUERY UPLOAD or not
66
  $scriptpath = WPTOOLSET_FORMS_RELPATH . '/js/jquery_upload/';
123
  }
124
 
125
  $id = str_replace(array("[", "]"), "", $name);
126
+ $preview_span_input_showhide = '';
127
  $button_extra_classnames = '';
128
 
129
  $has_image = false;
132
  if (empty($value)) {
133
  $value = ''; // NOTE we need to set it to an empty string because sometimes it is NULL on repeating fields
134
  $is_empty = true;
135
+ $preview_span_input_showhide = ' style="display:none"';
136
  }
137
 
138
  // if ($name == '_featured_image') {
147
  if (!$is_empty) {
148
  $pathinfo = pathinfo($value);
149
  // TODO we should check against the allowed mime types, not file extensions
150
+ if (($this->_data['type'] == 'credimage' || $this->_data['type'] == 'credfile') &&
151
+ isset($pathinfo['extension']) && in_array(strtolower($pathinfo['extension']), array('png', 'gif', 'jpg', 'jpeg', 'bmp', 'tif'))) {
152
  $has_image = true;
153
  }
154
  }
172
 
173
  if (!$is_empty) {
174
  $preview_file = $value;
175
+ // $attr_file['disabled'] = 'disabled';
 
176
  $attr_file['style'] = 'display:none';
177
  } else {
178
  $attr_hidden['disabled'] = 'disabled';
213
  '#markup' => '<div id="progress_' . $id . '" class="meter" style="display:none;"><span class = "progress-bar" style="width:0;"></span></div>',
214
  );
215
  }
216
+
217
+ $delete_butt = '<input type="button" data-action="delete" class="js-wpt-credfile-delete wpt-credfile-delete' . $button_extra_classnames . '" value="' . __('delete', 'wpv-views') . '" style="width:100%;margin-top:2px;margin-bottom:2px;" />';
218
  if ($has_image) {
219
  //$delete_butt = "<input id='butt_{$id}' style='width:100%;margin-top:2px;margin-bottom:2px;' type='button' value='" . __('delete', 'wpv-views') . "' rel='{$preview_file}' class='delete_ajax_file'>";
 
220
 
221
  $form[] = array(
222
  '#type' => 'markup',
223
+ '#markup' => '<span class="js-wpt-credfile-preview wpt-credfile-preview" '.$preview_span_input_showhide.'><img id="' . $id . '_image" src="' . $preview_file . '" title="' . $preview_file . '" alt="' . $preview_file . '" class="js-wpt-credfile-preview-item wpt-credfile-preview-item" style="max-width:150px"/>' . $delete_butt . '</span>',
224
  );
225
  } else {
226
+
227
  //if ( !$is_empty )
228
  $form[] = array(
229
  '#type' => 'markup',
230
+ '#markup' => '<span class="js-wpt-credfile-preview wpt-credfile-preview" '.$preview_span_input_showhide.'>' . $preview_file . $delete_butt . '</span>',
231
  );
232
  }
233
  return $form;
library/toolset/toolset-common/toolset-forms/classes/class.date.php CHANGED
@@ -96,10 +96,14 @@ class WPToolset_Field_Date extends FieldFactory {
96
  $data = $this->getData();
97
 
98
  $field_disable = false;
99
- if (
 
 
100
  is_admin() && defined('WPML_TM_VERSION') && intval($wpml_action) === 1 && function_exists('wpcf_wpml_post_is_original') && !wpcf_wpml_post_is_original() && function_exists('wpcf_wpml_have_original') && wpcf_wpml_have_original()
101
  ) {
102
  $field_disable = true;
 
 
103
  }
104
 
105
  if (!$timestamp) {
@@ -111,8 +115,6 @@ class WPToolset_Field_Date extends FieldFactory {
111
 
112
  $def_class = 'js-wpt-date';
113
 
114
- $def_class_aux = 'js-wpt-date-auxiliar';
115
-
116
  if (
117
  $field_disable || (
118
  isset($data['attribute']) && isset($data['attribute']['readonly']) && $data['attribute']['readonly'] == 'readonly'
96
  $data = $this->getData();
97
 
98
  $field_disable = false;
99
+ $def_class_aux = 'js-wpt-date-auxiliar';
100
+
101
+ if ( // if field should get duplicated
102
  is_admin() && defined('WPML_TM_VERSION') && intval($wpml_action) === 1 && function_exists('wpcf_wpml_post_is_original') && !wpcf_wpml_post_is_original() && function_exists('wpcf_wpml_have_original') && wpcf_wpml_have_original()
103
  ) {
104
  $field_disable = true;
105
+ // this will stop js validation of date field value (as it will get duplicated)
106
+ $def_class_aux = '';
107
  }
108
 
109
  if (!$timestamp) {
115
 
116
  $def_class = 'js-wpt-date';
117
 
 
 
118
  if (
119
  $field_disable || (
120
  isset($data['attribute']) && isset($data['attribute']['readonly']) && $data['attribute']['readonly'] == 'readonly'
library/toolset/toolset-common/toolset-forms/classes/class.eforms.php CHANGED
@@ -711,15 +711,43 @@ class Enlimbo_Forms {
711
  $element['_render']['element'] .= sprintf(' data-wpt-type="%s"', __FUNCTION__);
712
  $element['_render']['element'] .= $this->_getDataWptId($element);
713
 
714
- $element['_render']['element'] .= ' value="';
715
  /**
716
- * Specific: if value is empty force 1 to be rendered
717
- * but if is defined default value, use default
 
 
 
 
 
 
 
 
 
 
 
 
718
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
719
  $value = 1;
720
- if (array_key_exists('#default_value', $element)) {
721
  $value = $element['#default_value'];
722
  }
 
723
  $element['_render']['element'] .= ( empty($element['#value']) && !preg_match('/^0$/', $element['#value']) ) ? $value : esc_attr($element['#value']);
724
  $element['_render']['element'] .= '"' . $element['_attributes_string'];
725
  if (
711
  $element['_render']['element'] .= sprintf(' data-wpt-type="%s"', __FUNCTION__);
712
  $element['_render']['element'] .= $this->_getDataWptId($element);
713
 
 
714
  /**
715
+ * Add html attribute value=""
716
+ *
717
+ * We have key #value and we also have #default-value key
718
+ * #value
719
+ * CRED: fills this with what value="" of input should be
720
+ * TYPES: fills this with the stored database value (WRONG)
721
+ *
722
+ * #default-value (this should better be called #checked)
723
+ * CRED: uses this to determine if the checkbox is checked or not (empty / 1)
724
+ * TYPES: uses this for the "value to store" input when creating a checkbox field (WRONG)
725
+ *
726
+ * To get things right we flip the usage of Types fields to handle it the same way as CRED does
727
+ *
728
+ * START Todo: Types should deliver the correct values instead of flipping it here
729
  */
730
+ if( strpos( $element['#name'], 'wpcf[' ) === 0 ) {
731
+ $tmp_value = $element['#value'];
732
+
733
+ $element['#value'] = array_key_exists( '#default_value', $element )
734
+ ? $element['#default_value']
735
+ : '';
736
+
737
+ $element['#default_value'] = $tmp_value;
738
+ }
739
+ /* END To-do */
740
+
741
+
742
+ $element['_render']['element'] .= ' value="';
743
+
744
+ // Specific: if value is empty force 1 to be rendered
745
+ // but if is defined default value, use default
746
  $value = 1;
747
+ if( array_key_exists( '#default_value', $element ) ) {
748
  $value = $element['#default_value'];
749
  }
750
+
751
  $element['_render']['element'] .= ( empty($element['#value']) && !preg_match('/^0$/', $element['#value']) ) ? $value : esc_attr($element['#value']);
752
  $element['_render']['element'] .= '"' . $element['_attributes_string'];
753
  if (
library/toolset/toolset-common/toolset-forms/classes/class.fieldconfig.php CHANGED
@@ -91,14 +91,7 @@ if (!class_exists("FieldConfig")) {
91
 
92
  case 'select':
93
  if (isset($field_arr['attr']['multiple'])) {
94
- //Multiselect
95
- if (isset($field_arr['value']))
96
- foreach ($field_arr['value'] as $value) {
97
- if (isset($value[0])) {
98
- $this->default_value = $value;
99
- break;
100
- }
101
- }
102
  } else {
103
  if (isset($field_arr['attr']['actual_value'])) {
104
  //This value is not array if from parent
@@ -117,7 +110,7 @@ if (!class_exists("FieldConfig")) {
117
  break;
118
 
119
  case 'checkbox':
120
- $this->default_value = $field_arr['value']; //isset($field_arr['data']['checked']) ? $field_arr['data']['checked'] : false;
121
  break;
122
 
123
  default:
91
 
92
  case 'select':
93
  if (isset($field_arr['attr']['multiple'])) {
94
+ $this->default_value = $field_arr['value'];
 
 
 
 
 
 
 
95
  } else {
96
  if (isset($field_arr['attr']['actual_value'])) {
97
  //This value is not array if from parent
110
  break;
111
 
112
  case 'checkbox':
113
+ $this->default_value = isset($field_arr['data']['checked']) ? true : false;
114
  break;
115
 
116
  default:
library/toolset/toolset-common/toolset-forms/classes/class.select.php CHANGED
@@ -17,14 +17,22 @@ class WPToolset_Field_Select extends FieldFactory {
17
  $value = $this->getValue();
18
  $data = $this->getData();
19
  $attributes = $this->getAttr();
20
-
21
  $form = $options = array();
 
22
 
23
- if( !isset( $data['default_value'] ) ) {
24
- $options[] = array(
25
- '#value' => '',
26
- '#title' => __( '--- not set ---' , 'wpv-views' ),
27
- );
 
 
 
 
 
 
 
 
28
  }
29
 
30
  if (isset($data['options'])) {
@@ -72,17 +80,10 @@ class WPToolset_Field_Select extends FieldFactory {
72
  $title = $this->getTitle(true);
73
  }
74
  $options = apply_filters('wpt_field_options', $options, $title, 'select');
75
- /**
76
- * default_value
77
- */
78
- if (!empty($value) || $value == '0') {
79
- $data['default_value'] = $value;
80
- }
81
-
82
- $is_multiselect = array_key_exists('multiple', $attributes) && 'multiple' == $attributes['multiple'];
83
  $default_value = isset($data['default_value']) ? $data['default_value'] : null;
 
84
  //Fix https://icanlocalize.basecamphq.com/projects/7393061-toolset/todo_items/189219391/comments
85
- if ($is_multiselect) {
86
  $default_value = new RecursiveIteratorIterator(new RecursiveArrayIterator($default_value));
87
  $default_value = iterator_to_array($default_value, false);
88
  }
17
  $value = $this->getValue();
18
  $data = $this->getData();
19
  $attributes = $this->getAttr();
 
20
  $form = $options = array();
21
+ $is_multiselect = array_key_exists('multiple', $attributes) && 'multiple' == $attributes['multiple'];
22
 
23
+ if (!$is_multiselect) {
24
+ if (!isset($data['default_value'])) {
25
+ $options[] = array(
26
+ '#value' => '',
27
+ '#title' => __('--- not set ---', 'wpv-views'),
28
+ );
29
+ }
30
+ /**
31
+ * default_value
32
+ */
33
+ if (!empty($value) || $value == '0') {
34
+ $data['default_value'] = $value;
35
+ }
36
  }
37
 
38
  if (isset($data['options'])) {
80
  $title = $this->getTitle(true);
81
  }
82
  $options = apply_filters('wpt_field_options', $options, $title, 'select');
 
 
 
 
 
 
 
 
83
  $default_value = isset($data['default_value']) ? $data['default_value'] : null;
84
+
85
  //Fix https://icanlocalize.basecamphq.com/projects/7393061-toolset/todo_items/189219391/comments
86
+ if ($is_multiselect && !empty($default_value)) {
87
  $default_value = new RecursiveIteratorIterator(new RecursiveArrayIterator($default_value));
88
  $default_value = iterator_to_array($default_value, false);
89
  }
library/toolset/toolset-common/toolset-forms/classes/class.wysiwyg.php CHANGED
@@ -35,7 +35,12 @@ class WPToolset_Field_Wysiwyg extends WPToolset_Field_Textarea {
35
  '<label class="wpt-form-label wpt-form-textfield-label">%1$s%2$s</label>', stripcslashes($this->getTitle()), $extra_markup
36
  );
37
  }
38
- $markup .= stripcslashes($this->getDescription());
 
 
 
 
 
39
  $markup .= $this->_editor($attributes);
40
  if (is_admin()) {
41
  $markup .= '</div>';
35
  '<label class="wpt-form-label wpt-form-textfield-label">%1$s%2$s</label>', stripcslashes($this->getTitle()), $extra_markup
36
  );
37
  }
38
+
39
+ if(is_admin()){
40
+ $markup .= '<div class="description wpt-form-description wpt-form-description-textfield description-textfield">'.stripcslashes($this->getDescription()).'</div>';
41
+ } else {
42
+ $markup .= stripcslashes($this->getDescription());
43
+ }
44
  $markup .= $this->_editor($attributes);
45
  if (is_admin()) {
46
  $markup .= '</div>';
library/toolset/toolset-common/toolset-forms/classes/submit.php CHANGED
@@ -1,35 +1,25 @@
1
  <?php
2
 
3
- @ini_set('upload_max_size', '64M');
4
- @ini_set('post_max_size', '64M');
5
- @ini_set('max_execution_time', '300');
6
-
7
- function _pre($v) {
8
- echo "<pre>";
9
- print_r($v);
10
- echo "</pre>";
11
- }
12
-
13
- function find_wp_config_path() {
14
  $dir = dirname(__FILE__);
15
  do {
16
- if (file_exists($dir . "/wp-config.php")) {
17
  return $dir . '/';
18
  }
19
  } while ($dir = realpath("$dir/.."));
20
  return null;
21
  }
22
 
23
- function get_root_path() {
24
- return find_wp_config_path();
25
  }
26
 
27
- function get_local($url) {
28
  $urlParts = parse_url($url);
29
- return get_root_path() . $urlParts['path'];
30
  }
31
 
32
- function clean($string) {
33
  $string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens.
34
  return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars.
35
  }
@@ -45,10 +35,10 @@ define('DOING_AJAX', true);
45
  // define('WP_ADMIN', true);
46
  //}
47
 
48
- require_once( get_root_path() . 'wp-load.php' );
49
- require_once( get_root_path() . 'wp-admin/includes/file.php' );
50
- require_once( get_root_path() . 'wp-admin/includes/media.php' );
51
- require_once( get_root_path() . 'wp-admin/includes/image.php' );
52
 
53
  /** Allow for cross-domain requests (from the frontend). */
54
  send_origin_headers();
@@ -59,11 +49,11 @@ if (isset($_REQUEST['nonce']) && check_ajax_referer('ajax_nonce', 'nonce', false
59
 
60
  if (isset($_POST['action']) && $_POST['action'] == 'delete' && isset($_POST['file'])) {
61
  $file = $_POST['file'];
62
- $id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0;
63
 
64
  $data = array('result' => true);
65
 
66
- $local_file = get_local($file);
67
 
68
  //get all image attachments
69
  $attachments = get_children(
@@ -125,9 +115,9 @@ if (isset($_REQUEST['nonce']) && check_ajax_referer('ajax_nonce', 'nonce', false
125
 
126
  $errors = array();
127
 
128
- list($fields, $errors) = apply_filters('cred_form_validate_form_' . $form_slug, array($fields, $errors), $thisform);
129
- list($fields, $errors) = apply_filters('cred_form_validate_' . $form_id, array($fields, $errors), $thisform);
130
- list($fields, $errors) = apply_filters('cred_form_validate', array($fields, $errors), $thisform);
131
 
132
  if (!empty($errors)) {
133
  foreach ($errors as $fname => $err) {
@@ -170,15 +160,16 @@ if (isset($_REQUEST['nonce']) && check_ajax_referer('ajax_nonce', 'nonce', false
170
  if (wp_attachment_is_image($attach_id)) {
171
  $_rewrited_url = wp_get_attachment_image_src($attach_id, 'full');
172
  $_rewrited_url_prw = wp_get_attachment_image_src($attach_id);
 
173
  } else {
174
  $_rewrited_url = wp_get_attachment_url($attach_id);
175
  }
176
- $attach_data = wp_generate_attachment_metadata($attach_id, $_rewrited_url);
177
 
178
- if (isset($_rewrited_url) && isset($_rewrited_url_prw)) {
179
  $files[] = (is_array($_rewrited_url) && isset($_rewrited_url[0])) ? $_rewrited_url[0] : $_rewrited_url; //$res['url'];
180
  $attaches[] = $attach_id;
181
- $previews[] = (is_array($_rewrited_url_prw) && isset($_rewrited_url_prw[0])) ? $_rewrited_url_prw[0] : $_rewrited_url_prw; //$res['url'];
 
182
  } else {
183
  $files[] = $res['url'];
184
  $attaches[] = $attach_id;
1
  <?php
2
 
3
+ function cred_find_wp_config_path() {
 
 
 
 
 
 
 
 
 
 
4
  $dir = dirname(__FILE__);
5
  do {
6
+ if (file_exists($dir . "/wp-load.php")) {
7
  return $dir . '/';
8
  }
9
  } while ($dir = realpath("$dir/.."));
10
  return null;
11
  }
12
 
13
+ function cred_get_root_path() {
14
+ return cred_find_wp_config_path();
15
  }
16
 
17
+ function cred_get_local($url) {
18
  $urlParts = parse_url($url);
19
+ return cred_get_root_path() . $urlParts['path'];
20
  }
21
 
22
+ function cred_clean($string) {
23
  $string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens.
24
  return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars.
25
  }
35
  // define('WP_ADMIN', true);
36
  //}
37
 
38
+ require_once( cred_get_root_path() . 'wp-load.php' );
39
+ require_once( cred_get_root_path() . 'wp-admin/includes/file.php' );
40
+ require_once( cred_get_root_path() . 'wp-admin/includes/media.php' );
41
+ require_once( cred_get_root_path() . 'wp-admin/includes/image.php' );
42
 
43
  /** Allow for cross-domain requests (from the frontend). */
44
  send_origin_headers();
49
 
50
  if (isset($_POST['action']) && $_POST['action'] == 'delete' && isset($_POST['file'])) {
51
  $file = $_POST['file'];
52
+ $id = isset($_POST['id']) ? (int) $_POST['id'] : 0;
53
 
54
  $data = array('result' => true);
55
 
56
+ $local_file = cred_get_local($file);
57
 
58
  //get all image attachments
59
  $attachments = get_children(
115
 
116
  $errors = array();
117
 
118
+ list($fields, $errors) = apply_filters('cred_form_ajax_upload_validate_' . $form_slug, array($fields, $errors), $thisform);
119
+ list($fields, $errors) = apply_filters('cred_form_ajax_upload_validate_' . $form_id, array($fields, $errors), $thisform);
120
+ list($fields, $errors) = apply_filters('cred_form_ajax_upload_validate', array($fields, $errors), $thisform);
121
 
122
  if (!empty($errors)) {
123
  foreach ($errors as $fname => $err) {
160
  if (wp_attachment_is_image($attach_id)) {
161
  $_rewrited_url = wp_get_attachment_image_src($attach_id, 'full');
162
  $_rewrited_url_prw = wp_get_attachment_image_src($attach_id);
163
+ $attach_data = wp_generate_attachment_metadata($attach_id, $_rewrited_url);
164
  } else {
165
  $_rewrited_url = wp_get_attachment_url($attach_id);
166
  }
 
167
 
168
+ if (isset($_rewrited_url)) {
169
  $files[] = (is_array($_rewrited_url) && isset($_rewrited_url[0])) ? $_rewrited_url[0] : $_rewrited_url; //$res['url'];
170
  $attaches[] = $attach_id;
171
+ if (isset($_rewrited_url_prw))
172
+ $previews[] = (is_array($_rewrited_url_prw) && isset($_rewrited_url_prw[0])) ? $_rewrited_url_prw[0] : $_rewrited_url_prw; //$res['url'];
173
  } else {
174
  $files[] = $res['url'];
175
  $attaches[] = $attach_id;
library/toolset/toolset-common/toolset-forms/css/wpt-toolset-backend.css CHANGED
@@ -46,9 +46,15 @@
46
  }
47
  .wpt-form-description {
48
  font-size: 0.85em;
49
- font-style: italic;
50
  margin-bottom: 5px;
51
  }
 
 
 
 
 
 
52
  .wpt-form-description-fieldset {
53
  font-size: 1em;
54
  font-style: normal;
@@ -137,7 +143,7 @@ input.wpt-form-error {
137
  }
138
 
139
  .wpt-form-label {
140
- margin-bottom: 5px;
141
  }
142
  .wpt-form-description {
143
  margin: 5px 0;
46
  }
47
  .wpt-form-description {
48
  font-size: 0.85em;
49
+ /*font-style: italic;*/
50
  margin-bottom: 5px;
51
  }
52
+
53
+ .wpt-form-description > p{
54
+ margin: 0px;
55
+ font-size: 13px;
56
+ }
57
+
58
  .wpt-form-description-fieldset {
59
  font-size: 1em;
60
  font-style: normal;
143
  }
144
 
145
  .wpt-form-label {
146
+ margin-bottom: 0px;
147
  }
148
  .wpt-form-description {
149
  margin: 5px 0;
library/toolset/toolset-common/toolset-forms/js/credfile.js CHANGED
@@ -20,7 +20,7 @@ var wptCredfile = (function ($) {
20
  thiz_file_input.prop('disabled', false).show().val('');
21
  thiz_hidden_input.prop('disabled', true);
22
  thiz_preview.hide();
23
- thiz_delete_button.hide();
24
  if (thiz_existing_value != '') {
25
  thiz_undo_button.show();
26
  } else {
@@ -28,15 +28,18 @@ var wptCredfile = (function ($) {
28
  }
29
  if (myid == '_featured_image')
30
  $("<input type='hidden' id='attachid_" + myid + "' name='attachid_" + myid + "' value=''>").insertAfter('#' + thiz_hidden_input.attr('id'));
31
- else
32
- $("<input type='hidden' id='" + myid + "' name='" + myid + "' value=''>").insertAfter('#' + thiz_hidden_input.attr('id'));
 
 
 
33
  thiz_file_input.trigger('change');
34
  } else if (credfile_action == 'undo') {
35
  thiz_file_input.prop('disabled', true).hide();
36
  thiz_hidden_input.prop('disabled', false);
37
  thiz_file_input.trigger('change');
38
  thiz_preview.show();
39
- thiz_delete_button.show();
40
  thiz_undo_button.hide();
41
  if (myid == '_featured_image')
42
  $('#attachid_' + myid).remove();
@@ -57,11 +60,11 @@ var wptCredfile = (function ($) {
57
  thiz_hidden_input = $('.js-wpv-credfile-hidden', credfile_container),
58
  thiz_preview = $('.js-wpt-credfile-preview', credfile_container),
59
  thiz_existing_value = thiz_hidden_input.val();
60
- if (thiz.val() != '') {
61
- thiz_delete_button.show();
62
- } else {
63
- thiz_delete_button.hide();
64
- }
65
  if (thiz_existing_value != '' && thiz_existing_value != thiz.val()) {
66
  thiz_undo_button.show();
67
  } else {
@@ -76,5 +79,4 @@ var wptCredfile = (function ($) {
76
 
77
  jQuery(document).ready(function () {
78
  wptCredfile.init('body');
79
-
80
  });
20
  thiz_file_input.prop('disabled', false).show().val('');
21
  thiz_hidden_input.prop('disabled', true);
22
  thiz_preview.hide();
23
+ //thiz_delete_button.hide();
24
  if (thiz_existing_value != '') {
25
  thiz_undo_button.show();
26
  } else {
28
  }
29
  if (myid == '_featured_image')
30
  $("<input type='hidden' id='attachid_" + myid + "' name='attachid_" + myid + "' value=''>").insertAfter('#' + thiz_hidden_input.attr('id'));
31
+ else {
32
+ if (thiz.closest('.js-wpt-repetitive').length>0) {
33
+ } else
34
+ $("<input type='hidden' id='" + myid + "' name='" + myid + "' value=''>").insertAfter('#' + thiz_hidden_input.attr('id'));
35
+ }
36
  thiz_file_input.trigger('change');
37
  } else if (credfile_action == 'undo') {
38
  thiz_file_input.prop('disabled', true).hide();
39
  thiz_hidden_input.prop('disabled', false);
40
  thiz_file_input.trigger('change');
41
  thiz_preview.show();
42
+ //thiz_delete_button.show();
43
  thiz_undo_button.hide();
44
  if (myid == '_featured_image')
45
  $('#attachid_' + myid).remove();
60
  thiz_hidden_input = $('.js-wpv-credfile-hidden', credfile_container),
61
  thiz_preview = $('.js-wpt-credfile-preview', credfile_container),
62
  thiz_existing_value = thiz_hidden_input.val();
63
+ // if (thiz.val() != '') {
64
+ // thiz_delete_button.show();
65
+ // } else {
66
+ // thiz_delete_button.hide();
67
+ // }
68
  if (thiz_existing_value != '' && thiz_existing_value != thiz.val()) {
69
  thiz_undo_button.show();
70
  } else {
79
 
80
  jQuery(document).ready(function () {
81
  wptCredfile.init('body');
 
82
  });
library/toolset/toolset-common/toolset-forms/js/jquery_upload/file_upload.js CHANGED
@@ -56,27 +56,26 @@ jQuery(function () {
56
 
57
  var myid = jQuery("input[name='_cred_cred_prefix_post_id']").val();
58
  var myformid = jQuery("input[name='_cred_cred_prefix_form_id']").val();
59
- var post_id = myid;
60
 
61
  jQuery(file).fileupload({
62
  url: url + '?id=' + myid + '&formid=' + myformid + '&nonce=' + nonce,
63
  dataType: 'json',
64
  cache: false,
65
  maxChunkSize: 0,
66
- drop: function (e, data) {return false},
67
- dragover: function (e) {return false},
 
 
 
 
68
  formData: {id: myid, formid: myformid},
69
  //acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
70
  done: function (e, data) {
71
  var id = jQuery(curr_file).attr('id');
72
- //progress bar hide
73
- //jQuery('#progress_' + wpt_id).css({'width': '0%'});
74
- // jQuery('#progress_' + wpt_id + ' .progress-bar').css(
75
- // {'width': '0%'}
76
- // );
77
- // jQuery('#progress_' + wpt_id).hide();
78
-
79
- var wpt_id = jQuery(this).next(".meter").attr("id"); //id.replace("_file", "");
80
  jQuery('#' + wpt_id).show();
81
  jQuery('#' + wpt_id + ' .progress-bar').css(
82
  {'width': '0%'}
@@ -88,24 +87,34 @@ jQuery(function () {
88
  }
89
  if (data.result.files) {
90
  jQuery.each(data.result.files, function (index, file) {
91
-
92
  var id = jQuery(curr_file).attr('id');
93
- //console.log(id);
94
  var wpt_id = id.replace("_file", "");
95
- // var wpt_id = jQuery(curr_file).attr('data-wpt-name');
96
- // wpt_id = wpt_id.replace(/[^a-z0-9\-\_]/gi, '');
97
- //console.log(wpt_id);
98
  var myid = wpt_id;
99
- //console.log(myid);
100
 
 
101
  if (id.toLowerCase().indexOf("wpt-form-el") >= 0) {
102
  var number = id.replace(/[^0-9]/g, '');
 
103
  var new_num = number - 1;
 
104
  var hidden_id = "wpt-form-el" + new_num;
105
  } else
106
  var hidden_id = wpt_id + '_hidden';
107
 
108
- //console.log(hidden_id);
 
 
 
 
 
 
 
 
 
 
109
 
110
  //hidden text set
111
  jQuery('#' + hidden_id).val(file);
@@ -117,52 +126,90 @@ jQuery(function () {
117
  //remove restore button
118
  jQuery('#' + id).siblings(".js-wpt-credfile-undo").hide();
119
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  //add image/file uploaded and button to delete
121
  if (isImage(file) && data.result.previews) {
122
  var preview = data.result.previews[index];
123
  var attachid = data.result.attaches[index];
124
- jQuery("<img id='loaded_" + myid + "' src='" + preview + "'><input id='butt_" + myid + "' style='width:100%;margin-top:2px;margin-bottom:2px;' type='button' value='" + settings.delete_text + "' rel='" + preview + "' class='delete_ajax_file'>").insertAfter('#' + jQuery(curr_file).attr('id'));
125
- jQuery("<input type='hidden' id='attachid_" + myid + "' name='attachid_" + myid + "' value='" + attachid + "'>").insertAfter('#' + jQuery(curr_file).attr('id'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  } else {
127
- jQuery("<a id='loaded_" + myid + "' href='" + file + "' target='_blank'>" + file + "</a></label><input id='butt_" + myid + "' style='width:100%;margin-top:2px;margin-bottom:2px;' type='button' value='" + settings.delete_text + "' rel='" + file + "' class='delete_ajax_file'>").insertAfter('#' + jQuery(curr_file).attr('id'));
 
128
  }
 
 
 
 
129
 
130
  //add function to delete button
131
- jQuery(document).off('click', "#butt_" + myid, null);
132
- jQuery(document).on('click', "#butt_" + myid, function () {
133
- if (confirm(settings.delete_confirm_text)) {
134
- jQuery("#loaded_" + myid).remove();
135
- jQuery("#butt_" + myid).remove();
136
- jQuery("#attachid_" + myid).remove();
137
-
138
- jQuery('#' + id).show();
139
- jQuery('#' + id).prop('disabled', false);
140
-
141
- jQuery('#' + hidden_id).val("");
142
- jQuery('#' + hidden_id).prop('disabled', true);
143
-
144
- jQuery.ajax({
145
- url: url,
146
- timeout: 10000,
147
- type: 'POST',
148
- data: {action: 'delete', file: file, nonce: nonce, id: post_id},
149
- dataType: 'json',
150
- success: function (data)
151
- {
152
- if (!data.result) {
153
- if (data.error)
154
- alert(data.error);
155
- else
156
- alert(settings.delete_alert_text);
157
- }
158
- credfile_fu_init();
159
- },
160
- error: function ()
161
- {
162
- }
163
- });
164
- }
165
- });
 
 
166
  });
167
  credfile_fu_init();
168
  }
@@ -190,13 +237,8 @@ jQuery(function () {
190
  progressall: function (e, data) {
191
  var progress = parseInt(data.loaded / data.total * 100, 10);
192
  var id = jQuery(curr_file).attr('id');
193
- // var wpt_id = id.replace("_file", "");
194
- // jQuery('#progress_' + wpt_id).show();
195
- // //jQuery('#progress_' + wpt_id).css({'width': '100%'});
196
- // jQuery('#progress_' + wpt_id + ' .progress-bar').css(
197
- // {'width': progress + '%'}
198
- // );
199
- var wpt_id = jQuery(this).next(".meter").attr("id"); //id.replace("_file", "");
200
  jQuery('#' + wpt_id).show();
201
  //jQuery('#progress_' + wpt_id).css({'width': '100%'});
202
  jQuery('#' + wpt_id + ' .progress-bar').css(
56
 
57
  var myid = jQuery("input[name='_cred_cred_prefix_post_id']").val();
58
  var myformid = jQuery("input[name='_cred_cred_prefix_form_id']").val();
59
+ var post_id = myid;
60
 
61
  jQuery(file).fileupload({
62
  url: url + '?id=' + myid + '&formid=' + myformid + '&nonce=' + nonce,
63
  dataType: 'json',
64
  cache: false,
65
  maxChunkSize: 0,
66
+ drop: function (e, data) {
67
+ return false
68
+ },
69
+ dragover: function (e) {
70
+ return false
71
+ },
72
  formData: {id: myid, formid: myformid},
73
  //acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
74
  done: function (e, data) {
75
  var id = jQuery(curr_file).attr('id');
76
+ //progress bar hiding
77
+ var wpt_id = jQuery('#' + id).siblings(".meter").attr("id"); //id.replace("_file", "");
78
+ //console.log(wpt_id);
 
 
 
 
 
79
  jQuery('#' + wpt_id).show();
80
  jQuery('#' + wpt_id + ' .progress-bar').css(
81
  {'width': '0%'}
87
  }
88
  if (data.result.files) {
89
  jQuery.each(data.result.files, function (index, file) {
90
+ //console.log("url: " + file);
91
  var id = jQuery(curr_file).attr('id');
92
+ //console.log("id: " + id);
93
  var wpt_id = id.replace("_file", "");
 
 
 
94
  var myid = wpt_id;
95
+ //console.log("wpt_id: " + wpt_id);
96
 
97
+ var number = 0;
98
  if (id.toLowerCase().indexOf("wpt-form-el") >= 0) {
99
  var number = id.replace(/[^0-9]/g, '');
100
+ //console.log("number: " + number);
101
  var new_num = number - 1;
102
+ //console.log("new_num: " + new_num);
103
  var hidden_id = "wpt-form-el" + new_num;
104
  } else
105
  var hidden_id = wpt_id + '_hidden';
106
 
107
+ //console.log("hidden_id: " + hidden_id);
108
+
109
+ var is_repetitive = jQuery('#' + id).parent().parent().hasClass("js-wpt-repetitive");
110
+ //console.log("is_repetitive: " + is_repetitive);
111
+ if (is_repetitive) {
112
+ var newname = wpt_id.replace(number, "[" + number + "]");
113
+ jQuery('input[name="' + newname + '"]#' + wpt_id).val(file);
114
+ //console.log(jQuery('input[name="' + wpt_id + '[' + number + ']"]#' + wpt_id).val());
115
+ } else {
116
+ jQuery('input[name=' + wpt_id + ']#' + wpt_id).val(file);
117
+ }
118
 
119
  //hidden text set
120
  jQuery('#' + hidden_id).val(file);
126
  //remove restore button
127
  jQuery('#' + id).siblings(".js-wpt-credfile-undo").hide();
128
 
129
+
130
+ // //add image/file uploaded and button to delete
131
+ // if (isImage(file) && data.result.previews) {
132
+ // var preview = data.result.previews[index];
133
+ // var attachid = data.result.attaches[index];
134
+ // jQuery("<img id='loaded_" + myid + "' src='" + preview + "'><input id='butt_" + myid + "' style='width:100%;margin-top:2px;margin-bottom:2px;' type='button' value='" + settings.delete_text + "' rel='" + preview + "' class='delete_ajax_file'>").insertAfter('#' + jQuery(curr_file).attr('id'));
135
+ // jQuery("<input type='hidden' id='attachid_" + myid + "' name='attachid_" + myid + "' value='" + attachid + "'>").insertAfter('#' + jQuery(curr_file).attr('id'));
136
+ // } else {
137
+ // jQuery("<a id='loaded_" + myid + "' href='" + file + "' target='_blank'>" + file + "</a></label><input id='butt_" + myid + "' style='width:100%;margin-top:2px;margin-bottom:2px;' type='button' value='" + settings.delete_text + "' rel='" + file + "' class='delete_ajax_file'>").insertAfter('#' + jQuery(curr_file).attr('id'));
138
+ // }
139
+ // } else {
140
+ //
141
+ var preview_span = jQuery('#' + id).siblings(".js-wpt-credfile-preview");
142
+
143
  //add image/file uploaded and button to delete
144
  if (isImage(file) && data.result.previews) {
145
  var preview = data.result.previews[index];
146
  var attachid = data.result.attaches[index];
147
+
148
+ //console.log(preview_span);
149
+ if (typeof preview_span !== undefined) {
150
+ //console.log(jQuery(preview_span).find("img").length>0);
151
+ if (jQuery(preview_span).find("img").length > 0 &&
152
+ jQuery(preview_span).find("input").length > 0) {
153
+ jQuery(preview_span).find("img").attr("src", preview);
154
+ jQuery(preview_span).find("input").attr("rel", preview);
155
+ } else {
156
+ //append new image and delete button to the span
157
+ jQuery("<img id='loaded_" + myid + "' src='" + preview + "'>").prependTo(preview_span);
158
+ }
159
+ }
160
+
161
+ //<input id='butt_" + myid + "' style='width:100%;margin-top:2px;margin-bottom:2px;' type='button' value='" + settings.delete_text + "' rel='" + preview + "' class='delete_ajax_file'>
162
+ //jQuery("<img id='loaded_" + myid + "' src='" + preview + "'>").insertAfter('#' + jQuery(curr_file).attr('id'));
163
+ //jQuery(".js-wpt-credfile-preview-item").find("img").attr("src", preview);
164
+ //jQuery("<input type='hidden' id='attachid_" + myid + "' name='attachid_" + myid + "' value='" + attachid + "'>").insertAfter('#' + jQuery(curr_file).attr('id'));
165
+ jQuery("#attachid_" + myid).attr("value", attachid);
166
  } else {
167
+ //<input id='butt_" + myid + "' style='width:100%;margin-top:2px;margin-bottom:2px;' type='button' value='" + settings.delete_text + "' rel='" + file + "' class='delete_ajax_file'>
168
+ jQuery("<a id='loaded_" + myid + "' href='" + file + "' target='_blank'>" + file + "</a></label>").insertAfter('#' + jQuery(curr_file).attr('id'));
169
  }
170
+ if (typeof preview_span !== undefined)
171
+ jQuery(preview_span).show();
172
+
173
+ // }
174
 
175
  //add function to delete button
176
+ // jQuery(document).off('click', "#butt_" + myid, null);
177
+ // jQuery(document).on('click', "#butt_" + myid, function () {
178
+ // if (confirm(settings.delete_confirm_text)) {
179
+ // jQuery("#loaded_" + myid).remove();
180
+ // jQuery("#butt_" + myid).remove();
181
+ // jQuery("#attachid_" + myid).remove();
182
+ //
183
+ // jQuery('#' + id).show();
184
+ // jQuery('#' + id).prop('disabled', false);
185
+ //
186
+ // jQuery('#' + hidden_id).val("");
187
+ // jQuery('#' + hidden_id).prop('disabled', true);
188
+ //
189
+ // jQuery.ajax({
190
+ // url: url,
191
+ // timeout: 10000,
192
+ // type: 'POST',
193
+ // data: {action: 'delete', file: file, nonce: nonce, id: post_id},
194
+ // dataType: 'json',
195
+ // success: function (data)
196
+ // {
197
+ // if (!data.result) {
198
+ // if (data.error)
199
+ // alert(data.error);
200
+ // else
201
+ // alert(settings.delete_alert_text);
202
+ // }
203
+ // credfile_fu_init();
204
+ // },
205
+ // error: function ()
206
+ // {
207
+ // }
208
+ // });
209
+ // }
210
+ // });
211
+
212
+ wptCredfile.init('body');
213
  });
214
  credfile_fu_init();
215
  }
237
  progressall: function (e, data) {
238
  var progress = parseInt(data.loaded / data.total * 100, 10);
239
  var id = jQuery(curr_file).attr('id');
240
+
241
+ var wpt_id = jQuery('#' + id).siblings(".meter").attr("id"); //id.replace("_file", "");
 
 
 
 
 
242
  jQuery('#' + wpt_id).show();
243
  //jQuery('#progress_' + wpt_id).css({'width': '100%'});
244
  jQuery('#' + wpt_id + ' .progress-bar').css(
library/toolset/toolset-common/toolset-forms/js/main.js CHANGED
@@ -28,6 +28,15 @@ jQuery(document).ready(function () {
28
  jQuery('input.wpt-taxonomy-add-new', parent).click();
29
  }, 50);
30
  });
 
 
 
 
 
 
 
 
 
31
  });
32
 
33
 
28
  jQuery('input.wpt-taxonomy-add-new', parent).click();
29
  }, 50);
30
  });
31
+
32
+ setTimeout(function(){
33
+
34
+ if(jQuery(".wpt-hierarchical-taxonomy-add-new-show-hide").is(":hidden")){
35
+ jQuery(".wpt-hierarchical-taxonomy-add-new:hidden").remove();
36
+ jQuery(".wpt-hierarchical-taxonomy-add-new-show-hide:hidden").remove();
37
+ }
38
+
39
+ }, 1000);
40
  });
41
 
42
 
library/toolset/toolset-common/toolset-forms/js/validation.js CHANGED
@@ -12,6 +12,7 @@
12
  //var wptValidationData = {};
13
 
14
  var wptValidationForms = [];
 
15
  var wptValidation = (function ($) {
16
  function init() {
17
  /**
@@ -42,41 +43,24 @@ var wptValidation = (function ($) {
42
  * add extension to validator method require
43
  */
44
  $.validator.addMethod("required", function (value, element, param) {
 
 
 
 
45
  // check if dependency is met
46
  if (!this.depend(param, element))
47
  return "dependency-mismatch";
48
 
49
  switch (element.nodeName.toLowerCase()) {
50
  case 'select':
51
- var val = $(element).val();
52
- //Fix https://icanlocalize.basecamphq.com/projects/7393061-toolset/todo_items/189231348/comments
53
- // we have data-types-value that in select contains the exactly value
54
- //With Fix cred-165
55
- //this could be removed:
56
- // $(element).find('option').each(function(index, option){
57
- // if ($(option).val()==value) {
58
- // //if $(option).data('typesValue') is undefined i am in backend side
59
- // val = ($(option).data('typesValue')!=undefined)?$(option).data('typesValue'):val;
60
- // return;
61
- // }
62
- // });
63
- //#########################################################################
64
- return val && $.trim(val).length > 0;
65
  case 'input':
66
-
67
- // if (jQuery(element).hasClass("hasDatepicker")) {
68
- // element = jQuery(element).siblings( 'input[type="hidden"]' );
69
- // value = element.val();
70
- // element = element[0];
71
- // console.log(value+" -> "+this.getLength(value, element));
72
- // return this.getLength(value, element) > 0;
73
- // }
74
-
75
  //Fixing YT cred-196
76
  if (jQuery(element).hasClass("wpt-form-radio")) {
77
- var $name = jQuery(element).attr("name");
78
- var val = jQuery('input[name="' + $name + '"]:checked').val();
79
- return val && $.trim(val).length > 0;
 
80
  }
81
 
82
  //Fixing YT cred-104
@@ -88,21 +72,35 @@ var wptValidation = (function ($) {
88
  jQuery(element[0]).attr('data-wpt-type') == 'image'
89
  )) {
90
  var val = jQuery(element[0]).val();
 
 
91
  return val && $.trim(val).length > 0;
92
  }
93
 
94
  //Fixing YT cred-173
95
  element = jQuery(element).siblings('input[type="checkbox"]');
96
  if (element[0]) {
 
 
97
  return element[0].checked;
98
  }
99
 
100
  if (jQuery(element).hasClass("hasDatepicker")) {
 
 
101
  return false;
102
  }
103
 
104
- if (this.checkable(element))
 
 
105
  return this.getLength(value, element) > 0;
 
 
 
 
 
 
106
  default:
107
  return $.trim(value).length > 0;
108
  }
@@ -118,6 +116,12 @@ var wptValidation = (function ($) {
118
  },
119
  "Please enter a valid date"
120
  );
 
 
 
 
 
 
121
  _.each(wptValidationForms, function (formID) {
122
  _initValidation(formID);
123
  applyRules(formID);
@@ -125,6 +129,9 @@ var wptValidation = (function ($) {
125
  }
126
 
127
  function _initValidation(formID) {
 
 
 
128
  var $form = $(formID);
129
  $form.validate({
130
  // :hidden is kept because it's default value.
@@ -171,9 +178,13 @@ var wptValidation = (function ($) {
171
  // On some pages the form may not be ready yet at this point (e.g. Edit Term page).
172
  jQuery(document).ready(function () {
173
  //var formclone = $form.clone();
 
 
174
 
175
  jQuery(document).off('submit', $form.selector, null);
176
  jQuery(document).on('submit', $form.selector, function () {
 
 
177
 
178
  var myformid = formID.replace('#', '');
179
  myformid = myformid.replace('-', '_');
@@ -201,8 +212,12 @@ var wptValidation = (function ($) {
201
  $error_selector.hide();
202
  }
203
 
 
 
 
204
  if ($form.valid()) {
205
- //console.log("form valid 1");
 
206
 
207
  $('.js-wpt-remove-on-submit', $(this)).remove();
208
 
@@ -249,11 +264,14 @@ var wptValidation = (function ($) {
249
  if (data.result != 'redirect')
250
  alert(cred_settings.operation_ko);
251
  }
252
- try_to_reload_reCAPTCHA(formID);
253
  }
254
  }
255
  });
256
  }
 
 
 
257
  }
258
  if (cred_settings.use_ajax && cred_settings.use_ajax == 1)
259
  return false;
12
  //var wptValidationData = {};
13
 
14
  var wptValidationForms = [];
15
+ var wptValidationDebug = false;
16
  var wptValidation = (function ($) {
17
  function init() {
18
  /**
43
  * add extension to validator method require
44
  */
45
  $.validator.addMethod("required", function (value, element, param) {
46
+ //console.log(element.nodeName.toLowerCase() + " " + $(element).attr('name') + " default: " + value + " val: " + $(element).val());
47
+ var _name = $(element).attr('name');
48
+ var _value = $(element).val();
49
+
50
  // check if dependency is met
51
  if (!this.depend(param, element))
52
  return "dependency-mismatch";
53
 
54
  switch (element.nodeName.toLowerCase()) {
55
  case 'select':
56
+ return _value && $.trim(_value).length > 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  case 'input':
 
 
 
 
 
 
 
 
 
58
  //Fixing YT cred-196
59
  if (jQuery(element).hasClass("wpt-form-radio")) {
60
+ var val = jQuery('input[name="' + _name + '"]:checked').val();
61
+ if (wptValidationDebug)
62
+ console.log("radio " + (_value && $.trim(_value).length > 0));
63
+ return _value && $.trim(_value).length > 0;
64
  }
65
 
66
  //Fixing YT cred-104
72
  jQuery(element[0]).attr('data-wpt-type') == 'image'
73
  )) {
74
  var val = jQuery(element[0]).val();
75
+ if (wptValidationDebug)
76
+ console.log("hidden " + (val && $.trim(val).length > 0));
77
  return val && $.trim(val).length > 0;
78
  }
79
 
80
  //Fixing YT cred-173
81
  element = jQuery(element).siblings('input[type="checkbox"]');
82
  if (element[0]) {
83
+ if (wptValidationDebug)
84
+ console.log("checkbox " + (element[0].checked));
85
  return element[0].checked;
86
  }
87
 
88
  if (jQuery(element).hasClass("hasDatepicker")) {
89
+ if (wptValidationDebug)
90
+ console.log("hasDatepicker");
91
  return false;
92
  }
93
 
94
+ if (this.checkable(element)) {
95
+ if (wptValidationDebug)
96
+ console.log("checkable " + (this.getLength(value, element) > 0));
97
  return this.getLength(value, element) > 0;
98
+ }
99
+
100
+ if (wptValidationDebug)
101
+ console.log(_name + " default: " + value + " val: " + _value + " " + ($.trim(_value).length > 0));
102
+
103
+ return $.trim(_value).length > 0;
104
  default:
105
  return $.trim(value).length > 0;
106
  }
116
  },
117
  "Please enter a valid date"
118
  );
119
+
120
+ if (wptValidationDebug) {
121
+ console.log("INIT");
122
+ console.log(wptValidationForms);
123
+ }
124
+
125
  _.each(wptValidationForms, function (formID) {
126
  _initValidation(formID);
127
  applyRules(formID);
129
  }
130
 
131
  function _initValidation(formID) {
132
+ if (wptValidationDebug) {
133
+ console.log("_initValidation " + formID);
134
+ }
135
  var $form = $(formID);
136
  $form.validate({
137
  // :hidden is kept because it's default value.
178
  // On some pages the form may not be ready yet at this point (e.g. Edit Term page).
179
  jQuery(document).ready(function () {
180
  //var formclone = $form.clone();
181
+ if (wptValidationDebug)
182
+ console.log($form.selector);
183
 
184
  jQuery(document).off('submit', $form.selector, null);
185
  jQuery(document).on('submit', $form.selector, function () {
186
+ if (wptValidationDebug)
187
+ console.log("submit " + $form.selector);
188
 
189
  var myformid = formID.replace('#', '');
190
  myformid = myformid.replace('-', '_');
212
  $error_selector.hide();
213
  }
214
 
215
+ if (wptValidationDebug)
216
+ console.log("validation...");
217
+
218
  if ($form.valid()) {
219
+ if (wptValidationDebug)
220
+ console.log("form validated " + $form);
221
 
222
  $('.js-wpt-remove-on-submit', $(this)).remove();
223
 
264
  if (data.result != 'redirect')
265
  alert(cred_settings.operation_ko);
266
  }
267
+ try_to_reload_reCAPTCHA(formID);
268
  }
269
  }
270
  });
271
  }
272
+ } else {
273
+ if (wptValidationDebug)
274
+ console.log("form not valid!");
275
  }
276
  if (cred_settings.use_ajax && cred_settings.use_ajax == 1)
277
  return false;
library/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/jquery.validate.js CHANGED
@@ -385,7 +385,8 @@
385
  if (typeof message != 'undefined') {
386
 
387
  $('.wpt-form-error').each(function () {
388
- if ($(this).css('display') == 'block' && $(this).attr('id') !== 'wpt-form-message' && $(this).attr('id') !== 'lbl_generic') {
 
389
  if (typeof $('#' + $(this).attr('for')).data('wpt-field-title') != 'undefined') {
390
  error_list += '<li>' + $('#' + $(this).attr('for')).data('wpt-field-title') + ': ' + $(this).html() + '</li>';
391
  } else {
@@ -393,23 +394,22 @@
393
  }
394
  total_errors += 1;
395
  }
396
- });
397
- if (total_errors > 0) {
398
- message = $('.wpt-form-error').data('message-single');
399
- if (total_errors > 1) {
400
- message = $('.wpt-form-error').data('message-plural');
 
 
 
 
 
 
 
 
 
401
  }
402
- message += "<br />%PROBLEMS_UL_LIST";
403
-
404
- message = message.replace('%NN', total_errors).replace('%PROBLEMS_UL_LIST', '<ul>' + error_list + '</ul>');
405
- $('#wpt-form-message').html(message);
406
- if (_form_submitted)
407
- $('#wpt-form-message').show();
408
- } else {
409
- $('#wpt-form-message').html('');
410
- if (_form_submitted)
411
- $('#wpt-form-message').hide();
412
- }
413
  }
414
  total_errors = 0;
415
  error_list = '';
385
  if (typeof message != 'undefined') {
386
 
387
  $('.wpt-form-error').each(function () {
388
+ formId = $(this).closest("form").find('input[name=_cred_cred_prefix_form_id]').val();
389
+ if ($(this).css('display') == 'block' && $(this).attr('id') !== 'wpt-form-message-' + formId && $(this).attr('id') !== 'lbl_generic') {
390
  if (typeof $('#' + $(this).attr('for')).data('wpt-field-title') != 'undefined') {
391
  error_list += '<li>' + $('#' + $(this).attr('for')).data('wpt-field-title') + ': ' + $(this).html() + '</li>';
392
  } else {
394
  }
395
  total_errors += 1;
396
  }
397
+ if (total_errors > 0) {
398
+ message = $(this).closest("form").find('.wpt-form-error').data('message-single');
399
+ if (total_errors > 1) {
400
+ message = $(this).closest("form").find('.wpt-form-error').data('message-plural');
401
+ }
402
+ message += "<br />%PROBLEMS_UL_LIST";
403
+ message = message.replace('%NN', total_errors).replace('%PROBLEMS_UL_LIST', '<ul>' + error_list + '</ul>');
404
+ $('#wpt-form-message-' + formId).html(message);
405
+ if (_form_submitted)
406
+ $('#wpt-form-message-' + formId).show();
407
+ } else {
408
+ $('#wpt-form-message-' + formId).html('');
409
+ if (_form_submitted)
410
+ $('#wpt-form-message-' + formId).hide();
411
  }
412
+ });
 
 
 
 
 
 
 
 
 
 
413
  }
414
  total_errors = 0;
415
  error_list = '';
library/toolset/toolset-common/toolset-forms/templates/metaform-item.php CHANGED
@@ -28,7 +28,7 @@ if (is_admin()) {
28
  if (array_key_exists('use_bootstrap', $cfg) && $cfg['use_bootstrap']) {
29
  $button_extra_classnames = ' btn btn-default btn-sm';
30
  }
31
- $str = sprintf('%s repetition', $cfg['title']);
32
  echo '<input type="button" href="#" class="js-wpt-repdelete wpt-repdelete' . $button_extra_classnames . '" value="';
33
  echo apply_filters('toolset_button_delete_repetition_text', esc_attr(__('Delete', 'wpv-views')) . " " . esc_attr($str), $cfg);
34
  echo '" />';
28
  if (array_key_exists('use_bootstrap', $cfg) && $cfg['use_bootstrap']) {
29
  $button_extra_classnames = ' btn btn-default btn-sm';
30
  }
31
+ $str = sprintf(__('%s repetition', 'wpv-views'), $cfg['title']);
32
  echo '<input type="button" href="#" class="js-wpt-repdelete wpt-repdelete' . $button_extra_classnames . '" value="';
33
  echo apply_filters('toolset_button_delete_repetition_text', esc_attr(__('Delete', 'wpv-views')) . " " . esc_attr($str), $cfg);
34
  echo '" />';
library/toolset/toolset-common/user-editors/beta.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! apply_filters( 'toolset_is_views_available', false ) ) {
4
+ return;
5
+ }
6
+
7
+
8
+ // Medium - Content Template
9
+ if( ! class_exists( 'Toolset_User_Editors_Medium_Content_Template', false ) ) {
10
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/content-template.php' );
11
+ }
12
+ if( ! class_exists( 'Toolset_User_Editors_Medium_Screen_Content_Template_Frontend_Editor', false ) ) {
13
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/screen/content-template/frontend-editor.php' );
14
+ }
15
+ if( ! class_exists( 'Toolset_User_Editors_Medium_Screen_Content_Template_Frontend', false ) ) {
16
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/screen/content-template/frontend.php' );
17
+ }
18
+ if( ! class_exists( 'Toolset_User_Editors_Medium_Screen_Content_Template_Backend', false ) ) {
19
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/screen/content-template/backend.php' );
20
+ }
21
+
22
+ // Editor Manager
23
+ if( ! class_exists( 'Toolset_User_Editors_Manager', false ) ) {
24
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/manager.php' );
25
+ }
26
+
27
+ // Editor - Visual Composer
28
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Visual_Composer', false ) ) {
29
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/visual-composer.php' );
30
+ }
31
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Visual_Composer_Backend', false ) ) {
32
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/visual-composer/backend.php' );
33
+ }
34
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Visual_Composer_Frontend', false ) ) {
35
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/visual-composer/frontend.php' );
36
+ }
37
+
38
+ // Editor - Beaver
39
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Beaver', false ) ) {
40
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/beaver.php' );
41
+ }
42
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Beaver_Backend', false ) ) {
43
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/beaver/backend.php' );
44
+ }
45
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Beaver_Frontend', false ) ) {
46
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/beaver/frontend.php' );
47
+ }
48
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Beaver_Frontend_Editor', false ) ) {
49
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/beaver/frontend-editor.php' );
50
+ }
51
+
52
+ // Editor - Basic
53
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Basic', false ) ) {
54
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/basic.php' );
55
+ }
56
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Basic_Backend', false ) ) {
57
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/basic/backend.php' );
58
+ }
59
+
60
+
61
+ $medium = new Toolset_User_Editors_Medium_Content_Template();
62
+ $medium->addScreen( 'backend', new Toolset_User_Editors_Medium_Screen_Content_Template_Backend() );
63
+ $medium->addScreen( 'frontend', new Toolset_User_Editors_Medium_Screen_Content_Template_Frontend() );
64
+ $medium->addScreen( 'frontend-editor', new Toolset_User_Editors_Medium_Screen_Content_Template_Frontend_Editor() );
65
+
66
+ $editor_setup = new Toolset_User_Editors_Manager( $medium );
67
+
68
+ $editor_vc = new Toolset_User_Editors_Editor_Visual_Composer( $medium );
69
+ if( $editor_setup->addEditor( $editor_vc ) ) {
70
+ $editor_vc->addScreen( 'backend', new Toolset_User_Editors_Editor_Screen_Visual_Composer_Backend() );
71
+ $editor_vc->addScreen( 'frontend', new Toolset_User_Editors_Editor_Screen_Visual_Composer_Frontend() );
72
+ }
73
+
74
+ $editor_beaver = new Toolset_User_Editors_Editor_Beaver( $medium );
75
+ if( $editor_setup->addEditor( $editor_beaver ) ) {
76
+ $editor_beaver->addScreen( 'backend', new Toolset_User_Editors_Editor_Screen_Beaver_Backend() );
77
+ $editor_beaver->addScreen( 'frontend', new Toolset_User_Editors_Editor_Screen_Beaver_Frontend() );
78
+ $editor_beaver->addScreen( 'frontend-editor', new Toolset_User_Editors_Editor_Screen_Beaver_Frontend_Editor() );
79
+ }
80
+
81
+ $editor_basic = new Toolset_User_Editors_Editor_Basic( $medium );
82
+ if( $editor_setup->addEditor( $editor_basic ) ) {
83
+ $editor_basic->addScreen( 'backend', new Toolset_User_Editors_Editor_Screen_Basic_Backend() );
84
+ }
85
+
86
+
87
+ $editor_setup->run();
library/toolset/toolset-common/user-editors/editor/abstract.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! interface_exists( 'Toolset_User_Editors_Editor_Interface', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/interface.php' );
5
+
6
+ abstract class Toolset_User_Editors_Editor_Abstract
7
+ implements Toolset_User_Editors_Editor_Interface {
8
+
9
+ protected $id;
10
+ protected $name;
11
+ protected $option_name = '_toolset_user_editors_editor_default';
12
+
13
+ /**
14
+ * All possible screens.
15
+ * @var Toolset_User_Editors_Editor_Screen_Interface[]
16
+ */
17
+ protected $screens;
18
+
19
+ /**
20
+ * @var Toolset_User_Editors_Medium_Interface
21
+ */
22
+ protected $medium;
23
+
24
+ public function __construct( Toolset_User_Editors_Medium_Interface $medium ) {
25
+ $this->medium = $medium;
26
+ }
27
+
28
+ public function getId() {
29
+ return $this->id;
30
+ }
31
+
32
+ public function getName() {
33
+ return $this->name;
34
+ }
35
+
36
+ public function getOptionName() {
37
+ return $this->option_name;
38
+ }
39
+
40
+ public function requiredPluginActive() {
41
+ return false;
42
+ }
43
+
44
+ public function addScreen( $id, Toolset_User_Editors_Editor_Screen_Interface $screen ) {
45
+ $screen->addEditor( $this );
46
+ $screen->addMedium( $this->medium );
47
+ $this->screens[$id] = $screen;
48
+ }
49
+
50
+ /**
51
+ * @param $id
52
+ *
53
+ * @return false|Toolset_User_Editors_Editor_Screen_Interface
54
+ */
55
+ public function getScreenById( $id ) {
56
+ if( $this->screens === null )
57
+ return false;
58
+
59
+ if( array_key_exists( $id, $this->screens ) )
60
+ return $this->screens[$id];
61
+
62
+ return false;
63
+ }
64
+ }
65
+
library/toolset/toolset-common/user-editors/editor/basic.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Abstract', false ) )
5
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/abstract.php' );
6
+
7
+ class Toolset_User_Editors_Editor_Basic
8
+ extends Toolset_User_Editors_Editor_Abstract {
9
+
10
+ protected $id = 'basic';
11
+ protected $name = 'HTML';
12
+
13
+ public function requiredPluginActive() {
14
+ return true;
15
+ }
16
+
17
+ public function run() {
18
+
19
+ }
20
+ }
library/toolset/toolset-common/user-editors/editor/beaver.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Abstract', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/abstract.php' );
5
+
6
+ class Toolset_User_Editors_Editor_Beaver
7
+ extends Toolset_User_Editors_Editor_Abstract {
8
+
9
+ protected $id = 'beaver';
10
+ protected $name = 'Page Builder';
11
+ protected $option_name = '_toolset_user_editors_beaver_template';
12
+
13
+ public function requiredPluginActive() {
14
+
15
+ if ( ! apply_filters( 'toolset_is_views_available', false ) ) {
16
+ return false;
17
+ }
18
+
19
+ if( defined( 'FL_BUILDER_VERSION' ) ) {
20
+ $this->name = FLBuilderModel::get_branding();
21
+ return true;
22
+ }
23
+
24
+ return false;
25
+ }
26
+
27
+ public function run() {
28
+ // register medium slug
29
+ add_filter( 'fl_builder_post_types', array( $this, '_filterSupportMedium' ) );
30
+ }
31
+
32
+ /**
33
+ * We need to register the slug of our Medium in Beaver
34
+ *
35
+ * @wp-filter fl_builder_post_types
36
+ * @param $allowed_types
37
+ * @return array
38
+ */
39
+ public function _filterSupportMedium( $allowed_types ) {
40
+ if( ! is_array( $allowed_types ) )
41
+ return array( $this->medium->getSlug() );
42
+
43
+ $allowed_types[] = $this->medium->getSlug();
44
+ return $allowed_types;
45
+ }
46
+
47
+ }
library/toolset/toolset-common/user-editors/editor/interface.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! interface_exists( 'Toolset_User_Editors_Editor_Screen_Interface', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/interface.php' );
5
+
6
+ interface Toolset_User_Editors_Editor_Interface {
7
+ public function requiredPluginActive();
8
+ public function addScreen( $id, Toolset_User_Editors_Editor_Screen_Interface $screen );
9
+ public function run();
10
+
11
+ /**
12
+ * @return false|Toolset_User_Editors_Editor_Screen_Interface
13
+ */
14
+ public function getScreenById( $id );
15
+
16
+ public function getId();
17
+ public function getName();
18
+ public function getOptionName();
19
+ }
20
+
library/toolset/toolset-common/user-editors/editor/screen/abstract.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ if( ! interface_exists( 'Toolset_User_Editors_Editor_Screen_Interface', false ) )
5
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/interface.php' );
6
+
7
+ abstract class Toolset_User_Editors_Editor_Screen_Abstract
8
+ implements Toolset_User_Editors_Editor_Screen_Interface {
9
+
10
+ /**
11
+ * @var Toolset_User_Editors_Medium_Interface
12
+ */
13
+ protected $medium;
14
+
15
+ /**
16
+ * @var Toolset_User_Editors_Editor_Interface
17
+ */
18
+ protected $editor;
19
+
20
+
21
+ public function addMedium( Toolset_User_Editors_Medium_Interface $medium ) {
22
+ $this->medium = $medium;
23
+ }
24
+
25
+ public function addEditor( Toolset_User_Editors_Editor_Interface $editor ) {
26
+ $this->editor = $editor;
27
+ }
28
+
29
+ public function isActive() {
30
+ return false;
31
+ }
32
+ }
library/toolset/toolset-common/user-editors/editor/screen/basic/backend.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Abstract', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/abstract.php' );
5
+
6
+ class Toolset_User_Editors_Editor_Screen_Basic_Backend
7
+ extends Toolset_User_Editors_Editor_Screen_Abstract {
8
+
9
+ public function isActive() {
10
+ $this->action();
11
+ return true;
12
+ }
13
+
14
+ private function action() {
15
+ $this->medium->setHtmlEditorBackend( array( $this, 'htmlOutput' ) );
16
+ }
17
+
18
+ public function htmlOutput() {
19
+
20
+ if( ! isset( $_GET['ct_id'] ) )
21
+ return 'No valid content template id';
22
+
23
+ ob_start();
24
+ include_once( dirname( __FILE__ ) . '/backend.phtml' );
25
+ $content = ob_get_contents();
26
+ ob_end_clean();
27
+
28
+ return $content;
29
+ }
30
+ }
library/toolset/toolset-common/user-editors/editor/screen/basic/backend.phtml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="js-code-editor code-editor content-editor" data-name="complete-output-editor">
2
+ <div class="code-editor-toolbar js-code-editor-toolbar">
3
+ <ul>
4
+ <?php
5
+ $menus_to_add = array(
6
+ 'post', // wpv-post shortcodes plus non-Types fields under their own section
7
+ 'post-extended', // generic shortcodes extended in the Basic section
8
+ 'post-fields-placeholder', // non-Types fields on demand
9
+ 'user', // basic user data
10
+ 'body-view-templates', // Content Templates
11
+ 'post-view', // Views listing posts
12
+ 'taxonomy-view', // all available Views listing terms
13
+ 'user-view' // all available Views listing users
14
+ );
15
+ do_action( 'wpv_views_fields_button', 'wpv_content', $menus_to_add );
16
+
17
+ // Needed so CRED displays a button instead of a fake anchor tag
18
+ if( wpv_ct_editor_is_cred_button_supported() ) {
19
+ define("CT_INLINE", "1");
20
+ do_action('wpv_cred_forms_button', 'wpv_content');
21
+ }
22
+
23
+ wpv_ct_editor_content_add_media_button( $this->medium->getId(), 'wpv_content' );
24
+ ?>
25
+ </ul>
26
+ </div>
27
+ <!--suppress HtmlFormInputWithoutLabel -->
28
+ <textarea cols="30" rows="10" id="wpv_content" name="wpv_content"
29
+ data-bind="textInput: postContentAccepted"></textarea>
30
+
31
+ <!--
32
+ CSS editor
33
+ -->
34
+ <div class="wpv-editor-metadata-toggle" data-bind="click: toggleCssEditor">
35
+ <span class="wpv-toggle-toggler-icon">
36
+ <i data-bind="attr: { class: isCssEditorExpanded() ? 'icon-caret-up fa fa-caret-up icon-large fa-lg' : 'icon-caret-down fa fa-caret-down icon-large fa-lg' }"></i>
37
+ </span>
38
+ <i class="icon-pushpin fa fa-thumb-tack" data-bind="widthToggleVisible: isCssPinVisible"></i>
39
+ <strong><?php _e( 'CSS editor', 'wpv-views' ); ?></strong>
40
+ </div>
41
+ <div class="wpv-ct-assets-inline-editor"
42
+ data-bind="editorVisible: isCssEditorExpanded"
43
+ data-target-editor="css">
44
+ <!--suppress HtmlFormInputWithoutLabel -->
45
+ <textarea name="name" id="wpv_template_extra_css"
46
+ data-bind="textInput: templateCssAccepted"></textarea>
47
+ </div>
48
+
49
+ <!--
50
+ JS editor
51
+ -->
52
+ <div class="wpv-editor-metadata-toggle" data-bind="click: toggleJsEditor">
53
+ <span class="wpv-toggle-toggler-icon">
54
+ <i data-bind="attr: { class: isJsEditorExpanded() ? 'icon-caret-up fa fa-caret-up icon-large fa-lg' : 'icon-caret-down fa fa-caret-down icon-large fa-lg' }"></i>
55
+ </span>
56
+ <i class="icon-pushpin fa fa-thumb-tack" data-bind="widthToggleVisible: isJsPinVisible"></i>
57
+ <strong><?php _e( 'JS editor', 'wpv-views' ); ?></strong>
58
+ </div>
59
+ <div class="wpv-ct-assets-inline-editor"
60
+ data-bind="editorVisible: isJsEditorExpanded"
61
+ data-target-editor="js">
62
+ <!--suppress HtmlFormInputWithoutLabel -->
63
+ <textarea name="name" id="wpv_template_extra_js"
64
+ data-bind="textInput: templateJsAccepted"></textarea>
65
+ </div>
66
+
67
+ <?php wpv_formatting_help_content_template(); ?>
68
+ </div>
69
+
70
+ <p class="update-button-wrap">
71
+ <span class="update-action-wrap">
72
+ <span class="js-wpv-message-container"></span>
73
+ <span class="spinner ajax-loader" data-bind="spinnerActive: isContentSectionUpdating"></span>
74
+ </span>
75
+ <button data-bind="
76
+ enable: isContentSectionUpdateNeeded,
77
+ attr: { class: isContentSectionUpdateNeeded() ? 'button-primary' : 'button-secondary' },
78
+ click: contentSectionUpdate">
79
+ <?php _e( 'Update', 'wpv-views' ); ?>
80
+ </button>
81
+ </p>
library/toolset/toolset-common/user-editors/editor/screen/beaver/backend.css ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* todo generalise, so it's not only for content template */
2
+ body.toolset_page_ct-editor .fl-builder-admin-tabs,
3
+ body.toolset_page_ct-editor .fl-builder-admin-ui h3 {
4
+ display:none;
5
+ }
6
+
7
+ body.toolset_page_ct-editor .toolset-user-editors-beaver-backend{
8
+ background: #fff;
9
+ padding: 20px;
10
+ text-align:center;
11
+ }
12
+
13
+ body.toolset_page_ct-editor .toolset-user-editors-beaver-spinner {
14
+ height: 30px;
15
+ display: none;
16
+ }
library/toolset/toolset-common/user-editors/editor/screen/beaver/backend.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ;( function( $ ) {
2
+
3
+ var btnLaunchBuilder
4
+ = $( '.toolset-user-editors-beaver-backend .fl-launch-builder' );
5
+
6
+ var loadingIcon
7
+ = $( '.toolset-user-editors-beaver-backend .toolset-user-editors-beaver-spinner' );
8
+
9
+ $( '#toolset-user-editors-beaver-template-file' ).on( 'change', function() {
10
+ btnLaunchBuilder.hide( 0, function() { loadingIcon.show() } );
11
+ jQuery.ajax( {
12
+ type : 'post',
13
+ dataType : 'json',
14
+ url : ajaxurl,
15
+ data : {
16
+ action: 'toolset_user_editors_beaver',
17
+ post_id: toolset_user_editors_beaver.mediumId,
18
+ template_path: this.value,
19
+ preview_domain: jQuery( '#toolset-user-editors-beaver-template-file option:selected' ).data( 'preview-domain' ),
20
+ preview_slug: jQuery( '#toolset-user-editors-beaver-template-file option:selected' ).data( 'preview-slug' ),
21
+ nonce: toolset_user_editors_beaver.nonce
22
+ },
23
+ complete: function() {
24
+ loadingIcon.hide( 0, function() { btnLaunchBuilder.show() } );
25
+ }
26
+ } );
27
+ });
28
+
29
+ })( jQuery );
library/toolset/toolset-common/user-editors/editor/screen/beaver/backend.php ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Abstract', false ) ) {
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/abstract.php' );
5
+ }
6
+
7
+ class Toolset_User_Editors_Editor_Screen_Beaver_Backend
8
+ extends Toolset_User_Editors_Editor_Screen_Abstract {
9
+
10
+ public function __construct() {
11
+ add_action( 'wp_ajax_toolset_user_editors_beaver', array( $this, 'ajax' ) );
12
+
13
+ // Views and WPAs editor integration
14
+ add_action( 'init', array( $this, 'layoutTemplateRegisterAssets' ), 50 );
15
+ add_action( 'admin_enqueue_scripts', array( $this, 'layoutTemplateEnqueueAssets' ), 50 );
16
+ add_filter( 'wpv_filter_wpv_layout_template_extra_attributes', array( $this, 'layoutTemplateAttribute' ), 10, 3 );
17
+
18
+ // Post edit page integration
19
+ add_action( 'edit_form_after_title', array( $this, 'preventNested' ) );
20
+ }
21
+
22
+ public function isActive() {
23
+ if ( ! $this->setMediumAsPost() ) {
24
+ return false;
25
+ }
26
+
27
+ $this->action();
28
+ return true;
29
+ }
30
+
31
+ private function action() {
32
+ add_action( 'admin_enqueue_scripts', array( $this, '_actionStyleAndScripts' ) );
33
+ add_action( 'admin_print_scripts', array( $this, '_actionPrintScripts' ) );
34
+ $this->medium->setHtmlEditorBackend( array( $this, 'htmlOutput' ) );
35
+ $this->medium->pageReloadAfterBackendSave();
36
+ }
37
+
38
+ public function ajax() {
39
+ if ( ! wp_verify_nonce( $_REQUEST['nonce'], 'toolset_user_editors_beaver' ) ) {
40
+ die();
41
+ }
42
+
43
+ if( isset( $_REQUEST['post_id'] )
44
+ && isset( $_REQUEST['template_path'] )
45
+ && isset( $_REQUEST['preview_domain'] )
46
+ && isset( $_REQUEST['preview_slug'] )
47
+ ) {
48
+ $this->storeTemplateSettings(
49
+ $_REQUEST['post_id'],
50
+ $_REQUEST['template_path'],
51
+ $_REQUEST['preview_domain'],
52
+ $_REQUEST['preview_slug']
53
+ );
54
+ }
55
+
56
+ die( 1 );
57
+ }
58
+
59
+ private function storeTemplateSettings( $post_id, $template_path, $preview_domain, $preview_slug ) {
60
+ $settings = array(
61
+ 'template_path' => $template_path,
62
+ 'preview_domain' => $preview_domain,
63
+ 'preview_slug' => $preview_slug
64
+ );
65
+
66
+ update_post_meta( $post_id, $this->editor->getOptionName(), $settings );
67
+ }
68
+
69
+ public function _actionPrintScripts() {
70
+ echo '<script>';
71
+ echo 'var toolsetUserEditorsBeaverNonce = "' . wp_create_nonce( 'toolset_user_editors_beaver' ) . '";';
72
+ echo 'var toolsetUserEditorsMediumId = ' . $this->medium->getId() . ';';
73
+ echo '</script>';
74
+ }
75
+
76
+ public function _actionStyleAndScripts() {
77
+ // ./backend.css
78
+ wp_enqueue_style(
79
+ 'toolset-user-editors-beaver-style',
80
+ TOOLSET_COMMON_URL . 'user-editors/editor/screen/beaver/backend.css',
81
+ array(),
82
+ TOOLSET_COMMON_VERSION
83
+ );
84
+
85
+ // ./backend.js
86
+ wp_enqueue_script(
87
+ 'toolset-user-editors-beaver-script',
88
+ TOOLSET_COMMON_URL . 'user-editors/editor/screen/beaver/backend.js',
89
+ array( 'jquery' ),
90
+ TOOLSET_COMMON_VERSION,
91
+ true
92
+ );
93
+
94
+ wp_localize_script( 'toolset-user-editors-beaver-script', 'toolset_user_editors_beaver', array(
95
+ 'nonce' => wp_create_nonce( 'toolset_user_editors_beaver' ),
96
+ 'mediumId' => $this->medium->getId()
97
+ ) );
98
+ }
99
+
100
+ protected function getAllowedTemplates() {
101
+ return ;
102
+ }
103
+
104
+ private function setMediumAsPost() {
105
+ $medium_id = $this->medium->getId();
106
+
107
+ if( ! $medium_id ) {
108
+ return false;
109
+ }
110
+
111
+ $medium_post_object = get_post( $medium_id );
112
+ if( $medium_post_object === null ) {
113
+ return false;
114
+ }
115
+
116
+ $this->post = $medium_post_object;
117
+
118
+ // beaver uses the global $post
119
+ global $post;
120
+ $post = $this->post;
121
+
122
+ return true;
123
+ }
124
+
125
+ /**
126
+ * Content Template editor output.
127
+ *
128
+ * Displays the Beavr Builder message and button to fire up the frontend editor.
129
+ *
130
+ * @since 2.2
131
+ */
132
+
133
+ public function htmlOutput() {
134
+
135
+ if( ! isset( $_GET['ct_id'] ) ) {
136
+ return 'No valid content template id';
137
+ }
138
+
139
+ ob_start();
140
+ include_once( dirname( __FILE__ ) . '/backend.phtml' );
141
+ $content = ob_get_contents();
142
+ ob_end_clean();
143
+
144
+ return $content;
145
+ }
146
+
147
+ public function layoutTemplateRegisterAssets() {
148
+ wp_register_script(
149
+ 'toolset-user-editors-beaver-layout-template-script',
150
+ TOOLSET_COMMON_URL . 'user-editors/editor/screen/beaver/backend_layout_template.js',
151
+ array( 'jquery', 'views-layout-template-js', 'underscore' ),
152
+ TOOLSET_COMMON_VERSION,
153
+ true
154
+ );
155
+ $beaver_layout_template_i18n = array(
156
+ 'template_editor_url' => admin_url( 'admin.php?page=ct-editor' ),
157
+ 'template_overlay' => array(
158
+ 'title' => sprintf( __( 'This Content Template uses %1$s', 'wpv-views' ), $this->editor->getName() ),
159
+ 'text' => sprintf( __( 'To modify this Content Template, go to edit it and launch the %1$s.', 'wpv-views' ), $this->editor->getName() ),
160
+ 'button' => __( 'Edit this Content Template', 'wpv-views' )
161
+ ),
162
+ );
163
+ wp_localize_script( 'toolset-user-editors-beaver-layout-template-script', 'toolset_user_editors_beaver_layout_template_i18n', $beaver_layout_template_i18n );
164
+ }
165
+
166
+ public function layoutTemplateEnqueueAssets() {
167
+ $page = wpv_getget( 'page' );
168
+ if (
169
+ 'views-editor' == $page
170
+ || 'view-archives-editor' == $page
171
+ ) {
172
+ wp_enqueue_script( 'toolset-user-editors-beaver-layout-template-script' );
173
+ }
174
+ }
175
+ /**
176
+ * Set the builder used by a Content Template, if any.
177
+ *
178
+ * On a Content Template used inside a View or WPA loop output, we set which builder it is using
179
+ * so we can link to the CT edit page with the right builder instantiated.
180
+ *
181
+ * @since 2.2
182
+ */
183
+
184
+ public function layoutTemplateAttribute( $attributes, $content_template, $view_id ) {
185
+ $content_template_has_beaver = get_post_meta( $content_template->ID, '_fl_builder_enabled', true );
186
+ if ( $content_template_has_beaver ) {
187
+ $attributes['builder'] = $this->editor->getId();
188
+ }
189
+ return $attributes;
190
+ }
191
+
192
+ /**
193
+ * preventNested
194
+ *
195
+ * Display a warning on post edit pages when:
196
+ * - Beaver Builder is active on that post
197
+ * - The post is using a Content Template that also has Beaver Builder active
198
+ *
199
+ * @param $post WP_Post object
200
+ *
201
+ * @since 2.2
202
+ */
203
+
204
+ public function preventNested( $post ) {
205
+
206
+ $beaver_post_types = FLBuilderModel::get_post_types();
207
+
208
+ if ( in_array( $post->post_type, $beaver_post_types ) ) {
209
+ $post_has_ct = get_post_meta( $post->ID, '_views_template', true );
210
+ $ct_has_beaver = false;
211
+ if ( $post_has_ct ) {
212
+ $ct_has_beaver = get_post_meta( $post_has_ct, '_fl_builder_enabled', true );
213
+ }
214
+ $post_has_beaver = get_post_meta( $post->ID, '_fl_builder_enabled', true );
215
+ if (
216
+ $ct_has_beaver
217
+ && $post_has_beaver
218
+ ) {
219
+ $post_type_object = get_post_type_object( $post->post_type );
220
+ $ct_title = get_the_title( $post_has_ct );
221
+ ?>
222
+ <div class="toolset-alert toolset-alert-error">
223
+ <p><strong><?php echo sprintf(
224
+ __( '%1$s %2$s design inside %2$s templates may cause problems', 'wpv-views' ),
225
+ '<i class="fa fa-exclamation-triangle fa-lg" aria-hidden="true"></i>',
226
+ $this->editor->getName(),
227
+ $this->editor->getName()
228
+ ); ?></strong></p>
229
+ <p>
230
+ <?php echo sprintf(
231
+ __( 'You are using %1$s to design this page, but there is already a template <em>%2$s</em> created by %3$s for %4$s. This may work, but could produce visual glitches. Please consider using %5$s only for the template OR for this page.', 'wpv-views' ),
232
+ $this->editor->getName(),
233
+ $ct_title,
234
+ $this->editor->getName(),
235
+ '<em>' . $post_type_object->labels->name . '</em>',
236
+ $this->editor->getName()
237
+ ); ?>
238
+ </p>
239
+ <p>
240
+ <?php echo sprintf(
241
+ __( '%1$sDesigning templates with %2$s%3$s.', 'wpv-views' ),
242
+ '<a href="#" target="_blank">',
243
+ $this->editor->getName(),
244
+ '</a>'
245
+ ); ?>
246
+ </p>
247
+ </div>
248
+ <?php
249
+ }
250
+ }
251
+
252
+ }
253
+ }
library/toolset/toolset-common/user-editors/editor/screen/beaver/backend.phtml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $medium_allowed_frontend_templates = $this->medium->getFrontendTemplates();
3
+ ?>
4
+
5
+ <div id="anchor-usage-section" class="toolset-user-editors-beaver-backend">
6
+ <h3><?php echo sprintf( __( '%1$s is active.', 'wpv-views' ), $this->editor->getName() ); ?></h3>
7
+
8
+ <?php
9
+ /*
10
+ * NO allowed frontend template
11
+ * happens e.g. for Content Templates when no item under 'Usage' is selected
12
+ */
13
+ if( empty( $medium_allowed_frontend_templates ) ): ?>
14
+
15
+ <p>
16
+ <?php
17
+ echo sprintf(
18
+ __( 'Before you can edit with %1$s, you need to <a href="#anchor-usage-section">choose what type this Content Template will display</a>.', 'wpv-views' ),
19
+ $this->editor->getName()
20
+ );
21
+ ?>
22
+ </p>
23
+
24
+ <?php
25
+ /*
26
+ * ONE allowed frontend template
27
+ * in this case we don't create a selection
28
+ * and place the single template in a hidden input
29
+ */
30
+ elseif( count( $medium_allowed_frontend_templates ) == 1 ):
31
+ $template = array_pop( $medium_allowed_frontend_templates ); ?>
32
+
33
+ <input id="toolset-beaver-builder-single-template"
34
+ type="hidden" value="<?php echo $template['path']; ?>"
35
+ data-preview-domain="<?php echo $template['domain']; ?>"
36
+ data-preview-slug="<?php echo $template['slug']; ?>" />
37
+
38
+ <div class="toolset-user-editors-beaver-spinner">
39
+ <img src="<?php echo site_url(); ?>/wp-admin/images/spinner.gif" />
40
+ </div>
41
+
42
+ <?php // Button "Start Beaver Frontend Editor"
43
+ FLBuilderAdminPosts::render(); ?>
44
+
45
+ <?php
46
+ /*
47
+ * MULTIPLE allowed frontend templates
48
+ * user gets an select of all available templates
49
+ */
50
+ else:
51
+ $stored_template_path = get_post_meta( $this->medium->getId(), $this->editor->getOptionName(), true ); ?>
52
+
53
+ <p>
54
+ <?php
55
+ _e( 'This Content Template is used for several types. '
56
+ . 'Choose which type you want to see in the editor:', 'wpv-views' );
57
+ ?>
58
+ </p>
59
+
60
+
61
+ <p>
62
+ <select id="toolset-user-editors-beaver-template-file">
63
+ <?php foreach( $medium_allowed_frontend_templates as $template ):
64
+ $selected = ( $template['path'] == $stored_template_path['template_path'] )
65
+ ? ' selected="selected"'
66
+ : ''; ?>
67
+
68
+ <option value="<?php echo $template['path'] ?>"<?php echo $selected; ?>
69
+ data-preview-domain="<?php echo $template['domain']; ?>"
70
+ data-preview-slug="<?php echo $template['slug']; ?>">
71
+ <?php echo $template['form-option-label']; ?>
72
+ </option>
73
+ <?php endforeach; ?>
74
+ </select>
75
+ </p>
76
+
77
+ <div class="toolset-user-editors-beaver-spinner">
78
+ <img src="<?php echo site_url(); ?>/wp-admin/images/spinner.gif" />
79
+ </div>
80
+
81
+ <?php // Button "Start Beaver Frontend Editor"
82
+ FLBuilderAdminPosts::render();
83
+
84
+ endif; ?>
85
+
86
+ </div>
library/toolset/toolset-common/user-editors/editor/screen/beaver/backend_layout_template.js ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var WPViews = WPViews || {};
2
+
3
+ WPViews.ViewEditScreenUserEditorBeaver = function( $ ) {
4
+
5
+ var self = this;
6
+
7
+ self.selector = '.js-wpv-ct-listing';
8
+ self.overlay = "<div class='wpv-setting-overlay js-wpv-layout-template-overlay' style='top:36px'>";
9
+ self.overlay += "<div class='wpv-transparency' style='opacity:0.9'></div>";
10
+ //self.overlay += "<i class='icon-lock fa fa-lock'></i>";
11
+ self.overlay += "<div class='wpv-layout-template-overlay-info toolset-alert toolset-alert-info' style='position:absolute;top:5px;left:5px;right:5px;bottom:5px;margin:0;'>";
12
+ self.overlay += "<p><strong>" + toolset_user_editors_beaver_layout_template_i18n.template_overlay.title + "</strong></p>";
13
+ self.overlay += "<p>" + toolset_user_editors_beaver_layout_template_i18n.template_overlay.text + "</p>";
14
+ self.overlay += "<p><a href='" + toolset_user_editors_beaver_layout_template_i18n.template_editor_url + "' target='_blank' class='button button-secondary js-wpv-layout-template-overlay-info-link'>" + toolset_user_editors_beaver_layout_template_i18n.template_overlay.button + " <i class='fa fa-chevron-right' aria-hidden='true'></i></a></p>";
15
+ self.overlay += "</div>";
16
+ self.overlay += "</div>";
17
+ self.overlay_container = $( self.overlay );
18
+
19
+ self.init_beaver_editors = function() {
20
+ $( self.selector ).each( function() {
21
+ self.init_beaver_editor( $( this ) );
22
+ });
23
+ return self;
24
+ };
25
+
26
+ self.init_beaver_editor = function( item ) {
27
+ if (
28
+ item.hasClass( 'js-wpv-ct-listing-user-editor-beaver-inited' )
29
+ || item.find( '.CodeMirror' ).length == 0
30
+ ) {
31
+ // This has been inited before, it it is rendered closed
32
+ return self;
33
+ }
34
+ var attributes = item.data( 'attributes' );
35
+ _.defaults( attributes, { builder: 'basic' } );
36
+ item.addClass( 'js-wpv-ct-listing-user-editor-beaver-inited' );
37
+ if ( attributes.builder == 'beaver' ) {
38
+ item.prepend( self.overlay_container );
39
+ item.find( '.CodeMirror' ).css( { 'height' : '0px'} );
40
+ self.update_beaver_ct_editor_link_target( item );
41
+ } else if ( attributes.builder == 'basic' ) {
42
+ var template_id = item.data( 'id' ),
43
+ ct_editor_basic_panel_args = {
44
+ editor: 'wpv_ct_inline_editor_' + template_id,
45
+ content: '',
46
+ keep: 'permanent',
47
+ type: 'info'
48
+ };
49
+ //Toolset.hooks.doAction( 'wpv-action-wpv-add-codemirror-panel', ct_editor_basic_panel_args );
50
+ // @todo I would add a Codemirror panel here to let users know how to add BB to this CT
51
+ }
52
+ };
53
+
54
+ self.reload_beaver_editors_link_target = function() {
55
+ $( self.selector ).each( function() {
56
+ self.update_beaver_ct_editor_link_target( $( this ) );
57
+ });
58
+ return self;
59
+ };
60
+
61
+ self.update_beaver_ct_editor_link_target = function( item ) {
62
+ ct_editor_link = item.find( '.js-wpv-layout-template-overlay-info-link' ),
63
+ ct_editor_link_target = toolset_user_editors_beaver_layout_template_i18n.template_editor_url + '&ct_id=' + item.data( 'id' );
64
+ var query_mode = Toolset.hooks.applyFilters( 'wpv-filter-wpv-edit-screen-get-query-mode', 'normal' );
65
+ switch ( query_mode ) {
66
+ case 'normal':
67
+ var query_type = $( '.js-wpv-query-type:checked' ).val();
68
+ switch ( query_type ) {
69
+ case 'posts':
70
+ $('.js-wpv-query-post-type:checked').map( function() {
71
+ ct_editor_link_target += '&preview_post_type[]=' + $( this ).val();
72
+ });
73
+ break;
74
+ case 'taxonomy':
75
+ $('.js-wpv-query-taxonomy-type:checked').map( function() {
76
+ ct_editor_link_target += '&preview_taxonomy[]=' + $( this ).val();
77
+ });
78
+ break;
79
+ case 'users':
80
+ $('.js-wpv-query-users-type:checked').map( function() {
81
+ ct_editor_link_target += '&preview_user[]=' + $( this ).val();
82
+ });
83
+ break;
84
+ }
85
+ break;
86
+ case 'archive':
87
+ $( '.js-wpv-settings-archive-loop input:checked' ).map( function() {
88
+ switch ( $( this ).data( 'type' ) ) {
89
+ case 'native':
90
+
91
+ break;
92
+ case 'post_type' :
93
+ ct_editor_link_target += '&preview_post_type_archive[]=' + $( this ).data( 'name' );
94
+ break;
95
+ case 'taxonomy':
96
+ ct_editor_link_target += '&preview_taxonomy_archive[]=' + $( this ).data( 'name' );
97
+ break;
98
+ }
99
+ });
100
+ break;
101
+ }
102
+ ct_editor_link.attr( 'href', ct_editor_link_target );
103
+ return self;
104
+ };
105
+
106
+ $( document ).on( 'js_event_wpv_query_type_options_saved', '.js-wpv-query-type-update', function( event, query_type ) {
107
+ self.reload_beaver_editors_link_target();
108
+ });
109
+
110
+ self.set_inline_content_template_events = function( template_id ) {
111
+ self.init_beaver_editor( $( '.js-wpv-ct-listing-' + template_id ) );
112
+ };
113
+
114
+ $( document ).on( 'js_event_wpv_ct_inline_editor_inited', function( event, template_id ) {
115
+ self.init_beaver_editor( $( '.js-wpv-ct-listing-' + template_id ) );
116
+ });
117
+
118
+ self.init_hooks = function() {
119
+ Toolset.hooks.addAction( 'wpv-action-wpv-set-inline-content-template-events', self.set_inline_content_template_events );
120
+ return self;
121
+ };
122
+
123
+ self.init = function() {
124
+ self.init_beaver_editors()
125
+ .init_hooks();
126
+
127
+ };
128
+
129
+ self.init();
130
+
131
+ };
132
+
133
+ jQuery( document ).ready( function( $ ) {
134
+ WPViews.view_edit_screen_user_editor_beaver = new WPViews.ViewEditScreenUserEditorBeaver( $ );
135
+ });
library/toolset/toolset-common/user-editors/editor/screen/beaver/frontend-editor-template-fallback.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ get_header();
4
+
5
+ if( have_posts() ) {
6
+ while( have_posts() ) {
7
+ the_post();
8
+
9
+ the_content();
10
+ }
11
+ } else {
12
+ the_content();
13
+ }
14
+
15
+ get_footer();
library/toolset/toolset-common/user-editors/editor/screen/beaver/frontend-editor.php ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Abstract', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/abstract.php' );
5
+
6
+ class Toolset_User_Editors_Editor_Screen_Beaver_Frontend_Editor
7
+ extends Toolset_User_Editors_Editor_Screen_Abstract {
8
+
9
+ /**
10
+ * Let's activate "Views and Fields" button for any frontend-editor
11
+ * Not only for our defined 'mediums' like Content Template
12
+ */
13
+ public function __construct() {
14
+ if( ! array_key_exists( 'fl_builder', $_REQUEST ) )
15
+ return;
16
+
17
+ /* disable Toolset Starters "No Content Template assigned" message */
18
+ add_filter( 'toolset_starter_show_msg_no_content_template', '__return_false' );
19
+
20
+ /* "Views and Fields" Button */
21
+ if( ! class_exists( 'Toolset_User_Editors_Resource_Views_Dialog', false ) ) {
22
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/resource/views/dialog/dialog.php' );
23
+ }
24
+
25
+ $resource = Toolset_User_Editors_Resource_Views_Dialog::getInstance();
26
+ $resource->load();
27
+
28
+ /* Types Fields in "Views and Fields" Button */
29
+ if( ! class_exists( 'Toolset_User_Editors_Resource_Views_Dialog_Types_Fields', false ) ) {
30
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/resource/views/dialog/types-fields.php' );
31
+ }
32
+
33
+ $resource = Toolset_User_Editors_Resource_Views_Dialog_Types_Fields::getInstance();
34
+ $resource->load();
35
+
36
+ /* "Views and Fields" dialog for any input */
37
+ if( ! class_exists( 'Toolset_User_Editors_Resource_Views_Dialog_For_Any_Input', false ) ) {
38
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/resource/views/dialog/for-any-input.php' );
39
+ }
40
+
41
+ add_filter( 'toolset_user_editors_for_any_input_selectors', array( $this, '_filterAddBeaverInputsToDialogForAnyInput' ) );
42
+ $resource = Toolset_User_Editors_Resource_Views_Dialog_For_Any_Input::getInstance();
43
+ $resource->load();
44
+ }
45
+
46
+ public function isActive() {
47
+ if ( ! array_key_exists( 'fl_builder', $_REQUEST ) ) {
48
+ return false;
49
+ }
50
+
51
+ $this->action();
52
+ return true;
53
+ }
54
+
55
+ private function action() {
56
+ // todo move to content-template frontend-editor
57
+ // we need to change the frontend editor template
58
+ add_filter( 'template_include', array( $this, '_filterFrontendEditorTemplateFile' ) );
59
+ }
60
+
61
+ public function _filterAddBeaverInputsToDialogForAnyInput( $inputs ) {
62
+ $beaver_inputs = array(
63
+ 'stringSelector' => '.fl-lightbox-content input:text',
64
+ 'stringParentSelector' => 'td'
65
+ );
66
+
67
+ if( ! is_array( $inputs ) || empty( $inputs ) ) {
68
+ $inputs = array( $beaver_inputs );
69
+ } else {
70
+ $inputs[] = $beaver_inputs;
71
+ }
72
+
73
+ return $inputs;
74
+ }
75
+
76
+ public function _filterFrontendEditorTemplateFile( $template_file ) {
77
+ global $post;
78
+
79
+ if( $post->post_type != $this->medium->getSlug() ) {
80
+ return $template_file;
81
+ }
82
+
83
+ $template_selected_usage = $this->getFrontendEditorTemplateFile( $post->ID );
84
+
85
+ // todo in Types we have a Filesystem helper class /library/filesystem
86
+ // we should consider moving it to common for such tasks like this
87
+ $file_handle = fopen( $template_selected_usage, 'r' );
88
+ $function_the_content_exists = $function_the_excerpt_exists = false;
89
+ while( ( $line = fgets( $file_handle ) ) !== false) {
90
+
91
+ if( strpos( $line , 'the_content' ) !== false ) {
92
+ $function_the_content_exists = true;
93
+ break;
94
+ } elseif( strpos( $line , 'the_excerpt' ) !== false ) {
95
+ $function_the_excerpt_exists = true;
96
+ }
97
+ }
98
+
99
+ // (get_)the_content() exists in template file
100
+ if( $function_the_content_exists ) {
101
+ return $template_selected_usage;
102
+ }
103
+
104
+ // (get_)the_excerpt() exists
105
+ if( $function_the_excerpt_exists ) {
106
+ add_filter( 'get_the_excerpt', array( $this, '_filterContentInsteadOfExcerpt' ) );
107
+ return $template_selected_usage;
108
+ }
109
+
110
+ // no (get_)the_content and no (get_)the_excerpt
111
+ return dirname( __FILE__ ) . '/frontend-editor-template-fallback.php';
112
+ }
113
+
114
+ public function _filterContentInsteadOfExcerpt( $excerpt ) {
115
+ ob_start();
116
+ the_content();
117
+ $content = ob_get_contents();
118
+ ob_end_clean();
119
+ return $content;
120
+ }
121
+
122
+ private function getFrontendEditorTemplateFile( $ct_id ) {
123
+ $stored_template = get_post_meta( $ct_id, $this->editor->getOptionName(), true );
124
+ $stored_template = array_key_exists( 'template_path', $stored_template )
125
+ ? $stored_template['template_path']
126
+ : false;
127
+
128
+ if( $stored_template ) {
129
+ return $stored_template;
130
+ }
131
+
132
+ // shouldn't happen
133
+ return dirname( __FILE__ ) . '/frontend-editor-template-fallback.php';
134
+ }
135
+ }
library/toolset/toolset-common/user-editors/editor/screen/beaver/frontend.php ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Abstract', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/abstract.php' );
5
+
6
+ class Toolset_User_Editors_Editor_Screen_Beaver_Frontend
7
+ extends Toolset_User_Editors_Editor_Screen_Abstract {
8
+
9
+ private $active_medium_id;
10
+ private $beaver_filter_enabled;
11
+ private $beaver_post_id_stack;
12
+ private $beaver_post_id_assets_rendered;
13
+
14
+ public function __construct() {
15
+
16
+ // Pre-process Views shortcodes in the frontend editor and its AJAX update, as well as in the frontend rendering
17
+ // Make sure the $authordata global is correctly set
18
+ add_filter( 'fl_builder_before_render_shortcodes', array( $this, 'beforeRenderShortcodes' ) );
19
+
20
+ // Do nothing else in an admin, frontend editing and frontend editing AJAX refresh
21
+ if (
22
+ is_admin()
23
+ || isset( $_GET['fl-builder'] )
24
+ || isset( $_POST['fl_builder_data'] )
25
+ ) {
26
+ return;
27
+ }
28
+
29
+ /*
30
+ // Those actions are not needed anymore
31
+ add_action( 'wpv_before_shortcode_post_body', array( $this, '_actionSetPostIdForViewsBodyShortcode' ) );
32
+ add_action( 'wpv_after_shortcode_post_body', array( $this, '_actionSetMediumIdAfterViewsBodyShortcode' ) );
33
+ add_action( 'wp', array( $this, '_actionGlobalizeMediumId' ) );
34
+
35
+ add_filter( 'wpv_filter_content_template_output', array( $this, '_filterArchiveContent' ), 10, 4 );
36
+ */
37
+ add_filter( 'fl_builder_post_types', array( $this, '_filterSupportMedium' ) );
38
+
39
+ add_filter( 'body_class', array( $this, 'bodyClass' ) );
40
+
41
+ add_filter( 'wpv_filter_content_template_output', array( $this, 'filterContentTemplateOutput' ), 10, 4 );
42
+ add_filter( 'the_content', array( $this, 'restoreBeaverFilter' ), 9999 );
43
+
44
+ $this->beaver_filter_enabled = true;
45
+ $this->beaver_post_id_stack = array();
46
+ $this->beaver_post_id_assets_rendered = array();
47
+
48
+ }
49
+
50
+ public function isActive() {
51
+ return true;
52
+ }
53
+
54
+ // @todo we need to set the $authordata global, but we need to use it on do_shortcode
55
+ // which happens after this filter callback, and as we need to restore after rendering
56
+ // we can not do it here
57
+ public function beforeRenderShortcodes( $content ) {
58
+ /*
59
+ global $authordata;
60
+ $authordata_old = $authordata;
61
+ $current_post_id = FLBuilderModel::get_post_id();
62
+ if ( $current_post_id ) {
63
+ $current_post_author = get_post_field( 'post_author', $current_post_id );
64
+ $authordata = new WP_User( $current_post_author );
65
+ }
66
+ */
67
+ $content = WPV_Frontend_Render_Filters::pre_process_shortcodes( $content );
68
+ /*
69
+ $authordata = $authordata_old;
70
+ */
71
+ return $content;
72
+ }
73
+
74
+ public function _filterSupportMedium( $allowed_types ) {
75
+ if( ! is_array( $allowed_types ) ) {
76
+ return array( $this->medium->getSlug() );
77
+ }
78
+ $medium_slug = $this->medium->getSlug();
79
+ if ( ! in_array( $medium_slug, $allowed_types ) ) {
80
+ $allowed_types[] = $medium_slug;
81
+ }
82
+ return $allowed_types;
83
+ }
84
+
85
+ public function bodyClass( $classes ) {
86
+ if ( ! is_archive() ) {
87
+ $current_post = get_post( FLBuilderModel::get_post_id() );
88
+ if ( $current_post ) {
89
+ $post_has_ct = get_post_meta( $current_post->ID, '_views_template', true );
90
+ if ( $post_has_ct ) {
91
+ $ct_has_beaver = get_post_meta( $post_has_ct, '_fl_builder_enabled', true );
92
+ if ( $ct_has_beaver ) {
93
+ $classes[] = 'fl-builder';
94
+ }
95
+ }
96
+ }
97
+ }
98
+ return $classes;
99
+ }
100
+
101
+ public function filterContentTemplateOutput( $content, $template_selected, $id, $kind ) {
102
+
103
+ if (
104
+ $template_selected
105
+ && $template_selected > 0
106
+ ) {
107
+
108
+ // There is a CT applied, either on single/archive pages or on a wpv-post-body shortcode
109
+ // Render the BB content of the CT, if any, and prevent Beaver from overwriting it
110
+
111
+ $editor_choice = get_post_meta( $template_selected, $this->medium->getOptionNameEditorChoice(), true );
112
+
113
+ if (
114
+ $editor_choice
115
+ && $editor_choice == $this->editor->getId()
116
+ ) {
117
+
118
+ FLBuilderModel::update_post_data( 'post_id', $template_selected );
119
+
120
+ $this->beaver_post_id_stack[] = $template_selected;
121
+
122
+ $content = FLBuilder::render_content( $content );
123
+
124
+ if ( ! in_array( $template_selected, $this->beaver_post_id_assets_rendered ) ) {
125
+ FLBuilder::enqueue_layout_styles_scripts();
126
+ $this->beaver_post_id_assets_rendered[] = $template_selected;
127
+ }
128
+
129
+ array_pop( $this->beaver_post_id_stack );
130
+ if ( count( $this->beaver_post_id_stack ) > 0 ) {
131
+ $aux_array = array_slice( $this->beaver_post_id_stack, -1 );
132
+ $bb_post_id = array_pop( $aux_array );
133
+ FLBuilderModel::update_post_data( 'post_id', $bb_post_id );
134
+ } else {
135
+ FLBuilderModel::update_post_data( 'post_id', get_the_ID() );
136
+ }
137
+
138
+ }
139
+
140
+ remove_filter( 'the_content', 'FLBuilder::render_content' );
141
+ $this->beaver_filter_enabled = false;
142
+
143
+ } else {
144
+ global $post;
145
+ if ( isset( $post->view_template_override ) ) {
146
+ $this_id = get_the_ID();
147
+ // This is coming from a wpv-post-body shortcode with view_template="None" so we do need to apply BB here
148
+ FLBuilderModel::update_post_data( 'post_id', $this_id );
149
+
150
+ $this->beaver_post_id_stack[] = $this_id;
151
+
152
+ $content = FLBuilder::render_content( $content );
153
+
154
+ if ( ! in_array( $template_selected, $this->beaver_post_id_assets_rendered ) ) {
155
+ //FLBuilder::enqueue_layout_styles_scripts();
156
+ $this->beaver_post_id_assets_rendered[] = $this_id;
157
+ }
158
+
159
+ array_pop( $this->beaver_post_id_stack );
160
+ if ( count( $this->beaver_post_id_stack ) > 0 ) {
161
+ $aux_array = array_slice( $this->beaver_post_id_stack, -1 );
162
+ $bb_post_id = array_pop( $aux_array );
163
+ FLBuilderModel::update_post_data( 'post_id', $bb_post_id );
164
+ }
165
+
166
+ }
167
+ }
168
+
169
+ return $content;
170
+ }
171
+
172
+ public function restoreBeaverFilter( $content ) {
173
+ if ( ! $this->beaver_filter_enabled ) {
174
+ add_filter( 'the_content', 'FLBuilder::render_content' );
175
+ }
176
+ return $content;
177
+ }
178
+
179
+ public function _filterArchiveContent( $content, $template_selected, $id, $kind ) {
180
+
181
+ if( $this->getActiveMediumId() && $this->getActiveMediumId() == $template_selected ) {
182
+ FLBuilderModel::update_post_data( 'post_id', $this->getActiveMediumId() );
183
+ $content = FLBuilder::render_content( $content );
184
+ }
185
+
186
+
187
+ return $content;
188
+ }
189
+
190
+ /**
191
+ * Beaver is looking for $_POST['post_id'] first, to select content
192
+ * we use that to get beaver content of our medium id
193
+ */
194
+ public function _actionGlobalizeMediumId() {
195
+ if( $this->getActiveMediumId() )
196
+ FLBuilderModel::update_post_data( 'post_id', $this->getActiveMediumId() );
197
+ }
198
+
199
+ private function getActiveMediumId() {
200
+ if( $this->active_medium_id === null )
201
+ $this->active_medium_id = $this->fetchActiveMediumId();
202
+
203
+ return $this->active_medium_id;
204
+ }
205
+
206
+ private function fetchActiveMediumId() {
207
+ $medium_id = $this->medium->getId();
208
+
209
+ $editor_choice = get_post_meta( $medium_id, $this->medium->getOptionNameEditorChoice(), true );
210
+
211
+ if(
212
+ $editor_choice
213
+ && $editor_choice == $this->editor->getId()
214
+ && isset( $medium_id ) && $medium_id
215
+ )
216
+ return $medium_id;
217
+
218
+
219
+ return false;
220
+ }
221
+
222
+ public function _actionSetPostIdForViewsBodyShortcode() {
223
+ add_filter( 'the_content', 'FLBuilder::render_content' );
224
+ FLBuilderModel::update_post_data( 'post_id', get_the_ID() );
225
+
226
+ add_filter( 'wpv_filter_content_template_output', 'FLBuilder::render_content' );
227
+ }
228
+
229
+ public function _actionSetMediumIdAfterViewsBodyShortcode() {
230
+ remove_filter( 'the_content', 'FLBuilder::render_content' );
231
+
232
+ if( $this->getActiveMediumId() )
233
+ FLBuilderModel::update_post_data( 'post_id', $this->getActiveMediumId() );
234
+ }
235
+
236
+
237
+ }
library/toolset/toolset-common/user-editors/editor/screen/interface.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ interface Toolset_User_Editors_Editor_Screen_Interface {
5
+ public function isActive();
6
+ public function addMedium( Toolset_User_Editors_Medium_Interface $medium );
7
+ public function addEditor( Toolset_User_Editors_Editor_Interface $editor );
8
+ }
library/toolset/toolset-common/user-editors/editor/screen/visual-composer/backend.php ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Abstract', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/abstract.php' );
5
+
6
+ class Toolset_User_Editors_Editor_Screen_Visual_Composer_Backend
7
+ extends Toolset_User_Editors_Editor_Screen_Abstract {
8
+
9
+ private $post;
10
+ public $editor;
11
+
12
+ public function isActive() {
13
+ if( ! $this->setMediumAsPost() )
14
+ return false;
15
+
16
+ // check for functions used
17
+ if(
18
+ ! function_exists( 'vc_user_access' )
19
+ || ! class_exists( 'Vc_Shortcodes_Manager' )
20
+ || ! method_exists( 'Vc_Manager', 'backendEditor' )
21
+ )
22
+ return false;
23
+
24
+ // don't show VC if user role is not allowed to use the backend editor
25
+ if( ! vc_user_access()->part( 'backend_editor' )->can()->get() )
26
+ return false;
27
+
28
+ $this->action();
29
+ return true;
30
+ }
31
+
32
+ private function action() {
33
+ add_action( 'admin_init', array( $this, '_actionSetup' ) );
34
+
35
+ add_action( 'admin_print_scripts', array( &$this->editor, 'enqueueEditorScripts' ) );
36
+ add_action( 'admin_print_scripts', array( $this, 'print_scripts' ) );
37
+ add_action( 'admin_print_scripts', array( Vc_Shortcodes_Manager::getInstance(), 'buildShortcodesAssets' ), 1 );
38
+
39
+ $this->medium->setHtmlEditorBackend( array( $this, 'htmlOutput' ) );
40
+ }
41
+
42
+ /**
43
+ * Setup the editor
44
+ * called on action 'admin_init'
45
+ */
46
+ public function _actionSetup() {
47
+ // Disable Visual Composers Frontend Editor
48
+ vc_disable_frontend();
49
+
50
+ // Get backend editor object through VC_Manager (vc di container)
51
+ global $vc_manager;
52
+ $this->editor = $vc_manager->backendEditor();
53
+
54
+ // VC_Backend_Editor->render() registers all needed scripts
55
+ // the "real" render came later in $this->html_output();
56
+ $this->editor->render( $this->post->post_type );
57
+ }
58
+
59
+
60
+ private function setMediumAsPost() {
61
+ $medium_id = $this->medium->getId();
62
+
63
+ if( ! $medium_id )
64
+ return false;
65
+
66
+ $medium_post_object = get_post( $medium_id );
67
+ if( $medium_post_object === null )
68
+ return false;
69
+
70
+ $this->post = $medium_post_object;
71
+
72
+ return true;
73
+ }
74
+
75
+ public function htmlOutput() {
76
+ ob_start(); ?>
77
+ <div style="display: none;">
78
+ <input type="hidden" id="post_ID" name="post_ID" value="<?php echo $this->post->ID; ?>">
79
+ <textarea cols="30" rows="10" id="wpv_content" name="wpv_content" data-bind="textInput: postContentAccepted"></textarea>
80
+ <?php wp_editor( $this->post->post_content, 'content', array( 'media_buttons' => true ) ); ?>
81
+ </div>
82
+
83
+ <div id="wpb_visual_composer" style="padding-bottom: 5px; background: #fff;"><?php $this->editor->renderEditor( $this->post ); ?></div>
84
+ <?php
85
+ $script = "<script>
86
+ jQuery( window ).load( function( ) {
87
+ /* no fullscreen, no vc save button */
88
+ jQuery( '#vc_navbar .vc_save-backend, #vc_fullscreen-button' ).remove();
89
+
90
+ /* show vc editor */
91
+ vc.app.show();
92
+ vc.app.status = 'shown';
93
+
94
+ var viewsBasicTextarea = jQuery( '#wpv_content' );
95
+ var wordpressDefaultTextarea = jQuery( '#content' );
96
+
97
+ /* Visual Composer fires the 'sync' event everytime something is changed */
98
+ /* we use this to enable button 'Save all sections at once' if content has changed */
99
+ vc.shortcodes.on( 'sync', function() {
100
+ if( wordpressDefaultTextarea.val() != viewsBasicTextarea.val() ) {
101
+ viewsBasicTextarea.val( wordpressDefaultTextarea.val() );
102
+
103
+ WPViews.ct_edit_screen.vm.postContentAccepted = function(){ return wordpressDefaultTextarea.val() };
104
+ WPViews.ct_edit_screen.vm.propertyChangeByComparator( 'postContent', _.isEqual );
105
+ }
106
+ } );
107
+ } );</script>";
108
+ echo preg_replace('/\v(?:[\v\h]+)/', '', $script);
109
+ $output = ob_get_contents();
110
+ ob_end_clean();
111
+
112
+ return $output;
113
+ }
114
+
115
+ /**
116
+ * We need some custom scripts ( &styles )
117
+ * called on 'admin_print_scripts'
118
+ */
119
+ public function print_scripts() {
120
+
121
+ // disable the 100% and fixed vc editor navigation when scrolling down
122
+ $output = '
123
+ <style type="text/css">
124
+ body.toolset_page_ct-editor .composer-switch {
125
+ display:none;
126
+ }
127
+ body.toolset_page_ct-editor .wpv-settings-section,
128
+ body.toolset_page_ct-editor .wpv-setting-container {
129
+ max-width: 96% !important;
130
+ }
131
+
132
+ body.toolset_page_ct-editor .wpv-setting-container .wpv-settings-header {
133
+ width: 15% !important;
134
+ }
135
+
136
+ .wpv-setting {
137
+ width: 84%;
138
+ }
139
+
140
+ .wpv-mightlong-list li {
141
+ min-width: 21%;
142
+ }
143
+
144
+ body.toolset_page_ct-editor .js-wpv-content-section .wpv-settings-header {
145
+ display: block;
146
+ }
147
+
148
+ body.toolset_page_ct-editor .wpv-ct-control-switch-editor {
149
+ padding-left: 105px;
150
+ }
151
+
152
+ body.toolset_page_ct-editor .js-wpv-content-section .wpv-setting {
153
+ width: 100% !important;
154
+ }
155
+
156
+ .vc_subnav-fixed{
157
+ position:relative !important;
158
+ top:auto !important;
159
+ left:auto !important;
160
+ z-index: 1 !important;
161
+ padding-left:0 !important;
162
+ }
163
+ </style>';
164
+
165
+ // disable our backbone extension due to conflicts with vc (see util.js)
166
+ $output .= "<script>var ToolsetDisableBackboneExtension = '1';</script>";
167
+ echo preg_replace('/\v(?:[\v\h]+)/', '', $output );
168
+ }
169
+ }
library/toolset/toolset-common/user-editors/editor/screen/visual-composer/frontend.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Screen_Abstract', false ) )
5
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/screen/abstract.php' );
6
+
7
+ class Toolset_User_Editors_Editor_Screen_Visual_Composer_Frontend
8
+ extends Toolset_User_Editors_Editor_Screen_Abstract {
9
+
10
+
11
+ public function __construct() {
12
+ // make sure all vc shortcodes are loaded (needed for ajax pagination)
13
+ if ( method_exists( 'WPBMap', 'addAllMappedShortcodes' ) )
14
+ WPBMap::addAllMappedShortcodes();
15
+
16
+ add_action( 'the_content', array( $this, 'render_custom_css' ) );
17
+
18
+ // this adds the [Fields and Views] to editor of visual composers text element
19
+ if( array_key_exists( 'action', $_POST ) && $_POST['action'] == 'vc_edit_form' ) {
20
+ add_filter( 'wpv_filter_dialog_for_editors_requires_post', '__return_false' );
21
+ }
22
+ }
23
+
24
+ /**
25
+ * Visual Composer stores custom css as postmeta.
26
+ * We need to check if current post has content_template and if so apply the custom css.
27
+ * Hooked to the_content
28
+ *
29
+ * @param $content
30
+ * @return mixed
31
+ */
32
+ public function render_custom_css( $content ) {
33
+ if(
34
+ method_exists( 'Vc_Base', 'addPageCustomCss' )
35
+ && method_exists( 'Vc_Base', 'addShortcodesCustomCss' )
36
+ ) {
37
+ $content_template = get_post_meta( get_the_ID(), '_views_template', true );
38
+
39
+ if( $content_template && ! isset( $this->log_rendered_css[$content_template] ) ) {
40
+ $vcbase = new Vc_Base();
41
+ $vcbase->addPageCustomCss( $content_template );
42
+ $vcbase->addShortcodesCustomCss( $content_template );
43
+ $this->log_rendered_css[$content_template] = true;
44
+ }
45
+ }
46
+ return $content;
47
+ }
48
+
49
+ }
library/toolset/toolset-common/user-editors/editor/visual-composer.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Editor_Abstract', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/abstract.php' );
5
+
6
+ class Toolset_User_Editors_Editor_Visual_Composer
7
+ extends Toolset_User_Editors_Editor_Abstract {
8
+
9
+ protected $id = 'vc';
10
+ protected $name = 'Visual Composer';
11
+ protected $option_name = '_toolset_user_editors_vc';
12
+
13
+ /**
14
+ * Minimum Version
15
+ * @var string version number
16
+ */
17
+ protected $minimum_version = '4.11';
18
+
19
+ public function requiredPluginActive() {
20
+
21
+ if ( ! apply_filters( 'toolset_is_views_available', false ) ) {
22
+ return false;
23
+ }
24
+
25
+ if( ! defined( 'WPB_VC_VERSION' ) )
26
+ return false;
27
+
28
+ // version too low
29
+ // Todo generalise prove of version and move to abstract for all editors
30
+ if( version_compare( WPB_VC_VERSION, $this->minimum_version ) < 0 ) {
31
+ add_filter( 'wpv_ct_control_switch_editor_buttons', array( $this, '_filterAddDisabledButton' ) );
32
+ return false;
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ public function run() {
39
+ // register medium slug
40
+ add_filter( 'vc_check_post_type_validation', array( $this, '_filterSupportMedium' ), 10, 2 );
41
+ }
42
+
43
+ /**
44
+ * If version requirements does not met, we show a hint.
45
+ *
46
+ * @param $buttons
47
+ * @return array
48
+ */
49
+ public function _filterAddDisabledButton( $buttons ) {
50
+ $buttons[] = '<button class="button-secondary" onClick="javascript:alert( jQuery( this ).attr( \'title\' ) );" title="' . sprintf( __( 'Version %s or higher required', 'wpv-views' ), $this->minimum_version ) . '">' . $this->name . '</button>';
51
+ $buttons = array_reverse( $buttons );
52
+ return $buttons;
53
+ }
54
+
55
+ /**
56
+ * We need to add Views type of content templates
57
+ * to the allowed types of Visual Composer
58
+ *
59
+ *
60
+ * @param $default
61
+ * @param $type
62
+ *
63
+ * @return bool
64
+ */
65
+ public function _filterSupportMedium( $default, $type ) {
66
+ if( $type == $this->medium->getSlug() )
67
+ return true;
68
+
69
+ return $default;
70
+ }
71
+ }
library/toolset/toolset-common/user-editors/interface.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ interface Toolset_User_Editors_Manager_Interface {
5
+ public function getEditors();
6
+
7
+ /**
8
+ * @return Toolset_User_Editors_Editor_Interface
9
+ */
10
+ public function getActiveEditor();
11
+ public function run();
12
+ public function addEditor( Toolset_User_Editors_Editor_Interface $editor );
13
+
14
+ /**
15
+ * @return Toolset_User_Editors_Medium_Interface
16
+ */
17
+ public function getMedium();
18
+ }
library/toolset/toolset-common/user-editors/manager.php ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! interface_exists( 'Toolset_User_Editors_Manager_Interface', false ) ) {
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/interface.php' );
5
+ }
6
+
7
+ if( ! interface_exists( 'Toolset_User_Editors_Medium_Interface', false ) ) {
8
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/interface.php' );
9
+ }
10
+
11
+ if( ! interface_exists( 'Toolset_User_Editors_Editor_Interface', false ) ) {
12
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/editor/interface.php' );
13
+ }
14
+
15
+ class Toolset_User_Editors_Manager implements Toolset_User_Editors_Manager_Interface {
16
+
17
+ /**
18
+ * The medium on which the editor should be used
19
+ * e.g. Views Content Template
20
+ * @var Toolset_User_Editors_Medium_Interface
21
+ */
22
+ protected $medium;
23
+
24
+ /**
25
+ * All available editors.
26
+ * @var Toolset_User_Editors_Editor_Interface[]
27
+ */
28
+ protected $editors = array();
29
+
30
+ /**
31
+ * Current active editor (chosen by user)
32
+ * @var Toolset_User_Editors_Editor_Interface
33
+ */
34
+ protected $active_editor;
35
+
36
+ /**
37
+ * Toolset_User_Editors_Provider constructor.
38
+ *
39
+ * @param Toolset_User_Editors_Medium_Interface $medium
40
+ */
41
+ public function __construct( Toolset_User_Editors_Medium_Interface $medium ) {
42
+ $this->medium = $medium;
43
+ $this->medium->addManager( $this );
44
+ }
45
+
46
+ /**
47
+ * @param Toolset_User_Editors_Editor_Interface $editor
48
+ *
49
+ * @return bool
50
+ */
51
+ public function addEditor( Toolset_User_Editors_Editor_Interface $editor ) {
52
+ if( ! $editor->requiredPluginActive() ) {
53
+ return false;
54
+ }
55
+
56
+ $this->editors[$editor->getId()] = $editor;
57
+ return true;
58
+ }
59
+
60
+ /**
61
+ * Return all editors
62
+ * @return Toolset_User_Editors_Editor_Interface[]
63
+ */
64
+ public function getEditors() {
65
+ return $this->editors;
66
+ }
67
+
68
+ /**
69
+ * Return current active editor
70
+ *
71
+ * @return false|Toolset_User_Editors_Editor_Interface
72
+ */
73
+ public function getActiveEditor() {
74
+ if( $this->active_editor === null ) {
75
+ $this->active_editor = $this->fetchActiveEditor();
76
+ }
77
+
78
+ return $this->active_editor;
79
+ }
80
+
81
+ public function getMedium() {
82
+ return $this->medium;
83
+ }
84
+
85
+ /**
86
+ * @return bool
87
+ */
88
+ protected function fetchActiveEditor() {
89
+
90
+ $user_editor_choice = $this->medium->userEditorChoice();
91
+ // check every screen of medium
92
+ foreach( $this->medium->getScreens() as $id => $screen ) {
93
+
94
+ // if screen is active
95
+ if( $id_medium = $screen->isActive() ) {
96
+ $screen->addManager( $this );
97
+
98
+ // check editors
99
+ foreach( $this->getEditors() as $editor ) {
100
+
101
+ // skip if we have a user editor choice and current editor not matching selection
102
+ if( $user_editor_choice
103
+ && array_key_exists( $user_editor_choice, $this->editors )
104
+ && $user_editor_choice != $editor->getId()
105
+ )
106
+ continue;
107
+
108
+ // check editor screens
109
+ if( $editor_screen = $editor->getScreenById( $id ) ) {
110
+ $this->medium->setId( $id_medium );
111
+ if( $editor_screen->isActive() ) {
112
+ $screen->equivalentEditorScreenIsActive();
113
+
114
+ return $editor;
115
+ } else if( $screen->dropIfNotActive() ) {
116
+ $this->medium->removeScreen( $id );
117
+ }
118
+ }
119
+ }
120
+ } else if( $screen->dropIfNotActive() ) {
121
+ $this->medium->removeScreen( $id );
122
+ }
123
+ }
124
+
125
+ // if we have no editor active here it still can be a frontend
126
+ if ( $this->active_editor === null ) {
127
+ add_action( 'wp', array( $this, 'run' ), -1000 );
128
+ }
129
+
130
+ return false;
131
+ }
132
+
133
+ public function run() {
134
+ if( $this->active_editor == false ) {
135
+ $this->active_editor = null;
136
+ }
137
+
138
+ if( $editor = $this->getActiveEditor() ) {
139
+ $editor->run();
140
+ }
141
+ }
142
+ }
library/toolset/toolset-common/user-editors/medium/abstract.php ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! interface_exists( 'Toolset_User_Editors_Medium_Interface', false ) ) {
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/interface.php' );
5
+ }
6
+
7
+
8
+ /**
9
+ * Class Toolset_User_Editors_Medium_Abstract
10
+ */
11
+ abstract class Toolset_User_Editors_Medium_Abstract
12
+ implements Toolset_User_Editors_Medium_Interface {
13
+
14
+ /**
15
+ * ID of the post the editor is related to
16
+ * e.g. Content Template ID
17
+ *
18
+ * @var int
19
+ */
20
+ protected $id;
21
+
22
+ /**
23
+ * Slug of Medium
24
+ * e.g. for Content Template it is 'view-template'
25
+ * @var string
26
+ */
27
+ protected $slug;
28
+
29
+ /**
30
+ * All possible screens.
31
+ * @var Toolset_User_Editors_Medium_Screen_Interface[]
32
+ */
33
+ protected $screens;
34
+
35
+ /**
36
+ * our defined slug of editor
37
+ * e.g. for Beaver Builder we use 'beaver'
38
+ *
39
+ * @var string
40
+ */
41
+ protected $user_editor_choice;
42
+
43
+
44
+ /**
45
+ * @var Toolset_User_Editors_Manager_Interface
46
+ */
47
+ protected $manager;
48
+
49
+
50
+ protected $option_name_editor_choice;
51
+
52
+ /**
53
+ * @param $id
54
+ */
55
+ public function setId( $id ) {
56
+ $this->id = $id;
57
+ }
58
+
59
+ public function getId() {
60
+ return $this->id;
61
+ }
62
+
63
+ public function getSlug() {
64
+ return $this->slug;
65
+ }
66
+
67
+ public function getOptionNameEditorChoice() {
68
+ return $this->option_name_editor_choice;
69
+ }
70
+
71
+ /**
72
+ * @param $id
73
+ * @param Toolset_User_Editors_Medium_Screen_Interface $screen
74
+ */
75
+ public function addScreen( $id, Toolset_User_Editors_Medium_Screen_Interface $screen ) {
76
+ $this->screens[$id] = $screen;
77
+ }
78
+
79
+ /**
80
+ * @param $id
81
+ */
82
+ public function removeScreen( $id ) {
83
+ if( array_key_exists( $id, $this->screens ) ) {
84
+ unset( $this->screens[$id] );
85
+ }
86
+ }
87
+
88
+ /**
89
+ * @return Toolset_User_Editors_Medium_Screen_Interface[]
90
+ */
91
+ public function getScreens() {
92
+ return $this->screens;
93
+ }
94
+
95
+ public function addManager( Toolset_User_Editors_Manager_Interface $manager ) {
96
+ $this->manager = $manager;
97
+ }
98
+
99
+ }
library/toolset/toolset-common/user-editors/medium/content-template.php ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Medium_Abstract', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/abstract.php' );
5
+
6
+ class Toolset_User_Editors_Medium_Content_Template
7
+ extends Toolset_User_Editors_Medium_Abstract {
8
+
9
+ protected $slug = 'view-template';
10
+ protected $allowed_templates;
11
+ protected $option_name_editor_choice = '_toolset_user_editors_editor_choice';
12
+
13
+ public function __construct() {
14
+ if( array_key_exists( 'ct_id', $_REQUEST ) )
15
+ $this->id = $_REQUEST['ct_id'];
16
+
17
+ if( $this->id && array_key_exists( 'ct_editor_choice', $_REQUEST ) )
18
+ update_post_meta( $this->id, $this->option_name_editor_choice, sanitize_text_field( $_REQUEST['ct_editor_choice'] ) );
19
+
20
+ add_filter( 'toolset_user_editors_backend_html_editor_select', array( $this, '_filterEditorSelection' ) );
21
+ }
22
+
23
+ public function userEditorChoice() {
24
+ if( $this->user_editor_choice !== null )
25
+ return $this->user_editor_choice;
26
+
27
+ if( ! $this->getId() )
28
+ return false;
29
+
30
+ $content_template_id = wpv_getget( 'ct_id' );
31
+
32
+ if( $editor_choice = get_post_meta( $content_template_id, $this->option_name_editor_choice, true ) ) {
33
+ $this->user_editor_choice = $editor_choice;
34
+ return $editor_choice;
35
+ } // backward compatibility (since Views Visual Comopser Beta we used 'wpv_ct_editor_choice')
36
+ elseif ( $editor_choice = get_post_meta( $content_template_id, 'wpv_ct_editor_choice', true ) ) {
37
+ $this->user_editor_choice = $editor_choice;
38
+ update_post_meta( $content_template_id, $this->option_name_editor_choice, $editor_choice );
39
+ delete_post_meta( $content_template_id, 'wpv_ct_editor_choice' );
40
+ return $editor_choice;
41
+ } elseif( get_post_type( $content_template_id ) == $this->slug ) {
42
+ update_post_meta( $content_template_id, $this->option_name_editor_choice, 'basic' );
43
+ return 'basic';
44
+ }
45
+
46
+ return false;
47
+ }
48
+
49
+ public function getFrontendTemplates() {
50
+
51
+ if( $this->allowed_templates !== null )
52
+ return $this->allowed_templates;
53
+
54
+ $content_template_usages = $this->getUsages();
55
+ $theme_template_files = (array) wp_get_theme()->get_files( 'php', 1, true );
56
+
57
+ $wpv_options_patterns = array(
58
+ 'views_template_for_' => array(
59
+ 'label' => __( 'Single page', 'wpv-views' ),
60
+ 'domain' => 'post',
61
+ 'template_hierarchy' => array(
62
+ 'single-%NAME%.php',
63
+ 'single.php',
64
+ 'singular.php',
65
+ 'index.php'
66
+ )
67
+ ),
68
+ 'views_template_archive_for_' => array(
69
+ 'label' => __( 'Post archive', 'wpv-views' ),
70
+ 'domain' => 'post',
71
+ 'template_hierarchy' => array(
72
+ 'archive-%NAME%.php',
73
+ 'archive.php',
74
+ 'index.php'
75
+ )
76
+ ),
77
+ 'views_template_loop_' => array(
78
+ 'label' => __( 'Taxonomy archive', 'wpv-views' ),
79
+ 'domain' => 'taxonomy',
80
+ 'template_hierarchy' => array(
81
+ 'taxonomy-%NAME%.php',
82
+ 'taxonomy.php',
83
+ 'archive.php',
84
+ 'index.php'
85
+ )
86
+ ),
87
+ 'view_loop_preview_post_type_' => array(
88
+ 'label' => __( 'View loop', 'wpv-views' ),
89
+ 'domain' => 'post',
90
+ 'template_hierarchy' => array(
91
+ 'single-%NAME%.php',
92
+ 'single.php',
93
+ 'singular.php',
94
+ 'index.php'
95
+ )
96
+ ),
97
+ 'view_wpa_loop_preview_post_type_' => array(
98
+ 'label' => __( 'WordPress Archive loop', 'wpv-views' ),
99
+ 'domain' => 'post',
100
+ 'template_hierarchy' => array(
101
+ 'archive-%NAME%.php',
102
+ 'archive.php',
103
+ 'index.php'
104
+ )
105
+ ),
106
+ 'view_wpa_loop_preview_taxonomy_' => array(
107
+ 'label' => __( 'WordPress Archive loop', 'wpv-views' ),
108
+ 'domain' => 'taxonomy',
109
+ 'template_hierarchy' => array(
110
+ 'taxonomy-%NAME%.php',
111
+ 'taxonomy.php',
112
+ 'archive.php',
113
+ 'index.php'
114
+ )
115
+ ),
116
+ );
117
+
118
+ $this->allowed_templates = array();
119
+
120
+ foreach( $content_template_usages as $usage => $ct_id ) {
121
+ foreach( $wpv_options_patterns as $pattern => $settings ) {
122
+ if( strpos( $usage, $pattern ) !== false ) {
123
+ $type_name = str_replace( $pattern, '', $usage );
124
+ $type_object = $settings['domain'] == 'post'
125
+ ? get_post_type_object( $type_name )
126
+ : get_taxonomy( $type_name );
127
+
128
+ foreach( $settings['template_hierarchy'] as $template_file ) {
129
+ $template_file = str_replace( '%NAME%', $type_object->name, $template_file );
130
+ if( array_key_exists( $template_file, $theme_template_files ) ) {
131
+ $this->allowed_templates[] = array(
132
+ 'slug' => $type_object->name,
133
+ 'domain' => $settings['domain'],
134
+ 'form-option-label' => $settings['label'] . ' ' . $type_object->labels->name,
135
+ 'path' => $theme_template_files[ $template_file ]
136
+ );
137
+ break;
138
+ }
139
+ }
140
+ }
141
+ }
142
+ }
143
+
144
+ // Make sure that the stored template path is in the allowed ones, or force it otherwise
145
+ $allowed_paths = wp_list_pluck( $this->allowed_templates, 'path' );
146
+ $current_template = get_post_meta( $_GET['ct_id'], $this->manager->getActiveEditor()->getOptionName(), true );
147
+
148
+ if (
149
+ isset( $_GET['ct_id'] )
150
+ && ! empty( $allowed_paths )
151
+ && (
152
+ ! isset( $current_template['template_path'] )
153
+ || ! in_array( $current_template['template_path'], $allowed_paths )
154
+ )
155
+ ) {
156
+ $slide_allowed_template = array_slice( $this->allowed_templates, 0, 1 );
157
+ $first_allowed_template = array_shift( $slide_allowed_template );
158
+ $settings_to_store = array(
159
+ 'template_path' => wp_slash( $first_allowed_template['path'] ),
160
+ 'preview_domain' => $first_allowed_template['domain'],
161
+ 'preview_slug' => $first_allowed_template['slug']
162
+ );
163
+
164
+ update_post_meta( $_GET['ct_id'], $this->manager->getActiveEditor()->getOptionName(), $settings_to_store );
165
+ $stored = get_post_meta( $_GET['ct_id'], $this->manager->getActiveEditor()->getOptionName(), true );
166
+ }
167
+
168
+ return $this->allowed_templates;
169
+ }
170
+
171
+ private function getUsages() {
172
+ $views_settings = WPV_Settings::get_instance();
173
+ $views_options = $views_settings->get();
174
+ $views_options = array_filter( $views_options, array( $this, 'filterTemplatesByTemplateId' ) );
175
+
176
+ if ( isset( $_GET['ct_id'] ) ) {
177
+
178
+ if (
179
+ isset( $_GET['preview_post_type'] )
180
+ && is_array( $_GET['preview_post_type'] )
181
+ && ! empty ( $_GET['preview_post_type'] )
182
+ ) {
183
+ $preview_post_type = array_map( 'sanitize_text_field', $_GET['preview_post_type'] );
184
+ foreach ( $preview_post_type as $prev_cpt ) {
185
+ $views_options[ 'view_loop_preview_post_type_' . $prev_cpt ] = (int) $_GET['ct_id'];
186
+ }
187
+ }
188
+
189
+ if (
190
+ isset( $_GET['preview_post_type_archive'] )
191
+ && is_array( $_GET['preview_post_type_archive'] )
192
+ && ! empty ( $_GET['preview_post_type_archive'] )
193
+ ) {
194
+ $preview_post_type_archive = array_map( 'sanitize_text_field', $_GET['preview_post_type_archive'] );
195
+ foreach ( $preview_post_type_archive as $prev_cpt ) {
196
+ $views_options[ 'view_wpa_loop_preview_post_type_' . $prev_cpt ] = (int) $_GET['ct_id'];
197
+ }
198
+ }
199
+
200
+ if (
201
+ isset( $_GET['preview_taxonomy_archive'] )
202
+ && is_array( $_GET['preview_taxonomy_archive'] )
203
+ && ! empty ( $_GET['preview_taxonomy_archive'] )
204
+ ) {
205
+ $preview_taxonomy_archive = array_map( 'sanitize_text_field', $_GET['preview_taxonomy_archive'] );
206
+ foreach ( $preview_taxonomy_archive as $prev_cpt ) {
207
+ $views_options[ 'view_wpa_loop_preview_taxonomy_' . $prev_cpt ] = (int) $_GET['ct_id'];
208
+ }
209
+ }
210
+
211
+ // @todo implement the rest of the Layout Loop usages
212
+
213
+ }
214
+
215
+ return $views_options;
216
+ }
217
+
218
+ private function filterTemplatesByTemplateId( $stored_value ) {
219
+ if( ! isset( $_GET['ct_id'] ) )
220
+ return false;
221
+
222
+ return( $stored_value == $_GET['ct_id'] );
223
+ }
224
+
225
+ /**
226
+ * @param $content_function callable
227
+ */
228
+ public function setHtmlEditorBackend( $content_function ) {
229
+ add_filter( 'toolset_user_editors_backend_html_active_editor', $content_function );
230
+ }
231
+
232
+
233
+ public function _filterEditorSelection() {
234
+ $control_editor_select = '';
235
+ $editors = $this->manager->getEditors();
236
+
237
+ if( count( $editors ) > 1 ) {
238
+ $admin_url = admin_url( 'admin.php?page=ct-editor&ct_id='.$_GET['ct_id'] );
239
+
240
+ $editor_current = '';
241
+ $editor_switch_buttons = array();
242
+
243
+ foreach( $editors as $editor ) {
244
+ if ( $editor->getId() == $this->manager->getActiveEditor()->getId() ) {
245
+ if ( 'basic' != $editor->getId() ) {
246
+ $editor_current = sprintf( __( 'Using %1$s ', 'wpv-views' ), '<strong>' . $editor->getName() . '</strong>' );
247
+ }
248
+ } else {
249
+ $editor_switch_buttons[] = '<a class="button" href="'.$admin_url.'&ct_editor_choice='.$editor->getId().'">'.sprintf( __( 'Design with %1$s', 'wpv-views' ), $editor->getName() ).'</a>';
250
+ }
251
+ }
252
+
253
+ $control_editor_select .= '<div class="wpv-ct-control-switch-editor">';
254
+ $control_editor_select .= $editor_current;
255
+ //$control_editor_select .= __( 'Select Editor: ', 'wpv-views' );
256
+ $control_editor_select .= join( ' ', array_reverse( $editor_switch_buttons ) );
257
+ $control_editor_select .= '</div>';
258
+ }
259
+
260
+ return $control_editor_select;
261
+ }
262
+
263
+ public function pageReloadAfterBackendSave() {
264
+ add_action( 'admin_print_footer_scripts', array( $this, '_actionPageReloadAfterBackendSave' ) );
265
+ }
266
+
267
+ public function _actionPageReloadAfterBackendSave() {
268
+ echo "<script>jQuery( document ).on('ct_saved', function() { location.reload(); });</script>";
269
+ }
270
+ }
library/toolset/toolset-common/user-editors/medium/interface.php ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ if( ! interface_exists( 'Toolset_User_Editors_Medium_Screen_Interface', false ) )
5
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/screen/interface.php' );
6
+
7
+
8
+ interface Toolset_User_Editors_Medium_Interface {
9
+
10
+ /**
11
+ * Add a screen with an id. The id should be the same as used for the equivalent editor screen id.
12
+ * e.g. 'backend' for Medium_Screen_Backend && also 'backend' for Editor_Screen_Backend
13
+ *
14
+ * @param $id
15
+ * @param Toolset_User_Editors_Medium_Screen_Interface $screen
16
+ */
17
+ public function addScreen( $id, Toolset_User_Editors_Medium_Screen_Interface $screen );
18
+
19
+ /**
20
+ * Return all registered screens
21
+ *
22
+ * @return Toolset_User_Editors_Medium_Screen_Interface[]
23
+ */
24
+ public function getScreens();
25
+
26
+ /**
27
+ * If a screen is not active it should get removed, because sometimes
28
+ * a needs another round of check.
29
+ * e.g. ct frontend display needs to run on 'wp' hook, because global $post must be set
30
+ *
31
+ * @param $id
32
+ */
33
+ public function removeScreen( $id );
34
+
35
+ /**
36
+ * This function is used by screen objects.
37
+ * e.g. Medium_Screen_Content_Template_Backend set it if $_REQUEST['ct_id'] is available
38
+ * @param $id
39
+ */
40
+ public function setId( $id );
41
+
42
+ /**
43
+ * Id of the current medium element
44
+ * e.g. Id of a content template
45
+ *
46
+ * @return int
47
+ */
48
+ public function getId();
49
+
50
+ /**
51
+ * Slug of medium type
52
+ * e.g. Content template has the slug 'view-template'
53
+ *
54
+ * @return string
55
+ */
56
+ public function getSlug();
57
+
58
+ /**
59
+ * The id of the editor the user has chosen
60
+ * e.g. for Beaver Builder it would return 'beaver'
61
+ *
62
+ * @return string id of the editor
63
+ */
64
+ public function userEditorChoice();
65
+
66
+ /**
67
+ * List of allowed templates for using a Frontend-Editor
68
+ * e.g. Content Templates provides the templates of the 'Usage' assignments
69
+ * @return mixed
70
+ */
71
+ public function getFrontendTemplates();
72
+
73
+ /**
74
+ * Used by the editor, to give the medium the editor backend output
75
+ * The medium than decides where the output is placed
76
+ * e.g. Beaver generates "Select template and start..." and gives
77
+ * it to Content Template which decides where it is placed
78
+ *
79
+ * @param $content callable
80
+ */
81
+ public function setHtmlEditorBackend( $content );
82
+
83
+ /**
84
+ * Used by setup, to give the medium the user selection for editors
85
+ * e.g. Setup generates editor selection 'Default | Visual Composer | Beaver'
86
+ * and gives it to Content Template which decides where to place
87
+ *
88
+ * @param $selection callable
89
+ */
90
+ // public function setHtmlEditorSelection( $selection );
91
+
92
+ /**
93
+ * Some editors needs a page reload after changes are done to the medium
94
+ * with this function the medium will do a reload, even if by default it's stored via ajax
95
+ * e.g. this function is called by Beaver when used on Content Templates
96
+ */
97
+ public function pageReloadAfterBackendSave();
98
+
99
+
100
+ /**
101
+ * This manager class uses this function to make itself available for the medium
102
+ * @param Toolset_User_Editors_Manager_Interface $manager
103
+ */
104
+ public function addManager( Toolset_User_Editors_Manager_Interface $manager );
105
+
106
+
107
+ /**
108
+ * Returns the stored editor id for the current medium
109
+ * e.g. user selected Beaver on CT, this will return 'beaver'
110
+ * @return string
111
+ */
112
+ public function getOptionNameEditorChoice();
113
+ }
library/toolset/toolset-common/user-editors/medium/screen/abstract.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! interface_exists( 'Toolset_User_Editors_Medium_Screen_Interface', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/screen/interface.php' );
5
+
6
+ abstract class Toolset_User_Editors_Medium_Screen_Abstract
7
+ implements Toolset_User_Editors_Medium_Screen_Interface {
8
+
9
+ /**
10
+ * @var Toolset_User_Editors_Manager_Interface
11
+ */
12
+ protected $manager;
13
+
14
+ public function isActive() {
15
+ return false;
16
+ }
17
+
18
+ public function dropIfNotActive() {
19
+ return true;
20
+ }
21
+
22
+ public function equivalentEditorScreenIsActive() {}
23
+
24
+ public function addManager( Toolset_User_Editors_Manager_Interface $manager ) {
25
+ $this->manager = $manager;
26
+ }
27
+ }
library/toolset/toolset-common/user-editors/medium/screen/content-template/backend.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Medium_Screen_Abstract', false ) ) {
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/screen/abstract.php' );
5
+ }
6
+
7
+ class Toolset_User_Editors_Medium_Screen_Content_Template_Backend
8
+ extends Toolset_User_Editors_Medium_Screen_Abstract {
9
+
10
+ public function isActive() {
11
+ if( ! is_admin() || ! array_key_exists( 'ct_id', $_REQUEST ) ) {
12
+ return false;
13
+ }
14
+
15
+ return $_REQUEST['ct_id'];
16
+ }
17
+
18
+ public function equivalentEditorScreenIsActive() {
19
+ add_action( 'admin_enqueue_scripts', array( $this , '_actionScripts' ) ) ;
20
+ }
21
+
22
+ public function _actionScripts(){
23
+ wp_localize_script( 'views-ct-editor-js', 'toolset_user_editor_choice', $this->manager->getActiveEditor()->getId() );
24
+ }
25
+
26
+ }
library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend-editor.css ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .toolset-editors-select-preview-post {
2
+ font-family: Helvetica, Verdana, sans-serif !important;
3
+ float: left !important;
4
+ padding-right: 20px !important;
5
+ color: #333;
6
+ }
7
+ #wpv-ct-preview-post {
8
+ width: 170px !important;
9
+ font-size: 16px !important;
10
+ line-height: 32px !important;
11
+ height: 32px !important;
12
+ display: inline !important;
13
+ }
14
+
15
+ .wpv-ct-preview-post-help {
16
+ margin-left: 5px;
17
+ color: #00A0D2;
18
+ cursor: pointer;
19
+ }
20
+
21
+ .wpv-ct-preview-post-help:hover {
22
+ color: #1E8CBE;
23
+ }
24
+
25
+ .fl-builder-actions .fl-builder-button.fl-builder-discard-button,
26
+ .fl-builder-actions .fl-builder-button.fl-builder-draft-button {
27
+ display: none !important;
28
+ }
29
+
30
+
library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend-editor.js ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var wpv_preview_post_container = jQuery( '.toolset-editors-select-preview-post' ),
2
+ wpv_preview_post = jQuery( '#wpv-ct-preview-post' );
3
+
4
+ (function( $ ) {
5
+ $( 'document' ).ready( function() {
6
+ FLBuilder._updateLayout();
7
+ wpv_preview_post_container.prependTo( '.fl-builder-bar-actions' );
8
+ wpv_preview_post_container.show();
9
+ } );
10
+
11
+ $( window ).load( function() {
12
+ FLBuilder._exitUrl = toolset_user_editors.mediumUrl;
13
+ } );
14
+
15
+ wpv_preview_post.on( 'change', function() {
16
+ $.ajax( {
17
+ type: 'post',
18
+ dataType: 'json',
19
+ url: ajaxurl,
20
+ data: {
21
+ action: 'set_preview_post',
22
+ ct_id: toolset_user_editors.mediumId,
23
+ preview_post_id: this.value,
24
+ nonce: toolset_user_editors.nonce
25
+ },
26
+ complete: function() {
27
+ FLBuilder._updateLayout();
28
+ }
29
+ } );
30
+ } );
31
+ })( jQuery );
library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend-editor.php ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Medium_Screen_Abstract', false ) ) {
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/screen/abstract.php' );
5
+ }
6
+
7
+ class Toolset_User_Editors_Medium_Screen_Content_Template_Frontend_Editor
8
+ extends Toolset_User_Editors_Medium_Screen_Abstract {
9
+
10
+ private $original_global_post;
11
+
12
+ public function __construct() {
13
+ add_action( 'wp_ajax_set_preview_post', array( $this, 'ajax_set_preview_post' ) );
14
+ }
15
+
16
+ public function isActive() {
17
+ if( is_admin() || ! current_user_can( 'manage_options' ) ) {
18
+ return false;
19
+ }
20
+
21
+ return true;
22
+ }
23
+
24
+ public function equivalentEditorScreenIsActive() {
25
+ add_action( 'init', array( $this, '_actionRegisterAsPostType' ) );
26
+ add_action( 'wp', array( $this, '_actionLoadMediumIdByPost' ), -1 );
27
+ }
28
+
29
+ public function _actionLoadMediumIdByPost() {
30
+ global $post;
31
+
32
+ if( ! is_object( $post ) || $post->post_type != 'view-template' ) {
33
+ return false;
34
+ }
35
+
36
+ $this->manager->getMedium()->setId( $post->ID );
37
+
38
+ // todo outsource complete preview selector to 'resources'
39
+ add_action( 'wp_footer', array( $this, 'render_preview_post_selector') );
40
+
41
+ // set preview post as global post
42
+ // todo move to beaver/screen/backend
43
+ add_action( 'fl_builder_before_render_module', array( $this, 'set_preview_post' ) );
44
+
45
+ // reset global post after content is loaded via ajax
46
+ // todo move to beaver/screen/backend
47
+ add_action( 'fl_builder_after_render_content', array( $this, 'reset_preview_post' ) );
48
+
49
+ add_action( 'wp_enqueue_scripts', array( $this, '_actionStyleAndScripts' ) );
50
+ }
51
+
52
+
53
+ public function _actionStyleAndScripts() {
54
+ // ./backend.css
55
+ wp_enqueue_style(
56
+ 'toolset-user-editors-ct-frontend-editor-style',
57
+ TOOLSET_COMMON_URL . 'user-editors/medium/screen/content-template/frontend-editor.css',
58
+ array(),
59
+ TOOLSET_COMMON_VERSION
60
+ );
61
+
62
+ // ./backend.js
63
+ wp_enqueue_script(
64
+ 'toolset-user-editors-ct-frontend-editor-script',
65
+ TOOLSET_COMMON_URL . 'user-editors/medium/screen/content-template/frontend-editor.js',
66
+ array( 'jquery' ),
67
+ TOOLSET_COMMON_VERSION,
68
+ true
69
+ );
70
+
71
+ wp_localize_script( 'toolset-user-editors-ct-frontend-editor-script', 'toolset_user_editors', array(
72
+ 'nonce' => wp_create_nonce( 'toolset_user_editors' ),
73
+ 'mediumId' => $this->manager->getMedium()->getId(),
74
+ 'mediumUrl' => admin_url( 'admin.php?page=ct-editor&ct_id=' . $this->manager->getMedium()->getId() ),
75
+ ) );
76
+ }
77
+
78
+
79
+ public function _actionRegisterAsPostType() {
80
+ register_post_type( 'view-template', array(
81
+ 'public' => false,
82
+ 'publicly_queryable' => true,
83
+ 'show_ui' => false,
84
+ 'show_in_menu' => false,
85
+ 'rewrite' => array( 'slug' => 'view-template' ),
86
+ 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )
87
+ ) );
88
+
89
+ flush_rewrite_rules();
90
+ }
91
+
92
+ public function set_preview_post() {
93
+ if( isset( $_POST['fl_builder_data'] ) ) {
94
+ global $post;
95
+
96
+ if( $this->original_global_post === null ) {
97
+ $this->original_global_post = $post;
98
+ }
99
+
100
+ $preview_post = $this->get_preview_post_id( $this->original_global_post->ID );
101
+
102
+ if( $preview_post ) {
103
+ $post = get_post( $preview_post );
104
+ }
105
+ // no preview post selected or selected does not exist anymore
106
+ else {
107
+ // disable shortcode rendering
108
+ add_filter( 'fl_builder_render_shortcodes', '__return_false' );
109
+ }
110
+ }
111
+ }
112
+
113
+ public function reset_preview_post() {
114
+ if( isset( $_POST['fl_builder_data'] ) ) {
115
+ global $post;
116
+ $post = $this->original_global_post;
117
+ }
118
+ }
119
+
120
+ public function render_preview_post_selector() {
121
+ if( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) {
122
+ global $post;
123
+
124
+ $toolset_frontend_editor = get_post_meta( $post->ID, '_toolset_user_editors_beaver_template', true );
125
+ $preview_slug = array_key_exists( 'preview_slug', $toolset_frontend_editor )
126
+ ? $toolset_frontend_editor['preview_slug']
127
+ : false;
128
+
129
+
130
+ if( $toolset_frontend_editor['preview_domain'] == 'post' ) {
131
+ $preview_posts = wp_get_recent_posts( array( 'post_type' => $preview_slug ), ARRAY_A );
132
+ } else {
133
+
134
+ $terms = get_terms( $preview_slug );
135
+ $term_ids = array();
136
+ foreach( $terms as $term ) {
137
+ $term_ids[] = $term->term_id;
138
+ }
139
+
140
+ $preview_posts = wp_get_recent_posts( array( 'post_type' => 'any', 'tax_query' => array(
141
+ array(
142
+ 'taxonomy' => $preview_slug,
143
+ 'field' => 'id',
144
+ 'terms' => $term_ids
145
+ ))), ARRAY_A );
146
+ }
147
+
148
+ $preview_post = $this->get_preview_post_id( $post->ID );
149
+
150
+ $selected = $preview_post == 0
151
+ ? ' selected="selected"'
152
+ : '';
153
+
154
+ echo '<div class="toolset-editors-select-preview-post" style="display: none;">';
155
+ echo __( 'Preview with:', 'wpv-views' );
156
+
157
+ echo ' <select id="wpv-ct-preview-post">';
158
+ echo '<option value="0"' . $selected . '>'.__( 'No Shortcode Rendering', 'wp-views' ).'</option>';
159
+
160
+ foreach( $preview_posts as $single_post ) {
161
+ $selected = $preview_post == $single_post['ID']
162
+ ? ' selected="selected"'
163
+ : '';
164
+ echo '<option value="' . $single_post['ID'] . '"' . $selected . '>'.$single_post['post_title'].'</option>';
165
+ }
166
+ echo '</select>';
167
+ echo '<i class="fa fa-question-circle fa-lg wpv-ct-preview-post-help js-wpv-ct-preview-post-help" aria-hidden="true" onclick="alert(\'' . esc_js( 'You are using Beaver Builder to design a template. This selector lets you choose with what content to preview the template.', 'wpv-views' ) . '\');"></i>';
168
+ echo '</div>';
169
+ }
170
+ }
171
+
172
+ public function ajax_set_preview_post() {
173
+ if ( ! wp_verify_nonce( $_REQUEST['nonce'], 'toolset_user_editors' ) ) {
174
+ die( -1 );
175
+ }
176
+
177
+ if( isset( $_REQUEST['ct_id'] ) && isset( $_REQUEST['preview_post_id'] ) ) {
178
+ $this->store_preview_post_id( $_REQUEST['ct_id'], $_REQUEST['preview_post_id'] );
179
+ }
180
+
181
+ die( 1 );
182
+ }
183
+
184
+ private function store_preview_post_id( $ct_id, $preview_post_id ) {
185
+ update_post_meta( $ct_id, '_toolset_user_editors_frontend_editor_preview_post', $preview_post_id );
186
+ }
187
+
188
+ private function get_preview_post_id( $ct_id ) {
189
+ $stored_template = get_post_meta( $ct_id, '_toolset_user_editors_frontend_editor_preview_post', true );
190
+
191
+ // stored template available and is an allowed template
192
+ if( $stored_template && get_post( $stored_template ) ) {
193
+ return $stored_template;
194
+ }
195
+
196
+ return false;
197
+ }
198
+ }
library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend.php ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! class_exists( 'Toolset_User_Editors_Medium_Screen_Abstract', false ) ) {
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/medium/screen/abstract.php' );
5
+ }
6
+
7
+ class Toolset_User_Editors_Medium_Screen_Content_Template_Frontend
8
+ extends Toolset_User_Editors_Medium_Screen_Abstract {
9
+
10
+ public function dropIfNotActive() {
11
+ return false;
12
+ }
13
+
14
+ public function isActive() {
15
+ if( is_admin() ) {
16
+ return false;
17
+ }
18
+
19
+ global $post, $wp_query;
20
+
21
+ if( ! is_object( $wp_query ) ) {
22
+ return false;
23
+ }
24
+
25
+ if( $id = $this->isActiveSinglePost() ) {
26
+ return $id;
27
+ }
28
+
29
+ if( $id = $this->isActiveTaxonomyArchive() ) {
30
+ return $id;
31
+ }
32
+
33
+ if( $id = $this->isActivePostArchive() ) {
34
+ return $id;
35
+ }
36
+
37
+ return false;
38
+ }
39
+
40
+ private function isActiveSinglePost() {
41
+ global $post;
42
+
43
+ if( is_single() && is_object( $post ) ) {
44
+ $template_selected = get_post_meta( $post->ID, '_views_template', true );
45
+ }
46
+
47
+ if( isset( $template_selected ) && $template_selected ) {
48
+ return $template_selected;
49
+ }
50
+
51
+ return false;
52
+ }
53
+
54
+ private function isActiveTaxonomyArchive() {
55
+ global $wp_query;
56
+ if (
57
+ is_tax()
58
+ || is_category()
59
+ || is_tag()
60
+ ) {
61
+ $views_settings = WPV_Settings::get_instance();
62
+ $wpv_options = $views_settings->get();
63
+ $term = $wp_query->get_queried_object();
64
+ if( array_key_exists( 'views_template_loop_' . $term->taxonomy, $wpv_options ) ) {
65
+ return $wpv_options['views_template_loop_' . $term->taxonomy];
66
+ }
67
+ }
68
+
69
+ return false;
70
+ }
71
+
72
+ private function isActivePostArchive() {
73
+ global $post;
74
+
75
+ if( is_object( $post ) == false ) {
76
+ return;
77
+ }
78
+
79
+ if( is_post_type_archive( $post->post_type ) && is_object( $post ) ) {
80
+ $views_settings = WPV_Settings::get_instance();
81
+ $wpv_options = $views_settings->get();
82
+
83
+ if( array_key_exists( 'views_template_archive_for_' . $post->post_type, $wpv_options ) ) {
84
+ return $wpv_options['views_template_archive_for_' . $post->post_type];
85
+ }
86
+ }
87
+
88
+ return false;
89
+ }
90
+ }
library/toolset/toolset-common/user-editors/medium/screen/interface.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ interface Toolset_User_Editors_Medium_Screen_Interface {
5
+ public function isActive();
6
+
7
+ /**
8
+ * To save resources drop Screens which are not active,
9
+ * We need this because some screens need to be checked on 'wp', but in general we
10
+ * check the screens on plugins_loaded.
11
+ */
12
+ public function dropIfNotActive();
13
+
14
+ /**
15
+ * This function is called if the Screen and the equivalent Editor Screen is active
16
+ * e.g. Screen_Beaver_Backend is active && Screen_CT_Backend is active = Screen_CT_Backend->equivalentEditorScreenIsActive()
17
+ */
18
+ public function equivalentEditorScreenIsActive();
19
+
20
+ /**
21
+ * This manager class uses this function to make itself available for the medium
22
+ * @param Toolset_User_Editors_Manager_Interface $manager
23
+ */
24
+ public function addManager( Toolset_User_Editors_Manager_Interface $manager );
25
+ }
library/toolset/toolset-common/user-editors/resource/interface.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ interface Toolset_User_Editors_Resource_Interface {
4
+
5
+ /*
6
+ * All Resources are Singletons
7
+ */
8
+ public static function getInstance();
9
+ public function load();
10
+ }
library/toolset/toolset-common/user-editors/resource/types/dialog.php ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class Toolset_User_Editors_Resource_Views_Dialog_Types {
5
+ private static $instance;
6
+ private $loaded;
7
+
8
+ private function __construct(){}
9
+ private function __clone(){}
10
+
11
+ public static function getInstance() {
12
+ if( self::$instance === null )
13
+ self::$instance = new self;
14
+
15
+ return self::$instance;
16
+ }
17
+
18
+ private function isLoaded() {
19
+ $this->loaded = true;
20
+ }
21
+
22
+ public function load() {
23
+ // abort on admin screen or if already loaded
24
+ if( is_admin() || $this->loaded !== null )
25
+ return;
26
+
27
+ // Types Fields for "Fields and Views"
28
+ if( defined( 'TYPES_RELPATH' ) )
29
+ add_filter( 'editor_addon_menus_wpv-views', array( $this, 'dialog_types_fields' ) );
30
+
31
+ $this->isLoaded();
32
+ }
33
+
34
+ public function dialog_types_fields( $menu ) {
35
+ if( is_admin() || ! isset( $_GET['fl_builder'] ) || ! defined( 'TYPES_RELPATH' ) )
36
+ return;
37
+
38
+ wp_enqueue_script(
39
+ 'wpcf-js-embedded',
40
+ TYPES_RELPATH . '/library/toolset/types/embedded/resources/js/basic.js',
41
+ array('jquery', 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-tabs', 'select2'),
42
+ WPCF_VERSION
43
+ );
44
+
45
+ $this->types_js_settings();
46
+
47
+ $post_type = 'wp-types-group';
48
+ $only_active = false;
49
+ $add_fields = false;
50
+
51
+ $cache_group = 'types_cache_groups';
52
+ $cache_key = md5( 'group::_get_group' . $post_type );
53
+ $cached_object = wp_cache_get( $cache_key, $cache_group );
54
+ if ( false === $cached_object ) {
55
+ $groups = get_posts( 'numberposts=-1&post_type=' . $post_type . '&post_status=null' );
56
+ wp_cache_add( $cache_key, $groups, $cache_group );
57
+ } else {
58
+ $groups = $cached_object;
59
+ }
60
+ $_groups = array();
61
+ if ( !empty( $groups ) ) {
62
+ foreach ( $groups as $k => $group ) {
63
+ $group = wpcf_admin_fields_adjust_group( $group, $add_fields );
64
+ if ( $only_active && !$group['is_active'] ) {
65
+ continue;
66
+ }
67
+ $_groups[$k] = $group;
68
+ }
69
+ }
70
+
71
+ $groups = $_groups;
72
+
73
+ $all_post_types = implode( ' ', get_post_types( array('public' => true) ) );
74
+ $add = array();
75
+ if ( !empty( $groups ) ) {
76
+
77
+ // $group_id is blank therefore not equal to $group['id']
78
+ // use array for item key and CSS class
79
+ $item_styles = array();
80
+ global $post;
81
+
82
+ foreach ( $groups as $group_id => $group ) {
83
+
84
+ $fields = $this->wpcf_admin_fields_get_fields_by_group( $group['id'],
85
+ 'slug', true, false, true );
86
+ if ( !empty( $fields ) ) {
87
+ // code from Types used here without breaking the flow
88
+ // get post types list for every group or apply all
89
+ $post_types = get_post_meta( $group['id'],
90
+ '_wp_types_group_post_types', true );
91
+ if ( $post_types == 'all' ) {
92
+ $post_types = $all_post_types;
93
+ }
94
+ $post_types = trim( str_replace( ',', ' ', $post_types ) );
95
+ $item_styles[$group['name']] = $post_types;
96
+
97
+ foreach ( $fields as $field_id => $field ) {
98
+
99
+ $callback = 'wpcfFieldsEditorCallback(\'' . $field['id']
100
+ . '\', \'postmeta\', ' . $post->ID . ')';
101
+
102
+ $menu[$group['name']][stripslashes( $field['name'] )] = array(
103
+ stripslashes( $field['name'] ), trim( $this->copy_fields_get_shortcode( $field ),
104
+ '[]' ), $group['name'], $callback);
105
+
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
+ return $menu;
112
+ }
113
+
114
+ public function types_js_settings() {
115
+
116
+ $settings['wpnonce'] = wp_create_nonce( '_typesnonce' );
117
+ $settings['validation'] = array();
118
+ echo '
119
+ <style>
120
+ #colorbox.js-wpcf-colorbox-with-iframe { z-index: 110000 !important; }
121
+ </style>
122
+ <script type="text/javascript">
123
+ //<![CDATA[
124
+ var types = ' . json_encode( $settings ) . ';
125
+ //]]>
126
+ </script>';
127
+ }
128
+
129
+ protected function copy_fields_get_shortcode( $field, $add = '', $content = '' ) {
130
+ $shortcode = '[';
131
+ $shortcode .= "types field='" . $field['slug'] . "'" . $add;
132
+ $shortcode .= ']' . $content . '[/types]';
133
+ $shortcode = apply_filters( 'wpcf_fields_shortcode', $shortcode, $field );
134
+ $shortcode = apply_filters( 'wpcf_fields_shortcode_type_' . $field['type'], $shortcode, $field );
135
+ $shortcode = apply_filters( 'wpcf_fields_shortcode_slug_' . $field['slug'], $shortcode, $field );
136
+ return $shortcode;
137
+ }
138
+
139
+ protected function wpcf_admin_fields_get_fields_by_group( $group_id, $key = 'slug',
140
+ $only_active = false, $disabled_by_type = false,
141
+ $strictly_active = false, $post_type = 'wp-types-group',
142
+ $option_name = 'wpcf-fields', $use_cache = true ) {
143
+ static $cache = array();
144
+ $cache_key = md5( serialize( func_get_args() ) );
145
+ if ( $use_cache && isset( $cache[$cache_key] ) ) {
146
+ return $cache[$cache_key];
147
+ }
148
+ $group_fields = get_post_meta( $group_id, '_wp_types_group_fields', true );
149
+ if ( empty( $group_fields ) ) {
150
+ return array();
151
+ }
152
+ $group_fields = explode( ',', trim( $group_fields, ',' ) );
153
+ $fields = wpcf_admin_fields_get_fields( $only_active, $disabled_by_type,
154
+ $strictly_active, $option_name );
155
+ $results = array();
156
+ foreach ( $group_fields as $field_id ) {
157
+ if ( !isset( $fields[$field_id] ) ) {
158
+ continue;
159
+ }
160
+ $results[$field_id] = $fields[$field_id];
161
+ }
162
+ if ( $use_cache ) {
163
+ $cache[$cache_key] = $results;
164
+ }
165
+ return $results;
166
+ }
167
+
168
+
169
+ }
library/toolset/toolset-common/user-editors/resource/views/dialog/dialog.css ADDED
@@ -0,0 +1,4241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Following is for our dialogs on frontend-editor pages.
3
+ NOTE: we need to define nearly everything because theme css is also applied to our dialog.
4
+ */
5
+ .wpv-fields-and-views-dialog #searchbar-input-for-posts, .toolset-ui-dialog #searchbar-input-for-posts {
6
+ align-content: normal;
7
+ align-items: stretch;
8
+ align-self: stretch;
9
+ alignment-baseline: auto;
10
+ animation-delay: 0s;
11
+ animation-direction: normal;
12
+ animation-duration: 0s;
13
+ animation-fill-mode: none;
14
+ animation-iteration-count: 1;
15
+ animation-name: none;
16
+ animation-play-state: running;
17
+ animation-timing-function: ease;
18
+ backface-visibility: visible;
19
+ background-attachment: scroll;
20
+ background-blend-mode: normal;
21
+ background-clip: border-box;
22
+ background-color: rgb(255, 255, 255);
23
+ background-image: none;
24
+ background-origin: padding-box;
25
+ background-position: 0% 0%;
26
+ background-repeat: repeat;
27
+ background-size: auto;
28
+ baseline-shift: 0px;
29
+ border-bottom-color: rgb(221, 221, 221);
30
+ border-bottom-left-radius: 0px;
31
+ border-bottom-right-radius: 0px;
32
+ border-bottom-style: solid;
33
+ border-bottom-width: 1px;
34
+ border-collapse: separate;
35
+ border-image-outset: 0px;
36
+ border-image-repeat: stretch;
37
+ border-image-slice: 100%;
38
+ border-image-source: none;
39
+ border-image-width: 1;
40
+ border-left-color: rgb(221, 221, 221);
41
+ border-left-style: solid;
42
+ border-left-width: 1px;
43
+ border-right-color: rgb(221, 221, 221);
44
+ border-right-style: solid;
45
+ border-right-width: 1px;
46
+ border-top-color: rgb(221, 221, 221);
47
+ border-top-left-radius: 0px;
48
+ border-top-right-radius: 0px;
49
+ border-top-style: solid;
50
+ border-top-width: 1px;
51
+ bottom: auto;
52
+ box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px 0px inset;
53
+ box-sizing: border-box;
54
+ break-after: auto;
55
+ break-before: auto;
56
+ break-inside: auto;
57
+ buffered-rendering: auto;
58
+ caption-side: top;
59
+ clear: none;
60
+ clip: auto;
61
+ clip-path: none;
62
+ clip-rule: nonzero;
63
+ color: rgb(50, 55, 60);
64
+ color-interpolation: sRGB;
65
+ color-interpolation-filters: linearRGB;
66
+ color-rendering: auto;
67
+ column-count: auto;
68
+ column-gap: normal;
69
+ column-rule-color: rgb(50, 55, 60);
70
+ column-rule-style: none;
71
+ column-rule-width: 0px;
72
+ column-span: none;
73
+ column-width: auto;
74
+ cursor: auto;
75
+ cx: 0px;
76
+ cy: 0px;
77
+ direction: ltr;
78
+ display: inline-block;
79
+ dominant-baseline: auto;
80
+ empty-cells: show;
81
+ fill: rgb(0, 0, 0);
82
+ fill-opacity: 1;
83
+ fill-rule: nonzero;
84
+ filter: none;
85
+ flex-basis: auto;
86
+ flex-direction: row;
87
+ flex-grow: 0;
88
+ flex-shrink: 1;
89
+ flex-wrap: nowrap;
90
+ float: none;
91
+ flood-color: rgb(0, 0, 0);
92
+ flood-opacity: 1;
93
+ font-family: 'Open Sans', sans-serif;
94
+ font-kerning: auto;
95
+ font-size: 13px;
96
+ font-stretch: normal;
97
+ font-style: normal;
98
+ font-variant: normal;
99
+ font-variant-ligatures: normal;
100
+ font-weight: normal;
101
+ height: 26px;
102
+ image-rendering: auto;
103
+ isolation: auto;
104
+ justify-content: normal;
105
+ left: auto;
106
+ letter-spacing: normal;
107
+ lighting-color: rgb(255, 255, 255);
108
+ line-height: normal;
109
+ list-style-image: none;
110
+ list-style-position: outside;
111
+ list-style-type: disc;
112
+ margin-bottom: 1px;
113
+ margin-left: 1px;
114
+ margin-right: 1px;
115
+ margin-top: 1px;
116
+ marker-end: none;
117
+ marker-mid: none;
118
+ marker-start: none;
119
+ mask: none;
120
+ mask-type: luminance;
121
+ max-height: none;
122
+ max-width: none;
123
+ min-height: 0px;
124
+ min-width: 0px;
125
+ mix-blend-mode: normal;
126
+ motion-offset: 0px;
127
+ motion-path: none;
128
+ motion-rotation: auto 0deg;
129
+ object-fit: fill;
130
+ object-position: 50% 50%;
131
+ opacity: 1;
132
+ order: 0;
133
+ orphans: auto;
134
+ outline-color: rgb(50, 55, 60);
135
+ outline-offset: 0px;
136
+ outline-style: none;
137
+ outline-width: 0px;
138
+ overflow-wrap: normal;
139
+ overflow-x: visible;
140
+ overflow-y: visible;
141
+ padding-bottom: 3px;
142
+ padding-left: 5px;
143
+ padding-right: 5px;
144
+ padding-top: 3px;
145
+ paint-order: fill stroke markers;
146
+ perspective: none;
147
+ perspective-origin: 79.5px 13px;
148
+ pointer-events: auto;
149
+ position: static;
150
+ r: 0px;
151
+ resize: none;
152
+ right: auto;
153
+ rx: 0px;
154
+ ry: 0px;
155
+ shape-image-threshold: 0;
156
+ shape-margin: 0px;
157
+ shape-outside: none;
158
+ shape-rendering: auto;
159
+ speak: normal;
160
+ stop-color: rgb(0, 0, 0);
161
+ stop-opacity: 1;
162
+ stroke: none;
163
+ stroke-dasharray: none;
164
+ stroke-dashoffset: 0px;
165
+ stroke-linecap: butt;
166
+ stroke-linejoin: miter;
167
+ stroke-miterlimit: 4;
168
+ stroke-opacity: 1;
169
+ stroke-width: 1px;
170
+ tab-size: 8;
171
+ table-layout: auto;
172
+ text-align: start;
173
+ text-align-last: auto;
174
+ text-anchor: start;
175
+ text-decoration: none;
176
+ text-indent: 0px;
177
+ text-overflow: clip;
178
+ text-rendering: auto;
179
+ text-shadow: none;
180
+ text-transform: none;
181
+ top: auto;
182
+ touch-action: auto;
183
+ transform: none;
184
+ transform-origin: 79.5px 13px;
185
+ transform-style: flat;
186
+ transition-delay: 0s;
187
+ transition-duration: 0.05s;
188
+ transition-property: border-color;
189
+ transition-timing-function: ease-in-out;
190
+ unicode-bidi: normal;
191
+ vector-effect: none;
192
+ vertical-align: baseline;
193
+ visibility: visible;
194
+ white-space: normal;
195
+ widows: 1;
196
+ width: 159px;
197
+ will-change: auto;
198
+ word-break: normal;
199
+ word-spacing: 0px;
200
+ word-wrap: normal;
201
+ writing-mode: horizontal-tb;
202
+ x: 0px;
203
+ y: 0px;
204
+ z-index: auto;
205
+ zoom: 1;
206
+ -webkit-app-region: no-drag;
207
+ -webkit-appearance: none;
208
+ -webkit-background-composite: source-over;
209
+ -webkit-border-horizontal-spacing: 0px;
210
+ -webkit-border-vertical-spacing: 0px;
211
+ -webkit-box-align: stretch;
212
+ -webkit-box-decoration-break: slice;
213
+ -webkit-box-direction: normal;
214
+ -webkit-box-flex: 0;
215
+ -webkit-box-flex-group: 1;
216
+ -webkit-box-lines: single;
217
+ -webkit-box-ordinal-group: 1;
218
+ -webkit-box-orient: horizontal;
219
+ -webkit-box-pack: start;
220
+ -webkit-box-reflect: none;
221
+ -webkit-font-smoothing: auto;
222
+ -webkit-highlight: none;
223
+ -webkit-hyphenate-character: auto;
224
+ -webkit-line-break: auto;
225
+ -webkit-line-clamp: none;
226
+ -webkit-locale: "en-US";
227
+ -webkit-margin-after-collapse: collapse;
228
+ -webkit-margin-before-collapse: collapse;
229
+ -webkit-mask-box-image: none;
230
+ -webkit-mask-box-image-outset: 0px;
231
+ -webkit-mask-box-image-repeat: stretch;
232
+ -webkit-mask-box-image-slice: 0 fill;
233
+ -webkit-mask-box-image-source: none;
234
+ -webkit-mask-box-image-width: auto;
235
+ -webkit-mask-clip: border-box;
236
+ -webkit-mask-composite: source-over;
237
+ -webkit-mask-image: none;
238
+ -webkit-mask-origin: border-box;
239
+ -webkit-mask-position: 0% 0%;
240
+ -webkit-mask-repeat: repeat;
241
+ -webkit-mask-size: auto;
242
+ -webkit-print-color-adjust: economy;
243
+ -webkit-rtl-ordering: logical;
244
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
245
+ -webkit-text-combine: none;
246
+ -webkit-text-decorations-in-effect: none;
247
+ -webkit-text-emphasis-color: rgb(50, 55, 60);
248
+ -webkit-text-emphasis-position: over;
249
+ -webkit-text-emphasis-style: none;
250
+ -webkit-text-fill-color: rgb(50, 55, 60);
251
+ -webkit-text-security: none;
252
+ -webkit-text-stroke-color: rgb(50, 55, 60);
253
+ -webkit-text-stroke-width: 0px;
254
+ -webkit-user-drag: auto;
255
+ -webkit-user-modify: read-only;
256
+ -webkit-user-select: text;
257
+ -webkit-border-image: none;
258
+ -webkit-text-orientation: vertical-right;
259
+ }
260
+
261
+ .ui-dialog-titlebar {
262
+ align-content: normal;
263
+ align-items: stretch;
264
+ align-self: stretch;
265
+ alignment-baseline: auto;
266
+ animation-delay: 0s;
267
+ animation-direction: normal;
268
+ animation-duration: 0s;
269
+ animation-fill-mode: none;
270
+ animation-iteration-count: 1;
271
+ animation-name: none;
272
+ animation-play-state: running;
273
+ animation-timing-function: ease;
274
+ backface-visibility: visible;
275
+ background-attachment: scroll;
276
+ background-blend-mode: normal;
277
+ background-clip: border-box;
278
+ background-color: rgb(252, 252, 252);
279
+ background-image: none;
280
+ background-origin: padding-box;
281
+ background-position: 0% 0%;
282
+ background-repeat: repeat;
283
+ background-size: auto;
284
+ baseline-shift: 0px;
285
+ border-bottom-color: rgb(221, 221, 221);
286
+ border-bottom-left-radius: 0px;
287
+ border-bottom-right-radius: 0px;
288
+ border-bottom-style: solid;
289
+ border-bottom-width: 1px;
290
+ border-collapse: separate;
291
+ border-image-outset: 0px;
292
+ border-image-repeat: stretch;
293
+ border-image-slice: 100%;
294
+ border-image-source: none;
295
+ border-image-width: 1;
296
+ border-left-color: rgb(221, 221, 221);
297
+ border-left-style: solid;
298
+ border-left-width: 1px;
299
+ border-right-color: rgb(221, 221, 221);
300
+ border-right-style: solid;
301
+ border-right-width: 1px;
302
+ border-top-color: rgb(68, 68, 68);
303
+ border-top-left-radius: 0px;
304
+ border-top-right-radius: 0px;
305
+ border-top-style: none;
306
+ border-top-width: 0px;
307
+ bottom: auto;
308
+ box-shadow: none;
309
+ box-sizing: content-box;
310
+ break-after: auto;
311
+ break-before: auto;
312
+ break-inside: auto;
313
+ buffered-rendering: auto;
314
+ caption-side: top;
315
+ clear: none;
316
+ clip: auto;
317
+ clip-path: none;
318
+ clip-rule: nonzero;
319
+ color: rgb(68, 68, 68);
320
+ color-interpolation: sRGB;
321
+ color-interpolation-filters: linearRGB;
322
+ color-rendering: auto;
323
+ column-count: auto;
324
+ column-gap: normal;
325
+ column-rule-color: rgb(68, 68, 68);
326
+ column-rule-style: none;
327
+ column-rule-width: 0px;
328
+ column-span: none;
329
+ column-width: auto;
330
+ cursor: auto;
331
+ cx: 0px;
332
+ cy: 0px;
333
+ direction: ltr;
334
+ display: block;
335
+ dominant-baseline: auto;
336
+ empty-cells: show;
337
+ fill: rgb(0, 0, 0);
338
+ fill-opacity: 1;
339
+ fill-rule: nonzero;
340
+ filter: none;
341
+ flex-basis: auto;
342
+ flex-direction: row;
343
+ flex-grow: 0;
344
+ flex-shrink: 1;
345
+ flex-wrap: nowrap;
346
+ float: none;
347
+ flood-color: rgb(0, 0, 0);
348
+ flood-opacity: 1;
349
+ font-family: 'Open Sans', sans-serif;
350
+ font-kerning: auto;
351
+ font-size: 18px;
352
+ font-stretch: normal;
353
+ font-style: normal;
354
+ font-variant: normal;
355
+ font-variant-ligatures: normal;
356
+ font-weight: bold;
357
+ height: 36px;
358
+ image-rendering: auto;
359
+ isolation: auto;
360
+ justify-content: normal;
361
+ left: auto;
362
+ letter-spacing: normal;
363
+ lighting-color: rgb(255, 255, 255);
364
+ line-height: 36px;
365
+ list-style-image: none;
366
+ list-style-position: outside;
367
+ list-style-type: disc;
368
+ margin-bottom: 0px;
369
+ margin-left: 0px;
370
+ margin-right: 0px;
371
+ margin-top: 0px;
372
+ marker-end: none;
373
+ marker-mid: none;
374
+ marker-start: none;
375
+ mask: none;
376
+ mask-type: luminance;
377
+ max-height: none;
378
+ max-width: none;
379
+ min-height: 0px;
380
+ min-width: 0px;
381
+ mix-blend-mode: normal;
382
+ motion-offset: 0px;
383
+ motion-path: none;
384
+ motion-rotation: auto 0deg;
385
+ object-fit: fill;
386
+ object-position: 50% 50%;
387
+ opacity: 1;
388
+ order: 0;
389
+ orphans: auto;
390
+ outline-color: rgb(68, 68, 68);
391
+ outline-offset: 0px;
392
+ outline-style: none;
393
+ outline-width: 0px;
394
+ overflow-wrap: normal;
395
+ overflow-x: visible;
396
+ overflow-y: visible;
397
+ padding-bottom: 0px;
398
+ padding-left: 16px;
399
+ padding-right: 36px;
400
+ padding-top: 0px;
401
+ paint-order: fill stroke markers;
402
+ perspective: none;
403
+ perspective-origin: 435px 18.5px;
404
+ pointer-events: auto;
405
+ position: static;
406
+ r: 0px;
407
+ resize: none;
408
+ right: auto;
409
+ rx: 0px;
410
+ ry: 0px;
411
+ shape-image-threshold: 0;
412
+ shape-margin: 0px;
413
+ shape-outside: none;
414
+ shape-rendering: auto;
415
+ speak: normal;
416
+ stop-color: rgb(0, 0, 0);
417
+ stop-opacity: 1;
418
+ stroke: none;
419
+ stroke-dasharray: none;
420
+ stroke-dashoffset: 0px;
421
+ stroke-linecap: butt;
422
+ stroke-linejoin: miter;
423
+ stroke-miterlimit: 4;
424
+ stroke-opacity: 1;
425
+ stroke-width: 1px;
426
+ tab-size: 8;
427
+ table-layout: auto;
428
+ text-align: start;
429
+ text-align-last: auto;
430
+ text-anchor: start;
431
+ text-decoration: none;
432
+ text-indent: 0px;
433
+ text-overflow: clip;
434
+ text-rendering: auto;
435
+ text-shadow: none;
436
+ text-transform: none;
437
+ top: auto;
438
+ touch-action: auto;
439
+ transform: none;
440
+ transform-origin: 435px 18.5px;
441
+ transform-style: flat;
442
+ transition-delay: 0s;
443
+ transition-duration: 0s;
444
+ transition-property: all;
445
+ transition-timing-function: ease;
446
+ unicode-bidi: normal;
447
+ vector-effect: none;
448
+ vertical-align: baseline;
449
+ visibility: visible;
450
+ white-space: normal;
451
+ widows: 1;
452
+ width: auto;
453
+ will-change: auto;
454
+ word-break: normal;
455
+ word-spacing: 0px;
456
+ word-wrap: normal;
457
+ writing-mode: horizontal-tb;
458
+ x: 0px;
459
+ y: 0px;
460
+ z-index: auto;
461
+ zoom: 1;
462
+ -webkit-app-region: no-drag;
463
+ -webkit-appearance: none;
464
+ -webkit-background-composite: source-over;
465
+ -webkit-border-horizontal-spacing: 0px;
466
+ -webkit-border-vertical-spacing: 0px;
467
+ -webkit-box-align: stretch;
468
+ -webkit-box-decoration-break: slice;
469
+ -webkit-box-direction: normal;
470
+ -webkit-box-flex: 0;
471
+ -webkit-box-flex-group: 1;
472
+ -webkit-box-lines: single;
473
+ -webkit-box-ordinal-group: 1;
474
+ -webkit-box-orient: horizontal;
475
+ -webkit-box-pack: start;
476
+ -webkit-box-reflect: none;
477
+ -webkit-font-smoothing: auto;
478
+ -webkit-highlight: none;
479
+ -webkit-hyphenate-character: auto;
480
+ -webkit-line-break: auto;
481
+ -webkit-line-clamp: none;
482
+ -webkit-locale: "en-US";
483
+ -webkit-margin-after-collapse: collapse;
484
+ -webkit-margin-before-collapse: collapse;
485
+ -webkit-mask-box-image: none;
486
+ -webkit-mask-box-image-outset: 0px;
487
+ -webkit-mask-box-image-repeat: stretch;
488
+ -webkit-mask-box-image-slice: 0 fill;
489
+ -webkit-mask-box-image-source: none;
490
+ -webkit-mask-box-image-width: auto;
491
+ -webkit-mask-clip: border-box;
492
+ -webkit-mask-composite: source-over;
493
+ -webkit-mask-image: none;
494
+ -webkit-mask-origin: border-box;
495
+ -webkit-mask-position: 0% 0%;
496
+ -webkit-mask-repeat: repeat;
497
+ -webkit-mask-size: auto;
498
+ -webkit-print-color-adjust: economy;
499
+ -webkit-rtl-ordering: logical;
500
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
501
+ -webkit-text-combine: none;
502
+ -webkit-text-decorations-in-effect: none;
503
+ -webkit-text-emphasis-color: rgb(68, 68, 68);
504
+ -webkit-text-emphasis-position: over;
505
+ -webkit-text-emphasis-style: none;
506
+ -webkit-text-fill-color: rgb(68, 68, 68);
507
+ -webkit-text-security: none;
508
+ -webkit-text-stroke-color: rgb(68, 68, 68);
509
+ -webkit-text-stroke-width: 0px;
510
+ -webkit-user-drag: auto;
511
+ -webkit-user-modify: read-only;
512
+ -webkit-user-select: text;
513
+ -webkit-border-image: none;
514
+ -webkit-text-orientation: vertical-right;
515
+ }
516
+
517
+ .ui-dialog-titlebar-close {
518
+ align-items: flex-start;
519
+ background-attachment: scroll;
520
+ background-clip: border-box;
521
+ background-color: rgba(0, 0, 0, 0);
522
+ background-image: none;
523
+ background-origin: padding-box;
524
+ background-size: auto;
525
+ border-bottom-color: rgb(102, 102, 102);
526
+ border-bottom-left-radius: 3px;
527
+ border-bottom-right-radius: 3px;
528
+ border-bottom-style: none;
529
+ border-bottom-width: 0px;
530
+ border-image-outset: 0px;
531
+ border-image-repeat: stretch;
532
+ border-image-slice: 100%;
533
+ border-image-source: none;
534
+ border-image-width: 1;
535
+ border-left-color: rgb(102, 102, 102);
536
+ border-left-style: none;
537
+ border-left-width: 0px;
538
+ border-right-color: rgb(102, 102, 102);
539
+ border-right-style: none;
540
+ border-right-width: 0px;
541
+ border-top-color: rgb(102, 102, 102);
542
+ border-top-left-radius: 3px;
543
+ border-top-right-radius: 3px;
544
+ border-top-style: none;
545
+ border-top-width: 0px;
546
+ box-shadow: none;
547
+ box-sizing: border-box;
548
+ color: rgb(102, 102, 102);
549
+ cursor: pointer;
550
+ display: block;
551
+ font-family: 'Open Sans', sans-serif;
552
+ font-size: 13px;
553
+ font-stretch: normal;
554
+ font-style: normal;
555
+ font-variant: normal;
556
+ font-weight: 600;
557
+ height: 36px;
558
+ letter-spacing: normal;
559
+ line-height: 26px;
560
+ margin-bottom: 0px;
561
+ margin-left: 0px;
562
+ margin-right: 0px;
563
+ margin-top: 0px;
564
+ padding-bottom: 0px;
565
+ padding-left: 0px;
566
+ padding-right: 0px;
567
+ padding-top: 0px;
568
+ position: absolute;
569
+ right: 0px;
570
+ text-align: center;
571
+ text-decoration: none;
572
+ text-indent: 0px;
573
+ text-rendering: auto;
574
+ text-shadow: none;
575
+ text-transform: none;
576
+ top: 0px;
577
+ vertical-align: top;
578
+ white-space: nowrap;
579
+ width: 36px;
580
+ word-spacing: 0px;
581
+ writing-mode: horizontal-tb;
582
+ }
583
+
584
+ .wpv-fields-and-views-dialog label,
585
+ .toolset-ui-dialog label {
586
+ color: rgb(68, 68, 68);
587
+ cursor: pointer;
588
+ display: inline;
589
+ font-family: 'Open Sans', sans-serif;
590
+ font-size: 13px;
591
+ height: auto;
592
+ line-height: 18.2px;
593
+ vertical-align: middle;
594
+ width: auto;
595
+ }
596
+
597
+ .wpv-fields-and-views-dialog .direct-links-label,
598
+ .toolset-ui-dialog .direct-links-label {
599
+ align-content: normal;
600
+ align-items: stretch;
601
+ align-self: stretch;
602
+ alignment-baseline: auto;
603
+ animation-delay: 0s;
604
+ animation-direction: normal;
605
+ animation-duration: 0s;
606
+ animation-fill-mode: none;
607
+ animation-iteration-count: 1;
608
+ animation-name: none;
609
+ animation-play-state: running;
610
+ animation-timing-function: ease;
611
+ backface-visibility: visible;
612
+ background-attachment: scroll;
613
+ background-blend-mode: normal;
614
+ background-clip: border-box;
615
+ background-color: rgba(0, 0, 0, 0);
616
+ background-image: none;
617
+ background-origin: padding-box;
618
+ background-position: 0% 0%;
619
+ background-repeat: repeat;
620
+ background-size: auto;
621
+ baseline-shift: 0px;
622
+ border-bottom-color: rgb(102, 102, 102);
623
+ border-bottom-left-radius: 0px;
624
+ border-bottom-right-radius: 0px;
625
+ border-bottom-style: none;
626
+ border-bottom-width: 0px;
627
+ border-collapse: separate;
628
+ border-image-outset: 0px;
629
+ border-image-repeat: stretch;
630
+ border-image-slice: 100%;
631
+ border-image-source: none;
632
+ border-image-width: 1;
633
+ border-left-color: rgb(102, 102, 102);
634
+ border-left-style: none;
635
+ border-left-width: 0px;
636
+ border-right-color: rgb(102, 102, 102);
637
+ border-right-style: none;
638
+ border-right-width: 0px;
639
+ border-top-color: rgb(102, 102, 102);
640
+ border-top-left-radius: 0px;
641
+ border-top-right-radius: 0px;
642
+ border-top-style: none;
643
+ border-top-width: 0px;
644
+ bottom: auto;
645
+ box-shadow: none;
646
+ box-sizing: content-box;
647
+ break-after: auto;
648
+ break-before: auto;
649
+ break-inside: auto;
650
+ buffered-rendering: auto;
651
+ caption-side: top;
652
+ clear: none;
653
+ clip: auto;
654
+ clip-path: none;
655
+ clip-rule: nonzero;
656
+ color: rgb(102, 102, 102);
657
+ color-interpolation: sRGB;
658
+ color-interpolation-filters: linearRGB;
659
+ color-rendering: auto;
660
+ column-count: auto;
661
+ column-gap: normal;
662
+ column-rule-color: rgb(102, 102, 102);
663
+ column-rule-style: none;
664
+ column-rule-width: 0px;
665
+ column-span: none;
666
+ column-width: auto;
667
+ cursor: auto;
668
+ cx: 0px;
669
+ cy: 0px;
670
+ direction: ltr;
671
+ display: inline-block;
672
+ dominant-baseline: auto;
673
+ empty-cells: show;
674
+ fill: rgb(0, 0, 0);
675
+ fill-opacity: 1;
676
+ fill-rule: nonzero;
677
+ filter: none;
678
+ flex-basis: auto;
679
+ flex-direction: row;
680
+ flex-grow: 0;
681
+ flex-shrink: 1;
682
+ flex-wrap: nowrap;
683
+ float: none;
684
+ flood-color: rgb(0, 0, 0);
685
+ flood-opacity: 1;
686
+ font-family: 'Open Sans', sans-serif;
687
+ font-kerning: auto;
688
+ font-size: 13px;
689
+ font-stretch: normal;
690
+ font-style: normal;
691
+ font-variant: normal;
692
+ font-variant-ligatures: normal;
693
+ font-weight: normal;
694
+ height: 18px;
695
+ image-rendering: auto;
696
+ isolation: auto;
697
+ justify-content: normal;
698
+ left: auto;
699
+ letter-spacing: normal;
700
+ lighting-color: rgb(255, 255, 255);
701
+ line-height: 18.2px;
702
+ list-style-image: none;
703
+ list-style-position: outside;
704
+ list-style-type: none;
705
+ margin-bottom: 0px;
706
+ margin-left: 0px;
707
+ margin-right: 0px;
708
+ margin-top: 0px;
709
+ marker-end: none;
710
+ marker-mid: none;
711
+ marker-start: none;
712
+ mask: none;
713
+ mask-type: luminance;
714
+ max-height: none;
715
+ max-width: none;
716
+ min-height: 0px;
717
+ min-width: 0px;
718
+ mix-blend-mode: normal;
719
+ motion-offset: 0px;
720
+ motion-path: none;
721
+ motion-rotation: auto 0deg;
722
+ object-fit: fill;
723
+ object-position: 50% 50%;
724
+ opacity: 1;
725
+ order: 0;
726
+ orphans: auto;
727
+ outline-color: rgb(102, 102, 102);
728
+ outline-offset: 0px;
729
+ outline-style: none;
730
+ outline-width: 0px;
731
+ overflow-wrap: normal;
732
+ overflow-x: visible;
733
+ overflow-y: visible;
734
+ padding-bottom: 0px;
735
+ padding-left: 0px;
736
+ padding-right: 0px;
737
+ padding-top: 0px;
738
+ paint-order: fill stroke markers;
739
+ perspective: none;
740
+ perspective-origin: 25.3906px 9px;
741
+ pointer-events: auto;
742
+ position: static;
743
+ r: 0px;
744
+ resize: none;
745
+ right: auto;
746
+ rx: 0px;
747
+ ry: 0px;
748
+ shape-image-threshold: 0;
749
+ shape-margin: 0px;
750
+ shape-outside: none;
751
+ shape-rendering: auto;
752
+ speak: normal;
753
+ stop-color: rgb(0, 0, 0);
754
+ stop-opacity: 1;
755
+ stroke: none;
756
+ stroke-dasharray: none;
757
+ stroke-dashoffset: 0px;
758
+ stroke-linecap: butt;
759
+ stroke-linejoin: miter;
760
+ stroke-miterlimit: 4;
761
+ stroke-opacity: 1;
762
+ stroke-width: 1px;
763
+ tab-size: 8;
764
+ table-layout: auto;
765
+ text-align: left;
766
+ text-align-last: auto;
767
+ text-anchor: start;
768
+ text-decoration: none;
769
+ text-indent: 0px;
770
+ text-overflow: clip;
771
+ text-rendering: auto;
772
+ text-shadow: none;
773
+ text-transform: none;
774
+ top: auto;
775
+ touch-action: auto;
776
+ transform: none;
777
+ transform-origin: 25.3906px 9px;
778
+ transform-style: flat;
779
+ transition-delay: 0s;
780
+ transition-duration: 0s;
781
+ transition-property: all;
782
+ transition-timing-function: ease;
783
+ unicode-bidi: normal;
784
+ vector-effect: none;
785
+ vertical-align: baseline;
786
+ visibility: visible;
787
+ white-space: normal;
788
+ widows: 1;
789
+ width: auto;
790
+ will-change: auto;
791
+ word-break: normal;
792
+ word-spacing: 0px;
793
+ word-wrap: normal;
794
+ writing-mode: horizontal-tb;
795
+ x: 0px;
796
+ y: 0px;
797
+ z-index: auto;
798
+ zoom: 1;
799
+ -webkit-app-region: no-drag;
800
+ -webkit-appearance: none;
801
+ -webkit-background-composite: source-over;
802
+ -webkit-border-horizontal-spacing: 0px;
803
+ -webkit-border-vertical-spacing: 0px;
804
+ -webkit-box-align: stretch;
805
+ -webkit-box-decoration-break: slice;
806
+ -webkit-box-direction: normal;
807
+ -webkit-box-flex: 0;
808
+ -webkit-box-flex-group: 1;
809
+ -webkit-box-lines: single;
810
+ -webkit-box-ordinal-group: 1;
811
+ -webkit-box-orient: horizontal;
812
+ -webkit-box-pack: start;
813
+ -webkit-box-reflect: none;
814
+ -webkit-font-smoothing: auto;
815
+ -webkit-highlight: none;
816
+ -webkit-hyphenate-character: auto;
817
+ -webkit-line-break: auto;
818
+ -webkit-line-clamp: none;
819
+ -webkit-locale: "en-US";
820
+ -webkit-margin-after-collapse: collapse;
821
+ -webkit-margin-before-collapse: collapse;
822
+ -webkit-mask-box-image: none;
823
+ -webkit-mask-box-image-outset: 0px;
824
+ -webkit-mask-box-image-repeat: stretch;
825
+ -webkit-mask-box-image-slice: 0 fill;
826
+ -webkit-mask-box-image-source: none;
827
+ -webkit-mask-box-image-width: auto;
828
+ -webkit-mask-clip: border-box;
829
+ -webkit-mask-composite: source-over;
830
+ -webkit-mask-image: none;
831
+ -webkit-mask-origin: border-box;
832
+ -webkit-mask-position: 0% 0%;
833
+ -webkit-mask-repeat: repeat;
834
+ -webkit-mask-size: auto;
835
+ -webkit-print-color-adjust: economy;
836
+ -webkit-rtl-ordering: logical;
837
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
838
+ -webkit-text-combine: none;
839
+ -webkit-text-decorations-in-effect: none;
840
+ -webkit-text-emphasis-color: rgb(102, 102, 102);
841
+ -webkit-text-emphasis-position: over;
842
+ -webkit-text-emphasis-style: none;
843
+ -webkit-text-fill-color: rgb(102, 102, 102);
844
+ -webkit-text-security: none;
845
+ -webkit-text-stroke-color: rgb(102, 102, 102);
846
+ -webkit-text-stroke-width: 0px;
847
+ -webkit-user-drag: auto;
848
+ -webkit-user-modify: read-only;
849
+ -webkit-user-select: text;
850
+ -webkit-border-image: none;
851
+ -webkit-text-orientation: vertical-right;
852
+ }
853
+
854
+ .wpv-fields-and-views-dialog .editor-addon-top-link,
855
+ .toolset-ui-dialog .editor-addon-top-link {
856
+ align-content: normal;
857
+ align-items: stretch;
858
+ align-self: stretch;
859
+ alignment-baseline: auto;
860
+ animation-delay: 0s;
861
+ animation-direction: normal;
862
+ animation-duration: 0s;
863
+ animation-fill-mode: none;
864
+ animation-iteration-count: 1;
865
+ animation-name: none;
866
+ animation-play-state: running;
867
+ animation-timing-function: ease;
868
+ backface-visibility: visible;
869
+ background-attachment: scroll;
870
+ background-blend-mode: normal;
871
+ background-clip: border-box;
872
+ background-color: rgba(0, 0, 0, 0);
873
+ background-image: none;
874
+ background-origin: padding-box;
875
+ background-position: 0% 0%;
876
+ background-repeat: repeat;
877
+ background-size: auto;
878
+ baseline-shift: 0px;
879
+ border-bottom-color: rgb(68, 68, 68);
880
+ border-bottom-left-radius: 0px;
881
+ border-bottom-right-radius: 0px;
882
+ border-bottom-style: none;
883
+ border-bottom-width: 0px;
884
+ border-collapse: separate;
885
+ border-image-outset: 0px;
886
+ border-image-repeat: stretch;
887
+ border-image-slice: 100%;
888
+ border-image-source: none;
889
+ border-image-width: 1;
890
+ border-left-color: rgb(68, 68, 68);
891
+ border-left-style: none;
892
+ border-left-width: 0px;
893
+ border-right-color: rgb(204, 204, 204);
894
+ border-right-style: solid;
895
+ border-right-width: 1px;
896
+ border-top-color: rgb(68, 68, 68);
897
+ border-top-left-radius: 0px;
898
+ border-top-right-radius: 0px;
899
+ border-top-style: none;
900
+ border-top-width: 0px;
901
+ bottom: auto;
902
+ box-shadow: none;
903
+ box-sizing: content-box;
904
+ break-after: auto;
905
+ break-before: auto;
906
+ break-inside: auto;
907
+ buffered-rendering: auto;
908
+ caption-side: top;
909
+ clear: none;
910
+ clip: auto;
911
+ clip-path: none;
912
+ clip-rule: nonzero;
913
+ color: rgb(68, 68, 68);
914
+ color-interpolation: sRGB;
915
+ color-interpolation-filters: linearRGB;
916
+ color-rendering: auto;
917
+ column-count: auto;
918
+ column-gap: normal;
919
+ column-rule-color: rgb(68, 68, 68);
920
+ column-rule-style: none;
921
+ column-rule-width: 0px;
922
+ column-span: none;
923
+ column-width: auto;
924
+ cursor: pointer;
925
+ cx: 0px;
926
+ cy: 0px;
927
+ direction: ltr;
928
+ display: inline-block;
929
+ dominant-baseline: auto;
930
+ empty-cells: show;
931
+ fill: rgb(0, 0, 0);
932
+ fill-opacity: 1;
933
+ fill-rule: nonzero;
934
+ filter: none;
935
+ flex-basis: auto;
936
+ flex-direction: row;
937
+ flex-grow: 0;
938
+ flex-shrink: 1;
939
+ flex-wrap: nowrap;
940
+ float: none;
941
+ flood-color: rgb(0, 0, 0);
942
+ flood-opacity: 1;
943
+ font-family: 'Open Sans', sans-serif;
944
+ font-kerning: auto;
945
+ font-size: 13px;
946
+ font-stretch: normal;
947
+ font-style: normal;
948
+ font-variant: normal;
949
+ font-variant-ligatures: normal;
950
+ font-weight: bold;
951
+ height: 18px;
952
+ image-rendering: auto;
953
+ isolation: auto;
954
+ justify-content: normal;
955
+ left: auto;
956
+ letter-spacing: normal;
957
+ lighting-color: rgb(255, 255, 255);
958
+ line-height: 18.2px;
959
+ list-style-image: none;
960
+ list-style-position: outside;
961
+ list-style-type: none;
962
+ margin-bottom: 0px;
963
+ margin-left: 0px;
964
+ margin-right: 0px;
965
+ margin-top: 0px;
966
+ marker-end: none;
967
+ marker-mid: none;
968
+ marker-start: none;
969
+ mask: none;
970
+ mask-type: luminance;
971
+ max-height: none;
972
+ max-width: none;
973
+ min-height: 0px;
974
+ min-width: 0px;
975
+ mix-blend-mode: normal;
976
+ motion-offset: 0px;
977
+ motion-path: none;
978
+ motion-rotation: auto 0deg;
979
+ object-fit: fill;
980
+ object-position: 50% 50%;
981
+ opacity: 1;
982
+ order: 0;
983
+ orphans: auto;
984
+ outline-color: rgb(68, 68, 68);
985
+ outline-offset: 0px;
986
+ outline-style: none;
987
+ outline-width: 0px;
988
+ overflow-wrap: normal;
989
+ overflow-x: visible;
990
+ overflow-y: visible;
991
+ padding-bottom: 0px;
992
+ padding-left: 10px;
993
+ padding-right: 10px;
994
+ padding-top: 0px;
995
+ paint-order: fill stroke markers;
996
+ perspective: none;
997
+ perspective-origin: 26.75px 9px;
998
+ pointer-events: auto;
999
+ position: static;
1000
+ r: 0px;
1001
+ resize: none;
1002
+ right: auto;
1003
+ rx: 0px;
1004
+ ry: 0px;
1005
+ shape-image-threshold: 0;
1006
+ shape-margin: 0px;
1007
+ shape-outside: none;
1008
+ shape-rendering: auto;
1009
+ speak: normal;
1010
+ stop-color: rgb(0, 0, 0);
1011
+ stop-opacity: 1;
1012
+ stroke: none;
1013
+ stroke-dasharray: none;
1014
+ stroke-dashoffset: 0px;
1015
+ stroke-linecap: butt;
1016
+ stroke-linejoin: miter;
1017
+ stroke-miterlimit: 4;
1018
+ stroke-opacity: 1;
1019
+ stroke-width: 1px;
1020
+ tab-size: 8;
1021
+ table-layout: auto;
1022
+ text-align: left;
1023
+ text-align-last: auto;
1024
+ text-anchor: start;
1025
+ text-decoration: none;
1026
+ text-indent: 0px;
1027
+ text-overflow: clip;
1028
+ text-rendering: auto;
1029
+ text-shadow: none;
1030
+ text-transform: none;
1031
+ top: auto;
1032
+ touch-action: auto;
1033
+ transform: none;
1034
+ transform-origin: 26.75px 9px;
1035
+ transform-style: flat;
1036
+ transition-delay: 0s;
1037
+ transition-duration: 0s;
1038
+ transition-property: all;
1039
+ transition-timing-function: ease;
1040
+ unicode-bidi: normal;
1041
+ vector-effect: none;
1042
+ vertical-align: baseline;
1043
+ visibility: visible;
1044
+ white-space: normal;
1045
+ widows: 1;
1046
+ width: auto;
1047
+ will-change: auto;
1048
+ word-break: normal;
1049
+ word-spacing: 0px;
1050
+ word-wrap: normal;
1051
+ writing-mode: horizontal-tb;
1052
+ }
1053
+
1054
+ .wpv-fields-and-views-dialog .group,
1055
+ .toolset-ui-dialog .group {
1056
+ align-content: normal;
1057
+ align-items: stretch;
1058
+ align-self: stretch;
1059
+ alignment-baseline: auto;
1060
+ animation-delay: 0s;
1061
+ animation-direction: normal;
1062
+ animation-duration: 0s;
1063
+ animation-fill-mode: none;
1064
+ animation-iteration-count: 1;
1065
+ animation-name: none;
1066
+ animation-play-state: running;
1067
+ animation-timing-function: ease;
1068
+ backface-visibility: visible;
1069
+ background-attachment: scroll;
1070
+ background-blend-mode: normal;
1071
+ background-clip: border-box;
1072
+ background-color: rgba(0, 0, 0, 0);
1073
+ background-image: none;
1074
+ background-origin: padding-box;
1075
+ background-position: 0% 0%;
1076
+ background-repeat: repeat;
1077
+ background-size: auto;
1078
+ baseline-shift: 0px;
1079
+ border-bottom-color: rgb(68, 68, 68);
1080
+ border-bottom-left-radius: 0px;
1081
+ border-bottom-right-radius: 0px;
1082
+ border-bottom-style: none;
1083
+ border-bottom-width: 0px;
1084
+ border-collapse: separate;
1085
+ border-image-outset: 0px;
1086
+ border-image-repeat: stretch;
1087
+ border-image-slice: 100%;
1088
+ border-image-source: none;
1089
+ border-image-width: 1;
1090
+ border-left-color: rgb(68, 68, 68);
1091
+ border-left-style: none;
1092
+ border-left-width: 0px;
1093
+ border-right-color: rgb(68, 68, 68);
1094
+ border-right-style: none;
1095
+ border-right-width: 0px;
1096
+ border-top-color: rgb(68, 68, 68);
1097
+ border-top-left-radius: 0px;
1098
+ border-top-right-radius: 0px;
1099
+ border-top-style: none;
1100
+ border-top-width: 0px;
1101
+ bottom: auto;
1102
+ box-shadow: none;
1103
+ box-sizing: content-box;
1104
+ break-after: auto;
1105
+ break-before: auto;
1106
+ break-inside: auto;
1107
+ buffered-rendering: auto;
1108
+ caption-side: top;
1109
+ clear: none;
1110
+ clip: auto;
1111
+ clip-path: none;
1112
+ clip-rule: nonzero;
1113
+ color: rgb(68, 68, 68);
1114
+ color-interpolation: sRGB;
1115
+ color-interpolation-filters: linearRGB;
1116
+ color-rendering: auto;
1117
+ column-count: auto;
1118
+ column-gap: normal;
1119
+ column-rule-color: rgb(68, 68, 68);
1120
+ column-rule-style: none;
1121
+ column-rule-width: 0px;
1122
+ column-span: none;
1123
+ column-width: auto;
1124
+ cursor: auto;
1125
+ cx: 0px;
1126
+ cy: 0px;
1127
+ direction: ltr;
1128
+ display: block;
1129
+ dominant-baseline: auto;
1130
+ empty-cells: show;
1131
+ fill: rgb(0, 0, 0);
1132
+ fill-opacity: 1;
1133
+ fill-rule: nonzero;
1134
+ filter: none;
1135
+ flex-basis: auto;
1136
+ flex-direction: row;
1137
+ flex-grow: 0;
1138
+ flex-shrink: 1;
1139
+ flex-wrap: nowrap;
1140
+ float: none;
1141
+ flood-color: rgb(0, 0, 0);
1142
+ flood-opacity: 1;
1143
+ font-family: 'Open Sans', sans-serif;
1144
+ font-kerning: auto;
1145
+ font-size: 13px;
1146
+ font-stretch: normal;
1147
+ font-style: normal;
1148
+ font-variant: normal;
1149
+ font-variant-ligatures: normal;
1150
+ font-weight: normal;
1151
+ height: auto;
1152
+ image-rendering: auto;
1153
+ isolation: auto;
1154
+ justify-content: normal;
1155
+ left: auto;
1156
+ letter-spacing: normal;
1157
+ lighting-color: rgb(255, 255, 255);
1158
+ line-height: 18.2px;
1159
+ list-style-image: none;
1160
+ list-style-position: outside;
1161
+ list-style-type: disc;
1162
+ margin-bottom: 0px;
1163
+ margin-left: 0px;
1164
+ margin-right: 0px;
1165
+ margin-top: 0px;
1166
+ marker-end: none;
1167
+ marker-mid: none;
1168
+ marker-start: none;
1169
+ mask: none;
1170
+ mask-type: luminance;
1171
+ max-height: none;
1172
+ max-width: none;
1173
+ min-height: 0px;
1174
+ min-width: 0px;
1175
+ mix-blend-mode: normal;
1176
+ motion-offset: 0px;
1177
+ motion-path: none;
1178
+ motion-rotation: auto 0deg;
1179
+ object-fit: fill;
1180
+ object-position: 50% 50%;
1181
+ opacity: 1;
1182
+ order: 0;
1183
+ orphans: auto;
1184
+ outline-color: rgb(68, 68, 68);
1185
+ outline-offset: 0px;
1186
+ outline-style: none;
1187
+ outline-width: 0px;
1188
+ overflow-wrap: normal;
1189
+ overflow-x: visible;
1190
+ overflow-y: visible;
1191
+ padding-bottom: 0px;
1192
+ padding-left: 0px;
1193
+ padding-right: 0px;
1194
+ padding-top: 0px;
1195
+ paint-order: fill stroke markers;
1196
+ perspective: none;
1197
+ perspective-origin: 419px 61.1406px;
1198
+ pointer-events: auto;
1199
+ position: static;
1200
+ r: 0px;
1201
+ resize: none;
1202
+ right: auto;
1203
+ rx: 0px;
1204
+ ry: 0px;
1205
+ shape-image-threshold: 0;
1206
+ shape-margin: 0px;
1207
+ shape-outside: none;
1208
+ shape-rendering: auto;
1209
+ speak: normal;
1210
+ stop-color: rgb(0, 0, 0);
1211
+ stop-opacity: 1;
1212
+ stroke: none;
1213
+ stroke-dasharray: none;
1214
+ stroke-dashoffset: 0px;
1215
+ stroke-linecap: butt;
1216
+ stroke-linejoin: miter;
1217
+ stroke-miterlimit: 4;
1218
+ stroke-opacity: 1;
1219
+ stroke-width: 1px;
1220
+ tab-size: 8;
1221
+ table-layout: auto;
1222
+ text-align: start;
1223
+ text-align-last: auto;
1224
+ text-anchor: start;
1225
+ text-decoration: none;
1226
+ text-indent: 0px;
1227
+ text-overflow: clip;
1228
+ text-rendering: auto;
1229
+ text-shadow: none;
1230
+ text-transform: none;
1231
+ top: auto;
1232
+ touch-action: auto;
1233
+ transform: none;
1234
+ transform-origin: 419px 61.1406px;
1235
+ transform-style: flat;
1236
+ transition-delay: 0s;
1237
+ transition-duration: 0s;
1238
+ transition-property: all;
1239
+ transition-timing-function: ease;
1240
+ unicode-bidi: normal;
1241
+ vector-effect: none;
1242
+ vertical-align: baseline;
1243
+ visibility: visible;
1244
+ white-space: normal;
1245
+ widows: 1;
1246
+ width: auto;
1247
+ will-change: auto;
1248
+ word-break: normal;
1249
+ word-spacing: 0px;
1250
+ word-wrap: normal;
1251
+ writing-mode: horizontal-tb;
1252
+ }
1253
+
1254
+ .wpv-fields-and-views-dialog .editor-addon-top-link,
1255
+ .toolset-ui-dialog .editor-addon-top-link {
1256
+ align-content: normal;
1257
+ align-items: stretch;
1258
+ align-self: stretch;
1259
+ alignment-baseline: auto;
1260
+ animation-delay: 0s;
1261
+ animation-direction: normal;
1262
+ animation-duration: 0s;
1263
+ animation-fill-mode: none;
1264
+ animation-iteration-count: 1;
1265
+ animation-name: none;
1266
+ animation-play-state: running;
1267
+ animation-timing-function: ease;
1268
+ backface-visibility: visible;
1269
+ background-attachment: scroll;
1270
+ background-blend-mode: normal;
1271
+ background-clip: border-box;
1272
+ background-color: rgba(0, 0, 0, 0);
1273
+ background-image: none;
1274
+ background-origin: padding-box;
1275
+ background-position: 0% 0%;
1276
+ background-repeat: repeat;
1277
+ background-size: auto;
1278
+ baseline-shift: 0px;
1279
+ border-bottom-color: rgb(68, 68, 68);
1280
+ border-bottom-left-radius: 0px;
1281
+ border-bottom-right-radius: 0px;
1282
+ border-bottom-style: none;
1283
+ border-bottom-width: 0px;
1284
+ border-collapse: separate;
1285
+ border-image-outset: 0px;
1286
+ border-image-repeat: stretch;
1287
+ border-image-slice: 100%;
1288
+ border-image-source: none;
1289
+ border-image-width: 1;
1290
+ border-left-color: rgb(68, 68, 68);
1291
+ border-left-style: none;
1292
+ border-left-width: 0px;
1293
+ border-right-color: rgb(204, 204, 204);
1294
+ border-right-style: solid;
1295
+ border-right-width: 1px;
1296
+ border-top-color: rgb(68, 68, 68);
1297
+ border-top-left-radius: 0px;
1298
+ border-top-right-radius: 0px;
1299
+ border-top-style: none;
1300
+ border-top-width: 0px;
1301
+ bottom: auto;
1302
+ box-shadow: none;
1303
+ box-sizing: content-box;
1304
+ break-after: auto;
1305
+ break-before: auto;
1306
+ break-inside: auto;
1307
+ buffered-rendering: auto;
1308
+ caption-side: top;
1309
+ clear: none;
1310
+ clip: auto;
1311
+ clip-path: none;
1312
+ clip-rule: nonzero;
1313
+ color: rgb(68, 68, 68);
1314
+ color-interpolation: sRGB;
1315
+ color-interpolation-filters: linearRGB;
1316
+ color-rendering: auto;
1317
+ column-count: auto;
1318
+ column-gap: normal;
1319
+ column-rule-color: rgb(68, 68, 68);
1320
+ column-rule-style: none;
1321
+ column-rule-width: 0px;
1322
+ column-span: none;
1323
+ column-width: auto;
1324
+ cursor: pointer;
1325
+ cx: 0px;
1326
+ cy: 0px;
1327
+ direction: ltr;
1328
+ display: inline-block;
1329
+ dominant-baseline: auto;
1330
+ empty-cells: show;
1331
+ fill: rgb(0, 0, 0);
1332
+ fill-opacity: 1;
1333
+ fill-rule: nonzero;
1334
+ filter: none;
1335
+ flex-basis: auto;
1336
+ flex-direction: row;
1337
+ flex-grow: 0;
1338
+ flex-shrink: 1;
1339
+ flex-wrap: nowrap;
1340
+ float: none;
1341
+ flood-color: rgb(0, 0, 0);
1342
+ flood-opacity: 1;
1343
+ font-family: 'Open Sans', sans-serif;
1344
+ font-kerning: auto;
1345
+ font-size: 13px;
1346
+ font-stretch: normal;
1347
+ font-style: normal;
1348
+ font-variant: normal;
1349
+ font-variant-ligatures: normal;
1350
+ font-weight: bold;
1351
+ height: 18px;
1352
+ image-rendering: auto;
1353
+ isolation: auto;
1354
+ justify-content: normal;
1355
+ left: auto;
1356
+ letter-spacing: normal;
1357
+ lighting-color: rgb(255, 255, 255);
1358
+ line-height: 18.2px;
1359
+ list-style-image: none;
1360
+ list-style-position: outside;
1361
+ list-style-type: none;
1362
+ margin-bottom: 0px;
1363
+ margin-left: 0px;
1364
+ margin-right: 0px;
1365
+ margin-top: 0px;
1366
+ marker-end: none;
1367
+ marker-mid: none;
1368
+ marker-start: none;
1369
+ mask: none;
1370
+ mask-type: luminance;
1371
+ max-height: none;
1372
+ max-width: none;
1373
+ min-height: 0px;
1374
+ min-width: 0px;
1375
+ mix-blend-mode: normal;
1376
+ motion-offset: 0px;
1377
+ motion-path: none;
1378
+ motion-rotation: auto 0deg;
1379
+ object-fit: fill;
1380
+ object-position: 50% 50%;
1381
+ opacity: 1;
1382
+ order: 0;
1383
+ orphans: auto;
1384
+ outline-color: rgb(68, 68, 68);
1385
+ outline-offset: 0px;
1386
+ outline-style: none;
1387
+ outline-width: 0px;
1388
+ overflow-wrap: normal;
1389
+ overflow-x: visible;
1390
+ overflow-y: visible;
1391
+ padding-bottom: 0px;
1392
+ padding-left: 10px;
1393
+ padding-right: 10px;
1394
+ padding-top: 0px;
1395
+ paint-order: fill stroke markers;
1396
+ perspective: none;
1397
+ perspective-origin: 43.2969px 9px;
1398
+ pointer-events: auto;
1399
+ position: static;
1400
+ r: 0px;
1401
+ resize: none;
1402
+ right: auto;
1403
+ rx: 0px;
1404
+ ry: 0px;
1405
+ shape-image-threshold: 0;
1406
+ shape-margin: 0px;
1407
+ shape-outside: none;
1408
+ shape-rendering: auto;
1409
+ speak: normal;
1410
+ stop-color: rgb(0, 0, 0);
1411
+ stop-opacity: 1;
1412
+ stroke: none;
1413
+ stroke-dasharray: none;
1414
+ stroke-dashoffset: 0px;
1415
+ stroke-linecap: butt;
1416
+ stroke-linejoin: miter;
1417
+ stroke-miterlimit: 4;
1418
+ stroke-opacity: 1;
1419
+ stroke-width: 1px;
1420
+ tab-size: 8;
1421
+ table-layout: auto;
1422
+ text-align: left;
1423
+ text-align-last: auto;
1424
+ text-anchor: start;
1425
+ text-decoration: none;
1426
+ text-indent: 0px;
1427
+ text-overflow: clip;
1428
+ text-rendering: auto;
1429
+ text-shadow: none;
1430
+ text-transform: none;
1431
+ top: auto;
1432
+ touch-action: auto;
1433
+ transform: none;
1434
+ transform-origin: 43.2969px 9px;
1435
+ transform-style: flat;
1436
+ transition-delay: 0s;
1437
+ transition-duration: 0s;
1438
+ transition-property: all;
1439
+ transition-timing-function: ease;
1440
+ unicode-bidi: normal;
1441
+ vector-effect: none;
1442
+ vertical-align: baseline;
1443
+ visibility: visible;
1444
+ white-space: normal;
1445
+ widows: 1;
1446
+ width: auto;
1447
+ will-change: auto;
1448
+ word-break: normal;
1449
+ word-spacing: 0px;
1450
+ word-wrap: normal;
1451
+ writing-mode: horizontal-tb;
1452
+ }
1453
+
1454
+ .wpv-fields-and-views-dialog .direct-links,
1455
+ .toolset-ui-dialog .direct-links {
1456
+ align-content: normal;
1457
+ align-items: stretch;
1458
+ align-self: stretch;
1459
+ alignment-baseline: auto;
1460
+ animation-delay: 0s;
1461
+ animation-direction: normal;
1462
+ animation-duration: 0s;
1463
+ animation-fill-mode: none;
1464
+ animation-iteration-count: 1;
1465
+ animation-name: none;
1466
+ animation-play-state: running;
1467
+ animation-timing-function: ease;
1468
+ backface-visibility: visible;
1469
+ background-attachment: scroll;
1470
+ background-blend-mode: normal;
1471
+ background-clip: border-box;
1472
+ background-color: rgba(0, 0, 0, 0);
1473
+ background-image: none;
1474
+ background-origin: padding-box;
1475
+ background-position: 0% 0%;
1476
+ background-repeat: repeat;
1477
+ background-size: auto;
1478
+ baseline-shift: 0px;
1479
+ border-bottom-color: rgb(68, 68, 68);
1480
+ border-bottom-left-radius: 0px;
1481
+ border-bottom-right-radius: 0px;
1482
+ border-bottom-style: none;
1483
+ border-bottom-width: 0px;
1484
+ border-collapse: separate;
1485
+ border-image-outset: 0px;
1486
+ border-image-repeat: stretch;
1487
+ border-image-slice: 100%;
1488
+ border-image-source: none;
1489
+ border-image-width: 1;
1490
+ border-left-color: rgb(68, 68, 68);
1491
+ border-left-style: none;
1492
+ border-left-width: 0px;
1493
+ border-right-color: rgb(68, 68, 68);
1494
+ border-right-style: none;
1495
+ border-right-width: 0px;
1496
+ border-top-color: rgb(68, 68, 68);
1497
+ border-top-left-radius: 0px;
1498
+ border-top-right-radius: 0px;
1499
+ border-top-style: none;
1500
+ border-top-width: 0px;
1501
+ bottom: auto;
1502
+ box-shadow: none;
1503
+ box-sizing: content-box;
1504
+ break-after: auto;
1505
+ break-before: auto;
1506
+ break-inside: auto;
1507
+ buffered-rendering: auto;
1508
+ caption-side: top;
1509
+ clear: none;
1510
+ clip: auto;
1511
+ clip-path: none;
1512
+ clip-rule: nonzero;
1513
+ color: rgb(68, 68, 68);
1514
+ color-interpolation: sRGB;
1515
+ color-interpolation-filters: linearRGB;
1516
+ color-rendering: auto;
1517
+ column-count: auto;
1518
+ column-gap: normal;
1519
+ column-rule-color: rgb(68, 68, 68);
1520
+ column-rule-style: none;
1521
+ column-rule-width: 0px;
1522
+ column-span: none;
1523
+ column-width: auto;
1524
+ cursor: auto;
1525
+ cx: 0px;
1526
+ cy: 0px;
1527
+ direction: ltr;
1528
+ display: inline-block;
1529
+ dominant-baseline: auto;
1530
+ empty-cells: show;
1531
+ fill: rgb(0, 0, 0);
1532
+ fill-opacity: 1;
1533
+ fill-rule: nonzero;
1534
+ filter: none;
1535
+ flex-basis: auto;
1536
+ flex-direction: row;
1537
+ flex-grow: 0;
1538
+ flex-shrink: 1;
1539
+ flex-wrap: nowrap;
1540
+ float: none;
1541
+ flood-color: rgb(0, 0, 0);
1542
+ flood-opacity: 1;
1543
+ font-family: 'Open Sans', sans-serif;
1544
+ font-kerning: auto;
1545
+ font-size: 13px;
1546
+ font-stretch: normal;
1547
+ font-style: normal;
1548
+ font-variant: normal;
1549
+ font-variant-ligatures: normal;
1550
+ font-weight: normal;
1551
+ height: 18px;
1552
+ image-rendering: auto;
1553
+ isolation: auto;
1554
+ justify-content: normal;
1555
+ left: auto;
1556
+ letter-spacing: normal;
1557
+ lighting-color: rgb(255, 255, 255);
1558
+ line-height: 18.2px;
1559
+ list-style-image: none;
1560
+ list-style-position: outside;
1561
+ list-style-type: none;
1562
+ margin-bottom: 13px;
1563
+ margin-left: 0px;
1564
+ margin-right: 0px;
1565
+ margin-top: 13px;
1566
+ marker-end: none;
1567
+ marker-mid: none;
1568
+ marker-start: none;
1569
+ mask: none;
1570
+ mask-type: luminance;
1571
+ max-height: none;
1572
+ max-width: none;
1573
+ min-height: 0px;
1574
+ min-width: 0px;
1575
+ mix-blend-mode: normal;
1576
+ motion-offset: 0px;
1577
+ motion-path: none;
1578
+ motion-rotation: auto 0deg;
1579
+ object-fit: fill;
1580
+ object-position: 50% 50%;
1581
+ opacity: 1;
1582
+ order: 0;
1583
+ orphans: auto;
1584
+ outline-color: rgb(68, 68, 68);
1585
+ outline-offset: 0px;
1586
+ outline-style: none;
1587
+ outline-width: 0px;
1588
+ overflow-wrap: normal;
1589
+ overflow-x: visible;
1590
+ overflow-y: visible;
1591
+ padding-bottom: 0px;
1592
+ padding-left: 0px;
1593
+ padding-right: 0px;
1594
+ padding-top: 10px;
1595
+ paint-order: fill stroke markers;
1596
+ perspective: none;
1597
+ perspective-origin: 410.406px 14px;
1598
+ pointer-events: auto;
1599
+ position: static;
1600
+ r: 0px;
1601
+ resize: none;
1602
+ right: auto;
1603
+ rx: 0px;
1604
+ ry: 0px;
1605
+ shape-image-threshold: 0;
1606
+ shape-margin: 0px;
1607
+ shape-outside: none;
1608
+ shape-rendering: auto;
1609
+ speak: normal;
1610
+ stop-color: rgb(0, 0, 0);
1611
+ stop-opacity: 1;
1612
+ stroke: none;
1613
+ stroke-dasharray: none;
1614
+ stroke-dashoffset: 0px;
1615
+ stroke-linecap: butt;
1616
+ stroke-linejoin: miter;
1617
+ stroke-miterlimit: 4;
1618
+ stroke-opacity: 1;
1619
+ stroke-width: 1px;
1620
+ tab-size: 8;
1621
+ table-layout: auto;
1622
+ text-align: start;
1623
+ text-align-last: auto;
1624
+ text-anchor: start;
1625
+ text-decoration: none;
1626
+ text-indent: 0px;
1627
+ text-overflow: clip;
1628
+ text-rendering: auto;
1629
+ text-shadow: none;
1630
+ text-transform: none;
1631
+ top: auto;
1632
+ touch-action: auto;
1633
+ transform: none;
1634
+ transform-origin: 410.406px 14px;
1635
+ transform-style: flat;
1636
+ transition-delay: 0s;
1637
+ transition-duration: 0s;
1638
+ transition-property: all;
1639
+ transition-timing-function: ease;
1640
+ unicode-bidi: normal;
1641
+ vector-effect: none;
1642
+ vertical-align: baseline;
1643
+ visibility: visible;
1644
+ white-space: normal;
1645
+ widows: 1;
1646
+ width: auto;
1647
+ will-change: auto;
1648
+ word-break: normal;
1649
+ word-spacing: 0px;
1650
+ word-wrap: normal;
1651
+ writing-mode: horizontal-tb;
1652
+ }
1653
+
1654
+ .wpv-fields-and-views-dialog .group-title,
1655
+ .toolset-ui-dialog .group-title {
1656
+ align-content: normal;
1657
+ align-items: stretch;
1658
+ align-self: stretch;
1659
+ alignment-baseline: auto;
1660
+ animation-delay: 0s;
1661
+ animation-direction: normal;
1662
+ animation-duration: 0s;
1663
+ animation-fill-mode: none;
1664
+ animation-iteration-count: 1;
1665
+ animation-name: none;
1666
+ animation-play-state: running;
1667
+ animation-timing-function: ease;
1668
+ backface-visibility: visible;
1669
+ background-attachment: scroll;
1670
+ background-blend-mode: normal;
1671
+ background-clip: border-box;
1672
+ background-color: rgba(0, 0, 0, 0);
1673
+ background-image: none;
1674
+ background-origin: padding-box;
1675
+ background-position: 0% 0%;
1676
+ background-repeat: repeat;
1677
+ background-size: auto;
1678
+ baseline-shift: 0px;
1679
+ border-bottom-color: rgb(68, 68, 68);
1680
+ border-bottom-left-radius: 0px;
1681
+ border-bottom-right-radius: 0px;
1682
+ border-bottom-style: none;
1683
+ border-bottom-width: 0px;
1684
+ border-collapse: separate;
1685
+ border-image-outset: 0px;
1686
+ border-image-repeat: stretch;
1687
+ border-image-slice: 100%;
1688
+ border-image-source: none;
1689
+ border-image-width: 1;
1690
+ border-left-color: rgb(68, 68, 68);
1691
+ border-left-style: none;
1692
+ border-left-width: 0px;
1693
+ border-right-color: rgb(68, 68, 68);
1694
+ border-right-style: none;
1695
+ border-right-width: 0px;
1696
+ border-top-color: rgb(68, 68, 68);
1697
+ border-top-left-radius: 0px;
1698
+ border-top-right-radius: 0px;
1699
+ border-top-style: none;
1700
+ border-top-width: 0px;
1701
+ bottom: auto;
1702
+ box-shadow: none;
1703
+ box-sizing: content-box;
1704
+ break-after: auto;
1705
+ break-before: auto;
1706
+ break-inside: auto;
1707
+ buffered-rendering: auto;
1708
+ caption-side: top;
1709
+ clear: none;
1710
+ clip: auto;
1711
+ clip-path: none;
1712
+ clip-rule: nonzero;
1713
+ color: rgb(68, 68, 68);
1714
+ color-interpolation: sRGB;
1715
+ color-interpolation-filters: linearRGB;
1716
+ color-rendering: auto;
1717
+ column-count: auto;
1718
+ column-gap: normal;
1719
+ column-rule-color: rgb(68, 68, 68);
1720
+ column-rule-style: none;
1721
+ column-rule-width: 0px;
1722
+ column-span: none;
1723
+ column-width: auto;
1724
+ cursor: auto;
1725
+ cx: 0px;
1726
+ cy: 0px;
1727
+ direction: ltr;
1728
+ display: block;
1729
+ dominant-baseline: auto;
1730
+ empty-cells: show;
1731
+ fill: rgb(0, 0, 0);
1732
+ fill-opacity: 1;
1733
+ fill-rule: nonzero;
1734
+ filter: none;
1735
+ flex-basis: auto;
1736
+ flex-direction: row;
1737
+ flex-grow: 0;
1738
+ flex-shrink: 1;
1739
+ flex-wrap: nowrap;
1740
+ float: none;
1741
+ flood-color: rgb(0, 0, 0);
1742
+ flood-opacity: 1;
1743
+ font-family: 'Open Sans', sans-serif;
1744
+ font-kerning: auto;
1745
+ font-size: 13px;
1746
+ font-stretch: normal;
1747
+ font-style: normal;
1748
+ font-variant: normal;
1749
+ font-variant-ligatures: normal;
1750
+ font-weight: 600;
1751
+ height: 18px;
1752
+ image-rendering: auto;
1753
+ isolation: auto;
1754
+ justify-content: normal;
1755
+ left: auto;
1756
+ letter-spacing: normal;
1757
+ lighting-color: rgb(255, 255, 255);
1758
+ line-height: 18.2px;
1759
+ list-style-image: none;
1760
+ list-style-position: outside;
1761
+ list-style-type: disc;
1762
+ margin-bottom: 17.29px;
1763
+ margin-left: 0px;
1764
+ margin-right: 0px;
1765
+ margin-top: 17.29px;
1766
+ marker-end: none;
1767
+ marker-mid: none;
1768
+ marker-start: none;
1769
+ mask: none;
1770
+ mask-type: luminance;
1771
+ max-height: none;
1772
+ max-width: none;
1773
+ min-height: 0px;
1774
+ min-width: 0px;
1775
+ mix-blend-mode: normal;
1776
+ motion-offset: 0px;
1777
+ motion-path: none;
1778
+ motion-rotation: auto 0deg;
1779
+ object-fit: fill;
1780
+ object-position: 50% 50%;
1781
+ opacity: 1;
1782
+ order: 0;
1783
+ orphans: auto;
1784
+ outline-color: rgb(68, 68, 68);
1785
+ outline-offset: 0px;
1786
+ outline-style: none;
1787
+ outline-width: 0px;
1788
+ overflow-wrap: normal;
1789
+ overflow-x: visible;
1790
+ overflow-y: visible;
1791
+ padding-bottom: 0px;
1792
+ padding-left: 0px;
1793
+ padding-right: 0px;
1794
+ padding-top: 0px;
1795
+ paint-order: fill stroke markers;
1796
+ perspective: none;
1797
+ perspective-origin: 419px 9px;
1798
+ pointer-events: auto;
1799
+ position: static;
1800
+ r: 0px;
1801
+ resize: none;
1802
+ right: auto;
1803
+ rx: 0px;
1804
+ ry: 0px;
1805
+ shape-image-threshold: 0;
1806
+ shape-margin: 0px;
1807
+ shape-outside: none;
1808
+ shape-rendering: auto;
1809
+ speak: normal;
1810
+ stop-color: rgb(0, 0, 0);
1811
+ stop-opacity: 1;
1812
+ stroke: none;
1813
+ stroke-dasharray: none;
1814
+ stroke-dashoffset: 0px;
1815
+ stroke-linecap: butt;
1816
+ stroke-linejoin: miter;
1817
+ stroke-miterlimit: 4;
1818
+ stroke-opacity: 1;
1819
+ stroke-width: 1px;
1820
+ tab-size: 8;
1821
+ table-layout: auto;
1822
+ text-align: start;
1823
+ text-align-last: auto;
1824
+ text-anchor: start;
1825
+ text-decoration: none;
1826
+ text-indent: 0px;
1827
+ text-overflow: clip;
1828
+ text-rendering: auto;
1829
+ text-shadow: none;
1830
+ text-transform: none;
1831
+ top: auto;
1832
+ touch-action: auto;
1833
+ transform: none;
1834
+ transform-origin: 419px 9px;
1835
+ transform-style: flat;
1836
+ transition-delay: 0s;
1837
+ transition-duration: 0s;
1838
+ transition-property: all;
1839
+ transition-timing-function: ease;
1840
+ unicode-bidi: normal;
1841
+ vector-effect: none;
1842
+ vertical-align: baseline;
1843
+ visibility: visible;
1844
+ white-space: normal;
1845
+ widows: 1;
1846
+ width: auto;
1847
+ will-change: auto;
1848
+ word-break: normal;
1849
+ word-spacing: 0px;
1850
+ word-wrap: normal;
1851
+ writing-mode: horizontal-tb;
1852
+ }
1853
+
1854
+ .wpv-fields-and-views-dialog .item.button,
1855
+ .toolset-ui-dialog .item.button {
1856
+ align-content: normal;
1857
+ align-items: stretch;
1858
+ align-self: stretch;
1859
+ alignment-baseline: auto;
1860
+ animation-delay: 0s;
1861
+ animation-direction: normal;
1862
+ animation-duration: 0s;
1863
+ animation-fill-mode: none;
1864
+ animation-iteration-count: 1;
1865
+ animation-name: none;
1866
+ animation-play-state: running;
1867
+ animation-timing-function: ease;
1868
+ backface-visibility: visible;
1869
+ background-attachment: scroll;
1870
+ background-blend-mode: normal;
1871
+ background-clip: border-box;
1872
+ background-color: rgb(247, 247, 247);
1873
+ background-image: none;
1874
+ background-origin: padding-box;
1875
+ background-position: 0% 0%;
1876
+ background-repeat: repeat;
1877
+ background-size: auto;
1878
+ baseline-shift: 0px;
1879
+ border-bottom-color: rgb(204, 204, 204);
1880
+ border-bottom-left-radius: 3px;
1881
+ border-bottom-right-radius: 3px;
1882
+ border-bottom-style: solid;
1883
+ border-bottom-width: 1px;
1884
+ border-collapse: separate;
1885
+ border-image-outset: 0px;
1886
+ border-image-repeat: stretch;
1887
+ border-image-slice: 100%;
1888
+ border-image-source: none;
1889
+ border-image-width: 1;
1890
+ border-left-color: rgb(204, 204, 204);
1891
+ border-left-style: solid;
1892
+ border-left-width: 1px;
1893
+ border-right-color: rgb(204, 204, 204);
1894
+ border-right-style: solid;
1895
+ border-right-width: 1px;
1896
+ border-top-color: rgb(204, 204, 204);
1897
+ border-top-left-radius: 3px;
1898
+ border-top-right-radius: 3px;
1899
+ border-top-style: solid;
1900
+ border-top-width: 1px;
1901
+ bottom: auto;
1902
+ box-shadow: rgb(204, 204, 204) 0px 1px 0px 0px;
1903
+ box-sizing: border-box;
1904
+ break-after: auto;
1905
+ break-before: auto;
1906
+ break-inside: auto;
1907
+ buffered-rendering: auto;
1908
+ caption-side: top;
1909
+ clear: none;
1910
+ clip: auto;
1911
+ clip-path: none;
1912
+ clip-rule: nonzero;
1913
+ color: rgb(85, 85, 85);
1914
+ color-interpolation: sRGB;
1915
+ color-interpolation-filters: linearRGB;
1916
+ color-rendering: auto;
1917
+ column-count: auto;
1918
+ column-gap: normal;
1919
+ column-rule-color: rgb(85, 85, 85);
1920
+ column-rule-style: none;
1921
+ column-rule-width: 0px;
1922
+ column-span: none;
1923
+ column-width: auto;
1924
+ cursor: pointer;
1925
+ cx: 0px;
1926
+ cy: 0px;
1927
+ direction: ltr;
1928
+ display: inline-block;
1929
+ dominant-baseline: auto;
1930
+ empty-cells: show;
1931
+ fill: rgb(0, 0, 0);
1932
+ fill-opacity: 1;
1933
+ fill-rule: nonzero;
1934
+ filter: none;
1935
+ flex-basis: auto;
1936
+ flex-direction: row;
1937
+ flex-grow: 0;
1938
+ flex-shrink: 1;
1939
+ flex-wrap: nowrap;
1940
+ float: none;
1941
+ flood-color: rgb(0, 0, 0);
1942
+ flood-opacity: 1;
1943
+ font-family: 'Open Sans', sans-serif;
1944
+ font-kerning: auto;
1945
+ font-size: 11px;
1946
+ font-stretch: normal;
1947
+ font-style: normal;
1948
+ font-variant: normal;
1949
+ font-variant-ligatures: normal;
1950
+ font-weight: normal;
1951
+ height: 24px;
1952
+ image-rendering: auto;
1953
+ isolation: auto;
1954
+ justify-content: normal;
1955
+ left: auto;
1956
+ letter-spacing: normal;
1957
+ lighting-color: rgb(255, 255, 255);
1958
+ line-height: 22px;
1959
+ list-style-image: none;
1960
+ list-style-position: outside;
1961
+ list-style-type: none;
1962
+ margin-bottom: 5px;
1963
+ margin-left: 0px;
1964
+ margin-right: 5px;
1965
+ margin-top: 0px;
1966
+ marker-end: none;
1967
+ marker-mid: none;
1968
+ marker-start: none;
1969
+ mask: none;
1970
+ mask-type: luminance;
1971
+ max-height: none;
1972
+ max-width: none;
1973
+ min-height: 0px;
1974
+ min-width: 0px;
1975
+ mix-blend-mode: normal;
1976
+ motion-offset: 0px;
1977
+ motion-path: none;
1978
+ motion-rotation: auto 0deg;
1979
+ object-fit: fill;
1980
+ object-position: 50% 50%;
1981
+ opacity: 1;
1982
+ order: 0;
1983
+ orphans: auto;
1984
+ outline-color: rgb(85, 85, 85);
1985
+ outline-offset: 0px;
1986
+ outline-style: none;
1987
+ outline-width: 0px;
1988
+ overflow-wrap: normal;
1989
+ overflow-x: visible;
1990
+ overflow-y: visible;
1991
+ padding-bottom: 1px;
1992
+ padding-left: 8px;
1993
+ padding-right: 8px;
1994
+ padding-top: 0px;
1995
+ paint-order: fill stroke markers;
1996
+ perspective: none;
1997
+ perspective-origin: 31.375px 12px;
1998
+ pointer-events: auto;
1999
+ position: static;
2000
+ r: 0px;
2001
+ resize: none;
2002
+ right: auto;
2003
+ rx: 0px;
2004
+ ry: 0px;
2005
+ shape-image-threshold: 0;
2006
+ shape-margin: 0px;
2007
+ shape-outside: none;
2008
+ shape-rendering: auto;
2009
+ speak: normal;
2010
+ stop-color: rgb(0, 0, 0);
2011
+ stop-opacity: 1;
2012
+ stroke: none;
2013
+ stroke-dasharray: none;
2014
+ stroke-dashoffset: 0px;
2015
+ stroke-linecap: butt;
2016
+ stroke-linejoin: miter;
2017
+ stroke-miterlimit: 4;
2018
+ stroke-opacity: 1;
2019
+ stroke-width: 1px;
2020
+ tab-size: 8;
2021
+ table-layout: auto;
2022
+ text-align: left;
2023
+ text-align-last: auto;
2024
+ text-anchor: start;
2025
+ text-decoration: none;
2026
+ text-indent: 0px;
2027
+ text-overflow: clip;
2028
+ text-rendering: auto;
2029
+ text-shadow: none;
2030
+ text-transform: none;
2031
+ top: auto;
2032
+ touch-action: auto;
2033
+ transform: none;
2034
+ transform-origin: 31.375px 12px;
2035
+ transform-style: flat;
2036
+ transition-delay: 0s;
2037
+ transition-duration: 0s;
2038
+ transition-property: all;
2039
+ transition-timing-function: ease;
2040
+ unicode-bidi: normal;
2041
+ vector-effect: none;
2042
+ vertical-align: top;
2043
+ visibility: visible;
2044
+ white-space: nowrap;
2045
+ widows: 1;
2046
+ width: auto;
2047
+ will-change: auto;
2048
+ word-break: normal;
2049
+ word-spacing: 0px;
2050
+ word-wrap: normal;
2051
+ writing-mode: horizontal-tb;
2052
+ }
2053
+
2054
+ .wpv-dialog h2,
2055
+ .toolset-ui-dialog h2 {
2056
+ align-content: normal;
2057
+ align-items: stretch;
2058
+ align-self: stretch;
2059
+ alignment-baseline: auto;
2060
+ animation-delay: 0s;
2061
+ animation-direction: normal;
2062
+ animation-duration: 0s;
2063
+ animation-fill-mode: none;
2064
+ animation-iteration-count: 1;
2065
+ animation-name: none;
2066
+ animation-play-state: running;
2067
+ animation-timing-function: ease;
2068
+ backface-visibility: visible;
2069
+ background-attachment: scroll;
2070
+ background-blend-mode: normal;
2071
+ background-clip: border-box;
2072
+ background-color: rgba(0, 0, 0, 0);
2073
+ background-image: none;
2074
+ background-origin: padding-box;
2075
+ background-position: 0% 0%;
2076
+ background-repeat: repeat;
2077
+ background-size: auto;
2078
+ baseline-shift: 0px;
2079
+ border-bottom-color: rgb(35, 40, 45);
2080
+ border-bottom-left-radius: 0px;
2081
+ border-bottom-right-radius: 0px;
2082
+ border-bottom-style: none;
2083
+ border-bottom-width: 0px;
2084
+ border-collapse: separate;
2085
+ border-image-outset: 0px;
2086
+ border-image-repeat: stretch;
2087
+ border-image-slice: 100%;
2088
+ border-image-source: none;
2089
+ border-image-width: 1;
2090
+ border-left-color: rgb(35, 40, 45);
2091
+ border-left-style: none;
2092
+ border-left-width: 0px;
2093
+ border-right-color: rgb(35, 40, 45);
2094
+ border-right-style: none;
2095
+ border-right-width: 0px;
2096
+ border-top-color: rgb(35, 40, 45);
2097
+ border-top-left-radius: 0px;
2098
+ border-top-right-radius: 0px;
2099
+ border-top-style: none;
2100
+ border-top-width: 0px;
2101
+ bottom: auto;
2102
+ box-shadow: none;
2103
+ box-sizing: content-box;
2104
+ break-after: auto;
2105
+ break-before: auto;
2106
+ break-inside: auto;
2107
+ buffered-rendering: auto;
2108
+ caption-side: top;
2109
+ clear: none;
2110
+ clip: auto;
2111
+ clip-path: none;
2112
+ clip-rule: nonzero;
2113
+ color: rgb(35, 40, 45);
2114
+ color-interpolation: sRGB;
2115
+ color-interpolation-filters: linearRGB;
2116
+ color-rendering: auto;
2117
+ column-count: auto;
2118
+ column-gap: normal;
2119
+ column-rule-color: rgb(35, 40, 45);
2120
+ column-rule-style: none;
2121
+ column-rule-width: 0px;
2122
+ column-span: none;
2123
+ column-width: auto;
2124
+ cursor: auto;
2125
+ cx: 0px;
2126
+ cy: 0px;
2127
+ direction: ltr;
2128
+ display: block;
2129
+ dominant-baseline: auto;
2130
+ empty-cells: show;
2131
+ fill: rgb(0, 0, 0);
2132
+ fill-opacity: 1;
2133
+ fill-rule: nonzero;
2134
+ filter: none;
2135
+ flex-basis: auto;
2136
+ flex-direction: row;
2137
+ flex-grow: 0;
2138
+ flex-shrink: 1;
2139
+ flex-wrap: nowrap;
2140
+ float: none;
2141
+ flood-color: rgb(0, 0, 0);
2142
+ flood-opacity: 1;
2143
+ font-family: 'Open Sans', sans-serif;
2144
+ font-kerning: auto;
2145
+ font-size: 16.9px;
2146
+ font-stretch: normal;
2147
+ font-style: normal;
2148
+ font-variant: normal;
2149
+ font-variant-ligatures: normal;
2150
+ font-weight: 600;
2151
+ height: auto;
2152
+ image-rendering: auto;
2153
+ isolation: auto;
2154
+ justify-content: normal;
2155
+ left: auto;
2156
+ letter-spacing: normal;
2157
+ lighting-color: rgb(255, 255, 255);
2158
+ line-height: 18.2px;
2159
+ list-style-image: none;
2160
+ list-style-position: outside;
2161
+ list-style-type: disc;
2162
+ margin-bottom: 16.9px;
2163
+ margin-left: 0px;
2164
+ margin-right: 0px;
2165
+ margin-top: 5px;
2166
+ marker-end: none;
2167
+ marker-mid: none;
2168
+ marker-start: none;
2169
+ mask: none;
2170
+ mask-type: luminance;
2171
+ max-height: none;
2172
+ max-width: none;
2173
+ min-height: 0px;
2174
+ min-width: 0px;
2175
+ mix-blend-mode: normal;
2176
+ motion-offset: 0px;
2177
+ motion-path: none;
2178
+ motion-rotation: auto 0deg;
2179
+ object-fit: fill;
2180
+ object-position: 50% 50%;
2181
+ opacity: 1;
2182
+ order: 0;
2183
+ orphans: auto;
2184
+ outline-color: rgb(35, 40, 45);
2185
+ outline-offset: 0px;
2186
+ outline-style: none;
2187
+ outline-width: 0px;
2188
+ overflow-wrap: normal;
2189
+ overflow-x: visible;
2190
+ overflow-y: visible;
2191
+ padding-bottom: 0px;
2192
+ padding-left: 0px;
2193
+ padding-right: 0px;
2194
+ padding-top: 0px;
2195
+ paint-order: fill stroke markers;
2196
+ perspective: none;
2197
+ perspective-origin: 251.391px 9px;
2198
+ pointer-events: auto;
2199
+ position: static;
2200
+ r: 0px;
2201
+ resize: none;
2202
+ right: auto;
2203
+ rx: 0px;
2204
+ ry: 0px;
2205
+ shape-image-threshold: 0;
2206
+ shape-margin: 0px;
2207
+ shape-outside: none;
2208
+ shape-rendering: auto;
2209
+ speak: normal;
2210
+ stop-color: rgb(0, 0, 0);
2211
+ stop-opacity: 1;
2212
+ stroke: none;
2213
+ stroke-dasharray: none;
2214
+ stroke-dashoffset: 0px;
2215
+ stroke-linecap: butt;
2216
+ stroke-linejoin: miter;
2217
+ stroke-miterlimit: 4;
2218
+ stroke-opacity: 1;
2219
+ stroke-width: 1px;
2220
+ tab-size: 8;
2221
+ table-layout: auto;
2222
+ text-align: start;
2223
+ text-align-last: auto;
2224
+ text-anchor: start;
2225
+ text-decoration: none;
2226
+ text-indent: 0px;
2227
+ text-overflow: clip;
2228
+ text-rendering: auto;
2229
+ text-shadow: none;
2230
+ text-transform: none;
2231
+ top: auto;
2232
+ touch-action: auto;
2233
+ transform: none;
2234
+ transform-origin: 251.391px 9px;
2235
+ transform-style: flat;
2236
+ transition-delay: 0s;
2237
+ transition-duration: 0s;
2238
+ transition-property: all;
2239
+ transition-timing-function: ease;
2240
+ unicode-bidi: normal;
2241
+ vector-effect: none;
2242
+ vertical-align: baseline;
2243
+ visibility: visible;
2244
+ white-space: normal;
2245
+ widows: 1;
2246
+ width: auto;
2247
+ will-change: auto;
2248
+ word-break: normal;
2249
+ word-spacing: 0px;
2250
+ word-wrap: normal;
2251
+ writing-mode: horizontal-tb;
2252
+ x: 0px;
2253
+ y: 0px;
2254
+ z-index: auto;
2255
+ zoom: 1;
2256
+ -webkit-app-region: no-drag;
2257
+ -webkit-appearance: none;
2258
+ -webkit-background-composite: source-over;
2259
+ -webkit-border-horizontal-spacing: 0px;
2260
+ -webkit-border-vertical-spacing: 0px;
2261
+ -webkit-box-align: stretch;
2262
+ -webkit-box-decoration-break: slice;
2263
+ -webkit-box-direction: normal;
2264
+ -webkit-box-flex: 0;
2265
+ -webkit-box-flex-group: 1;
2266
+ -webkit-box-lines: single;
2267
+ -webkit-box-ordinal-group: 1;
2268
+ -webkit-box-orient: horizontal;
2269
+ -webkit-box-pack: start;
2270
+ -webkit-box-reflect: none;
2271
+ -webkit-font-smoothing: auto;
2272
+ -webkit-highlight: none;
2273
+ -webkit-hyphenate-character: auto;
2274
+ -webkit-line-break: auto;
2275
+ -webkit-line-clamp: none;
2276
+ -webkit-locale: "en-US";
2277
+ -webkit-margin-after-collapse: collapse;
2278
+ -webkit-margin-before-collapse: collapse;
2279
+ -webkit-mask-box-image: none;
2280
+ -webkit-mask-box-image-outset: 0px;
2281
+ -webkit-mask-box-image-repeat: stretch;
2282
+ -webkit-mask-box-image-slice: 0 fill;
2283
+ -webkit-mask-box-image-source: none;
2284
+ -webkit-mask-box-image-width: auto;
2285
+ -webkit-mask-clip: border-box;
2286
+ -webkit-mask-composite: source-over;
2287
+ -webkit-mask-image: none;
2288
+ -webkit-mask-origin: border-box;
2289
+ -webkit-mask-position: 0% 0%;
2290
+ -webkit-mask-repeat: repeat;
2291
+ -webkit-mask-size: auto;
2292
+ -webkit-print-color-adjust: economy;
2293
+ -webkit-rtl-ordering: logical;
2294
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
2295
+ -webkit-text-combine: none;
2296
+ -webkit-text-decorations-in-effect: none;
2297
+ -webkit-text-emphasis-color: rgb(35, 40, 45);
2298
+ -webkit-text-emphasis-position: over;
2299
+ -webkit-text-emphasis-style: none;
2300
+ -webkit-text-fill-color: rgb(35, 40, 45);
2301
+ -webkit-text-security: none;
2302
+ -webkit-text-stroke-color: rgb(35, 40, 45);
2303
+ -webkit-text-stroke-width: 0px;
2304
+ -webkit-user-drag: auto;
2305
+ -webkit-user-modify: read-only;
2306
+ -webkit-user-select: text;
2307
+ -webkit-border-image: none;
2308
+ -webkit-text-orientation: vertical-right;
2309
+ }
2310
+
2311
+ .js-wpv-shortcode-gui-button-insert,
2312
+ .js-wpv-shortcode-gui-button-insert:hover,
2313
+ .toolset-ui-dialog .button-primary,
2314
+ .toolset-ui-dialog .button-primary:hover {
2315
+ align-content: normal;
2316
+ align-items: flex-start;
2317
+ align-self: stretch;
2318
+ alignment-baseline: auto;
2319
+ animation-delay: 0s;
2320
+ animation-direction: normal;
2321
+ animation-duration: 0s;
2322
+ animation-fill-mode: none;
2323
+ animation-iteration-count: 1;
2324
+ animation-name: none;
2325
+ animation-play-state: running;
2326
+ animation-timing-function: ease;
2327
+ backface-visibility: visible;
2328
+ background-attachment: scroll;
2329
+ background-blend-mode: normal;
2330
+ background-clip: border-box;
2331
+ background-color: rgb(0, 133, 186);
2332
+ background-image: none;
2333
+ background-origin: padding-box;
2334
+ background-position: 0% 0%;
2335
+ background-repeat: repeat;
2336
+ background-size: auto;
2337
+ baseline-shift: 0px;
2338
+ border-bottom-color: rgb(0, 103, 153);
2339
+ border-bottom-left-radius: 3px;
2340
+ border-bottom-right-radius: 3px;
2341
+ border-bottom-style: solid;
2342
+ border-bottom-width: 1px;
2343
+ border-collapse: separate;
2344
+ border-image-outset: 0px;
2345
+ border-image-repeat: stretch;
2346
+ border-image-slice: 100%;
2347
+ border-image-source: none;
2348
+ border-image-width: 1;
2349
+ border-left-color: rgb(0, 103, 153);
2350
+ border-left-style: solid;
2351
+ border-left-width: 1px;
2352
+ border-right-color: rgb(0, 103, 153);
2353
+ border-right-style: solid;
2354
+ border-right-width: 1px;
2355
+ border-top-color: rgb(0, 115, 170);
2356
+ border-top-left-radius: 3px;
2357
+ border-top-right-radius: 3px;
2358
+ border-top-style: solid;
2359
+ border-top-width: 1px;
2360
+ bottom: auto;
2361
+ box-shadow: rgb(0, 103, 153) 0px 1px 0px 0px;
2362
+ box-sizing: border-box;
2363
+ break-after: auto;
2364
+ break-before: auto;
2365
+ break-inside: auto;
2366
+ buffered-rendering: auto;
2367
+ caption-side: top;
2368
+ clear: none;
2369
+ clip: auto;
2370
+ clip-path: none;
2371
+ clip-rule: nonzero;
2372
+ color: rgb(255, 255, 255);
2373
+ color-interpolation: sRGB;
2374
+ color-interpolation-filters: linearRGB;
2375
+ color-rendering: auto;
2376
+ column-count: auto;
2377
+ column-gap: normal;
2378
+ column-rule-color: rgb(255, 255, 255);
2379
+ column-rule-style: none;
2380
+ column-rule-width: 0px;
2381
+ column-span: none;
2382
+ column-width: auto;
2383
+ cursor: pointer;
2384
+ cx: 0px;
2385
+ cy: 0px;
2386
+ direction: ltr;
2387
+ display: inline-block;
2388
+ dominant-baseline: auto;
2389
+ empty-cells: show;
2390
+ fill: rgb(0, 0, 0);
2391
+ fill-opacity: 1;
2392
+ fill-rule: nonzero;
2393
+ filter: none;
2394
+ flex-basis: auto;
2395
+ flex-direction: row;
2396
+ flex-grow: 0;
2397
+ flex-shrink: 1;
2398
+ flex-wrap: nowrap;
2399
+ float: none;
2400
+ flood-color: rgb(0, 0, 0);
2401
+ flood-opacity: 1;
2402
+ font-family: 'Open Sans', sans-serif;
2403
+ font-kerning: auto;
2404
+ font-size: 13px;
2405
+ font-stretch: normal;
2406
+ font-style: normal;
2407
+ font-variant: normal;
2408
+ font-variant-ligatures: normal;
2409
+ font-weight: normal;
2410
+ height: 28px;
2411
+ image-rendering: auto;
2412
+ isolation: auto;
2413
+ justify-content: normal;
2414
+ left: auto;
2415
+ letter-spacing: normal;
2416
+ lighting-color: rgb(255, 255, 255);
2417
+ line-height: 18.2px;
2418
+ list-style-image: none;
2419
+ list-style-position: outside;
2420
+ list-style-type: disc;
2421
+ margin-bottom: 0px;
2422
+ margin-left: 16px;
2423
+ margin-right: 0px;
2424
+ margin-top: 0px;
2425
+ marker-end: none;
2426
+ marker-mid: none;
2427
+ marker-start: none;
2428
+ mask: none;
2429
+ mask-type: luminance;
2430
+ max-height: none;
2431
+ max-width: none;
2432
+ min-height: 0px;
2433
+ min-width: 0px;
2434
+ mix-blend-mode: normal;
2435
+ motion-offset: 0px;
2436
+ motion-path: none;
2437
+ motion-rotation: auto 0deg;
2438
+ object-fit: fill;
2439
+ object-position: 50% 50%;
2440
+ opacity: 1;
2441
+ order: 0;
2442
+ orphans: auto;
2443
+ outline-color: rgb(255, 255, 255);
2444
+ outline-offset: 0px;
2445
+ outline-style: none;
2446
+ outline-width: 0px;
2447
+ overflow-wrap: normal;
2448
+ overflow-x: visible;
2449
+ overflow-y: visible;
2450
+ padding-bottom: 1px;
2451
+ padding-left: 10px;
2452
+ padding-right: 10px;
2453
+ padding-top: 0px;
2454
+ paint-order: fill stroke markers;
2455
+ perspective: none;
2456
+ perspective-origin: 60.7969px 14px;
2457
+ pointer-events: auto;
2458
+ position: static;
2459
+ r: 0px;
2460
+ resize: none;
2461
+ right: auto;
2462
+ rx: 0px;
2463
+ ry: 0px;
2464
+ shape-image-threshold: 0;
2465
+ shape-margin: 0px;
2466
+ shape-outside: none;
2467
+ shape-rendering: auto;
2468
+ speak: normal;
2469
+ stop-color: rgb(0, 0, 0);
2470
+ stop-opacity: 1;
2471
+ stroke: none;
2472
+ stroke-dasharray: none;
2473
+ stroke-dashoffset: 0px;
2474
+ stroke-linecap: butt;
2475
+ stroke-linejoin: miter;
2476
+ stroke-miterlimit: 4;
2477
+ stroke-opacity: 1;
2478
+ stroke-width: 1px;
2479
+ tab-size: 8;
2480
+ table-layout: auto;
2481
+ text-align: center;
2482
+ text-align-last: auto;
2483
+ text-anchor: start;
2484
+ text-decoration: none;
2485
+ text-indent: 0px;
2486
+ text-overflow: clip;
2487
+ text-rendering: auto;
2488
+ text-shadow: rgb(0, 103, 153) 0px -1px 1px, rgb(0, 103, 153) 1px 0px 1px, rgb(0, 103, 153) 0px 1px 1px, rgb(0, 103, 153) -1px 0px 1px;
2489
+ text-transform: none;
2490
+ top: auto;
2491
+ touch-action: auto;
2492
+ transform: none;
2493
+ transform-origin: 60.7969px 14px;
2494
+ transform-style: flat;
2495
+ transition-delay: 0s;
2496
+ transition-duration: 0s;
2497
+ transition-property: all;
2498
+ transition-timing-function: ease;
2499
+ unicode-bidi: normal;
2500
+ vector-effect: none;
2501
+ vertical-align: top;
2502
+ visibility: visible;
2503
+ white-space: nowrap;
2504
+ widows: 1;
2505
+ width: auto;
2506
+ will-change: auto;
2507
+ word-break: normal;
2508
+ word-spacing: 0px;
2509
+ word-wrap: normal;
2510
+ writing-mode: horizontal-tb;
2511
+ x: 0px;
2512
+ y: 0px;
2513
+ z-index: auto;
2514
+ zoom: 1;
2515
+ -webkit-app-region: no-drag;
2516
+ -webkit-appearance: none;
2517
+ -webkit-background-composite: source-over;
2518
+ -webkit-border-horizontal-spacing: 0px;
2519
+ -webkit-border-vertical-spacing: 0px;
2520
+ -webkit-box-align: stretch;
2521
+ -webkit-box-decoration-break: slice;
2522
+ -webkit-box-direction: normal;
2523
+ -webkit-box-flex: 0;
2524
+ -webkit-box-flex-group: 1;
2525
+ -webkit-box-lines: single;
2526
+ -webkit-box-ordinal-group: 1;
2527
+ -webkit-box-orient: horizontal;
2528
+ -webkit-box-pack: start;
2529
+ -webkit-box-reflect: none;
2530
+ -webkit-font-smoothing: auto;
2531
+ -webkit-highlight: none;
2532
+ -webkit-hyphenate-character: auto;
2533
+ -webkit-line-break: auto;
2534
+ -webkit-line-clamp: none;
2535
+ -webkit-locale: "en-US";
2536
+ -webkit-margin-after-collapse: collapse;
2537
+ -webkit-margin-before-collapse: collapse;
2538
+ -webkit-mask-box-image: none;
2539
+ -webkit-mask-box-image-outset: 0px;
2540
+ -webkit-mask-box-image-repeat: stretch;
2541
+ -webkit-mask-box-image-slice: 0 fill;
2542
+ -webkit-mask-box-image-source: none;
2543
+ -webkit-mask-box-image-width: auto;
2544
+ -webkit-mask-clip: border-box;
2545
+ -webkit-mask-composite: source-over;
2546
+ -webkit-mask-image: none;
2547
+ -webkit-mask-origin: border-box;
2548
+ -webkit-mask-position: 0% 0%;
2549
+ -webkit-mask-repeat: repeat;
2550
+ -webkit-mask-size: auto;
2551
+ -webkit-print-color-adjust: economy;
2552
+ -webkit-rtl-ordering: logical;
2553
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
2554
+ -webkit-text-combine: none;
2555
+ -webkit-text-decorations-in-effect: none;
2556
+ -webkit-text-emphasis-color: rgb(255, 255, 255);
2557
+ -webkit-text-emphasis-position: over;
2558
+ -webkit-text-emphasis-style: none;
2559
+ -webkit-text-fill-color: rgb(255, 255, 255);
2560
+ -webkit-text-security: none;
2561
+ -webkit-text-stroke-color: rgb(255, 255, 255);
2562
+ -webkit-text-stroke-width: 0px;
2563
+ -webkit-user-drag: auto;
2564
+ -webkit-user-modify: read-only;
2565
+ -webkit-user-select: text;
2566
+ -webkit-border-image: none;
2567
+ -webkit-text-orientation: vertical-right;
2568
+
2569
+ }
2570
+
2571
+ .js-wpv-shortcode-gui-button-close,
2572
+ .toolset-ui-dialog .button-secondary {
2573
+ align-content: normal;
2574
+ align-items: flex-start;
2575
+ align-self: stretch;
2576
+ alignment-baseline: auto;
2577
+ animation-delay: 0s;
2578
+ animation-direction: normal;
2579
+ animation-duration: 0s;
2580
+ animation-fill-mode: none;
2581
+ animation-iteration-count: 1;
2582
+ animation-name: none;
2583
+ animation-play-state: running;
2584
+ animation-timing-function: ease;
2585
+ backface-visibility: visible;
2586
+ background-attachment: scroll;
2587
+ background-blend-mode: normal;
2588
+ background-clip: border-box;
2589
+ background-color: rgb(247, 247, 247);
2590
+ background-image: none;
2591
+ background-origin: padding-box;
2592
+ background-position: 0% 0%;
2593
+ background-repeat: repeat;
2594
+ background-size: auto;
2595
+ baseline-shift: 0px;
2596
+ border-bottom-color: rgb(204, 204, 204);
2597
+ border-bottom-left-radius: 3px;
2598
+ border-bottom-right-radius: 3px;
2599
+ border-bottom-style: solid;
2600
+ border-bottom-width: 1px;
2601
+ border-collapse: separate;
2602
+ border-image-outset: 0px;
2603
+ border-image-repeat: stretch;
2604
+ border-image-slice: 100%;
2605
+ border-image-source: none;
2606
+ border-image-width: 1;
2607
+ border-left-color: rgb(204, 204, 204);
2608
+ border-left-style: solid;
2609
+ border-left-width: 1px;
2610
+ border-right-color: rgb(204, 204, 204);
2611
+ border-right-style: solid;
2612
+ border-right-width: 1px;
2613
+ border-top-color: rgb(204, 204, 204);
2614
+ border-top-left-radius: 3px;
2615
+ border-top-right-radius: 3px;
2616
+ border-top-style: solid;
2617
+ border-top-width: 1px;
2618
+ bottom: auto;
2619
+ box-shadow: rgb(204, 204, 204) 0px 1px 0px 0px;
2620
+ box-sizing: border-box;
2621
+ break-after: auto;
2622
+ break-before: auto;
2623
+ break-inside: auto;
2624
+ buffered-rendering: auto;
2625
+ caption-side: top;
2626
+ clear: none;
2627
+ clip: auto;
2628
+ clip-path: none;
2629
+ clip-rule: nonzero;
2630
+ color: rgb(85, 85, 85);
2631
+ color-interpolation: sRGB;
2632
+ color-interpolation-filters: linearRGB;
2633
+ color-rendering: auto;
2634
+ column-count: auto;
2635
+ column-gap: normal;
2636
+ column-rule-color: rgb(85, 85, 85);
2637
+ column-rule-style: none;
2638
+ column-rule-width: 0px;
2639
+ column-span: none;
2640
+ column-width: auto;
2641
+ cursor: pointer;
2642
+ cx: 0px;
2643
+ cy: 0px;
2644
+ direction: ltr;
2645
+ display: inline-block;
2646
+ dominant-baseline: auto;
2647
+ empty-cells: show;
2648
+ fill: rgb(0, 0, 0);
2649
+ fill-opacity: 1;
2650
+ fill-rule: nonzero;
2651
+ filter: none;
2652
+ flex-basis: auto;
2653
+ flex-direction: row;
2654
+ flex-grow: 0;
2655
+ flex-shrink: 1;
2656
+ flex-wrap: nowrap;
2657
+ float: none;
2658
+ flood-color: rgb(0, 0, 0);
2659
+ flood-opacity: 1;
2660
+ font-family: 'Open Sans', sans-serif;
2661
+ font-kerning: auto;
2662
+ font-size: 13px;
2663
+ font-stretch: normal;
2664
+ font-style: normal;
2665
+ font-variant: normal;
2666
+ font-variant-ligatures: normal;
2667
+ font-weight: normal;
2668
+ height: 28px;
2669
+ image-rendering: auto;
2670
+ isolation: auto;
2671
+ justify-content: normal;
2672
+ left: auto;
2673
+ letter-spacing: normal;
2674
+ lighting-color: rgb(255, 255, 255);
2675
+ line-height: 18.2px;
2676
+ list-style-image: none;
2677
+ list-style-position: outside;
2678
+ list-style-type: disc;
2679
+ margin-bottom: 0px;
2680
+ margin-left: 16px;
2681
+ margin-right: 10px;
2682
+ margin-top: 0px;
2683
+ marker-end: none;
2684
+ marker-mid: none;
2685
+ marker-start: none;
2686
+ mask: none;
2687
+ mask-type: luminance;
2688
+ max-height: none;
2689
+ max-width: none;
2690
+ min-height: 0px;
2691
+ min-width: 0px;
2692
+ mix-blend-mode: normal;
2693
+ motion-offset: 0px;
2694
+ motion-path: none;
2695
+ motion-rotation: auto 0deg;
2696
+ object-fit: fill;
2697
+ object-position: 50% 50%;
2698
+ opacity: 1;
2699
+ order: 0;
2700
+ orphans: auto;
2701
+ outline-color: rgb(85, 85, 85);
2702
+ outline-offset: 0px;
2703
+ outline-style: none;
2704
+ outline-width: 0px;
2705
+ overflow-wrap: normal;
2706
+ overflow-x: visible;
2707
+ overflow-y: visible;
2708
+ padding-bottom: 1px;
2709
+ padding-left: 10px;
2710
+ padding-right: 10px;
2711
+ padding-top: 0px;
2712
+ paint-order: fill stroke markers;
2713
+ perspective: none;
2714
+ perspective-origin: 27.4219px 14px;
2715
+ pointer-events: auto;
2716
+ position: static;
2717
+ r: 0px;
2718
+ resize: none;
2719
+ right: auto;
2720
+ rx: 0px;
2721
+ ry: 0px;
2722
+ shape-image-threshold: 0;
2723
+ shape-margin: 0px;
2724
+ shape-outside: none;
2725
+ shape-rendering: auto;
2726
+ speak: normal;
2727
+ stop-color: rgb(0, 0, 0);
2728
+ stop-opacity: 1;
2729
+ stroke: none;
2730
+ stroke-dasharray: none;
2731
+ stroke-dashoffset: 0px;
2732
+ stroke-linecap: butt;
2733
+ stroke-linejoin: miter;
2734
+ stroke-miterlimit: 4;
2735
+ stroke-opacity: 1;
2736
+ stroke-width: 1px;
2737
+ tab-size: 8;
2738
+ table-layout: auto;
2739
+ text-align: center;
2740
+ text-align-last: auto;
2741
+ text-anchor: start;
2742
+ text-decoration: none;
2743
+ text-indent: 0px;
2744
+ text-overflow: clip;
2745
+ text-rendering: auto;
2746
+ text-shadow: none;
2747
+ text-transform: none;
2748
+ top: auto;
2749
+ touch-action: auto;
2750
+ transform: none;
2751
+ transform-origin: 27.4219px 14px;
2752
+ transform-style: flat;
2753
+ transition-delay: 0s;
2754
+ transition-duration: 0s;
2755
+ transition-property: all;
2756
+ transition-timing-function: ease;
2757
+ unicode-bidi: normal;
2758
+ vector-effect: none;
2759
+ vertical-align: top;
2760
+ visibility: visible;
2761
+ white-space: nowrap;
2762
+ widows: 1;
2763
+ width: auto;
2764
+ will-change: auto;
2765
+ word-break: normal;
2766
+ word-spacing: 0px;
2767
+ word-wrap: normal;
2768
+ writing-mode: horizontal-tb;
2769
+ x: 0px;
2770
+ y: 0px;
2771
+ z-index: auto;
2772
+ zoom: 1;
2773
+ -webkit-app-region: no-drag;
2774
+ -webkit-appearance: none;
2775
+ -webkit-background-composite: source-over;
2776
+ -webkit-border-horizontal-spacing: 0px;
2777
+ -webkit-border-vertical-spacing: 0px;
2778
+ -webkit-box-align: stretch;
2779
+ -webkit-box-decoration-break: slice;
2780
+ -webkit-box-direction: normal;
2781
+ -webkit-box-flex: 0;
2782
+ -webkit-box-flex-group: 1;
2783
+ -webkit-box-lines: single;
2784
+ -webkit-box-ordinal-group: 1;
2785
+ -webkit-box-orient: horizontal;
2786
+ -webkit-box-pack: start;
2787
+ -webkit-box-reflect: none;
2788
+ -webkit-font-smoothing: auto;
2789
+ -webkit-highlight: none;
2790
+ -webkit-hyphenate-character: auto;
2791
+ -webkit-line-break: auto;
2792
+ -webkit-line-clamp: none;
2793
+ -webkit-locale: "en-US";
2794
+ -webkit-margin-after-collapse: collapse;
2795
+ -webkit-margin-before-collapse: collapse;
2796
+ -webkit-mask-box-image: none;
2797
+ -webkit-mask-box-image-outset: 0px;
2798
+ -webkit-mask-box-image-repeat: stretch;
2799
+ -webkit-mask-box-image-slice: 0 fill;
2800
+ -webkit-mask-box-image-source: none;
2801
+ -webkit-mask-box-image-width: auto;
2802
+ -webkit-mask-clip: border-box;
2803
+ -webkit-mask-composite: source-over;
2804
+ -webkit-mask-image: none;
2805
+ -webkit-mask-origin: border-box;
2806
+ -webkit-mask-position: 0% 0%;
2807
+ -webkit-mask-repeat: repeat;
2808
+ -webkit-mask-size: auto;
2809
+ -webkit-print-color-adjust: economy;
2810
+ -webkit-rtl-ordering: logical;
2811
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
2812
+ -webkit-text-combine: none;
2813
+ -webkit-text-decorations-in-effect: none;
2814
+ -webkit-text-emphasis-color: rgb(85, 85, 85);
2815
+ -webkit-text-emphasis-position: over;
2816
+ -webkit-text-emphasis-style: none;
2817
+ -webkit-text-fill-color: rgb(85, 85, 85);
2818
+ -webkit-text-security: none;
2819
+ -webkit-text-stroke-color: rgb(85, 85, 85);
2820
+ -webkit-text-stroke-width: 0px;
2821
+ -webkit-user-drag: auto;
2822
+ -webkit-user-modify: read-only;
2823
+ -webkit-user-select: text;
2824
+ -webkit-border-image: none;
2825
+ -webkit-text-orientation: vertical-right;
2826
+ }
2827
+
2828
+ .wpv-dialog ul,
2829
+ .toolset-ui-dialog ul {
2830
+ align-content: normal;
2831
+ align-items: stretch;
2832
+ align-self: stretch;
2833
+ alignment-baseline: auto;
2834
+ animation-delay: 0s;
2835
+ animation-direction: normal;
2836
+ animation-duration: 0s;
2837
+ animation-fill-mode: none;
2838
+ animation-iteration-count: 1;
2839
+ animation-name: none;
2840
+ animation-play-state: running;
2841
+ animation-timing-function: ease;
2842
+ backface-visibility: visible;
2843
+ background-attachment: scroll;
2844
+ background-blend-mode: normal;
2845
+ background-clip: border-box;
2846
+ background-color: rgba(0, 0, 0, 0);
2847
+ background-image: none;
2848
+ background-origin: padding-box;
2849
+ background-position: 0% 0%;
2850
+ background-repeat: repeat;
2851
+ background-size: auto;
2852
+ baseline-shift: 0px;
2853
+ border-bottom-color: rgb(68, 68, 68);
2854
+ border-bottom-left-radius: 0px;
2855
+ border-bottom-right-radius: 0px;
2856
+ border-bottom-style: none;
2857
+ border-bottom-width: 0px;
2858
+ border-collapse: separate;
2859
+ border-image-outset: 0px;
2860
+ border-image-repeat: stretch;
2861
+ border-image-slice: 100%;
2862
+ border-image-source: none;
2863
+ border-image-width: 1;
2864
+ border-left-color: rgb(68, 68, 68);
2865
+ border-left-style: none;
2866
+ border-left-width: 0px;
2867
+ border-right-color: rgb(68, 68, 68);
2868
+ border-right-style: none;
2869
+ border-right-width: 0px;
2870
+ border-top-color: rgb(68, 68, 68);
2871
+ border-top-left-radius: 0px;
2872
+ border-top-right-radius: 0px;
2873
+ border-top-style: none;
2874
+ border-top-width: 0px;
2875
+ bottom: auto;
2876
+ box-shadow: none;
2877
+ box-sizing: content-box;
2878
+ break-after: auto;
2879
+ break-before: auto;
2880
+ break-inside: auto;
2881
+ buffered-rendering: auto;
2882
+ caption-side: top;
2883
+ clear: none;
2884
+ clip: auto;
2885
+ clip-path: none;
2886
+ clip-rule: nonzero;
2887
+ color: rgb(68, 68, 68);
2888
+ color-interpolation: sRGB;
2889
+ color-interpolation-filters: linearRGB;
2890
+ color-rendering: auto;
2891
+ column-count: auto;
2892
+ column-gap: normal;
2893
+ column-rule-color: rgb(68, 68, 68);
2894
+ column-rule-style: none;
2895
+ column-rule-width: 0px;
2896
+ column-span: none;
2897
+ column-width: auto;
2898
+ cursor: auto;
2899
+ cx: 0px;
2900
+ cy: 0px;
2901
+ direction: ltr;
2902
+ display: block;
2903
+ dominant-baseline: auto;
2904
+ empty-cells: show;
2905
+ fill: rgb(0, 0, 0);
2906
+ fill-opacity: 1;
2907
+ fill-rule: nonzero;
2908
+ filter: none;
2909
+ flex-basis: auto;
2910
+ flex-direction: row;
2911
+ flex-grow: 0;
2912
+ flex-shrink: 1;
2913
+ flex-wrap: nowrap;
2914
+ float: none;
2915
+ flood-color: rgb(0, 0, 0);
2916
+ flood-opacity: 1;
2917
+ font-family: 'Open Sans', sans-serif;
2918
+ font-kerning: auto;
2919
+ font-size: 13px;
2920
+ font-stretch: normal;
2921
+ font-style: normal;
2922
+ font-variant: normal;
2923
+ font-variant-ligatures: normal;
2924
+ font-weight: normal;
2925
+ height: auto;
2926
+ image-rendering: auto;
2927
+ isolation: auto;
2928
+ justify-content: normal;
2929
+ left: auto;
2930
+ letter-spacing: normal;
2931
+ lighting-color: rgb(255, 255, 255);
2932
+ line-height: 18.2px;
2933
+ list-style-image: none;
2934
+ list-style-position: outside;
2935
+ list-style-type: none;
2936
+ margin-bottom: 13px;
2937
+ margin-left: 0px;
2938
+ margin-right: 0px;
2939
+ margin-top: 13px;
2940
+ marker-end: none;
2941
+ marker-mid: none;
2942
+ marker-start: none;
2943
+ mask: none;
2944
+ mask-type: luminance;
2945
+ max-height: none;
2946
+ max-width: none;
2947
+ min-height: 0px;
2948
+ min-width: 0px;
2949
+ mix-blend-mode: normal;
2950
+ motion-offset: 0px;
2951
+ motion-path: none;
2952
+ motion-rotation: auto 0deg;
2953
+ object-fit: fill;
2954
+ object-position: 50% 50%;
2955
+ opacity: 1;
2956
+ order: 0;
2957
+ orphans: auto;
2958
+ outline-color: rgb(68, 68, 68);
2959
+ outline-offset: 0px;
2960
+ outline-style: none;
2961
+ outline-width: 0px;
2962
+ overflow-wrap: normal;
2963
+ overflow-x: visible;
2964
+ overflow-y: visible;
2965
+ padding-bottom: 0px;
2966
+ padding-left: 0px;
2967
+ padding-right: 0px;
2968
+ padding-top: 0px;
2969
+ paint-order: fill stroke markers;
2970
+ perspective: none;
2971
+ perspective-origin: 251.391px 21px;
2972
+ pointer-events: auto;
2973
+ position: static;
2974
+ r: 0px;
2975
+ resize: none;
2976
+ right: auto;
2977
+ rx: 0px;
2978
+ ry: 0px;
2979
+ shape-image-threshold: 0;
2980
+ shape-margin: 0px;
2981
+ shape-outside: none;
2982
+ shape-rendering: auto;
2983
+ speak: normal;
2984
+ stop-color: rgb(0, 0, 0);
2985
+ stop-opacity: 1;
2986
+ stroke: none;
2987
+ stroke-dasharray: none;
2988
+ stroke-dashoffset: 0px;
2989
+ stroke-linecap: butt;
2990
+ stroke-linejoin: miter;
2991
+ stroke-miterlimit: 4;
2992
+ stroke-opacity: 1;
2993
+ stroke-width: 1px;
2994
+ tab-size: 8;
2995
+ table-layout: auto;
2996
+ text-align: start;
2997
+ text-align-last: auto;
2998
+ text-anchor: start;
2999
+ text-decoration: none;
3000
+ text-indent: 0px;
3001
+ text-overflow: clip;
3002
+ text-rendering: auto;
3003
+ text-shadow: none;
3004
+ text-transform: none;
3005
+ top: auto;
3006
+ touch-action: auto;
3007
+ transform: none;
3008
+ transform-origin: 251.391px 21px;
3009
+ transform-style: flat;
3010
+ transition-delay: 0s;
3011
+ transition-duration: 0s;
3012
+ transition-property: all;
3013
+ transition-timing-function: ease;
3014
+ unicode-bidi: normal;
3015
+ vector-effect: none;
3016
+ vertical-align: baseline;
3017
+ visibility: visible;
3018
+ white-space: normal;
3019
+ widows: 1;
3020
+ width: auto;
3021
+ will-change: auto;
3022
+ word-break: normal;
3023
+ word-spacing: 0px;
3024
+ word-wrap: normal;
3025
+ writing-mode: horizontal-tb;
3026
+ x: 0px;
3027
+ y: 0px;
3028
+ z-index: auto;
3029
+ zoom: 1;
3030
+ -webkit-app-region: no-drag;
3031
+ -webkit-appearance: none;
3032
+ -webkit-background-composite: source-over;
3033
+ -webkit-border-horizontal-spacing: 0px;
3034
+ -webkit-border-vertical-spacing: 0px;
3035
+ -webkit-box-align: stretch;
3036
+ -webkit-box-decoration-break: slice;
3037
+ -webkit-box-direction: normal;
3038
+ -webkit-box-flex: 0;
3039
+ -webkit-box-flex-group: 1;
3040
+ -webkit-box-lines: single;
3041
+ -webkit-box-ordinal-group: 1;
3042
+ -webkit-box-orient: horizontal;
3043
+ -webkit-box-pack: start;
3044
+ -webkit-box-reflect: none;
3045
+ -webkit-font-smoothing: auto;
3046
+ -webkit-highlight: none;
3047
+ -webkit-hyphenate-character: auto;
3048
+ -webkit-line-break: auto;
3049
+ -webkit-line-clamp: none;
3050
+ -webkit-locale: "en-US";
3051
+ -webkit-margin-after-collapse: collapse;
3052
+ -webkit-margin-before-collapse: collapse;
3053
+ -webkit-mask-box-image: none;
3054
+ -webkit-mask-box-image-outset: 0px;
3055
+ -webkit-mask-box-image-repeat: stretch;
3056
+ -webkit-mask-box-image-slice: 0 fill;
3057
+ -webkit-mask-box-image-source: none;
3058
+ -webkit-mask-box-image-width: auto;
3059
+ -webkit-mask-clip: border-box;
3060
+ -webkit-mask-composite: source-over;
3061
+ -webkit-mask-image: none;
3062
+ -webkit-mask-origin: border-box;
3063
+ -webkit-mask-position: 0% 0%;
3064
+ -webkit-mask-repeat: repeat;
3065
+ -webkit-mask-size: auto;
3066
+ -webkit-print-color-adjust: economy;
3067
+ -webkit-rtl-ordering: logical;
3068
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
3069
+ -webkit-text-combine: none;
3070
+ -webkit-text-decorations-in-effect: none;
3071
+ -webkit-text-emphasis-color: rgb(68, 68, 68);
3072
+ -webkit-text-emphasis-position: over;
3073
+ -webkit-text-emphasis-style: none;
3074
+ -webkit-text-fill-color: rgb(68, 68, 68);
3075
+ -webkit-text-security: none;
3076
+ -webkit-text-stroke-color: rgb(68, 68, 68);
3077
+ -webkit-text-stroke-width: 0px;
3078
+ -webkit-user-drag: auto;
3079
+ -webkit-user-modify: read-only;
3080
+ -webkit-user-select: text;
3081
+ -webkit-border-image: none;
3082
+ -webkit-text-orientation: vertical-right;
3083
+ }
3084
+
3085
+ .wpv-dialog p.description {
3086
+ align-content: normal;
3087
+ align-items: stretch;
3088
+ align-self: stretch;
3089
+ alignment-baseline: auto;
3090
+ animation-delay: 0s;
3091
+ animation-direction: normal;
3092
+ animation-duration: 0s;
3093
+ animation-fill-mode: none;
3094
+ animation-iteration-count: 1;
3095
+ animation-name: none;
3096
+ animation-play-state: running;
3097
+ animation-timing-function: ease;
3098
+ backface-visibility: visible;
3099
+ background-attachment: scroll;
3100
+ background-blend-mode: normal;
3101
+ background-clip: border-box;
3102
+ background-color: rgba(0, 0, 0, 0);
3103
+ background-image: none;
3104
+ background-origin: padding-box;
3105
+ background-position: 0% 0%;
3106
+ background-repeat: repeat;
3107
+ background-size: auto;
3108
+ baseline-shift: 0px;
3109
+ border-bottom-color: rgb(102, 102, 102);
3110
+ border-bottom-left-radius: 0px;
3111
+ border-bottom-right-radius: 0px;
3112
+ border-bottom-style: none;
3113
+ border-bottom-width: 0px;
3114
+ border-collapse: separate;
3115
+ border-image-outset: 0px;
3116
+ border-image-repeat: stretch;
3117
+ border-image-slice: 100%;
3118
+ border-image-source: none;
3119
+ border-image-width: 1;
3120
+ border-left-color: rgb(102, 102, 102);
3121
+ border-left-style: none;
3122
+ border-left-width: 0px;
3123
+ border-right-color: rgb(102, 102, 102);
3124
+ border-right-style: none;
3125
+ border-right-width: 0px;
3126
+ border-top-color: rgb(102, 102, 102);
3127
+ border-top-left-radius: 0px;
3128
+ border-top-right-radius: 0px;
3129
+ border-top-style: none;
3130
+ border-top-width: 0px;
3131
+ bottom: auto;
3132
+ box-shadow: none;
3133
+ box-sizing: content-box;
3134
+ break-after: auto;
3135
+ break-before: auto;
3136
+ break-inside: auto;
3137
+ buffered-rendering: auto;
3138
+ caption-side: top;
3139
+ clear: none;
3140
+ clip: auto;
3141
+ clip-path: none;
3142
+ clip-rule: nonzero;
3143
+ color: rgb(102, 102, 102);
3144
+ color-interpolation: sRGB;
3145
+ color-interpolation-filters: linearRGB;
3146
+ color-rendering: auto;
3147
+ column-count: auto;
3148
+ column-gap: normal;
3149
+ column-rule-color: rgb(102, 102, 102);
3150
+ column-rule-style: none;
3151
+ column-rule-width: 0px;
3152
+ column-span: none;
3153
+ column-width: auto;
3154
+ cursor: auto;
3155
+ cx: 0px;
3156
+ cy: 0px;
3157
+ direction: ltr;
3158
+ display: block;
3159
+ dominant-baseline: auto;
3160
+ empty-cells: show;
3161
+ fill: rgb(0, 0, 0);
3162
+ fill-opacity: 1;
3163
+ fill-rule: nonzero;
3164
+ filter: none;
3165
+ flex-basis: auto;
3166
+ flex-direction: row;
3167
+ flex-grow: 0;
3168
+ flex-shrink: 1;
3169
+ flex-wrap: nowrap;
3170
+ float: none;
3171
+ flood-color: rgb(0, 0, 0);
3172
+ flood-opacity: 1;
3173
+ font-family: 'Open Sans', sans-serif;
3174
+ font-kerning: auto;
3175
+ font-size: 13px;
3176
+ font-stretch: normal;
3177
+ font-style: italic;
3178
+ font-variant: normal;
3179
+ font-variant-ligatures: normal;
3180
+ font-weight: normal;
3181
+ height: auto;
3182
+ image-rendering: auto;
3183
+ isolation: auto;
3184
+ justify-content: normal;
3185
+ left: auto;
3186
+ letter-spacing: normal;
3187
+ lighting-color: rgb(255, 255, 255);
3188
+ line-height: 19.5px;
3189
+ list-style-image: none;
3190
+ list-style-position: outside;
3191
+ list-style-type: disc;
3192
+ margin-bottom: 5px;
3193
+ margin-left: 0px;
3194
+ margin-right: 0px;
3195
+ margin-top: 2px;
3196
+ marker-end: none;
3197
+ marker-mid: none;
3198
+ marker-start: none;
3199
+ mask: none;
3200
+ mask-type: luminance;
3201
+ max-height: none;
3202
+ max-width: none;
3203
+ min-height: 0px;
3204
+ min-width: 0px;
3205
+ mix-blend-mode: normal;
3206
+ motion-offset: 0px;
3207
+ motion-path: none;
3208
+ motion-rotation: auto 0deg;
3209
+ object-fit: fill;
3210
+ object-position: 50% 50%;
3211
+ opacity: 1;
3212
+ order: 0;
3213
+ orphans: auto;
3214
+ outline-color: rgb(102, 102, 102);
3215
+ outline-offset: 0px;
3216
+ outline-style: none;
3217
+ outline-width: 0px;
3218
+ overflow-wrap: normal;
3219
+ overflow-x: visible;
3220
+ overflow-y: visible;
3221
+ padding-bottom: 0px;
3222
+ padding-left: 0px;
3223
+ padding-right: 0px;
3224
+ padding-top: 0px;
3225
+ paint-order: fill stroke markers;
3226
+ perspective: none;
3227
+ perspective-origin: 251.391px 9.5px;
3228
+ pointer-events: auto;
3229
+ position: static;
3230
+ r: 0px;
3231
+ resize: none;
3232
+ right: auto;
3233
+ rx: 0px;
3234
+ ry: 0px;
3235
+ shape-image-threshold: 0;
3236
+ shape-margin: 0px;
3237
+ shape-outside: none;
3238
+ shape-rendering: auto;
3239
+ speak: normal;
3240
+ stop-color: rgb(0, 0, 0);
3241
+ stop-opacity: 1;
3242
+ stroke: none;
3243
+ stroke-dasharray: none;
3244
+ stroke-dashoffset: 0px;
3245
+ stroke-linecap: butt;
3246
+ stroke-linejoin: miter;
3247
+ stroke-miterlimit: 4;
3248
+ stroke-opacity: 1;
3249
+ stroke-width: 1px;
3250
+ tab-size: 8;
3251
+ table-layout: auto;
3252
+ text-align: start;
3253
+ text-align-last: auto;
3254
+ text-anchor: start;
3255
+ text-decoration: none;
3256
+ text-indent: 0px;
3257
+ text-overflow: clip;
3258
+ text-rendering: auto;
3259
+ text-shadow: none;
3260
+ text-transform: none;
3261
+ top: auto;
3262
+ touch-action: auto;
3263
+ transform: none;
3264
+ transform-origin: 251.391px 9.5px;
3265
+ transform-style: flat;
3266
+ transition-delay: 0s;
3267
+ transition-duration: 0s;
3268
+ transition-property: all;
3269
+ transition-timing-function: ease;
3270
+ unicode-bidi: normal;
3271
+ vector-effect: none;
3272
+ vertical-align: baseline;
3273
+ visibility: visible;
3274
+ white-space: normal;
3275
+ widows: 1;
3276
+ width: auto;
3277
+ will-change: auto;
3278
+ word-break: normal;
3279
+ word-spacing: 0px;
3280
+ word-wrap: normal;
3281
+ writing-mode: horizontal-tb;
3282
+ x: 0px;
3283
+ y: 0px;
3284
+ z-index: auto;
3285
+ zoom: 1;
3286
+ -webkit-app-region: no-drag;
3287
+ -webkit-appearance: none;
3288
+ -webkit-background-composite: source-over;
3289
+ -webkit-border-horizontal-spacing: 0px;
3290
+ -webkit-border-vertical-spacing: 0px;
3291
+ -webkit-box-align: stretch;
3292
+ -webkit-box-decoration-break: slice;
3293
+ -webkit-box-direction: normal;
3294
+ -webkit-box-flex: 0;
3295
+ -webkit-box-flex-group: 1;
3296
+ -webkit-box-lines: single;
3297
+ -webkit-box-ordinal-group: 1;
3298
+ -webkit-box-orient: horizontal;
3299
+ -webkit-box-pack: start;
3300
+ -webkit-box-reflect: none;
3301
+ -webkit-font-smoothing: auto;
3302
+ -webkit-highlight: none;
3303
+ -webkit-hyphenate-character: auto;
3304
+ -webkit-line-break: auto;
3305
+ -webkit-line-clamp: none;
3306
+ -webkit-locale: "en-US";
3307
+ -webkit-margin-after-collapse: collapse;
3308
+ -webkit-margin-before-collapse: collapse;
3309
+ -webkit-mask-box-image: none;
3310
+ -webkit-mask-box-image-outset: 0px;
3311
+ -webkit-mask-box-image-repeat: stretch;
3312
+ -webkit-mask-box-image-slice: 0 fill;
3313
+ -webkit-mask-box-image-source: none;
3314
+ -webkit-mask-box-image-width: auto;
3315
+ -webkit-mask-clip: border-box;
3316
+ -webkit-mask-composite: source-over;
3317
+ -webkit-mask-image: none;
3318
+ -webkit-mask-origin: border-box;
3319
+ -webkit-mask-position: 0% 0%;
3320
+ -webkit-mask-repeat: repeat;
3321
+ -webkit-mask-size: auto;
3322
+ -webkit-print-color-adjust: economy;
3323
+ -webkit-rtl-ordering: logical;
3324
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
3325
+ -webkit-text-combine: none;
3326
+ -webkit-text-decorations-in-effect: none;
3327
+ -webkit-text-emphasis-color: rgb(102, 102, 102);
3328
+ -webkit-text-emphasis-position: over;
3329
+ -webkit-text-emphasis-style: none;
3330
+ -webkit-text-fill-color: rgb(102, 102, 102);
3331
+ -webkit-text-security: none;
3332
+ -webkit-text-stroke-color: rgb(102, 102, 102);
3333
+ -webkit-text-stroke-width: 0px;
3334
+ -webkit-user-drag: auto;
3335
+ -webkit-user-modify: read-only;
3336
+ -webkit-user-select: text;
3337
+ -webkit-border-image: none;
3338
+ -webkit-text-orientation: vertical-right;
3339
+ }
3340
+
3341
+ .wpv-dialog input[type="radio"],
3342
+ .toolset-ui-dialog input[type="radio"] {
3343
+ background-attachment: scroll;
3344
+ background-clip: border-box;
3345
+ background-color: rgb(255, 255, 255);
3346
+ background-image: none;
3347
+ background-origin: padding-box;
3348
+ background-size: auto;
3349
+ border-bottom-color: rgb(180, 185, 190);
3350
+ border-bottom-left-radius: 50%;
3351
+ border-bottom-right-radius: 50%;
3352
+ border-bottom-style: solid;
3353
+ border-bottom-width: 1px;
3354
+ border-image-outset: 0px;
3355
+ border-image-repeat: stretch;
3356
+ border-image-slice: 100%;
3357
+ border-image-source: none;
3358
+ border-image-width: 1;
3359
+ border-left-color: rgb(180, 185, 190);
3360
+ border-left-style: solid;
3361
+ border-left-width: 1px;
3362
+ border-right-color: rgb(180, 185, 190);
3363
+ border-right-style: solid;
3364
+ border-right-width: 1px;
3365
+ border-top-color: rgb(180, 185, 190);
3366
+ border-top-left-radius: 50%;
3367
+ border-top-right-radius: 50%;
3368
+ border-top-style: solid;
3369
+ border-top-width: 1px;
3370
+ box-shadow: rgba(0, 0, 0, 0.0980392) 0px 1px 2px 0px inset;
3371
+ box-sizing: border-box;
3372
+ clear: none;
3373
+ color: rgb(85, 85, 85);
3374
+ cursor: pointer;
3375
+ display: inline-block;
3376
+ font-family: 'Open Sans', sans-serif;
3377
+ font-size: 13px;
3378
+ font-stretch: normal;
3379
+ font-style: normal;
3380
+ font-variant: normal;
3381
+ font-weight: normal;
3382
+ height: 16px;
3383
+ letter-spacing: normal;
3384
+ line-height: 10px;
3385
+ list-style-image: none;
3386
+ list-style-position: outside;
3387
+ list-style-type: none;
3388
+ margin-bottom: 0px;
3389
+ margin-left: 0px;
3390
+ margin-right: 4px;
3391
+ margin-top: -4px;
3392
+ min-width: 16px;
3393
+ outline-color: rgb(85, 85, 85);
3394
+ outline-style: none;
3395
+ outline-width: 0px;
3396
+ padding-bottom: 0px;
3397
+ padding-left: 0px;
3398
+ padding-right: 0px;
3399
+ padding-top: 0px;
3400
+ text-align: center;
3401
+ text-indent: 0px;
3402
+ text-rendering: auto;
3403
+ text-shadow: none;
3404
+ text-transform: none;
3405
+ transition-delay: 0s;
3406
+ transition-duration: 0.05s;
3407
+ transition-property: border-color;
3408
+ transition-timing-function: ease-in-out;
3409
+ vertical-align: middle;
3410
+ width: 16px;
3411
+ word-spacing: 0px;
3412
+ writing-mode: horizontal-tb;
3413
+ }
3414
+
3415
+ .wpv-dialog input[type="text"],
3416
+ .toolset-ui-dialog input[type="text"] {
3417
+ background-color: rgb(255, 255, 255);
3418
+ border-bottom-color: rgb(221, 221, 221);
3419
+ border-bottom-left-radius: 0px;
3420
+ border-bottom-right-radius: 0px;
3421
+ border-bottom-style: solid;
3422
+ border-bottom-width: 1px;
3423
+ border-image-outset: 0px;
3424
+ border-image-repeat: stretch;
3425
+ border-image-slice: 100%;
3426
+ border-image-source: none;
3427
+ border-image-width: 1;
3428
+ border-left-color: rgb(221, 221, 221);
3429
+ border-left-style: solid;
3430
+ border-left-width: 1px;
3431
+ border-right-color: rgb(221, 221, 221);
3432
+ border-right-style: solid;
3433
+ border-right-width: 1px;
3434
+ border-top-color: rgb(221, 221, 221);
3435
+ border-top-left-radius: 0px;
3436
+ border-top-right-radius: 0px;
3437
+ border-top-style: solid;
3438
+ border-top-width: 1px;
3439
+ box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px 0px inset;
3440
+ box-sizing: border-box;
3441
+ color: rgb(50, 55, 60);
3442
+ cursor: auto;
3443
+ display: inline-block;
3444
+ font-family: 'Open Sans', sans-serif;
3445
+ font-size: 13px;
3446
+ font-stretch: normal;
3447
+ font-style: normal;
3448
+ font-variant: normal;
3449
+ font-weight: normal;
3450
+ height: auto;
3451
+ letter-spacing: normal;
3452
+ line-height: normal;
3453
+ list-style-image: none;
3454
+ list-style-position: outside;
3455
+ list-style-type: none;
3456
+ margin-bottom: 1px;
3457
+ margin-left: 1px;
3458
+ margin-right: 1px;
3459
+ margin-top: 1px;
3460
+ outline-color: rgb(50, 55, 60);
3461
+ outline-style: none;
3462
+ outline-width: 0px;
3463
+ padding-bottom: 3px;
3464
+ padding-left: 5px;
3465
+ padding-right: 5px;
3466
+ padding-top: 3px;
3467
+ text-align: start;
3468
+ text-indent: 0px;
3469
+ text-rendering: auto;
3470
+ text-shadow: none;
3471
+ text-transform: none;
3472
+ transition-delay: 0s;
3473
+ transition-duration: 0.05s;
3474
+ transition-property: border-color;
3475
+ transition-timing-function: ease-in-out;
3476
+ width: auto;
3477
+ word-spacing: 0px;
3478
+ writing-mode: horizontal-tb;
3479
+ -webkit-appearance: none;
3480
+ -webkit-rtl-ordering: logical;
3481
+ -webkit-user-select: text;
3482
+ }
3483
+
3484
+ .wpv-dialog .js-toolset-shortcode-gui-invalid-attr,
3485
+ .toolset-ui-dialog .js-toolset-shortcode-gui-invalid-attr {
3486
+ border-color: #B94A48 !important;
3487
+ background-color: #F2DEDE !important;
3488
+ color: #B94A48 !important;
3489
+ }
3490
+
3491
+ .wpv-dialog .toolset-alert,
3492
+ .toolset-ui-dialog .toolset-alert {
3493
+ background-color: rgb(252, 248, 227);
3494
+ border-bottom-color: rgb(251, 238, 213);
3495
+ border-bottom-left-radius: 4px;
3496
+ border-bottom-right-radius: 4px;
3497
+ border-bottom-style: solid;
3498
+ border-bottom-width: 1px;
3499
+ border-image-outset: 0px;
3500
+ border-image-repeat: stretch;
3501
+ border-image-slice: 100%;
3502
+ border-image-source: none;
3503
+ border-image-width: 1;
3504
+ border-left-color: rgb(251, 238, 213);
3505
+ border-left-style: solid;
3506
+ border-left-width: 1px;
3507
+ border-right-color: rgb(251, 238, 213);
3508
+ border-right-style: solid;
3509
+ border-right-width: 1px;
3510
+ border-top-color: rgb(251, 238, 213);
3511
+ border-top-left-radius: 4px;
3512
+ border-top-right-radius: 4px;
3513
+ border-top-style: solid;
3514
+ border-top-width: 1px;
3515
+ clear: both;
3516
+ color: rgb(192, 152, 83);
3517
+ display: block;
3518
+ font-family: 'Open Sans', sans-serif;
3519
+ font-size: 13px;
3520
+ height: auto;
3521
+ line-height: 13px;
3522
+ margin-bottom: 20px;
3523
+ margin-left: 0px;
3524
+ margin-right: 0px;
3525
+ margin-top: 20px;
3526
+ opacity: 1;
3527
+ padding-bottom: 10px;
3528
+ padding-left: 10px;
3529
+ padding-right: 20px;
3530
+ padding-top: 10px;
3531
+ position: relative;
3532
+ text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;
3533
+ width: auto;
3534
+ }
3535
+
3536
+ .wpv-dialog .toolset-alert-error,
3537
+ .toolset-ui-dialog .toolset-alert-error {
3538
+ border-color: #eed3d7;
3539
+ background-color: #f2dede;
3540
+ color: #b94a48;
3541
+ }
3542
+
3543
+ .wpv-dialog .wpv-shortcode-gui-item-selector-option,
3544
+ .toolset-ui-dialog .wpv-shortcode-gui-item-selector-option {
3545
+ align-content: normal;
3546
+ align-items: stretch;
3547
+ align-self: stretch;
3548
+ alignment-baseline: auto;
3549
+ animation-delay: 0s;
3550
+ animation-direction: normal;
3551
+ animation-duration: 0s;
3552
+ animation-fill-mode: none;
3553
+ animation-iteration-count: 1;
3554
+ animation-name: none;
3555
+ animation-play-state: running;
3556
+ animation-timing-function: ease;
3557
+ backface-visibility: visible;
3558
+ background-attachment: scroll;
3559
+ background-blend-mode: normal;
3560
+ background-clip: border-box;
3561
+ background-color: rgba(0, 0, 0, 0);
3562
+ background-image: none;
3563
+ background-origin: padding-box;
3564
+ background-position: 0% 0%;
3565
+ background-repeat: repeat;
3566
+ background-size: auto;
3567
+ baseline-shift: 0px;
3568
+ border-bottom-color: rgb(68, 68, 68);
3569
+ border-bottom-left-radius: 0px;
3570
+ border-bottom-right-radius: 0px;
3571
+ border-bottom-style: none;
3572
+ border-bottom-width: 0px;
3573
+ border-collapse: separate;
3574
+ border-image-outset: 0px;
3575
+ border-image-repeat: stretch;
3576
+ border-image-slice: 100%;
3577
+ border-image-source: none;
3578
+ border-image-width: 1;
3579
+ border-left-color: rgb(68, 68, 68);
3580
+ border-left-style: none;
3581
+ border-left-width: 0px;
3582
+ border-right-color: rgb(68, 68, 68);
3583
+ border-right-style: none;
3584
+ border-right-width: 0px;
3585
+ border-top-color: rgb(68, 68, 68);
3586
+ border-top-left-radius: 0px;
3587
+ border-top-right-radius: 0px;
3588
+ border-top-style: none;
3589
+ border-top-width: 0px;
3590
+ bottom: auto;
3591
+ box-shadow: none;
3592
+ box-sizing: content-box;
3593
+ break-after: auto;
3594
+ break-before: auto;
3595
+ break-inside: auto;
3596
+ buffered-rendering: auto;
3597
+ caption-side: top;
3598
+ clear: none;
3599
+ clip: auto;
3600
+ clip-path: none;
3601
+ clip-rule: nonzero;
3602
+ color: rgb(68, 68, 68);
3603
+ color-interpolation: sRGB;
3604
+ color-interpolation-filters: linearRGB;
3605
+ color-rendering: auto;
3606
+ column-count: auto;
3607
+ column-gap: normal;
3608
+ column-rule-color: rgb(68, 68, 68);
3609
+ column-rule-style: none;
3610
+ column-rule-width: 0px;
3611
+ column-span: none;
3612
+ column-width: auto;
3613
+ cursor: auto;
3614
+ cx: 0px;
3615
+ cy: 0px;
3616
+ direction: ltr;
3617
+ display: list-item;
3618
+ dominant-baseline: auto;
3619
+ empty-cells: show;
3620
+ fill: rgb(0, 0, 0);
3621
+ fill-opacity: 1;
3622
+ fill-rule: nonzero;
3623
+ filter: none;
3624
+ flex-basis: auto;
3625
+ flex-direction: row;
3626
+ flex-grow: 0;
3627
+ flex-shrink: 1;
3628
+ flex-wrap: nowrap;
3629
+ float: none;
3630
+ flood-color: rgb(0, 0, 0);
3631
+ flood-opacity: 1;
3632
+ font-family: 'Open Sans', sans-serif;
3633
+ font-kerning: auto;
3634
+ font-size: 13px;
3635
+ font-stretch: normal;
3636
+ font-style: normal;
3637
+ font-variant: normal;
3638
+ font-variant-ligatures: normal;
3639
+ font-weight: normal;
3640
+ height: auto;
3641
+ image-rendering: auto;
3642
+ isolation: auto;
3643
+ justify-content: normal;
3644
+ left: auto;
3645
+ letter-spacing: normal;
3646
+ lighting-color: rgb(255, 255, 255);
3647
+ line-height: 18.2px;
3648
+ list-style-image: none;
3649
+ list-style-position: outside;
3650
+ list-style-type: none;
3651
+ margin-bottom: 6px;
3652
+ margin-left: 0px;
3653
+ margin-right: 0px;
3654
+ margin-top: 0px;
3655
+ marker-end: none;
3656
+ marker-mid: none;
3657
+ marker-start: none;
3658
+ mask: none;
3659
+ mask-type: luminance;
3660
+ max-height: none;
3661
+ max-width: none;
3662
+ min-height: 0px;
3663
+ min-width: 0px;
3664
+ mix-blend-mode: normal;
3665
+ motion-offset: 0px;
3666
+ motion-path: none;
3667
+ motion-rotation: auto 0deg;
3668
+ object-fit: fill;
3669
+ object-position: 50% 50%;
3670
+ opacity: 1;
3671
+ order: 0;
3672
+ orphans: auto;
3673
+ outline-color: rgb(68, 68, 68);
3674
+ outline-offset: 0px;
3675
+ outline-style: none;
3676
+ outline-width: 0px;
3677
+ overflow-wrap: normal;
3678
+ overflow-x: visible;
3679
+ overflow-y: visible;
3680
+ padding-bottom: 0px;
3681
+ padding-left: 0px;
3682
+ padding-right: 0px;
3683
+ padding-top: 0px;
3684
+ paint-order: fill stroke markers;
3685
+ perspective: none;
3686
+ perspective-origin: 251.391px 9px;
3687
+ pointer-events: auto;
3688
+ position: static;
3689
+ r: 0px;
3690
+ resize: none;
3691
+ right: auto;
3692
+ rx: 0px;
3693
+ ry: 0px;
3694
+ shape-image-threshold: 0;
3695
+ shape-margin: 0px;
3696
+ shape-outside: none;
3697
+ shape-rendering: auto;
3698
+ speak: normal;
3699
+ stop-color: rgb(0, 0, 0);
3700
+ stop-opacity: 1;
3701
+ stroke: none;
3702
+ stroke-dasharray: none;
3703
+ stroke-dashoffset: 0px;
3704
+ stroke-linecap: butt;
3705
+ stroke-linejoin: miter;
3706
+ stroke-miterlimit: 4;
3707
+ stroke-opacity: 1;
3708
+ stroke-width: 1px;
3709
+ tab-size: 8;
3710
+ table-layout: auto;
3711
+ text-align: left;
3712
+ text-align-last: auto;
3713
+ text-anchor: start;
3714
+ text-decoration: none;
3715
+ text-indent: 0px;
3716
+ text-overflow: clip;
3717
+ text-rendering: auto;
3718
+ text-shadow: none;
3719
+ text-transform: none;
3720
+ top: auto;
3721
+ touch-action: auto;
3722
+ transform: none;
3723
+ transform-origin: 251.391px 9px;
3724
+ transform-style: flat;
3725
+ transition-delay: 0s;
3726
+ transition-duration: 0s;
3727
+ transition-property: all;
3728
+ transition-timing-function: ease;
3729
+ unicode-bidi: normal;
3730
+ vector-effect: none;
3731
+ vertical-align: baseline;
3732
+ visibility: visible;
3733
+ white-space: normal;
3734
+ widows: 1;
3735
+ width: auto;
3736
+ will-change: auto;
3737
+ word-break: normal;
3738
+ word-spacing: 0px;
3739
+ word-wrap: normal;
3740
+ writing-mode: horizontal-tb;
3741
+ x: 0px;
3742
+ y: 0px;
3743
+ z-index: auto;
3744
+ zoom: 1;
3745
+ -webkit-app-region: no-drag;
3746
+ -webkit-appearance: none;
3747
+ -webkit-background-composite: source-over;
3748
+ -webkit-border-horizontal-spacing: 0px;
3749
+ -webkit-border-vertical-spacing: 0px;
3750
+ -webkit-box-align: stretch;
3751
+ -webkit-box-decoration-break: slice;
3752
+ -webkit-box-direction: normal;
3753
+ -webkit-box-flex: 0;
3754
+ -webkit-box-flex-group: 1;
3755
+ -webkit-box-lines: single;
3756
+ -webkit-box-ordinal-group: 1;
3757
+ -webkit-box-orient: horizontal;
3758
+ -webkit-box-pack: start;
3759
+ -webkit-box-reflect: none;
3760
+ -webkit-font-smoothing: auto;
3761
+ -webkit-highlight: none;
3762
+ -webkit-hyphenate-character: auto;
3763
+ -webkit-line-break: auto;
3764
+ -webkit-line-clamp: none;
3765
+ -webkit-locale: "en-US";
3766
+ -webkit-margin-after-collapse: collapse;
3767
+ -webkit-margin-before-collapse: collapse;
3768
+ -webkit-mask-box-image: none;
3769
+ -webkit-mask-box-image-outset: 0px;
3770
+ -webkit-mask-box-image-repeat: stretch;
3771
+ -webkit-mask-box-image-slice: 0 fill;
3772
+ -webkit-mask-box-image-source: none;
3773
+ -webkit-mask-box-image-width: auto;
3774
+ -webkit-mask-clip: border-box;
3775
+ -webkit-mask-composite: source-over;
3776
+ -webkit-mask-image: none;
3777
+ -webkit-mask-origin: border-box;
3778
+ -webkit-mask-position: 0% 0%;
3779
+ -webkit-mask-repeat: repeat;
3780
+ -webkit-mask-size: auto;
3781
+ -webkit-print-color-adjust: economy;
3782
+ -webkit-rtl-ordering: logical;
3783
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);
3784
+ -webkit-text-combine: none;
3785
+ -webkit-text-decorations-in-effect: none;
3786
+ -webkit-text-emphasis-color: rgb(68, 68, 68);
3787
+ -webkit-text-emphasis-position: over;
3788
+ -webkit-text-emphasis-style: none;
3789
+ -webkit-text-fill-color: rgb(68, 68, 68);
3790
+ -webkit-text-security: none;
3791
+ -webkit-text-stroke-color: rgb(68, 68, 68);
3792
+ -webkit-text-stroke-width: 0px;
3793
+ -webkit-user-drag: auto;
3794
+ -webkit-user-modify: read-only;
3795
+ -webkit-user-select: text;
3796
+ -webkit-border-image: none;
3797
+ -webkit-text-orientation: vertical-right;
3798
+ }
3799
+
3800
+ .toolset-ui-dialog {
3801
+ font-size: 13px;
3802
+ }
3803
+ .toolset-ui-dialog .ui-dialog-content p {
3804
+ width: auto !important;
3805
+ height: auto !important;
3806
+ align-content: normal;
3807
+ align-items: stretch;
3808
+ align-self: stretch;
3809
+ alignment-baseline: auto;
3810
+ animation-delay: 0s;
3811
+ animation-direction: normal;
3812
+ animation-duration: 0s;
3813
+ animation-fill-mode: none;
3814
+ animation-iteration-count: 1;
3815
+ animation-name: none;
3816
+ animation-play-state: running;
3817
+ animation-timing-function: ease;
3818
+ backface-visibility: visible;
3819
+ background-attachment: scroll;
3820
+ background-blend-mode: normal;
3821
+ background-clip: border-box;
3822
+ background-color: rgba(0, 0, 0, 0);
3823
+ background-image: none;
3824
+ background-origin: padding-box;
3825
+ background-position: 0% 0%;
3826
+ background-repeat: repeat;
3827
+ background-size: auto;
3828
+ baseline-shift: 0px;
3829
+ border-bottom-color: rgb(68, 68, 68);
3830
+ border-bottom-left-radius: 0px;
3831
+ border-bottom-right-radius: 0px;
3832
+ border-bottom-style: none;
3833
+ border-bottom-width: 0px;
3834
+ border-collapse: separate;
3835
+ border-image-outset: 0px;
3836
+ border-image-repeat: stretch;
3837
+ border-image-slice: 100%;
3838
+ border-image-source: none;
3839
+ border-image-width: 1;
3840
+ border-left-color: rgb(68, 68, 68);
3841
+ border-left-style: none;
3842
+ border-left-width: 0px;
3843
+ border-right-color: rgb(68, 68, 68);
3844
+ border-right-style: none;
3845
+ border-right-width: 0px;
3846
+ border-top-color: rgb(68, 68, 68);
3847
+ border-top-left-radius: 0px;
3848
+ border-top-right-radius: 0px;
3849
+ border-top-style: none;
3850
+ border-top-width: 0px;
3851
+ bottom: auto;
3852
+ box-shadow: none;
3853
+ box-sizing: content-box;
3854
+ break-after: auto;
3855
+ break-before: auto;
3856
+ break-inside: auto;
3857
+ buffered-rendering: auto;
3858
+ caption-side: top;
3859
+ clear: none;
3860
+ clip: auto;
3861
+ clip-path: none;
3862
+ clip-rule: nonzero;
3863
+ color: rgb(68, 68, 68);
3864
+ color-interpolation: sRGB;
3865
+ color-interpolation-filters: linearRGB;
3866
+ color-rendering: auto;
3867
+ column-count: auto;
3868
+ column-gap: normal;
3869
+ column-rule-color: rgb(68, 68, 68);
3870
+ column-rule-style: none;
3871
+ column-rule-width: 0px;
3872
+ column-span: none;
3873
+ column-width: auto;
3874
+ cursor: auto;
3875
+ cx: 0px;
3876
+ cy: 0px;
3877
+ direction: ltr;
3878
+ display: block;
3879
+ dominant-baseline: auto;
3880
+ empty-cells: show;
3881
+ fill: rgb(0, 0, 0);
3882
+ fill-opacity: 1;
3883
+ fill-rule: nonzero;
3884
+ filter: none;
3885
+ flex-basis: auto;
3886
+ flex-direction: row;
3887
+ flex-grow: 0;
3888
+ flex-shrink: 1;
3889
+ flex-wrap: nowrap;
3890
+ float: none;
3891
+ flood-color: rgb(0, 0, 0);
3892
+ flood-opacity: 1;
3893
+ font-family: "Open Sans", sans-serif;
3894
+ font-kerning: auto;
3895
+ font-size: 13px;
3896
+ font-stretch: normal;
3897
+ font-style: normal;
3898
+ font-variant: normal;
3899
+ font-variant-ligatures: normal;
3900
+ font-weight: normal;
3901
+ image-rendering: auto;
3902
+ isolation: auto;
3903
+ justify-content: normal;
3904
+ left: auto;
3905
+ letter-spacing: normal;
3906
+ lighting-color: rgb(255, 255, 255);
3907
+ line-height: 19.5px;
3908
+ list-style-image: none;
3909
+ list-style-position: outside;
3910
+ list-style-type: disc;
3911
+ margin-bottom: 13px;
3912
+ margin-left: 0px;
3913
+ margin-right: 0px;
3914
+ margin-top: 13px;
3915
+ marker-end: none;
3916
+ marker-mid: none;
3917
+ marker-start: none;
3918
+ mask: none;
3919
+ mask-type: luminance;
3920
+ max-height: none;
3921
+ max-width: none;
3922
+ min-height: 0px;
3923
+ min-width: 0px;
3924
+ mix-blend-mode: normal;
3925
+ motion-offset: 0px;
3926
+ motion-path: none;
3927
+ motion-rotation: auto 0deg;
3928
+ object-fit: fill;
3929
+ object-position: 50% 50%;
3930
+ opacity: 1;
3931
+ order: 0;
3932
+ orphans: auto;
3933
+ outline-color: rgb(68, 68, 68);
3934
+ outline-offset: 0px;
3935
+ outline-style: none;
3936
+ outline-width: 0px;
3937
+ overflow-wrap: normal;
3938
+ overflow-x: visible;
3939
+ overflow-y: visible;
3940
+ padding-bottom: 0px;
3941
+ padding-left: 0px;
3942
+ padding-right: 0px;
3943
+ padding-top: 0px;
3944
+ paint-order: fill stroke markers;
3945
+ perspective: none;
3946
+ perspective-origin: 284px 28.5px;
3947
+ pointer-events: auto;
3948
+ position: static;
3949
+ r: 0px;
3950
+ resize: none;
3951
+ right: auto;
3952
+ rx: 0px;
3953
+ ry: 0px;
3954
+ shape-image-threshold: 0;
3955
+ shape-margin: 0px;
3956
+ shape-outside: none;
3957
+ shape-rendering: auto;
3958
+ speak: normal;
3959
+ stop-color: rgb(0, 0, 0);
3960
+ stop-opacity: 1;
3961
+ stroke: none;
3962
+ stroke-dasharray: none;
3963
+ stroke-dashoffset: 0px;
3964
+ stroke-linecap: butt;
3965
+ stroke-linejoin: miter;
3966
+ stroke-miterlimit: 4;
3967
+ stroke-opacity: 1;
3968
+ stroke-width: 1px;
3969
+ tab-size: 8;
3970
+ table-layout: auto;
3971
+ text-align: start;
3972
+ text-align-last: auto;
3973
+ text-anchor: start;
3974
+ text-decoration: none;
3975
+ text-indent: 0px;
3976
+ text-overflow: clip;
3977
+ text-rendering: auto;
3978
+ text-shadow: none;
3979
+ text-transform: none;
3980
+ top: auto;
3981
+ touch-action: auto;
3982
+ transform: none;
3983
+ transform-origin: 284px 28.5px;
3984
+ transform-style: flat;
3985
+ transition-delay: 0s;
3986
+ transition-duration: 0s;
3987
+ transition-property: all;
3988
+ transition-timing-function: ease;
3989
+ unicode-bidi: normal;
3990
+ vector-effect: none;
3991
+ vertical-align: baseline;
3992
+ visibility: visible;
3993
+ white-space: normal;
3994
+ widows: 1;
3995
+ will-change: auto;
3996
+ word-break: normal;
3997
+ word-spacing: 0px;
3998
+ word-wrap: normal;
3999
+ writing-mode: horizontal-tb;
4000
+ }
4001
+
4002
+ /*
4003
+ .toolset-ui-dialog p + select,
4004
+ .toolset-ui-dialog p + label,
4005
+ .toolset-ui-dialog p + input[type="text"] {
4006
+ margin-top: -10px;
4007
+ display: inline-block;
4008
+ }
4009
+
4010
+ .toolset-ui-dialog select + span,
4011
+ .toolset-ui-dialog input[type="text"] + span {
4012
+ margin-top: -10px;
4013
+ margin-left: 10px;
4014
+ font-size: 12px;
4015
+ }
4016
+
4017
+ .toolset-ui-dialog p.defaulttext_wcviews_gui {
4018
+ margin-top: 2px;
4019
+ margin-left: 10px;
4020
+ font-style: italic;
4021
+ }
4022
+ */
4023
+ /* WC Views dialog headlines */
4024
+ p#imagesetting_wcviews_gui,
4025
+ p#show_imagegallery_listings_wcviews_gui,
4026
+ p#enable_thid_party_filters_gui,
4027
+ p#addtocarttext_wcviews_gui,
4028
+ p#linktoproducttext_wcviews_gui,
4029
+ p#show_quantity_field_wcviews_gui,
4030
+ p#show_variation_options_field_wcviews_gui,
4031
+ p#group_addtocarttext_wcviews_gui,
4032
+ p#external_addtocarttext_wcviews_gui,
4033
+ p#addtocarttext_wcviews_gui,
4034
+ p#disable_reviews_wcviews_gui {
4035
+ font-weight: bold !important;
4036
+ margin-top: 15px !important;
4037
+ }
4038
+
4039
+ .toolset-ui-dialog input[type="text"] {
4040
+ width: 100% !important;
4041
+ }
4042
+
4043
+ .toolset-ui-dialog select {
4044
+ width: 100% !important;
4045
+ height: 32px !important;
4046
+ font-size: 13px !important;
4047
+ line-height: 32px !important;
4048
+ align-content: normal;
4049
+ align-items: center;
4050
+ align-self: stretch;
4051
+ alignment-baseline: auto;
4052
+ animation-delay: 0s;
4053
+ animation-direction: normal;
4054
+ animation-duration: 0s;
4055
+ animation-fill-mode: none;
4056
+ animation-iteration-count: 1;
4057
+ animation-name: none;
4058
+ animation-play-state: running;
4059
+ animation-timing-function: ease;
4060
+ backface-visibility: visible;
4061
+ background-attachment: scroll;
4062
+ background-blend-mode: normal;
4063
+ background-clip: border-box;
4064
+ background-color: rgb(255, 255, 255);
4065
+ background-image: none;
4066
+ background-origin: padding-box;
4067
+ background-position: 0% 0%;
4068
+ background-repeat: repeat;
4069
+ background-size: auto;
4070
+ baseline-shift: 0px;
4071
+ border-bottom-color: rgb(221, 221, 221);
4072
+ border-bottom-left-radius: 5px;
4073
+ border-bottom-right-radius: 5px;
4074
+ border-bottom-style: solid;
4075
+ border-bottom-width: 1px;
4076
+ border-collapse: separate;
4077
+ border-image-outset: 0px;
4078
+ border-image-repeat: stretch;
4079
+ border-image-slice: 100%;
4080
+ border-image-source: none;
4081
+ border-image-width: 1;
4082
+ border-left-color: rgb(221, 221, 221);
4083
+ border-left-style: solid;
4084
+ border-left-width: 1px;
4085
+ border-right-color: rgb(221, 221, 221);
4086
+ border-right-style: solid;
4087
+ border-right-width: 1px;
4088
+ border-top-color: rgb(221, 221, 221);
4089
+ border-top-left-radius: 5px;
4090
+ border-top-right-radius: 5px;
4091
+ border-top-style: solid;
4092
+ border-top-width: 1px;
4093
+ bottom: auto;
4094
+ box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px 0px inset;
4095
+ box-sizing: border-box;
4096
+ break-after: auto;
4097
+ break-before: auto;
4098
+ break-inside: auto;
4099
+ buffered-rendering: auto;
4100
+ caption-side: top;
4101
+ clear: none;
4102
+ clip: auto;
4103
+ clip-path: none;
4104
+ clip-rule: nonzero;
4105
+ color: rgb(50, 55, 60);
4106
+ color-interpolation: sRGB;
4107
+ color-interpolation-filters: linearRGB;
4108
+ color-rendering: auto;
4109
+ column-count: auto;
4110
+ column-gap: normal;
4111
+ column-rule-color: rgb(50, 55, 60);
4112
+ column-rule-style: none;
4113
+ column-rule-width: 0px;
4114
+ column-span: none;
4115
+ column-width: auto;
4116
+ cursor: default;
4117
+ cx: 0px;
4118
+ cy: 0px;
4119
+ direction: ltr;
4120
+ display: inline-block;
4121
+ dominant-baseline: auto;
4122
+ empty-cells: show;
4123
+ fill: rgb(0, 0, 0);
4124
+ fill-opacity: 1;
4125
+ fill-rule: nonzero;
4126
+ filter: none;
4127
+ flex-basis: auto;
4128
+ flex-direction: row;
4129
+ flex-grow: 0;
4130
+ flex-shrink: 1;
4131
+ flex-wrap: nowrap;
4132
+ float: none;
4133
+ flood-color: rgb(0, 0, 0);
4134
+ flood-opacity: 1;
4135
+ font-family: "Open Sans", sans-serif;
4136
+ font-kerning: auto;
4137
+ font-stretch: normal;
4138
+ font-style: normal;
4139
+ font-variant: normal;
4140
+ font-variant-ligatures: normal;
4141
+ font-weight: normal;
4142
+ image-rendering: auto;
4143
+ isolation: auto;
4144
+ justify-content: normal;
4145
+ left: auto;
4146
+ letter-spacing: normal;
4147
+ lighting-color: rgb(255, 255, 255);
4148
+ list-style-image: none;
4149
+ list-style-position: outside;
4150
+ list-style-type: disc;
4151
+ margin-bottom: 1px;
4152
+ margin-left: 1px;
4153
+ margin-right: 1px;
4154
+ margin-top: 1px;
4155
+ marker-end: none;
4156
+ marker-mid: none;
4157
+ marker-start: none;
4158
+ mask: none;
4159
+ mask-type: luminance;
4160
+ max-height: none;
4161
+ max-width: none;
4162
+ min-height: 15px;
4163
+ min-width: 0px;
4164
+ mix-blend-mode: normal;
4165
+ motion-offset: 0px;
4166
+ motion-path: none;
4167
+ motion-rotation: auto 0deg;
4168
+ object-fit: fill;
4169
+ object-position: 50% 50%;
4170
+ opacity: 1;
4171
+ order: 0;
4172
+ orphans: auto;
4173
+ outline-color: rgb(50, 55, 60);
4174
+ outline-offset: 0px;
4175
+ outline-style: none;
4176
+ outline-width: 0px;
4177
+ overflow-wrap: normal;
4178
+ overflow-x: visible;
4179
+ overflow-y: visible;
4180
+ padding-bottom: 0px;
4181
+ padding-left: 0px;
4182
+ padding-right: 0px;
4183
+ padding-top: 0px;
4184
+ paint-order: fill stroke markers;
4185
+ perspective: none;
4186
+ perspective-origin: 147.5px 14px;
4187
+ pointer-events: auto;
4188
+ position: static;
4189
+ r: 0px;
4190
+ resize: none;
4191
+ right: auto;
4192
+ rx: 0px;
4193
+ ry: 0px;
4194
+ shape-image-threshold: 0;
4195
+ shape-margin: 0px;
4196
+ shape-outside: none;
4197
+ shape-rendering: auto;
4198
+ speak: normal;
4199
+ stop-color: rgb(0, 0, 0);
4200
+ stop-opacity: 1;
4201
+ stroke: none;
4202
+ stroke-dasharray: none;
4203
+ stroke-dashoffset: 0px;
4204
+ stroke-linecap: butt;
4205
+ stroke-linejoin: miter;
4206
+ stroke-miterlimit: 4;
4207
+ stroke-opacity: 1;
4208
+ stroke-width: 1px;
4209
+ tab-size: 8;
4210
+ table-layout: auto;
4211
+ text-align: start;
4212
+ text-align-last: auto;
4213
+ text-anchor: start;
4214
+ text-decoration: none;
4215
+ text-indent: 0px;
4216
+ text-overflow: clip;
4217
+ text-rendering: auto;
4218
+ text-shadow: none;
4219
+ text-transform: none;
4220
+ top: auto;
4221
+ touch-action: auto;
4222
+ transform: none;
4223
+ transform-origin: 147.5px 14px;
4224
+ transform-style: flat;
4225
+ transition-delay: 0s;
4226
+ transition-duration: 0.05s;
4227
+ transition-property: border-color;
4228
+ transition-timing-function: ease-in-out;
4229
+ unicode-bidi: normal;
4230
+ vector-effect: none;
4231
+ vertical-align: middle;
4232
+ visibility: visible;
4233
+ white-space: pre;
4234
+ widows: 1;
4235
+
4236
+ will-change: auto;
4237
+ word-break: normal;
4238
+ word-spacing: 0px;
4239
+ word-wrap: normal;
4240
+ writing-mode: horizontal-tb;
4241
+ }
library/toolset/toolset-common/user-editors/resource/views/dialog/dialog.php ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! interface_exists( 'Toolset_User_Editors_Resource_Interface', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/resource/interface.php' );
5
+
6
+ class Toolset_User_Editors_Resource_Views_Dialog
7
+ implements Toolset_User_Editors_Resource_Interface {
8
+
9
+ private static $instance;
10
+ private $loaded;
11
+
12
+ private function __construct(){}
13
+ private function __clone(){}
14
+
15
+ /**
16
+ * @return Toolset_User_Editors_Resource_Views_Dialog
17
+ */
18
+ public static function getInstance() {
19
+ if( self::$instance === null )
20
+ self::$instance = new self;
21
+
22
+ return self::$instance;
23
+ }
24
+
25
+ private function isLoaded() {
26
+ $this->loaded = true;
27
+ }
28
+
29
+ public function load() {
30
+ // abort on admin screen or if already loaded
31
+ if( is_admin() || $this->loaded !== null )
32
+ return;
33
+
34
+ // this allows Views "Fields and Views" dialogs to load without a post type
35
+ add_filter( 'wpv_filter_dialog_for_editors_requires_post', '__return_false' );
36
+ add_filter( 'wpv_render_dialogs_on_frontend', '__return_true' );
37
+ require_once( WPV_PATH . '/inc/classes/shortcodes/selector/frontend.php' );
38
+
39
+ add_action( 'init', array( $this, '_actionRegisterViewsButton') );
40
+ add_action( 'wp_enqueue_scripts', array( $this, '_actionScriptsAndStyles' ) );
41
+
42
+ // woocommerce views
43
+ if( function_exists( 'wcviews_shortcodes_gui_init' )
44
+ && function_exists( 'wcviews_shortcodes_gui_js_init' ) ) {
45
+ add_action( 'init', 'wcviews_shortcodes_gui_init' );
46
+ add_action( 'wp_head', 'wcviews_shortcodes_gui_js_init' );
47
+ }
48
+
49
+ $this->isLoaded();
50
+ }
51
+
52
+ public function _actionRegisterViewsButton() {
53
+
54
+ if( ! class_exists( 'WP_Views' ) ) {
55
+ remove_action( 'wp_enqueue_scripts', array( $this, '_actionScriptsAndStyles' ) );
56
+ $this->isLoaded();
57
+ return;
58
+ }
59
+
60
+ $view = new WP_Views();
61
+ $view->wpv_register_assets();
62
+ $view->add_dialog_to_editors();
63
+ }
64
+
65
+ public function _actionScriptsAndStyles() {
66
+ if ( ! wp_script_is( 'views-shortcodes-gui-script' ) ) {
67
+ wp_enqueue_script( 'views-shortcodes-gui-script' );
68
+ }
69
+ if ( ! wp_script_is( 'jquery-ui-resizable' ) ) {
70
+ wp_enqueue_script('jquery-ui-resizable');
71
+ }
72
+ if ( ! wp_style_is( 'views-admin-css' ) ) {
73
+ wp_enqueue_style( 'views-admin-css' );
74
+ }
75
+
76
+ if ( ! wp_script_is( 'views-codemirror-conf-script' ) ) {
77
+ wp_enqueue_script( 'views-codemirror-conf-script' );
78
+ }
79
+ if ( ! wp_style_is( 'toolset-meta-html-codemirror-css' ) ) {
80
+ wp_enqueue_style( 'toolset-meta-html-codemirror-css' );
81
+ }
82
+ if ( ! wp_script_is( 'views-embedded-script' ) ) {
83
+ wp_enqueue_script( 'views-embedded-script' );
84
+ }
85
+ if ( ! wp_script_is( 'views-utils-script' ) ) {
86
+ wp_enqueue_script( 'views-utils-script' );
87
+ }
88
+
89
+ wp_enqueue_style(
90
+ 'toolset-user-editors-ressource-views-dialog',
91
+ TOOLSET_COMMON_URL . 'user-editors/resource/views/dialog/dialog.css',
92
+ array(),
93
+ TOOLSET_COMMON_VERSION
94
+ );
95
+ }
96
+ }
library/toolset/toolset-common/user-editors/resource/views/dialog/for-any-input.css ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ a.js-wpv-fields-and-views-in-adminbar {
2
+ display: none;
3
+ position: absolute;
4
+ top: 12px;
5
+ left: -10px;
6
+ color: #fff;
7
+ font-weight: bold;
8
+ font-size: 12px;
9
+ width: 15px;
10
+ height: 15px;
11
+ line-height: 15px;
12
+ text-align:center;
13
+ background: #f05a29;
14
+ -moz-border-radius: 10px;
15
+ -webkit-border-radius: 10px;
16
+ border-radius: 10px;
17
+ cursor: pointer;
18
+ text-decoration: none !important;
19
+ }
20
+
21
+ #colorbox {
22
+ /* not me, who started with these high z-index numbers */
23
+ z-index: 9999999 !important;
24
+ }
library/toolset/toolset-common/user-editors/resource/views/dialog/for-any-input.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var wpv_open_shortcode_dialog = jQuery( '.js-wpv-fields-and-views-in-adminbar' ),
2
+ wpv_add_shortcode_to,
3
+ wpv_add_shortcode_to_parent;
4
+
5
+ (function( $ ) {
6
+ $( 'document' ).ready( function() {
7
+ $.each( toolset_for_any_input, function( key, input ) {
8
+ $( 'body' ).on( 'focus', input.stringSelector, function() {
9
+ wpv_add_shortcode_to_parent = $( this ).closest( input.stringParentSelector );
10
+ wpv_add_shortcode_to_parent.css( 'position', 'relative' );
11
+ wpv_open_shortcode_dialog.appendTo( wpv_add_shortcode_to_parent );
12
+ wpv_open_shortcode_dialog.css( 'display', 'block' );
13
+ wpv_add_shortcode_to = $( this );
14
+ } );
15
+ } );
16
+ } );
17
+ })( jQuery );
library/toolset/toolset-common/user-editors/resource/views/dialog/for-any-input.php ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! interface_exists( 'Toolset_User_Editors_Resource_Interface', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/resource/interface.php' );
5
+
6
+ class Toolset_User_Editors_Resource_Views_Dialog_For_Any_Input
7
+ implements Toolset_User_Editors_Resource_Interface {
8
+
9
+ private static $instance;
10
+ private $loaded;
11
+
12
+ private function __construct(){}
13
+ private function __clone(){}
14
+
15
+ /**
16
+ * @return Toolset_User_Editors_Resource_Views_Dialog_For_Any_Input
17
+ */
18
+ public static function getInstance() {
19
+ if( self::$instance === null )
20
+ self::$instance = new self;
21
+
22
+ return self::$instance;
23
+ }
24
+
25
+ private function isLoaded() {
26
+ $this->loaded = true;
27
+ }
28
+
29
+ public function load() {
30
+ // abort on admin screen or if already loaded
31
+ if( is_admin() || $this->loaded !== null )
32
+ return;
33
+
34
+ add_action( 'wp_enqueue_scripts', array( $this, '_actionScriptsAndStyles' ) );
35
+ add_action( 'wp_footer', array( $this, '_actionRenderSelector') );
36
+ $this->isLoaded();
37
+ }
38
+
39
+ public function _actionRenderSelector() {
40
+ echo '<a class="js-wpv-fields-and-views-in-adminbar">+</a>';
41
+ }
42
+
43
+ public function _actionScriptsAndStyles() {
44
+ wp_enqueue_style(
45
+ 'toolset-user-editors-ressource-views-dialog-for-any-input',
46
+ TOOLSET_COMMON_URL . 'user-editors/resource/views/dialog/for-any-input.css',
47
+ array(),
48
+ TOOLSET_COMMON_VERSION
49
+ );
50
+
51
+ wp_enqueue_script(
52
+ 'toolset-user-editors-ressource-views-dialog-for-any-input',
53
+ TOOLSET_COMMON_URL . 'user-editors/resource/views/dialog/for-any-input.js',
54
+ array( 'jquery' ),
55
+ TOOLSET_COMMON_VERSION,
56
+ true
57
+ );
58
+
59
+ /*
60
+ * Use to add selectors. Each input selector has these fields
61
+ * array(
62
+ * 'stringSelector' => '.fl-lightbox-content input:text',
63
+ * 'stringParentSelector' => 'td'
64
+ * );
65
+ */
66
+ $input_selectors = apply_filters( 'toolset_user_editors_for_any_input_selectors', array() );
67
+
68
+ wp_localize_script(
69
+ 'toolset-user-editors-ressource-views-dialog-for-any-input',
70
+ 'toolset_for_any_input',
71
+ $input_selectors
72
+ );
73
+ }
74
+ }
library/toolset/toolset-common/user-editors/resource/views/dialog/types-fields.php ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( ! interface_exists( 'Toolset_User_Editors_Resource_Interface', false ) )
4
+ require_once( TOOLSET_COMMON_PATH . '/user-editors/resource/interface.php' );
5
+
6
+ class Toolset_User_Editors_Resource_Views_Dialog_Types_Fields
7
+ implements Toolset_User_Editors_Resource_Interface {
8
+ private static $instance;
9
+ private $loaded;
10
+
11
+ private function __construct(){}
12
+ private function __clone(){}
13
+
14
+ /**
15
+ * @return Toolset_User_Editors_Resource_Views_Dialog_Types_Fields
16
+ */
17
+ public static function getInstance() {
18
+ if( self::$instance === null )
19
+ self::$instance = new self;
20
+
21
+ return self::$instance;
22
+ }
23
+
24
+ private function isLoaded() {
25
+ $this->loaded = true;
26
+ }
27
+
28
+ public function load() {
29
+ // abort on admin screen or if already loaded
30
+ if( is_admin() || $this->loaded !== null )
31
+ return;
32
+
33
+ // Types Fields for "Fields and Views"
34
+ if( defined( 'TYPES_RELPATH' ) )
35
+ add_filter( 'editor_addon_menus_wpv-views', array( $this, '_filterTypesFieldsToViewsDialog' ) );
36
+
37
+ $this->isLoaded();
38
+ }
39
+
40
+ /**
41
+ * FOLLOWING IS SIMPLY COPIED OUT OF TYPES
42
+ * TODO make original source reusable and delete copied code
43
+ */
44
+ public function _filterTypesFieldsToViewsDialog( $menu ) {
45
+ if( is_admin() || ! defined( 'TYPES_RELPATH' ) )
46
+ return;
47
+
48
+ wp_enqueue_script(
49
+ 'wpcf-js-embedded',
50
+ TYPES_RELPATH . '/library/toolset/types/embedded/resources/js/basic.js',
51
+ array('jquery', 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-tabs', 'select2'),
52
+ WPCF_VERSION
53
+ );
54
+
55
+ $this->types_js_settings();
56
+
57
+ $post_type = 'wp-types-group';
58
+ $only_active = false;
59
+ $add_fields = false;
60
+
61
+ $cache_group = 'types_cache_groups';
62
+ $cache_key = md5( 'group::_get_group' . $post_type );
63
+ $cached_object = wp_cache_get( $cache_key, $cache_group );
64
+ if ( false === $cached_object ) {
65
+ $groups = get_posts( 'numberposts=-1&post_type=' . $post_type . '&post_status=null' );
66
+ wp_cache_add( $cache_key, $groups, $cache_group );
67
+ } else {
68
+ $groups = $cached_object;
69
+ }
70
+ $_groups = array();
71
+ if ( !empty( $groups ) ) {
72
+ foreach ( $groups as $k => $group ) {
73
+ $group = wpcf_admin_fields_adjust_group( $group, $add_fields );
74
+ if ( $only_active && !$group['is_active'] ) {
75
+ continue;
76
+ }
77
+ $_groups[$k] = $group;
78
+ }
79
+ }
80
+
81
+ $groups = $_groups;
82
+
83
+ $all_post_types = implode( ' ', get_post_types( array('public' => true) ) );
84
+ $add = array();
85
+ if ( !empty( $groups ) ) {
86
+
87
+ // $group_id is blank therefore not equal to $group['id']
88
+ // use array for item key and CSS class
89
+ $item_styles = array();
90
+ global $post;
91
+
92
+ foreach ( $groups as $group_id => $group ) {
93
+
94
+ $fields = $this->wpcf_admin_fields_get_fields_by_group( $group['id'],
95
+ 'slug', true, false, true );
96
+ if ( !empty( $fields ) ) {
97
+ // code from Types used here without breaking the flow
98
+ // get post types list for every group or apply all
99
+ $post_types = get_post_meta( $group['id'],
100
+ '_wp_types_group_post_types', true );
101
+ if ( $post_types == 'all' ) {
102
+ $post_types = $all_post_types;
103
+ }
104
+ $post_types = trim( str_replace( ',', ' ', $post_types ) );
105
+ $item_styles[$group['name']] = $post_types;
106
+
107
+ foreach ( $fields as $field_id => $field ) {
108
+
109
+ $callback = 'wpcfFieldsEditorCallback(\'' . $field['id']
110
+ . '\', \'postmeta\', ' . $post->ID . ')';
111
+
112
+ $menu[$group['name']][stripslashes( $field['name'] )] = array(
113
+ stripslashes( $field['name'] ), trim( $this->copy_fields_get_shortcode( $field ),
114
+ '[]' ), $group['name'], $callback);
115
+
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ return $menu;
122
+ }
123
+
124
+ public function types_js_settings() {
125
+
126
+ $settings['wpnonce'] = wp_create_nonce( '_typesnonce' );
127
+ $settings['validation'] = array();
128
+ echo '
129
+ <style>
130
+ #colorbox.js-wpcf-colorbox-with-iframe { z-index: 110000 !important; }
131
+ </style>
132
+ <script type="text/javascript">
133
+ //<![CDATA[
134
+ var types = ' . json_encode( $settings ) . ';
135
+ //]]>
136
+ </script>';
137
+ }
138
+
139
+ protected function copy_fields_get_shortcode( $field, $add = '', $content = '' ) {
140
+ $shortcode = '[';
141
+ $shortcode .= "types field='" . $field['slug'] . "'" . $add;
142
+ $shortcode .= ']' . $content . '[/types]';
143
+ $shortcode = apply_filters( 'wpcf_fields_shortcode', $shortcode, $field );
144
+ $shortcode = apply_filters( 'wpcf_fields_shortcode_type_' . $field['type'], $shortcode, $field );
145
+ $shortcode = apply_filters( 'wpcf_fields_shortcode_slug_' . $field['slug'], $shortcode, $field );
146
+ return $shortcode;
147
+ }
148
+
149
+ protected function wpcf_admin_fields_get_fields_by_group( $group_id, $key = 'slug',
150
+ $only_active = false, $disabled_by_type = false,
151
+ $strictly_active = false, $post_type = 'wp-types-group',
152
+ $option_name = 'wpcf-fields', $use_cache = true ) {
153
+ static $cache = array();
154
+ $cache_key = md5( serialize( func_get_args() ) );
155
+ if ( $use_cache && isset( $cache[$cache_key] ) ) {
156
+ return $cache[$cache_key];
157
+ }
158
+ $group_fields = get_post_meta( $group_id, '_wp_types_group_fields', true );
159
+ if ( empty( $group_fields ) ) {
160
+ return array();
161
+ }
162
+ $group_fields = explode( ',', trim( $group_fields, ',' ) );
163
+ $fields = wpcf_admin_fields_get_fields( $only_active, $disabled_by_type,
164
+ $strictly_active, $option_name );
165
+ $results = array();
166
+ foreach ( $group_fields as $field_id ) {
167
+ if ( !isset( $fields[$field_id] ) ) {
168
+ continue;
169
+ }
170
+ $results[$field_id] = $fields[$field_id];
171
+ }
172
+ if ( $use_cache ) {
173
+ $cache[$cache_key] = $results;
174
+ }
175
+ return $results;
176
+ }
177
+
178
+
179
+ }
library/toolset/toolset-common/utility/dialogs/css/dd-dialogs-general.css CHANGED
@@ -55,7 +55,7 @@
55
  overflow-y: auto;
56
  padding-right: 10px;
57
  max-height: 400px;
58
- border-width: 0 1px 0 0;
59
  background: #fff;
60
  }
61
 
55
  overflow-y: auto;
56
  padding-right: 10px;
57
  max-height: 400px;
58
+ border-width: 0 0 0 0; /*no content borders*/
59
  background: #fff;
60
  }
61
 
library/toolset/toolset-common/utility/dialogs/css/dd-dialogs.css CHANGED
@@ -495,8 +495,8 @@ p.desc a.fieldset-inputs{color:#0074a2;}
495
 
496
  .ddl-dialog .ui-slider{border:1px solid #ccc;border-radius: 0px;}
497
 
498
- .ddl-dialog .ddl-dialog-content{font-family: "Open Sans",sans-serif;}
499
- .ddl-dialog .ui-widget, .ddl-dialog .ui-widget input, .ddl-dialog .ui-widget select, .ddl-dialog .ui-widget textarea, .ddl-dialog .ui-widget button{font-family: "Open Sans";}
500
  .ddl-dialog .ui-widget button.qt-fullscreen{font: 400 20px/1 dashicons;}
501
  .ddl-dialog .ui-widget-header, .ui-widget-header *{font-weight: normal;}
502
  .ddl-dialog .ui-widget-content a.fieldset-inputs{color:#0074a2;}
@@ -764,6 +764,7 @@ ul.grid {
764
  position: relative;
765
  padding-top:2px;
766
  padding-bottom:2px;
 
767
  }
768
  .grid-category-item:first-child{padding-left:2px;}
769
  .grid .item-details {
@@ -947,7 +948,7 @@ a.ddl-show-item-desc, a.ddl-show-item-desc{
947
  }
948
  .ddl-preview-cell-name{
949
  overflow:hidden;
950
- font-family:"Open Sans",sans-serif;
951
  top:5px;
952
  background:#cccccc;
953
  word-wrap: break-word;
@@ -1144,7 +1145,7 @@ a.ddl-show-item-desc, a.ddl-show-item-desc{
1144
  #wrapper-element-box-type a, #wrapper-element-box-type a:focus{box-shadow: none;}
1145
 
1146
  /*#wrapper-element-box-type h3, #wrapper-element-box-type div, #wrapper-element-box-type p, #wrapper-element-box-type span{
1147
- font-family: "Open Sans",sans-serif;
1148
  }*/
1149
  #wrapper-element-box-type h3.tree-toggle-element{
1150
  font-family: "FontAwesome",sans-serif;
495
 
496
  .ddl-dialog .ui-slider{border:1px solid #ccc;border-radius: 0px;}
497
 
498
+ .ddl-dialog .ddl-dialog-content{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;}
499
+ .ddl-dialog .ui-widget, .ddl-dialog .ui-widget input, .ddl-dialog .ui-widget select, .ddl-dialog .ui-widget textarea, .ddl-dialog .ui-widget button{font-family: "Open Sans",sans-serif;}
500
  .ddl-dialog .ui-widget button.qt-fullscreen{font: 400 20px/1 dashicons;}
501
  .ddl-dialog .ui-widget-header, .ui-widget-header *{font-weight: normal;}
502
  .ddl-dialog .ui-widget-content a.fieldset-inputs{color:#0074a2;}
764
  position: relative;
765
  padding-top:2px;
766
  padding-bottom:2px;
767
+ padding-left:1px;
768
  }
769
  .grid-category-item:first-child{padding-left:2px;}
770
  .grid .item-details {
948
  }
949
  .ddl-preview-cell-name{
950
  overflow:hidden;
951
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;
952
  top:5px;
953
  background:#cccccc;
954
  word-wrap: break-word;
1145
  #wrapper-element-box-type a, #wrapper-element-box-type a:focus{box-shadow: none;}
1146
 
1147
  /*#wrapper-element-box-type h3, #wrapper-element-box-type div, #wrapper-element-box-type p, #wrapper-element-box-type span{
1148
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;
1149
  }*/
1150
  #wrapper-element-box-type h3.tree-toggle-element{
1151
  font-family: "FontAwesome",sans-serif;
library/toolset/toolset-common/utility/dialogs/js/views/abstract/dialog-view.js CHANGED
@@ -3,7 +3,13 @@ var DDLayout = DDLayout || {};
3
  DDLayout.DialogView = Backbone.View.extend({
4
 
5
  initialize: function ( options ) {
6
- var self = this;
 
 
 
 
 
 
7
 
8
  _.defaults(options, {
9
  title: "",
@@ -33,8 +39,7 @@ DDLayout.DialogView = Backbone.View.extend({
33
  self.set_template_object( options.template_object );
34
 
35
  self.set_title( options.title );
36
-
37
- self.template = _.template( jQuery( options.selector ).html() );
38
 
39
  self.listenTo(self.eventDispatcher, 'ddldialogopen'+'-'+self.dialog_name, self.open);
40
  self.listenTo(self.eventDispatcher,'ddldialogcreate'+'-'+self.dialog_name, self.create);
3
  DDLayout.DialogView = Backbone.View.extend({
4
 
5
  initialize: function ( options ) {
6
+ var self = this,
7
+ settings = {
8
+ escape: /\{\{([^\}]+?)\}\}(?!\})/g,
9
+ evaluate: /<#([\s\S]+?)#>/g,
10
+ interpolate: /\{\{\{([\s\S]+?)\}\}\}/g
11
+ },
12
+ template_settings = _.defaults({}, settings, _.templateSettings);
13
 
14
  _.defaults(options, {
15
  title: "",
39
  self.set_template_object( options.template_object );
40
 
41
  self.set_title( options.title );
42
+ self.template = _.template( jQuery( options.selector ).html(), template_settings );
 
43
 
44
  self.listenTo(self.eventDispatcher, 'ddldialogopen'+'-'+self.dialog_name, self.open);
45
  self.listenTo(self.eventDispatcher,'ddldialogcreate'+'-'+self.dialog_name, self.create);
library/toolset/toolset-common/utility/help-videos/res/js/toolset-help-videos.js CHANGED
@@ -179,7 +179,7 @@ WP_Toolset.HelpVideoView = Backbone.View.extend({
179
  }, false);
180
 
181
  mediaElement.addEventListener('ended', function(e) {
182
- self.setPlay( mediaElement );
183
  }, false);
184
  mediaElement.addEventListener('play', function(e) {
185
  jQuery('.mejs-mediaelement').loaderOverlay('hide');
@@ -191,11 +191,9 @@ WP_Toolset.HelpVideoView = Backbone.View.extend({
191
  }
192
  } );
193
  },
194
- setPlay:function( mediaElement ){
195
  var play = jQuery('<i class="fa fa-play-circle js-toolset-play-video"></i>'),
196
- $title = jQuery('.js-video-box-title-open').detach().clone();
197
-
198
- jQuery('.js-video-box-title-open').remove();
199
 
200
  jQuery('.mejs-mediaelement').loaderOverlay('show', {
201
  class:'loader-overlay-high-z',
@@ -205,6 +203,8 @@ WP_Toolset.HelpVideoView = Backbone.View.extend({
205
  }
206
  });
207
 
 
 
208
  jQuery('.toolset-box-container .loader-overlay').append($title);
209
 
210
  jQuery('.toolset-box-container .preloader').css({
179
  }, false);
180
 
181
  mediaElement.addEventListener('ended', function(e) {
182
+ self.setPlay( mediaElement, true );
183
  }, false);
184
  mediaElement.addEventListener('play', function(e) {
185
  jQuery('.mejs-mediaelement').loaderOverlay('hide');
191
  }
192
  } );
193
  },
194
+ setPlay:function( mediaElement, after_ended ){
195
  var play = jQuery('<i class="fa fa-play-circle js-toolset-play-video"></i>'),
196
+ $title = jQuery('.js-video-box-title-open').eq(0).detach().clone();
 
 
197
 
198
  jQuery('.mejs-mediaelement').loaderOverlay('show', {
199
  class:'loader-overlay-high-z',
203
  }
204
  });
205
 
206
+
207
+ jQuery('.js-video-box-title-open').remove();
208
  jQuery('.toolset-box-container .loader-overlay').append($title);
209
 
210
  jQuery('.toolset-box-container .preloader').css({
library/toolset/toolset-common/utility/help-videos/templates/help-video.tpl.php CHANGED
@@ -16,6 +16,7 @@
16
  </div> <!-- .toolset-box-content -->
17
 
18
  <div class="toolset-box-footer">
 
19
  <button class="button js-edit-video-close js-remove-video remove-video"><?php _e('Minimize','ddl-layouts') ?></button>
20
  <button class="button js-edit-video-detach js-detach-video remove-video"><?php _e('Open in a new window','ddl-layouts') ?></button>
21
  </div>
16
  </div> <!-- .toolset-box-content -->
17
 
18
  <div class="toolset-box-footer">
19
+ <span><a href="https://www.surveymonkey.com/r/layouts-videos"><?php _e('Give us feedback about this video', 'ddl-layouts');?></a></span>
20
  <button class="button js-edit-video-close js-remove-video remove-video"><?php _e('Minimize','ddl-layouts') ?></button>
21
  <button class="button js-edit-video-detach js-detach-video remove-video"><?php _e('Open in a new window','ddl-layouts') ?></button>
22
  </div>
library/toolset/toolset-common/utility/help-videos/toolset-help-videos.php CHANGED
@@ -221,5 +221,7 @@ if( !class_exists('Toolset_HelpVideo') ) {
221
  }
222
  }
223
 
224
- add_action('init', array('Toolset_VideoDetachedPage', 'getInstance'), 99);
 
 
225
  }
221
  }
222
  }
223
 
224
+ add_action( 'admin_menu', array( 'Toolset_VideoDetachedPage', 'getInstance' ), 99 );
225
+
226
+
227
  }
library/toolset/toolset-common/utility/js/utils.js CHANGED
@@ -499,11 +499,11 @@ if (typeof jQuery.fn.wpvToolsetHelp === 'undefined') {
499
  if ($overlayContainer.data('has-overlay')) {
500
  $overlayContainer.data('overlay-el')
501
  .fadeOut(prms.fadeOutSpeed, function () {
 
 
502
  if( options && typeof options.onRemove === 'function' ){
503
  options.onRemove.call(this, arguments);
504
  }
505
- $overlayEl.remove();
506
- $overlayContainer.data('has-overlay', false);
507
  });
508
  }
509
  };
499
  if ($overlayContainer.data('has-overlay')) {
500
  $overlayContainer.data('overlay-el')
501
  .fadeOut(prms.fadeOutSpeed, function () {
502
+ $overlayEl.detach().remove();
503
+ $overlayContainer.data('has-overlay', false);
504
  if( options && typeof options.onRemove === 'function' ){
505
  options.onRemove.call(this, arguments);
506
  }
 
 
507
  });
508
  }
509
  };
library/toolset/toolset-common/visual-editor/editor-addon-generic.class.php CHANGED
@@ -178,7 +178,12 @@ if( !class_exists( 'Editor_addon_generic' ) )
178
  throw new Exception( 'You should implement this method '. __METHOD__ );
179
  }
180
 
181
-
 
 
 
 
 
182
  public static function getWpForbiddenNames()
183
  {
184
  global $wp_post_types;
178
  throw new Exception( 'You should implement this method '. __METHOD__ );
179
  }
180
 
181
+
182
+ /**
183
+ * @deprecated This doesn't seem to be used anywhere in Toolset, nor should it be. Consider removing it.
184
+ *
185
+ * @return array
186
+ */
187
  public static function getWpForbiddenNames()
188
  {
189
  global $wp_post_types;
library/toolset/toolset-common/visual-editor/views-editor-addon.class.php CHANGED
@@ -27,7 +27,9 @@ if ( file_exists( dirname(__FILE__) . '/editor-addon-generic.class.php') && !cla
27
  }
28
 
29
  add_action( 'admin_footer', array( $this, 'print_footer_dialogs' ) );
30
-
 
 
31
  }
32
 
33
  function print_footer_dialogs() {
27
  }
28
 
29
  add_action( 'admin_footer', array( $this, 'print_footer_dialogs' ) );
30
+
31
+ if( apply_filters( 'wpv_render_dialogs_on_frontend', false ) )
32
+ add_action( 'wp_footer', array( $this, 'print_footer_dialogs' ) );
33
  }
34
 
35
  function print_footer_dialogs() {
library/toolset/types/{no_autoload_classmap.php → disabled_autoload_classmap.php} RENAMED
File without changes
library/toolset/types/embedded/admin.php CHANGED
@@ -719,6 +719,27 @@ function wpcf_admin_get_edited_post() {
719
  }
720
  }
721
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
722
  /**
723
  * Gets post type.
724
  *
719
  }
720
  }
721
 
722
+ /**
723
+ * wpcf_admin_get_current_edited_post
724
+ *
725
+ * Wrapper for wpcf_admin_get_edited_post returning nul instead of an empty array when the current post can not be guessed.
726
+ *
727
+ * Used on the Views integration at /library/tolset/types/embedded/classes/wpviews.php
728
+ * when calculating the current post so we can display the right fields in the Fields and Views dialog.
729
+ *
730
+ * @since 2.2
731
+ */
732
+
733
+ add_filter( 'wpcf_filter_wpcf_admin_get_current_edited_post', 'wpcf_admin_get_current_edited_post' );
734
+
735
+ function wpcf_admin_get_current_edited_post( $current_post = null ) {
736
+ $current_post = wpcf_admin_get_edited_post();
737
+ if ( empty( $current_post ) ) {
738
+ return null;
739
+ }
740
+ return $current_post;
741
+ }
742
+
743
  /**
744
  * Gets post type.
745
  *
library/toolset/types/embedded/bootstrap.php CHANGED
@@ -359,18 +359,16 @@ function wpcf_embedded_init() {
359
  'view-template',
360
  'wp-types-group',
361
  'wp-types-user-group',
 
362
  'acf-field-group',
 
363
  );
364
 
365
  /**
366
- * Do use this CPT in Toolset "actions"
367
  *
368
- * Filter allow to add own post types which will be not used in
369
- * Toolset plugins
370
- *
371
- * @since 1.9.0
372
- *
373
- * @param array $post_types array of post types slugs
374
  */
375
  $wpcf->excluded_post_types = apply_filters( 'toolset_filter_exclude_own_post_types', $wpcf->excluded_post_types );
376
 
359
  'view-template',
360
  'wp-types-group',
361
  'wp-types-user-group',
362
+ 'wp-types-term-group',
363
  'acf-field-group',
364
+ 'acf'
365
  );
366
 
367
  /**
368
+ * Filter that allows to add own post types which will be not used in Toolset plugins.
369
  *
370
+ * @param string[] $post_types array of post type slugs.
371
+ * @since 1.9
 
 
 
 
372
  */
373
  $wpcf->excluded_post_types = apply_filters( 'toolset_filter_exclude_own_post_types', $wpcf->excluded_post_types );
374
 
library/toolset/types/embedded/classes/class.wpcf-post-types.php CHANGED
@@ -413,9 +413,6 @@ class WPCF_Post_Types
413
  function set($post_type, $settings = null)
414
  {
415
  $data = get_post_type_object( $post_type );
416
- if ( empty( $data ) ) {
417
-
418
- }
419
  $this->data = $data;
420
  $this->settings = is_null( $settings ) ? $this->get_settings( $post_type ) : (array) $settings;
421
  }
413
  function set($post_type, $settings = null)
414
  {
415
  $data = get_post_type_object( $post_type );
 
 
 
416
  $this->data = $data;
417
  $this->settings = is_null( $settings ) ? $this->get_settings( $post_type ) : (array) $settings;
418
  }
library/toolset/types/embedded/classes/field/accessor/dummy.php CHANGED
@@ -27,6 +27,7 @@ final class WPCF_Field_Accessor_Dummy extends WPCF_Field_Accessor_Abstract {
27
  */
28
  public function update_raw_value( $value, $prev_value = '' ) {
29
  // Nothing to do here, although this being called might indicate an error.
 
30
  }
31
 
32
  /**
@@ -38,6 +39,7 @@ final class WPCF_Field_Accessor_Dummy extends WPCF_Field_Accessor_Abstract {
38
  */
39
  public function delete_raw_value( $value = '' ) {
40
  // Nothing to do here, although this being called might indicate an error.
 
41
  }
42
 
43
  /**
@@ -52,6 +54,7 @@ final class WPCF_Field_Accessor_Dummy extends WPCF_Field_Accessor_Abstract {
52
  */
53
  public function add_raw_value( $value ) {
54
  // Nothing to do here, although this being called might indicate an error.
 
55
  }
56
 
57
- }
27
  */
28
  public function update_raw_value( $value, $prev_value = '' ) {
29
  // Nothing to do here, although this being called might indicate an error.
30
+ return true;
31
  }
32
 
33
  /**
39
  */
40
  public function delete_raw_value( $value = '' ) {
41
  // Nothing to do here, although this being called might indicate an error.
42
+ return true;
43
  }
44
 
45
  /**
54
  */
55
  public function add_raw_value( $value ) {
56
  // Nothing to do here, although this being called might indicate an error.
57
+ return true;
58
  }
59
 
60
+ }
library/toolset/types/embedded/classes/field/datamapper/abstract.php CHANGED
@@ -19,7 +19,7 @@ abstract class WPCF_Field_DataMapper_Abstract {
19
 
20
  public function __construct( $field_definition ) {
21
  if( ! $field_definition instanceof WPCF_Field_Definition_Abstract ) {
22
- throw new InvalidArgumentException( 'Field instance expected.' );
23
  }
24
 
25
  $this->field_definition = $field_definition;
@@ -44,4 +44,4 @@ abstract class WPCF_Field_DataMapper_Abstract {
44
  public function post_to_intermediate( $post_value, /** @noinspection PhpUnusedParameterInspection */ $form_data ) {
45
  return $post_value;
46
  }
47
- }
19
 
20
  public function __construct( $field_definition ) {
21
  if( ! $field_definition instanceof WPCF_Field_Definition_Abstract ) {
22
+ throw new InvalidArgumentException( 'Field definition instance expected.' );
23
  }
24
 
25
  $this->field_definition = $field_definition;
44
  public function post_to_intermediate( $post_value, /** @noinspection PhpUnusedParameterInspection */ $form_data ) {
45
  return $post_value;
46
  }
47
+ }
library/toolset/types/embedded/classes/field/datamapper/checkbox.php CHANGED
@@ -18,7 +18,8 @@ class WPCF_Field_DataMapper_Checkbox extends WPCF_Field_DataMapper_Abstract {
18
  */
19
  public function post_to_intermediate( $post_value, $form_data ) {
20
  if( ! array_key_exists( $this->field_definition->get_slug(), $form_data ) ) {
21
- $value = false;
 
22
  } else {
23
  $value = $post_value;
24
  }
18
  */
19
  public function post_to_intermediate( $post_value, $form_data ) {
20
  if( ! array_key_exists( $this->field_definition->get_slug(), $form_data ) ) {
21
+ // save 0 when option "When unchecked, save 0 to the database" is selected
22
+ $value = $this->field_definition->get_should_save_empty_value() ? 0 : false;
23
  } else {
24
  $value = $post_value;
25
  }
library/toolset/types/embedded/classes/field/definition_factory.php CHANGED
@@ -487,10 +487,10 @@ abstract class WPCF_Field_Definition_Factory {
487
  * - orderby: 'name'|'slug'|'is_under_types_control'|'field_type'
488
  * - order: 'asc'|'desc'
489
  * - search: String for fulltext search.
490
- * - field_type: string Field type slug.
491
- * - group_id: int Field group ID where this field belongs to.
492
  * - group_slug: string Slug of an existing firld group where this field belongs to. If defined, overrides
493
- * the group_id argument.
494
  *
495
  * @return WPCF_Field_Definition_Abstract[] Field definitions that match query arguments.
496
  *
@@ -501,19 +501,20 @@ abstract class WPCF_Field_Definition_Factory {
501
  $args = wp_parse_args( $args, array( 'filter' => 'all' ) );
502
 
503
  // Get only certain type of field definitions (generic, Types or both)
504
- switch( $args['filter'] ) {
505
- case 'types':
506
- $results = $this->load_types_field_definitions();
507
- break;
508
- case 'generic':
509
- $results = $this->load_generic_field_definitions();
510
- break;
511
- case 'all':
512
- $results = $this->load_all_definitions();
513
- break;
514
- default:
515
- $results = array();
516
- break;
 
517
  }
518
 
519
  // Perform fulltext search if needed
@@ -529,12 +530,17 @@ abstract class WPCF_Field_Definition_Factory {
529
  }
530
 
531
  // Select only fields of desired type
532
- $field_type = wpcf_getarr( $args, 'field_type' );
 
 
533
  if( !empty( $field_type ) ) {
534
  $type_matches = array();
535
  foreach( $results as $definition ) {
536
- if( $definition->get_type()->get_slug() == $field_type ) {
537
- $type_matches[] = $definition;
 
 
 
538
  }
539
  }
540
  $results = $type_matches;
@@ -548,7 +554,9 @@ abstract class WPCF_Field_Definition_Factory {
548
  $group_matches = array();
549
  if( null != $group ) {
550
  foreach( $results as $field_definition ) {
551
- if( $field_definition->belongs_to_group( $group ) ) {
 
 
552
  $group_matches[] = $field_definition;
553
  }
554
  }
487
  * - orderby: 'name'|'slug'|'is_under_types_control'|'field_type'
488
  * - order: 'asc'|'desc'
489
  * - search: String for fulltext search.
490
+ * - field_type: string|array Field type slug(s). Allowed only for Types fields.
491
+ * - group_id: int Field group ID where this field belongs to. Allowed only for Types fields.
492
  * - group_slug: string Slug of an existing firld group where this field belongs to. If defined, overrides
493
+ * the group_id argument. Allowed only for Types fields.
494
  *
495
  * @return WPCF_Field_Definition_Abstract[] Field definitions that match query arguments.
496
  *
501
  $args = wp_parse_args( $args, array( 'filter' => 'all' ) );
502
 
503
  // Get only certain type of field definitions (generic, Types or both)
504
+ $filter = wpcf_getarr( $args, 'filter' );
505
+ if( 'types' == $filter ) {
506
+ $results = $this->load_types_field_definitions();
507
+ } else if( 'generic' == $filter ) {
508
+ $results = $this->load_generic_field_definitions();
509
+ } else if( 'all' == $filter ) {
510
+ $results = $this->load_all_definitions();
511
+ } else {
512
+ $results = array();
513
+ }
514
+
515
+ // Save us some work if there will be no results at all
516
+ if( empty( $results ) ) {
517
+ return array();
518
  }
519
 
520
  // Perform fulltext search if needed
530
  }
531
 
532
  // Select only fields of desired type
533
+ $field_type = wpcf_getarr( $args, 'field_type', array() );
534
+ $field_type = empty( $field_type ) ? array() : $field_type;
535
+ $field_type = is_array( $field_type ) ? $field_type : array( $field_type );
536
  if( !empty( $field_type ) ) {
537
  $type_matches = array();
538
  foreach( $results as $definition ) {
539
+ if( $definition instanceof WPCF_Field_Definition ) {
540
+ $type = $definition->get_type();
541
+ if( in_array( $type->get_slug(), $field_type ) ) {
542
+ $type_matches[] = $definition;
543
+ }
544
  }
545
  }
546
  $results = $type_matches;
554
  $group_matches = array();
555
  if( null != $group ) {
556
  foreach( $results as $field_definition ) {
557
+ if( $field_definition instanceof WPCF_Field_Definition
558
+ && $field_definition->belongs_to_group( $group ) )
559
+ {
560
  $group_matches[] = $field_definition;
561
  }
562
  }
library/toolset/types/embedded/classes/field/instance_abstract.php CHANGED
@@ -26,7 +26,10 @@ abstract class WPCF_Field_Instance_Abstract {
26
  public function get_definition() { return $this->definition; }
27
 
28
 
29
- public function get_field_type() { return $this->get_definition()->get_type(); }
 
 
 
30
 
31
 
32
  /**
@@ -46,7 +49,8 @@ abstract class WPCF_Field_Instance_Abstract {
46
  * @return mixed Raw value of the field.
47
  */
48
  public function get_raw_value() {
49
- return $this->get_accessor()->get_raw_value();
 
50
  }
51
 
52
 
26
  public function get_definition() { return $this->definition; }
27
 
28
 
29
+ public function get_field_type() {
30
+ $definition = $this->get_definition();
31
+ return $definition->get_type();
32
+ }
33
 
34
 
35
  /**
49
  * @return mixed Raw value of the field.
50
  */
51
  public function get_raw_value() {
52
+ $accessor = $this->get_accessor();
53
+ return $accessor->get_raw_value();
54
  }
55
 
56
 
library/toolset/types/embedded/classes/field/renderer/preview/checkbox.php CHANGED
@@ -17,7 +17,9 @@ final class WPCF_Field_Renderer_Preview_Checkbox extends WPCF_Field_Renderer_Pre
17
  */
18
  protected function render_single( $value ) {
19
 
20
- $value_of_checked = $this->field->get_definition()->get_forced_value();
 
 
21
  if( null != $value_of_checked && $value_of_checked == $value ) {
22
  return '&#10004;'; // ballot box with check - checkbox - checkmark - miscellaneous symbols
23
  }
17
  */
18
  protected function render_single( $value ) {
19
 
20
+ $field_definition = $this->field->get_definition();
21
+ $value_of_checked = $field_definition->get_forced_value();
22
+
23
  if( null != $value_of_checked && $value_of_checked == $value ) {
24
  return '&#10004;'; // ballot box with check - checkbox - checkmark - miscellaneous symbols
25
  }
library/toolset/types/embedded/classes/loader.php CHANGED
@@ -119,8 +119,10 @@ class WPCF_Loader
119
  */
120
  private static function __registerScripts() {
121
  $min = '';//WPCF_DEBUG ? '-min' : '';
122
- wp_register_script( 'types', WPCF_EMBEDDED_RES_RELPATH . '/js/basic.js',
123
- array('jquery'), WPCF_VERSION, true );
 
 
124
  wp_register_script( 'types-knockout',
125
  WPCF_EMBEDDED_RES_RELPATH . '/js/knockout-2.2.1.js',
126
  array('jquery'), WPCF_VERSION, true );
119
  */
120
  private static function __registerScripts() {
121
  $min = '';//WPCF_DEBUG ? '-min' : '';
122
+ wp_register_script( 'types',
123
+ WPCF_EMBEDDED_RES_RELPATH . '/js/basic.js',
124
+ array('jquery', 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-tabs', 'select2'),
125
+ WPCF_VERSION, true );
126
  wp_register_script( 'types-knockout',
127
  WPCF_EMBEDDED_RES_RELPATH . '/js/knockout-2.2.1.js',
128
  array('jquery'), WPCF_VERSION, true );
library/toolset/types/embedded/classes/relationship.php CHANGED
@@ -298,7 +298,14 @@ class WPCF_Relationship
298
  }
299
  }
300
  }
 
 
 
 
301
  $updated_id = wp_update_post( $post_data );
 
 
 
302
  if ( isset($temp_post_data) ) {
303
  $_POST = $temp_post_data;
304
  unset($temp_post_data);
298
  }
299
  }
300
  }
301
+
302
+ // Workaround for types-876, see wpcf_admin_post_save_post_hook().
303
+ add_filter( 'types_updating_child_post', '__return_true' );
304
+
305
  $updated_id = wp_update_post( $post_data );
306
+
307
+ remove_filter( 'types_updating_child_post', '__return_true' );
308
+
309
  if ( isset($temp_post_data) ) {
310
  $_POST = $temp_post_data;
311
  unset($temp_post_data);
library/toolset/types/embedded/classes/relationship/form-child.php CHANGED
@@ -849,7 +849,7 @@ class WPCF_Relationship_Child_Form
849
  continue;
850
  }
851
  $temp_parent_type = get_post_type_object( $_parent );
852
- if ( empty( $temp_parent_type ) ) {
853
  continue;
854
  }
855
  $parent_dir = $sort_field == '_wpcf_pr_parent' ? $dir : $dir_default;
849
  continue;
850
  }
851
  $temp_parent_type = get_post_type_object( $_parent );
852
+ if ( null == $temp_parent_type ) {
853
  continue;
854
  }
855
  $parent_dir = $sort_field == '_wpcf_pr_parent' ? $dir : $dir_default;
library/toolset/types/embedded/classes/wpviews.php CHANGED
@@ -81,7 +81,7 @@ class WPCF_WPViews
81
  wp_enqueue_script( 'toolset-colorbox' );
82
  wp_enqueue_style( 'toolset-colorbox' );
83
 
84
- $current_post = wpcf_admin_get_edited_post();
85
  if ( empty( $current_post ) ) {
86
  $current_post = (object) array('ID' => -1);
87
  }
@@ -127,8 +127,8 @@ class WPCF_WPViews
127
  * @return type
128
  */
129
  public static function editorDropdownFilter( $menu ) {
130
- $post = wpcf_admin_get_edited_post();
131
- if ( empty( $post ) ) {
132
  $post = (object) array('ID' => -1);
133
  }
134
  $groups = wpcf_admin_fields_get_groups( TYPES_CUSTOM_FIELD_GROUP_CPT_NAME, 'group_active' );
81
  wp_enqueue_script( 'toolset-colorbox' );
82
  wp_enqueue_style( 'toolset-colorbox' );
83
 
84
+ $current_post = apply_filters( 'wpcf_filter_wpcf_admin_get_current_edited_post', null );
85
  if ( empty( $current_post ) ) {
86
  $current_post = (object) array('ID' => -1);
87
  }
127
  * @return type
128
  */
129
  public static function editorDropdownFilter( $menu ) {
130
+ $post = apply_filters( 'wpcf_filter_wpcf_admin_get_current_edited_post', null );
131
+ if ( ! $post ) {
132
  $post = (object) array('ID' => -1);
133
  }
134
  $groups = wpcf_admin_fields_get_groups( TYPES_CUSTOM_FIELD_GROUP_CPT_NAME, 'group_active' );
library/toolset/types/embedded/functions.php CHANGED
@@ -544,6 +544,10 @@ function wpcf_enqueue_scripts()
544
  array('jquery', 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-tabs', 'select2'),
545
  WPCF_VERSION
546
  );
 
 
 
 
547
  /*
548
  *
549
  * Basic CSS
544
  array('jquery', 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-tabs', 'select2'),
545
  WPCF_VERSION
546
  );
547
+ wp_localize_script( 'wpcf-js-embedded', 'WPCF_basic', array(
548
+ 'field_already_in_use' => sprintf( __( '%s This field is locked because the same field is added multiple times to this post. %s%s%s you can set the value%s', 'wpcf' ),'<small style="display: block;">', '<a href="#" class="focus_correct_field" data-field-slug="##DATA-FIELD-ID##" >','Here', '</a>','</small>'),
549
+ ));
550
+
551
  /*
552
  *
553
  * Basic CSS
library/toolset/types/embedded/includes/classes/class.types.data.installer.php CHANGED
@@ -65,10 +65,11 @@ if ( !class_exists('Types_Data_Installer') ) {
65
  }
66
 
67
  if (
68
- isset($this->data->$group)
69
- && isset($this->data->$group->$element)
70
  ) {
71
- return $this->get_data($group_name, $this->data->$group->$element);
 
72
  }
73
  return;
74
  }
65
  }
66
 
67
  if (
68
+ isset($this->data->{$group})
69
+ && isset($this->data->{$group}->{$element})
70
  ) {
71
+ $array = get_object_vars( clone $this->data->{$group}->{$element} );
72
+ return $this->get_data($group_name, $array);
73
  }
74
  return;
75
  }
library/toolset/types/embedded/includes/fields-post.php CHANGED
@@ -129,6 +129,7 @@ function wpcf_add_meta_boxes( $post_type, $post )
129
  'view',
130
  'view-template',
131
  'acf-field-group',
 
132
  );
133
 
134
  /**
@@ -590,6 +591,16 @@ function wpcf_admin_post_save_post_hook( $post_ID, $post )
590
 
591
  if ( defined( 'WPTOOLSET_FORMS_VERSION' ) ) {
592
 
 
 
 
 
 
 
 
 
 
 
593
  global $wpcf;
594
  $errors = false;
595
 
@@ -654,7 +665,13 @@ function wpcf_admin_post_save_post_hook( $post_ID, $post )
654
  continue;
655
  }
656
 
 
 
 
 
 
657
  $_field_value = !types_is_repetitive( $field ) ? array($field_value) : $field_value;
 
658
  // Set config
659
  $config = wptoolset_form_filter_types_field( $field, $post_ID, $_post_wpcf);
660
 
129
  'view',
130
  'view-template',
131
  'acf-field-group',
132
+ 'acf'
133
  );
134
 
135
  /**
591
 
592
  if ( defined( 'WPTOOLSET_FORMS_VERSION' ) ) {
593
 
594
+ // Apparently, some things are *slightly* different when saving a child post in the Post relationships metabox.
595
+ // Ugly hack that will go away with m2m.
596
+ //
597
+ // Note: The types_updating_child_post filter is needed for a situation when user clicks on the Update button
598
+ // for the parent post. In that case we don't get enough information to determine if a child post is being updated.
599
+ $is_child_post_update = (
600
+ ( 'wpcf_ajax' == wpcf_getget( 'action' ) && 'pr_save_child_post' == wpcf_getget( 'wpcf_action' ) )
601
+ || apply_filters( 'types_updating_child_post', false )
602
+ );
603
+
604
  global $wpcf;
605
  $errors = false;
606
 
665
  continue;
666
  }
667
 
668
+ // This is (apparently) expected for repetitive fields...
669
+ if( $is_child_post_update && types_is_repetitive( $field ) ) {
670
+ $field_value = array( $field_value );
671
+ }
672
+
673
  $_field_value = !types_is_repetitive( $field ) ? array($field_value) : $field_value;
674
+
675
  // Set config
676
  $config = wptoolset_form_filter_types_field( $field, $post_ID, $_post_wpcf);
677
 
library/toolset/types/embedded/includes/fields.php CHANGED
@@ -771,15 +771,15 @@ function wpcf_get_usermeta_form_addon_submit() {
771
  $add = '';
772
  if ( !empty( $_POST['is_usermeta'] ) ) {
773
  if ( $_POST['display_username_for'] == 'post_autor' ) {
774
- $add .= ' user_is_author="true"';
775
  } elseif ( $_POST['display_username_for'] == 'current_user' ) {
776
- $add .= ' user_current="true"';
777
  }
778
  else {
779
  if ( $_POST['display_username_for_suser_selector'] == 'specific_user_by_id' ) {
780
- $add .= ' user_id="' . sanitize_text_field($_POST['display_username_for_suser_id_value']) . '"';
781
  } else {
782
- $add .= ' user_name="' . sanitize_text_field($_POST['display_username_for_suser_username_value']) . '"';
783
  }
784
  }
785
  }
771
  $add = '';
772
  if ( !empty( $_POST['is_usermeta'] ) ) {
773
  if ( $_POST['display_username_for'] == 'post_autor' ) {
774
+ $add .= ' user_is_author=\'true\'';
775
  } elseif ( $_POST['display_username_for'] == 'current_user' ) {
776
+ $add .= ' user_current=\'true\'';
777
  }
778
  else {
779
  if ( $_POST['display_username_for_suser_selector'] == 'specific_user_by_id' ) {
780
+ $add .= ' user_id=\'' . sanitize_text_field($_POST['display_username_for_suser_id_value']) . '\'';
781
  } else {
782
+ $add .= ' user_name=\'' . sanitize_text_field($_POST['display_username_for_suser_username_value']) . '\'';
783
  }
784
  }
785
  }
library/toolset/types/embedded/includes/fields/checkbox.php CHANGED
@@ -161,8 +161,10 @@ function wpcf_fields_checkbox_view($params)
161
  {
162
  $output = '';
163
  $option_name = 'wpcf-fields';
164
- if ( isset( $params['usermeta'] ) && !empty( $params['usermeta'] ) ) {
165
  $option_name = 'wpcf-usermeta';
 
 
166
  }
167
  if ( isset( $params['option_name'] ) ) {
168
  $option_name = $params['option_name'];
@@ -210,7 +212,10 @@ function wpcf_fields_checkbox_view($params)
210
  $output = $params['field_value'];
211
  // Show the translated value if we have one.
212
  $field = wpcf_fields_get_field_by_slug( $params['field']['slug'], $option_name );
213
- $output = wpcf_translate( 'field ' . $field['id'] . ' checkbox value', $output );
 
 
 
214
  } elseif ( $params['field']['data']['display'] == 'value'
215
  && $params['field_value'] != '' ) {
216
  if ( !empty( $params['field']['data']['display_value_selected'] ) ) {
161
  {
162
  $output = '';
163
  $option_name = 'wpcf-fields';
164
+ if ( isset( $params['usermeta'] ) && ! empty( $params['usermeta'] ) ) {
165
  $option_name = 'wpcf-usermeta';
166
+ } else if ( isset( $params['termmeta'] ) && ! empty( $params['termmeta'] ) ) {
167
+ $option_name = 'wpcf-termmeta';
168
  }
169
  if ( isset( $params['option_name'] ) ) {
170
  $option_name = $params['option_name'];
212
  $output = $params['field_value'];
213
  // Show the translated value if we have one.
214
  $field = wpcf_fields_get_field_by_slug( $params['field']['slug'], $option_name );
215
+
216
+ if( is_array( $field ) && isset( $field['id'] ) ) {
217
+ $output = wpcf_translate( 'field ' . $field['id'] . ' checkbox value', $output );
218
+ }
219
  } elseif ( $params['field']['data']['display'] == 'value'
220
  && $params['field_value'] != '' ) {
221
  if ( !empty( $params['field']['data']['display_value_selected'] ) ) {
library/toolset/types/embedded/includes/fields/entry.php CHANGED
@@ -40,7 +40,7 @@ function wpcf_fields_entry_meta_box_form( $field ) {
40
  function wpcf_fields_entry_editor_callback($field, $settings)
41
  {
42
  $post_type = get_post_type_object( $field['data']['post_type'] );
43
- if ( empty($post_type ) ) {
44
  return;
45
  }
46
 
40
  function wpcf_fields_entry_editor_callback($field, $settings)
41
  {
42
  $post_type = get_post_type_object( $field['data']['post_type'] );
43
+ if ( null == $post_type ) {
44
  return;
45
  }
46
 
library/toolset/types/embedded/includes/fields/image.php CHANGED
@@ -334,8 +334,8 @@ function wpcf_fields_image_view( $params ) {
334
  array(
335
  'class' => implode( ' ', $class ),
336
  'style' => implode( ' ', $style ),
337
- 'alt' => $alt,
338
- 'title' => $title
339
  )
340
  );
341
  }
@@ -417,9 +417,9 @@ function wpcf_fields_image_view( $params ) {
417
  return $resized_image;
418
  }
419
 
420
- $output = sprintf( '<img alt="%s" ', $output .= $alt !== false ? esc_attr($alt) : '');
421
  if ( $title !== false ) {
422
- $output .= sprintf(' title="%s"', esc_attr($title));
423
  }
424
  $output .=!empty( $params['onload'] ) ? ' onload="' . esc_attr($params['onload']) . '"' : '';
425
  $output .=!empty( $class ) ? ' class="' . esc_attr(implode( ' ', $class )) . '"' : '';
@@ -430,6 +430,51 @@ function wpcf_fields_image_view( $params ) {
430
  return $output;
431
  }
432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
433
  /**
434
  * Resizes image using WP image_resize() function.
435
  *
334
  array(
335
  'class' => implode( ' ', $class ),
336
  'style' => implode( ' ', $style ),
337
+ 'alt' => wpcf_attachment_placeholder( $image_data['is_attachment'], $alt ),
338
+ 'title' => wpcf_attachment_placeholder( $image_data['is_attachment'], $title )
339
  )
340
  );
341
  }
417
  return $resized_image;
418
  }
419
 
420
+ $output = sprintf( '<img alt="%s" ', $output .= $alt !== false ? wpcf_attachment_placeholder( $image_data['is_attachment'], $alt ) : '');
421
  if ( $title !== false ) {
422
+ $output .= sprintf(' title="%s"', wpcf_attachment_placeholder( $image_data['is_attachment'], $title ));
423
  }
424
  $output .=!empty( $params['onload'] ) ? ' onload="' . esc_attr($params['onload']) . '"' : '';
425
  $output .=!empty( $class ) ? ' class="' . esc_attr(implode( ' ', $class )) . '"' : '';
430
  return $output;
431
  }
432
 
433
+ function wpcf_attachment_placeholder( $attachment_id, $string ) {
434
+ if( empty( $string ) )
435
+ return $string;
436
+
437
+ $placeholders = array(
438
+ '%%ALT%%',
439
+ '%%TITLE%%',
440
+ '%%DESCRIPTION%%',
441
+ '%%CAPTION%%',
442
+ );
443
+
444
+ $search_pattern = '#(' . implode( '|', $placeholders ).')#';
445
+
446
+ if( ! preg_match( $search_pattern, $string ) )
447
+ return esc_attr( $string );
448
+
449
+ $placeholder_values = wpcf_attachment_placeholder_values( $attachment_id );
450
+
451
+ if( ! $placeholder_values )
452
+ return esc_attr( $string );
453
+
454
+ foreach( $placeholders as $placeholder ) {
455
+ if( ! array_key_exists( $placeholder, $placeholder_values ) )
456
+ continue;
457
+
458
+ $string = str_replace( $placeholder, $placeholder_values[$placeholder], $string );
459
+ }
460
+
461
+ return esc_attr( $string );
462
+ }
463
+
464
+ function wpcf_attachment_placeholder_values( $attachment_id ) {
465
+ $attachment = get_post( $attachment_id );
466
+
467
+ if( ! $attachment )
468
+ return false;
469
+
470
+ return array(
471
+ '%%ALT%%' => get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true ),
472
+ '%%CAPTION%%' => $attachment->post_excerpt,
473
+ '%%DESCRIPTION%%' => $attachment->post_content,
474
+ '%%TITLE%%' => $attachment->post_title
475
+ );
476
+ }
477
+
478
  /**
479
  * Resizes image using WP image_resize() function.
480
  *
library/toolset/types/embedded/includes/fields/radio.php CHANGED
@@ -126,8 +126,8 @@ function wpcf_fields_radio_editor_submit( $data, $field, $context ) {
126
  if ( isset( $data['display'] ) && $data['display'] == 'value' && !empty( $data['options'] ) ) {
127
  $shortcode = '';
128
  foreach ( $data['options'] as $option_id => $value ) {
129
- $shortcode .= '[types ' . $types_attr . '="' . $field['slug']
130
- . '" ' . $add . ' option="' . $option_id . '"]' . $value
131
  . '[/types] ';
132
  }
133
  } else {
126
  if ( isset( $data['display'] ) && $data['display'] == 'value' && !empty( $data['options'] ) ) {
127
  $shortcode = '';
128
  foreach ( $data['options'] as $option_id => $value ) {
129
+ $shortcode .= '[types ' . $types_attr . '=\'' . $field['slug']
130
+ . '\' ' . $add . ' option=\'' . $option_id . '\']' . $value
131
  . '[/types] ';
132
  }
133
  } else {
library/toolset/types/embedded/includes/fields/textfield.php CHANGED
@@ -15,7 +15,7 @@ function wpcf_fields_textfield() {
15
  'form-settings' => include( dirname( __FILE__ ) . '/patterns/validate/form-settings/required.php' )
16
  )
17
  ),
18
- 'font-awesome' => 'minus',
19
  );
20
  }
21
 
15
  'form-settings' => include( dirname( __FILE__ ) . '/patterns/validate/form-settings/required.php' )
16
  )
17
  ),
18
+ 'font-awesome' => 'font',
19
  );
20
  }
21
 
library/toolset/types/embedded/includes/import-export.php CHANGED
@@ -8,8 +8,12 @@
8
  /**
9
  * Imports data from XML.
10
  *
11
- * @global object $wpdb
 
 
 
12
  *
 
13
  */
14
  function wpcf_admin_import_data($data = '', $redirect = true, $context = 'types', $args = array() )
15
  {
8
  /**
9
  * Imports data from XML.
10
  *
11
+ * @param string $data
12
+ * @param bool $redirect
13
+ * @param string $context
14
+ * @param array $args
15
  *
16
+ * @return array
17
  */
18
  function wpcf_admin_import_data($data = '', $redirect = true, $context = 'types', $args = array() )
19
  {
library/toolset/types/embedded/includes/post-relationship.php CHANGED
@@ -344,6 +344,11 @@ function wpcf_pr_admin_post_meta_box_belongs_form( $post, $type, $belongs )
344
  'data-input-too-short' => esc_attr(__('Please enter 1 or more character.', 'wpcf')),
345
  ),
346
  );
 
 
 
 
 
347
  return $form;
348
  }
349
 
@@ -525,6 +530,16 @@ function wpcf_pr_admin_save_post_hook( $parent_post_id ) {
525
  // WPML
526
  wpcf_wpml_relationship_save_post_hook( $parent_post_id );
527
 
 
 
 
 
 
 
 
 
 
 
528
  $cached[$parent_post_id] = true;
529
  }
530
 
@@ -595,7 +610,7 @@ function wpcf_pr_admin_wpcf_relationship_search()
595
  'posts_per_page' => apply_filters( 'wpcf_pr_belongs_post_posts_per_page', $posts_per_page ),
596
  'post_status' => apply_filters( 'wpcf_pr_belongs_post_status', array( 'publish', 'private' ) ),
597
  'post_type' => $_REQUEST['post_type'],
598
- 'suppress_filters' => 1,
599
  );
600
 
601
  if ( isset( $_REQUEST['s'] ) ) {
344
  'data-input-too-short' => esc_attr(__('Please enter 1 or more character.', 'wpcf')),
345
  ),
346
  );
347
+
348
+ if( $form[$type]['#value'] != 0 && get_post_status( $form[$type]['#value'] ) ) {
349
+ $form[$type]['#attributes']['data-belongs-title'] = get_the_title( $belongs['belongs'][$type] );
350
+ }
351
+
352
  return $form;
353
  }
354
 
530
  // WPML
531
  wpcf_wpml_relationship_save_post_hook( $parent_post_id );
532
 
533
+ /**
534
+ * Temporary workaround until https://core.trac.wordpress.org/ticket/17817 is fixed.
535
+ *
536
+ * Saving child posts cancels all save_post actions for the parent post that would otherwise come
537
+ * after this one.
538
+ *
539
+ * @since 2.2
540
+ */
541
+ do_action( 'types_finished_saving_child_posts', $parent_post_id );
542
+
543
  $cached[$parent_post_id] = true;
544
  }
545
 
610
  'posts_per_page' => apply_filters( 'wpcf_pr_belongs_post_posts_per_page', $posts_per_page ),
611
  'post_status' => apply_filters( 'wpcf_pr_belongs_post_status', array( 'publish', 'private' ) ),
612
  'post_type' => $_REQUEST['post_type'],
613
+ 'suppress_filters' => false,
614
  );
615
 
616
  if ( isset( $_REQUEST['s'] ) ) {
library/toolset/types/embedded/locale/types-ar.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-de_DE.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-el.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-es_ES.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-fr_FR.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-he_IL.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-it_IT.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-ja.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-ko_KR.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-nl_NL.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-pl_PL.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-pt_BR.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-pt_PT.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-ru_RU.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-sv_SE.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-uk_UA.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-vi.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-zh_CN.mo CHANGED
Binary file
library/toolset/types/embedded/locale/types-zh_TW.mo CHANGED
Binary file
library/toolset/types/embedded/resources/css/basic.css CHANGED
@@ -197,6 +197,14 @@ body .ui-dialog .wpcf-ui-dialog-cancel
197
  margin-left: 0;
198
  }
199
 
 
 
 
 
 
 
 
 
200
  body.wp-admin .wpcf-ui-dialog
201
  ,body.wp-admin .wpcf-ui-dialog .ui-dialog-titlebar
202
  ,body.wp-admin .wpcf-ui-dialog .ui-dialog-titlebar-close
@@ -1435,4 +1443,11 @@ input#slug+p.wpcf-form-description {
1435
  .toolset_page_wpcf-edit-type #post-body #visibility:before,
1436
  .toolset_page_wpcf-edit-tax #post-body #visibility:before {
1437
  content: '\f173';
 
 
 
 
 
 
 
1438
  }
197
  margin-left: 0;
198
  }
199
 
200
+ body.rtl .ui-dialog .wpcf-ui-dialog-cancel
201
+ {
202
+ position: relative;
203
+ left: auto;
204
+ margin-left: 0;
205
+ margin-right: 5px;
206
+ }
207
+
208
  body.wp-admin .wpcf-ui-dialog
209
  ,body.wp-admin .wpcf-ui-dialog .ui-dialog-titlebar
210
  ,body.wp-admin .wpcf-ui-dialog .ui-dialog-titlebar-close
1443
  .toolset_page_wpcf-edit-type #post-body #visibility:before,
1444
  .toolset_page_wpcf-edit-tax #post-body #visibility:before {
1445
  content: '\f173';
1446
+ }
1447
+ .ui-sortable-handle .wpcf_required_data{
1448
+ font-weight: normal;
1449
+ font-size: 13px;
1450
+ }
1451
+ .ui-sortable-handle .description{
1452
+ font-weight: normal;
1453
  }
library/toolset/types/embedded/resources/js/basic.js CHANGED
@@ -6,373 +6,459 @@
6
  *
7
  *
8
  */
 
 
 
9
 
10
- var wpcfFormGroupsSupportPostTypeState = new Array();
11
- var wpcfFormGroupsSupportTaxState = new Array();
12
- var wpcfFormGroupsSupportTemplatesState = new Array();
13
 
14
- // TODO document this
15
- var wpcfFieldsEditorCallback_redirect = null;
16
 
17
- jQuery(document).ready(function(){
18
 
19
- /**
20
- * remove any jqueryui theme css loaded
21
- */
22
- jQuery( 'link' ).filter( function() {
23
- return jQuery( this ).attr( 'href' ).match( /jqueryui(.*)themes/ );
24
- } ).remove();
25
 
26
- /**
27
- * check description field
28
- */
29
- if ( jQuery('.js-wpcf-toggle-description') ) {
30
- var $toggle = jQuery('.js-wpcf-toggle-description');
31
- if ( jQuery('.js-wpcf-description', $toggle.parent()).val() ) {
32
- jQuery('.js-wpcf-description', $toggle.parent()).slideDown();
33
- $toggle.hide();
34
- } else {
35
- $toggle.show();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  }
37
- $toggle.on('click', function(){
38
- jQuery('.js-wpcf-description', $toggle.parent()).slideDown();
39
- $toggle.hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  return false;
41
- });
42
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
- /**
45
- * modal advertising
46
- */
47
- /*
48
- if(jQuery.isFunction(jQuery.fn.types_modal_box)) {
49
- jQuery('.js-types-show-modal').types_modal_box();
50
- }
51
- */
52
- jQuery('.wpcf-notif-description a').on('click', function() {
53
- jQuery(this).attr('target', '_blank');
54
- });
55
- //user suggestion
56
- if(jQuery.isFunction(jQuery.suggest)) {
57
- jQuery('.input').suggest("admin-ajax.php?action=wpcf_types_suggest_user&tax=post_tag", {
58
- multiple:false,
59
- multipleSep: ","
60
- });
61
- }
62
- // Only for adding group
63
- jQuery('.wpcf-fields-add-ajax-link').click(function(){
64
- jQuery.ajax({
65
- url: jQuery(this).attr('href'),
66
- cache: false,
67
- beforeSend: function() {
68
- jQuery('#wpcf-fields-under-title').hide();
69
- jQuery('#wpcf-ajax-response').addClass('wpcf-ajax-loading');
70
- },
71
- success: function(data) {
72
- jQuery('#wpcf-ajax-response').removeClass('wpcf-ajax-loading');
73
- jQuery('#wpcf-fields-sortable').append(data);
74
- jQuery('#wpcf-fields-sortable .ui-draggable:last').find('input:first').focus().select();
75
- var scrollToHeight = jQuery('#wpcf-fields-sortable .ui-draggable:last').offset();
76
- window.scrollTo(0, scrollToHeight.top);
77
- /**
78
- * bind logic button if it is possible
79
- */
80
- if ('function' == typeof(wpcfConditionalLogiButtonsBindClick)) {
81
- wpcfConditionalLogiButtonsBindClick();
82
  }
83
- }
84
- });
85
- return false;
86
- });
87
- /*
88
- * Moved to fields-form.js
89
- */
90
- // // Sort and Drag
91
- // jQuery('#wpcf-fields-sortable').sortable({
92
- // revert: true,
93
- // handle: 'img.wpcf-fields-form-move-field',
94
- // containment: 'parent'
95
- // });
96
- // jQuery('.wpcf-fields-radio-sortable').sortable({
97
- // revert: true,
98
- // handle: 'img.wpcf-fields-form-radio-move-field',
99
- // containment: 'parent'
100
- // });
101
- // jQuery('.wpcf-fields-checkboxes-sortable').sortable({
102
- // revert: true,
103
- // handle: 'img.wpcf-fields-form-checkboxes-move-field',
104
- // containment: 'parent'
105
- // });
106
- // jQuery('.wpcf-fields-select-sortable').sortable({
107
- // revert: true,
108
- // handle: 'img.wpcf-fields-form-select-move-field',
109
- // containment: 'parent'
110
- // });
111
-
112
- jQuery(".wpcf-form-fieldset legend").live('click', function() {
113
- jQuery(this).parent().children(".collapsible").slideToggle("fast", function() {
114
- var toggle = '';
115
- if (jQuery(this).is(":visible")) {
116
- jQuery(this).parent().children("legend").removeClass("legend-collapsed").addClass("legend-expanded");
117
- toggle = 'open';
118
- } else {
119
- jQuery(this).parent().children("legend").removeClass("legend-expanded").addClass("legend-collapsed");
120
- toggle = 'close';
121
- }
122
- // Save collapsed state
123
- // Get fieldset id
124
- var collapsed = jQuery(this).parent().attr('id');
125
-
126
- // For group form save fieldset toggle per group
127
- if (jQuery(this).parents('form').hasClass('wpcf-fields-form')) {
128
- // Get group id
129
- var group_id = false;
130
- if (jQuery('input[name="group_id"]').length > 0) {
131
- group_id = jQuery('input[name="group_id"]').val();
132
  } else {
133
- group_id = -1;
 
 
 
 
 
134
  }
135
- jQuery.ajax({
136
- url: ajaxurl,
137
- cache: false,
138
- type: 'get',
139
- data: 'action=wpcf_ajax&wpcf_action=group_form_collapsed&id='+collapsed+'&toggle='+toggle+'&group_id='+group_id+'&_wpnonce='+wpcf_nonce_toggle_group
140
- });
141
- } else {
142
- jQuery.ajax({
143
- url: ajaxurl,
144
- cache: false,
145
- type: 'get',
146
- data: 'action=wpcf_ajax&wpcf_action=form_fieldset_toggle&id='+collapsed+'&toggle='+toggle+'&_wpnonce'+wpcf_nonce_toggle_fieldset
147
- });
148
- }
149
- });
150
- });
151
- jQuery('.wpcf-form-groups-radio-update-title-display-value').live('keyup', function(){
152
- jQuery('#'+jQuery(this).attr('id')+'-display-value').prev('label').html(jQuery(this).val());
153
- });
154
- jQuery('.form-error').parents('.collapsed').slideDown();
155
- jQuery('.wpcf-form input').live('focus', function(){
156
- jQuery(this).parents('.collapsed').slideDown();
157
- });
158
-
159
- // Delete AJAX added element
160
- jQuery('.wpcf-form-fields-delete').live('click', function(){
161
- if (jQuery(this).attr('href') == 'javascript:void(0);') {
162
- jQuery(this).parent().fadeOut(function(){
163
- jQuery(this).remove();
164
- });
165
- }
166
- });
167
 
168
- /*
169
- * Generic AJAX call (link). Parameters can be used.
170
- */
171
- jQuery('.wpcf-ajax-link').live('click', function(){
172
- var callback = wpcfGetParameterByName('wpcf_ajax_callback', jQuery(this).attr('href'));
173
- var update = wpcfGetParameterByName('wpcf_ajax_update', jQuery(this).attr('href'));
174
- var updateAdd = wpcfGetParameterByName('wpcf_ajax_update_add', jQuery(this).attr('href'));
175
- var warning = wpcfGetParameterByName('wpcf_warning', jQuery(this).attr('href'));
176
- var thisObject = jQuery(this);
177
- var thisObjectTR = jQuery(this).closest('tr');
178
- if (warning != false) {
179
- var answer = confirm(warning);
180
- if (answer == false) {
181
- return false;
182
  }
183
- }
184
- jQuery.ajax({
185
- url: jQuery(this).attr('href'),
186
- type: 'get',
187
- dataType: 'json',
188
- cache: false,
189
- beforeSend: function() {
190
- if (update != false) {
191
- jQuery('#'+update).html('').show().addClass('wpcf-ajax-loading-small');
 
 
 
 
 
 
 
192
  }
193
- },
194
- success: function(data) {
195
- if (data != null) {
196
- if (typeof data.output != 'undefined') {
197
- if (update != false) {
198
- jQuery('#'+update).removeClass('wpcf-ajax-loading-small').html(data.output);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
  }
200
- if (updateAdd != false) {
201
- if (data.output.length < 1) {
202
- jQuery('#'+updateAdd).fadeOut();
 
 
203
  }
204
- jQuery('#'+updateAdd).append(data.output);
205
  }
206
- }
207
- if (typeof data.status != 'undefined' ) {
208
- if ( 'inactive' == data.status ) {
209
- thisObjectTR.addClass('status-inactive');
210
- } else {
211
- thisObjectTR.removeClass('status-inactive');
212
  }
213
- }
214
- if (typeof data.status_label != 'undefined' ) {
215
- jQuery('td.status', thisObjectTR).html(data.status_label);
216
- }
217
- if (
218
- typeof data.execute != 'undefined'
219
- && (
220
- typeof data.wpcf_nonce_ajax_callback != 'undefined'
221
- && data.wpcf_nonce_ajax_callback == wpcf_nonce_ajax_callback
222
- )
223
- ) {
224
- switch(data.execute) {
225
- case 'redirect':
226
- window.location = data.wpcf_redirect;
227
- break;
228
- case 'reload':
229
- location.reload();
230
- break;
231
- case 'append':
232
- if (
233
- typeof data.append_target != 'undefined'
234
- && typeof data.append_value != 'undefined'
235
- ) {
236
- jQuery(data.append_target).append(data.append_value);
237
- }
238
- break;
239
  }
240
  }
 
 
 
241
  }
242
- if (callback != false) {
243
- eval(callback+'(data, thisObject)');
244
- }
 
 
 
 
 
245
  }
246
- });
247
- wpcfLoadingButtonStop();
248
- return false;
249
- });
250
-
251
- jQuery('.wpcf-form-groups-support-post-type').each(function(){
252
- if (jQuery(this).is(':checked')) {
253
- window.wpcfFormGroupsSupportPostTypeState.push(jQuery(this).attr('id'));
254
- }
255
- });
256
 
257
- jQuery('.wpcf-form-groups-support-tax').each(function(){
258
- if (jQuery(this).is(':checked')) {
259
- window.wpcfFormGroupsSupportTaxState.push(jQuery(this).attr('id'));
260
- }
261
- });
262
 
263
- jQuery('.wpcf-form-groups-support-templates input').each(function(){
264
- if (jQuery(this).is(':checked')) {
265
- window.wpcfFormGroupsSupportTemplatesState.push(jQuery(this).attr('id'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  }
267
- });
268
 
269
- // Add scroll to user created fieldset if necessary
270
- if (jQuery('#wpcf-form-groups-user-fields').length > 0) {
271
- var wpcfFormGroupsUserCreatedFieldsHeight = Math.round(jQuery('#wpcf-form-groups-user-fields').height());
272
- var wpcfScreenHeight = Math.round(jQuery(window).height());
273
- var wpcfFormGroupsUserCreatedFieldsOffset = jQuery('#wpcf-form-groups-user-fields').offset();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  /**
275
- * use jScrollPane only when have enough space
276
  */
277
- if ( wpcfScreenHeight -wpcfFormGroupsUserCreatedFieldsOffset.top > 100 ) {
278
- if (wpcfFormGroupsUserCreatedFieldsHeight+wpcfFormGroupsUserCreatedFieldsOffset.top > wpcfScreenHeight) {
279
- var wpcfFormGroupsUserCreatedFieldsHeightResize = Math.round(wpcfScreenHeight-wpcfFormGroupsUserCreatedFieldsOffset.top-40);
280
- jQuery('#wpcf-form-groups-user-fields').height(wpcfFormGroupsUserCreatedFieldsHeightResize);
281
- jQuery('#wpcf-form-groups-user-fields .fieldset-wrapper').height(wpcfFormGroupsUserCreatedFieldsHeightResize-15);
282
- jQuery('#wpcf-form-groups-user-fields .fieldset-wrapper').jScrollPane();
283
  }
284
- jQuery('.wpcf-form-fields-align-right').css('position', 'fixed');
285
- } else {
286
- jQuery('#wpcf-form-groups-user-fields').closest('.wpcf-form-fields-align-right').css('position', 'absolute' );
287
- }
288
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
289
 
290
- // Types form
291
- jQuery('input[name="ct[public]"]').change(function(){
292
- if (jQuery(this).val() == 'public') {
293
- jQuery('#wpcf-types-form-visiblity-toggle').slideDown();
294
- } else {
295
- jQuery('#wpcf-types-form-visiblity-toggle').slideUp();
296
- }
297
- jQuery('input[name="ct[public]"]:checked').each(function(){
298
- jQuery('#post-visibility-display').html(
299
- jQuery('.title', jQuery('label[for='+jQuery(this).attr('id')+']')).html()
300
- );
301
- });
302
- });
303
- jQuery('input[name="ct[rewrite][custom]"]').change(function(){
304
- if (jQuery(this).val() == 'custom') {
305
- jQuery('#wpcf-types-form-rewrite-toggle').slideDown();
306
- } else {
307
- jQuery('#wpcf-types-form-rewrite-toggle').slideUp();
308
- }
309
- });
310
- jQuery('.wpcf-tax-form input[name="ct[rewrite][enabled]"]').change(function(){
311
- if (jQuery(this).is(':checked')) {
312
- jQuery('#wpcf-types-form-rewrite-toggle').slideDown();
313
- } else {
314
- jQuery('#wpcf-types-form-rewrite-toggle').slideUp();
315
- }
316
- });
317
- /**
318
- * meta_box_cb
319
- */
320
- jQuery('.wpcf-tax-form input[name="ct[meta_box_cb][disabled]"]').change(function(){
321
- if (jQuery(this).is(':checked')) {
322
- jQuery('#wpcf-types-form-meta_box_cb-toggle').slideUp();
323
- } else {
324
- jQuery('#wpcf-types-form-meta_box_cb-toggle').slideDown();
325
- }
326
- });
327
- jQuery('input[name="ct[show_in_menu]"]').change(function(){
328
- if (jQuery(this).is(':checked')) {
329
- jQuery('#wpcf-types-form-showinmenu-toggle').slideDown();
330
- } else {
331
- jQuery('#wpcf-types-form-showinmenu-toggle').slideUp();
332
- }
333
- });
334
- jQuery('input[name="ct[has_archive]"]').change(function(){
335
- if (jQuery(this).is(':checked')) {
336
- jQuery('#wpcf-types-form-has_archive-toggle').slideDown();
337
- } else {
338
- jQuery('#wpcf-types-form-has_archive-toggle').slideUp();
339
- }
340
- });
341
- jQuery('input[name="ct[query_var_enabled]"]').change(function(){
342
- if (jQuery(this).is(':checked')) {
343
- jQuery('#wpcf-types-form-queryvar-toggle').slideDown();
344
- } else {
345
- jQuery('#wpcf-types-form-queryvar-toggle').slideUp();
346
- }
347
- });
348
 
349
- jQuery('.wpcf-groups-form-ajax-update-custom_taxonomies-ok, .wpcf-groups-form-ajax-update-custom_post_types-ok, .wpcf-groups-form-ajax-update-templates-ok').click(function(){
350
- var count = 0;
351
- if (jQuery('.wpcf-groups-form-ajax-update-custom_taxonomies-ok').parent().find("input:checked").length > 0) {
352
- count += 1;
353
- }
354
- if (jQuery('.wpcf-groups-form-ajax-update-custom_post_types-ok').parent().find("input:checked").length > 0) {
355
- count += 1;
356
- }
357
- if (jQuery('.wpcf-groups-form-ajax-update-templates-ok').parent().find("input:checked").length > 0) {
358
- count += 1;
359
- }
360
- if (count > 1) {
361
- jQuery('#wpcf-fields-form-filters-association-form').show();
362
- } else {
363
- jQuery('#wpcf-fields-form-filters-association-form').hide();
364
- }
365
- wpcfFieldsFormFiltersSummary();
366
- });
367
 
368
- // Loading submit button
369
- jQuery('.wpcf-tax-form, .wpcf-types-form').submit(function(){
370
- wpcfLoadingButton();
371
- });
372
 
373
- wpcfBindAutoCreateSlugs();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
 
375
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
 
377
 
378
  /**
@@ -383,458 +469,557 @@ jQuery(document).ready(function(){
383
  * - custom field slug
384
  * - user meta fields
385
  */
386
- function wpcfBindAutoCreateSlugs()
387
- {
388
- jQuery(document).on('blur focus click', '.js-wpcf-slugize', function() {
389
- var slug = jQuery(this).val();
390
- if ( '' == slug ){
391
- slug = jQuery('.js-wpcf-slugize-source', jQuery(this).closest('.js-wpcf-slugize-container')).val();
392
- }
393
- if ( '' != slug ){
394
- var validSlug = wpcf_slugize( slug );
395
 
396
- if( validSlug != slug || jQuery(this).val() == '' ) {
397
- jQuery( this ).val( validSlug.substring( 0, 200 ) );
 
398
  }
399
- }
400
- });
401
- }
402
 
403
- /**
404
- * Searches for parameter inside string ('arg', 'edit.php?arg=first&arg2=sec')
405
- */
406
- function wpcfGetParameterByName(name, string){
407
- name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
408
- var regexS = "[\\?&]"+name+"=([^&#]*)";
409
- var regex = new RegExp( regexS );
410
- var results = regex.exec(string);
411
- if (results == null) {
412
- return false;
413
- } else {
414
- return decodeURIComponent(results[1].replace(/\+/g, " "));
 
415
  }
416
- }
417
 
418
- /**
419
- * AJAX delete elements from group form callback.
420
- */
421
- function wpcfFieldsFormDeleteElement(data, element) {
422
- element.parent().fadeOut(function(){
423
- element.parent().remove();
424
- });
425
- }
426
 
427
- /**
428
- * Set count for options
429
- */
430
- function wpcfFieldsFormCountOptions(obj) {
431
- var count = wpcfGetParameterByName('count', obj.attr('href'));
432
- count++;
433
- obj.attr('href', obj.attr('href').replace(/count=.*/, 'count='+count));
434
- }
435
 
436
  // Migrate checkboxes
437
- function wpcfCbSaveEmptyMigrate(object, field_slug, total, wpnonce, action, metaType) {
438
- jQuery.ajax({
439
- url: ajaxurl+'?action=wpcf_ajax&wpcf_action=cb_save_empty_migrate&field='+field_slug+'&subaction='+action+'&total='+total+'&_wpnonce='+wpnonce+'&meta_type='+metaType,
440
- type: 'get',
441
- dataType: 'json',
442
- // data: ,
443
- cache: false,
444
- beforeSend: function() {
445
- object.parent().parent().find('.wpcf-cb-save-empty-migrate-response').html('').show().addClass('wpcf-ajax-loading-small');
446
- },
447
- success: function(data) {
448
- if (data != null) {
449
- if (typeof data.output != 'undefined') {
450
- object.parent().parent().find('.wpcf-cb-save-empty-migrate-response').removeClass('wpcf-ajax-loading-small').html(data.output);
 
451
  }
452
  }
453
- }
454
- });
455
- }
456
-
457
- function wpcfCbMigrateStep(total, offset, field_slug, wpnonce, metaType) {
458
- jQuery.ajax({
459
- url: ajaxurl+'?action=wpcf_ajax&wpcf_action=cb_save_empty_migrate&field='+field_slug+'&subaction=save&total='+total+'&offset='+offset+'&_wpnonce='+wpnonce+'&meta_type='+metaType,
460
- type: 'get',
461
- dataType: 'json',
462
- // data: ,
463
- cache: false,
464
- beforeSend: function() {
465
- // jQuery('#wpcf-cb-save-empty-migrate-response-'+field_slug).html(total+'/'+offset);
466
- },
467
- success: function(data) {
468
- if (data != null) {
469
- if (typeof data.output != 'undefined') {
470
- jQuery('#wpcf-cb-save-empty-migrate-response-'+field_slug).html(data.output);
471
  }
472
  }
473
- }
474
- });
475
- }
476
-
477
- function wpcfCdCheckDateCustomized(object) {
478
- var show = false;
479
- object.parents('.fieldset-wrapper').find('.wpcf-cd-field option:selected').each(function(){
480
- if (jQuery(this).hasClass('wpcf-conditional-select-date')) {
481
- show = true;
482
- }
483
- });
484
- if (show) {
485
- object.parent().find('.wpcf-cd-notice-date').show();
486
- } else {
487
- object.parent().find('.wpcf-cd-notice-date').show();
488
  }
489
- }
490
 
491
- /**
492
- * Adds spinner graphics and disable button.
493
- */
494
- function wpcfLoadingButton() {
495
- jQuery('.wpcf-disabled-on-submit').attr('disabled', 'disabled').each(function(){
496
- if ( 'undefined' == typeof(types_modal) ) {
497
- var spinnerId = jQuery(this).attr('id') +'-loading';
498
- var currentElement = jQuery(this);
499
-
500
- // Do not add the spinner if it's already present.
501
- if(0 == currentElement.parent().find('#' + spinnerId).length) {
502
- currentElement.after('<div id="' + spinnerId + '" class="wpcf-loading">&nbsp;</div>');
503
  }
 
 
 
 
 
504
  }
505
- });
506
- }
507
- /**
508
- * Counter loading.
509
- */
510
- function wpcfLoadingButtonStop() {
511
- jQuery('.wpcf-disabled-on-submit').removeAttr('disabled');
512
- jQuery('.wpcf-loading').fadeOut();
513
- //Fix https://icanlocalize.basecamphq.com/projects/7393061-toolset/todo_items/194177056/comments
514
- //type modal didnt disappeared
515
- // jQuery('.types_modal_box').remove();
516
- // jQuery('.types_block_page').remove();
517
- }
518
 
519
- /**
520
- * Editor callback func.
521
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
522
 
523
- /* postponed fix for wp core media queries in iframe
524
- jQuery( document ).ready( function( $ ){
525
- var iframe = self.frameElement;
526
- if ( iframe && iframe.getAttribute( 'class' ) == 'cboxIframe' ) {
527
- $( 'body' ).wrapInner( '<div style="position: relative; width: 100%; height: 100%;"><div style="background-color: #f1f1f1; width:750px;margin: 0 auto;"></div></div>');
528
- $( 'html' ).css( 'background', 'none' );
529
- $( '#wpcontent' ).css( 'paddingLeft', 0 );
530
- } else {
531
- $( 'head' ).append( '<style type="text/css">#colorbox.js-wpcf-colorbox-with-iframe,#colorbox.js-wpcf-colorbox-with-iframe div {max-width: 100% !important;}</style>');
 
532
  }
533
- } );
534
- */
535
-
536
- function wpcfFieldsEditorCallback(fieldID , metaType, postID) {
537
-
538
- if (
539
- typeof WPViews != 'undefined'
540
- && typeof WPViews.shortcodes_gui != 'undefined'
541
- && typeof WPViews.shortcodes_gui.shortcode_gui_insert != 'undefined'
542
- && WPViews.shortcodes_gui.shortcode_gui_insert == 'create'
543
- ) {
544
- typesWPViews.adminBarEditShortcode( fieldID , metaType, postID );
545
- return true;
546
- }
547
-
548
- var colorboxWidth = 750 + 'px';
549
  /* postponed fix for wp core media queries in iframe
550
- var colorboxWidth = 100 + '%';
551
- */
 
 
 
 
 
 
 
 
 
552
 
553
- if ( !( jQuery.browser.msie && parseInt(jQuery.browser.version) < 9 ) ) {
554
- var documentWidth = jQuery(document).width();
555
- if ( documentWidth < 750 ) {
556
- colorboxWidth = 600 + 'px';
 
 
 
 
 
 
557
  }
558
- }
559
 
560
- var url = ajaxurl+'?action=wpcf_ajax&wpcf_action=editor_callback&_typesnonce='+types.wpnonce+'&field_id='+fieldID+'&field_type='+metaType+'&post_id='+postID;
561
- // Check if shortcode passed
562
- if ( typeof arguments[3] === 'string' ) {
563
- // urlencode() PHP
564
- url += '&shortcode='+arguments[3];
565
- }
 
 
 
 
 
566
 
567
- jQuery.colorbox({
568
- href: url,
569
- iframe: true,
570
- inline : false,
571
- width: colorboxWidth,
572
- opacity: 0.7,
573
- closeButton: false,
574
- className: 'js-wpcf-colorbox-with-iframe'
575
- });
576
- }
577
 
578
- /**
579
- * TODO Document this!
580
- * 1.1.5
581
- */
582
- function wpcfFieldsEditorCallback_set_redirect(function_name, params) {
583
- wpcfFieldsEditorCallback_redirect = {
584
- 'function' : function_name,
585
- 'params' : params
586
- };
587
- }
588
- //Usermeta shortocde addon
589
- function wpcf_showmore(show){
590
- if (show){
591
- jQuery('#specific_user_div').css('display','block');
592
- jQuery('#display_username_for_author').removeAttr('checked');
593
- }
594
- else{
595
- jQuery('#specific_user_div').css('display','none');
596
- jQuery('#display_username_for_suser').removeAttr('checked');
597
  }
598
- }
599
- //Usermeta shortocde addon
600
- function hideControls(control_id1,control_id2){
601
- control_id1 = '#'+control_id1;
602
- control_id2 = '#'+control_id2;
603
- jQuery(control_id1).css('display','none');
604
- jQuery(control_id2).css('display','inline');
605
- jQuery(control_id2).focus();
606
- }
607
 
608
- /**
609
- * slugize
610
- */
611
- function wpcf_slugize(val)
612
- {
613
  /**
614
- * not a string or empty - thank you
 
615
  */
616
- if ( 'string' != typeof val || '' == val ) {
617
- return;
 
 
 
618
  }
619
- val = removeDiacritics(val.toLowerCase());
620
- val = val.replace(/[^a-z0-9A-Z_]+/g, '-');
621
- val = val.replace(/\-+/g, '-');
622
- val = val.replace(/^\-/g, '');
623
- val = val.replace(/\-$/g, '');
624
- return val;
625
- };
626
-
627
- /**
628
- * removeDiacritics
629
- */
630
 
631
- var defaultDiacriticsRemovalMap = [
632
- {'base':'A', 'letters':/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},
633
- {'base':'AA','letters':/[\uA732]/g},
634
- {'base':'AE','letters':/[\u00C6\u01FC\u01E2]/g},
635
- {'base':'AO','letters':/[\uA734]/g},
636
- {'base':'AU','letters':/[\uA736]/g},
637
- {'base':'AV','letters':/[\uA738\uA73A]/g},
638
- {'base':'AY','letters':/[\uA73C]/g},
639
- {'base':'B', 'letters':/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},
640
- {'base':'C', 'letters':/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},
641
- {'base':'D', 'letters':/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},
642
- {'base':'DZ','letters':/[\u01F1\u01C4]/g},
643
- {'base':'Dz','letters':/[\u01F2\u01C5]/g},
644
- {'base':'E', 'letters':/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},
645
- {'base':'F', 'letters':/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},
646
- {'base':'G', 'letters':/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},
647
- {'base':'H', 'letters':/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},
648
- {'base':'I', 'letters':/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},
649
- {'base':'J', 'letters':/[\u004A\u24BF\uFF2A\u0134\u0248]/g},
650
- {'base':'K', 'letters':/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},
651
- {'base':'L', 'letters':/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},
652
- {'base':'LJ','letters':/[\u01C7]/g},
653
- {'base':'Lj','letters':/[\u01C8]/g},
654
- {'base':'M', 'letters':/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},
655
- {'base':'N', 'letters':/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},
656
- {'base':'NJ','letters':/[\u01CA]/g},
657
- {'base':'Nj','letters':/[\u01CB]/g},
658
- {'base':'O', 'letters':/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},
659
- {'base':'OI','letters':/[\u01A2]/g},
660
- {'base':'OO','letters':/[\uA74E]/g},
661
- {'base':'OU','letters':/[\u0222]/g},
662
- {'base':'P', 'letters':/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},
663
- {'base':'Q', 'letters':/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},
664
- {'base':'R', 'letters':/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},
665
- {'base':'S', 'letters':/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},
666
- {'base':'T', 'letters':/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},
667
- {'base':'TZ','letters':/[\uA728]/g},
668
- {'base':'U', 'letters':/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},
669
- {'base':'V', 'letters':/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},
670
- {'base':'VY','letters':/[\uA760]/g},
671
- {'base':'W', 'letters':/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},
672
- {'base':'X', 'letters':/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},
673
- {'base':'Y', 'letters':/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},
674
- {'base':'Z', 'letters':/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},
675
- {'base':'a', 'letters':/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},
676
- {'base':'aa','letters':/[\uA733]/g},
677
- {'base':'ae','letters':/[\u00E6\u01FD\u01E3]/g},
678
- {'base':'ao','letters':/[\uA735]/g},
679
- {'base':'au','letters':/[\uA737]/g},
680
- {'base':'av','letters':/[\uA739\uA73B]/g},
681
- {'base':'ay','letters':/[\uA73D]/g},
682
- {'base':'b', 'letters':/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},
683
- {'base':'c', 'letters':/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},
684
- {'base':'d', 'letters':/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},
685
- {'base':'dz','letters':/[\u01F3\u01C6]/g},
686
- {'base':'e', 'letters':/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},
687
- {'base':'f', 'letters':/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},
688
- {'base':'g', 'letters':/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},
689
- {'base':'h', 'letters':/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},
690
- {'base':'hv','letters':/[\u0195]/g},
691
- {'base':'i', 'letters':/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},
692
- {'base':'j', 'letters':/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},
693
- {'base':'k', 'letters':/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},
694
- {'base':'l', 'letters':/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},
695
- {'base':'lj','letters':/[\u01C9]/g},
696
- {'base':'m', 'letters':/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},
697
- {'base':'n', 'letters':/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},
698
- {'base':'nj','letters':/[\u01CC]/g},
699
- {'base':'o', 'letters':/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},
700
- {'base':'oi','letters':/[\u01A3]/g},
701
- {'base':'ou','letters':/[\u0223]/g},
702
- {'base':'oo','letters':/[\uA74F]/g},
703
- {'base':'p','letters':/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},
704
- {'base':'q','letters':/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},
705
- {'base':'r','letters':/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},
706
- {'base':'s','letters':/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},
707
- {'base':'t','letters':/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},
708
- {'base':'tz','letters':/[\uA729]/g},
709
- {'base':'u','letters':/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},
710
- {'base':'v','letters':/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},
711
- {'base':'vy','letters':/[\uA761]/g},
712
- {'base':'w','letters':/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},
713
- {'base':'x','letters':/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},
714
- {'base':'y','letters':/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},
715
- {'base':'z','letters':/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}
716
- ];
717
- var changes;
718
- function removeDiacritics (str) {
719
- if(!changes) {
720
- changes = defaultDiacriticsRemovalMap;
721
- }
722
- for(var i=0; i<changes.length; i++) {
723
- str = str.replace(changes[i].letters, changes[i].base);
724
  }
725
- return str;
726
- }
727
 
728
- /**
729
- * select2 for js-wpcf-entry-select2
730
- */
731
- jQuery(document).ready(function($) {
732
- if ('undefined' == typeof jQuery().select2) {
733
- return;
 
734
  }
735
- $('.js-wpcf-entry-select2').select2({
736
- id: function(item){
737
- return item.ID;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
738
  },
739
- allowClear: true,
740
- placeholder: $(this).data('placeholder'),
741
- minimumInputLength: 0,
742
- formatInputTooShort: $(this).data('input-too-short'),
743
- ajax: {
744
- url: ajaxurl,
745
- dataType: 'json',
746
- quietMillis: 250,
747
- data: function (term, page) {
748
- return {
749
- action: 'wpcf_ajax',
750
- page: page || 1,
751
- post_type: $(this).data('post-type'),
752
- s: term, // search term
753
- wpcf_action: 'wpcf_entry_search',
754
- _wpnonce: $(this).data('nonce-search'),
755
- };
756
- },
757
- results: function (data, page) {
758
- var more = (page * data.posts_per_page) < data.total_count;
759
- return { results: data.items, more: more };
760
- },
761
- cache: true
762
  },
763
- initSelection: function(element, callback) {
764
- var id = $(element).val();
765
- if (0 < parseInt(id)) {
766
- $(element).select2("data", { ID: 0, post_title: $(element).data('loading') });
767
- $(element).select2("enable", false);
768
- $.ajax({
769
- url: ajaxurl,
770
- dataType: "json",
771
- data: {
772
- action: 'wpcf_ajax',
773
- p: id,
774
- wpcf_action: 'wpcf_entry_entry',
775
- _wpnonce: element.data('nonce-entry'),
776
- }
777
- }).done(function(data) {
778
- $(element).select2("enable", true);
779
- callback(data);
780
- });
781
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
782
  },
783
- formatResult: function(item) {
784
- return '<div data-id="'+item.ID+'" class="item">' + item.post_title + '</div>';
 
785
  },
786
- formatSelection: function(item) {
787
- //var target = $('#wpcf_pr_belongs_'+item.parent_id+'_'+item.post_type);
788
- //target.val(item.ID);
789
- return item.post_title;
790
  },
791
- });
792
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
793
 
 
 
 
 
 
 
 
 
 
794
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
795
 
796
- ( function( $ ) {
797
- $( document ).on( 'ready', function() {
798
 
799
- /* Trigger Infos */
800
- $( '[data-wpcf-toggle-trigger]' ).on( 'click', function( e ) {
801
- e.preventDefault();
802
 
803
- var trigger = $( this ),
804
- element = $( '[data-wpcf-toggle=' + trigger.data( 'wpcf-toggle-trigger' ) + ']' );
 
805
 
806
- if( element.length ) {
807
- element.toggle();
808
- trigger.blur();
809
 
810
- if( trigger.hasClass( 'wpcf-arrow-right')
811
- || trigger.hasClass( 'wpcf-arrow-down' ) ) {
812
- trigger.toggleClass( 'wpcf-arrow-right wpcf-arrow-down' );
 
 
 
 
 
813
  }
814
- }
815
- } );
816
 
817
- /* CPT "Admin Menu position after:" select */
818
- cptPositionAfterSelect = $( 'select.js-wpcf-menu-position-after' );
819
 
820
- if( cptPositionAfterSelect.length ) {
821
- cptPosition = cptPositionAfterSelect.data( 'wpcf-menu-position' );
822
 
823
- // reselect option, if a position is selected but "--- not set ---" is active
824
- // needed for backward compatibility and also if related post type was moved
825
- if( cptPosition != '' && cptPositionAfterSelect.find( 'option:first' ).is(':selected') ) {
826
- // old format - only integer
827
- if( typeof cptPosition === 'number' && cptPosition % 1 == 0 ) {
828
- $( 'option[value^=' + cptPosition + ']:first', cptPositionAfterSelect ).attr( 'selected', 'selected' );
829
- // new format
830
- } else {
831
- cptPosition = cptPosition.split( '--wpcf-add-menu-after--' );
832
- $( 'option[value*="' + cptPosition[1] + '"]:first', cptPositionAfterSelect ).attr( 'selected', 'selected' );
 
833
  }
 
834
  }
 
835
 
836
- }
837
- } );
838
 
 
839
 
840
- } )( jQuery );
6
  *
7
  *
8
  */
9
+ if( typeof typesStatusBasicJsScript === 'undefined' ) {
10
+ // TODO we need to get rid of multiple script ids on wp_register_script for basic.js
11
+ var typesStatusBasicJsScript = 'loaded';
12
 
13
+ var wpcfFormGroupsSupportPostTypeState = new Array();
14
+ var wpcfFormGroupsSupportTaxState = new Array();
15
+ var wpcfFormGroupsSupportTemplatesState = new Array();
16
 
17
+ // TODO document this
18
+ var wpcfFieldsEditorCallback_redirect = null;
19
 
20
+ jQuery( document ).ready( function() {
21
 
22
+ /**
23
+ * remove any jqueryui theme css loaded
24
+ */
25
+ jQuery( 'link' ).filter( function() {
26
+ return jQuery( this ).attr( 'href' ).match( /jqueryui(.*)themes/ );
27
+ } ).remove();
28
 
29
+ /**
30
+ * check description field
31
+ */
32
+ if( jQuery( '.js-wpcf-toggle-description' ) ) {
33
+ var $toggle = jQuery( '.js-wpcf-toggle-description' );
34
+ if( jQuery( '.js-wpcf-description', $toggle.parent() ).val() ) {
35
+ jQuery( '.js-wpcf-description', $toggle.parent() ).slideDown();
36
+ $toggle.hide();
37
+ } else {
38
+ $toggle.show();
39
+ }
40
+ $toggle.on( 'click', function() {
41
+ jQuery( '.js-wpcf-description', $toggle.parent() ).slideDown();
42
+ $toggle.hide();
43
+ return false;
44
+ } );
45
+ }
46
+
47
+ /**
48
+ * modal advertising
49
+ */
50
+ /*
51
+ if(jQuery.isFunction(jQuery.fn.types_modal_box)) {
52
+ jQuery('.js-types-show-modal').types_modal_box();
53
+ }
54
+ */
55
+ jQuery( '.wpcf-notif-description a' ).on( 'click', function() {
56
+ jQuery( this ).attr( 'target', '_blank' );
57
+ } );
58
+ //user suggestion
59
+ if( jQuery.isFunction( jQuery.suggest ) ) {
60
+ jQuery( '.input' ).suggest( "admin-ajax.php?action=wpcf_types_suggest_user&tax=post_tag", {
61
+ multiple: false,
62
+ multipleSep: ","
63
+ } );
64
  }
65
+ // Only for adding group
66
+ jQuery( '.wpcf-fields-add-ajax-link' ).click( function() {
67
+ jQuery.ajax( {
68
+ url: jQuery( this ).attr( 'href' ),
69
+ cache: false,
70
+ beforeSend: function() {
71
+ jQuery( '#wpcf-fields-under-title' ).hide();
72
+ jQuery( '#wpcf-ajax-response' ).addClass( 'wpcf-ajax-loading' );
73
+ },
74
+ success: function( data ) {
75
+ jQuery( '#wpcf-ajax-response' ).removeClass( 'wpcf-ajax-loading' );
76
+ jQuery( '#wpcf-fields-sortable' ).append( data );
77
+ jQuery( '#wpcf-fields-sortable .ui-draggable:last' ).find( 'input:first' ).focus().select();
78
+ var scrollToHeight = jQuery( '#wpcf-fields-sortable .ui-draggable:last' ).offset();
79
+ window.scrollTo( 0, scrollToHeight.top );
80
+ /**
81
+ * bind logic button if it is possible
82
+ */
83
+ if( 'function' == typeof(wpcfConditionalLogiButtonsBindClick) ) {
84
+ wpcfConditionalLogiButtonsBindClick();
85
+ }
86
+ }
87
+ } );
88
  return false;
89
+ } );
90
+ /*
91
+ * Moved to fields-form.js
92
+ */
93
+ // // Sort and Drag
94
+ // jQuery('#wpcf-fields-sortable').sortable({
95
+ // revert: true,
96
+ // handle: 'img.wpcf-fields-form-move-field',
97
+ // containment: 'parent'
98
+ // });
99
+ // jQuery('.wpcf-fields-radio-sortable').sortable({
100
+ // revert: true,
101
+ // handle: 'img.wpcf-fields-form-radio-move-field',
102
+ // containment: 'parent'
103
+ // });
104
+ // jQuery('.wpcf-fields-checkboxes-sortable').sortable({
105
+ // revert: true,
106
+ // handle: 'img.wpcf-fields-form-checkboxes-move-field',
107
+ // containment: 'parent'
108
+ // });
109
+ // jQuery('.wpcf-fields-select-sortable').sortable({
110
+ // revert: true,
111
+ // handle: 'img.wpcf-fields-form-select-move-field',
112
+ // containment: 'parent'
113
+ // });
114
 
115
+ jQuery( ".wpcf-form-fieldset legend" ).live( 'click', function() {
116
+ jQuery( this ).parent().children( ".collapsible" ).slideToggle( "fast", function() {
117
+ var toggle = '';
118
+ if( jQuery( this ).is( ":visible" ) ) {
119
+ jQuery( this ).parent().children( "legend" ).removeClass( "legend-collapsed" ).addClass( "legend-expanded" );
120
+ toggle = 'open';
121
+ } else {
122
+ jQuery( this ).parent().children( "legend" ).removeClass( "legend-expanded" ).addClass( "legend-collapsed" );
123
+ toggle = 'close';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  }
125
+ // Save collapsed state
126
+ // Get fieldset id
127
+ var collapsed = jQuery( this ).parent().attr( 'id' );
128
+
129
+ // For group form save fieldset toggle per group
130
+ if( jQuery( this ).parents( 'form' ).hasClass( 'wpcf-fields-form' ) ) {
131
+ // Get group id
132
+ var group_id = false;
133
+ if( jQuery( 'input[name="group_id"]' ).length > 0 ) {
134
+ group_id = jQuery( 'input[name="group_id"]' ).val();
135
+ } else {
136
+ group_id = -1;
137
+ }
138
+ jQuery.ajax( {
139
+ url: ajaxurl,
140
+ cache: false,
141
+ type: 'get',
142
+ data: 'action=wpcf_ajax&wpcf_action=group_form_collapsed&id=' + collapsed + '&toggle=' + toggle + '&group_id=' + group_id + '&_wpnonce=' + wpcf_nonce_toggle_group
143
+ } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  } else {
145
+ jQuery.ajax( {
146
+ url: ajaxurl,
147
+ cache: false,
148
+ type: 'get',
149
+ data: 'action=wpcf_ajax&wpcf_action=form_fieldset_toggle&id=' + collapsed + '&toggle=' + toggle + '&_wpnonce' + wpcf_nonce_toggle_fieldset
150
+ } );
151
  }
152
+ } );
153
+ } );
154
+ jQuery( '.wpcf-form-groups-radio-update-title-display-value' ).live( 'keyup', function() {
155
+ jQuery( '#' + jQuery( this ).attr( 'id' ) + '-display-value' ).prev( 'label' ).html( jQuery( this ).val() );
156
+ } );
157
+ jQuery( '.form-error' ).parents( '.collapsed' ).slideDown();
158
+ jQuery( '.wpcf-form input' ).live( 'focus', function() {
159
+ jQuery( this ).parents( '.collapsed' ).slideDown();
160
+ } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
 
162
+ // Delete AJAX added element
163
+ jQuery( '.wpcf-form-fields-delete' ).live( 'click', function() {
164
+ if( jQuery( this ).attr( 'href' ) == 'javascript:void(0);' ) {
165
+ jQuery( this ).parent().fadeOut( function() {
166
+ jQuery( this ).remove();
167
+ } );
 
 
 
 
 
 
 
 
168
  }
169
+ } );
170
+
171
+ /*
172
+ * Generic AJAX call (link). Parameters can be used.
173
+ */
174
+ jQuery( '.wpcf-ajax-link' ).live( 'click', function() {
175
+ var callback = wpcfGetParameterByName( 'wpcf_ajax_callback', jQuery( this ).attr( 'href' ) );
176
+ var update = wpcfGetParameterByName( 'wpcf_ajax_update', jQuery( this ).attr( 'href' ) );
177
+ var updateAdd = wpcfGetParameterByName( 'wpcf_ajax_update_add', jQuery( this ).attr( 'href' ) );
178
+ var warning = wpcfGetParameterByName( 'wpcf_warning', jQuery( this ).attr( 'href' ) );
179
+ var thisObject = jQuery( this );
180
+ var thisObjectTR = jQuery( this ).closest( 'tr' );
181
+ if( warning != false ) {
182
+ var answer = confirm( warning );
183
+ if( answer == false ) {
184
+ return false;
185
  }
186
+ }
187
+ jQuery.ajax( {
188
+ url: jQuery( this ).attr( 'href' ),
189
+ type: 'get',
190
+ dataType: 'json',
191
+ cache: false,
192
+ beforeSend: function() {
193
+ if( update != false ) {
194
+ jQuery( '#' + update ).html( '' ).show().addClass( 'wpcf-ajax-loading-small' );
195
+ }
196
+ },
197
+ success: function( data ) {
198
+ if( data != null ) {
199
+ if( typeof data.output != 'undefined' ) {
200
+ if( update != false ) {
201
+ jQuery( '#' + update ).removeClass( 'wpcf-ajax-loading-small' ).html( data.output );
202
+ }
203
+ if( updateAdd != false ) {
204
+ if( data.output.length < 1 ) {
205
+ jQuery( '#' + updateAdd ).fadeOut();
206
+ }
207
+ jQuery( '#' + updateAdd ).append( data.output );
208
+ }
209
  }
210
+ if( typeof data.status != 'undefined' ) {
211
+ if( 'inactive' == data.status ) {
212
+ thisObjectTR.addClass( 'status-inactive' );
213
+ } else {
214
+ thisObjectTR.removeClass( 'status-inactive' );
215
  }
 
216
  }
217
+ if( typeof data.status_label != 'undefined' ) {
218
+ jQuery( 'td.status', thisObjectTR ).html( data.status_label );
 
 
 
 
219
  }
220
+ if(
221
+ typeof data.execute != 'undefined'
222
+ && (
223
+ typeof data.wpcf_nonce_ajax_callback != 'undefined'
224
+ && data.wpcf_nonce_ajax_callback == wpcf_nonce_ajax_callback
225
+ )
226
+ ) {
227
+ switch( data.execute ) {
228
+ case 'redirect':
229
+ window.location = data.wpcf_redirect;
230
+ break;
231
+ case 'reload':
232
+ location.reload();
233
+ break;
234
+ case 'append':
235
+ if(
236
+ typeof data.append_target != 'undefined'
237
+ && typeof data.append_value != 'undefined'
238
+ ) {
239
+ jQuery( data.append_target ).append( data.append_value );
240
+ }
241
+ break;
242
+ }
 
 
 
243
  }
244
  }
245
+ if( callback != false ) {
246
+ eval( callback + '(data, thisObject)' );
247
+ }
248
  }
249
+ } );
250
+ wpcfLoadingButtonStop();
251
+ return false;
252
+ } );
253
+
254
+ jQuery( '.wpcf-form-groups-support-post-type' ).each( function() {
255
+ if( jQuery( this ).is( ':checked' ) ) {
256
+ window.wpcfFormGroupsSupportPostTypeState.push( jQuery( this ).attr( 'id' ) );
257
  }
258
+ } );
 
 
 
 
 
 
 
 
 
259
 
260
+ jQuery( '.wpcf-form-groups-support-tax' ).each( function() {
261
+ if( jQuery( this ).is( ':checked' ) ) {
262
+ window.wpcfFormGroupsSupportTaxState.push( jQuery( this ).attr( 'id' ) );
263
+ }
264
+ } );
265
 
266
+ jQuery( '.wpcf-form-groups-support-templates input' ).each( function() {
267
+ if( jQuery( this ).is( ':checked' ) ) {
268
+ window.wpcfFormGroupsSupportTemplatesState.push( jQuery( this ).attr( 'id' ) );
269
+ }
270
+ } );
271
+
272
+ // Add scroll to user created fieldset if necessary
273
+ if( jQuery( '#wpcf-form-groups-user-fields' ).length > 0 ) {
274
+ var wpcfFormGroupsUserCreatedFieldsHeight = Math.round( jQuery( '#wpcf-form-groups-user-fields' ).height() );
275
+ var wpcfScreenHeight = Math.round( jQuery( window ).height() );
276
+ var wpcfFormGroupsUserCreatedFieldsOffset = jQuery( '#wpcf-form-groups-user-fields' ).offset();
277
+ /**
278
+ * use jScrollPane only when have enough space
279
+ */
280
+ if( wpcfScreenHeight - wpcfFormGroupsUserCreatedFieldsOffset.top > 100 ) {
281
+ if( wpcfFormGroupsUserCreatedFieldsHeight + wpcfFormGroupsUserCreatedFieldsOffset.top > wpcfScreenHeight ) {
282
+ var wpcfFormGroupsUserCreatedFieldsHeightResize = Math.round( wpcfScreenHeight - wpcfFormGroupsUserCreatedFieldsOffset.top - 40 );
283
+ jQuery( '#wpcf-form-groups-user-fields' ).height( wpcfFormGroupsUserCreatedFieldsHeightResize );
284
+ jQuery( '#wpcf-form-groups-user-fields .fieldset-wrapper' ).height( wpcfFormGroupsUserCreatedFieldsHeightResize - 15 );
285
+ jQuery( '#wpcf-form-groups-user-fields .fieldset-wrapper' ).jScrollPane();
286
+ }
287
+ jQuery( '.wpcf-form-fields-align-right' ).css( 'position', 'fixed' );
288
+ } else {
289
+ jQuery( '#wpcf-form-groups-user-fields' ).closest( '.wpcf-form-fields-align-right' ).css( 'position', 'absolute' );
290
+ }
291
  }
 
292
 
293
+ // Types form
294
+ jQuery( 'input[name="ct[public]"]' ).change( function() {
295
+ if( jQuery( this ).val() == 'public' ) {
296
+ jQuery( '#wpcf-types-form-visiblity-toggle' ).slideDown();
297
+ } else {
298
+ jQuery( '#wpcf-types-form-visiblity-toggle' ).slideUp();
299
+ }
300
+ jQuery( 'input[name="ct[public]"]:checked' ).each( function() {
301
+ jQuery( '#post-visibility-display' ).html(
302
+ jQuery( '.title', jQuery( 'label[for=' + jQuery( this ).attr( 'id' ) + ']' ) ).html()
303
+ );
304
+ } );
305
+ } );
306
+ jQuery( 'input[name="ct[rewrite][custom]"]' ).change( function() {
307
+ if( jQuery( this ).val() == 'custom' ) {
308
+ jQuery( '#wpcf-types-form-rewrite-toggle' ).slideDown();
309
+ } else {
310
+ jQuery( '#wpcf-types-form-rewrite-toggle' ).slideUp();
311
+ }
312
+ } );
313
+ jQuery( '.wpcf-tax-form input[name="ct[rewrite][enabled]"]' ).change( function() {
314
+ if( jQuery( this ).is( ':checked' ) ) {
315
+ jQuery( '#wpcf-types-form-rewrite-toggle' ).slideDown();
316
+ } else {
317
+ jQuery( '#wpcf-types-form-rewrite-toggle' ).slideUp();
318
+ }
319
+ } );
320
  /**
321
+ * meta_box_cb
322
  */
323
+ jQuery( '.wpcf-tax-form input[name="ct[meta_box_cb][disabled]"]' ).change( function() {
324
+ if( jQuery( this ).is( ':checked' ) ) {
325
+ jQuery( '#wpcf-types-form-meta_box_cb-toggle' ).slideUp();
326
+ } else {
327
+ jQuery( '#wpcf-types-form-meta_box_cb-toggle' ).slideDown();
 
328
  }
329
+ } );
330
+ jQuery( 'input[name="ct[show_in_menu]"]' ).change( function() {
331
+ if( jQuery( this ).is( ':checked' ) ) {
332
+ jQuery( '#wpcf-types-form-showinmenu-toggle' ).slideDown();
333
+ } else {
334
+ jQuery( '#wpcf-types-form-showinmenu-toggle' ).slideUp();
335
+ }
336
+ } );
337
+ jQuery( 'input[name="ct[has_archive]"]' ).change( function() {
338
+ if( jQuery( this ).is( ':checked' ) ) {
339
+ jQuery( '#wpcf-types-form-has_archive-toggle' ).slideDown();
340
+ } else {
341
+ jQuery( '#wpcf-types-form-has_archive-toggle' ).slideUp();
342
+ }
343
+ } );
344
+ jQuery( 'input[name="ct[query_var_enabled]"]' ).change( function() {
345
+ if( jQuery( this ).is( ':checked' ) ) {
346
+ jQuery( '#wpcf-types-form-queryvar-toggle' ).slideDown();
347
+ } else {
348
+ jQuery( '#wpcf-types-form-queryvar-toggle' ).slideUp();
349
+ }
350
+ } );
351
 
352
+ jQuery( '.wpcf-groups-form-ajax-update-custom_taxonomies-ok, .wpcf-groups-form-ajax-update-custom_post_types-ok, .wpcf-groups-form-ajax-update-templates-ok' ).click( function() {
353
+ var count = 0;
354
+ if( jQuery( '.wpcf-groups-form-ajax-update-custom_taxonomies-ok' ).parent().find( "input:checked" ).length > 0 ) {
355
+ count += 1;
356
+ }
357
+ if( jQuery( '.wpcf-groups-form-ajax-update-custom_post_types-ok' ).parent().find( "input:checked" ).length > 0 ) {
358
+ count += 1;
359
+ }
360
+ if( jQuery( '.wpcf-groups-form-ajax-update-templates-ok' ).parent().find( "input:checked" ).length > 0 ) {
361
+ count += 1;
362
+ }
363
+ if( count > 1 ) {
364
+ jQuery( '#wpcf-fields-form-filters-association-form' ).show();
365
+ } else {
366
+ jQuery( '#wpcf-fields-form-filters-association-form' ).hide();
367
+ }
368
+ wpcfFieldsFormFiltersSummary();
369
+ } );
370
+
371
+ // Loading submit button
372
+ jQuery( '.wpcf-tax-form, .wpcf-types-form' ).submit( function() {
373
+ wpcfLoadingButton();
374
+ } );
375
+
376
+ wpcfBindAutoCreateSlugs();
377
+
378
+ DisableDuplicatedFields();
379
+
380
+ } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
 
383
+ function DisableDuplicatedFields() {
384
+ var added_fields = [];
 
 
385
 
386
+ jQuery( 'div[data-wpt-id]' ).each( function() {
387
+ var $container = this;
388
+ if( jQuery.inArray( jQuery( $container ).attr( 'data-wpt-id' ), added_fields ) !== -1 ) {
389
+
390
+ var message = WPCF_basic.field_already_in_use = WPCF_basic.field_already_in_use.replace( '##DATA-FIELD-ID##', jQuery( $container ).attr( 'data-wpt-id' ) );
391
+ var single_element = jQuery( $container ).children().find( '[data-wpt-id]' );
392
+
393
+ if( single_element.attr( 'type' ) === 'radio' ) {
394
+ single_element.each( function( element ) {
395
+ if( jQuery( this ).attr( 'checked' ) === "checked" ) {
396
+ jQuery( 'input[data-wpt-id="' + jQuery( this ).attr( 'data-wpt-id' ) + '"][value=' + jQuery( this ).val() + ']:first' ).attr( 'checked', true );
397
+ return false;
398
+ }
399
+ } );
400
+ }
401
+ jQuery( $container ).children().find( '[data-wpt-id]' ).attr( "disabled", true );
402
+
403
+
404
+ // for term edit page || term listing page
405
+ if( jQuery( 'body.term-php' ).length || jQuery( 'body.edit-tags-php' ).length ) {
406
+ var formField = jQuery( $container ).closest( '.form-field' );
407
+
408
+ // get group
409
+ var group = formField.prev();
410
+
411
+ // remove duplicated field
412
+ formField.remove();
413
+
414
+ // if group has no more fields
415
+ if( !group.hasClass( 'form-field' ) && !group.next().hasClass( 'form-field' ) ) {
416
+ // remove headline
417
+ group.remove();
418
+ }
419
 
420
+ // for user profile page
421
+ } else if( jQuery( 'body.profile-php' ).length ) {
422
+ var formField = jQuery( $container ).closest( '.wpcf-profile-field-line' );
423
+
424
+ // get group
425
+ var group = formField.closest( '.wpcf-group-area' );
426
+
427
+ // remove duplicated field
428
+ formField.remove();
429
+
430
+ var groupFields = group.children( '.wpcf-profile-field-line' );
431
+ if( groupFields.length ) {
432
+ if( !groupFields.html().trim() ) {
433
+ group.hide();
434
+ }
435
+ }
436
+
437
+ // for posts/pages/CPT
438
+ } else {
439
+ var current_parent_div = jQuery( $container ).parent( '.inside' );
440
+ $container.remove();
441
+ if( current_parent_div.html() ) {
442
+ if( !current_parent_div.html().trim() ) {
443
+ current_parent_div.parent( '.postbox' ).hide();
444
+ }
445
+ }
446
+ }
447
+
448
+
449
+ } else {
450
+ added_fields.push( jQuery( $container ).attr( 'data-wpt-id' ) );
451
+ }
452
+
453
+
454
+ } );
455
+
456
+ jQuery( '.focus_correct_field' ).click( function() {
457
+ event.preventDefault();
458
+ var correct_field = jQuery( this ).data( 'field-slug' );
459
+ jQuery( '[data-wpt-id="' + correct_field + '"] input:enabled' ).focus().val( jQuery( '[data-wpt-id="' + correct_field + '"] input:enabled' ).val() );
460
+ } );
461
+ }
462
 
463
 
464
  /**
469
  * - custom field slug
470
  * - user meta fields
471
  */
472
+ function wpcfBindAutoCreateSlugs() {
473
+ jQuery( document ).on( 'blur focus click', '.js-wpcf-slugize', function() {
474
+ var slug = jQuery( this ).val();
475
+ if( '' == slug ) {
476
+ slug = jQuery( '.js-wpcf-slugize-source', jQuery( this ).closest( '.js-wpcf-slugize-container' ) ).val();
477
+ }
478
+ if( '' != slug ) {
479
+ var validSlug = wpcf_slugize( slug );
 
480
 
481
+ if( validSlug != slug || jQuery( this ).val() == '' ) {
482
+ jQuery( this ).val( validSlug.substring( 0, 200 ) );
483
+ }
484
  }
485
+ } );
486
+ }
 
487
 
488
+ /**
489
+ * Searches for parameter inside string ('arg', 'edit.php?arg=first&arg2=sec')
490
+ */
491
+ function wpcfGetParameterByName( name, string ) {
492
+ name = name.replace( /[\[]/, "\\\[" ).replace( /[\]]/, "\\\]" );
493
+ var regexS = "[\\?&]" + name + "=([^&#]*)";
494
+ var regex = new RegExp( regexS );
495
+ var results = regex.exec( string );
496
+ if( results == null ) {
497
+ return false;
498
+ } else {
499
+ return decodeURIComponent( results[ 1 ].replace( /\+/g, " " ) );
500
+ }
501
  }
 
502
 
503
+ /**
504
+ * AJAX delete elements from group form callback.
505
+ */
506
+ function wpcfFieldsFormDeleteElement( data, element ) {
507
+ element.parent().fadeOut( function() {
508
+ element.parent().remove();
509
+ } );
510
+ }
511
 
512
+ /**
513
+ * Set count for options
514
+ */
515
+ function wpcfFieldsFormCountOptions( obj ) {
516
+ var count = wpcfGetParameterByName( 'count', obj.attr( 'href' ) );
517
+ count++;
518
+ obj.attr( 'href', obj.attr( 'href' ).replace( /count=.*/, 'count=' + count ) );
519
+ }
520
 
521
  // Migrate checkboxes
522
+ function wpcfCbSaveEmptyMigrate( object, field_slug, total, wpnonce, action, metaType ) {
523
+ jQuery.ajax( {
524
+ url: ajaxurl + '?action=wpcf_ajax&wpcf_action=cb_save_empty_migrate&field=' + field_slug + '&subaction=' + action + '&total=' + total + '&_wpnonce=' + wpnonce + '&meta_type=' + metaType,
525
+ type: 'get',
526
+ dataType: 'json',
527
+ // data: ,
528
+ cache: false,
529
+ beforeSend: function() {
530
+ object.parent().parent().find( '.wpcf-cb-save-empty-migrate-response' ).html( '' ).show().addClass( 'wpcf-ajax-loading-small' );
531
+ },
532
+ success: function( data ) {
533
+ if( data != null ) {
534
+ if( typeof data.output != 'undefined' ) {
535
+ object.parent().parent().find( '.wpcf-cb-save-empty-migrate-response' ).removeClass( 'wpcf-ajax-loading-small' ).html( data.output );
536
+ }
537
  }
538
  }
539
+ } );
540
+ }
541
+
542
+ function wpcfCbMigrateStep( total, offset, field_slug, wpnonce, metaType ) {
543
+ jQuery.ajax( {
544
+ url: ajaxurl + '?action=wpcf_ajax&wpcf_action=cb_save_empty_migrate&field=' + field_slug + '&subaction=save&total=' + total + '&offset=' + offset + '&_wpnonce=' + wpnonce + '&meta_type=' + metaType,
545
+ type: 'get',
546
+ dataType: 'json',
547
+ // data: ,
548
+ cache: false,
549
+ beforeSend: function() {
550
+ // jQuery('#wpcf-cb-save-empty-migrate-response-'+field_slug).html(total+'/'+offset);
551
+ },
552
+ success: function( data ) {
553
+ if( data != null ) {
554
+ if( typeof data.output != 'undefined' ) {
555
+ jQuery( '#wpcf-cb-save-empty-migrate-response-' + field_slug ).html( data.output );
556
+ }
557
  }
558
  }
559
+ } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
560
  }
 
561
 
562
+ function wpcfCdCheckDateCustomized( object ) {
563
+ var show = false;
564
+ object.parents( '.fieldset-wrapper' ).find( '.wpcf-cd-field option:selected' ).each( function() {
565
+ if( jQuery( this ).hasClass( 'wpcf-conditional-select-date' ) ) {
566
+ show = true;
 
 
 
 
 
 
 
567
  }
568
+ } );
569
+ if( show ) {
570
+ object.parent().find( '.wpcf-cd-notice-date' ).show();
571
+ } else {
572
+ object.parent().find( '.wpcf-cd-notice-date' ).show();
573
  }
574
+ }
 
 
 
 
 
 
 
 
 
 
 
 
575
 
576
+ /**
577
+ * Adds spinner graphics and disable button.
578
+ */
579
+ function wpcfLoadingButton() {
580
+ jQuery( '.wpcf-disabled-on-submit' ).attr( 'disabled', 'disabled' ).each( function() {
581
+ if( 'undefined' == typeof(types_modal) ) {
582
+ var spinnerId = jQuery( this ).attr( 'id' ) + '-loading';
583
+ var currentElement = jQuery( this );
584
+
585
+ // Do not add the spinner if it's already present.
586
+ if( 0 == currentElement.parent().find( '#' + spinnerId ).length ) {
587
+ currentElement.after( '<div id="' + spinnerId + '" class="wpcf-loading">&nbsp;</div>' );
588
+ }
589
+ }
590
+ } );
591
+ }
592
 
593
+ /**
594
+ * Counter loading.
595
+ */
596
+ function wpcfLoadingButtonStop() {
597
+ jQuery( '.wpcf-disabled-on-submit' ).removeAttr( 'disabled' );
598
+ jQuery( '.wpcf-loading' ).fadeOut();
599
+ //Fix https://icanlocalize.basecamphq.com/projects/7393061-toolset/todo_items/194177056/comments
600
+ //type modal didnt disappeared
601
+ // jQuery('.types_modal_box').remove();
602
+ // jQuery('.types_block_page').remove();
603
  }
604
+
605
+ /**
606
+ * Editor callback func.
607
+ */
608
+
 
 
 
 
 
 
 
 
 
 
 
609
  /* postponed fix for wp core media queries in iframe
610
+ jQuery( document ).ready( function( $ ){
611
+ var iframe = self.frameElement;
612
+ if ( iframe && iframe.getAttribute( 'class' ) == 'cboxIframe' ) {
613
+ $( 'body' ).wrapInner( '<div style="position: relative; width: 100%; height: 100%;"><div style="background-color: #f1f1f1; width:750px;margin: 0 auto;"></div></div>');
614
+ $( 'html' ).css( 'background', 'none' );
615
+ $( '#wpcontent' ).css( 'paddingLeft', 0 );
616
+ } else {
617
+ $( 'head' ).append( '<style type="text/css">#colorbox.js-wpcf-colorbox-with-iframe,#colorbox.js-wpcf-colorbox-with-iframe div {max-width: 100% !important;}</style>');
618
+ }
619
+ } );
620
+ */
621
 
622
+ function wpcfFieldsEditorCallback( fieldID, metaType, postID ) {
623
+
624
+ if(
625
+ typeof WPViews != 'undefined'
626
+ && typeof WPViews.shortcodes_gui != 'undefined'
627
+ && typeof WPViews.shortcodes_gui.shortcode_gui_insert != 'undefined'
628
+ && WPViews.shortcodes_gui.shortcode_gui_insert == 'create'
629
+ ) {
630
+ typesWPViews.adminBarEditShortcode( fieldID, metaType, postID );
631
+ return true;
632
  }
 
633
 
634
+ var colorboxWidth = 750 + 'px';
635
+ /* postponed fix for wp core media queries in iframe
636
+ var colorboxWidth = 100 + '%';
637
+ */
638
+
639
+ if( !( jQuery.browser.msie && parseInt( jQuery.browser.version ) < 9 ) ) {
640
+ var documentWidth = jQuery( document ).width();
641
+ if( documentWidth < 750 ) {
642
+ colorboxWidth = 600 + 'px';
643
+ }
644
+ }
645
 
646
+ var url = ajaxurl + '?action=wpcf_ajax&wpcf_action=editor_callback&_typesnonce=' + types.wpnonce + '&field_id=' + fieldID + '&field_type=' + metaType + '&post_id=' + postID;
647
+ // Check if shortcode passed
648
+ if( typeof arguments[ 3 ] === 'string' ) {
649
+ // urlencode() PHP
650
+ url += '&shortcode=' + arguments[ 3 ];
651
+ }
 
 
 
 
652
 
653
+ jQuery.colorbox( {
654
+ href: url,
655
+ iframe: true,
656
+ inline: false,
657
+ width: colorboxWidth,
658
+ opacity: 0.7,
659
+ closeButton: false,
660
+ className: 'js-wpcf-colorbox-with-iframe'
661
+ } );
 
 
 
 
 
 
 
 
 
 
662
  }
 
 
 
 
 
 
 
 
 
663
 
 
 
 
 
 
664
  /**
665
+ * TODO Document this!
666
+ * 1.1.5
667
  */
668
+ function wpcfFieldsEditorCallback_set_redirect( function_name, params ) {
669
+ wpcfFieldsEditorCallback_redirect = {
670
+ 'function': function_name,
671
+ 'params': params
672
+ };
673
  }
 
 
 
 
 
 
 
 
 
 
 
674
 
675
+ //Usermeta shortocde addon
676
+ function wpcf_showmore( show ) {
677
+ if( show ) {
678
+ jQuery( '#specific_user_div' ).css( 'display', 'block' );
679
+ jQuery( '#display_username_for_author' ).removeAttr( 'checked' );
680
+ }
681
+ else {
682
+ jQuery( '#specific_user_div' ).css( 'display', 'none' );
683
+ jQuery( '#display_username_for_suser' ).removeAttr( 'checked' );
684
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
685
  }
 
 
686
 
687
+ //Usermeta shortocde addon
688
+ function hideControls( control_id1, control_id2 ) {
689
+ control_id1 = '#' + control_id1;
690
+ control_id2 = '#' + control_id2;
691
+ jQuery( control_id1 ).css( 'display', 'none' );
692
+ jQuery( control_id2 ).css( 'display', 'inline' );
693
+ jQuery( control_id2 ).focus();
694
  }
695
+
696
+ /**
697
+ * slugize
698
+ */
699
+ function wpcf_slugize( val ) {
700
+ /**
701
+ * not a string or empty - thank you
702
+ */
703
+ if( 'string' != typeof val || '' == val ) {
704
+ return;
705
+ }
706
+ val = removeDiacritics( val.toLowerCase() );
707
+ val = val.replace( /[^a-z0-9A-Z_]+/g, '-' );
708
+ val = val.replace( /\-+/g, '-' );
709
+ val = val.replace( /^\-/g, '' );
710
+ val = val.replace( /\-$/g, '' );
711
+ return val;
712
+ };
713
+
714
+ /**
715
+ * removeDiacritics
716
+ */
717
+
718
+ var defaultDiacriticsRemovalMap = [
719
+ {
720
+ 'base': 'A',
721
+ 'letters': /[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g
722
  },
723
+ { 'base': 'AA', 'letters': /[\uA732]/g },
724
+ { 'base': 'AE', 'letters': /[\u00C6\u01FC\u01E2]/g },
725
+ { 'base': 'AO', 'letters': /[\uA734]/g },
726
+ { 'base': 'AU', 'letters': /[\uA736]/g },
727
+ { 'base': 'AV', 'letters': /[\uA738\uA73A]/g },
728
+ { 'base': 'AY', 'letters': /[\uA73C]/g },
729
+ { 'base': 'B', 'letters': /[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g },
730
+ { 'base': 'C', 'letters': /[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g },
731
+ {
732
+ 'base': 'D',
733
+ 'letters': /[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g
 
 
 
 
 
 
 
 
 
 
 
 
734
  },
735
+ { 'base': 'DZ', 'letters': /[\u01F1\u01C4]/g },
736
+ { 'base': 'Dz', 'letters': /[\u01F2\u01C5]/g },
737
+ {
738
+ 'base': 'E',
739
+ 'letters': /[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g
740
+ },
741
+ { 'base': 'F', 'letters': /[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g },
742
+ {
743
+ 'base': 'G',
744
+ 'letters': /[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g
745
+ },
746
+ {
747
+ 'base': 'H',
748
+ 'letters': /[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g
749
+ },
750
+ {
751
+ 'base': 'I',
752
+ 'letters': /[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g
753
+ },
754
+ { 'base': 'J', 'letters': /[\u004A\u24BF\uFF2A\u0134\u0248]/g },
755
+ {
756
+ 'base': 'K',
757
+ 'letters': /[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g
758
+ },
759
+ {
760
+ 'base': 'L',
761
+ 'letters': /[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g
762
+ },
763
+ { 'base': 'LJ', 'letters': /[\u01C7]/g },
764
+ { 'base': 'Lj', 'letters': /[\u01C8]/g },
765
+ { 'base': 'M', 'letters': /[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g },
766
+ {
767
+ 'base': 'N',
768
+ 'letters': /[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g
769
+ },
770
+ { 'base': 'NJ', 'letters': /[\u01CA]/g },
771
+ { 'base': 'Nj', 'letters': /[\u01CB]/g },
772
+ {
773
+ 'base': 'O',
774
+ 'letters': /[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g
775
+ },
776
+ { 'base': 'OI', 'letters': /[\u01A2]/g },
777
+ { 'base': 'OO', 'letters': /[\uA74E]/g },
778
+ { 'base': 'OU', 'letters': /[\u0222]/g },
779
+ { 'base': 'P', 'letters': /[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g },
780
+ { 'base': 'Q', 'letters': /[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g },
781
+ {
782
+ 'base': 'R',
783
+ 'letters': /[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g
784
+ },
785
+ {
786
+ 'base': 'S',
787
+ 'letters': /[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g
788
+ },
789
+ {
790
+ 'base': 'T',
791
+ 'letters': /[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g
792
+ },
793
+ { 'base': 'TZ', 'letters': /[\uA728]/g },
794
+ {
795
+ 'base': 'U',
796
+ 'letters': /[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g
797
+ },
798
+ { 'base': 'V', 'letters': /[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g },
799
+ { 'base': 'VY', 'letters': /[\uA760]/g },
800
+ { 'base': 'W', 'letters': /[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g },
801
+ { 'base': 'X', 'letters': /[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g },
802
+ {
803
+ 'base': 'Y',
804
+ 'letters': /[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g
805
  },
806
+ {
807
+ 'base': 'Z',
808
+ 'letters': /[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g
809
  },
810
+ {
811
+ 'base': 'a',
812
+ 'letters': /[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g
 
813
  },
814
+ { 'base': 'aa', 'letters': /[\uA733]/g },
815
+ { 'base': 'ae', 'letters': /[\u00E6\u01FD\u01E3]/g },
816
+ { 'base': 'ao', 'letters': /[\uA735]/g },
817
+ { 'base': 'au', 'letters': /[\uA737]/g },
818
+ { 'base': 'av', 'letters': /[\uA739\uA73B]/g },
819
+ { 'base': 'ay', 'letters': /[\uA73D]/g },
820
+ { 'base': 'b', 'letters': /[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g },
821
+ { 'base': 'c', 'letters': /[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g },
822
+ {
823
+ 'base': 'd',
824
+ 'letters': /[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g
825
+ },
826
+ { 'base': 'dz', 'letters': /[\u01F3\u01C6]/g },
827
+ {
828
+ 'base': 'e',
829
+ 'letters': /[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g
830
+ },
831
+ { 'base': 'f', 'letters': /[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g },
832
+ {
833
+ 'base': 'g',
834
+ 'letters': /[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g
835
+ },
836
+ {
837
+ 'base': 'h',
838
+ 'letters': /[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g
839
+ },
840
+ { 'base': 'hv', 'letters': /[\u0195]/g },
841
+ {
842
+ 'base': 'i',
843
+ 'letters': /[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g
844
+ },
845
+ { 'base': 'j', 'letters': /[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g },
846
+ {
847
+ 'base': 'k',
848
+ 'letters': /[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g
849
+ },
850
+ {
851
+ 'base': 'l',
852
+ 'letters': /[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g
853
+ },
854
+ { 'base': 'lj', 'letters': /[\u01C9]/g },
855
+ { 'base': 'm', 'letters': /[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g },
856
+ {
857
+ 'base': 'n',
858
+ 'letters': /[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g
859
+ },
860
+ { 'base': 'nj', 'letters': /[\u01CC]/g },
861
+ {
862
+ 'base': 'o',
863
+ 'letters': /[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g
864
+ },
865
+ { 'base': 'oi', 'letters': /[\u01A3]/g },
866
+ { 'base': 'ou', 'letters': /[\u0223]/g },
867
+ { 'base': 'oo', 'letters': /[\uA74F]/g },
868
+ { 'base': 'p', 'letters': /[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g },
869
+ { 'base': 'q', 'letters': /[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g },
870
+ {
871
+ 'base': 'r',
872
+ 'letters': /[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g
873
+ },
874
+ {
875
+ 'base': 's',
876
+ 'letters': /[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g
877
+ },
878
+ {
879
+ 'base': 't',
880
+ 'letters': /[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g
881
+ },
882
+ { 'base': 'tz', 'letters': /[\uA729]/g },
883
+ {
884
+ 'base': 'u',
885
+ 'letters': /[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g
886
+ },
887
+ { 'base': 'v', 'letters': /[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g },
888
+ { 'base': 'vy', 'letters': /[\uA761]/g },
889
+ { 'base': 'w', 'letters': /[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g },
890
+ { 'base': 'x', 'letters': /[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g },
891
+ {
892
+ 'base': 'y',
893
+ 'letters': /[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g
894
+ },
895
+ {
896
+ 'base': 'z',
897
+ 'letters': /[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g
898
+ }
899
+ ];
900
+ var changes;
901
 
902
+ function removeDiacritics( str ) {
903
+ if( !changes ) {
904
+ changes = defaultDiacriticsRemovalMap;
905
+ }
906
+ for( var i = 0; i < changes.length; i++ ) {
907
+ str = str.replace( changes[ i ].letters, changes[ i ].base );
908
+ }
909
+ return str;
910
+ }
911
 
912
+ /**
913
+ * select2 for js-wpcf-entry-select2
914
+ */
915
+ jQuery( document ).ready( function( $ ) {
916
+ if( 'undefined' == typeof jQuery().select2 ) {
917
+ return;
918
+ }
919
+ $( '.js-wpcf-entry-select2' ).select2( {
920
+ id: function( item ) {
921
+ return item.ID;
922
+ },
923
+ allowClear: true,
924
+ placeholder: $( this ).data( 'placeholder' ),
925
+ minimumInputLength: 0,
926
+ formatInputTooShort: $( this ).data( 'input-too-short' ),
927
+ ajax: {
928
+ url: ajaxurl,
929
+ dataType: 'json',
930
+ quietMillis: 250,
931
+ data: function( term, page ) {
932
+ return {
933
+ action: 'wpcf_ajax',
934
+ page: page || 1,
935
+ post_type: $( this ).data( 'post-type' ),
936
+ s: term, // search term
937
+ wpcf_action: 'wpcf_entry_search',
938
+ _wpnonce: $( this ).data( 'nonce-search' ),
939
+ };
940
+ },
941
+ results: function( data, page ) {
942
+ var more = (page * data.posts_per_page) < data.total_count;
943
+ return { results: data.items, more: more };
944
+ },
945
+ cache: true
946
+ },
947
+ initSelection: function( element, callback ) {
948
+ var id = $( element ).val();
949
+ if( 0 < parseInt( id ) ) {
950
+ $( element ).select2( "data", { ID: 0, post_title: $( element ).data( 'loading' ) } );
951
+ $( element ).select2( "enable", false );
952
+ $.ajax( {
953
+ url: ajaxurl,
954
+ dataType: "json",
955
+ data: {
956
+ action: 'wpcf_ajax',
957
+ p: id,
958
+ wpcf_action: 'wpcf_entry_entry',
959
+ _wpnonce: element.data( 'nonce-entry' ),
960
+ }
961
+ } ).done( function( data ) {
962
+ $( element ).select2( "enable", true );
963
+ callback( data );
964
+ } );
965
+ }
966
+ },
967
+ formatResult: function( item ) {
968
+ return '<div data-id="' + item.ID + '" class="item">' + item.post_title + '</div>';
969
+ },
970
+ formatSelection: function( item ) {
971
+ //var target = $('#wpcf_pr_belongs_'+item.parent_id+'_'+item.post_type);
972
+ //target.val(item.ID);
973
+ return item.post_title;
974
+ },
975
+ } );
976
+ } );
977
 
 
 
978
 
979
+ (function( $ ) {
980
+ $( document ).on( 'ready', function() {
 
981
 
982
+ /* Trigger Infos */
983
+ $( '[data-wpcf-toggle-trigger]' ).on( 'click', function( e ) {
984
+ e.preventDefault();
985
 
986
+ var trigger = $( this ),
987
+ element = $( '[data-wpcf-toggle=' + trigger.data( 'wpcf-toggle-trigger' ) + ']' );
 
988
 
989
+ if( element.length ) {
990
+ element.toggle();
991
+ trigger.blur();
992
+
993
+ if( trigger.hasClass( 'wpcf-arrow-right' )
994
+ || trigger.hasClass( 'wpcf-arrow-down' ) ) {
995
+ trigger.toggleClass( 'wpcf-arrow-right wpcf-arrow-down' );
996
+ }
997
  }
998
+ } );
 
999
 
1000
+ /* CPT "Admin Menu position after:" select */
1001
+ cptPositionAfterSelect = $( 'select.js-wpcf-menu-position-after' );
1002
 
1003
+ if( cptPositionAfterSelect.length ) {
1004
+ cptPosition = cptPositionAfterSelect.data( 'wpcf-menu-position' );
1005
 
1006
+ // reselect option, if a position is selected but "--- not set ---" is active
1007
+ // needed for backward compatibility and also if related post type was moved
1008
+ if( cptPosition != '' && cptPositionAfterSelect.find( 'option:first' ).is( ':selected' ) ) {
1009
+ // old format - only integer
1010
+ if( typeof cptPosition === 'number' && cptPosition % 1 == 0 ) {
1011
+ $( 'option[value^=' + cptPosition + ']:first', cptPositionAfterSelect ).attr( 'selected', 'selected' );
1012
+ // new format
1013
+ } else {
1014
+ cptPosition = cptPosition.split( '--wpcf-add-menu-after--' );
1015
+ $( 'option[value*="' + cptPosition[ 1 ] + '"]:first', cptPositionAfterSelect ).attr( 'selected', 'selected' );
1016
+ }
1017
  }
1018
+
1019
  }
1020
+ } );
1021
 
 
 
1022
 
1023
+ })( jQuery );
1024
 
1025
+ }
library/toolset/types/embedded/resources/js/conditional.js CHANGED
@@ -95,43 +95,44 @@ function wpcfCdCreateSummary(id)
95
 
96
  function wpcfConditionalLogic(el)
97
  {
98
- parent = el.closest('.wpcf-cd-fieldset');
99
- button = jQuery('input.wpcf-cd-display-logic-button', parent);
100
- button.val(button.data('wpcf-custom-logic-simple'));
 
101
 
102
  if ( parseInt(el.val()) ) {
103
- jQuery('.simple-logic', parent).hide();
104
- jQuery('.area-toggle-cd', parent).show();
105
- if ( parseInt( button.data('wpcf-custom-logic-change') ) ) {
106
- wpcfCdCreateSummary(button.data('wpcf-custom-summary'));
107
  }
108
  } else {
109
- button.val(button.data('wpcf-custom-logic-customize'));
110
  /**
111
  * turn on future change
112
  */
113
- button.data('wpcf-custom-logic-change', 1);
114
- jQuery('.area-toggle-cd',parent).hide();
115
- jQuery('.simple-logic',parent).show();
116
- if (jQuery('.wpcf-cd-entry', parent).length) {
117
- if (jQuery('.wpcf-cd-entries', parent).length > 1) {
118
- jQuery('.wpcf-cd-relation', parent).show();
119
  } else {
120
- jQuery('.wpcf-cd-relation', parent).hide();
121
  }
122
  } else {
123
- jQuery('.area-toggle-cd', parent).hide();
124
- jQuery('.wpcf-cd-relation', parent).hide();
125
  }
126
  }
127
  /**
128
  * handle "Data-dependent display filters" for groups
129
  */
130
- if ( 'wpcf-cd-group' == parent.attr('id') ) {
131
- jQuery('span.count', parent.closest('td')).html( '('+ jQuery('span.count', parent.closest('td')).data('wpcf-custom-logic') +')');
132
  if ( parseInt(el.val()) ) {
133
  } else {
134
- jQuery('span.count', parent.closest('td')).html('('+jQuery('.wpcf-cd-entry', parent).length+')');
135
  }
136
  }
137
  }
95
 
96
  function wpcfConditionalLogic(el)
97
  {
98
+ var parentFieldSet = el.closest('.wpcf-cd-fieldset'),
99
+ buttonDisplay = jQuery('input.wpcf-cd-display-logic-button', parentFieldSet);
100
+
101
+ buttonDisplay.val(buttonDisplay.data('wpcf-custom-logic-simple'));
102
 
103
  if ( parseInt(el.val()) ) {
104
+ jQuery('.simple-logic', parentFieldSet).hide();
105
+ jQuery('.area-toggle-cd', parentFieldSet).show();
106
+ if ( parseInt( buttonDisplay.data('wpcf-custom-logic-change') ) ) {
107
+ wpcfCdCreateSummary(buttonDisplay.data('wpcf-custom-summary'));
108
  }
109
  } else {
110
+ buttonDisplay.val(buttonDisplay.data('wpcf-custom-logic-customize'));
111
  /**
112
  * turn on future change
113
  */
114
+ buttonDisplay.data('wpcf-custom-logic-change', 1);
115
+ jQuery('.area-toggle-cd',parentFieldSet).hide();
116
+ jQuery('.simple-logic',parentFieldSet).show();
117
+ if (jQuery('.wpcf-cd-entry', parentFieldSet).length) {
118
+ if (jQuery('.wpcf-cd-entries', parentFieldSet).length > 1) {
119
+ jQuery('.wpcf-cd-relation', parentFieldSet).show();
120
  } else {
121
+ jQuery('.wpcf-cd-relation', parentFieldSet).hide();
122
  }
123
  } else {
124
+ jQuery('.area-toggle-cd', parentFieldSet).hide();
125
+ jQuery('.wpcf-cd-relation', parentFieldSet).hide();
126
  }
127
  }
128
  /**
129
  * handle "Data-dependent display filters" for groups
130
  */
131
+ if ( 'wpcf-cd-group' == parentFieldSet.attr('id') ) {
132
+ jQuery('span.count', parentFieldSet.closest('td')).html( '('+ jQuery('span.count', parentFieldSet.closest('td')).data('wpcf-custom-logic') +')');
133
  if ( parseInt(el.val()) ) {
134
  } else {
135
+ jQuery('span.count', parentFieldSet.closest('td')).html('('+jQuery('.wpcf-cd-entry', parentFieldSet).length+')');
136
  }
137
  }
138
  }
library/toolset/types/embedded/resources/js/editor.js CHANGED
@@ -125,6 +125,10 @@ var tedFrame = (function(window, $){
125
 
126
  // Bind click to the Colorbox close button
127
  jQuery('.js-close-types-popup').on('click',function(){
 
 
 
 
128
  parent.jQuery.colorbox.close();
129
  });
130
  }
125
 
126
  // Bind click to the Colorbox close button
127
  jQuery('.js-close-types-popup').on('click',function(){
128
+ if (ted.callback == 'views_wizard') {
129
+ window.parent.typesWPViews.wizardCancel();
130
+ return false;
131
+ }
132
  parent.jQuery.colorbox.close();
133
  });
134
  }
library/toolset/types/embedded/resources/js/modal.js CHANGED
@@ -32,7 +32,7 @@
32
 
33
  $('.types_modal_box .message', pop_up).css({
34
  color: "#f05a28",
35
- fontFamily: "'Open Sans', Helvetica, Arial, sans-serif",
36
  fontSize: "25px",
37
  padding: "0 10px",
38
  textAlign: "center"
@@ -118,7 +118,7 @@
118
  * header p
119
  */
120
  $('.header p', pop_up).css({
121
- fontFamily: "'Open Sans', Helvetica, Arial, sans-serif",
122
  fontSize: "18px",
123
  lineHeight: "1.2em",
124
  margin: 0
@@ -151,7 +151,7 @@ WPCF_Script.Modal_Script = function( $ ) {
151
 
152
  $('.types_modal_box .message', pop_up).css({
153
  color: "#f05a28",
154
- fontFamily: "'Open Sans', Helvetica, Arial, sans-serif",
155
  fontSize: "25px",
156
  padding: "0 10px",
157
  textAlign: "center"
@@ -235,7 +235,7 @@ WPCF_Script.Modal_Script = function( $ ) {
235
  * header p
236
  */
237
  $('.header p', pop_up).css({
238
- fontFamily: "'Open Sans', Helvetica, Arial, sans-serif",
239
  fontSize: "18px",
240
  lineHeight: "1.2em",
241
  margin: 0
32
 
33
  $('.types_modal_box .message', pop_up).css({
34
  color: "#f05a28",
35
+ fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', 'Open Sans', sans-serif",
36
  fontSize: "25px",
37
  padding: "0 10px",
38
  textAlign: "center"
118
  * header p
119
  */
120
  $('.header p', pop_up).css({
121
+ fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', 'Open Sans', sans-serif",
122
  fontSize: "18px",
123
  lineHeight: "1.2em",
124
  margin: 0
151
 
152
  $('.types_modal_box .message', pop_up).css({
153
  color: "#f05a28",
154
+ fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', 'Open Sans', sans-serif",
155
  fontSize: "25px",
156
  padding: "0 10px",
157
  textAlign: "center"
235
  * header p
236
  */
237
  $('.header p', pop_up).css({
238
+ fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', 'Open Sans', sans-serif",
239
  fontSize: "18px",
240
  lineHeight: "1.2em",
241
  margin: 0
library/toolset/types/embedded/resources/js/post-relationship.js CHANGED
@@ -1015,7 +1015,14 @@ function wpcfRelationshipInit(selector, context) {
1015
  * select2
1016
  */
1017
  function wpcfBindSelect2($) {
1018
- $('.wpcf-pr-belongs').select2({
 
 
 
 
 
 
 
1019
  id: function(item){
1020
  return item.ID;
1021
  },
@@ -1129,8 +1136,25 @@ function wpcfBindSelect2($) {
1129
  }
1130
  jQuery(document).ready(function($) {
1131
  wpcfBindSelect2($);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1132
  });
1133
 
 
1134
  /**
1135
  * Fix for Select2
1136
  *
1015
  * select2
1016
  */
1017
  function wpcfBindSelect2($) {
1018
+ $( '.wpcf-pr-belongs:not([data-belongs-title])' ).each( function() {
1019
+ wpcfBindSelect2For( $( this ) );
1020
+ } );
1021
+ }
1022
+
1023
+ function wpcfBindSelect2For( element ) {
1024
+ var $ = jQuery;
1025
+ element.select2({
1026
  id: function(item){
1027
  return item.ID;
1028
  },
1136
  }
1137
  jQuery(document).ready(function($) {
1138
  wpcfBindSelect2($);
1139
+
1140
+ $( '.wpcf-pr-belongs[data-belongs-title]' ).each( function() {
1141
+ var inputRelationId = $( this ),
1142
+ inputShowRelationTitle = $( '<input type="textfield" readonly="readonly" style="cursor:pointer; width: 100%; max-width:300px;">' );
1143
+
1144
+ inputShowRelationTitle.val( inputRelationId.data( 'belongs-title' ) );
1145
+ inputRelationId.hide();
1146
+
1147
+ inputRelationId.after( inputShowRelationTitle );
1148
+
1149
+ inputShowRelationTitle.on( 'click', function() {
1150
+ inputShowRelationTitle.remove();
1151
+ inputRelationId.show();
1152
+ wpcfBindSelect2For( inputRelationId );
1153
+ } );
1154
+ } );
1155
  });
1156
 
1157
+
1158
  /**
1159
  * Fix for Select2
1160
  *
library/toolset/types/embedded/usermeta-init.php CHANGED
@@ -285,8 +285,8 @@ function wpcf_usermeta_get_user( $method = '' ){
285
  function wpcf_admin_post_add_usermeta_to_editor_js( $menu, $views_callback = false ){
286
  global $wpcf;
287
 
288
- $post = wpcf_admin_get_edited_post();
289
- if ( empty( $post ) ) {
290
  $post = (object) array('ID' => -1);
291
  }
292
 
285
  function wpcf_admin_post_add_usermeta_to_editor_js( $menu, $views_callback = false ){
286
  global $wpcf;
287
 
288
+ $post = apply_filters( 'wpcf_filter_wpcf_admin_get_current_edited_post', null );
289
+ if ( ! $post ) {
290
  $post = (object) array('ID' => -1);
291
  }
292
 
library/toolset/types/embedded/views/image.php CHANGED
@@ -519,7 +519,7 @@ class Types_Image_Utils
519
  * WP upload dir.
520
  *
521
  * @staticvar null $upload_info
522
- * @return boolean
523
  */
524
  public static function uploadInfo() {
525
  static $upload_info = null;
@@ -527,20 +527,20 @@ class Types_Image_Utils
527
  if ( $upload_info === null ) {
528
  $upload_info = @wp_upload_dir();
529
 
530
- if ( empty( $upload_info['error'] ) ) {
531
- $parse_url = @parse_url( $upload_info['baseurl'] );
532
 
533
- if ( $parse_url ) {
534
- $baseurlpath = (!empty( $parse_url['path'] ) ? trim( $parse_url['path'],
535
- '/' ) : '');
536
- } else {
537
- $baseurlpath = 'wp-content/uploads';
538
- }
539
 
540
- $upload_info['baseurlpath'] = '/' . $baseurlpath . '/';
 
 
541
  } else {
542
- $upload_info = false;
543
  }
 
 
 
544
  $upload_info['path'] = self::realpath( $upload_info['path'] );
545
  $upload_info['basedir'] = self::realpath( $upload_info['basedir'] );
546
  $upload_info['subdir'] = self::realpath( $upload_info['subdir'] );
519
  * WP upload dir.
520
  *
521
  * @staticvar null $upload_info
522
+ * @return array|false
523
  */
524
  public static function uploadInfo() {
525
  static $upload_info = null;
527
  if ( $upload_info === null ) {
528
  $upload_info = @wp_upload_dir();
529
 
530
+ if( ! empty( $upload_info['error'] ) )
531
+ return false;
532
 
533
+ $parse_url = @parse_url( $upload_info['baseurl'] );
 
 
 
 
 
534
 
535
+ if ( $parse_url ) {
536
+ $baseurlpath = (!empty( $parse_url['path'] ) ? trim( $parse_url['path'],
537
+ '/' ) : '');
538
  } else {
539
+ $baseurlpath = 'wp-content/uploads';
540
  }
541
+
542
+ $upload_info['baseurlpath'] = '/' . $baseurlpath . '/';
543
+
544
  $upload_info['path'] = self::realpath( $upload_info['path'] );
545
  $upload_info['basedir'] = self::realpath( $upload_info['basedir'] );
546
  $upload_info['subdir'] = self::realpath( $upload_info['subdir'] );
library/toolset/types/embedded/views/templates/editor-modal-image.tpl.php CHANGED
@@ -41,15 +41,56 @@ if ($data['warning_remote']) {
41
  <div data-bind="template: {name:'tpl-types-modal-image'}"></div>
42
 
43
  <!--TYPES MODAL IMAGE-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  <script id="tpl-types-modal-image" type="text/html">
45
 
46
  <div class="fieldset">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  <p>
48
- <label for="image-title" class="input-title"><?php _e( 'Image title', 'wpcf' ); ?></label>
 
49
  <input id="image-title" type="text" name="title" value="<?php echo $data['title']; ?>" />
50
  </p>
51
  <p>
52
- <label for="image-alt" class="input-title"><?php _e( 'Alternative text', 'wpcf' ); ?></label>
53
  <input id="image-alt" type="text" name="alt" value="<?php echo $data['alt']; ?>" />
54
  </p>
55
  </div>
41
  <div data-bind="template: {name:'tpl-types-modal-image'}"></div>
42
 
43
  <!--TYPES MODAL IMAGE-->
44
+ <script type="text/javascript">
45
+ jQuery( 'body' ).on( 'click', '.js-wpcf-attachment-placeholder', function() {
46
+ var inputField = jQuery( '#' + jQuery( this ).data( 'placeholder-target' ) );
47
+
48
+ if( inputField.val() == '' ) {
49
+ inputField.val( inputField.val() + jQuery( this ).html() );
50
+ } else {
51
+ inputField.val( inputField.val() + ' ' + jQuery( this ).html() );
52
+ }
53
+
54
+ jQuery( '.wp-pointer-buttons .close' ).trigger( 'click' );
55
+ inputField.focus();
56
+ });
57
+ </script>
58
+
59
  <script id="tpl-types-modal-image" type="text/html">
60
 
61
  <div class="fieldset">
62
+ <?php
63
+ if( !function_exists( 'wpcf_print_placeholder_list' ) ) {
64
+ function wpcf_print_placeholder_list( $target ) {
65
+ $placeholders = array(
66
+ '%%TITLE%%',
67
+ '%%ALT%%',
68
+ '%%CAPTION%%',
69
+ '%%DESCRIPTION%%'
70
+ );
71
+
72
+ $placeholder_list = '';
73
+
74
+ foreach( $placeholders as $placeholder ) {
75
+ $placeholder_list .= '<br />- ';
76
+ $placeholder_list .= "<a class='js-wpcf-attachment-placeholder' data-placeholder-target='" . $target . "' href='javascript:void(0);'>" . $placeholder . '</a>';
77
+ }
78
+
79
+ printf(
80
+ __( 'You can display image information using the following placeholders: %s', 'wpcf' ),
81
+ $placeholder_list
82
+ );
83
+ }
84
+ }
85
+
86
+ ?>
87
  <p>
88
+ <label for="image-title" class="input-title"><?php _e( 'Image title', 'wpcf' ); ?> <i class="fa fa-question-circle icon-question-sign js-show-tooltip" data-header="<?php _e( 'Placeholders', 'wpcf' ) ?>" data-content="<?php wpcf_print_placeholder_list( 'image-title') ?>"></i></label>
89
+
90
  <input id="image-title" type="text" name="title" value="<?php echo $data['title']; ?>" />
91
  </p>
92
  <p>
93
+ <label for="image-alt" class="input-title"><?php _e( 'Alternative text', 'wpcf' ); ?> <i class="fa fa-question-circle icon-question-sign js-show-tooltip" data-header="<?php _e( 'Placeholders', 'wpcf' ) ?>" data-content="<?php wpcf_print_placeholder_list( 'image-alt') ?>"></i></label>
94
  <input id="image-alt" type="text" name="alt" value="<?php echo $data['alt']; ?>" />
95
  </p>
96
  </div>
library/toolset/types/help.php CHANGED
@@ -131,7 +131,7 @@ function wpcf_admin_help($page, $contextual_help = '')
131
  case 'wpcf-ctt':
132
  case 'custom_taxonomies_list':
133
  $help .= ''
134
- . __('This is the your Taxonomies list. It provides you with an overview of your data.', 'wpcf')
135
  .PHP_EOL
136
  .PHP_EOL
137
  .sprintf(
131
  case 'wpcf-ctt':
132
  case 'custom_taxonomies_list':
133
  $help .= ''
134
+ . __('This is the Taxonomies list. It provides you with an overview of your data.', 'wpcf')
135
  .PHP_EOL
136
  .PHP_EOL
137
  .sprintf(
library/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php CHANGED
@@ -1105,6 +1105,13 @@ var wpcfDefaultCss = ' . json_encode( base64_encode( $admin_styles_value ) ) . '
1105
  $this->save_condition_templates( $group_id );
1106
  $this->save_condition_taxonomies( $group_id );
1107
 
 
 
 
 
 
 
 
1108
  // redirect
1109
  $args = array(
1110
  'page' => 'wpcf-edit',
1105
  $this->save_condition_templates( $group_id );
1106
  $this->save_condition_taxonomies( $group_id );
1107
 
1108
+ do_action( 'types_fields_group_saved', $group_id );
1109
+ do_action( 'types_fields_group_post_saved', $group_id );
1110
+
1111
+ // do not use these hooks anymore
1112
+ do_action( 'wpcf_fields_group_saved', $group_id );
1113
+ do_action( 'wpcf_postmeta_fields_group_saved', $group_id );
1114
+
1115
  // redirect
1116
  $args = array(
1117
  'page' => 'wpcf-edit',
library/toolset/types/includes/classes/class.types.admin.edit.fields.php CHANGED
@@ -150,6 +150,8 @@ abstract class Types_Admin_Edit_Fields extends Types_Admin_Page
150
 
151
  // Sanitize
152
  $form_data = wpcf_sanitize_field( $form_data );
 
 
153
  $form_data['id'] = $id;
154
 
155
  /**
@@ -157,9 +159,10 @@ abstract class Types_Admin_Edit_Fields extends Types_Admin_Page
157
  */
158
  $title = !empty( $form_data['name'] ) ? $form_data['name'] : __( 'Untitled', 'wpcf' );
159
  $title = sprintf(
160
- '<span class="wpcf-legend-update">%s</span> <span class="description">(%s)</span>',
161
  $title,
162
- $field_data['title']
 
163
  );
164
 
165
  // Get init data
@@ -480,10 +483,9 @@ abstract class Types_Admin_Edit_Fields extends Types_Admin_Page
480
  */
481
  $form_field += $this->wpml($form_data);
482
 
483
- /**
484
- * Conditional display
485
- */
486
- $form_field = apply_filters( 'wpcf_form_field', $form_field, $form_data );
487
 
488
  /**
489
  * add Remove button
@@ -581,23 +583,6 @@ abstract class Types_Admin_Edit_Fields extends Types_Admin_Page
581
  return $form;
582
  }
583
 
584
- /**
585
- * Summary.
586
- *
587
- * Description.
588
- *
589
- * @since x.x.x
590
- * @access (for functions: only use if private)
591
- *
592
- * @see Function/method/class relied on
593
- * @link URL
594
- * @global type $varname Description.
595
- * @global type $varname Description.
596
- *
597
- * @param type $var Description.
598
- * @param type $var Optional. Description.
599
- * @return type Description.
600
- */
601
  protected function button_add_new( $clasess = array() )
602
  {
603
  $clasess[] = 'wpcf-fields-add-new';
@@ -612,6 +597,7 @@ abstract class Types_Admin_Edit_Fields extends Types_Admin_Page
612
  'data-wpcf-id' => esc_attr($this->ct['id']),
613
  'data-wpcf-message-loading' => esc_attr__('Please Wait, Loading…', 'wpcf'),
614
  'data-wpcf-nonce' => wp_create_nonce('wpcf-edit-'.$this->ct['id']),
 
615
  'data-wpcf-type' => $this->type,
616
  'data-wpcf-page' => wpcf_getget( 'page' )
617
  ),
@@ -1212,7 +1198,19 @@ abstract class Types_Admin_Edit_Fields extends Types_Admin_Page
1212
  ) {
1213
  $this->verification_failed_and_die();
1214
  }
1215
- echo wpcf_form_simple($this->get_field_form_data($_REQUEST['type']));
 
 
 
 
 
 
 
 
 
 
 
 
1216
  die;
1217
  }
1218
 
150
 
151
  // Sanitize
152
  $form_data = wpcf_sanitize_field( $form_data );
153
+
154
+ $required = (isset($form_data['data']['validate']['required']['active']) && $form_data['data']['validate']['required']['active'] === "1") ? __('- required','wpcf') : '';
155
  $form_data['id'] = $id;
156
 
157
  /**
159
  */
160
  $title = !empty( $form_data['name'] ) ? $form_data['name'] : __( 'Untitled', 'wpcf' );
161
  $title = sprintf(
162
+ '<span class="wpcf-legend-update">%s</span> <span class="description">(%s)</span> <span class="wpcf_required_data">%s</span>',
163
  $title,
164
+ $field_data['title'],
165
+ $required
166
  );
167
 
168
  // Get init data
483
  */
484
  $form_field += $this->wpml($form_data);
485
 
486
+ // Conditional display, Relevanssi integration and other modifications can be added here.
487
+ // Note that form_data may contain only meta_key when the field is newly
488
+ $form_field = apply_filters( 'wpcf_form_field', $form_field, $form_data, $type );
 
489
 
490
  /**
491
  * add Remove button
583
  return $form;
584
  }
585
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
586
  protected function button_add_new( $clasess = array() )
587
  {
588
  $clasess[] = 'wpcf-fields-add-new';
597
  'data-wpcf-id' => esc_attr($this->ct['id']),
598
  'data-wpcf-message-loading' => esc_attr__('Please Wait, Loading…', 'wpcf'),
599
  'data-wpcf-nonce' => wp_create_nonce('wpcf-edit-'.$this->ct['id']),
600
+ // This can be wpcf-postmeta, wpcf-usermeta or wpcf-termmeta.
601
  'data-wpcf-type' => $this->type,
602
  'data-wpcf-page' => wpcf_getget( 'page' )
603
  ),
1198
  ) {
1199
  $this->verification_failed_and_die();
1200
  }
1201
+
1202
+ // We need to determine the field's meta_type because that will be eventually
1203
+ // passed through the wpcf_form_field filter in get_field_from_data().
1204
+ //
1205
+ // This information is required by the Relevanssi integration.
1206
+ $field_kind = wpcf_getpost( 'field_kind', 'wpcf-postmeta', array( 'wpcf-postmeta', 'wpcf-usermeta', 'wpcf-termmeta' ) );
1207
+ $faux_form_data = array(
1208
+ 'meta_type' => substr( $field_kind, 5 ) // get rid of the wpcf- prefix.
1209
+ );
1210
+
1211
+ $enlimbo_form = $this->get_field_form_data( $_REQUEST['type'], $faux_form_data );
1212
+
1213
+ echo wpcf_form_simple( $enlimbo_form );
1214
  die;
1215
  }
1216
 
library/toolset/types/includes/classes/class.types.admin.edit.meta.fields.group.php CHANGED
@@ -619,6 +619,11 @@ var wpcfDefaultCss = ' . json_encode( base64_encode($admin_styles_value) ) . ';
619
  wpcf_admin_fields_save_group_admin_styles($group_id, $admin_style);
620
  }
621
  $_POST['wpcf']['group']['fields'] = isset($_POST['wpcf']['fields']) ? $_POST['wpcf']['fields'] : array();
 
 
 
 
 
622
  do_action('wpcf_save_group', $_POST['wpcf']['group']);
623
 
624
  wp_safe_redirect(
619
  wpcf_admin_fields_save_group_admin_styles($group_id, $admin_style);
620
  }
621
  $_POST['wpcf']['group']['fields'] = isset($_POST['wpcf']['fields']) ? $_POST['wpcf']['fields'] : array();
622
+
623
+ do_action( 'types_fields_group_saved', $group_id );
624
+ do_action( 'types_fields_group_user_saved', $group_id );
625
+
626
+ // do not use this hook any longer
627
  do_action('wpcf_save_group', $_POST['wpcf']['group']);
628
 
629
  wp_safe_redirect(
library/toolset/types/includes/classes/class.types.admin.edit.post.type.php CHANGED
@@ -1469,7 +1469,7 @@ class Types_Admin_Edit_Post_Type extends Types_Admin_Page
1469
  $post_type_parent = get_post_type_object( $parent );
1470
  $post_type_child = get_post_type_object( $child );
1471
 
1472
- if ( empty( $post_type_parent ) || empty( $post_type_child ) ) {
1473
  die( __( 'Wrong post types', 'wpcf' ) );
1474
  }
1475
  $relationships = get_option( 'wpcf_post_relationship', array() );
@@ -1851,7 +1851,11 @@ class Types_Admin_Edit_Post_Type extends Types_Admin_Page
1851
  'email-alt' => __('email alt', 'wcpf'),
1852
  'email' => __('email', 'wcpf'),
1853
  'excerpt-view' => __('excerpt view', 'wcpf'),
1854
- 'exerpt-view' => __('exerpt view', 'wcpf'),
 
 
 
 
1855
  'external' => __('external', 'wcpf'),
1856
  'facebook-alt' => __('facebook alt', 'wcpf'),
1857
  'facebook' => __('facebook', 'wcpf'),
1469
  $post_type_parent = get_post_type_object( $parent );
1470
  $post_type_child = get_post_type_object( $child );
1471
 
1472
+ if ( null == $post_type_parent || null == $post_type_child ) {
1473
  die( __( 'Wrong post types', 'wpcf' ) );
1474
  }
1475
  $relationships = get_option( 'wpcf_post_relationship', array() );
1851
  'email-alt' => __('email alt', 'wcpf'),
1852
  'email' => __('email', 'wcpf'),
1853
  'excerpt-view' => __('excerpt view', 'wcpf'),
1854
+
1855
+ // because https://core.trac.wordpress.org/ticket/30832
1856
+ // but we don't have to offer it at all, actually it looks deprecated
1857
+ // 'exerpt-view' => __('excerpt view', 'wcpf'),
1858
+
1859
  'external' => __('external', 'wcpf'),
1860
  'facebook-alt' => __('facebook alt', 'wcpf'),
1861
  'facebook' => __('facebook', 'wcpf'),
library/toolset/types/includes/classes/page/edit/termmeta_form.php CHANGED
@@ -474,6 +474,9 @@ final class WPCF_Page_Edit_Termmeta_Form extends Types_Admin_Edit_Fields {
474
 
475
  $this->save_filter_fields($group_id, wpcf_getarr( $wpcf_data, 'fields', array() ));
476
 
 
 
 
477
  // Redirect to edit page so we stay on it even if user reloads it
478
  // and to present admin notices
479
  wp_safe_redirect(
474
 
475
  $this->save_filter_fields($group_id, wpcf_getarr( $wpcf_data, 'fields', array() ));
476
 
477
+ do_action( 'types_fields_group_saved', $group_id );
478
+ do_action( 'types_fields_group_term_saved', $group_id );
479
+
480
  // Redirect to edit page so we stay on it even if user reloads it
481
  // and to present admin notices
482
  wp_safe_redirect(
library/toolset/types/includes/post-relationship.php CHANGED
@@ -111,7 +111,7 @@ function wpcf_pr_admin_edit_fields( $parent, $child ) {
111
 
112
  $post_type_parent = get_post_type_object( $parent );
113
  $post_type_child = get_post_type_object( $child );
114
- if ( empty( $post_type_parent ) || empty( $post_type_child ) ) {
115
  die( __( 'Wrong post types', 'wpcf' ) );
116
  }
117
  $relationships = get_option( 'wpcf_post_relationship', array() );
111
 
112
  $post_type_parent = get_post_type_object( $parent );
113
  $post_type_child = get_post_type_object( $child );
114
+ if ( null == $post_type_parent || null == $post_type_child ) {
115
  die( __( 'Wrong post types', 'wpcf' ) );
116
  }
117
  $relationships = get_option( 'wpcf_post_relationship', array() );
library/toolset/types/resources/js/fields-form.js CHANGED
@@ -483,13 +483,16 @@ jQuery(document).ready(function($){
483
  wpcf_setup_conditions();
484
  }
485
 
 
 
 
486
  dialog.load(
487
  ajaxurl,
488
  {
489
  action: 'wpcf_edit_field_choose',
490
  _wpnonce: $thiz.data('wpcf-nonce'),
491
  id: $thiz.data('wpcf-id'),
492
- type: $thiz.data('wpcf-type'),
493
  current: $current
494
  },
495
  function (responseText, textStatus, XMLHttpRequest) {
@@ -505,7 +508,8 @@ jQuery(document).ready(function($){
505
  data: {
506
  action: 'wpcf_edit_field_insert',
507
  _wpnonce: $('#wpcf-fields-add-nonce').val(),
508
- type: $(this).data('wpcf-field-type')
 
509
  }
510
  })
511
  .done(function(html){
483
  wpcf_setup_conditions();
484
  }
485
 
486
+ // This can be wpcf-postmeta, wpcf-usermeta or wpcf-termmeta.
487
+ var fieldKind = $thiz.data('wpcf-type');
488
+
489
  dialog.load(
490
  ajaxurl,
491
  {
492
  action: 'wpcf_edit_field_choose',
493
  _wpnonce: $thiz.data('wpcf-nonce'),
494
  id: $thiz.data('wpcf-id'),
495
+ type: fieldKind,
496
  current: $current
497
  },
498
  function (responseText, textStatus, XMLHttpRequest) {
508
  data: {
509
  action: 'wpcf_edit_field_insert',
510
  _wpnonce: $('#wpcf-fields-add-nonce').val(),
511
+ type: $(this).data('wpcf-field-type'),
512
+ field_kind: fieldKind
513
  }
514
  })
515
  .done(function(html){
library/toolset/types/wpcf.php CHANGED
@@ -506,4 +506,158 @@ function types_plugin_plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data,
506
  . sprintf( __( 'Types %s release notes', 'wpcf' ), TYPES_VERSION ) . '</a>';
507
  }
508
  return $plugin_meta;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  }
506
  . sprintf( __( 'Types %s release notes', 'wpcf' ), TYPES_VERSION ) . '</a>';
507
  }
508
  return $plugin_meta;
509
+ }
510
+
511
+
512
+ /**
513
+ * Getting started notice
514
+ */
515
+ add_action( 'load-plugins.php', 'types_getting_started_init' );
516
+ add_action( 'load-toplevel_page_toolset-dashboard', 'types_getting_started_init' );
517
+
518
+ function types_getting_started_init() {
519
+ $version = get_option( 'WPCF_VERSION' );
520
+
521
+ // just show for new activate types (so not for old users just updating types)
522
+ if( version_compare( $version, '2.2', '<' ) )
523
+ return;
524
+
525
+ // abort if user dismissed message
526
+ $user_dismissed_notices = get_user_meta( get_current_user_id(), '_types_notice_dismiss_permanent', true );
527
+ if( is_array( $user_dismissed_notices ) && in_array( 'getting-started', $user_dismissed_notices ) )
528
+ return;
529
+
530
+ add_action( 'admin_notices', 'types_getting_started' );
531
+ add_action( 'admin_enqueue_scripts', 'types_getting_started_scripts' );
532
+
533
+ // documentation urls
534
+ $documentation_urls = include( TYPES_DATA . '/documentation-urls.php' );
535
+
536
+ // add links to use analytics
537
+ Types_Helper_Url::add_urls( $documentation_urls );
538
+
539
+ function types_getting_started() { ?>
540
+ <div class="notice is-dismissible" data-types-notice-dismiss-permanent="getting-started" style="border-left-color: #f05a29; position: relative; padding-right: 38px;">
541
+ <div class="types-message-icon" style="float: left; margin: 2px 0 0 0; padding: 0 15px 0 0;">
542
+ <?php //<span class="icon-toolset-logo"></span> ?>
543
+ <span class="icon-types-logo ont-icon-64" style="color: #f05a29;""></span>
544
+ </div>
545
+
546
+ <div style="margin-top: 8px;">
547
+ <p>
548
+ <?php _e( 'Toolset Types lets you add custom post types, custom fields and taxonomy.', 'wpcf' ); ?>
549
+ </p>
550
+
551
+ <a class="button-primary types-button types-external-link" style="margin-right: 10px;" target="_blank"
552
+ href="<?php echo Types_Helper_Url::get_url( 'getting-started-types', 'notice-dismissible' ) ?>">
553
+ <?php _e( 'Getting started guide', 'wpcf' ); ?>
554
+ </a>
555
+
556
+ <span class="notice-dismiss"><span class="screen-reader-text">Dismiss</span></span>
557
+ </div>
558
+
559
+ <br style="clear:both;" />
560
+ </div>
561
+ <?php
562
+ }
563
+
564
+ function types_getting_started_scripts() {
565
+ wp_enqueue_script(
566
+ 'types-notice-dismiss',
567
+ TYPES_RELPATH . '/public/js/notice-dismiss.js',
568
+ array( 'jquery' ),
569
+ TYPES_VERSION,
570
+ true
571
+ );
572
+
573
+ wp_enqueue_style(
574
+ 'types-information',
575
+ TYPES_RELPATH . '/public/css/information.css',
576
+ array( 'wp-jquery-ui-dialog' ),
577
+ TYPES_VERSION
578
+ );
579
+ }
580
+ }
581
+
582
+
583
+ add_action( 'wp_ajax_types_notice_dismiss_permanent', 'types_ajax_notice_dismiss_permanent' );
584
+
585
+ function types_ajax_notice_dismiss_permanent() {
586
+ if ( ! isset( $_POST['types_notice_dismiss_permanent'] ) || ! preg_match( '/^[A-Za-z0-9_-]+$/', $_POST['types_notice_dismiss_permanent'] ) )
587
+ return;
588
+
589
+ $user_dismissed_notices = get_user_meta( get_current_user_id(), '_types_notice_dismiss_permanent', true )
590
+ ? get_user_meta( get_current_user_id(), '_types_notice_dismiss_permanent', true )
591
+ : array();
592
+
593
+ $user_dismissed_notices[] = $_POST['types_notice_dismiss_permanent'];
594
+ update_user_meta( get_current_user_id(), '_types_notice_dismiss_permanent', $user_dismissed_notices );
595
+ }
596
+
597
+ function types_plugin_action_links ( $links ) {
598
+ $feedback = array(
599
+ '<a id="types-leave-feedback-trigger" href="https://www.surveymonkey.com/r/types-uninstall" target="_blank">' . __( 'Leave feedback', 'wpcf' ) . '</a>',
600
+ );
601
+ return array_merge( $links, $feedback );
602
+ }
603
+
604
+ add_action( 'load-plugins.php', 'types_ask_for_feedback_on_deactivation' );
605
+
606
+ function types_ask_for_feedback_on_deactivation() {
607
+ // abort if message was shown in the last 90 days
608
+ $user_dismissed_notices = get_user_meta( get_current_user_id(), '_types_feedback_dont_show_until', true );
609
+ if( $user_dismissed_notices && current_time( 'timestamp' ) < $user_dismissed_notices )
610
+ return;
611
+
612
+ add_action( 'admin_footer', 'types_feedback_on_deactivation_dialog' );
613
+ add_action( 'admin_enqueue_scripts', 'types_feedback_on_deactivation_scripts' );
614
+
615
+ function types_feedback_on_deactivation_dialog() { ?>
616
+ <div id="types-feedback" style="display:none;width:500px;">
617
+ <div class="types-message-icon" style="float: left; margin: 2px 0 0 0; padding: 0 15px 0 0;">
618
+ <?php //<span class="icon-toolset-logo"></span> ?>
619
+ <span class="icon-types-logo ont-icon-64" style="color: #f05a29;""></span>
620
+ </div>
621
+
622
+ <div style="margin-top: 8px;">
623
+ <p>
624
+ <?php _e( "Do you have a minute to tell us why you're removing Types?", 'wpcf' ); ?>
625
+ </p>
626
+
627
+ <a id="types-leave-feedback-dialog-survey-link" class="button-primary types-button types-external-link" style="margin-right: 8px;" target="_blank"
628
+ href="https://www.surveymonkey.com/r/types-uninstall">
629
+ <?php _e( 'Leave feedback', 'wpcf' ); ?>
630
+ </a>
631
+ <a id="types-leave-feedback-dialog-survey-link-cancel" class="button-secondary" target="_blank"
632
+ href="javascript:void(0);">
633
+ <?php _e( 'Skip feedback', 'wpcf' ); ?>
634
+ </a>
635
+ </div>
636
+
637
+ <br style="clear:both;" />
638
+ </div>
639
+ <?php }
640
+ function types_feedback_on_deactivation_scripts() {
641
+ wp_enqueue_script(
642
+ 'types-feedback-on-deactivation',
643
+ TYPES_RELPATH . '/public/js/feedback-on-deactivation.js',
644
+ array( 'jquery-ui-dialog' ),
645
+ TYPES_VERSION,
646
+ true
647
+ );
648
+
649
+ wp_enqueue_style(
650
+ 'types-information',
651
+ TYPES_RELPATH . '/public/css/information.css',
652
+ array( 'wp-jquery-ui-dialog' ),
653
+ TYPES_VERSION
654
+ );
655
+ }
656
+ }
657
+
658
+ add_action( 'wp_ajax_types_feedback_dont_show_for_90_days', 'types_feedback_dont_show_for_90_days' );
659
+
660
+ function types_feedback_dont_show_for_90_days() {
661
+ $in_90_days = strtotime( '+90 days', current_time( 'timestamp' ) );
662
+ update_user_meta( get_current_user_id(), '_types_feedback_dont_show_until', $in_90_days );
663
  }
public/css/information.css CHANGED
@@ -298,4 +298,18 @@ div.toolset-dashboard .types-information-paragraph.toolset-dashboard-post-type {
298
  .types-message-dialog-button {
299
  display: block;
300
  text-align: right;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  }
298
  .types-message-dialog-button {
299
  display: block;
300
  text-align: right;
301
+ }
302
+
303
+ #types-feedback {
304
+ min-height: 0 !important;
305
+ }
306
+ .types-feedback .ui-dialog-titlebar {
307
+ border: 0;
308
+ background: inherit;
309
+ height: 8px;
310
+ }
311
+
312
+ /* todo remove once placeholders are rendered before twig rendering */
313
+ .types-information-td-inner a[href=""] {
314
+ display: none;
315
  }
public/js/feedback-on-deactivation.js ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function( $ ) {
2
+
3
+ var linkDeactivate = $( '#types-leave-feedback-trigger' ).parent().parent().find( '.deactivate > a' ),
4
+ dialogClosed = 0;
5
+
6
+ linkDeactivate.on( 'click', function( e ) {
7
+ if( dialogClosed == 1 ) {
8
+ location.href = $( this ).attr( 'href' );
9
+ return;
10
+ }
11
+
12
+ e.preventDefault();
13
+
14
+ $.post( ajaxurl, {
15
+ action: 'types_feedback_dont_show_for_90_days'
16
+ } );
17
+
18
+ var dialogFeedback = $( '#types-feedback' );
19
+
20
+ dialogFeedback.dialog({
21
+ 'dialogClass' : 'wp-dialog types-feedback',
22
+ 'modal' : true,
23
+ 'autoOpen' : false,
24
+ 'closeOnEscape' : true,
25
+ 'width': 500,
26
+ close: function() {
27
+ dialogClosed = 1;
28
+ linkDeactivate.trigger( 'click' );
29
+ }
30
+ } ).dialog( 'open' );
31
+ } );
32
+
33
+ $( 'body' ).on( 'click', '#types-leave-feedback-dialog-survey-link, #types-leave-feedback-dialog-survey-link-cancel', function() {
34
+ $( '#types-feedback' ).dialog( 'close' );
35
+ } );
36
+
37
+ } )( jQuery );
public/js/notice-dismiss.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function( $ ) {
2
+
3
+ $( 'body' ).on( 'click', '[data-types-notice-dismiss-permanent] .notice-dismiss', function() {
4
+ $.post( ajaxurl, {
5
+ action: 'types_notice_dismiss_permanent',
6
+ types_notice_dismiss_permanent: $( this ).closest( '.notice' ).data( 'types-notice-dismiss-permanent' )
7
+ } );
8
+
9
+ return false;
10
+ } );
11
+
12
+ } )( jQuery );
public/page/add_term.js CHANGED
@@ -65,8 +65,10 @@ Types.page.addTerm = (function($) {
65
 
66
  originalSubmitButton.css('display', 'none');
67
 
 
68
  customSubmitButton.attr('id', 'types-custom-submit');
69
- customSubmitButton.submit(function(e) {
 
70
 
71
  if(form.valid()) {
72
  WPV_Toolset.Utils.Spinner.show(WPV_Toolset.Utils.Spinner.find(form));
@@ -77,7 +79,10 @@ Types.page.addTerm = (function($) {
77
 
78
  e.preventDefault();
79
  e.stopPropagation();
80
- });
 
 
 
81
 
82
  submitSection.append(customSubmitButton).append(WPV_Toolset.Utils.Spinner.create());
83
 
65
 
66
  originalSubmitButton.css('display', 'none');
67
 
68
+ customSubmitButton.off();
69
  customSubmitButton.attr('id', 'types-custom-submit');
70
+
71
+ var handleSubmitAction = function(e) {
72
 
73
  if(form.valid()) {
74
  WPV_Toolset.Utils.Spinner.show(WPV_Toolset.Utils.Spinner.find(form));
79
 
80
  e.preventDefault();
81
  e.stopPropagation();
82
+ };
83
+
84
+ customSubmitButton.click(handleSubmitAction);
85
+ customSubmitButton.submit(handleSubmitAction);
86
 
87
  submitSection.append(customSubmitButton).append(WPV_Toolset.Utils.Spinner.create());
88
 
readme.txt CHANGED
@@ -7,7 +7,7 @@ Domain Path: /embedded/locale
7
  License: GPLv2
8
  Requires at least: 3.7
9
  Tested up to: 4.6
10
- Stable tag: 2.1
11
 
12
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
13
 
@@ -151,6 +151,20 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
151
 
152
  == Changelog ==
153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  = 2.1 =
155
 
156
  * Added dashboard for Toolset.
7
  License: GPLv2
8
  Requires at least: 3.7
9
  Tested up to: 4.6
10
+ Stable tag: 2.2
11
 
12
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
13
 
151
 
152
  == Changelog ==
153
 
154
+ = 2.2 =
155
+
156
+ * Added feature to output title, description, caption and alt text using placeholders in image field.
157
+ * Added types_import_from_zip_file API filter.
158
+ * Added types_finished_saving_child_posts API action as a workaround for https://core.trac.wordpress.org/ticket/17817.
159
+ * Fixed error when generic field definitions are queried by Types-specific arguments.
160
+ * Fixed warnings when saving a child post with repetitive field in the parent's edit page.
161
+ * Fixed issue where internal "Types Term Groups" post type was appearing in some places that it should not.
162
+ * Fixed issue in RTL languages where save button was being overlapped by cancel button on field group conditions.
163
+ * Fixed issue with post relationship query in WPML default language.
164
+ * Fixed issue with term field checkboxes options which were not able to be edit
165
+ * Fixed performance issue with frontend display table.
166
+ * Fixed issue with same fields in multiple field groups and they are now being displayed only once in post/user/term edit pages.
167
+
168
  = 2.1 =
169
 
170
  * Added dashboard for Toolset.
wpcf.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://wordpress.org/extend/plugins/types/
5
  Description: Toolset Types defines custom content in WordPress. Easily create custom post types, fields and taxonomy and connect everything together.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
- Version: 2.1
9
  License: GPLv2 or later
10
 
11
  Types is free software: you can redistribute it and/or modify
@@ -28,7 +28,7 @@ if( !function_exists( 'add_action' ) )
28
 
29
  // version
30
  if( ! defined( 'TYPES_VERSION' ) )
31
- define( 'TYPES_VERSION', '2.1' );
32
 
33
  // backward compatibility
34
  if ( ! defined( 'WPCF_VERSION' ) )
@@ -36,7 +36,7 @@ if ( ! defined( 'WPCF_VERSION' ) )
36
 
37
  // release notes
38
  if( ! defined( 'TYPES_RELEASE_NOTES' ) )
39
- define( 'TYPES_RELEASE_NOTES', 'https://wp-types.com/version/types-2-1/?utm_source=typesplugin&utm_campaign=types&utm_medium=release-notes-admin-notice&utm_term=Types 2.1 release notes' );
40
 
41
  /*
42
  * Path Constants
@@ -60,4 +60,7 @@ require_once( dirname( __FILE__ ) . '/application/bootstrap.php' );
60
  // Activation and deactivation hooks must be defined in the main file.
61
  //
62
  register_deactivation_hook( __FILE__, 'wpcf_deactivation_hook' );
63
- register_activation_hook( __FILE__, 'wpcf_activation_hook' );
 
 
 
5
  Description: Toolset Types defines custom content in WordPress. Easily create custom post types, fields and taxonomy and connect everything together.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
+ Version: 2.2
9
  License: GPLv2 or later
10
 
11
  Types is free software: you can redistribute it and/or modify
28
 
29
  // version
30
  if( ! defined( 'TYPES_VERSION' ) )
31
+ define( 'TYPES_VERSION', '2.2' );
32
 
33
  // backward compatibility
34
  if ( ! defined( 'WPCF_VERSION' ) )
36
 
37
  // release notes
38
  if( ! defined( 'TYPES_RELEASE_NOTES' ) )
39
+ define( 'TYPES_RELEASE_NOTES', 'https://wp-types.com/version/types-2-2/?utm_source=typesplugin&utm_campaign=types&utm_medium=release-notes-admin-notice&utm_term=Types 2.2 release notes' );
40
 
41
  /*
42
  * Path Constants
60
  // Activation and deactivation hooks must be defined in the main file.
61
  //
62
  register_deactivation_hook( __FILE__, 'wpcf_deactivation_hook' );
63
+ register_activation_hook( __FILE__, 'wpcf_activation_hook' );
64
+
65
+ // adds "Leave feedback" link on plugins list page
66
+ add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'types_plugin_action_links' );